Vision Assistant help?

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)

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

Thank You that helped a bunch. now if i can get the 2d array to sort by area it will be golden. :slight_smile:

David Elizondo
(Programmer)

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