Cinder  0.9.1
Namespaces | Macros | Functions
Threshold.cpp File Reference
#include "cinder/ip/Threshold.h"
#include "cinder/ChanTraits.h"
#include <stdlib.h>
#include <boost/preprocessor/seq.hpp>

Namespaces

 cinder
 
 cinder::ip
 

Macros

#define threshold_PROTOTYPES(r, data, T)
 

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 ivec2 &dstLT, SurfaceT< T > *dstSurface)
 
template<typename T >
void cinder::ip::thresholdImpl (const ChannelT< T > &srcChannel, T value, const Area &srcArea, const ivec2 &dstLT, ChannelT< T > *dstChannel)
 
template<typename T >
void cinder::ip::threshold (SurfaceT< T > *surface, T value, const Area &area)
 
template<typename T >
void cinder::ip::threshold (SurfaceT< T > *surface, T value)
 
template<typename T >
void cinder::ip::threshold (const SurfaceT< T > &srcSurface, T value, SurfaceT< T > *dstSurface)
 
template<typename T >
void cinder::ip::threshold (const ChannelT< T > &srcSurface, T value, ChannelT< T > *dstSurface)
 
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)
 
template<typename T >
void cinder::ip::adaptiveThreshold (ChannelT< T > *channel, int32_t windowSize, float percentageDelta)
 
template<typename T >
void cinder::ip::adaptiveThresholdZero (ChannelT< T > *channel, int32_t windowSize)
 
template<typename T >
void cinder::ip::adaptiveThresholdZero (const ChannelT< T > &srcChannel, int32_t windowSize, ChannelT< T > *dstChannel)
 

Macro Definition Documentation

#define threshold_PROTOTYPES (   r,
  data,
 
)
Value:
template void threshold( SurfaceT<T> *surface, T value ); \
template void threshold( SurfaceT<T> *surface, T value, const Area &area ); \
template void threshold( const SurfaceT<T> &srcSurface, T value, SurfaceT<T> *dstSurface );\
template void threshold( const ChannelT<T> &srcChannel, T value, ChannelT<T> *dstChannel );\
template void adaptiveThreshold( const ChannelT<T> &srcChannel, int32_t windowSize, float percentageDelta, ChannelT<T> *dstChannel ); \
template void adaptiveThreshold( ChannelT<T> *channel, int32_t windowSize, float percentageDelta ); \
template void adaptiveThresholdZero( ChannelT<T> *channel, int32_t windowSize ); \
template void adaptiveThresholdZero( const ChannelT<T> &srcChannel, int32_t windowSize, ChannelT<T> *dstChannel );
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
detail::int32 int32_t
Definition: fwd.hpp:308
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