ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkAdaptiveHistogramEqualizationImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef ImageType::SizeType | ImageSizeType |
typedef TImageType | ImageType |
typedef SmartPointer< Self > | Pointer |
typedef AdaptiveHistogramEqualizationImageFilter | Self |
typedef ImageToImageFilter < TImageType, TImageType > | Superclass |
Public Types inherited from itk::BoxImageFilter< TImageType, TImageType > | |
typedef TImageType::IndexType | IndexType |
typedef TImageType | InputImageType |
typedef TImageType::PixelType | InputPixelType |
typedef TImageType::OffsetType | OffsetType |
typedef TImageType | OutputImageType |
typedef TImageType::PixelType | OutputPixelType |
typedef TImageType::SizeType | RadiusType |
typedef TImageType::SizeValueType | RadiusValueType |
typedef TImageType::RegionType | RegionType |
typedef TImageType::SizeType | SizeType |
Public Types inherited from itk::ImageToImageFilter< TImageType, TImageType > | |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
Public Types inherited from itk::ImageSource< TImageType > | |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::Pointer | OutputImagePointer |
Public Types inherited from itk::ProcessObject | |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef std::vector < DataObjectIdentifierType > | NameArray |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TImageType::ImageDimension |
Static Public Attributes inherited from itk::BoxImageFilter< TImageType, TImageType > | |
Static Public Attributes inherited from itk::ImageToImageFilter< TImageType, TImageType > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TImageType > |
Private Member Functions | |
AdaptiveHistogramEqualizationImageFilter (const Self &) | |
void | operator= (const Self &) |
float | CumulativeFunction (float u, float v) |
Private Attributes | |
float | m_Alpha |
float | m_Beta |
bool | m_UseLookupTable |
virtual void | SetUseLookupTable (bool _arg) |
virtual bool | GetUseLookupTable () const |
virtual void | UseLookupTableOn () |
virtual void | UseLookupTableOff () |
AdaptiveHistogramEqualizationImageFilter () |
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.
By altering alpha, beta and window, a host of equalization and unsharp masking filters is available.
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 66 of file itkAdaptiveHistogramEqualizationImageFilter.h.
typedef SmartPointer< const Self > itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::ConstPointer |
Reimplemented from itk::BoxImageFilter< TImageType, TImageType >.
Definition at line 77 of file itkAdaptiveHistogramEqualizationImageFilter.h.
typedef ImageType::SizeType itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::ImageSizeType |
Definition at line 90 of file itkAdaptiveHistogramEqualizationImageFilter.h.
typedef TImageType itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::ImageType |
Image type typedef support.
Definition at line 86 of file itkAdaptiveHistogramEqualizationImageFilter.h.
typedef SmartPointer< Self > itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::Pointer |
Reimplemented from itk::BoxImageFilter< TImageType, TImageType >.
Definition at line 76 of file itkAdaptiveHistogramEqualizationImageFilter.h.
typedef AdaptiveHistogramEqualizationImageFilter itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::Self |
Standard class typedefs
Reimplemented from itk::BoxImageFilter< TImageType, TImageType >.
Definition at line 74 of file itkAdaptiveHistogramEqualizationImageFilter.h.
typedef ImageToImageFilter< TImageType, TImageType > itk::AdaptiveHistogramEqualizationImageFilter< TImageType >::Superclass |
Reimplemented from itk::BoxImageFilter< TImageType, TImageType >.
Definition at line 75 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
inlineprotected |
Set/Get whether an optimized lookup table for the intensity mapping function is used. Default is off.
Definition at line 113 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
inlineprotectedvirtual |
Definition at line 122 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
private |
|
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< TImageType, TImageType >.
|
private |
A function which is used in GenerateData().
|
protectedvirtual |
Standard pipeline method
Reimplemented from itk::ImageSource< TImageType >.
|
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.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::BoxImageFilter< TImageType, TImageType >.
|
virtual |
Set/Get whether an optimized lookup table for the intensity mapping function is used. Default is off.
|
static |
Method for creation through the object factory.
Reimplemented from itk::BoxImageFilter< TImageType, TImageType >.
|
private |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::BoxImageFilter< TImageType, TImageType >.
|
protectedvirtual |
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::BoxImageFilter< TImageType, TImageType >.
|
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.
|
virtual |
Set/Get whether an optimized lookup table for the intensity mapping function is used. Default is off.
|
virtual |
Set/Get whether an optimized lookup table for the intensity mapping function is used. Default is off.
|
virtual |
Set/Get whether an optimized lookup table for the intensity mapping function is used. Default is off.
|
static |
Image related typedefs.
Reimplemented from itk::BoxImageFilter< TImageType, TImageType >.
Definition at line 80 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
private |
The beta parameter of the AdaptiveHistogramEqualization.
Definition at line 138 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
private |
The alpha parameter of the AdaptiveHistogramEqualization.
Definition at line 141 of file itkAdaptiveHistogramEqualizationImageFilter.h.
|
private |
Should we use a lookup table to optimize the use of the intensity mapping function?
Definition at line 145 of file itkAdaptiveHistogramEqualizationImageFilter.h.