05-30-2010 05:42 PM
Hello,
I wanna process and analyse images continously. But there are two problems those are confusing me. First, I wanna analysis the bottom and up region of image, it is difficult to select ROI, because the place showed in image could be change by movement of camera(It means I need a dynamic ROI, How to do it?). Second, the brightness of image is also changeable, the threshod must be dynamic. How to accomplish them? Thank you for helping me. I've posted two images.
05-31-2010 12:12 AM
05-31-2010 02:25 AM
05-31-2010 02:43 AM
05-31-2010 02:51 AM
05-31-2010 07:08 AM - edited 05-31-2010 07:12 AM
Hi
I did some tests with the Vision Assistant, so one possibility I found was the following:
1. Open the image
2. Auto Threshold (Entropy)
3. Basic Morphology (Erode)
4. Particle Filter -> Area -> only keep objects with area from 1000 to 5000 pix^2
5. Particle Analysis -> give you all information over this two regions your looking for, after you can place a ROI in the original image automatically
Screenshots are attached, hope that helps ?
With the coordinates you can set the ROI automatically in LabVIEW.
Kind regards
Pixar, NI Germany
05-31-2010 07:59 AM
Hello,
I'm trying your method. In the second step I've got different image with you. I have clicked on entropy, but it has threshold range minimum 183 automatically. I've seen in your image, it had threshold range minimum 108. Is there a way to get over this problem? Thanks a lot.
05-31-2010 08:13 AM
I have already know, because the images are different in format. The solutions are quiet different.
05-31-2010 09:43 AM
Hello,
I got another question. Do you know how to connect the vision Assitant with grab. I am using PXI-1411 card for image acquisition and I wanna analysize the image immediately in LV
05-31-2010 09:49 AM
Hi
Yes click on the Acquire tab
After that choose your camera driver, then go to process image and at last you can create a LabVIEW VI automatically over tools -> create LabVIEW VI
Perhaps you can insert after the acquisition a Histogram step, then you can measure the value for the Thresholding.
Regards
Pixar