Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving data from color pattern matching

 
Hello,
I am doing some image analysis and I used the vision assistant to get all the steps I needed done to my images.  Then I turned it into a Labview vi.  But the problem is that the part of the vi that does the color pattern matching out puts the data in a complicated array.  Says that the 1-d array is made up of clusters. It contains the x, y, angle, score, etc.  As well as the box data to do an overlay. I was wondering if anyone had any ideas how to get the data back out.  I am just trying to get the x, y, and the angle from it.
0 Kudos
Message 1 of 3
(3,094 Views)

Hi,

You have to something like the attached vi.

If you just want the first element, replace the for loop by an Index array.

Hope this helps,

Paulo

0 Kudos
Message 2 of 3
(3,086 Views)

Thanks,

That solved my problem.  I didn't think of using a for loop to get the data.

 

 

0 Kudos
Message 3 of 3
(3,072 Views)