OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::GCPsToRPCSensorModelImageFilter< TImage > Class Template Reference

#include <otbGCPsToRPCSensorModelImageFilter.h>

+ Inheritance diagram for otb::GCPsToRPCSensorModelImageFilter< TImage >:
+ Collaboration diagram for otb::GCPsToRPCSensorModelImageFilter< TImage >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef itk::ContinuousIndex
< double, 3 > 
Continuous3DIndexType
 
typedef itk::ContinuousIndex ContinuousIndexType
 
typedef DEMHandlerType::Pointer DEMHandlerPointerType
 
typedef otb::DEMHandler DEMHandlerType
 
typedef std::vector< double > ErrorsContainerType
 
typedef std::vector< GCPTypeGCPsContainerType
 
typedef std::pair< Point2DType,
Point3DType
GCPType
 
typedef itk::Point< double, 2 > Point2DType
 
typedef itk::Point< double, 3 > Point3DType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
GCPsToRPCSensorModelImageFilter 
Self
 
typedef itk::CastImageFilter
< TImage, TImage > 
Superclass
 
- Public Types inherited from itk::CastImageFilter< TImage, TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef CastImageFilter Self
 
typedef
UnaryFunctorImageFilter
< TImage, TImage,
Functor::Cast< typename
TImage::PixelType, typename
TImage::PixelType > > 
Superclass
 
- Public Types inherited from itk::UnaryFunctorImageFilter< TImage, TImage, Functor::Cast< TImage::PixelType, TImage::PixelType > >
typedef SmartPointer< const SelfConstPointer
 
typedef Functor::Cast
< TImage::PixelType,
TImage::PixelType > 
FunctorType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef
InputImageType::ConstPointer 
InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TImage InputImageType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef UnaryFunctorImageFilter Self
 
typedef InPlaceImageFilter
< TImage, TImage > 
Superclass
 
- Public Types inherited from itk::InPlaceImageFilter< 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::OutputImagePointer 
OutputImagePointer
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef InPlaceImageFilter Self
 
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass
 
- 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

void AddGCP (const Point2DType &sensorPoint, const Point3DType &groundPoint)
 
void AddGCP (const Point2DType &sensorPoint, const Point2DType &groundPoint)
 
void ClearGCPs ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
ErrorsContainerTypeGetErrorsContainer ()
 
GCPsContainerTypeGetGCPsContainer ()
 
virtual const ImageKeywordlistGetKeywordlist () const
 
virtual const double & GetMeanError () const
 
virtual const char * GetNameOfClass () const
 
virtual const double & GetRMSGroundError () const
 
void RemoveGCP (unsigned int id)
 
void SetGCPsContainer (const GCPsContainerType &container)
 
void SetUseImageGCPs (bool use)
 
void LoadImageGCPs ()
 
virtual void SetUseDEM (bool _arg)
 
virtual bool GetUseDEM ()
 
virtual void UseDEMOn ()
 
virtual void UseDEMOff ()
 
virtual void SetMeanElevation (double _arg)
 
virtual const double & GetMeanElevation () const
 
virtual void SetDEMHandler (DEMHandlerType *_arg)
 
 itkGetObjectMacro (DEMHandler, DEMHandlerType)
 
- Public Member Functions inherited from itk::CastImageFilter< TImage, TImage >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
- Public Member Functions inherited from itk::UnaryFunctorImageFilter< TImage, TImage, Functor::Cast< TImage::PixelType, TImage::PixelType > >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
const FunctorTypeGetFunctor () const
 
FunctorTypeGetFunctor ()
 
void SetFunctor (const FunctorType &functor)
 
- Public Member Functions inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage >
virtual bool CanRunInPlace () const
 
virtual bool GetInPlace () const
 
virtual void InPlaceOff ()
 
virtual void InPlaceOn ()
 
virtual void SetInPlace (bool _arg)
 
- 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 PropagateRequestedRegion (DataObject *output)
 
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 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::CastImageFilter< TImage, TImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::UnaryFunctorImageFilter< TImage, TImage, Functor::Cast< TImage::PixelType, TImage::PixelType > >
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 ()
 

Static Public Attributes

static const unsigned int ImageDimension = TImage::ImageDimension
 
- Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- 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 Member Functions

 GCPsToRPCSensorModelImageFilter ()
 
void GenerateOutputInformation () override
 
void Modified () const override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~GCPsToRPCSensorModelImageFilter () override
 
- Protected Member Functions inherited from itk::CastImageFilter< TImage, TImage >
 CastImageFilter ()
 
void GenerateData () override
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
 
- Protected Member Functions inherited from itk::UnaryFunctorImageFilter< TImage, TImage, Functor::Cast< TImage::PixelType, TImage::PixelType > >
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
 
 UnaryFunctorImageFilter ()
 
virtual ~UnaryFunctorImageFilter ()
 
- Protected Member Functions inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage >
virtual void AllocateOutputs () override
 
virtual bool GetRunningInPlace () const
 
 InPlaceImageFilter ()
 
virtual void ReleaseInputs () override
 
 ~InPlaceImageFilter ()
 
- 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 BeforeThreadedGenerateData ()
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
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 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 ComputeErrors ()
 
 GCPsToRPCSensorModelImageFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Private Attributes

DEMHandlerPointerType m_DEMHandler
 
ErrorsContainerType m_ErrorsContainer
 
GCPsContainerType m_GCPsContainer
 
ImageKeywordlist m_Keywordlist
 
double m_MeanElevation
 
double m_MeanError
 
bool m_ModelUpToDate
 
double m_RMSGroundError
 
bool m_UseDEM
 
bool m_UseImageGCPs
 

Additional Inherited Members

- 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 TImage>
class otb::GCPsToRPCSensorModelImageFilter< TImage >

This filter estimates a RPC sensor models from GCPs.

This filters estimates an RPC sensor model from a list of user defined GCPs. Internally, it uses an ossimRpcSolver, which performs the estimation using the well known least-square method.

The UseImageGCPs flag allows importing GCPs from the image metadata, if any.

GCPs can be passed to the filter using one of the AddGCP method implementation.

The first implementation takes geographic points with elevation (3D points).

The second implementation accepts geographic points without the elevation information. In this case, either the mean elevation or an elevation fetch from a SRT directory is used, depending on the value of the UseDEM flag.

If UseDEM is set to true, the DEMHandler is used to retrieve the elevation information. The user can either set its own DEMHandler using the appropriate setter, or configure the existing internal DEMHandler using the Getter.

The RMS (root mean square) ground error is available through the appropriate getter.

Please note that GCPs are inferred to be given in physical coordinates. This is seamless in most cases.

Please note that at least 16 GCPs are required to estimate a proper RPC sensor model, although no warning will be reported to the user if the number of GCPs is lower than 16.

This filter does not modify the image buffer, but only the metadata. Therefore, it provides in-place support, which is enabled by default. Call InPlaceOff() to change the default behavior.

The output image can be given to the OrthorectificationFilter.

Definition at line 79 of file otbGCPsToRPCSensorModelImageFilter.h.

Member Typedef Documentation

template<class TImage >
typedef itk::SmartPointer<const Self> otb::GCPsToRPCSensorModelImageFilter< TImage >::ConstPointer

Definition at line 87 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
typedef itk::ContinuousIndex<double, 3> otb::GCPsToRPCSensorModelImageFilter< TImage >::Continuous3DIndexType

Definition at line 97 of file otbGCPsToRPCSensorModelImageFilter.h.

Definition at line 96 of file otbGCPsToRPCSensorModelImageFilter.h.

Definition at line 101 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
typedef otb::DEMHandler otb::GCPsToRPCSensorModelImageFilter< TImage >::DEMHandlerType

DEM typedef

Definition at line 100 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
typedef std::vector<double> otb::GCPsToRPCSensorModelImageFilter< TImage >::ErrorsContainerType

Definition at line 94 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
typedef std::vector<GCPType> otb::GCPsToRPCSensorModelImageFilter< TImage >::GCPsContainerType

Definition at line 93 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
typedef std::pair<Point2DType, Point3DType> otb::GCPsToRPCSensorModelImageFilter< TImage >::GCPType

Definition at line 92 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
typedef itk::Point<double, 2> otb::GCPsToRPCSensorModelImageFilter< TImage >::Point2DType

GCPs typedefs

Definition at line 90 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
typedef itk::Point<double, 3> otb::GCPsToRPCSensorModelImageFilter< TImage >::Point3DType

Definition at line 91 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
typedef itk::SmartPointer<Self> otb::GCPsToRPCSensorModelImageFilter< TImage >::Pointer

Definition at line 86 of file otbGCPsToRPCSensorModelImageFilter.h.

Standard class typedefs.

Definition at line 84 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
typedef itk::CastImageFilter<TImage, TImage> otb::GCPsToRPCSensorModelImageFilter< TImage >::Superclass

Definition at line 85 of file otbGCPsToRPCSensorModelImageFilter.h.

Constructor & Destructor Documentation

template<class TImage >
otb::GCPsToRPCSensorModelImageFilter< TImage >::GCPsToRPCSensorModelImageFilter ( )
protected

Constructor

Create the DEM handler

Definition at line 36 of file otbGCPsToRPCSensorModelImageFilter.hxx.

References otb::DEMHandler::Instance().

template<class TImage >
otb::GCPsToRPCSensorModelImageFilter< TImage >::~GCPsToRPCSensorModelImageFilter ( )
overrideprotected

Destructor

Definition at line 60 of file otbGCPsToRPCSensorModelImageFilter.hxx.

template<class TImage >
otb::GCPsToRPCSensorModelImageFilter< TImage >::GCPsToRPCSensorModelImageFilter ( const Self )
privatedelete

Member Function Documentation

template<class TImage >
void otb::GCPsToRPCSensorModelImageFilter< TImage >::AddGCP ( const Point2DType sensorPoint,
const Point3DType groundPoint 
)

Add a GCP to the GCPContainer. This version of the AddGCP method accepts a 3D ground point and does not use DEM or MeanElevation to handle the elevation

Definition at line 114 of file otbGCPsToRPCSensorModelImageFilter.hxx.

template<class TImage >
void otb::GCPsToRPCSensorModelImageFilter< TImage >::AddGCP ( const Point2DType sensorPoint,
const Point2DType groundPoint 
)

Add A GCP to the GCPContainer. This version of the AddGCP method accepts a 3D ground point and use the DEM or MeanElevation to get the corresponding elevation before calling the AddGCP acception 3D ground points.

Definition at line 127 of file otbGCPsToRPCSensorModelImageFilter.hxx.

template<class TImage >
void otb::GCPsToRPCSensorModelImageFilter< TImage >::ClearGCPs ( )

Clear all GCPs

Definition at line 170 of file otbGCPsToRPCSensorModelImageFilter.hxx.

template<class TImage >
void otb::GCPsToRPCSensorModelImageFilter< TImage >::ComputeErrors ( )
private

Transform all GCPs and compute the error and mean error

Definition at line 243 of file otbGCPsToRPCSensorModelImageFilter.hxx.

References itk::Point< TCoordRep, NPointDimension >::EuclideanDistanceTo().

template<class TImage >
virtual::itk::LightObject::Pointer otb::GCPsToRPCSensorModelImageFilter< TImage >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TImage >
void otb::GCPsToRPCSensorModelImageFilter< TImage >::GenerateOutputInformation ( void  )
overrideprotectedvirtual
template<class TImage >
GCPsToRPCSensorModelImageFilter< TImage >::ErrorsContainerType & otb::GCPsToRPCSensorModelImageFilter< TImage >::GetErrorsContainer ( )

Get the Error container

Definition at line 94 of file otbGCPsToRPCSensorModelImageFilter.hxx.

template<class TImage >
GCPsToRPCSensorModelImageFilter< TImage >::GCPsContainerType & otb::GCPsToRPCSensorModelImageFilter< TImage >::GetGCPsContainer ( )

Get the GCPsContainer

Returns
The GCPs container

Definition at line 84 of file otbGCPsToRPCSensorModelImageFilter.hxx.

template<class TImage >
virtual const ImageKeywordlist& otb::GCPsToRPCSensorModelImageFilter< TImage >::GetKeywordlist ( ) const
virtual

Get Keywordlist

template<class TImage >
virtual const double& otb::GCPsToRPCSensorModelImageFilter< TImage >::GetMeanElevation ( ) const
virtual

Set/Get the mean elevation

template<class TImage >
virtual const double& otb::GCPsToRPCSensorModelImageFilter< TImage >::GetMeanError ( ) const
virtual

Get the mean error

template<class TImage >
virtual const char* otb::GCPsToRPCSensorModelImageFilter< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::CastImageFilter< TImage, TImage >.

template<class TImage >
virtual const double& otb::GCPsToRPCSensorModelImageFilter< TImage >::GetRMSGroundError ( ) const
virtual

Get the residual ground error

template<class TImage >
virtual bool otb::GCPsToRPCSensorModelImageFilter< TImage >::GetUseDEM ( )
virtual

Set/Get/toogle the UseDEM flag

template<class TImage >
otb::GCPsToRPCSensorModelImageFilter< TImage >::itkGetObjectMacro ( DEMHandler  ,
DEMHandlerType   
)

Set/Get the DEMHandler

template<class TImage >
void otb::GCPsToRPCSensorModelImageFilter< TImage >::LoadImageGCPs ( )

Set/Get/toogle the UseImageGCPs flag

Definition at line 190 of file otbGCPsToRPCSensorModelImageFilter.hxx.

template<class TImage >
void otb::GCPsToRPCSensorModelImageFilter< TImage >::Modified ( void  ) const
overrideprotectedvirtual

Drive the model up-to-date flag

Reimplemented from itk::Object.

Definition at line 70 of file otbGCPsToRPCSensorModelImageFilter.hxx.

template<class TImage >
static Pointer otb::GCPsToRPCSensorModelImageFilter< TImage >::New ( )
static

Method for creation through the object factory.

template<class TImage >
void otb::GCPsToRPCSensorModelImageFilter< TImage >::operator= ( const Self )
privatedelete
template<class TImage >
void otb::GCPsToRPCSensorModelImageFilter< TImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual

The PrintSelf method

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

Definition at line 339 of file otbGCPsToRPCSensorModelImageFilter.hxx.

template<class TImage >
void otb::GCPsToRPCSensorModelImageFilter< TImage >::RemoveGCP ( unsigned int  id)

Remove a GCP given by it's coordinates

Definition at line 157 of file otbGCPsToRPCSensorModelImageFilter.hxx.

template<class TImage >
virtual void otb::GCPsToRPCSensorModelImageFilter< TImage >::SetDEMHandler ( DEMHandlerType _arg)
virtual

Set/Get the DEMHandler

template<class TImage >
void otb::GCPsToRPCSensorModelImageFilter< TImage >::SetGCPsContainer ( const GCPsContainerType container)

Set the GCP container

Definition at line 103 of file otbGCPsToRPCSensorModelImageFilter.hxx.

template<class TImage >
virtual void otb::GCPsToRPCSensorModelImageFilter< TImage >::SetMeanElevation ( double  _arg)
virtual

Set/Get the mean elevation

template<class TImage >
virtual void otb::GCPsToRPCSensorModelImageFilter< TImage >::SetUseDEM ( bool  _arg)
virtual

Set/Get/toogle the UseDEM flag

template<class TImage >
void otb::GCPsToRPCSensorModelImageFilter< TImage >::SetUseImageGCPs ( bool  use)

Set/Get/toogle the UseImageGCPs flag

Definition at line 179 of file otbGCPsToRPCSensorModelImageFilter.hxx.

template<class TImage >
virtual void otb::GCPsToRPCSensorModelImageFilter< TImage >::UseDEMOff ( )
virtual

Set/Get/toogle the UseDEM flag

template<class TImage >
virtual void otb::GCPsToRPCSensorModelImageFilter< TImage >::UseDEMOn ( )
virtual

Set/Get/toogle the UseDEM flag

Member Data Documentation

template<class TImage >
const unsigned int otb::GCPsToRPCSensorModelImageFilter< TImage >::ImageDimension = TImage::ImageDimension
static

Extract dimension from input and output image.

Definition at line 111 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
DEMHandlerPointerType otb::GCPsToRPCSensorModelImageFilter< TImage >::m_DEMHandler
private

The DEMHandler

Definition at line 217 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
ErrorsContainerType otb::GCPsToRPCSensorModelImageFilter< TImage >::m_ErrorsContainer
private

The GCP error list

Definition at line 204 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
GCPsContainerType otb::GCPsToRPCSensorModelImageFilter< TImage >::m_GCPsContainer
private

Container of GCPs

Definition at line 220 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
ImageKeywordlist otb::GCPsToRPCSensorModelImageFilter< TImage >::m_Keywordlist
private

Keywordlist

Definition at line 223 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
double otb::GCPsToRPCSensorModelImageFilter< TImage >::m_MeanElevation
private

If no DEM is used, a MeanElevation over the image is used instead

Definition at line 214 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
double otb::GCPsToRPCSensorModelImageFilter< TImage >::m_MeanError
private

The mean error

Definition at line 207 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
bool otb::GCPsToRPCSensorModelImageFilter< TImage >::m_ModelUpToDate
mutableprivate

Flag to see if model is up-to-date

Definition at line 226 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
double otb::GCPsToRPCSensorModelImageFilter< TImage >::m_RMSGroundError
private

The residual ground error

Definition at line 201 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
bool otb::GCPsToRPCSensorModelImageFilter< TImage >::m_UseDEM
private

True if a DEM should be used

Definition at line 210 of file otbGCPsToRPCSensorModelImageFilter.h.

template<class TImage >
bool otb::GCPsToRPCSensorModelImageFilter< TImage >::m_UseImageGCPs
private

True to use GCPs from image metadata as well

Definition at line 198 of file otbGCPsToRPCSensorModelImageFilter.h.


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