Search found 2 matches

by doecz
2011-07-22T04:17:06-07:00
Forum: Developers
Topic: IRI files (thermography) conversion?
Replies: 5
Views: 13655

Re: IRI files (thermography) conversion?

If used -endian LSB ImageMagick reads the image as the array of unsigned short type, but pixel representing signed short type. I can not find parameter that would change data type of pixel in the Display program.
by doecz
2011-07-18T04:34:54-07:00
Forum: Developers
Topic: IRI files (thermography) conversion?
Replies: 5
Views: 13655

Re: IRI files (thermography) conversion?

Hi, I thing pixel in iri file is't 16-bit number, but two 8-bit number. I use In c + + following code for loading: unsigned char num1; signed char num2; for (int row = 0; row<SIZE_THERMO_Y; row++) for (int column = 0; column<SIZE_THERMO_X; column++) { dataStream >> num1; dataStream >> num2 ...