04-26-2013 03:50 AM - edited 04-26-2013 04:02 AM
Hi,
I would like to plot a graph showing grey level vs radius by reading a BMP file.
So I have to find out what's the radius of each pixel of square from the center of the circle (the red dot) and find out the corresponding grey level of that same pixel. A grey level of a white pixel is 0 while a black one is 255. Each pixel is 32mm by 32mm. I'm using a 24 bit BMP file.
After finding out all the radius and grey level of each pixel, I have to plot the data into a graph.
Can someone point me to the right direction to finding out the radius and corresponding grey level of each pixel?
Ps: I had to post a .jpg file because I can't seem to upload the BMP file. Sorry!
04-29-2013 02:38 AM
Please talk (or "team up") with Enriquez before creating double posts on the very same topic!