OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | List of all members
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <otbGenericRSResampleImageFilter.h>

+ Inheritance diagram for otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef GenericRSTransformType::Pointer GenericRSTransformPointerType
 
typedef GenericRSTransform GenericRSTransformType
 
typedef itk::ImageBase< OutputImageType::ImageDimension > ImageBaseType
 
typedef ResamplerType::IndexType IndexType
 
typedef TInputImage InputImageType
 
typedef InputRpcModelEstimatorType::Pointer InputRpcModelEstimatorPointerType
 
typedef PhysicalToRPCSensorModelImageFilter< InputImageTypeInputRpcModelEstimatorType
 
typedef ResamplerType::InterpolatorType InterpolatorType
 
typedef ResamplerType::OriginType OriginType
 
typedef TOutputImage OutputImageType
 
typedef OutputImageType::InternalPixelType OutputInternalPixelType
 
typedef OutputImageType::PointType OutputPointType
 
typedef OutputRpcModelEstimatorType::Pointer OutputRpcModelEstimatorPointerType
 
typedef PhysicalToRPCSensorModelImageFilter< OutputImageTypeOutputRpcModelEstimatorType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ResamplerType::RegionType RegionType
 
typedef ResamplerType::Pointer ResamplerPointerType
 
typedef StreamingResampleImageFilter< InputImageType, OutputImageTypeResamplerType
 
typedef GenericRSResampleImageFilter Self
 
typedef ResamplerType::SizeType SizeType
 
typedef ResamplerType::SpacingType SpacingType
 
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
 
typedef ResamplerType::TransformType TransformType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
 otbGetObjectMemberConstReferenceMacro (Resampler, DisplacementFieldSpacing, SpacingType)
 
 otbSetObjectMemberMacro (Resampler, DisplacementFieldSpacing, SpacingType)
 

Static Public Member Functions

static Pointer New ()
 
bool m_EstimateInputRpcModel
 
bool m_EstimateOutputRpcModel
 
bool m_RpcEstimationUpdated
 
ResamplerPointerType m_Resampler
 
InputRpcModelEstimatorPointerType m_InputRpcEstimator
 
OutputRpcModelEstimatorPointerType m_OutputRpcEstimator
 
GenericRSTransformPointerType m_Transform
 
void SetOutputOrigin (const OriginType &origin)
 
 otbGetObjectMemberConstReferenceMacro (Resampler, OutputOrigin, OriginType)
 
 otbSetObjectMemberMacro (Resampler, OutputStartIndex, IndexType)
 
 otbGetObjectMemberConstReferenceMacro (Resampler, OutputStartIndex, IndexType)
 
 otbSetObjectMemberMacro (Resampler, OutputSize, SizeType)
 
 otbGetObjectMemberConstReferenceMacro (Resampler, OutputSize, SizeType)
 
 otbSetObjectMemberMacro (Resampler, OutputSpacing, SpacingType)
 
 otbGetObjectMemberConstReferenceMacro (Resampler, OutputSpacing, SpacingType)
 
void SetInterpolator (InterpolatorType *interpolator)
 
 otbGetObjectMemberConstMacro (Resampler, Interpolator, const InterpolatorType *)
 
 otbSetObjectMemberMacro (Resampler, EdgePaddingValue, typename OutputImageType::PixelType)
 
 otbGetObjectMemberMacro (Resampler, EdgePaddingValue, typename OutputImageType::PixelType)
 
void SetInputProjectionRef (const std::string &ref)
 
std::string GetInputProjectionRef () const
 
void SetOutputProjectionRef (const std::string &ref)
 
std::string GetOutputProjectionRef () const
 
void SetInputImageMetadata (const ImageMetadata *imd)
 
const ImageMetadataGetInputImageMetadata ()
 
void SetOutputImageMetadata (const ImageMetadata *imd)
 
const ImageMetadataGetOutputImageMetadata ()
 
void SetOutputParametersFromImage (const ImageBaseType *image)
 
template<class TImageType >
void SetOutputParametersFromImage (const TImageType *image)
 
void SetOutputParametersFromMap (const std::string &map, const SpacingType &spacing)
 
void SetOutputParametersFromMap (const std::string &projectionRef)
 
void SetInputRpcGridSize (const SizeType &gridSize)
 
void SetInputRpcGridSize (unsigned int gridSize)
 
const SizeTypeGetInputRpcGridSize () const
 
virtual void SetEstimateInputRpcModel (bool _arg)
 
virtual bool GetEstimateInputRpcModel ()
 
virtual void EstimateInputRpcModelOn ()
 
virtual void EstimateInputRpcModelOff ()
 
void SetOutputRpcGridSize (const SizeType &gridSize)
 
void SetOutputRpcGridSize (unsigned int gridSize)
 
const SizeTypeGetOutputRpcGridSize () const
 
virtual void SetEstimateOutputRpcModel (bool _arg)
 
virtual bool GetEstimateOutputRpcModel ()
 
virtual void EstimateOutputRpcModelOn ()
 
virtual void EstimateOutputRpcModelOff ()
 
void SetDisplacementFilterNumberOfThreads (unsigned int nbThread)
 
void PropagateRequestedRegion (itk::DataObject *output) override
 
 GenericRSResampleImageFilter ()
 
 ~GenericRSResampleImageFilter () override
 
void GenerateData () override
 
void GenerateOutputInformation () override
 
virtual void UpdateTransform ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 GenericRSResampleImageFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 
void EstimateOutputRpcModel ()
 
void EstimateInputRpcModel ()
 

Detailed Description

template<class TInputImage, class TOutputImage>
class otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >

This class is a composite filter that allows you to project an input image from any coordinate system to any other one. The coordinate systems can be defined by their projection reference, the keyword list or a meta data dictionary.

This class uses the otb::StreamingResampleImageFilter. It defines and uses a otb::GenericRSTransform using the input/output coordinate system information listed below. This class can resample the input to an output image with the Size/Origin/Spacing/StartIndex defined by the user. Note that there are no default values for all the parameters, so it is mandatory to set correct parameters to have a correct result.

The methods SetOutputParametersFromMap can estimate the output image parameters Size/Origin/Spacing so the hole image can be reprojected without setting any output parameter.

Definition at line 56 of file otbGenericRSResampleImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputImage , class TOutputImage >
typedef itk::SmartPointer<const Self> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::ConstPointer

Definition at line 63 of file otbGenericRSResampleImageFilter.h.

◆ GenericRSTransformPointerType

template<class TInputImage , class TOutputImage >
typedef GenericRSTransformType::Pointer otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GenericRSTransformPointerType

Definition at line 100 of file otbGenericRSResampleImageFilter.h.

◆ GenericRSTransformType

template<class TInputImage , class TOutputImage >
typedef GenericRSTransform otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GenericRSTransformType

Specialisation of OptResampleFilter with a remote sensing transform

Definition at line 99 of file otbGenericRSResampleImageFilter.h.

◆ ImageBaseType

template<class TInputImage , class TOutputImage >
typedef itk::ImageBase<OutputImageType::ImageDimension> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::ImageBaseType

Definition at line 102 of file otbGenericRSResampleImageFilter.h.

◆ IndexType

template<class TInputImage , class TOutputImage >
typedef ResamplerType::IndexType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::IndexType

Definition at line 84 of file otbGenericRSResampleImageFilter.h.

◆ InputImageType

template<class TInputImage , class TOutputImage >
typedef TInputImage otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::InputImageType

Typedef parameters

Definition at line 69 of file otbGenericRSResampleImageFilter.h.

◆ InputRpcModelEstimatorPointerType

template<class TInputImage , class TOutputImage >
typedef InputRpcModelEstimatorType::Pointer otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::InputRpcModelEstimatorPointerType

Definition at line 90 of file otbGenericRSResampleImageFilter.h.

◆ InputRpcModelEstimatorType

template<class TInputImage , class TOutputImage >
typedef PhysicalToRPCSensorModelImageFilter<InputImageType> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::InputRpcModelEstimatorType

Estimate the rpc model

Definition at line 89 of file otbGenericRSResampleImageFilter.h.

◆ InterpolatorType

template<class TInputImage , class TOutputImage >
typedef ResamplerType::InterpolatorType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::InterpolatorType

Definition at line 86 of file otbGenericRSResampleImageFilter.h.

◆ OriginType

template<class TInputImage , class TOutputImage >
typedef ResamplerType::OriginType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::OriginType

Definition at line 83 of file otbGenericRSResampleImageFilter.h.

◆ OutputImageType

template<class TInputImage , class TOutputImage >
typedef TOutputImage otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::OutputImageType

Definition at line 73 of file otbGenericRSResampleImageFilter.h.

◆ OutputInternalPixelType

template<class TInputImage , class TOutputImage >
typedef OutputImageType::InternalPixelType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::OutputInternalPixelType

Definition at line 74 of file otbGenericRSResampleImageFilter.h.

◆ OutputPointType

template<class TInputImage , class TOutputImage >
typedef OutputImageType::PointType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::OutputPointType

Definition at line 75 of file otbGenericRSResampleImageFilter.h.

◆ OutputRpcModelEstimatorPointerType

template<class TInputImage , class TOutputImage >
typedef OutputRpcModelEstimatorType::Pointer otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::OutputRpcModelEstimatorPointerType

Definition at line 93 of file otbGenericRSResampleImageFilter.h.

◆ OutputRpcModelEstimatorType

template<class TInputImage , class TOutputImage >
typedef PhysicalToRPCSensorModelImageFilter<OutputImageType> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::OutputRpcModelEstimatorType

Definition at line 92 of file otbGenericRSResampleImageFilter.h.

◆ Pointer

template<class TInputImage , class TOutputImage >
typedef itk::SmartPointer<Self> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::Pointer

Definition at line 62 of file otbGenericRSResampleImageFilter.h.

◆ RegionType

template<class TInputImage , class TOutputImage >
typedef ResamplerType::RegionType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::RegionType

Definition at line 85 of file otbGenericRSResampleImageFilter.h.

◆ ResamplerPointerType

template<class TInputImage , class TOutputImage >
typedef ResamplerType::Pointer otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::ResamplerPointerType

Definition at line 79 of file otbGenericRSResampleImageFilter.h.

◆ ResamplerType

template<class TInputImage , class TOutputImage >
typedef StreamingResampleImageFilter<InputImageType, OutputImageType> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::ResamplerType

Internal filters typedefs

Definition at line 78 of file otbGenericRSResampleImageFilter.h.

◆ Self

template<class TInputImage , class TOutputImage >
typedef GenericRSResampleImageFilter otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Definition at line 60 of file otbGenericRSResampleImageFilter.h.

◆ SizeType

template<class TInputImage , class TOutputImage >
typedef ResamplerType::SizeType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SizeType

Definition at line 81 of file otbGenericRSResampleImageFilter.h.

◆ SpacingType

template<class TInputImage , class TOutputImage >
typedef ResamplerType::SpacingType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SpacingType

Definition at line 82 of file otbGenericRSResampleImageFilter.h.

◆ Superclass

template<class TInputImage , class TOutputImage >
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::Superclass

Definition at line 61 of file otbGenericRSResampleImageFilter.h.

◆ TransformType

template<class TInputImage , class TOutputImage >
typedef ResamplerType::TransformType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::TransformType

Definition at line 80 of file otbGenericRSResampleImageFilter.h.

Constructor & Destructor Documentation

◆ GenericRSResampleImageFilter() [1/2]

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GenericRSResampleImageFilter
protected

Set number of threads to 1 for Displacement field generator (use for faster access to OSSIM elevation source, which does not handle multithreading when accessing to DEM data)

Definition at line 42 of file otbGenericRSResampleImageFilter.hxx.

References otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetDisplacementFilterNumberOfThreads().

◆ ~GenericRSResampleImageFilter()

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::~GenericRSResampleImageFilter ( )
inlineoverrideprotected

Destructor

Definition at line 288 of file otbGenericRSResampleImageFilter.h.

◆ GenericRSResampleImageFilter() [2/2]

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GenericRSResampleImageFilter ( const Self )
privatedelete

The resampled image parameters Output Origin

Member Function Documentation

◆ CreateAnother()

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::CreateAnother ( void  ) const

◆ EstimateInputRpcModel()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::EstimateInputRpcModel
private

Method to estimate the rpc model of the input using a temporary image to avoid adding this rpc estimator filter in the minipipeline.

Definition at line 169 of file otbGenericRSResampleImageFilter.hxx.

◆ EstimateInputRpcModelOff()

template<class TInputImage , class TOutputImage >
virtual void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::EstimateInputRpcModelOff ( )
virtual

The resampled image parameters Output Origin

◆ EstimateInputRpcModelOn()

template<class TInputImage , class TOutputImage >
virtual void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::EstimateInputRpcModelOn ( )
virtual

The resampled image parameters Output Origin

◆ EstimateOutputRpcModel()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::EstimateOutputRpcModel
private

Method to estimate the rpc model of the output using a temporary image

Definition at line 112 of file otbGenericRSResampleImageFilter.hxx.

References otb::ProjectionWKT.

◆ EstimateOutputRpcModelOff()

template<class TInputImage , class TOutputImage >
virtual void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::EstimateOutputRpcModelOff ( )
virtual

The resampled image parameters Output Origin

◆ EstimateOutputRpcModelOn()

template<class TInputImage , class TOutputImage >
virtual void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::EstimateOutputRpcModelOn ( )
virtual

The resampled image parameters Output Origin

◆ GenerateData()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GenerateData
overrideprotected

The resampled image parameters Output Origin

Definition at line 61 of file otbGenericRSResampleImageFilter.hxx.

◆ GenerateOutputInformation()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GenerateOutputInformation
overrideprotected

Generate the right output requested region following the parameters set by the user

Definition at line 80 of file otbGenericRSResampleImageFilter.hxx.

References otb::ProjectionWKT.

◆ GetEstimateInputRpcModel()

template<class TInputImage , class TOutputImage >
virtual bool otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GetEstimateInputRpcModel ( )
virtual

The resampled image parameters Output Origin

◆ GetEstimateOutputRpcModel()

template<class TInputImage , class TOutputImage >
virtual bool otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GetEstimateOutputRpcModel ( )
virtual

The resampled image parameters Output Origin

◆ GetInputImageMetadata()

template<class TInputImage , class TOutputImage >
const ImageMetadata* otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GetInputImageMetadata ( )
inline

The resampled image parameters Output Origin

Definition at line 186 of file otbGenericRSResampleImageFilter.h.

◆ GetInputProjectionRef()

template<class TInputImage , class TOutputImage >
std::string otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GetInputProjectionRef ( ) const
inline

The resampled image parameters Output Origin

Definition at line 161 of file otbGenericRSResampleImageFilter.h.

◆ GetInputRpcGridSize()

template<class TInputImage , class TOutputImage >
const SizeType& otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GetInputRpcGridSize ( ) const
inline

Get the input rpc model estimator grid size used

Definition at line 239 of file otbGenericRSResampleImageFilter.h.

◆ GetNameOfClass()

template<class TInputImage , class TOutputImage >
virtual const char* otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetOutputImageMetadata()

template<class TInputImage , class TOutputImage >
const ImageMetadata* otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GetOutputImageMetadata ( )
inline

The resampled image parameters Output Origin

Definition at line 200 of file otbGenericRSResampleImageFilter.h.

◆ GetOutputProjectionRef()

template<class TInputImage , class TOutputImage >
std::string otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GetOutputProjectionRef ( ) const
inline

The resampled image parameters Output Origin

Definition at line 172 of file otbGenericRSResampleImageFilter.h.

◆ GetOutputRpcGridSize()

template<class TInputImage , class TOutputImage >
const SizeType& otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GetOutputRpcGridSize ( ) const
inline

Get the output rpc model estimator grid size used

Definition at line 265 of file otbGenericRSResampleImageFilter.h.

◆ New()

template<class TInputImage , class TOutputImage >
static Pointer otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::operator= ( const Self )
privatedelete

The resampled image parameters Output Origin

◆ otbGetObjectMemberConstMacro()

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberConstMacro ( Resampler  ,
Interpolator  ,
const InterpolatorType  
)

The resampled image parameters Output Origin

◆ otbGetObjectMemberConstReferenceMacro() [1/5]

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberConstReferenceMacro ( Resampler  ,
DisplacementFieldSpacing  ,
SpacingType   
)

◆ otbGetObjectMemberConstReferenceMacro() [2/5]

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberConstReferenceMacro ( Resampler  ,
OutputOrigin  ,
OriginType   
)

The resampled image parameters Output Origin

◆ otbGetObjectMemberConstReferenceMacro() [3/5]

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberConstReferenceMacro ( Resampler  ,
OutputSize  ,
SizeType   
)

The resampled image parameters Output Origin

◆ otbGetObjectMemberConstReferenceMacro() [4/5]

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberConstReferenceMacro ( Resampler  ,
OutputSpacing  ,
SpacingType   
)

The resampled image parameters Output Origin

◆ otbGetObjectMemberConstReferenceMacro() [5/5]

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberConstReferenceMacro ( Resampler  ,
OutputStartIndex  ,
IndexType   
)

The resampled image parameters Output Origin

◆ otbGetObjectMemberMacro()

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberMacro ( Resampler  ,
EdgePaddingValue  ,
typename OutputImageType::PixelType   
)

The resampled image parameters Output Origin

◆ otbSetObjectMemberMacro() [1/5]

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbSetObjectMemberMacro ( Resampler  ,
DisplacementFieldSpacing  ,
SpacingType   
)

The Displacement field spacing & size

◆ otbSetObjectMemberMacro() [2/5]

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbSetObjectMemberMacro ( Resampler  ,
EdgePaddingValue  ,
typename OutputImageType::PixelType   
)

Default Edge padding value

◆ otbSetObjectMemberMacro() [3/5]

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbSetObjectMemberMacro ( Resampler  ,
OutputSize  ,
SizeType   
)

Output Size

◆ otbSetObjectMemberMacro() [4/5]

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbSetObjectMemberMacro ( Resampler  ,
OutputSpacing  ,
SpacingType   
)

Output Spacing

◆ otbSetObjectMemberMacro() [5/5]

template<class TInputImage , class TOutputImage >
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbSetObjectMemberMacro ( Resampler  ,
OutputStartIndex  ,
IndexType   
)

Output Start index

◆ PrintSelf()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

The resampled image parameters Output Origin

Definition at line 328 of file otbGenericRSResampleImageFilter.hxx.

◆ PropagateRequestedRegion()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::PropagateRequestedRegion ( itk::DataObject *  output)
override

Override itk::ProcessObject method to let the internal filter do the propagation

Definition at line 152 of file otbGenericRSResampleImageFilter.hxx.

◆ SetDisplacementFilterNumberOfThreads()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetDisplacementFilterNumberOfThreads ( unsigned int  nbThread)
inline

Set number of threads for Displacement field generator

Definition at line 277 of file otbGenericRSResampleImageFilter.h.

Referenced by otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GenericRSResampleImageFilter().

◆ SetEstimateInputRpcModel()

template<class TInputImage , class TOutputImage >
virtual void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetEstimateInputRpcModel ( bool  _arg)
virtual

Macro to tune the EstimateInputRpcModel flag

◆ SetEstimateOutputRpcModel()

template<class TInputImage , class TOutputImage >
virtual void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetEstimateOutputRpcModel ( bool  _arg)
virtual

Macro to tune the EstimateOutputRpcModel flag

◆ SetInputImageMetadata()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetInputImageMetadata ( const ImageMetadata imd)
inline

Set/Get Input ImageMetadata

Definition at line 179 of file otbGenericRSResampleImageFilter.h.

◆ SetInputProjectionRef()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetInputProjectionRef ( const std::string &  ref)
inline

Set/Get input & output projections. The macro are not used here cause the input and the output are inversed.

Definition at line 154 of file otbGenericRSResampleImageFilter.h.

◆ SetInputRpcGridSize() [1/2]

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetInputRpcGridSize ( const SizeType gridSize)
inline

Set/Get the grid size for rpc estimator

Definition at line 225 of file otbGenericRSResampleImageFilter.h.

◆ SetInputRpcGridSize() [2/2]

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetInputRpcGridSize ( unsigned int  gridSize)
inline

unsigned int as parameter

Definition at line 232 of file otbGenericRSResampleImageFilter.h.

◆ SetInterpolator()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetInterpolator ( InterpolatorType interpolator)
inline

Methods to Set/Get the interpolator

Definition at line 136 of file otbGenericRSResampleImageFilter.h.

◆ SetOutputImageMetadata()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputImageMetadata ( const ImageMetadata imd)
inline

Set/Get Output ImageMetadata

Definition at line 193 of file otbGenericRSResampleImageFilter.h.

◆ SetOutputOrigin()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputOrigin ( const OriginType origin)
inline

The resampled image parameters Output Origin

Definition at line 112 of file otbGenericRSResampleImageFilter.h.

◆ SetOutputParametersFromImage() [1/2]

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputParametersFromImage ( const ImageBaseType image)

Useful to set the output parameters from an existing image

Method used to copy the parameters of the input image

Definition at line 195 of file otbGenericRSResampleImageFilter.hxx.

◆ SetOutputParametersFromImage() [2/2]

template<class TInputImage , class TOutputImage >
template<class TImageType >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputParametersFromImage ( const TImageType *  image)

Useful to set output parameters form an existing image with type different from input or output image

Method used to copy the parameters of the input image

Definition at line 213 of file otbGenericRSResampleImageFilter.hxx.

◆ SetOutputParametersFromMap() [1/2]

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputParametersFromMap ( const std::string &  map,
const SpacingType spacing 
)

Useful to set the output parameters using a map (UTM|WGS84) and a spacing set by the user

Method used to project the input image in a defined srs, estimating the output size and origin. The spacing is set by the user. The supported projection are UTM and WGS84.

Definition at line 231 of file otbGenericRSResampleImageFilter.hxx.

References otb::SpatialReference::FromUTM(), otb::SpatialReference::FromWGS84(), otb::SpatialReference::ToWkt(), and otb::SpatialReference::UTMFromGeoPoint().

◆ SetOutputParametersFromMap() [2/2]

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputParametersFromMap ( const std::string &  projectionRef)

Useful to set the output parameters from a projectionRef, the output size, spacing and origin are estimated

Used to project the input image in a srs defined by its WKT projectionRef (as parameter) only. estimating the output size, spacing and origin.

Definition at line 307 of file otbGenericRSResampleImageFilter.hxx.

◆ SetOutputProjectionRef()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputProjectionRef ( const std::string &  ref)
inline

The resampled image parameters Output Origin

Definition at line 166 of file otbGenericRSResampleImageFilter.h.

◆ SetOutputRpcGridSize() [1/2]

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputRpcGridSize ( const SizeType gridSize)
inline

Macro to Set/Get the grid size for rpc estimator

Definition at line 251 of file otbGenericRSResampleImageFilter.h.

◆ SetOutputRpcGridSize() [2/2]

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputRpcGridSize ( unsigned int  gridSize)
inline

unsigned int as parameter

Definition at line 258 of file otbGenericRSResampleImageFilter.h.

◆ UpdateTransform()

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::UpdateTransform
protectedvirtual

Fill with the default dict of the input and the output and instantiate the transform

Definition at line 140 of file otbGenericRSResampleImageFilter.hxx.

Member Data Documentation

◆ m_EstimateInputRpcModel

template<class TInputImage , class TOutputImage >
bool otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::m_EstimateInputRpcModel
private

The resampled image parameters Output Origin

Definition at line 307 of file otbGenericRSResampleImageFilter.h.

◆ m_EstimateOutputRpcModel

template<class TInputImage , class TOutputImage >
bool otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::m_EstimateOutputRpcModel
private

The resampled image parameters Output Origin

Definition at line 308 of file otbGenericRSResampleImageFilter.h.

◆ m_InputRpcEstimator

template<class TInputImage , class TOutputImage >
InputRpcModelEstimatorPointerType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::m_InputRpcEstimator
private

The resampled image parameters Output Origin

Definition at line 313 of file otbGenericRSResampleImageFilter.h.

◆ m_OutputRpcEstimator

template<class TInputImage , class TOutputImage >
OutputRpcModelEstimatorPointerType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::m_OutputRpcEstimator
private

The resampled image parameters Output Origin

Definition at line 314 of file otbGenericRSResampleImageFilter.h.

◆ m_Resampler

template<class TInputImage , class TOutputImage >
ResamplerPointerType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::m_Resampler
private

The resampled image parameters Output Origin

Definition at line 312 of file otbGenericRSResampleImageFilter.h.

◆ m_RpcEstimationUpdated

template<class TInputImage , class TOutputImage >
bool otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::m_RpcEstimationUpdated
private

The resampled image parameters Output Origin

Definition at line 309 of file otbGenericRSResampleImageFilter.h.

◆ m_Transform

template<class TInputImage , class TOutputImage >
GenericRSTransformPointerType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::m_Transform
private

The resampled image parameters Output Origin

Definition at line 315 of file otbGenericRSResampleImageFilter.h.


The documentation for this class was generated from the following files: