Page 1 of 1

Color\Convert to scalar field

Posted: Fri Apr 22, 2016 9:27 am
by Haowyr
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 ;)

Re: Color\Convert to scalar field

Posted: Fri Apr 22, 2016 10:46 am
by daniel
Oh it's a bug from the 2.6.2 version I believe. Have you tried the 2.6.3 beta?

Re: Color\Convert to scalar field

Posted: Fri Apr 22, 2016 12:17 pm
by Haowyr
Now I have, it works perfectly ;)

Re: Color\Convert to scalar field

Posted: Fri Apr 22, 2016 12:31 pm
by duff138
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.

Re: Color\Convert to scalar field

Posted: Sat Apr 23, 2016 1:20 pm
by daniel
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 ;)