19 #ifndef itkSaltAndPepperNoiseImageFilter_h
20 #define itkSaltAndPepperNoiseImageFilter_h
65 template <
class TInputImage,
class TOutputImage=TInputImage>
99 itkGetConstMacro(Probability,
double);
100 itkSetMacro(Probability,
double);
117 #ifdef ITK_USE_CONCEPT_CHECKING
121 typename TOutputImage::PixelType>) );
130 void PrintSelf(std::ostream & os,
Indent indent)
const override;
135 double m_Probability{ 0.01 };
142 #ifndef ITK_MANUAL_INSTANTIATION
143 #include "itkSaltAndPepperNoiseImageFilter.hxx"
typename OutputImageType::Pointer OutputImagePointer
OutputImagePixelType m_PepperValue
typename Superclass::OutputImagePixelType OutputImagePixelType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
An Abstract Base class for Noise image filters.
Base class for all process objects that output image data.
TInputImage InputImageType
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
OutputImagePixelType m_SaltValue
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)
typename InputImageType::ConstPointer InputImageConstPointer
Alter an image with fixed value impulse noise, often called salt and pepper noise.