03-27-2013 09:37 PM
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?
03-28-2013 09:51 AM
hi nadiah,,,
if i understand your question,,,,, you should convert the image to an array and then you can find the pixel value...
03-28-2013 11:03 PM
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?
03-29-2013 03:23 AM
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
03-30-2013 11:30 PM
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...
03-31-2013 09:23 PM
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.
03-31-2013 09:40 PM
Sorry M.A.A.M, I can't convert the VI. Here is the picture of my coding.
03-31-2013 10:56 PM
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....
03-31-2013 11:36 PM
also please attach the image you want to process and explain in details what yuo want....
04-01-2013 12:22 AM
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.