Skip to main content

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.

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


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


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?


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

Error : Unknown color format

 


Reply