copyPointCloud

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

copyPointCloud

zaza1851983
Hello all

In pcl::copyPointCloud, width is set to points.size and height= Is
there a reason for not taking the width and height from the original
point cloud?

Cheers
Moataz

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: copyPointCloud

Sergey
Administrator
Moataz,

Different overloads of pcl::copyPointCloud() behave differently. For example, there is a version where the input cloud is copied to the output cloud without modifications, and width and height are copied as well. In the other versions where a vector of indices is supplied, width and height could not be copied since the resultant point cloud is no longer organized.

Regards,
Sergey
Reply | Threaded
Open this post in threaded view
|

Re: copyPointCloud

zaza1851983
ah I see
Many thanks

On 07/08/2012 09:54 PM, taketwo wrote:

> Moataz,
>
> Different overloads of pcl::copyPointCloud() behave differently. For
> example, there is a
> http://docs.pointclouds.org/trunk/common_2include_2pcl_2common_2impl_2io_8hpp_source.html#l00108
> version  where the input cloud is copied to the output cloud without
> modifications, and width and height are copied as well. In the other
> versions where a vector of indices is supplied, width and height could not
> be copied since the resultant point cloud is no longer organized.
>
> Regards,
> Sergey
>
> --
> View this message in context: http://www.pcl-users.org/copyPointCloud-tp4020082p4020084.html
> Sent from the Point Cloud Library (PCL) Users mailing list archive at Nabble.com.
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users