Text input - grey is not grey

Feel free to ask any question here
Post Reply
rich-tie
Posts: 1
Joined: Tue Mar 20, 2012 2:53 pm

Text input - grey is not grey

Post by rich-tie »

Hi,

I need to import a text file, which consists of XYZ & Greyscale. X, Y & Greyscale are 8 bit numbers, and Z is 16 bit. The source data is 648 x 480 pixels.

Code: Select all

X	Y	Z       Grey
0	0	37405	80
1	0	37226	80
2	0	37545	84
3	0	37831	81
4	0	37214	81
5	0	36365	75
I recently updated to 2.6.1 from a previous version (sorry, don't know which earlier version I had), and it seems something has changed in the import. What used to be a greyscale image is now displayed in pink. In the cloud properties box, the "colors" dropdown offers only RGB and none.... but there is no RGB in the source data. Should there possibly be a grey option in the dropdown?? Could it be that greyscale text files are being incorrectly imported??

Many thanks,

rich-tie
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Text input - grey is not grey

Post by daniel »

I can't remember if a 'intensity' or 'grey' field was available before (it must have been quite long ago ;).

Can't you read the 'Grey' column as a scalar field and then change the scalar field color ramp to 'Grey'?
Daniel, CloudCompare admin
Post Reply