OTB
9.0.0
Orfeo Toolbox
|
#include <otbBijectionCoherencyFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef TDisparityImage | DispMapType |
typedef DispMapType::IndexType | IndexType |
typedef DispMapType::RegionType | InputRegionType |
typedef TOutputImage | MaskType |
typedef MaskType::RegionType | OutputRegionType |
typedef itk::SmartPointer< Self > | Pointer |
typedef BijectionCoherencyFilter | Self |
typedef DispMapType::SizeType | SizeType |
typedef itk::ImageToImageFilter< TDisparityImage, TOutputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
void | SetDirectHorizontalDisparityMapInput (const TDisparityImage *hmap) |
void | SetDirectVerticalDisparityMapInput (const TDisparityImage *vmap) |
void | SetReverseHorizontalDisparityMapInput (const TDisparityImage *hmap) |
void | SetReverseVerticalDisparityMapInput (const TDisparityImage *vmap) |
Static Public Member Functions | |
static Pointer | New () |
double | m_Tolerance |
int | m_MinHDisp |
int | m_MaxHDisp |
int | m_MinVDisp |
int | m_MaxVDisp |
const TDisparityImage * | GetDirectHorizontalDisparityMapInput () const |
const TDisparityImage * | GetDirectVerticalDisparityMapInput () const |
const TDisparityImage * | GetReverseHorizontalDisparityMapInput () const |
const TDisparityImage * | GetReverseVerticalDisparityMapInput () const |
virtual void | SetTolerance (double _arg) |
virtual double | GetTolerance () |
virtual void | SetMinHDisp (int _arg) |
virtual int | GetMinHDisp () |
virtual void | SetMaxHDisp (int _arg) |
virtual int | GetMaxHDisp () |
virtual void | SetMinVDisp (int _arg) |
virtual int | GetMinVDisp () |
virtual void | SetMaxVDisp (int _arg) |
virtual int | GetMaxVDisp () |
BijectionCoherencyFilter () | |
~BijectionCoherencyFilter () override | |
void | GenerateOutputInformation () override |
void | GenerateInputRequestedRegion () override |
void | ThreadedGenerateData (const OutputRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
BijectionCoherencyFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Left-right coherency filter for disparity maps.
This filter checks that left-to-right and right-to-left disparities (computed for a given stereo pair) are compatible, within a given tolerance radius. Disparities are expected to be given in index coordinates between a pair of epipolar images of equal size. 1D or 2D disparities may be supplied. Left-to-right disparities will be referred as direct, right-to-left as reverse. The output is a mask for coherent direct disparities.
Definition at line 49 of file otbBijectionCoherencyFilter.h.
typedef itk::SmartPointer<const Self> otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::ConstPointer |
Definition at line 56 of file otbBijectionCoherencyFilter.h.
typedef TDisparityImage otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::DispMapType |
Useful typedefs
Definition at line 62 of file otbBijectionCoherencyFilter.h.
typedef DispMapType::IndexType otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::IndexType |
Definition at line 71 of file otbBijectionCoherencyFilter.h.
typedef DispMapType::RegionType otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::InputRegionType |
Definition at line 69 of file otbBijectionCoherencyFilter.h.
typedef TOutputImage otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::MaskType |
Definition at line 66 of file otbBijectionCoherencyFilter.h.
typedef MaskType::RegionType otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::OutputRegionType |
Definition at line 68 of file otbBijectionCoherencyFilter.h.
typedef itk::SmartPointer<Self> otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::Pointer |
Definition at line 55 of file otbBijectionCoherencyFilter.h.
typedef BijectionCoherencyFilter otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::Self |
Standard class typedef
Definition at line 53 of file otbBijectionCoherencyFilter.h.
typedef DispMapType::SizeType otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::SizeType |
Definition at line 70 of file otbBijectionCoherencyFilter.h.
typedef itk::ImageToImageFilter<TDisparityImage, TOutputImage> otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::Superclass |
Definition at line 54 of file otbBijectionCoherencyFilter.h.
|
protected |
Constructor
Definition at line 33 of file otbBijectionCoherencyFilter.hxx.
|
inlineoverrideprotected |
Destructor
Definition at line 117 of file otbBijectionCoherencyFilter.h.
|
privatedelete |
Tolerance radius (in pixels)
virtual::itk::LightObject::Pointer otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Generate input requested region
Definition at line 160 of file otbBijectionCoherencyFilter.hxx.
|
overrideprotected |
Generate output information
Definition at line 118 of file otbBijectionCoherencyFilter.hxx.
const TDisparityImage * otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::GetDirectHorizontalDisparityMapInput |
Get the inputs
Definition at line 78 of file otbBijectionCoherencyFilter.hxx.
const TDisparityImage * otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::GetDirectVerticalDisparityMapInput |
Tolerance radius (in pixels)
Definition at line 88 of file otbBijectionCoherencyFilter.hxx.
|
virtual |
Tolerance radius (in pixels)
|
virtual |
Tolerance radius (in pixels)
|
virtual |
Tolerance radius (in pixels)
|
virtual |
Tolerance radius (in pixels)
|
virtual |
Run-time type information (and related methods).
const TDisparityImage * otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::GetReverseHorizontalDisparityMapInput |
Tolerance radius (in pixels)
Definition at line 98 of file otbBijectionCoherencyFilter.hxx.
const TDisparityImage * otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::GetReverseVerticalDisparityMapInput |
Tolerance radius (in pixels)
Definition at line 108 of file otbBijectionCoherencyFilter.hxx.
|
virtual |
Get the tolerance radius
|
static |
Method for creation through the object factory.
|
privatedelete |
Tolerance radius (in pixels)
void otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::SetDirectHorizontalDisparityMapInput | ( | const TDisparityImage * | hmap | ) |
Set the direct horizontal disparity map
Definition at line 50 of file otbBijectionCoherencyFilter.hxx.
void otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::SetDirectVerticalDisparityMapInput | ( | const TDisparityImage * | vmap | ) |
Set the direct vertical disparity map
Definition at line 57 of file otbBijectionCoherencyFilter.hxx.
|
virtual |
Tolerance radius (in pixels)
|
virtual |
Tolerance radius (in pixels)
|
virtual |
Set/Get macro for exploration area
|
virtual |
Tolerance radius (in pixels)
void otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::SetReverseHorizontalDisparityMapInput | ( | const TDisparityImage * | hmap | ) |
Set the reverse horizontal disparity map
Definition at line 64 of file otbBijectionCoherencyFilter.hxx.
void otb::BijectionCoherencyFilter< TDisparityImage, TOutputImage >::SetReverseVerticalDisparityMapInput | ( | const TDisparityImage * | vmap | ) |
Set the reverse vertical disparity map
Definition at line 71 of file otbBijectionCoherencyFilter.hxx.
|
virtual |
Set the tolerance radius
|
overrideprotected |
Threaded generate data
Definition at line 200 of file otbBijectionCoherencyFilter.hxx.
|
private |
Maximum horizontal input disparity
Definition at line 139 of file otbBijectionCoherencyFilter.h.
|
private |
Maximum vertical input disparity
Definition at line 145 of file otbBijectionCoherencyFilter.h.
|
private |
Minimum horizontal input disparity
Definition at line 136 of file otbBijectionCoherencyFilter.h.
|
private |
Minimum vertical input disparity
Definition at line 142 of file otbBijectionCoherencyFilter.h.
|
private |
Tolerance radius (in pixels)
Definition at line 133 of file otbBijectionCoherencyFilter.h.