28 namespace cinder {
namespace ip {
38 void threshold(
const SurfaceT<T> &srcSurface, T
value, SurfaceT<T> *dstSurface );
41 void threshold(
const ChannelT<T> &srcSurface, T
value, ChannelT<T> *dstSurface );
45 void adaptiveThreshold(
const ChannelT<T> &srcChannel, int32_t windowSize,
float percentageDelta, ChannelT<T> *dstChannel );
56 void adaptiveThresholdZero(
const ChannelT<T> &srcChannel, int32_t windowSize, ChannelT<T> *dstChannel );
70 SUMT * mIntegralImage;
84 std::shared_ptr<Obj> mObj;
void calculate(int32_t windowSize, float percentageDelta, ChannelT< T > *dstChannel)
Definition: Threshold.cpp:351
AdaptiveThresholdT< uint8_t > AdaptiveThreshold8u
Definition: Threshold.h:88
AdaptiveThresholdT< uint8_t > AdaptiveThreshold
Definition: Threshold.h:87
std::shared_ptr< Obj > AdaptiveThresholdT::* unspecified_bool_type
Emulates shared_ptr-like behavior.
Definition: Threshold.h:79
AdaptiveThresholdT()
Definition: Threshold.h:73
Definition: ChanTraits.h:30
A single channel of image data, either a color channel of a Surface or a grayscale image...
Definition: Channel.h:37
AdaptiveThresholdT< float > AdaptiveThreshold32f
Definition: Threshold.h:89
void adaptiveThreshold(const ChannelT< T > &srcChannel, int32_t windowSize, float percentageDelta, ChannelT< T > *dstChannel)
Thresholds srcChannel using an adaptive thresholding algorithm which considers a window of size windo...
Definition: Threshold.cpp:257
GLsizei const GLfloat * value
Definition: GLee.h:2487
void reset()
Emulates shared_ptr-like behavior.
Definition: Threshold.h:81
int int channel
Definition: GLee.h:17150
Definition: Threshold.h:59
void adaptiveThresholdZero(ChannelT< T > *channel, int32_t windowSize)
Thresholds srcChannel using an adaptive thresholding algorithm which considers a window of size windo...
Definition: Threshold.cpp:293
void threshold(SurfaceT< T > *surface, T value, const Area &area)
Thresholds surface setting any values below value to zero and any values above to unity inside the Ar...
Definition: Threshold.cpp:100