ITK
5.2.0
Insight Toolkit
|
#include <itkSaltAndPepperNoiseImageFilter.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImagePointer = typename Superclass::OutputImagePointer |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = typename Superclass::OutputImageType |
using | Pointer = SmartPointer< Self > |
using | Self = SaltAndPepperNoiseImageFilter |
using | Superclass = NoiseBaseImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::NoiseBaseImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | Pointer = SmartPointer< Self > |
using | Self = NoiseBaseImageFilter |
using | Superclass = InPlaceImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImagePointer = typename Superclass::OutputImagePointer |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = typename Superclass::OutputImageType |
using | Pointer = SmartPointer< Self > |
using | Self = InPlaceImageFilter |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Alter an image with fixed value impulse noise, often called salt and pepper noise.
Salt (sensor saturation) and pepper (dead pixels) noise is a special kind of impulse noise where the value of the noise is either the maximum possible value in the image or its minimum. This is not necessarily the maximal/minimal possible intensity value based on the pixel type. For example, the native pixel type for CT is a signed 16 bit integer, but only 12 bits used, so we would like to set the salt and pepper values to match this smaller intensity range and not the range the pixel type represents. It can be modeled as:
Pixel alteration occurs at a user defined probability. Salt and pepper pixels are equally distributed.
This code was contributed in the Insight Journal paper "Noise Simulation". https://www.insight-journal.org/browse/publication/721
Definition at line 67 of file itkSaltAndPepperNoiseImageFilter.h.
using itk::SaltAndPepperNoiseImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 77 of file itkSaltAndPepperNoiseImageFilter.h.
using itk::SaltAndPepperNoiseImageFilter< TInputImage, TOutputImage >::InputImageConstPointer = typename InputImageType::ConstPointer |
Definition at line 94 of file itkSaltAndPepperNoiseImageFilter.h.
using itk::SaltAndPepperNoiseImageFilter< TInputImage, TOutputImage >::InputImagePixelType = typename InputImageType::PixelType |
Definition at line 96 of file itkSaltAndPepperNoiseImageFilter.h.
using itk::SaltAndPepperNoiseImageFilter< TInputImage, TOutputImage >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 93 of file itkSaltAndPepperNoiseImageFilter.h.
using itk::SaltAndPepperNoiseImageFilter< TInputImage, TOutputImage >::InputImageRegionType = typename InputImageType::RegionType |
Definition at line 95 of file itkSaltAndPepperNoiseImageFilter.h.
using itk::SaltAndPepperNoiseImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Some convenient type alias.
Definition at line 92 of file itkSaltAndPepperNoiseImageFilter.h.
using itk::SaltAndPepperNoiseImageFilter< TInputImage, TOutputImage >::OutputImagePixelType = typename Superclass::OutputImagePixelType |
Definition at line 89 of file itkSaltAndPepperNoiseImageFilter.h.
using itk::SaltAndPepperNoiseImageFilter< TInputImage, TOutputImage >::OutputImagePointer = typename Superclass::OutputImagePointer |
Definition at line 87 of file itkSaltAndPepperNoiseImageFilter.h.
using itk::SaltAndPepperNoiseImageFilter< TInputImage, TOutputImage >::OutputImageRegionType = typename Superclass::OutputImageRegionType |
Definition at line 88 of file itkSaltAndPepperNoiseImageFilter.h.
using itk::SaltAndPepperNoiseImageFilter< TInputImage, TOutputImage >::OutputImageType = typename Superclass::OutputImageType |
Superclass type alias.
Definition at line 86 of file itkSaltAndPepperNoiseImageFilter.h.
using itk::SaltAndPepperNoiseImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 76 of file itkSaltAndPepperNoiseImageFilter.h.
using itk::SaltAndPepperNoiseImageFilter< TInputImage, TOutputImage >::Self = SaltAndPepperNoiseImageFilter |
Standard class type aliases.
Definition at line 74 of file itkSaltAndPepperNoiseImageFilter.h.
using itk::SaltAndPepperNoiseImageFilter< TInputImage, TOutputImage >::Superclass = NoiseBaseImageFilter<TInputImage, TOutputImage> |
Definition at line 75 of file itkSaltAndPepperNoiseImageFilter.h.
|
protected |
Begin concept checking End concept checking
|
overrideprotecteddefault |
Set/Get the probability of the salt and pepper noise event. Defaults to 0.01.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::NoiseBaseImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the probability of the salt and pepper noise event. Defaults to 0.01.
|
virtual |
Set/Get the probability of the salt and pepper noise event. Defaults to 0.01.
|
virtual |
Set/Get the probability of the salt and pepper noise event. Defaults to 0.01.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Set/Get the probability of the salt and pepper noise event. Defaults to 0.01.
Reimplemented from itk::NoiseBaseImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the pepper/low pixel value. Defaults to NumericTraits<OutputImagePixelType>::NonpositiveMin().
|
virtual |
Set/Get the probability of the salt and pepper noise event. Defaults to 0.01.
|
virtual |
Set/Get the salt/high pixel value. Defaults to NumericTraits<OutputImagePixelType>::max().
|
overrideprotectedvirtual |
Set/Get the probability of the salt and pepper noise event. Defaults to 0.01.
Reimplemented from itk::ImageSource< TOutputImage >.
|
private |
Set/Get the probability of the salt and pepper noise event. Defaults to 0.01.
Definition at line 139 of file itkSaltAndPepperNoiseImageFilter.h.
|
private |
Set/Get the probability of the salt and pepper noise event. Defaults to 0.01.
Definition at line 137 of file itkSaltAndPepperNoiseImageFilter.h.
|
private |
Set/Get the probability of the salt and pepper noise event. Defaults to 0.01.
Definition at line 138 of file itkSaltAndPepperNoiseImageFilter.h.