Go to Post Then use Newton's handy-dandy 2nd law (Force = mass*acceleration) to solve... - Chris Hibner [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 23-01-2012, 11:17
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: convexHull in WPILib ??

Quote:
Originally Posted by bob.wolff68 View Post
So, I was hoping to find it as part of BinaryImage:: or MonoImage:: ... the reason is: If we're going to take a ColorImage or HSLImage object and run HSLThreshold() on it, we'll get a BinaryImage as a result. This is fine.

However, after this step, to do the convexHull operation in "raw imaq API style", we would have to do a GetImage() from the BinaryImage and toss that into the imaqConvexHull operation...that's ok, but then we would need to get this back into a BinaryImage in order to run the BinaryImage::GetOrderedParticleAnalysisReports() function and I don't see a way to get 'back' from imaq-land into WPILib C++ land... is there something I'm missing to do that?

Thanks,
bob
A BinaryImage just contains a member Image pointer. So you can use binaryImage->GetImaqImage() as your source and destination argument.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 17:40.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi