@@ -89,7 +89,7 @@ Mat samplePCUniformInd(Mat PC, int sampleStep, std::vector<int>& indices);
89
89
* @param [in] zrange Z components (min and max) of the bounding box of the model
90
90
* @param [in] sample_step_relative The point cloud is sampled such that all points
91
91
* have a certain minimum distance. This minimum distance is determined relatively using
92
- * the parameter sample_step_relative.
92
+ * the parameter sample_step_relative.
93
93
* @param [in] weightByCenter The contribution of the quantized data points can be weighted
94
94
* by the distance to the origin. This parameter enables/disables the use of weighting.
95
95
* @return Sampled point cloud
@@ -135,7 +135,7 @@ CV_EXPORTS void getRandomPose(double Pose[16]);
135
135
136
136
/* *
137
137
* Adds a uniform noise in the given scale to the input point cloud
138
- * @param [in] pc Input point cloud (CV_32F family).
138
+ * @param [in] pc Input point cloud (CV_32F family).
139
139
* @param [in] scale Input scale of the noise. The larger the scale, the more noisy the output
140
140
*/
141
141
CV_EXPORTS Mat addNoisePC (Mat pc, double scale);
@@ -148,13 +148,13 @@ CV_EXPORTS Mat addNoisePC(Mat pc, double scale);
148
148
* If PCNormals is provided to be an Nx6 matrix, then no new allocation
149
149
* is made, instead the existing memory is overwritten.
150
150
* @param [in] PC Input point cloud to compute the normals for.
151
- * @param [in ] PCNormals Output point cloud
151
+ * @param [out ] PCNormals Output point cloud
152
152
* @param [in] NumNeighbors Number of neighbors to take into account in a local region
153
153
* @param [in] FlipViewpoint Should normals be flipped to a viewing direction?
154
154
* @param [in] viewpoint
155
155
* @return Returns 0 on success
156
156
*/
157
- CV_EXPORTS int computeNormalsPC3d (const Mat& PC, Mat& PCNormals, const int NumNeighbors, const bool FlipViewpoint, const double viewpoint[ 3 ] );
157
+ CV_EXPORTS_W int computeNormalsPC3d (const Mat& PC, CV_OUT Mat& PCNormals, const int NumNeighbors, const bool FlipViewpoint, const Vec3d& viewpoint);
158
158
159
159
// ! @}
160
160
0 commit comments