OTB
9.0.0
Orfeo Toolbox
|
#include <otbMultiDisparityMapTo3DFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef OutputImageType::PixelType | DEMPixelType |
typedef TDisparityImage | DisparityMapType |
typedef std::map< unsigned int, itk::ImageRegionConstIterator< DisparityMapType > > | DispMapIteratorList |
typedef PointSetType::PointDataContainer | LabelContainer |
typedef TMaskImage | MaskImageType |
typedef std::map< unsigned int, itk::ImageRegionConstIterator< MaskImageType > > | MaskIteratorList |
typedef otb::LineOfSightOptimizer< PrecisionType > | OptimizerType |
typedef TOutputImage | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef PointSetType::PointsContainer | PointsContainer |
typedef OptimizerType::PointSetType | PointSetType |
typedef double | PrecisionType |
typedef OutputImageType::RegionType | RegionType |
typedef TResidueImage | ResidueImageType |
typedef otb::GenericRSTransform< PrecisionType, 3, 3 > | RSTransformType |
typedef MultiDisparityMapTo3DFilter | Self |
typedef itk::ImageToImageFilter< TDisparityImage, TOutputImage > | Superclass |
typedef RSTransformType::InputPointType | TDPointType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
unsigned int | GetNumberOfMovingImages () |
void | SetDisparityMaskInput (unsigned int index, const TMaskImage *mask) |
void | SetHorizontalDisparityMapInput (unsigned int index, const TDisparityImage *hmap) |
void | SetNumberOfMovingImages (unsigned int nb) |
void | SetVerticalDisparityMapInput (unsigned int index, const TDisparityImage *vmap) |
Static Public Member Functions | |
static Pointer | New () |
const ImageMetadata * | m_ReferenceImageMetadata = nullptr |
std::vector< const ImageMetadata * > | m_MovingImageMetadatas |
const TDisparityImage * | GetHorizontalDisparityMapInput (unsigned int index) const |
const TDisparityImage * | GetVerticalDisparityMapInput (unsigned int index) const |
const TMaskImage * | GetDisparityMaskInput (unsigned int index) const |
const TResidueImage * | GetResidueOutput () const |
TResidueImage * | GetResidueOutput () |
void | SetReferenceImageMetadata (const ImageMetadata *imd) |
const ImageMetadata * | GetReferenceImageMetadata () const |
void | SetMovingImageMetadata (unsigned int index, const ImageMetadata *imd) |
const ImageMetadata * | GetMovingImageMetadata (unsigned int index) const |
MultiDisparityMapTo3DFilter () | |
~MultiDisparityMapTo3DFilter () override | |
void | GenerateOutputInformation () override |
void | GenerateInputRequestedRegion () override |
void | ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
MultiDisparityMapTo3DFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Project a group of disparity map into 3D points.
This filter uses a group of N horizontal disparity map (and vertical if any) to project 3D points. The output image contains the 3D points coordinates for each location of input disparity. The 3D positions are compute by a least square optimisation between the N lines of sight. The 3D coordinates (sorted by band) are : longitude , latitude (in degree, wrt WGS84) and altitude (in meters) BEWARE : this filter is not fully compatible with the filters using the epipolar geometry. The N disparity maps shall come from the matching of a single 'reference' sensor image versus N 'moving' sensor images. In addition, the disparities shall be computed in physical space (not in index space) N disparity masks can be provided for each disparity map.
Definition at line 60 of file otbMultiDisparityMapTo3DFilter.h.
typedef itk::SmartPointer<const Self> otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::ConstPointer |
Definition at line 67 of file otbMultiDisparityMapTo3DFilter.h.
typedef OutputImageType::PixelType otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::DEMPixelType |
Definition at line 82 of file otbMultiDisparityMapTo3DFilter.h.
typedef TDisparityImage otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::DisparityMapType |
Useful typedefs
Definition at line 73 of file otbMultiDisparityMapTo3DFilter.h.
typedef std::map<unsigned int, itk::ImageRegionConstIterator<DisparityMapType> > otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::DispMapIteratorList |
Definition at line 97 of file otbMultiDisparityMapTo3DFilter.h.
typedef PointSetType::PointDataContainer otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::LabelContainer |
Definition at line 95 of file otbMultiDisparityMapTo3DFilter.h.
typedef TMaskImage otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::MaskImageType |
Definition at line 78 of file otbMultiDisparityMapTo3DFilter.h.
typedef std::map<unsigned int, itk::ImageRegionConstIterator<MaskImageType> > otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::MaskIteratorList |
Definition at line 99 of file otbMultiDisparityMapTo3DFilter.h.
typedef otb::LineOfSightOptimizer<PrecisionType> otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::OptimizerType |
Definition at line 92 of file otbMultiDisparityMapTo3DFilter.h.
typedef TOutputImage otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::OutputImageType |
Definition at line 77 of file otbMultiDisparityMapTo3DFilter.h.
typedef itk::SmartPointer<Self> otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::Pointer |
Definition at line 66 of file otbMultiDisparityMapTo3DFilter.h.
typedef PointSetType::PointsContainer otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::PointsContainer |
Definition at line 94 of file otbMultiDisparityMapTo3DFilter.h.
typedef OptimizerType::PointSetType otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::PointSetType |
Definition at line 93 of file otbMultiDisparityMapTo3DFilter.h.
typedef double otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::PrecisionType |
Definition at line 86 of file otbMultiDisparityMapTo3DFilter.h.
typedef OutputImageType::RegionType otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::RegionType |
Definition at line 81 of file otbMultiDisparityMapTo3DFilter.h.
typedef TResidueImage otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::ResidueImageType |
Definition at line 79 of file otbMultiDisparityMapTo3DFilter.h.
typedef otb::GenericRSTransform<PrecisionType, 3, 3> otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::RSTransformType |
Definition at line 87 of file otbMultiDisparityMapTo3DFilter.h.
typedef MultiDisparityMapTo3DFilter otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::Self |
Standard class typedef
Definition at line 64 of file otbMultiDisparityMapTo3DFilter.h.
typedef itk::ImageToImageFilter<TDisparityImage, TOutputImage> otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::Superclass |
Definition at line 65 of file otbMultiDisparityMapTo3DFilter.h.
typedef RSTransformType::InputPointType otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::TDPointType |
Definition at line 90 of file otbMultiDisparityMapTo3DFilter.h.
|
protected |
Constructor
Definition at line 32 of file otbMultiDisparityMapTo3DFilter.hxx.
|
overrideprotected |
Destructor
Definition at line 46 of file otbMultiDisparityMapTo3DFilter.hxx.
|
privatedelete |
ImageMetadata of reference sensor image
virtual::itk::LightObject::Pointer otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Generate input requested region
Definition at line 208 of file otbMultiDisparityMapTo3DFilter.hxx.
|
overrideprotected |
Generate output information
Definition at line 167 of file otbMultiDisparityMapTo3DFilter.hxx.
const TMaskImage * otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::GetDisparityMaskInput | ( | unsigned int | index | ) | const |
ImageMetadata of reference sensor image
Definition at line 124 of file otbMultiDisparityMapTo3DFilter.hxx.
const TDisparityImage * otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::GetHorizontalDisparityMapInput | ( | unsigned int | index | ) | const |
Get the inputs
Definition at line 103 of file otbMultiDisparityMapTo3DFilter.hxx.
const ImageMetadata * otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::GetMovingImageMetadata | ( | unsigned int | index | ) | const |
Get ImageMetadata of the moving image 'index'
Definition at line 157 of file otbMultiDisparityMapTo3DFilter.hxx.
|
virtual |
Run-time type information (and related methods).
unsigned int otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::GetNumberOfMovingImages |
Get the number of moving images (referred earlier as N)
Definition at line 61 of file otbMultiDisparityMapTo3DFilter.hxx.
|
inline |
Get ImageMetadata of the reference image
Definition at line 138 of file otbMultiDisparityMapTo3DFilter.h.
TResidueImage* otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::GetResidueOutput | ( | ) |
ImageMetadata of reference sensor image
TResidueImage * otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::GetResidueOutput |
Get residue output
Definition at line 134 of file otbMultiDisparityMapTo3DFilter.hxx.
const TDisparityImage * otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::GetVerticalDisparityMapInput | ( | unsigned int | index | ) | const |
ImageMetadata of reference sensor image
Definition at line 114 of file otbMultiDisparityMapTo3DFilter.hxx.
|
static |
Method for creation through the object factory.
|
privatedelete |
ImageMetadata of reference sensor image
void otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::SetDisparityMaskInput | ( | unsigned int | index, |
const TMaskImage * | mask | ||
) |
Set mask associated to disparity maps corresponding to the moving image 'index' (optional, pixels with a null mask value are ignored)
Definition at line 91 of file otbMultiDisparityMapTo3DFilter.hxx.
void otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::SetHorizontalDisparityMapInput | ( | unsigned int | index, |
const TDisparityImage * | hmap | ||
) |
Set horizontal disparity map input corresponding to the moving image 'index'
Definition at line 67 of file otbMultiDisparityMapTo3DFilter.hxx.
void otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::SetMovingImageMetadata | ( | unsigned int | index, |
const ImageMetadata * | imd | ||
) |
Set ImageMetadata of the moving image 'index'
Definition at line 146 of file otbMultiDisparityMapTo3DFilter.hxx.
void otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::SetNumberOfMovingImages | ( | unsigned int | nb | ) |
Set the number of moving images (referred earlier as N)
Definition at line 51 of file otbMultiDisparityMapTo3DFilter.hxx.
|
inline |
Set ImageMetadata of the reference image
Definition at line 130 of file otbMultiDisparityMapTo3DFilter.h.
void otb::MultiDisparityMapTo3DFilter< TDisparityImage, TOutputImage, TMaskImage, TResidueImage >::SetVerticalDisparityMapInput | ( | unsigned int | index, |
const TDisparityImage * | vmap | ||
) |
Set vertical disparity map input corresponding to the moving image 'index'
Definition at line 79 of file otbMultiDisparityMapTo3DFilter.hxx.
|
overrideprotected |
Threaded generate data
Moving sensor image transforms
Definition at line 281 of file otbMultiDisparityMapTo3DFilter.hxx.
|
private |
ImageMetadata of moving sensor images
Definition at line 173 of file otbMultiDisparityMapTo3DFilter.h.
|
private |
ImageMetadata of reference sensor image
Definition at line 170 of file otbMultiDisparityMapTo3DFilter.h.