Page 1 of 1

Text input - grey is not grey

Posted: Thu May 28, 2015 12:41 pm
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

Re: Text input - grey is not grey

Posted: Thu May 28, 2015 12:55 pm
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'?