"Marcel pas" <x@no.email> wrote in message news:1168857611041-463678@exchange.ni.com...
hello
iam a student in the netherlands, iam following a bachalor studie called electronics
for this studie i have to make a camera follow system this system has to follow a dot that moves verticaly
to this end i want to use the detect circle option but this function doesn`t work properly i don`t now how to use the settings
please help me
thanks
Marcel,
The IMAQ Circle vi has a few inputs, most of them are obvious (Error In, Error Out, Max Radius, Min Radius). The trick is, you have to provide a binary image to Image Src. The circle in this image should be true, and the other true areas shouldn't be circles (noise, lines, etc.), or circles that don't match the min max radii.
Your problem is probably that you don't provide a binary input. How to get a binary input depends on the image. If the circle has a distinct color (it should, otherwise your lightning needs to be adjusted), try to use a threshold. Any of the threshold functions might work, so try a few till you find one that works. sometimes converting the image to HSL or HSV helps, if the color is distinct, but the intensety isn't.
If you need more help, post an image. Or, if you are in Delft, I could drop by...
Regards,
Wiebe.