Skip to main content
Question

RGB pointcloud to Hex

  • March 30, 2020
  • 4 replies
  • 32 views

gvenhorst
Contributor
Forum|alt.badge.img+6

Hi,

In a point cloud I have those values for RGB.

@Component(color_red)

@Component(color_green)

@Component(color_blue)

How do I convert this to a hex number or an FME_color atribute?

The goal is to filter the point cloud by color, for example removing all greenery from grass.

Have no inpute other than the point cloud.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • March 30, 2020

There are a couple of custom transformers that could help you here - ColorConverter or ColorCalculator


gvenhorst
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • 20 replies
  • March 30, 2020

There are a couple of custom transformers that could help you here - ColorConverter or ColorCalculator

I tried but I can't get this set up properly with these 3 components. The tools expect 1 component


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • March 30, 2020

I tried but I can't get this set up properly with these 3 components. The tools expect 1 component

The color calculator will allow you to use the text editor as input so you can structure it like this

 

Although, looking at your question again, I presume you actually want to do the calculation on each pixel within the point cloud?


gvenhorst
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • 20 replies
  • March 30, 2020

@Value(@Component(color_red)),@Value(@Component(color_green)),@Value(@Component(color_blue))

Error : Unknown color format