Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete unused params in OrganizedMultiPlaneSegmentation::refine() #3302

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,6 @@ pcl::OrganizedMultiPlaneSegmentation<PointT, PointNT, PointLT>::segmentAndRefine
template<typename PointT, typename PointNT, typename PointLT> void
pcl::OrganizedMultiPlaneSegmentation<PointT, PointNT, PointLT>::refine (std::vector<ModelCoefficients>& model_coefficients,
std::vector<PointIndices>& inlier_indices,
std::vector<Eigen::Vector4f, Eigen::aligned_allocator<Eigen::Vector4f> >&,
std::vector <Eigen::Matrix3f, Eigen::aligned_allocator<Eigen::Matrix3f> >&,
PointCloudLPtr& labels,
std::vector<pcl::PointIndices>& label_indices)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,19 @@ namespace pcl
PointCloudLPtr& labels,
std::vector<pcl::PointIndices>& label_indices,
std::vector<pcl::PointIndices>& boundary_indices);


/** \brief Perform a refinement of an initial segmentation, by comparing points to adjacent regions detected by the initial segmentation.
* \param [in] model_coefficients The list of segmented model coefficients
* \param [in] inlier_indices The list of segmented inlier indices, corresponding to each model
* \param [in] labels The labels produced by the initial segmentation
* \param [in] label_indices The list of indices corresponding to each label
*/
void
refine (std::vector<ModelCoefficients>& model_coefficients,
std::vector<PointIndices>& inlier_indices,
PointCloudLPtr& labels,
std::vector<pcl::PointIndices>& label_indices);

/** \brief Perform a refinement of an initial segmentation, by comparing points to adjacent regions detected by the initial segmentation.
* \param [in] model_coefficients The list of segmented model coefficients
* \param [in] inlier_indices The list of segmented inlier indices, corresponding to each model
Expand All @@ -272,13 +284,17 @@ namespace pcl
* \param [in] labels The labels produced by the initial segmentation
* \param [in] label_indices The list of indices corresponding to each label
*/
[[deprecated("centroids and covariances parameters are not used; they are deprecated and will be removed in future releases")]]
void
refine (std::vector<ModelCoefficients>& model_coefficients,
std::vector<PointIndices>& inlier_indices,
std::vector<Eigen::Vector4f, Eigen::aligned_allocator<Eigen::Vector4f> >& centroids,
std::vector <Eigen::Matrix3f, Eigen::aligned_allocator<Eigen::Matrix3f> >& covariances,
PointCloudLPtr& labels,
std::vector<pcl::PointIndices>& label_indices);
std::vector<pcl::PointIndices>& label_indices)
{
refine(model_coefficients, inlier_indices, labels, label_indices);
}

protected:

Expand Down