View Single Post
  #5   Spotlight this post!  
Unread 13-02-2012, 23:52
Method's Avatar
Method Method is offline
Registered User
no team
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Ca
Posts: 38
Method is an unknown quantity at this point
Re: simple camera feed and LCD output

//These are filtering the image (how do I do this with the order I created?[is this done by the vision assistant algorithm?])



// BinaryImage *thresholdImage = image.ThresholdRGB(threshold);
// //pixel range
// BinaryImage *bigObjectsImage = thresholdImage->RemoveSmallObjects(false, 2);
// // remove small objects (noise)
// BinaryImage *convexHullImage = bigObjectsImage->ConvexHull(false);
// // fill in partial and full rectangles
// BinaryImage *filteredImage = convexHullImage->ParticleFilter(criteria, 2);
// // find the rectangles



//This is getting the particles' results. will it be the same?



// vector<ParticleAnalysisReport> *particles = filteredImage->GetOrderedParticleAnalysisReports();
//This is selecting a target to output results from
// ParticleAnalysisReport *par = &(particles)->at(choiceTarget);
Reply With Quote