View Single Post
  #9   Spotlight this post!  
Unread 23-01-2012, 15:08
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Re: convexHull in WPILib ??

Quote:
Originally Posted by basicxman View Post
A BinaryImage just contains a member Image pointer. So you can use binaryImage->GetImaqImage() as your source and destination argument.
So, if you already had an image in a BinaryImage object (after Thresholding or something) I guess you might do something like this then?

Image *imaqImage;

imaqImage = binaryImage->GetImaqImage();
imaqConvexHull(imaqImage, imaqImage, TRUE);

Your binaryImage object would then contain a convex hulled image, right?

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
Reply With Quote