#include <itkAdaptiveHistogramEqualizationImageFilter.h>
Power Law Adaptive Histogram Equalization.
Histogram equalization modifies the contrast in an image. The AdaptiveHistogramEqualizationImageFilter is a superset of many contrast enhancing filters. By modifying its parameters (alpha, beta, and window), the AdaptiveHistogramEqualizationImageFilter can produce an adaptively equalized histogram or a version of unsharp mask (local mean subtraction). Instead of applying a strict histogram equalization in a window about a pixel, this filter prescribes a mapping function (power law) controlled by the parameters alpha and beta.
The parameter alpha controls how much the filter acts like the classical histogram equalization method (alpha=0) to how much the filter acts like an unsharp mask (alpha=1).
The parameter beta controls how much the filter acts like an unsharp mask (beta=0) to much the filter acts like pass through (beta=1, with alpha=1).
The parameter window controls the size of the region over which local statistics are calculated. The size of the window is controlled by SetRadius – the default Radius is 5 in all directions.
By altering alpha, beta and window, a host of equalization and unsharp masking filters is available.
The boundary condition ignores the part of the neighborhood outside the image, and over-weights the valid part of the neighborhood.
For a detailed description see [110].
Definition at line 70 of file itkAdaptiveHistogramEqualizationImageFilter.h.
Public Types | |
using | ConstPointer = SmartPointer<const Self> |
using | ImageSizeType = typename ImageType::SizeType |
using | ImageType = TImageType |
using | InputPixelType = typename ImageType::PixelType |
using | Pointer = SmartPointer<Self> |
using | Self = AdaptiveHistogramEqualizationImageFilter |
using | Superclass |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | IndexType = typename TInputImage::IndexType |
using | InputImageType = TInputImage |
using | KernelIteratorType = typename KernelType::ConstIterator |
using | KernelType = TKernel |
using | OffsetListType = typename std::list<OffsetType> |
using | OffsetMapType = typename std::map<OffsetType, OffsetListType, Functor::LexicographicCompare> |
using | OffsetType = typename TInputImage::OffsetType |
using | OutputImageType = TOutputImage |
using | OutputPixelType = typename TOutputImage::PixelType |
using | PixelType = typename TInputImage::PixelType |
using | Pointer = SmartPointer<Self> |
using | RadiusType = typename KernelType::SizeType |
using | RegionType = typename TInputImage::RegionType |
using | Self = MovingHistogramImageFilter |
using | SizeType = typename TInputImage::SizeType |
using | Superclass = MovingHistogramImageFilterBase<TInputImage, TOutputImage, TKernel> |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | IndexType = typename TInputImage::IndexType |
using | InputImageType = TInputImage |
using | KernelIteratorType = typename KernelType::ConstIterator |
using | KernelType = TKernel |
using | OffsetListType = typename std::list<OffsetType> |
using | OffsetMapType = typename std::map<OffsetType, OffsetListType, Functor::LexicographicCompare> |
using | OffsetType = typename TInputImage::OffsetType |
using | OutputImageType = TOutputImage |
using | OutputPixelType = typename TOutputImage::PixelType |
using | PixelType = typename TInputImage::PixelType |
using | Pointer = SmartPointer<Self> |
using | RadiusType = typename KernelType::SizeType |
using | RegionType = typename TInputImage::RegionType |
using | Self = MovingHistogramImageFilterBase |
using | SizeType = typename TInputImage::SizeType |
using | Superclass = KernelImageFilter<TInputImage, TOutputImage, TKernel> |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | FlatKernelType = FlatStructuringElement<(Self::ImageDimension)> |
using | IndexType = typename TInputImage::IndexType |
using | InputImageType = TInputImage |
using | InputPixelType = typename TInputImage::PixelType |
using | KernelType = TKernel |
using | OffsetType = typename TInputImage::OffsetType |
using | OutputImageType = TOutputImage |
using | OutputPixelType = typename TOutputImage::PixelType |
using | Pointer = SmartPointer<Self> |
using | RadiusType = typename TInputImage::SizeType |
using | RegionType = typename TInputImage::RegionType |
using | Self = KernelImageFilter |
using | SizeType = typename TInputImage::SizeType |
using | Superclass = BoxImageFilter<TInputImage, TOutputImage> |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | IndexType = typename TInputImage::IndexType |
using | InputImageType = TInputImage |
using | InputPixelType = typename TInputImage::PixelType |
using | OffsetType = typename TInputImage::OffsetType |
using | OutputImageType = TOutputImage |
using | OutputPixelType = typename TOutputImage::PixelType |
using | Pointer = SmartPointer<Self> |
using | RadiusType = typename TInputImage::SizeType |
using | RadiusValueType = typename TInputImage::SizeValueType |
using | RegionType = typename TInputImage::RegionType |
using | Self = BoxImageFilter |
using | SizeType = typename TInputImage::SizeType |
using | Superclass = 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 |
using | OutputImageRegionType |
using | Pointer = SmartPointer<Self> |
using | Self = ImageToImageFilter |
using | Superclass = 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 |
![]() | |
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 |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = Object |
using | Superclass = LightObject |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = LightObject |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TImageType::ImageDimension |
![]() | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
![]() | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
![]() | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
![]() | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
![]() | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
float | m_Alpha {} |
float | m_Beta {} |
InputPixelType | m_InputMaximum {} |
InputPixelType | m_InputMinimum {} |
bool | m_UseLookupTable {} |
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::ConstPointer = SmartPointer<const Self> |
Definition at line 91 of file itkAdaptiveHistogramEqualizationImageFilter.h.
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::ImageSizeType = typename ImageType::SizeType |
Definition at line 104 of file itkAdaptiveHistogramEqualizationImageFilter.h.
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::ImageType = TImageType |
Image type alias support
Definition at line 102 of file itkAdaptiveHistogramEqualizationImageFilter.h.
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::InputPixelType = typename ImageType::PixelType |
Definition at line 103 of file itkAdaptiveHistogramEqualizationImageFilter.h.
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::Pointer = SmartPointer<Self> |
Definition at line 90 of file itkAdaptiveHistogramEqualizationImageFilter.h.
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::Self = AdaptiveHistogramEqualizationImageFilter |
Standard class type aliases
Definition at line 84 of file itkAdaptiveHistogramEqualizationImageFilter.h.
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::Superclass |
Definition at line 85 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
inlineprotected |
Definition at line 160 of file itkAdaptiveHistogramEqualizationImageFilter.h.
References m_Alpha, m_Beta, m_InputMaximum, m_InputMinimum, m_UseLookupTable, itk::NumericTraits< T >::max(), itk::NumericTraits< T >::min(), and itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >::SetRadius().
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
overrideprotectedvirtual |
Standard pipeline method
Reimplemented from itk::ImageSource< TOutputImage >.
|
inlineoverride |
Definition at line 144 of file itkAdaptiveHistogramEqualizationImageFilter.h.
References itk::BoxImageFilter< TInputImage, TOutputImage >::GetRadius(), ImageDimension, m_Alpha, m_Beta, m_InputMaximum, and m_InputMinimum.
|
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::LightObject.
|
virtual |
Set/Get the value of alpha. Alpha = 0 produces the adaptive histogram equalization (provided beta=0). Alpha = 1 produces an unsharp mask. Default is 0.3.
|
virtual |
Set/Get the value of beta. If beta = 1 (and alpha = 1), then the output image matches the input image. As beta approaches 0, the filter behaves as an unsharp mask. Default is 0.3.
References m_UseLookupTable, and itk::Object::Modified().
|
overridevirtual |
Reimplemented from itk::LightObject.
References AdaptiveHistogramEqualizationImageFilter().
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::LightObject.
|
virtual |
Set/Get the value of alpha. Alpha = 0 produces the adaptive histogram equalization (provided beta=0). Alpha = 1 produces an unsharp mask. Default is 0.3.
|
virtual |
Set/Get the value of beta. If beta = 1 (and alpha = 1), then the output image matches the input image. As beta approaches 0, the filter behaves as an unsharp mask. Default is 0.3.
|
staticconstexpr |
Definition at line 93 of file itkAdaptiveHistogramEqualizationImageFilter.h.
Referenced by ConfigureHistogram().
|
private |
Definition at line 184 of file itkAdaptiveHistogramEqualizationImageFilter.h.
Referenced by AdaptiveHistogramEqualizationImageFilter(), and ConfigureHistogram().
|
private |
Definition at line 185 of file itkAdaptiveHistogramEqualizationImageFilter.h.
Referenced by AdaptiveHistogramEqualizationImageFilter(), and ConfigureHistogram().
|
private |
Definition at line 188 of file itkAdaptiveHistogramEqualizationImageFilter.h.
Referenced by AdaptiveHistogramEqualizationImageFilter(), and ConfigureHistogram().
|
private |
Definition at line 187 of file itkAdaptiveHistogramEqualizationImageFilter.h.
Referenced by AdaptiveHistogramEqualizationImageFilter(), and ConfigureHistogram().
|
private |
Definition at line 190 of file itkAdaptiveHistogramEqualizationImageFilter.h.
Referenced by AdaptiveHistogramEqualizationImageFilter(), and GetBeta().