src/cinder/ip/Threshold.cpp File Reference

Namespaces

namespace  cinder
namespace  cinder::ip

Functions

template<typename T >
void cinder::ip::thresholdImpl (SurfaceT< T > *surface, T value, const Area &area)
template<typename T >
void cinder::ip::thresholdImpl (const SurfaceT< T > &srcSurface, T value, const Area &srcArea, const Vec2i &dstLT, SurfaceT< T > *dstSurface)
template<typename T >
void cinder::ip::thresholdImpl (const ChannelT< T > &srcChannel, T value, const Area &srcArea, const Vec2i &dstLT, ChannelT< T > *dstChannel)
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::calculateAdaptiveThreshold (const ChannelT< T > *srcChannel, typename CHANTRAIT< T >::Accum *integralImage, int32_t windowSize, float percentageDelta, ChannelT< T > *dstChannel)
template<typename T >
void cinder::ip::calculateAdaptiveThresholdZero (const ChannelT< T > *srcChannel, typename CHANTRAIT< T >::Accum *integralImage, int32_t windowSize, ChannelT< T > *dstChannel)
template<typename T >
void cinder::ip::calculateIntegralImage (const ChannelT< T > &channel, typename CHANTRAIT< T >::Accum *integralImage)
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)