From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Optimizer lenses graph

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!

Download All
0 Kudos
Message 1 of 2
(2,224 Views)

Please talk (or "team up") with Enriquez before creating double posts on the very same topic!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,139 Views)