include/cinder/ip/Threshold.h File Reference

Go to the source code of this file.

Classes

class  cinder::ip::AdaptiveThresholdT< T >
struct  cinder::ip::AdaptiveThresholdT< T >::Obj

Namespaces

namespace  cinder
namespace  cinder::ip

Typedefs

typedef AdaptiveThresholdT
< uint8_t > 
cinder::ip::AdaptiveThreshold
typedef AdaptiveThresholdT
< uint8_t > 
cinder::ip::AdaptiveThreshold8u
typedef AdaptiveThresholdT< float > cinder::ip::AdaptiveThreshold32f

Functions

template<typename T >
void cinder::ip::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 Area area.
template<typename T >
void cinder::ip::threshold (SurfaceT< T > *surface, T value)
 Thresholds surface setting any values below value to zero and any values above to unity.
template<typename T >
void cinder::ip::threshold (const SurfaceT< T > &srcSurface, T value, SurfaceT< T > *dstSurface)
 Thresholds srcSurface setting any values below value to zero and any values above to unity and storing the result in dstSurface.
template<typename T >
void cinder::ip::threshold (const ChannelT< T > &srcSurface, T value, ChannelT< T > *dstSurface)
 Thresholds srcChannel setting any values below value to zero and any values above to unity and storing the result in dstChannel.
template<typename T >
void cinder::ip::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 windowSize pixels and stores the result in dstChannel.
template<typename T >
void cinder::ip::adaptiveThreshold (ChannelT< T > *channel, int32_t windowSize, float percentageDelta)
 Thresholds srcChannel using an adaptive thresholding algorithm which considers a window of size windowSize pixels.
template<typename T >
void cinder::ip::adaptiveThresholdZero (ChannelT< T > *channel, int32_t windowSize)
 Thresholds srcChannel using an adaptive thresholding algorithm which considers a window of size windowSize pixels. Equivalent to calling adaptiveThreshold with a 0 for percentageDelta.
template<typename T >
void cinder::ip::adaptiveThresholdZero (const ChannelT< T > &srcChannel, int32_t windowSize, ChannelT< T > *dstChannel)