OTB
9.0.0
Orfeo Toolbox
|
#include <otbContinuousMinimumMaximumImageCalculator.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef TInputImage::PointType | ContinuousIndexType |
typedef TInputImage::ConstPointer | ImageConstPointer |
typedef TInputImage::Pointer | ImagePointer |
typedef TInputImage | ImageType |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage::PixelType | PixelType |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::NumericTraits< PixelType >::RealType | RealPixelType |
typedef TInputImage::RegionType | RegionType |
typedef ContinuousMinimumMaximumImageCalculator | Self |
typedef itk::Object | Superclass |
Public Member Functions | |
void | Compute (void) |
void | ComputeMaximum (void) |
void | ComputeMinimum (void) |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const ContinuousIndexType & | GetContinuousIndexOfMaximum () const |
virtual const ContinuousIndexType & | GetContinuousIndexOfMinimum () const |
virtual const IndexType & | GetIndexOfMaximum () const |
virtual const IndexType & | GetIndexOfMinimum () const |
virtual PixelType | GetMaximum () |
virtual PixelType | GetMinimum () |
virtual const char * | GetNameOfClass () const |
virtual void | SetImage (const ImageType *_arg) |
void | SetRegion (const RegionType ®ion) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
ContinuousMinimumMaximumImageCalculator () | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
~ContinuousMinimumMaximumImageCalculator () override=default | |
Private Member Functions | |
ContinuousMinimumMaximumImageCalculator (const Self &)=delete | |
void | operator= (const Self &)=delete |
Compute the continuous maximum and the minimum of an image.
To compute the continuous maximum and the minimum of an image, this class uses a simple polynomial interpolation.
First traditional discrete maximum and minimum are found. Then a second order polynomial is fitted between these extrema and their neighboring pixels.
The continuous extrema is assumed to be at the zero of the first order derivative of this polynom.
If we denote the extrema and and its neighbor, the second degree polynom verify the following equations:
The maximum is at with is
Remark: image is assumed to be 2 dimensionnal
Definition at line 65 of file otbContinuousMinimumMaximumImageCalculator.h.
typedef itk::SmartPointer<const Self> otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ConstPointer |
Definition at line 72 of file otbContinuousMinimumMaximumImageCalculator.h.
typedef TInputImage::PointType otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ContinuousIndexType |
Type definition for the input image index type.
Definition at line 99 of file otbContinuousMinimumMaximumImageCalculator.h.
typedef TInputImage::ConstPointer otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ImageConstPointer |
Const Pointer type for the image.
Definition at line 87 of file otbContinuousMinimumMaximumImageCalculator.h.
typedef TInputImage::Pointer otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ImagePointer |
Pointer type for the image.
Definition at line 84 of file otbContinuousMinimumMaximumImageCalculator.h.
typedef TInputImage otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ImageType |
Type definition for the input image.
Definition at line 78 of file otbContinuousMinimumMaximumImageCalculator.h.
typedef TInputImage::IndexType otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::IndexType |
Type definition for the input image index type.
Definition at line 96 of file otbContinuousMinimumMaximumImageCalculator.h.
typedef TInputImage::PixelType otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::PixelType |
Type definition for the input image pixel type.
Definition at line 90 of file otbContinuousMinimumMaximumImageCalculator.h.
typedef itk::SmartPointer<Self> otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::Pointer |
Definition at line 71 of file otbContinuousMinimumMaximumImageCalculator.h.
typedef itk::NumericTraits<PixelType>::RealType otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::RealPixelType |
Type definition for the input image real pixel type.
Definition at line 93 of file otbContinuousMinimumMaximumImageCalculator.h.
typedef TInputImage::RegionType otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::RegionType |
Type definition for the input image region type.
Definition at line 102 of file otbContinuousMinimumMaximumImageCalculator.h.
typedef ContinuousMinimumMaximumImageCalculator otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::Self |
Standard class typedefs.
Definition at line 69 of file otbContinuousMinimumMaximumImageCalculator.h.
typedef itk::Object otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::Superclass |
Definition at line 70 of file otbContinuousMinimumMaximumImageCalculator.h.
|
protected |
|
overrideprotecteddefault |
|
privatedelete |
void otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::Compute | ( | void | ) |
Compute the minimum and maximum values of intensity of the input image.
Definition at line 50 of file otbContinuousMinimumMaximumImageCalculator.hxx.
void otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ComputeMaximum | ( | void | ) |
Compute the maximum value of intensity of the input image.
Definition at line 196 of file otbContinuousMinimumMaximumImageCalculator.hxx.
void otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ComputeMinimum | ( | void | ) |
Compute the minimum value of intensity of the input image.
Definition at line 142 of file otbContinuousMinimumMaximumImageCalculator.hxx.
virtual::itk::LightObject::Pointer otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::CreateAnother | ( | void | ) | const |
|
virtual |
Return the index of the maximum intensity value.
|
virtual |
Return the index of the minimum intensity value.
|
virtual |
Return the index of the maximum intensity value.
|
virtual |
Return the index of the minimum intensity value.
|
virtual |
Return the maximum intensity value.
|
virtual |
Return the minimum intensity value.
|
virtual |
Run-time type information (and related methods).
|
static |
Method for creation through the object factory.
|
privatedelete |
|
overrideprotected |
Definition at line 266 of file otbContinuousMinimumMaximumImageCalculator.hxx.
|
virtual |
Set the input image.
void otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::SetRegion | ( | const RegionType & | region | ) |
Set the region over which the values will be computed
Definition at line 259 of file otbContinuousMinimumMaximumImageCalculator.hxx.
|
protected |
Definition at line 145 of file otbContinuousMinimumMaximumImageCalculator.h.
|
protected |
Definition at line 150 of file otbContinuousMinimumMaximumImageCalculator.h.
|
protected |
Definition at line 149 of file otbContinuousMinimumMaximumImageCalculator.h.
|
protected |
Definition at line 151 of file otbContinuousMinimumMaximumImageCalculator.h.
|
protected |
Definition at line 148 of file otbContinuousMinimumMaximumImageCalculator.h.
Referenced by otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ContinuousMinimumMaximumImageCalculator().
|
protected |
Definition at line 147 of file otbContinuousMinimumMaximumImageCalculator.h.
Referenced by otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::ContinuousMinimumMaximumImageCalculator().
|
protected |
Definition at line 144 of file otbContinuousMinimumMaximumImageCalculator.h.
|
protected |
Definition at line 143 of file otbContinuousMinimumMaximumImageCalculator.h.
|
protected |
Definition at line 153 of file otbContinuousMinimumMaximumImageCalculator.h.
|
protected |
Definition at line 154 of file otbContinuousMinimumMaximumImageCalculator.h.