18 #ifndef __itkBinShrinkImageFilter_h
19 #define __itkBinShrinkImageFilter_h
57 template <
typename TInputImage,
typename TOutputImage>
90 TInputImage::ImageDimension );
92 TOutputImage::ImageDimension );
117 #ifdef ITK_USE_CONCEPT_CHECKING
141 template<
class TOutputType,
class TInputType >
145 return Math::Round< TOutputType >( input );
150 template<
class TOutputType,
class TInputType >
154 return static_cast<TOutputType
>(input);
160 #ifndef ITK_MANUAL_INSTANTIATION
161 #include "itkBinShrinkImageFilter.hxx"
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
OutputImageType::Pointer OutputImagePointer
void operator=(const Self &)
TOutputImage::OffsetType OutputOffsetType
TInputImage InputImageType
SmartPointer< Self > Pointer
Base class for all process objects that output image data.
TOutputImage::RegionType OutputImageRegionType
EnableIfC< std::numeric_limits< TOutputType >::is_integer, TOutputType >::Type RoundIfInteger(TInputType input)
static const unsigned int ImageDimension
BinShrinkImageFilter Self
ImageToImageFilter< TInputImage, TOutputImage > Superclass
DisableIfC< std::numeric_limits< TOutputType >::is_integer, TOutputType >::Type RoundIfInteger(const TInputType &input,...)
FixedArray< unsigned int, ImageDimension > ShrinkFactorsType
virtual void GenerateInputRequestedRegion()
TOutputImage OutputImageType
Reduce the size of an image by an integer factor in each dimension while performing averaging of an i...
TOutputImage::IndexType OutputIndexType
static const unsigned int OutputImageDimension
virtual void SetShrinkFactors(ShrinkFactorsType _arg)
InputImageType::Pointer InputImagePointer
virtual void GenerateOutputInformation()
TInputImage::IndexType InputIndexType
Base class for filters that take an image as input and produce an image as output.
SmartPointer< const Self > ConstPointer
OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
Reduce the size of an image by an integer factor in each dimension.
void SetShrinkFactor(unsigned int i, unsigned int factor)
void PrintSelf(std::ostream &os, Indent indent) const
ShrinkFactorsType m_ShrinkFactors
#define itkConceptMacro(name, concept)
InputImageType::ConstPointer InputImageConstPointer
unsigned int ThreadIdType