Hello Daniel and others :)
I have issues with the function Color\Convert to scalar field.
I have a colored point cloud with RGB values, which can be seen in CC normally, then when I use the function to filter points based on their color, the generated SFs are "empty" in the properties window (all set at 0), YET when I use the tool to pick a point, Both RGB and the scalar fields are not empty and give normal values. Is there anything wrong here or just anything I didn't get about the function?
Thanks in advance ;)
Color\Convert to scalar field
Re: Color\Convert to scalar field
Oh it's a bug from the 2.6.2 version I believe. Have you tried the 2.6.3 beta?
Daniel, CloudCompare admin
Re: Color\Convert to scalar field
Now I have, it works perfectly ;)
Re: Color\Convert to scalar field
downloaded beta version.
Anyone have a set by step tutorial on how to extract by RGB. I am trying to isolate the Green, but after following a few of the posts here I still can not seem to get it to do what I want.
Anyone have a set by step tutorial on how to extract by RGB. I am trying to isolate the Green, but after following a few of the posts here I still can not seem to get it to do what I want.
Re: Color\Convert to scalar field
It depends on your data but it should look like this:
- convert the RGB colors to scalar fields (R, G and B)
- activate the G(reen) scalar field
- use the interactive SF editor (in the properties dialog) to find the right threshold value
- then use the 'Edit > SF > Filter by value' to keep the points with (green) values above this threshold (I bet something like [150 ; 255])
- then switch to the resulting cloud and activate the R(ed) scalar field
- remove the points that have too much red
- and same thing with the B(lue) scalar field
It should be possible to do this in one shot but let's start slowly ;)
- convert the RGB colors to scalar fields (R, G and B)
- activate the G(reen) scalar field
- use the interactive SF editor (in the properties dialog) to find the right threshold value
- then use the 'Edit > SF > Filter by value' to keep the points with (green) values above this threshold (I bet something like [150 ; 255])
- then switch to the resulting cloud and activate the R(ed) scalar field
- remove the points that have too much red
- and same thing with the B(lue) scalar field
It should be possible to do this in one shot but let's start slowly ;)
Daniel, CloudCompare admin