18 #ifndef __itkMaskedMovingHistogramImageFilter_h
19 #define __itkMaskedMovingHistogramImageFilter_h
42 template<
class TInputImage,
class TMaskImage,
class TOutputImage,
class TKernel,
class THistogram >
64 typedef typename TInputImage::SizeType
SizeType;
78 this->SetNthInput( 1, const_cast< TMaskImage * >( input ) );
90 this->SetInput(input);
96 this->SetMaskImage(input);
100 itkStaticConstMacro(ImageDimension,
unsigned int,
101 TInputImage::ImageDimension);
121 void AllocateOutputs();
124 using Superclass::MakeOutput;
136 void SetGenerateOutputMask(
bool);
138 itkGetConstMacro(GenerateOutputMask,
bool);
149 void ThreadedGenerateData(
const OutputImageRegionType &
150 outputRegionForThread,
153 void PrintSelf(std::ostream & os,
Indent indent)
const;
155 void pushHistogram(HistogramType & histogram,
156 const OffsetListType *addedList,
157 const OffsetListType *removedList,
158 const RegionType & inputRegion,
159 const RegionType & kernRegion,
160 const InputImageType *inputImage,
161 const MaskImageType *maskImage,
162 const IndexType currentIdx);
166 void operator=(
const Self &);
178 #ifndef ITK_MANUAL_INSTANTIATION
179 #include "itkMaskedMovingHistogramImageFilter.hxx"