LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Out of Focus Image detection using Labview IMAQ

Hi,

I am new to image processing in Labview. I am interested in working to find out if the captured image is Blur or you say it out of focus, when captured from camera.

I wanted to know that how this could be achieved using LabVIEW.

Kindly guide me.

Regards

0 Kudos
Message 1 of 3
(2,979 Views)

you mean something like this in the below link,

http://zone.ni.com/reference/en-XX/help/370281M-01/imaqvision/imaq_colorbcglookup/

 

Mathan

0 Kudos
Message 2 of 3
(2,958 Views)

Hi Abuzar,

 

There is no explicit built-in way to do this in NI Vision, but I have found you a few resources to get started in the right direction when building this algorithm. I think you might be able to try using our texture detection VIs and see if they can help you determine blurriness. I have not tried this, but I could see it having the possibility of working. This guy explains how he did this in OpenCV. You could either take the idea and implement it with IMAQ VIs or you can implement it in OpenCV and use the OpenCV algorithm in LabVIEW. If you want to use IMAQ VIs to implement the same logic here is where you would start:

http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_getkernel/

http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_convolute/

 

Let me know if you have any other questions.

A Johnson
Applications Engineer
National Instruments
Message 3 of 3
(2,907 Views)