ofxCv icon indicating copy to clipboard operation
ofxCv copied to clipboard

smart thresholding should be a class

Open kylemcdonald opened this issue 12 years ago • 1 comments

you regularly want to threshold using something like color, brightness, maybe HSB, or RGB. this is inside ContourFinder right now, but you may want to use it separately.

kylemcdonald avatar Mar 16 '12 20:03 kylemcdonald

Hi @kylemcdonald, also it's better to have int thresholdType = invert ? THRESH_TOZERO_INV : THRESH_TOZERO; options, which preserve original image levels instead of binarization, for https://github.com/kylemcdonald/ofxCv/blob/master/libs/ofxCv/include/ofxCv/Wrappers.h#L121

micuat avatar Mar 24 '15 20:03 micuat