Lawrence,
This is a good feature request :) However, since RGB exists as a single field "rgb" and not as 3 separate fields at the
moment, having something like setFilterFieldName ("r") wouldn't work.
Suggestions on how to expose this are welcome :)
Cheers,
Radu.
--
Point Cloud Library (PCL) -
http://pointclouds.org
On 07/27/2011 01:17 AM, Lawrence.Han wrote:
> i was trying to filter out points having high red value:
>
> pcl::PassThrough<pcl::PointXYZRGB> pass;
> pass.setFilterFieldName("r");
> pass.setFilterLimits(100,255);
>
> but i got errors saying "Invalid filter field name. Index is -1.".
>
> Is there any possibility to make these codes work?
>
> Thanks for your help :)
>
> --
> View this message in context: http://point-cloud-library-pcl-mailing-list.967500.n3.nabble.com/Does-the-passthrough-filter-can-be-applied-in-PointXYZRGB-s-color-field-tp3202813p3202813.html
> Sent from the Point Cloud Library (PCL) mailing list mailing list archive at Nabble.com.
> _______________________________________________
> PCL-users@code.ros.org / http://pointclouds.org
> https://code.ros.org/mailman/listinfo/pcl-users
_______________________________________________
PCL-users@code.ros.org /
http://pointclouds.org
https://code.ros.org/mailman/listinfo/pcl-users