View Single Post
  #7   Spotlight this post!  
Unread 20-01-2012, 19:24
CodeYeti's Avatar
CodeYeti CodeYeti is offline
FRC Addict
AKA: Matt Coffin
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Colorado
Posts: 81
CodeYeti is an unknown quantity at this point
Re: BinaryImage constructors protected?

I'm not quite sure what you mean by the NIVision assistant, but basically, none of this would be needed if there was some method in ColorImage to the effect of
Code:
public BinaryImage thresholdLAB(int lightnessLow, int lightnessHigh, int aLow, int aHigh, int bLow, int bHigh)
Because there isn't such a method, I've been trying to add something like it to a custom wrapper class (wraps around ColorImage).

Sort of off-topic but wouldn't Objective-C Categories come in handy big time right here? Bummer Java doesn't have something similar.

Also, what did you mean when you talked about comparing filters on LAB images with filters on HSL images? the problem is that I can't apply a filter in the LAB color space, unless I'm just blind and missing something huge.
Reply With Quote