View Single Post
  #4   Spotlight this post!  
Unread 30-01-2012, 14:02
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 157
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: Image Threshold Produces Black Image

I must say that the C++ library is quite straight forward and seems to work quite well too.

AxisCamera::GetImage returns ColorImage* ... (or HSLImage* due to inheritance)
ColorImage::ThresholdHSL returns BinaryImage*
and BinaryImage:: has the particle analysis routines. Tada. Right down the line...very little babysitting other than making sure to delete the pointers given back to you or handle the GetImage differently by passing in your own ColorImage address.

bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote