PCL: Scale two Point-Clouds to the same size
问题 I got two point clouds and try to scale them to the same size. My first approach was to just divide the square roots from the eigenvalues: pcl::PCA<pcl::PointNormal> pca; pca.setInputCloud(model_cloud_ptr); Eigen::Vector3f ev_M = pca.getEigenValues(); pca.setInputCloud(segmented_cloud_ptr); Eigen::Vector3f ev_S = pca.getEigenValues(); double s = sqrt(ev_M[0])/sqrt(ev_S[0]); This helps me to scale my model cloud to have approximately the same size as my segmented cloud. But the result is