Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

measure pixels value

Hi. I have done some of threshold and particle analysis to detect abnormal condition in my programming. But I don't know how to measure pixels on the detected particle area. Anyone can help me?

0 Kudos
Message 1 of 19
(5,063 Views)

hi nadiah,,,

if i understand your question,,,,, you should convert the image to an array and then you can find the pixel value...

 

0 Kudos
Message 2 of 19
(5,052 Views)

Thanks for the reply M.A.A.M.

I've done the threshold on the image like in the VI I attached. As you can see, I would like to find to the pixel value in the green box. Can you explain more how to convert the image to an array like you said?

0 Kudos
Message 3 of 19
(5,041 Views)

Hi,

I don't really understand what is your question, because the values in a binary image are 0 or 1. Do you want to count the lightened pixels inside the rectangles or do you want to measure the mean intensity of the original image pixels that are in the rectangles?

 

If you need the number of pixel, just select the area measurement in the IMAQ Particle Analysis function.

If you need to have the mean intensity in the original image, see the IMAQ light meter in the Machine Vision palette. And don't forget to work on the original buffer of your image.

Regards

0 Kudos
Message 4 of 19
(5,038 Views)

unfortunately i can't open your VI because i am using LabView 2009,,, so if possible please attach the VI in this version ....other wise attach your image...

 

0 Kudos
Message 5 of 19
(5,029 Views)

Hi toto69, thanks for the reply.

 

My original image that I need to process is in RGB value, then after the threshold process the image is in binary image. Actually I want to measure the lightened pixels inside each of the rectangles in order to know how deep is the corroded area. I'm working with boiler header to inspect if anything corrosion present in the boiler header. I understand what you have done but I thing I need more informations to display each reading pixels for every single rectangles.

Thanks.

0 Kudos
Message 6 of 19
(5,018 Views)

Sorry M.A.A.M, I can't convert the VI. Here is the picture of my coding.

0 Kudos
Message 7 of 19
(5,015 Views)

hi...

from the attached code , i understood that you need the size of some objects in the image....

if this right, then you can try this vi......hope its helpful for you....

0 Kudos
Message 8 of 19
(5,010 Views)

also please attach the image you want to process and explain in details what yuo want....

0 Kudos
Message 9 of 19
(5,006 Views)

actually we have severals image where each of the image is captured from different angle. here are the example of the image that we need to inspect. the area in the red cricle is expected to be corroded or defects due to any operating conditions. hope you can help me to detect the corrosion area with the pixel measurements.

Thanks. Smiley Happy

Download All
0 Kudos
Message 10 of 19
(5,004 Views)