21 #ifndef IMG_ALG_DISCRETE_SHRINK_HH
22 #define IMG_ALG_DISCRETE_SHRINK_HH
29 namespace ost {
namespace img {
namespace alg {
46 template <
typename T,
class D>
class encapsulating 1D to 3D size
out-of-place modifying image state const visitor plus op algorithm
#define DLLEXPORT_IMG_ALG
#define OST_IMG_ALG_EXPLICIT_INST_DECL(c, t)
ImageStateConstModOPAlgorithm< DiscreteShrinkFnc > DiscreteShrink
boost::shared_ptr< ImageStateBase > ImageStateBasePtr
shrink image by integral amount
ImageStateBasePtr VisitState(const ImageStateImpl< T, D > &isi) const
Size GetBlocksize() const
static String GetAlgorithmName()
DiscreteShrinkFnc(const Size &blocksize=Size(2, 2, 2))
void SetBlocksize(const Size &bs)