18 #ifndef itkBinShrinkImageFilter_h
19 #define itkBinShrinkImageFilter_h
56 template <
typename TInputImage,
typename TOutputImage>
89 TInputImage::ImageDimension );
91 TOutputImage::ImageDimension );
116 #ifdef ITK_USE_CONCEPT_CHECKING
135 void operator=(const
Self&) ITK_DELETE_FUNCTION;
140 template< class TOutputType, class TInputType >
141 typename EnableIfC<std::numeric_limits<TOutputType>::is_integer, TOutputType>::Type
144 return Math::Round< TOutputType >( input );
149 template<
class TOutputType,
class TInputType >
153 return static_cast<TOutputType
>(input);
159 #ifndef ITK_MANUAL_INSTANTIATION
160 #include "itkBinShrinkImageFilter.hxx"
OutputImageType::Pointer OutputImagePointer
TOutputImage::OffsetType OutputOffsetType
TInputImage InputImageType
void PrintSelf(std::ostream &os, Indent indent) const override
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
virtual void GenerateOutputInformation() override
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
BinShrinkImageFilter Self
ImageToImageFilter< TInputImage, TOutputImage > Superclass
DisableIfC< std::numeric_limits< TOutputType >::is_integer, TOutputType >::Type RoundIfInteger(const TInputType &input,...)
FixedArray< unsigned int, ImageDimension > ShrinkFactorsType
TOutputImage OutputImageType
unsigned int ThreadIdType
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
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)
ShrinkFactorsType m_ShrinkFactors
#define itkConceptMacro(name, concept)
An implementation of the negation of the enable if idiom.
InputImageType::ConstPointer InputImageConstPointer
virtual void GenerateInputRequestedRegion() override