Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Images

Status
Not open for further replies.

Chrissirhc

Programmer
May 20, 2000
926
GB
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top