Chrissirhc
Programmer
Hello Can anyone help me.
I have a buffered image and got the raster. From here I have got the data in the form of an array. I am using the TYPE_BYTE_GRAY image format. I thought that the array values would be 0-255. But to my surprise there were many values from about -10 to 16 for one image. And most images have negative and positive numbers. Can anyone explain why this is. The only thing I can think of is that they have -127 to +127 instead. But I still don't understand this. CAn anyone help me?? and give me a little guidance on what data I have. I need to perform thresholding on this data.
Thanks in advance
Chris
I have a buffered image and got the raster. From here I have got the data in the form of an array. I am using the TYPE_BYTE_GRAY image format. I thought that the array values would be 0-255. But to my surprise there were many values from about -10 to 16 for one image. And most images have negative and positive numbers. Can anyone explain why this is. The only thing I can think of is that they have -127 to +127 instead. But I still don't understand this. CAn anyone help me?? and give me a little guidance on what data I have. I need to perform thresholding on this data.
Thanks in advance
Chris