OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | 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 Self
ConstPointer
 
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
< InputImageType
InputRpcModelEstimatorType
 
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
< OutputImageType
OutputRpcModelEstimatorType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ResamplerType::RegionType RegionType
 
typedef ResamplerType::Pointer ResamplerPointerType
 
typedef
StreamingResampleImageFilter
< InputImageType,
OutputImageType
ResamplerType
 
typedef
GenericRSResampleImageFilter 
Self
 
typedef ResamplerType::SizeType SizeType
 
typedef ResamplerType::SpacingType SpacingType
 
typedef
itk::ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass
 
typedef
ResamplerType::TransformType 
TransformType
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource< TOutputImage > Superclass
 
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
std::string GetInputProjectionRef () const
 
const SizeTypeGetInputRpcGridSize () const
 
virtual const char * GetNameOfClass () const
 
const ImageKeywordlist GetOutputKeywordList ()
 
std::string GetOutputProjectionRef () const
 
const SizeTypeGetOutputRpcGridSize () const
 
 otbGetObjectMemberConstReferenceMacro (Resampler, DisplacementFieldSpacing, SpacingType)
 
 otbSetObjectMemberMacro (Resampler, DisplacementFieldSpacing, SpacingType)
 
void PropagateRequestedRegion (itk::DataObject *output) override
 
void SetDisplacementFilterNumberOfThreads (unsigned int nbThread)
 
void SetInputRpcGridSize (const SizeType &gridSize)
 
void SetInputRpcGridSize (unsigned int gridSize)
 
void SetOutputParametersFromMap (const std::string map, const SpacingType &spacing)
 
void SetOutputParametersFromMap (const std::string projectionRef)
 
void SetOutputProjectionRef (const std::string &ref)
 
void SetOutputRpcGridSize (const SizeType &gridSize)
 
void SetOutputRpcGridSize (unsigned int gridSize)
 
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)
 
void SetInputKeywordList (const ImageKeywordlist &kwl)
 
const ImageKeywordlist GetInputKeywordList ()
 
void SetOutputKeywordList (const ImageKeywordlist &kwl)
 
virtual void SetEstimateInputRpcModel (bool _arg)
 
virtual bool GetEstimateInputRpcModel ()
 
virtual void EstimateInputRpcModelOn ()
 
virtual void EstimateInputRpcModelOff ()
 
virtual void SetEstimateOutputRpcModel (bool _arg)
 
virtual bool GetEstimateOutputRpcModel ()
 
virtual void EstimateOutputRpcModelOn ()
 
virtual void EstimateOutputRpcModelOff ()
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual double GetCoordinateTolerance () const
 
virtual double GetDirectionTolerance () const
 
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput () override
 
virtual void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual void SetDirectionTolerance (double _arg)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual void PrepareOutputs ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
void ReleaseDataFlagOff ()
 
void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

void GenerateData () override
 
void GenerateOutputInformation () override
 
 GenericRSResampleImageFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~GenericRSResampleImageFilter () override
 
virtual void UpdateTransform ()
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void GenerateInputRequestedRegion () override
 
 ImageToImageFilter ()
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
virtual void VerifyInputInformation () override
 
 ~ImageToImageFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual const char * GetPrimaryOutputName (void) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void EstimateOutputRpcModel ()
 
 GenericRSResampleImageFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Private Attributes

bool m_EstimateInputRpcModel
 
bool m_EstimateOutputRpcModel
 
InputRpcModelEstimatorPointerType m_InputRpcEstimator
 
OutputRpcModelEstimatorPointerType m_OutputRpcEstimator
 
ResamplerPointerType m_Resampler
 
bool m_RpcEstimationUpdated
 
GenericRSTransformPointerType m_Transform
 
void SetOutputParametersFromImage (const ImageBaseType *image)
 
template<class TImageType >
void SetOutputParametersFromImage (const TImageType *image)
 
void EstimateInputRpcModel ()
 

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension
 
- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

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 parmeters, so it is mandatory to set correct parameters to have a correct result.

The methods SetOutputParmatersFromMap 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

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

Definition at line 64 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 102 of file otbGenericRSResampleImageFilter.h.

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

Specialisation of OptResampleFilter with a remote sensing transform

Definition at line 101 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 104 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 86 of file otbGenericRSResampleImageFilter.h.

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

Typedef parameters

Definition at line 70 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 92 of file otbGenericRSResampleImageFilter.h.

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

Estimate the rpc model

Definition at line 91 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 88 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 85 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 74 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 75 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 76 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 95 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 94 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 63 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 87 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 81 of file otbGenericRSResampleImageFilter.h.

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

Internal filters typedefs

Definition at line 80 of file otbGenericRSResampleImageFilter.h.

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

Standard class typedefs.

Definition at line 61 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 83 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 84 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 62 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 82 of file otbGenericRSResampleImageFilter.h.

Constructor & Destructor Documentation

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 44 of file otbGenericRSResampleImageFilter.hxx.

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

Destructor

Definition at line 293 of file otbGenericRSResampleImageFilter.h.

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

Member Function Documentation

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

Reimplemented from itk::Object.

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 195 of file otbGenericRSResampleImageFilter.hxx.

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

Macro to tune the EstimateInputRpcModel flag

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

Macro to tune the EstimateInputRpcModel flag

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 125 of file otbGenericRSResampleImageFilter.hxx.

References otb::MetaDataKey::OSSIMKeywordlistKey, and otb::MetaDataKey::ProjectionRefKey.

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

Macro to tune the EstimateOutputRpcModel flag

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

Macro to tune the EstimateOutputRpcModel flag

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GenerateData ( void  )
overrideprotectedvirtual
template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GenerateOutputInformation ( void  )
overrideprotectedvirtual

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

Reimplemented from itk::ProcessObject.

Definition at line 86 of file otbGenericRSResampleImageFilter.hxx.

References otb::MetaDataKey::OSSIMKeywordlistKey, and otb::MetaDataKey::ProjectionRefKey.

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

Macro to tune the EstimateInputRpcModel flag

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

Macro to tune the EstimateOutputRpcModel flag

template<class TInputImage , class TOutputImage >
const ImageKeywordlist otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GetInputKeywordList ( )
inline

Set/Get Input Keywordlist

Definition at line 192 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 170 of file otbGenericRSResampleImageFilter.h.

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 244 of file otbGenericRSResampleImageFilter.h.

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

Run-time type information (and related methods).

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
const ImageKeywordlist otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GetOutputKeywordList ( )
inline

Definition at line 206 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 181 of file otbGenericRSResampleImageFilter.h.

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 270 of file otbGenericRSResampleImageFilter.h.

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

Method for creation through the object factory.

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

Methods to Set/Get the interpolator

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

The resampled image parameters Output Origin

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

Output Start index

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

Output Size

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

Output Spacing

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

Default Edge padding value

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

The Displacement field spacing & size

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

Output Start index

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

Output Size

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

Output Spacing

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

Default Edge padding value

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual
template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::PropagateRequestedRegion ( itk::DataObject output)
overridevirtual

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

Reimplemented from itk::ProcessObject.

Definition at line 177 of file otbGenericRSResampleImageFilter.hxx.

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 282 of file otbGenericRSResampleImageFilter.h.

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

Macro to tune the EstimateInputRpcModel flag

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

Macro to tune the EstimateOutputRpcModel flag

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetInputKeywordList ( const ImageKeywordlist kwl)
inline

Set/Get Input Keywordlist

Definition at line 187 of file otbGenericRSResampleImageFilter.h.

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

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

Definition at line 163 of file otbGenericRSResampleImageFilter.h.

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 230 of file otbGenericRSResampleImageFilter.h.

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

unsigned int as parameter

Definition at line 237 of file otbGenericRSResampleImageFilter.h.

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

Methods to Set/Get the interpolator

Definition at line 140 of file otbGenericRSResampleImageFilter.h.

template<class TInputImage , class TOutputImage >
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputKeywordList ( const ImageKeywordlist kwl)
inline

Set/Get output Keywordlist

Definition at line 199 of file otbGenericRSResampleImageFilter.h.

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

The resampled image parameters Output Origin

Definition at line 116 of file otbGenericRSResampleImageFilter.h.

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 225 of file otbGenericRSResampleImageFilter.hxx.

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

Useful to set output parmaters 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 245 of file otbGenericRSResampleImageFilter.hxx.

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 265 of file otbGenericRSResampleImageFilter.hxx.

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

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 343 of file otbGenericRSResampleImageFilter.hxx.

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

Definition at line 175 of file otbGenericRSResampleImageFilter.h.

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 256 of file otbGenericRSResampleImageFilter.h.

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

unsigned int as parameter

Definition at line 263 of file otbGenericRSResampleImageFilter.h.

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 162 of file otbGenericRSResampleImageFilter.hxx.

Member Data Documentation

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

Definition at line 312 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 313 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 318 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 319 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 317 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 314 of file otbGenericRSResampleImageFilter.h.

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

Definition at line 320 of file otbGenericRSResampleImageFilter.h.


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