18 #ifndef __itkMaskedMovingHistogramImageFilter_h
19 #define __itkMaskedMovingHistogramImageFilter_h
42 template<
typename TInputImage,
typename TMaskImage,
typename TOutputImage,
typename TKernel,
typename THistogram >
64 typedef typename TInputImage::SizeType
SizeType;
78 this->
SetNthInput( 1, const_cast< TMaskImage * >( input ) );
101 TInputImage::ImageDimension);
138 itkGetConstMacro(GenerateOutputMask,
bool);
150 outputRegionForThread,
178 #ifndef ITK_MANUAL_INSTANTIATION
179 #include "itkMaskedMovingHistogramImageFilter.hxx"
TInputImage::PixelType PixelType
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
MaskPixelType m_BackgroundMaskValue
MaskImageType * GetMaskImage()
void SetInput1(InputImageType *input)
OutputPixelType m_FillValue
void operator=(const Self &)
Implements a generic moving histogram algorithm.
void SetGenerateOutputMask(bool)
Order Offset instances lexicographically.
void pushHistogram(HistogramType &histogram, const OffsetListType *addedList, const OffsetListType *removedList, const RegionType &inputRegion, const RegionType &kernRegion, const InputImageType *inputImage, const MaskImageType *maskImage, const IndexType currentIdx)
Superclass::OutputImageRegionType OutputImageRegionType
MovingHistogramImageFilterBase< TInputImage, TOutputImage, TKernel > Superclass
virtual ProcessObject::DataObjectPointer MakeOutput(ProcessObject::DataObjectPointerArraySizeType idx) ITK_OVERRIDE
TOutputImage::PixelType OutputPixelType
TInputImage::IndexType IndexType
Base class for all process objects that output image data.
DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType idx)
MaskPixelType m_MaskValue
MaskImageType::PixelType MaskPixelType
void SetMaskImage(MaskImageType *input)
MaskedMovingHistogramImageFilter Self
TInputImage::OffsetType OffsetType
~MaskedMovingHistogramImageFilter()
TInputImage::SizeType SizeType
virtual void SetInput(const InputImageType *image)
MaskedMovingHistogramImageFilter()
TInputImage::PixelType InputPixelType
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
KernelType::ConstIterator KernelIteratorType
MaskImageType * GetOutputMask()
std::list< OffsetType > OffsetListType
SmartPointer< const Self > ConstPointer
TInputImage InputImageType
TOutputImage::PixelType OutputPixelType
DataObject * GetInput(const DataObjectIdentifierType &key)
static const unsigned int ImageDimension
SmartPointer< Self > Pointer
virtual void ConfigureHistogram(THistogram &)
std::map< OffsetType, OffsetListType, typename Functor::OffsetLexicographicCompare< itkGetStaticConstMacro(ImageDimension) > > OffsetMapType
Superclass::OutputImageRegionType OutputImageRegionType
bool m_GenerateOutputMask
Control indentation during Print() invocation.
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
TInputImage InputImageType
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
TInputImage::RegionType RegionType
Implements a generic moving histogram algorithm.
Base class for all data objects in ITK.
void SetInput2(MaskImageType *input)
TOutputImage OutputImageType
KernelType::SizeType RadiusType
unsigned int ThreadIdType