|
-
Oct 7th, 2006, 10:24 AM
#1
Thread Starter
Hyperactive Member
Grayscale Values Of Picture
Hello Everybody!!!
I'm working on a programm(Image Comparing) and i need to take the grayscale pixel values of a picture that i load on picturebox.I used the Picture1.Point(i, j) but I'm receiving a big number like 12961221.What does this mean exactly?Is it an RGB value?
Then I used this, to take all three values for each pixel->colRed = (Values(i, j) And &HFF&)
colGreen = (Values(i, j) And &HFF00&) / &H100
colBlue = (Values(i, j) And &HFF0000) / &H10000
Values(i, j) is the array where a store the values before printing them in a file.
Does anybody know how i can get the grayscale values from a grayscale picture that i load in a picturebox?Is it possible.
Thank you!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|