OTB
9.0.0
Orfeo Toolbox
|
#include <otbSpectralAngleDistanceImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointerType |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef InputImageType::PixelType | InputPixelType |
typedef OutputImageType::Pointer | OutputImagePointerType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef itk::SmartPointer< Self > | Pointer |
typedef SpectralAngleDistanceImageFilter | Self |
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
InputPixelType | m_ReferencePixel |
virtual const InputPixelType & | GetReferencePixel () const |
virtual void | SetReferencePixel (InputPixelType _arg) |
SpectralAngleDistanceImageFilter () | |
~SpectralAngleDistanceImageFilter () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
void | BeforeThreadedGenerateData () override |
SpectralAngleDistanceImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
This filter implements the computation of the spectral angle distance with respect to a reference pixel.
Spectral angle distance is an efficient way to convert spectral information to scalar data with respect to a reference pixel. The spectral angle distance is defined as:
with being the spectral band, the reference pixel and the current pixel.
Since the spectral angle deals with multi-bands image, the InputImage pixels are supposed to support the [] operator, and the input image to support the GetNumberOfComponentsPerPixel() method.
This filter is implemented as a multithreaded filter.
Definition at line 55 of file otbSpectralAngleDistanceImageFilter.h.
typedef itk::SmartPointer<const Self> otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 62 of file otbSpectralAngleDistanceImageFilter.h.
typedef InputImageType::ConstPointer otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::InputImageConstPointerType |
Definition at line 72 of file otbSpectralAngleDistanceImageFilter.h.
typedef InputImageType::RegionType otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 73 of file otbSpectralAngleDistanceImageFilter.h.
typedef TInputImage otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::InputImageType |
Template parameters typedefs
Definition at line 68 of file otbSpectralAngleDistanceImageFilter.h.
typedef InputImageType::PixelType otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::InputPixelType |
Definition at line 74 of file otbSpectralAngleDistanceImageFilter.h.
typedef OutputImageType::Pointer otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::OutputImagePointerType |
Definition at line 76 of file otbSpectralAngleDistanceImageFilter.h.
typedef OutputImageType::RegionType otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 77 of file otbSpectralAngleDistanceImageFilter.h.
typedef TOutputImage otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 75 of file otbSpectralAngleDistanceImageFilter.h.
typedef OutputImageType::PixelType otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Definition at line 78 of file otbSpectralAngleDistanceImageFilter.h.
typedef itk::SmartPointer<Self> otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 61 of file otbSpectralAngleDistanceImageFilter.h.
typedef SpectralAngleDistanceImageFilter otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::Self |
Standard typedefs
Definition at line 59 of file otbSpectralAngleDistanceImageFilter.h.
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 60 of file otbSpectralAngleDistanceImageFilter.h.
|
protected |
Constructor
|
inlineoverrideprotected |
Destructor
Definition at line 90 of file otbSpectralAngleDistanceImageFilter.h.
|
privatedelete |
The reference pixel
|
overrideprotected |
The reference pixel
virtual::itk::LightObject::Pointer otb::SpectralAngleDistanceImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const |
|
virtual |
Creation through object factory macro
|
virtual |
Get/Set the reference pixel
|
static |
Type macro
|
privatedelete |
The reference pixel
|
overrideprotected |
PrintSelf method
|
virtual |
The reference pixel
|
overrideprotected |
SpectralAngleDistanceImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
|
private |
The reference pixel
Definition at line 116 of file otbSpectralAngleDistanceImageFilter.h.