![]() |
OTB
9.1.1
Orfeo Toolbox
|
#include <otbDisparityMapToDEMFilter.h>
Inheritance diagram for otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >:
Collaboration diagram for otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >:Public Types | |
| typedef itk::SmartPointer< const Self > | ConstPointer |
| typedef TOutputDEMImage | DEMImageType |
| typedef DEMImageType::PixelType | DEMPixelType |
| typedef TDisparityImage | DisparityMapType |
| typedef TEpipolarGridImage | GridImageType |
| typedef TMaskImage | MaskImageType |
| typedef itk::SmartPointer< Self > | Pointer |
| typedef DEMImageType::RegionType | RegionType |
| typedef otb::GenericRSTransform< double, 3, 3 > | RSTransformType |
| typedef DisparityMapToDEMFilter | Self |
| typedef TInputImage | SensorImageType |
| typedef itk::ImageRegionSplitter< 2 > | SplitterType |
| typedef itk::ImageToImageFilter< TDisparityImage, TOutputDEMImage > | Superclass |
| typedef RSTransformType::InputPointType | TDPointType |
Public Member Functions | |
| virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
| virtual const char * | GetNameOfClass () const |
| void | SetDisparityMaskInput (const TMaskImage *mask) |
| void | SetHorizontalDisparityMapInput (const TDisparityImage *hmap) |
| void | SetLeftEpipolarGridInput (const TEpipolarGridImage *grid) |
| void | SetLeftInput (const TInputImage *image) |
| void | SetRightEpipolarGridInput (const TEpipolarGridImage *grid) |
| void | SetRightInput (const TInputImage *image) |
| void | SetVerticalDisparityMapInput (const TDisparityImage *vmap) |
Static Public Member Functions | |
| static Pointer | New () |
| double | m_ElevationMin |
| double | m_ElevationMax |
| double | m_DEMGridStep |
| SplitterType::Pointer | m_InputSplitter |
| unsigned int | m_UsedInputSplits |
| std::vector< typename DEMImageType::Pointer > | m_TempDEMRegions |
| RSTransformType::Pointer | m_LeftToGroundTransform |
| RSTransformType::Pointer | m_RightToGroundTransform |
| const TDisparityImage * | GetHorizontalDisparityMapInput () const |
| const TDisparityImage * | GetVerticalDisparityMapInput () const |
| const TInputImage * | GetLeftInput () const |
| const TInputImage * | GetRightInput () const |
| const TEpipolarGridImage * | GetLeftEpipolarGridInput () const |
| const TEpipolarGridImage * | GetRightEpipolarGridInput () const |
| const TMaskImage * | GetDisparityMaskInput () const |
| const TOutputDEMImage * | GetDEMOutput () const |
| TOutputDEMImage * | GetDEMOutput () |
| virtual void | SetElevationMin (double _arg) |
| virtual const double & | GetElevationMin () const |
| virtual void | SetElevationMax (double _arg) |
| virtual const double & | GetElevationMax () const |
| virtual void | SetDEMGridStep (double _arg) |
| virtual const double & | GetDEMGridStep () const |
| DisparityMapToDEMFilter () | |
| ~DisparityMapToDEMFilter () override | |
| void | GenerateOutputInformation () override |
| void | GenerateInputRequestedRegion () override |
| void | BeforeThreadedGenerateData () override |
| void | ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
| void | AfterThreadedGenerateData () override |
| void | VerifyInputInformation () override |
| DisparityMapToDEMFilter (const Self &)=delete | |
| void | operator= (const Self &)=delete |
Project an input disparity map into a regular DEM.
This filter uses an input disparity map (horizontal and vertical) to produce a DEM with a regular sampling in the chosen map projection system. The elevation is computed from the triangulation of the "left-right" pairs of pixels matched. When several elevations are possible on a DEM cell, the highest is kept. Note : disparity maps and DEM are expected to be of scalar image type.
The inputs are:
The outputs are:
Definition at line 64 of file otbDisparityMapToDEMFilter.h.
| typedef itk::SmartPointer<const Self> otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::ConstPointer |
Definition at line 71 of file otbDisparityMapToDEMFilter.h.
| typedef TOutputDEMImage otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::DEMImageType |
Definition at line 82 of file otbDisparityMapToDEMFilter.h.
| typedef DEMImageType::PixelType otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::DEMPixelType |
Definition at line 87 of file otbDisparityMapToDEMFilter.h.
| typedef TDisparityImage otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::DisparityMapType |
Useful typedefs
Definition at line 77 of file otbDisparityMapToDEMFilter.h.
| typedef TEpipolarGridImage otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GridImageType |
Definition at line 83 of file otbDisparityMapToDEMFilter.h.
| typedef TMaskImage otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::MaskImageType |
Definition at line 84 of file otbDisparityMapToDEMFilter.h.
| typedef itk::SmartPointer<Self> otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::Pointer |
Definition at line 70 of file otbDisparityMapToDEMFilter.h.
| typedef DEMImageType::RegionType otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::RegionType |
Definition at line 86 of file otbDisparityMapToDEMFilter.h.
| typedef otb::GenericRSTransform<double, 3, 3> otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::RSTransformType |
Definition at line 93 of file otbDisparityMapToDEMFilter.h.
| typedef DisparityMapToDEMFilter otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::Self |
Standard class typedef
Definition at line 68 of file otbDisparityMapToDEMFilter.h.
| typedef TInputImage otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SensorImageType |
Definition at line 81 of file otbDisparityMapToDEMFilter.h.
| typedef itk::ImageRegionSplitter<2> otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SplitterType |
Definition at line 89 of file otbDisparityMapToDEMFilter.h.
| typedef itk::ImageToImageFilter<TDisparityImage, TOutputDEMImage> otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::Superclass |
Definition at line 69 of file otbDisparityMapToDEMFilter.h.
| typedef RSTransformType::InputPointType otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::TDPointType |
Definition at line 97 of file otbDisparityMapToDEMFilter.h.
|
protected |
Constructor
Definition at line 32 of file otbDisparityMapToDEMFilter.hxx.
|
overrideprotected |
Destructor
Definition at line 52 of file otbDisparityMapToDEMFilter.hxx.
|
privatedelete |
Minimum elevation of the DEM in meters
|
overrideprotected |
After threaded generate data : sum up temporary DEMs
Definition at line 880 of file otbDisparityMapToDEMFilter.hxx.
|
overrideprotected |
Before threaded generate data
Definition at line 579 of file otbDisparityMapToDEMFilter.hxx.
| virtual::itk::LightObject::Pointer otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Generate input requested region
Definition at line 316 of file otbDisparityMapToDEMFilter.hxx.
|
overrideprotected |
Generate output information
Definition at line 204 of file otbDisparityMapToDEMFilter.hxx.
|
virtual |
Minimum elevation of the DEM in meters
| TOutputDEMImage* otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetDEMOutput | ( | ) |
Minimum elevation of the DEM in meters
| TOutputDEMImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetDEMOutput |
Get DEM output
Definition at line 184 of file otbDisparityMapToDEMFilter.hxx.
| const TMaskImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetDisparityMaskInput |
Minimum elevation of the DEM in meters
Definition at line 174 of file otbDisparityMapToDEMFilter.hxx.
|
virtual |
Minimum elevation of the DEM in meters
|
virtual |
Minimum elevation of the DEM in meters
| const TDisparityImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetHorizontalDisparityMapInput |
Get the inputs
Definition at line 111 of file otbDisparityMapToDEMFilter.hxx.
| const TEpipolarGridImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetLeftEpipolarGridInput |
Minimum elevation of the DEM in meters
Definition at line 153 of file otbDisparityMapToDEMFilter.hxx.
| const TInputImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetLeftInput |
Minimum elevation of the DEM in meters
Definition at line 132 of file otbDisparityMapToDEMFilter.hxx.
|
virtual |
Run-time type information (and related methods).
| const TEpipolarGridImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetRightEpipolarGridInput |
Minimum elevation of the DEM in meters
Definition at line 164 of file otbDisparityMapToDEMFilter.hxx.
| const TInputImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetRightInput |
Minimum elevation of the DEM in meters
Definition at line 142 of file otbDisparityMapToDEMFilter.hxx.
| const TDisparityImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetVerticalDisparityMapInput |
Minimum elevation of the DEM in meters
Definition at line 122 of file otbDisparityMapToDEMFilter.hxx.
|
static |
Method for creation through the object factory.
|
privatedelete |
Minimum elevation of the DEM in meters
|
virtual |
Set/Get macro for DEM grid step
| void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetDisparityMaskInput | ( | const TMaskImage * | mask | ) |
Set mask associated to disparity maps (optional, pixels with a null mask value are ignored)
Definition at line 103 of file otbDisparityMapToDEMFilter.hxx.
|
virtual |
Set/Get macro for maximum elevation
|
virtual |
Set/Get macro for minimum elevation
| void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetHorizontalDisparityMapInput | ( | const TDisparityImage * | hmap | ) |
Set horizontal disparity map input
Definition at line 57 of file otbDisparityMapToDEMFilter.hxx.
| void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetLeftEpipolarGridInput | ( | const TEpipolarGridImage * | grid | ) |
Set left epipolar grid (deformation grid from sensor image to epipolar space, regular in epipolar space)
Definition at line 87 of file otbDisparityMapToDEMFilter.hxx.
| void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetLeftInput | ( | const TInputImage * | image | ) |
Set left input
Definition at line 73 of file otbDisparityMapToDEMFilter.hxx.
| void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetRightEpipolarGridInput | ( | const TEpipolarGridImage * | grid | ) |
Set right epipolar grid (deformation grid from sensor image to epipolar space, regular in epipolar space)
Definition at line 95 of file otbDisparityMapToDEMFilter.hxx.
| void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetRightInput | ( | const TInputImage * | image | ) |
Set right input
Definition at line 80 of file otbDisparityMapToDEMFilter.hxx.
| void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetVerticalDisparityMapInput | ( | const TDisparityImage * | vmap | ) |
Set vertical disparity map input
Definition at line 65 of file otbDisparityMapToDEMFilter.hxx.
|
overrideprotected |
Threaded generate data
Definition at line 630 of file otbDisparityMapToDEMFilter.hxx.
|
inlineoverrideprotected |
Override VerifyInputInformation() since this filter's inputs do not need to occupy the same physical space.
Definition at line 177 of file otbDisparityMapToDEMFilter.h.
|
private |
DEM grid step (in meters)
Definition at line 193 of file otbDisparityMapToDEMFilter.h.
|
private |
Maximum elevation of the DEM in meters
Definition at line 190 of file otbDisparityMapToDEMFilter.h.
|
private |
Minimum elevation of the DEM in meters
Definition at line 187 of file otbDisparityMapToDEMFilter.h.
|
private |
Region splitter for input disparity maps
Definition at line 196 of file otbDisparityMapToDEMFilter.h.
|
private |
Left sensor image transform
Definition at line 205 of file otbDisparityMapToDEMFilter.h.
|
private |
Right sensor image transform
Definition at line 208 of file otbDisparityMapToDEMFilter.h.
|
private |
Temporary DEMs for mutlithreading
Definition at line 202 of file otbDisparityMapToDEMFilter.h.
|
private |
Number of splits used for input multithreading
Definition at line 199 of file otbDisparityMapToDEMFilter.h.
1.8.17