OTB
9.0.0
Orfeo Toolbox
|
#include <otbComputeGainLutFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef InputImageType::PixelType | HistoType |
typedef TInputImage | InputImageType |
typedef OutputImageType::PixelType | LutType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::InternalPixelType | OutputPixelType |
typedef itk::SmartPointer< Self > | Pointer |
typedef ComputeGainLutFilter | Self |
typedef itk::ImageToImageFilter< InputImageType, OutputImageType > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
double | m_Min |
double | m_Max |
double | m_Step |
unsigned int | m_NbBin |
unsigned long | m_NbPixel |
virtual void | SetNbPixel (unsigned long _arg) |
virtual unsigned long | GetNbPixel () |
virtual void | SetMin (double _arg) |
virtual double | GetMin () |
virtual void | SetMax (double _arg) |
virtual double | GetMax () |
ComputeGainLutFilter () | |
~ComputeGainLutFilter () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | BeforeThreadedGenerateData () override |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
ComputeGainLutFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
OutputPixelType | PostProcess (unsigned int countMapValue, unsigned int countValue) |
void | Equalized (const HistoType &inputHisto, HistoType &targetHisto, LutType &lut) |
void | CreateTarget (const HistoType &inputHisto, HistoType &targetHisto) |
bool | IsValid (const HistoType &inputHisto) |
Compute the gain for each pixel value from a histogram.
This class implements the second part of the CLAHE algorithm. It's aim is to compute a look up table filled with gain that need to be applied on the input to match the target histogram. To keep consistency with the other parts of the algorithm it needs the minimum and maximum value of the input image and also the theoretical number of pixel per histogram.
Definition at line 43 of file otbComputeGainLutFilter.h.
typedef itk::SmartPointer<const Self> otb::ComputeGainLutFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 54 of file otbComputeGainLutFilter.h.
typedef InputImageType::PixelType otb::ComputeGainLutFilter< TInputImage, TOutputImage >::HistoType |
Definition at line 56 of file otbComputeGainLutFilter.h.
typedef TInputImage otb::ComputeGainLutFilter< TInputImage, TOutputImage >::InputImageType |
typedef for standard classes.
Definition at line 48 of file otbComputeGainLutFilter.h.
typedef OutputImageType::PixelType otb::ComputeGainLutFilter< TInputImage, TOutputImage >::LutType |
Definition at line 57 of file otbComputeGainLutFilter.h.
typedef OutputImageType::RegionType otb::ComputeGainLutFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 59 of file otbComputeGainLutFilter.h.
typedef TOutputImage otb::ComputeGainLutFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 49 of file otbComputeGainLutFilter.h.
typedef OutputImageType::InternalPixelType otb::ComputeGainLutFilter< TInputImage, TOutputImage >::OutputPixelType |
Definition at line 58 of file otbComputeGainLutFilter.h.
typedef itk::SmartPointer<Self> otb::ComputeGainLutFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 53 of file otbComputeGainLutFilter.h.
typedef ComputeGainLutFilter otb::ComputeGainLutFilter< TInputImage, TOutputImage >::Self |
Definition at line 51 of file otbComputeGainLutFilter.h.
typedef itk::ImageToImageFilter<InputImageType, OutputImageType> otb::ComputeGainLutFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 52 of file otbComputeGainLutFilter.h.
|
protected |
Get/Set macro to get/set the number of pixel by histogram
Definition at line 34 of file otbComputeGainLutFilter.hxx.
|
inlineoverrideprotected |
Get/Set macro to get/set the number of pixel by histogram
Definition at line 84 of file otbComputeGainLutFilter.h.
|
privatedelete |
Get/Set macro to get/set the number of pixel by histogram
|
overrideprotected |
Get/Set macro to get/set the number of pixel by histogram
Definition at line 44 of file otbComputeGainLutFilter.hxx.
virtual::itk::LightObject::Pointer otb::ComputeGainLutFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const |
|
private |
Create target depending on the number of pixel in the input histogram
Definition at line 133 of file otbComputeGainLutFilter.hxx.
|
private |
Equalized input histogram regarding the target and filling the corresponding look up table
Definition at line 100 of file otbComputeGainLutFilter.hxx.
|
virtual |
Get/Set macro to get/set the number of pixel by histogram
|
virtual |
Get/Set macro to get/set the number of pixel by histogram
|
virtual |
Run-time type information (and related methods).
|
virtual |
Get/Set macro to get/set the number of pixel by histogram
|
private |
Check whether the input histogram has enough pixel to be meaningful
Definition at line 149 of file otbComputeGainLutFilter.hxx.
|
static |
Method for creation through the object factory.
|
privatedelete |
Get/Set macro to get/set the number of pixel by histogram
|
private |
Post-process the look up table to get a gain instead of a simple value
Definition at line 91 of file otbComputeGainLutFilter.hxx.
|
overrideprotected |
Standard "PrintSelf" method
Definition at line 159 of file otbComputeGainLutFilter.hxx.
|
virtual |
Get/Set macro to get/set the maximum value
|
virtual |
Get/Set macro to get/set the minimum value
|
virtual |
Get/Set macro to get/set the number of pixel by histogram
|
overrideprotected |
Get/Set macro to get/set the number of pixel by histogram
Definition at line 51 of file otbComputeGainLutFilter.hxx.
|
private |
Get/Set macro to get/set the number of pixel by histogram
Definition at line 112 of file otbComputeGainLutFilter.h.
|
private |
Get/Set macro to get/set the number of pixel by histogram
Definition at line 111 of file otbComputeGainLutFilter.h.
|
private |
Get/Set macro to get/set the number of pixel by histogram
Definition at line 114 of file otbComputeGainLutFilter.h.
|
private |
Get/Set macro to get/set the number of pixel by histogram
Definition at line 115 of file otbComputeGainLutFilter.h.
|
private |
Get/Set macro to get/set the number of pixel by histogram
Definition at line 113 of file otbComputeGainLutFilter.h.