OTB  6.1.0
Orfeo Toolbox
Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
otb::ImageToPointSetFilter< TInputImage, TOutputPointSet > Class Template Reference

#include <otbImageToPointSetFilter.h>

+ Inheritance diagram for otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >:
+ Collaboration diagram for otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >:

Classes

struct  ThreadStruct
 

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef
Superclass::OutputPointSetPointer 
OutputPointSetPointer
 
typedef
Superclass::OutputPointSetType 
OutputPointSetType
 
typedef
Superclass::PointDataContainerType 
PointDataContainerType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
Superclass::PointsContainerType 
PointsContainerType
 
typedef itk::ProcessObject ProcessObjectType
 
typedef ImageToPointSetFilter Self
 
typedef PointSetSource
< TOutputPointSet > 
Superclass
 
- Public Types inherited from otb::PointSetSource< TOutputPointSet >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef
itk::ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputPointSetType::Pointer OutputPointSetPointer
 
typedef TOutputPointSet OutputPointSetType
 
typedef
OutputPointSetType::PointDataContainer 
PointDataContainerType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
OutputPointSetType::PointsContainer 
PointsContainerType
 
typedef PointSetSource Self
 
typedef itk::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 GenerateOutputInformation (void) ITK_OVERRIDE
 
virtual const char * GetNameOfClass () const
 
void SetInput (unsigned int idx, const InputImageType *input)
 
void SetInput (const InputImageType *input)
 
const InputImageTypeGetInput (unsigned int idx)
 
const InputImageTypeGetInput ()
 
- Public Member Functions inherited from otb::PointSetSource< TOutputPointSet >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
OutputPointSetTypeGetOutput (void)
 
OutputPointSetTypeGetOutput (DataObjectPointerArraySizeType idx)
 
void SetOutput (OutputPointSetType *output)
 
virtual void GraftOutput (itk::DataObject *output)
 
virtual void GraftNthOutput (DataObjectPointerArraySizeType idx, itk::DataObject *output)
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) ITK_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 DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
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 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 Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
 

Protected Types

typedef std::vector< typename
OutputPointSetType::PointDataContainer::Pointer > 
OutputPointDataContainerForThreadType
 
typedef std::vector< typename
OutputPointSetType::PointsContainer::Pointer > 
OutputPointsContainerForThreadType
 
typedef
StreamingManagerType::Pointer 
StreamingManagerPointer
 
typedef
RAMDrivenAdaptativeStreamingManager
< InputImageType
StreamingManagerType
 

Protected Member Functions

virtual void BeforeThreadedGenerateData ()
 
 ImageToPointSetFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const ITK_OVERRIDE
 
 ~ImageToPointSetFilter () ITK_OVERRIDE
 
- Protected Member Functions inherited from otb::PointSetSource< TOutputPointSet >
void GenerateInputRequestedRegion () ITK_OVERRIDE
 
 PointSetSource ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const ITK_OVERRIDE
 
 ~PointSetSource () ITK_OVERRIDE
 
- 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
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
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 VerifyInputInformation ()
 
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 ()
 

Protected Attributes

OutputPointDataContainerForThreadType m_PointDataContainerPerThread
 
OutputPointsContainerForThreadType m_PointsContainerPerThread
 
StreamingManagerPointer m_StreamingManager
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Member Functions

 ImageToPointSetFilter (const ImageToPointSetFilter &)
 
void operator= (const ImageToPointSetFilter &)
 
void GenerateData (void) ITK_OVERRIDE
 
virtual void AfterThreadedGenerateData ()
 
virtual int SplitRequestedRegion (int i, int num, InputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const InputImageRegionType &inputRegionForThread, itk::ThreadIdType threadId)
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 

Additional Inherited Members

- Static Public Member Functions inherited from otb::PointSetSource< TOutputPointSet >
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 ()
 

Detailed Description

template<class TInputImage, class TOutputPointSet>
class otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >

Base class to output PointSet data with image data as input.

ImageToPointSetFilter is the base class for all process objects that output Point Set data and require image data as input. Specifically, this class defines the SetInput() method for defining the input to a filter.

Definition at line 44 of file otbImageToPointSetFilter.h.

Member Typedef Documentation

template<class TInputImage, class TOutputPointSet>
typedef itk::SmartPointer<const Self> otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::ConstPointer

Definition at line 51 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef InputImageType::ConstPointer otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::InputImageConstPointer

Definition at line 59 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef InputImageType::PixelType otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::InputImagePixelType

Definition at line 61 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef InputImageType::Pointer otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::InputImagePointer

Definition at line 58 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef InputImageType::RegionType otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::InputImageRegionType

Definition at line 60 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef TInputImage otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::InputImageType

Some Image related typedefs.

Definition at line 54 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef std::vector<typename OutputPointSetType::PointDataContainer::Pointer> otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::OutputPointDataContainerForThreadType
protected

Definition at line 96 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef std::vector<typename OutputPointSetType::PointsContainer::Pointer> otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::OutputPointsContainerForThreadType
protected

Multi-threading implementation

Definition at line 95 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef Superclass::OutputPointSetPointer otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::OutputPointSetPointer

Definition at line 67 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef Superclass::OutputPointSetType otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::OutputPointSetType

Some PointSet related typedefs.

Definition at line 66 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef Superclass::PointDataContainerType otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::PointDataContainerType

Definition at line 69 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef itk::SmartPointer<Self> otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::Pointer

Definition at line 50 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef Superclass::PointsContainerType otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::PointsContainerType

Definition at line 68 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef itk::ProcessObject otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::ProcessObjectType

Definition at line 70 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef ImageToPointSetFilter otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::Self

Standard class typedefs.

Definition at line 48 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef StreamingManagerType::Pointer otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::StreamingManagerPointer
protected

Definition at line 124 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef RAMDrivenAdaptativeStreamingManager<InputImageType> otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::StreamingManagerType
protected

End Multi-threading implementation Setup for streaming

Definition at line 123 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
typedef PointSetSource<TOutputPointSet> otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::Superclass

Definition at line 49 of file otbImageToPointSetFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputPointSet >
otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::ImageToPointSetFilter ( )
protected

Definition at line 34 of file otbImageToPointSetFilter.txx.

template<class TInputImage, class TOutputPointSet>
otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::~ImageToPointSetFilter ( )
inlineprotected

Definition at line 88 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::ImageToPointSetFilter ( const ImageToPointSetFilter< TInputImage, TOutputPointSet > &  )
private

Member Function Documentation

template<class TInputImage , class TOutputPointSet >
void otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::AfterThreadedGenerateData ( void  )
protectedvirtual

GenerateData

Loop over the number of pieces, execute the upstream pipeline on each piece, and copy the results into the output image.

Definition at line 217 of file otbImageToPointSetFilter.txx.

template<class TInputImage , class TOutputPointSet >
void otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::BeforeThreadedGenerateData ( void  )
protectedvirtual

Definition at line 209 of file otbImageToPointSetFilter.txx.

template<class TInputImage , class TOutputPointSet >
void otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::GenerateData ( void  )
protectedvirtual
template<class TInputImage , class TOutputPointSet >
void otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::GenerateOutputInformation ( void  )
virtual

Prepare the output

copy information from first input to all outputs This is a void implementation to prevent the ProcessObject version to be called

Reimplemented from itk::ProcessObject.

Definition at line 125 of file otbImageToPointSetFilter.txx.

template<class TInputImage , class TOutputPointSet >
const ImageToPointSetFilter< TInputImage, TOutputPointSet >::InputImageType * otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::GetInput ( unsigned int  idx)

Get the input image of this process object.

Definition at line 85 of file otbImageToPointSetFilter.txx.

template<class TInputImage , class TOutputPointSet >
const ImageToPointSetFilter< TInputImage, TOutputPointSet >::InputImageType * otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::GetInput ( void  )

Get the input image of this process object.

Definition at line 98 of file otbImageToPointSetFilter.txx.

template<class TInputImage, class TOutputPointSet>
virtual const char* otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::GetNameOfClass ( ) const
virtual
template<class TInputImage, class TOutputPointSet>
void otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::operator= ( const ImageToPointSetFilter< TInputImage, TOutputPointSet > &  )
private
template<class TInputImage , class TOutputPointSet >
void otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual
template<class TInputImage , class TOutputPointSet >
void otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::SetInput ( unsigned int  idx,
const InputImageType input 
)

Definition at line 57 of file otbImageToPointSetFilter.txx.

template<class TInputImage , class TOutputPointSet >
void otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::SetInput ( const InputImageType input)

Definition at line 71 of file otbImageToPointSetFilter.txx.

template<class TInputImage , class TOutputPointSet >
int otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::SplitRequestedRegion ( int  i,
int  num,
InputImageRegionType splitRegion 
)
protectedvirtual

GenerateData

Loop over the number of pieces, execute the upstream pipeline on each piece, and copy the results into the output image.

Definition at line 310 of file otbImageToPointSetFilter.txx.

References itk::Size< VDimension >::GetSize().

template<class TInputImage , class TOutputPointSet >
void otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::ThreadedGenerateData ( const InputImageRegionType inputRegionForThread,
itk::ThreadIdType  threadId 
)
protectedvirtual

GenerateData

Loop over the number of pieces, execute the upstream pipeline on each piece, and copy the results into the output image.

Reimplemented in otb::ThresholdImageToPointSetFilter< TInputImage, TOutputPointSet >.

Definition at line 260 of file otbImageToPointSetFilter.txx.

template<class TInputImage , class TOutputPointSet >
ITK_THREAD_RETURN_TYPE otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::ThreaderCallback ( void *  arg)
staticprotected

Static function used as a "callback" by the MultiThreader. The threading library will call this routine for each thread, which will delegate the control to ThreadedGenerateData().

Definition at line 277 of file otbImageToPointSetFilter.txx.

References otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::ThreadStruct::Filter, and ITK_THREAD_RETURN_VALUE.

Member Data Documentation

template<class TInputImage, class TOutputPointSet>
const unsigned int otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::InputImageDimension = TInputImage::ImageDimension
static

Definition at line 63 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
OutputPointDataContainerForThreadType otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::m_PointDataContainerPerThread
protected

Definition at line 118 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
OutputPointsContainerForThreadType otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::m_PointsContainerPerThread
protected

Definition at line 117 of file otbImageToPointSetFilter.h.

template<class TInputImage, class TOutputPointSet>
StreamingManagerPointer otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >::m_StreamingManager
protected

Definition at line 126 of file otbImageToPointSetFilter.h.


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