Change Color Palette in intensity visualization

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

Change Color Palette in intensity visualization

Rocio
Hi,
I'm trying to show a Pointcloud using the intensity. I've done it using the
following function:
*pcl::visualization::PointCloudColorHandlerGenericField<pcl::PointXYZI>
intensity_distribution(heatmapDano, "intensity")* and it works well, but i
was wondering if it would be posible to change the color palette.
Now, the display results show red colors for low intensities and blue colors
for high values of intensity. See the image below

<http://www.pcl-users.org/file/t499064/heatmap_1.png>

It would be possible to change that and get red colors for high values of
intensity and blue colors for low values? I want the result like this:

<http://www.pcl-users.org/file/t499064/heatmap_2.png>

Thank you,

Rocio



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

Re: Change Color Palette in intensity visualization

yogi30
Hi, how did you convert point cloud to intensity image



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

Re: Change Color Palette in intensity visualization

Rocio
Hi,
I didn't convert the point cloud to image.
What I did was to create a pcl::PointCloud<pcl::PointXYZI> and after this
Poincloud was filled with all the points, I visualized it using the
intensity field with the PointCloudColorHandlerGenericField

The images attached in my previous post was only screenshots that I made in
order to make easier to understand the problem.

I'm not sure if i'm answering your question.
Thank you for your reply,

RocĂ­o



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