ITK
5.2.0
Insight Toolkit
|
#include <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 = MovingHistogramImageFilter< TImageType, TImageType, TKernel, typename Function::AdaptiveEqualizationHistogram< typename TImageType::PixelType, typename TImageType::PixelType > > |
Public Types inherited from itk::MovingHistogramImageFilter< TImageType, TImageType, TKernel, Function::AdaptiveEqualizationHistogram< TImageType::PixelType, TImageType::PixelType > > | |
using | ConstPointer = SmartPointer< const Self > |
using | IndexType = typename TImageType ::IndexType |
using | InputImageType = TImageType |
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 TImageType ::OffsetType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = TImageType |
using | OutputPixelType = typename TImageType ::PixelType |
using | PixelType = typename TImageType ::PixelType |
using | Pointer = SmartPointer< Self > |
using | RadiusType = typename KernelType::SizeType |
using | RegionType = typename TImageType ::RegionType |
using | Self = MovingHistogramImageFilter |
using | SizeType = typename TImageType ::SizeType |
using | Superclass = MovingHistogramImageFilterBase< TImageType, TImageType, TKernel > |
Public Types inherited from itk::MovingHistogramImageFilterBase< TImageType, TImageType, TKernel > | |
using | ConstPointer = SmartPointer< const Self > |
using | IndexType = typename TImageType ::IndexType |
using | InputImageType = TImageType |
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 TImageType ::OffsetType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = TImageType |
using | OutputPixelType = typename TImageType ::PixelType |
using | PixelType = typename TImageType ::PixelType |
using | Pointer = SmartPointer< Self > |
using | RadiusType = typename KernelType::SizeType |
using | RegionType = typename TImageType ::RegionType |
using | Self = MovingHistogramImageFilterBase |
using | SizeType = typename TImageType ::SizeType |
using | Superclass = KernelImageFilter< TImageType, TImageType, TKernel > |
Public Types inherited from itk::KernelImageFilter< TImageType, TImageType, TKernel > | |
using | ConstPointer = SmartPointer< const Self > |
using | FlatKernelType = FlatStructuringElement<(Self::ImageDimension)> |
using | IndexType = typename TImageType ::IndexType |
using | InputImageType = TImageType |
using | InputPixelType = typename TImageType ::PixelType |
using | KernelType = TKernel |
using | OffsetType = typename TImageType ::OffsetType |
using | OutputImageType = TImageType |
using | OutputPixelType = typename TImageType ::PixelType |
using | Pointer = SmartPointer< Self > |
using | RadiusType = typename TImageType ::SizeType |
using | RegionType = typename TImageType ::RegionType |
using | Self = KernelImageFilter |
using | SizeType = typename TImageType ::SizeType |
using | Superclass = BoxImageFilter< TImageType, TImageType > |
Public Types inherited from itk::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 > |
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 |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TImageType::ImageDimension |
Static Public Attributes inherited from itk::MovingHistogramImageFilter< TImageType, TImageType, TKernel, Function::AdaptiveEqualizationHistogram< TImageType::PixelType, TImageType::PixelType > > | |
static constexpr unsigned int | ImageDimension |
Static Public Attributes inherited from itk::MovingHistogramImageFilterBase< TImageType, TImageType, TKernel > | |
static constexpr unsigned int | ImageDimension |
Static Public Attributes inherited from itk::KernelImageFilter< TImageType, TImageType, TKernel > | |
static constexpr unsigned int | ImageDimension |
Static Public Attributes inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
float | m_Alpha |
float | m_Beta |
InputPixelType | m_InputMinimum |
InputPixelType | m_InputMaximum |
bool | m_UseLookupTable |
virtual void | SetAlpha (float _arg) |
virtual float | GetAlpha () const |
virtual void | SetBeta (float _arg) |
virtual float | GetBeta () const |
void | ConfigureHistogram (typename Superclass::HistogramType &h) override |
AdaptiveHistogramEqualizationImageFilter () | |
~AdaptiveHistogramEqualizationImageFilter () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | BeforeThreadedGenerateData () override |
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 detail description, reference "Adaptive Image Contrast Enhancement using Generalizations of Histogram Equalization." J.Alex Stark. IEEE Transactions on Image Processing, May 2000.
Definition at line 72 of file itkAdaptiveHistogramEqualizationImageFilter.h.
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::ConstPointer = SmartPointer<const Self> |
Definition at line 93 of file itkAdaptiveHistogramEqualizationImageFilter.h.
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::ImageSizeType = typename ImageType::SizeType |
Definition at line 106 of file itkAdaptiveHistogramEqualizationImageFilter.h.
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::ImageType = TImageType |
Image type type alias support
Definition at line 104 of file itkAdaptiveHistogramEqualizationImageFilter.h.
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::InputPixelType = typename ImageType::PixelType |
Definition at line 105 of file itkAdaptiveHistogramEqualizationImageFilter.h.
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::Pointer = SmartPointer<Self> |
Definition at line 92 of file itkAdaptiveHistogramEqualizationImageFilter.h.
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::Self = AdaptiveHistogramEqualizationImageFilter |
Standard class type aliases
Definition at line 86 of file itkAdaptiveHistogramEqualizationImageFilter.h.
using itk::AdaptiveHistogramEqualizationImageFilter< TImageType, TKernel >::Superclass = MovingHistogramImageFilter< TImageType, TImageType, TKernel, typename Function::AdaptiveEqualizationHistogram<typename TImageType::PixelType, typename TImageType::PixelType> > |
Definition at line 91 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
inlineprotected |
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.
Definition at line 161 of file itkAdaptiveHistogramEqualizationImageFilter.h.
References itk::NumericTraits< T >::max(), and itk::NumericTraits< T >::min().
|
overrideprotecteddefault |
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.
|
overrideprotectedvirtual |
Standard pipeline method
Reimplemented from itk::ImageSource< TOutputImage >.
|
inlineoverride |
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.
Definition at line 145 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
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::BoxImageFilter< TInputImage, TOutputImage >.
|
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 alpha. Alpha = 0 produces the adaptive histogram equalization (provided beta=0). Alpha = 1 produces an unsharp mask. Default is 0.3.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MovingHistogramImageFilter< TImageType, TImageType, TKernel, Function::AdaptiveEqualizationHistogram< TImageType::PixelType, TImageType::PixelType > >.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
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.
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
|
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 95 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
private |
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.
Definition at line 185 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
private |
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.
Definition at line 186 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
private |
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.
Definition at line 189 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
private |
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.
Definition at line 188 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
private |
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.
Definition at line 191 of file itkAdaptiveHistogramEqualizationImageFilter.h.