small_gicp icon indicating copy to clipboard operation
small_gicp copied to clipboard

Downsampling colored point cloud

Open Seekerzero opened this issue 1 year ago • 2 comments

Hi Koide,

Thanks for your fantastic work!

I was trying to use the downsampling module on the pcl::Point<XYZRGBA> point cloud and found that the colors are gone. I looked into the code and found that it is because the bits encoding only takes the XYZ coordinates.

Do you have any plans to adapt this feature? As it may scale down the maximum range of the target cloud.

Thanks again!

Seekerzero avatar Oct 04 '24 17:10 Seekerzero

Thanks for your request. The current implementation of downsampling considers only point coordinates and ignores other attributes. I think we can add a slight modification to support point colors. Maybe I'll do it in the next week.

koide3 avatar Oct 05 '24 02:10 koide3

@koide3 can you outline the necessary changes to support this? I am interested in this as well for keeping intensity information around. Maybe someone else can work on this.

themightyoarfish avatar Sep 20 '25 07:09 themightyoarfish