Merge pull request #21615 from No-Plane-Cannot-Be-Detected:5.x-ptcloud_comments

Added 3D point cloud code comments and copyright

1. update the code comments.
2. add author information.
pull/21651/head
Ruan 3 years ago committed by GitHub
parent 9c87d8bf9c
commit e5d648d2d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      modules/3d/include/opencv2/3d/ptcloud.hpp
  2. 2
      modules/3d/src/ptcloud/ptcloud_utils.cpp
  3. 2
      modules/3d/src/ptcloud/ptcloud_utils.hpp
  4. 2
      modules/3d/src/ptcloud/ptcloud_wrapper.hpp
  5. 2
      modules/3d/src/ptcloud/sac_segmentation.cpp
  6. 2
      modules/3d/src/ptcloud/sac_segmentation.hpp
  7. 3
      modules/3d/src/ptcloud/sampling.cpp
  8. 2
      modules/3d/test/test_sac_segmentation.cpp
  9. 2
      modules/3d/test/test_sampling.cpp

@ -1,6 +1,8 @@
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2021, Yechun Ruan <ruanyc@mail.sustech.edu.cn>
#ifndef OPENCV_3D_PTCLOUD_HPP
@ -86,7 +88,8 @@ public:
* @param[out] labels The label corresponds to the model number, 0 means it
* does not belong to any model, range [0, Number of final resultant models obtained].
* @param[out] models_coefficients The resultant models coefficients.
* Currently supports passing in cv::Mat. Models coefficients are placed in a matrix of NxK,
* Currently supports passing in cv::Mat. Models coefficients are placed in a matrix of NxK
* with depth CV_64F (will automatically adjust if the passing one does not look like this),
* where N is the number of models and K is the number of coefficients of one model.
* The coefficients for each model refer to the comments inside enumeration type SacModelType.
* @return Number of final resultant models obtained by segmentation.

@ -1,6 +1,8 @@
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2021, Yechun Ruan <ruanyc@mail.sustech.edu.cn>
#include "../precomp.hpp"
#include "ptcloud_utils.hpp"

@ -1,6 +1,8 @@
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2021, Yechun Ruan <ruanyc@mail.sustech.edu.cn>
#ifndef OPENCV_3D_PTCLOUD_UTILS_HPP

@ -1,6 +1,8 @@
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2021, Yechun Ruan <ruanyc@mail.sustech.edu.cn>
#ifndef OPENCV_3D_PTCLOUD_WRAPPER_HPP
#define OPENCV_3D_PTCLOUD_WRAPPER_HPP

@ -1,6 +1,8 @@
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2021, Yechun Ruan <ruanyc@mail.sustech.edu.cn>
#include "../precomp.hpp"

@ -1,6 +1,8 @@
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2021, Yechun Ruan <ruanyc@mail.sustech.edu.cn>
#ifndef OPENCV_3D_SAC_SEGMENTATION_HPP
#define OPENCV_3D_SAC_SEGMENTATION_HPP

@ -1,6 +1,9 @@
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2021, Yechun Ruan <ruanyc@mail.sustech.edu.cn>
// Acknowledgement of the support from Huawei Technologies Co., Ltd.
#include "../precomp.hpp"

@ -1,6 +1,8 @@
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2021, Wanli Zhong <zhongwl2018@mail.sustech.edu.cn>
#include "test_precomp.hpp"

@ -1,6 +1,8 @@
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2021, Wanli Zhong <zhongwl2018@mail.sustech.edu.cn>
#include "test_precomp.hpp"

Loading…
Cancel
Save