OTB
9.0.0
Orfeo Toolbox
|
#include <otbMulti3DMapToDEMFilter.h>
Public Types | |
typedef otb::Image< unsigned int > | AccumulatorImageType |
typedef AccumulatorImageType::PixelType | AccumulatorPixelType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef OutputImageType::PixelType | DEMPixelType |
typedef OutputImageType::IndexType | IndexType |
typedef InputMapType::InternalPixelType | InputInternalPixelType |
typedef T3DImage | InputMapType |
typedef std::map< unsigned int, itk::ImageRegionConstIterator< InputMapType > > | MapIteratorList |
typedef InputMapType::PixelType | MapPixelType |
typedef TMaskImage | MaskImageType |
typedef std::map< unsigned int, itk::ImageRegionConstIterator< MaskImageType > > | MaskIteratorList |
typedef itk::VariableLengthVector< ValueType > | MeasurementType |
typedef OutputImageType::PointType | OriginType |
typedef TOutputDEMImage | OutputImageType |
typedef otb::ImageToGenericRSOutputParameters< OutputImageType > | OutputParametersEstimatorType |
typedef itk::SmartPointer< Self > | Pointer |
typedef double | PrecisionType |
typedef OutputImageType::RegionType | RegionType |
typedef otb::GenericRSTransform | RSTransform2DType |
typedef otb::GenericRSTransform< PrecisionType, 3, 3 > | RSTransformType |
typedef Multi3DMapToDEMFilter | Self |
typedef OutputImageType::SizeType | SizeType |
typedef OutputImageType::SpacingType | SpacingType |
typedef otb::ObjectList< SplitterType > | SplitterListType |
typedef itk::ImageRegionSplitter< 2 > | SplitterType |
typedef itk::ImageToImageFilter< T3DImage, TOutputDEMImage > | Superclass |
typedef RSTransformType::InputPointType | TDPointType |
typedef double | ValueType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
unsigned int | GetNumberOf3DMaps () |
void | Set3DMapInput (unsigned int index, const T3DImage *hmap) |
void | SetMaskInput (unsigned int index, const TMaskImage *mask) |
void | SetNumberOf3DMaps (unsigned int nb) |
Project N 3D images (long,lat,alti) into a regular DEM in the chosen map projection system.
This filter uses a group of N 3D points images and project then onto a regular DEM grid parametrized by DEMGridStep (in meter). The 3D coordinates (sorted by band) of input map are : longitude , latitude (in degree, wrt WGS84) and altitude (in meters)
DEM cell fusion strategy available are :
3 ACC : returns cell count (useful to create mask from output)
empty cell are filled with the NoDataValue (-32768 by default)
if 3Map are not in sensor geometry Min and MaxElevation parameters are useless otherwise Min and MaxElevation are used to reproject DEM long/lat in sensor geometry to extend area search in input 3Map
DEM parameters are automatically deduced by the union of input extent if SetOutputParametersFrom3DMap is called without parameters. If an index is given, the 3D corresponding Map is used to deduced Output parameters (expect Spacing which is calculated for DEMGridStep (in meter))
DEM output parameters can also be manually filled using Setters for : Origin, Spacing, Size, StartIndex, ProjectionRef thus DEMGridStep parameter is ignored in this case (replaced by Spacing)
Definition at line 83 of file otbMulti3DMapToDEMFilter.h.
typedef otb::Image<unsigned int> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::AccumulatorImageType |
Definition at line 102 of file otbMulti3DMapToDEMFilter.h.
typedef AccumulatorImageType::PixelType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::AccumulatorPixelType |
Definition at line 111 of file otbMulti3DMapToDEMFilter.h.
typedef itk::SmartPointer<const Self> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::ConstPointer |
Definition at line 90 of file otbMulti3DMapToDEMFilter.h.
typedef OutputImageType::PixelType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::DEMPixelType |
Definition at line 105 of file otbMulti3DMapToDEMFilter.h.
typedef OutputImageType::IndexType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::IndexType |
Definition at line 109 of file otbMulti3DMapToDEMFilter.h.
typedef InputMapType::InternalPixelType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::InputInternalPixelType |
Definition at line 114 of file otbMulti3DMapToDEMFilter.h.
typedef T3DImage otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::InputMapType |
Useful typedefs
Definition at line 96 of file otbMulti3DMapToDEMFilter.h.
typedef std::map<unsigned int, itk::ImageRegionConstIterator<InputMapType> > otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::MapIteratorList |
Definition at line 128 of file otbMulti3DMapToDEMFilter.h.
typedef InputMapType::PixelType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::MapPixelType |
Definition at line 113 of file otbMulti3DMapToDEMFilter.h.
typedef TMaskImage otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::MaskImageType |
Definition at line 101 of file otbMulti3DMapToDEMFilter.h.
typedef std::map<unsigned int, itk::ImageRegionConstIterator<MaskImageType> > otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::MaskIteratorList |
Definition at line 130 of file otbMulti3DMapToDEMFilter.h.
typedef itk::VariableLengthVector<ValueType> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::MeasurementType |
Definition at line 134 of file otbMulti3DMapToDEMFilter.h.
typedef OutputImageType::PointType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::OriginType |
Definition at line 106 of file otbMulti3DMapToDEMFilter.h.
typedef TOutputDEMImage otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::OutputImageType |
Definition at line 100 of file otbMulti3DMapToDEMFilter.h.
typedef otb::ImageToGenericRSOutputParameters<OutputImageType> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::OutputParametersEstimatorType |
Definition at line 120 of file otbMulti3DMapToDEMFilter.h.
typedef itk::SmartPointer<Self> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::Pointer |
Definition at line 89 of file otbMulti3DMapToDEMFilter.h.
typedef double otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::PrecisionType |
Definition at line 117 of file otbMulti3DMapToDEMFilter.h.
typedef OutputImageType::RegionType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::RegionType |
Definition at line 104 of file otbMulti3DMapToDEMFilter.h.
typedef otb::GenericRSTransform otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::RSTransform2DType |
Definition at line 126 of file otbMulti3DMapToDEMFilter.h.
typedef otb::GenericRSTransform<PrecisionType, 3, 3> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::RSTransformType |
Definition at line 118 of file otbMulti3DMapToDEMFilter.h.
typedef Multi3DMapToDEMFilter otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::Self |
Standard class typedef
Definition at line 87 of file otbMulti3DMapToDEMFilter.h.
typedef OutputImageType::SizeType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SizeType |
Definition at line 108 of file otbMulti3DMapToDEMFilter.h.
typedef OutputImageType::SpacingType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SpacingType |
Definition at line 107 of file otbMulti3DMapToDEMFilter.h.
typedef otb::ObjectList<SplitterType> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SplitterListType |
Definition at line 137 of file otbMulti3DMapToDEMFilter.h.
typedef itk::ImageRegionSplitter<2> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SplitterType |
Definition at line 136 of file otbMulti3DMapToDEMFilter.h.
typedef itk::ImageToImageFilter<T3DImage, TOutputDEMImage> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::Superclass |
Definition at line 88 of file otbMulti3DMapToDEMFilter.h.
typedef RSTransformType::InputPointType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::TDPointType |
Definition at line 123 of file otbMulti3DMapToDEMFilter.h.
typedef double otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::ValueType |
Definition at line 133 of file otbMulti3DMapToDEMFilter.h.
|
protected |
Constructor
Definition at line 34 of file otbMulti3DMapToDEMFilter.hxx.
References otb::CellFusionMode::MAX.
|
overrideprotected |
Destructor
Definition at line 59 of file otbMulti3DMapToDEMFilter.hxx.
|
privatedelete |
Reference sensor image transform
|
overrideprotected |
After threaded generate data
Definition at line 721 of file otbMulti3DMapToDEMFilter.hxx.
References otb::CellFusionMode::ACC, otb::CellFusionMode::MAX, otb::CellFusionMode::MEAN, and otb::CellFusionMode::MIN.
|
overrideprotected |
Before threaded generate data
Definition at line 466 of file otbMulti3DMapToDEMFilter.hxx.
References otb::SpatialReference::FromWGS84(), and otbMsgDevMacro.
virtual::itk::LightObject::Pointer otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Generate input requested region
Definition at line 338 of file otbMulti3DMapToDEMFilter.hxx.
|
overrideprotected |
Generate output information
Definition at line 288 of file otbMulti3DMapToDEMFilter.hxx.
References otb::MetaDataKey::ProjectionRefKey, and otb::WriteNoDataFlags().
const T3DImage * otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::Get3DMapInput | ( | unsigned int | index | ) | const |
Get the inputs
Definition at line 102 of file otbMulti3DMapToDEMFilter.hxx.
|
virtual |
Reference sensor image transform
|
virtual |
Reference sensor image transform
TOutputDEMImage* otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetDEMOutput | ( | ) |
Reference sensor image transform
TOutputDEMImage * otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetDEMOutput |
Get DEM output
Definition at line 122 of file otbMulti3DMapToDEMFilter.hxx.
|
virtual |
Reference sensor image transform
|
virtual |
Reference sensor image transform
|
virtual |
Reference sensor image transform
const TMaskImage * otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetMaskInput | ( | unsigned int | index | ) | const |
Reference sensor image transform
Definition at line 112 of file otbMulti3DMapToDEMFilter.hxx.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Reference sensor image transform
unsigned int otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetNumberOf3DMaps |
Get the number of 3D images (referred earlier as N)
Definition at line 73 of file otbMulti3DMapToDEMFilter.hxx.
|
virtual |
Reference sensor image transform
|
virtual |
Reference sensor image transform
|
virtual |
Reference sensor image transform
|
virtual |
Reference sensor image transform
|
virtual |
Reference sensor image transform
|
virtual |
Reference sensor image transform
|
static |
Method for creation through the object factory.
|
privatedelete |
Reference sensor image transform
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::Set3DMapInput | ( | unsigned int | index, |
const T3DImage * | hmap | ||
) |
Set 3D map input at corresponding 'index'
Definition at line 79 of file otbMulti3DMapToDEMFilter.hxx.
|
virtual |
Set/Get macro for CellFusionMode
|
virtual |
Set/Get macro for DEM grid step
|
virtual |
Set/Get macro for maximum elevation
|
virtual |
Set/Get macro for minimum elevation
|
virtual |
margin for input requested region size
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetMaskInput | ( | unsigned int | index, |
const TMaskImage * | mask | ||
) |
Set mask associated to 3D maps 'index' (optional, pixels with a null mask value are ignored)
Definition at line 91 of file otbMulti3DMapToDEMFilter.hxx.
|
virtual |
Set/Get macro for NoDataValue
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetNumberOf3DMaps | ( | unsigned int | nb | ) |
Set the number of 3D images (referred earlier as N)
Definition at line 64 of file otbMulti3DMapToDEMFilter.hxx.
|
virtual |
Reference sensor image transform
|
inline |
compute Set DEM extent using 3DMap 'index' , if index =-1 union of all input Map extent is done
Definition at line 181 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 143 of file otbMulti3DMapToDEMFilter.hxx.
References otb::SpatialReference::FromWGS84(), and otb::MetaDataKey::ProjectionRefKey.
|
virtual |
Output Size
|
virtual |
Output Spacing
|
virtual |
Output Start index
|
virtual |
Projection REf
|
overrideprotected |
Threaded generate data
-Wunused-variable bool isInDEM = (position[0] >= minLong) && (position[0] < maxLong) && (position[1] >= minLat) && (position[1] < maxLat);
-Wunused-variable typename OutputImageType::IndexType physCellIndex;
double CellIndexLong=(position[0]-outOrigin[0])/step[0]; double CellIndexLat=(position[1]-outOrigin[1])/step[1]; typename OutputImageType::IndexType cellIndex2;
Definition at line 529 of file otbMulti3DMapToDEMFilter.hxx.
References otb::CellFusionMode::ACC, otb::Image< TPixel, VImageDimension >::GetSignedSpacing(), otb::CellFusionMode::MAX, otb::CellFusionMode::MEAN, otb::CellFusionMode::MIN, and otbMsgDevMacro.
|
inlineoverrideprotected |
Override VerifyInputInformation() since this filter's inputs do not need to occupy the same physical space.
Definition at line 262 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 297 of file otbMulti3DMapToDEMFilter.h.
|
private |
DEM grid step (in meters)
Definition at line 282 of file otbMulti3DMapToDEMFilter.h.
|
private |
Maximum elevation of the DEM in meters
Definition at line 304 of file otbMulti3DMapToDEMFilter.h.
|
private |
Minimum elevation of the DEM in meters
Definition at line 301 of file otbMulti3DMapToDEMFilter.h.
|
private |
internal transform between WGS84 and user's ProjRef
Definition at line 318 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 315 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 280 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 279 of file otbMulti3DMapToDEMFilter.h.
|
private |
Region splitter for input disparity maps
Definition at line 294 of file otbMulti3DMapToDEMFilter.h.
|
private |
Moving sensor image transforms
Definition at line 277 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 312 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 296 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 291 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 310 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 314 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 307 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 309 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 308 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 298 of file otbMulti3DMapToDEMFilter.h.
|
private |
Reference sensor image transform
Definition at line 274 of file otbMulti3DMapToDEMFilter.h.
|
private |
Temporary accumulator for multithreading and mean calculus
Definition at line 288 of file otbMulti3DMapToDEMFilter.h.
|
private |
Temporary DEMs for multithreading
Definition at line 285 of file otbMulti3DMapToDEMFilter.h.