|
-
September 24th, 2009, 08:09 PM
#1
Need help on counting and identifying every pixel's intensity(0-255) from an image.
Im clueless about writing a code for identifying every pixel's intensity in a 256*256 image. i managed to come up with a few ideas but i couldnt do much from the code below. help would be very appreciated thanks. im doing visual c++ on mfc for medical imaging purposes.
Code:
unsigned short array1[65535]; //for 256*256 image
// count pixel intensity
for (i=0; i<255; i++)
{ // this is where im not sure what to put in. pls help thanks
}
count = 0; //resets the count back to 0
-
September 25th, 2009, 04:33 AM
#2
Re: Need help on counting and identifying every pixel's intensity(0-255) from an imag
-
September 27th, 2009, 07:59 PM
#3
Re: Need help on counting and identifying every pixel's intensity(0-255) from an imag
identifying the value of a pixel in a greyscale image
-
September 28th, 2009, 02:01 AM
#4
Re: Need help on counting and identifying every pixel's intensity(0-255) from an imag
Ah... in that case they gave you the right answer.
Tags for this Thread
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
|