Log in

View Full Version : Vision Assistant help?


Sykan
22-01-2009, 14:34
Hello,

Is there a specific command in Vision assistant to get the camera to tell you the area or bounding box of the color. When i used color location it shows up as a little box in the color instead of the whole color. Or am i going about this all wrong?

Thanks,
David Elizondo
(Programmer)

Greg McKaskle
22-01-2009, 16:17
Once you have a binary image, the output from a threshold, you can use the particle analysis step. It has lots of measurements by default, and a button to select which measurements you want.

Greg McKaskle

Sykan
22-01-2009, 20:23
Thank You that helped a bunch. now if i can get the 2d array to sort by area it will be golden. :)

David Elizondo
(Programmer)

Greg McKaskle
23-01-2009, 06:49
There is a trick to it.

The vision example for tracking the gimbal does it. There is a VI called something like size ordered morphology, and it asks for all the values, pulls out the sizes, sorts them, then moves the original rows in the same way.

You can use it for a pattern, or you may even be able to use it.

Greg McKaskle