View Single Post
  #4   Spotlight this post!  
Unread 14-01-2012, 04:01
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Using Vision Assistant Generated Code

Quote:
Originally Posted by arthurlockman View Post
I know that you call IVA_ProcessImage(Image *image) with your image data that you get from the camera. Looking through the code though, there doesn't seem to be an easy way to get at the data that the particle detection creates. You can access it in the vision assistant, but I'm not sure how to in the C code.
It looks like you can pull the results out of the ivaData variable in the IVA_ProcessImage function before it is passed to IVA_DisposeData(). Maybe pass in an array you wish to populate with the results and you can copy the interesting results. Possibly pCalibratedMeasurements will be simpler if you don't care about the complexity of the struct.
Reply With Quote