11-13-2008 05:03 PM
I'm very new to LabView - so please bare with me. I'm trying to setup a program to track an object (or set of objects). I'm using an ImagingSource DFK 21F04 CCD firewire camera. I have a vi setup where I can read the images coming in from the camera (Vision Acquisition) - I'm trying to turn these images into binary images so that I can use the binary processing function - but I'm running into problems.
Do I need to turn my images into binary images in order to use object tracking? If so, what is the best way to accomplish this on a continuous stream of images? I'm very new to Labview - so the more basic the help, the better.
Thanks
SS
11-14-2008 06:38 AM
11-14-2008 09:58 AM
SS,
He's right once you threshold an image it becomes binary and in order to view it you need to change the view of the image indicator to binary. You do not need to binarise the image to detect objects but you could.
I would suggest looking at the examples that ship with the vision software. These are found in the example finder under the Tools and Modules>>Vision folder. I would look for examples that use IMAQ Count Objects 2 VI. If you threshold before using this VI you should set the replace value to something greater than 1, 255 is probably a good number. If all you are doing is detecting objects and then turning it to a binary image this should not be too difficult but the examples will show different ways to set it up.
If you have more questions after getting it started feel free to post those.
11-17-2008 01:39 PM
Hi all!
I am a student using evaluation version of NI Vision assistant 8.6. I have a script file that i want to convert to VI. As you know we cannot do it on a evaluation version. I neither can afford the package right now. Please help me convert the file to VI and C code.
Please mail me on snapy050@gmail.com
Will be very thankful if some one generously helps.
Regards,
Snapy
11-17-2008 01:56 PM
Thanks for the on-topic responses (#4 need not apply) - The camera is actually color, not monochrome - and none of the binary image processing tools will work on the image in it's current state, so I'm just looking for a quick easy way to use these tools - I figured that converting the image to binary would be the quickest way to gain access to these processing tools, but I could be wrong...... also I don't know exactly how to convert it to binary (sorry, very very new to labview). I'll keep trying, but if somebody sees a quick/easy way of trying to do this, any help would be appreciated.
SS
11-18-2008 04:01 PM