OTB
9.0.0
Orfeo Toolbox
|
#include <otbLineRatioDetectorImageFilter.h>
typedef LineRatioDetectorImageFilter | Self |
typedef LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator > | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImageType | InputImageType |
typedef Superclass::OutputImageType | OutputImageType |
typedef Superclass::OutputImageDirectionType | OutputImageDirectionType |
typedef Superclass::InterpolatorType | InterpolatorType |
typedef InterpolatorType::Pointer | InterpolatorPointer |
typedef InterpolatorType::CoordRepType | CoordRepType |
typedef InputImageType::PointType | TPoint |
typedef InputImageType::PixelType | InputPixelType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef InputImageType::RegionType | InputImageRegionType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef InputImageType::SizeType | SizeType |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
static Pointer | New () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
LineRatioDetectorImageFilter () | |
~LineRatioDetectorImageFilter () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
double | ComputeMeasure (std::vector< double > *m1, std::vector< double > *m2, std::vector< double > *m3) override |
LineRatioDetectorImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Application of detection of linear features based on the ratio of local means.
This class implements the Tupin's detector D1 used to detect two parallel lines. This detector is derived from the coupling of two ratio edge detectors (Touzi detector) on both side of a region.
The region is divided in three zones to delimite two parallel lines. The size of one zone is defined by the product of the width of the linear feature by its length.
For each vertical line, we calculate the intensity of detection between zones 1 and 2 and between zones 1 and 3 according to the principle of the Touzi's filter.
The response of the edge detector between two zones i and j is:
The intensity of detection in the three other directions is determined by rotation of the pixels of each zone around the central pixel of the region considered. By default, the pixel location after rotation is determined by the Spline interpolator.
Finally, the intensity of detection formed by the two parallel lines is determined by the minimum response of a ration edge detector on both sides of the linear structure:
where and are the maximum response of the ratio edge detector of . The intensity of detection lies in the interval .
Definition at line 67 of file otbLineRatioDetectorImageFilter.h.
typedef itk::SmartPointer<const Self> otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::ConstPointer |
typedef for the classes standards.
Definition at line 79 of file otbLineRatioDetectorImageFilter.h.
typedef InterpolatorType::CoordRepType otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::CoordRepType |
typedef for the classes standards.
Definition at line 94 of file otbLineRatioDetectorImageFilter.h.
typedef InputImageType::RegionType otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::InputImageRegionType |
typedef for the classes standards.
Definition at line 102 of file otbLineRatioDetectorImageFilter.h.
typedef Superclass::InputImageType otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::InputImageType |
typedef for the classes standards.
Definition at line 85 of file otbLineRatioDetectorImageFilter.h.
typedef InputImageType::PixelType otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::InputPixelType |
Definition of the input and output images
Definition at line 99 of file otbLineRatioDetectorImageFilter.h.
typedef InterpolatorType::Pointer otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::InterpolatorPointer |
Typedefs to describe and access Interpolator
Definition at line 93 of file otbLineRatioDetectorImageFilter.h.
typedef Superclass::InterpolatorType otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::InterpolatorType |
typedef for the classes standards.
Definition at line 90 of file otbLineRatioDetectorImageFilter.h.
typedef Superclass::OutputImageDirectionType otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::OutputImageDirectionType |
typedef for the classes standards.
Definition at line 89 of file otbLineRatioDetectorImageFilter.h.
typedef OutputImageType::RegionType otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::OutputImageRegionType |
typedef for the classes standards.
Definition at line 103 of file otbLineRatioDetectorImageFilter.h.
typedef Superclass::OutputImageType otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::OutputImageType |
typedef for the classes standards.
Definition at line 88 of file otbLineRatioDetectorImageFilter.h.
typedef OutputImageType::PixelType otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::OutputPixelType |
typedef for the classes standards.
Definition at line 100 of file otbLineRatioDetectorImageFilter.h.
typedef itk::SmartPointer<Self> otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::Pointer |
typedef for the classes standards.
Definition at line 78 of file otbLineRatioDetectorImageFilter.h.
typedef LineRatioDetectorImageFilter otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::Self |
typedef for the classes standards.
Definition at line 76 of file otbLineRatioDetectorImageFilter.h.
typedef InputImageType::SizeType otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::SizeType |
Definition of the size of the images.
Definition at line 106 of file otbLineRatioDetectorImageFilter.h.
typedef LineDetectorImageFilterBase<TInputImage, TOutputImage, TOutputImageDirection, TInterpolator> otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::Superclass |
typedef for the classes standards.
Definition at line 77 of file otbLineRatioDetectorImageFilter.h.
typedef InputImageType::PointType otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::TPoint |
typedef for the classes standards.
Definition at line 96 of file otbLineRatioDetectorImageFilter.h.
|
protected |
typedef for the classes standards.
Definition at line 42 of file otbLineRatioDetectorImageFilter.hxx.
|
inlineoverrideprotected |
typedef for the classes standards.
Definition at line 110 of file otbLineRatioDetectorImageFilter.h.
|
privatedelete |
typedef for the classes standards.
|
overrideprotectedvirtual |
typedef for the classes standards.
Reimplemented from otb::LineDetectorImageFilterBase< TInputImage, TOutputImage, TOutputImage, itk::LinearInterpolateImageFunction< TInputImage > >.
Definition at line 52 of file otbLineRatioDetectorImageFilter.hxx.
virtual::itk::LightObject::Pointer otb::LineRatioDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection, TInterpolator >::CreateAnother | ( | void | ) | const |
typedef for the classes standards.
|
virtual |
Return the name of the class.
|
static |
Method for management of the "object factory".
|
privatedelete |
typedef for the classes standards.
|
overrideprotected |
Standard "PrintSelf" method
Definition at line 113 of file otbLineRatioDetectorImageFilter.hxx.
|
static |
Extract dimensions as well of the images of entry of exit.
Definition at line 71 of file otbLineRatioDetectorImageFilter.h.
|
static |
typedef for the classes standards.
Definition at line 72 of file otbLineRatioDetectorImageFilter.h.