02-22-2016 05:04 PM
Hallo,
I have a picture with circular dots and I want the VI to detect them for calibrating an image.
Now I have a VI but it doesnt work as it should. I think the problem is creating a good binary image for the VI IMAQ calibration target to points circula dots. I think I don´t understand how exactly the VIs Local Threshold and Particle Filter works.
This shows the calibration image and the distorted image. http://imgur.com/a/EfQCI
Here is my VI: http://imgur.com/4LnmzkP
This is the (wrong) result: http://imgur.com/rvrptBH
Hope someone can find the failure or give me good advices
02-22-2016 08:42 PM
02-24-2016 10:36 AM
Hallo Hatef.fouladi,
thank you for your answer!
I´ve already done an extraction of the area, but it´s not better.
When I do the whole thing with the "NI Vission Assistant", the result is very good. So it has to be possible with this angle.
I think the problem is, that Labview doesn´t recognize the dots exactly. But why? How can I make this better?
02-24-2016 12:04 PM
02-24-2016 07:48 PM
So you want to implement in your LabVIEW application what the Calibration Training Interface does?
Which calibration method do you plan on using?
I would recommend using a grid that cover most of your field of view, instead of just your object if you can.
Christophe
02-25-2016 09:30 AM
It works!
I found a function, which makes it very easy doing a threshold and perspective calibration in one function: IMAQ Learn Calibration Template.
It´s an old Labview VI which is not included in Labview 2015. I don´t understand why they deleted it!? It´s very useful.
Here is the result and my code:
Thank you guys for your help 🙂