18#ifndef itkBinShrinkImageFilter_h
19#define itkBinShrinkImageFilter_h
57template <
typename TInputImage,
typename TOutputImage>
136 template <
class TOutputType,
class TInputType>
137 std::enable_if_t<std::numeric_limits<TOutputType>::is_integer, TOutputType>
145 template <
class TOutputType,
class TInputType>
146 std::enable_if_t<!std::numeric_limits<TOutputType>::is_integer, TOutputType>
149 return static_cast<TOutputType
>(input);
155#ifndef ITK_MANUAL_INSTANTIATION
156# include "itkBinShrinkImageFilter.hxx"
void GenerateOutputInformation() override
typename InputImageType::Pointer InputImagePointer
TInputImage InputImageType
ShrinkFactorsType m_ShrinkFactors
void SetShrinkFactors(unsigned int factor)
typename TInputImage::IndexType InputIndexType
static constexpr unsigned int OutputImageDimension
typename TOutputImage::OffsetType OutputOffsetType
BinShrinkImageFilter Self
SmartPointer< Self > Pointer
typename TOutputImage::RegionType OutputImageRegionType
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
typename InputImageType::ConstPointer InputImageConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
std::enable_if_t< std::numeric_limits< TOutputType >::is_integer, TOutputType > RoundIfInteger(TInputType input)
void GenerateInputRequestedRegion() override
typename OutputImageType::Pointer OutputImagePointer
static constexpr unsigned int ImageDimension
typename TOutputImage::IndexType OutputIndexType
void SetShrinkFactor(unsigned int i, unsigned int factor)
ImageToImageFilter< TInputImage, TOutputImage > Superclass
std::enable_if_t<!std::numeric_limits< TOutputType >::is_integer, TOutputType > RoundIfInteger(const TInputType &input,...)
FixedArray< unsigned int, ImageDimension > ShrinkFactorsType
SmartPointer< const Self > ConstPointer
TOutputImage OutputImageType
Simulate a standard C array with copy semantics.
Control indentation during Print() invocation.
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
TInput TInput TReturn Round(TInput x)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....