View Single Post
  #13   Spotlight this post!  
Unread 02-02-2012, 14:55
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: how to use openCV?

Quote:
Originally Posted by ganchara View Post
When you say that the threshold and particle analysis are done in the C++ how does that work, because that would mean you went from C++ for the plane extraction and threshold, to VA to do the convex hull and particle filter, and then back to C++ for the final particle analysis?
Code:
binaryImage = colorImage->ThresholdHSL(######);
imaqImage = binaryImage->GetImaqImage();
IVA_ProcessImage(imaqImage); //In here we just convex hull and particle filter
vector<ParticleAnalysisReport> *reports = binaryImage->GetOrderedParticleAnalysisReports();