06-14-2009 11:52 PM
Hi all,
I'm the fresh user of viaion.
I have an 1394 camera and I use it to take a series of images.
The images is about a white circular spot.
I would like to using vision tool kit to trace the spot moving.
Sequence:
Take the 1st image be the template: auto search and set the circulr center be origin.
Then serach the following pictures and check the differnece angle and distance between template.
Query:
1. How can I set the coordinatein the first image?
Thanks.
Robert
06-15-2009 06:47 PM
Hi Robert,
I would recommend using the Vision Assistant. You can locate a circular edge, and then set your coordinate system from the center of that circular edge. Both of these functions can be located in the processing functions (machine vision and image respectively). You just need to load an image into it and perform the operations and it will set the coordinate system for you.
06-16-2009 02:22 AM
I would build the execute file to targaet machine.
How can i do that?
Thanks
06-16-2009 06:41 PM
06-17-2009 01:22 AM
I will download another PC which run labview and vision runtime only.
We use LV7.1 and Vision 7.1 with 1394 camera
Thanks.
Robert
06-19-2009 11:30 PM
Hi all,
Now, I use detect object ser the ROI of white circle.
How could I find the circle center and it s radius?
And set the circle center be the coordination origin.
Thanks.
Robert
06-22-2009 02:04 PM
Hi Robert,
I recommend using an Imaq centroid VI to calculate the center of your ROI. Once you have that point, you can use an IMAQ find coordinate system VI to set up your new coordinate system. I would also recommend upgrading to a newer version of NI Vision if it is possible. It comes with a program called the Vision Assistant which, once you have decided what you would like to do to your image, will generate the LabVIEW code for you.
06-23-2009 07:09 AM
Hi Robert Law,
If I were in your situation, I would not use a co-ordinate system or a pattern matching for this application. This application looks simple and please follow these
1. Back ground seperation ( Since you need to locate a white spot alone apply a suitable thresholding)
2. Convert into a binary image (applying a suitable threshold will do this for you)
3. Remove small particles( Morphology function)
4. Use "particle analysis" vi (You can define the nature of the particle including its radius etc)
06-23-2009 07:10 AM
06-28-2009 11:29 PM
HI all,
Attached the test picture.
We use Black spot on a white cardboard to simlate my situation.
The spot size of picture is 0.5mm
Thanks.
Robert