Link to home
Start Free TrialLog in
Avatar of reyinqu
reyinqu

asked on

Image analysis web design or software design

I have black and white images in a scale from 0 to 255. O is black and 255 is white.
Can anyone provide me with a solution to get an image and determine the gradings of each pixel (o to 250).  Or to determine lowest or highest value.    
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of a235301
a235301

You are scant on details on the software you are building so it's hard to direct you at an exact solution. However, from a overview standpoint you will basically need some sort of imaging library to call into.  This imaging library will load the image and then have some sort of get/set pixel function where you can acquire the gray level of the pixel(0-255 for 8/24 bit images).  If you want to build a histogram of those gray values some libraries have the ability to give you the histogram.  Otherwise you would iterate through each pixel in the x/y direction and then add up all the occurrences of values between 0 and 255.  For imaging libraries you could look at the following:
opencv(open source)
Atalasoft($)
Pegasus($)
Accusoft($)
Imageman($)
and many more commercial packages

There are also plenty of C++, C# and other examples on the internet of simple loading of images and then iterating through the pixels.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial