Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

measure pixels value

ok,,,,let me think a bout that ...

0 Kudos
Message 11 of 19
(1,690 Views)

Thanks M.A.A.M for helping me. I really appreciate that Smiley Wink

0 Kudos
Message 12 of 19
(1,684 Views)

Hi M.A.A.M..any updates from you? 

0 Kudos
Message 13 of 19
(1,675 Views)

Hi-

Your application sounds interesting. Although I have no enough knowledge on how to implement it, the concept (Inspection wise) sounds familiar.

Please check out the attached VI, I wrote some points in there that would help to explain my idea. You can try the VI using the attached corrosion image (The program should work after removing the last 4 VIs).

The program supposes the image is a GRAYSACLE type, but this shouldn't be a problem since the objective of this part is to only extract the corroded area information, and then it can be plugged into the original image, to get the required measurements. 

let me know how this far/close to what you want.

Thanks 

Download All
0 Kudos
Message 14 of 19
(1,662 Views)

Hi Mr Siddeq. Thanks for your concern.

The program you gave to me looks good and it seems close to what I want, to differentiate the corrosion area. I appreciate if the program can measure the pixels value and draw the rectangle around the corrosion area. And one more thing, when I run with my image, the program takes time a bit to process. Is it cause by the image size or what?

Thanks. Smiley Wink

 

 

0 Kudos
Message 15 of 19
(1,643 Views)

Hello Nadiah

1- Regarding the pixels value: If you complete the program using the last four VIs in the block diagram, you can get the pixels information by using the histogram VI, which is among those four.

2- The rectangle around the corrosion area also can be drawn using IMAQ overlay rectangle VI. (Also after completing the program with the suggested 4 VIs).

3- The slower execution of the program is caused by the Low-pass filter used in the process of creating binary image. This problem can be solved by using IMAQ local threshold VI. I just felt more comfortable with the low-pass filter because I am more familiar with.

 

4- To complete the program, a bit of effort need to be made to manipulate the data of the corroded area boundaries obtained so far. The idea is to use this data as a mask that can be used in the original image to get the required information. You can try this and then we can see what else is needed.

Thanks

0 Kudos
Message 16 of 19
(1,637 Views)

Hi M. Siddeq.

I've succesfully done the rectangle around the corrosion area using IMAQ Particle Analysis but I have one more problem. I do not know how to save the processed image as the image is in binary. Can you please help me?

Thanks. Smiley Wink

 

 

0 Kudos
Message 17 of 19
(1,626 Views)

Hello Nadiah

Congrats Smiley Wink

I couldn't open your VI because its LabVIEW version is different from mine.

Saving the image is made by simply right click on the image indicator of the front panel and choosing save as, unless you mean that you wanna save it pragmatically.

Also, could you please explain a bit about your application: How the pixels values are handled to measure the corroded areas? Do you have a calibration image or similar means? How do you account for the pixel physical size and camera setup to find out the real size or depth of the corroded areas?

Maybe if I better understand your application, I can do more useful inputs. But again, I am not expert on this type of processing. 

0 Kudos
Message 18 of 19
(1,621 Views)

you already have your area can perform the extraction of the pattern with a feature for image processing that captures the last event of the RGB (get image and coordinates)

4.png

0 Kudos
Message 19 of 19
(1,568 Views)