19#ifndef itkSaltAndPepperNoiseImageFilter_h
20#define itkSaltAndPepperNoiseImageFilter_h
66template <
class TInputImage,
class TOutputImage = TInputImage>
86 using typename Superclass::OutputImageType;
87 using typename Superclass::OutputImagePointer;
88 using typename Superclass::OutputImageRegionType;
89 using typename Superclass::OutputImagePixelType;
100 itkGetConstMacro(Probability,
double);
101 itkSetMacro(Probability,
double);
118#ifdef ITK_USE_CONCEPT_CHECKING
137 double m_Probability{ 0.01 };
143#ifndef ITK_MANUAL_INSTANTIATION
144# include "itkSaltAndPepperNoiseImageFilter.hxx"
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
Light weight base class for most itk classes.
An Abstract Base class for Noise image filters.
Alter an image with fixed value impulse noise, often called salt and pepper noise.
typename InputImageType::ConstPointer InputImageConstPointer
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
~SaltAndPepperNoiseImageFilter() override=default
typename InputImageType::PixelType InputImagePixelType
TInputImage InputImageType
typename InputImageType::RegionType InputImageRegionType
void PrintSelf(std::ostream &os, Indent indent) const override
typename InputImageType::Pointer InputImagePointer
SaltAndPepperNoiseImageFilter()
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType