Keypoint-Learning icon indicating copy to clipboard operation
Keypoint-Learning copied to clipboard

transformPointCloud error

Open ldepn opened this issue 7 years ago • 1 comments

pcl::transformPointCloud(*view.c_points_, *c_src_in_rf, view.matrix_gt_,false);
	pcl::transformPointCloud(*view_for_refinement.c_points_, *c_trg_in_rf, view_for_refinement.matrix_gt_,true);

for the function of transformPointCloud ,this is a error about that the input is PointXYZ, and the output is PointXYZI

I was using Visual Studio 2017 64bit with PCL 1.8.1 64 bit.

ldepn avatar Dec 03 '18 09:12 ldepn

in follow function in the trainingset_generator.hpp file

template<typename PointInT, typename NormalT, typename PointOutT, typename HistogramT>int 
kpl::TrainingSetGenerator<PointInT, NormalT, PointOutT, HistogramT>::refineOnView(ViewIn& view, ViewIn& view_for_refinement, const std::vector<int>& indices_positive, const float r_tol, pcl::CorrespondencesPtr correspondences)

ldepn avatar Dec 03 '18 09:12 ldepn