Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet > Class Template Reference

This class performs an estimation of the local deformation modelled by a given transform between the fixed and the moving image, at each point of the given point set. More...

#include <otbDisparityMapEstimationMethod.h>

Inheritance diagram for otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >:
Inheritance graph
[legend]
Collaboration diagram for otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
DisparityMapEstimationMethod 
Self
 Standard class typedefs.
typedef PointSetSource< TPointSet > Superclass
typedef itk::SmartPointer< SelfPointer
typedef itk::SmartPointer
< const Self
ConstPointer
typedef TFixedImage FixedImageType
 Typedef for the Fixed image.
typedef FixedImageType::Pointer FixedImagePointerType
typedef FixedImageType::PixelType FixedPixelType
typedef FixedImageType::SizeType SizeType
typedef TMovingImage MovingImageType
 Typedef for the Moving image.
typedef MovingImageType::Pointer MovingImagePointerType
typedef MovingImageType::PixelType MovingPixelType
typedef TPointSet PointSetType
 Typedef for the input and ouptut point set.
typedef PointSetType::Pointer PointSetPointerType
typedef
itk::ImageToImageMetric
< FixedImageType,
MovingImageType
MetricType
 Typedef for the generic metric.
typedef MetricType::Pointer MetricPointerType
typedef
MetricType::FixedImageRegionType 
FixedImageRegionType
typedef MetricType::TransformType TransformType
 Typedef for the generic transform .
typedef TransformType::Pointer TransformPointerType
typedef
itk::DataObjectDecorator
< TransformType
TransformOutputType
 Using Decorator pattern for enabling the Transform to be passed in the data pipeline.
typedef
TransformOutputType::Pointer 
TransformOutputPointerType
typedef
TransformOutputType::ConstPointer 
TransformOutputConstPointerType
typedef
MetricType::InterpolatorType 
InterpolatorType
 Typedef for the generic interpolator.
typedef InterpolatorType::Pointer InterpolatorPointerType
typedef
itk::SingleValuedNonLinearOptimizer 
OptimizerType
 Typedef for the generic optimizer.
typedef OptimizerType::Pointer OptimizerPointerType
typedef
MetricType::TransformParametersType 
ParametersType
 Type of the Transformation parameters This is the same type used to represent the search space of the optimization algorithm.
typedef itk::DataObject::Pointer DataObjectPointer
 Smart Pointer type to a DataObject.
typedef TPointSet OutputPointSetType
typedef OutputPointSetType::Pointer OutputPointSetPointer
typedef
OutputPointSetType::PointsContainer 
PointsContainerType
typedef
OutputPointSetType::PointDataContainer 
PointDataContainerType
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 STL Array of SmartPointers to DataObjects.
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 Size type of an std::vector.

Public Member Functions

virtual const char * GetNameOfClass () const
 Run-time type information (and related methods).
virtual void SetOptimizer (OptimizerType *_arg)
 Set/Get the Optimizer.
virtual OptimizerTypeGetOptimizer ()
virtual void SetMetric (MetricType *_arg)
 Set/Get the Metric.
virtual MetricTypeGetMetric ()
virtual void SetTransform (TransformType *_arg)
 Set/Get the Transfrom.
virtual TransformTypeGetTransform ()
virtual void SetInterpolator (InterpolatorType *_arg)
 Set/Get the Interpolator.
virtual InterpolatorTypeGetInterpolator ()
virtual void SetWinSize (SizeType _arg)
 Set/Get the window radius.
virtual SizeType GetWinSize ()
virtual void SetExploSize (SizeType _arg)
 Set/Get the exploration area radius.
virtual SizeType GetExploSize ()
virtual void SetInitialTransformParameters (ParametersType _arg)
 Set/Get the initial transformation parameters.
virtual const ParametersTypeGetInitialTransformParameters ()
void SetPointSet (const TPointSet *pointset)
 Set the source pointset.
const TPointSet * GetPointSet (void)
 Get the source pointset.
void SetFixedImage (const TFixedImage *image)
 Set the fixed image.
const TFixedImage * GetFixedImage (void)
 Get the fixed image.
void SetMovingImage (const TMovingImage *image)
 Set the moving image.
const TMovingImage * GetMovingImage (void)
 Get the fixed image.
OutputPointSetType * GetOutput (void)
 Get the point set output of this process object.
OutputPointSetType * GetOutput (unsigned int idx)
 Method used internally for getting an output.
void SetOutput (OutputPointSetType *output)
 Set the point set output of this process object.
virtual void GraftOutput (itk::DataObject *output)
 Graft the specified DataObject onto this ProcessObject's output.
virtual void GraftNthOutput (unsigned int idx, itk::DataObject *output)
virtual DataObjectPointer MakeOutput (unsigned int idx)
 Make a DataObject of the correct type to used as the specified output.
DataObjectPointerArrayGetInputs ()
 Return an array with all the inputs of this process object.
DataObjectPointerArraySizeType GetNumberOfInputs () const
 Get the size of the input vector.
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 Get the number of valid inputs.
DataObjectPointerArrayGetOutputs ()
 Return an array with all the outputs of this process object.
DataObjectPointerArraySizeType GetNumberOfOutputs () const
virtual void SetAbortGenerateData (bool _arg)
 Set the AbortGenerateData flag for the process object.
virtual const boolGetAbortGenerateData ()
 Get the AbortGenerateData flag for the process object.
virtual void AbortGenerateDataOn ()
 Turn on and off the AbortGenerateData flag.
virtual void AbortGenerateDataOff ()
virtual void SetProgress (float _arg)
 Set the execution progress of a process object.
virtual const floatGetProgress ()
 Get the execution progress of a process object.
void UpdateProgress (float amount)
 Update the progress of the process object.
virtual void Update ()
 Bring this filter up-to-date.
virtual void UpdateLargestPossibleRegion ()
 Like Update(), but sets the output requested region to the largest possible region for the output.
virtual void UpdateOutputInformation ()
 Update the information decribing the output data.
virtual void PropagateRequestedRegion (DataObject *output)
 Send the requested region information back up the pipeline (to the filters that preceed this one).
virtual void UpdateOutputData (DataObject *output)
 Actually generate new output.
virtual void EnlargeOutputRequestedRegion (DataObject *)
 Give the process object a chance to indictate that it will produce more output than it was requested to produce.
virtual void ResetPipeline ()
 Reset the pipeline.
virtual void SetReleaseDataFlag (bool flag)
 Turn on/off the flags to control whether the bulk data belonging to the outputs of this ProcessObject are released after being used by a downstream ProcessObject.
virtual bool GetReleaseDataFlag () const
void ReleaseDataFlagOn ()
void ReleaseDataFlagOff ()
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 Turn on/off the flags to control whether the bulk data belonging to the outputs of this ProcessObject are released/reallocated during an Update().
virtual const boolGetReleaseDataBeforeUpdateFlag ()
virtual void ReleaseDataBeforeUpdateFlagOn ()
virtual void ReleaseDataBeforeUpdateFlagOff ()
virtual void SetNumberOfThreads (int _arg)
 Get/Set the number of threads to create when executing.
virtual const intGetNumberOfThreads ()
MultiThreader * GetMultiThreader ()
 Return the multithreader used by this class.
virtual void PrepareOutputs ()
 An opportunity to deallocate a ProcessObject's bulk data storage.
virtual LightObject::Pointer CreateAnother () const
 Create an object from an instance, potentially deferring to a factory.
virtual void DebugOn () const
 Turn debugging output on.
virtual void DebugOff () const
 Turn debugging output off.
bool GetDebug () const
 Get the value of the debug flag.
void SetDebug (bool debugFlag) const
 Set the value of the debug flag.
virtual unsigned long GetMTime () const
 Return this objects modified time.
virtual void Modified () const
 Update the modification time for this object.
virtual void Register () const
 Increase the reference count (mark as used by another object).
virtual void UnRegister () const
 Decrease the reference count (release by another object).
virtual void SetReferenceCount (int)
 Sets the reference count (use with care).
unsigned long AddObserver (const EventObject &event, Command *)
 Allow people to add/remove/invoke observers (callbacks) to any ITK object.
unsigned long AddObserver (const EventObject &event, Command *) const
Command * GetCommand (unsigned long tag)
 Get the command associated with the given tag.
void InvokeEvent (const EventObject &)
 Call Execute on all the Commands observing this event id.
void InvokeEvent (const EventObject &) const
 Call Execute on all the Commands observing this event id.
void RemoveObserver (unsigned long tag)
 Remove the observer with this tag value.
void RemoveAllObservers ()
 Remove all observers .
bool HasObserver (const EventObject &event) const
 Return true if an observer is registered for this event.
MetaDataDictionary & GetMetaDataDictionary (void)
const MetaDataDictionary & GetMetaDataDictionary (void) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void Delete ()
 Delete an itk object.
void Print (std::ostream &os, Indent indent=0) const
 Cause the object to print itself out.
virtual int GetReferenceCount () const
 Gets the reference count on this object.

Static Public Member Functions

static Pointer New ()
 Method for creation through the object factory.
static void SetGlobalWarningDisplay (bool flag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
static bool GetGlobalWarningDisplay ()
 Get the value of the global debug output control flag.
static void GlobalWarningDisplayOn ()
static void GlobalWarningDisplayOff ()
static void BreakOnError ()
 This method is called when itkExceptionMacro executes.

Protected Types

typedef int InternalReferenceCountType
 Define the type of the reference count according to the target.

Protected Member Functions

 DisparityMapEstimationMethod ()
 Constructor.
virtual ~DisparityMapEstimationMethod ()
 Destructor.
void PrintSelf (std::ostream &os, itk::Indent indent) const
 Standard PrintSelf method.
void GenerateData ()
 Main computation method.
const DataObject * GetOutput (unsigned int idx) const
void GenerateInputRequestedRegion ()
 Requested region of Point Set is specified as i of N unstructured regions.
virtual void SetNthInput (unsigned int num, DataObject *input)
 Protected methods for setting inputs.
virtual void AddInput (DataObject *input)
 Adds an input to the first null position in the input list.
virtual void RemoveInput (DataObject *input)
 Remove an input.
virtual void SetNumberOfRequiredInputs (unsigned int _arg)
virtual const unsigned intGetNumberOfRequiredInputs ()
virtual void PushBackInput (const DataObject *input)
 Push/Pop an input of this process object.
virtual void PopBackInput ()
 Model a stack on the input list by providing a pop back.
virtual void PushFrontInput (const DataObject *input)
virtual void PopFrontInput ()
void SetNumberOfInputs (unsigned int num)
 Called to allocate the input array.
DataObject * GetInput (unsigned int idx)
 Method used internally for getting an input.
const DataObject * GetInput (unsigned int idx) const
virtual void SetNthOutput (unsigned int num, DataObject *output)
 Protected methods for setting outputs.
virtual void AddOutput (DataObject *output)
 Adds an output to the first null position in the output list.
virtual void RemoveOutput (DataObject *output)
virtual void SetNumberOfRequiredOutputs (unsigned int _arg)
virtual const unsigned intGetNumberOfRequiredOutputs ()
void SetNumberOfOutputs (unsigned int num)
 Called to allocate the output array.
virtual void GenerateOutputRequestedRegion (DataObject *output)
 Given one output whose requested region has been set, how should the requested regions for the remaining outputs of the process object be set? By default, all the outputs are set to the same requested region.
virtual void GenerateOutputInformation ()
 Generate the information decribing the output data.
virtual void PropagateResetPipeline ()
 Called to allocate the input array.
virtual void ReleaseInputs ()
 A filter may need to release its input's bulk data after it has finished calculating a new output.
virtual void CacheInputReleaseDataFlags ()
 Cache the state of any ReleaseDataFlag's on the inputs.
virtual void RestoreInputReleaseDataFlags ()
 Restore the cached input ReleaseDataFlags.
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void PrintHeader (std::ostream &os, Indent indent) const
 Define a default print header for all objects.
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 Define a default print trailer for all objects.

Protected Attributes

bool m_Updating
 These ivars are made protected so filters like itkStreamingImageFilter can access them directly.
TimeStamp m_OutputInformationMTime
 Time when GenerateOutputInformation was last called.
InternalReferenceCountType m_ReferenceCount
 Number of uses of this object by other objects.
SimpleFastMutexLock m_ReferenceCountLock
 Mutex lock to protect modification to the reference count.

Private Member Functions

 DisparityMapEstimationMethod (const Self &)
void operator= (const Self &)

Private Attributes

MetricPointerType m_Metric
 The metric used for local registration.
OptimizerPointerType m_Optimizer
 The optimizer used for local registration.
TransformPointerType m_Transform
 The transform used for local registration.
InterpolatorPointerType m_Interpolator
 The interpolator used for local registration.
ParametersType m_InitialTransformParameters
 The initial transform parameters.
SizeType m_ExploSize
 The size of the exploration area.
SizeType m_WinSize
 The size of the window.

Detailed Description

template<class TFixedImage, class TMovingImage, class TPointSet>
class otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >

This class performs an estimation of the local deformation modelled by a given transform between the fixed and the moving image, at each point of the given point set.

It uses the ITK registration framework locally for each point and thus provides the flexibility of this framework. The parameters of each transform are stored in the ouptut point set associated data. Optimizer, metric, interpolator and transform fixed parameters have to be set by the user.

This filters returns the pointset enriched with a set of value as PointData, in order of apparition :

This class is derived from the MAECENAS code provided by Jordi Inglada, from CNES.

See also:
FineRegistrationImageFilter, FastCorrelationImageFilter

Definition at line 52 of file otbDisparityMapEstimationMethod.h.


Member Typedef Documentation

template<class TFixedImage , class TMovingImage , class TPointSet >
typedef itk::DataObject::Pointer otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::DataObjectPointer

Smart Pointer type to a DataObject.

Reimplemented from otb::PointSetSource< TPointSet >.

Definition at line 110 of file otbDisparityMapEstimationMethod.h.

template<class TFixedImage , class TMovingImage , class TPointSet >
typedef TFixedImage otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::FixedImageType

Typedef for the Fixed image.

Definition at line 66 of file otbDisparityMapEstimationMethod.h.

typedef int itk::LightObject::InternalReferenceCountType [protected, inherited]

Define the type of the reference count according to the target.

This allows the use of atomic operations

Definition at line 137 of file itkLightObject.h.

template<class TFixedImage , class TMovingImage , class TPointSet >
typedef MetricType::InterpolatorType otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::InterpolatorType

Typedef for the generic interpolator.

Definition at line 98 of file otbDisparityMapEstimationMethod.h.

template<class TFixedImage , class TMovingImage , class TPointSet >
typedef itk::ImageToImageMetric<FixedImageType, MovingImageType> otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::MetricType

Typedef for the generic metric.

Definition at line 84 of file otbDisparityMapEstimationMethod.h.

template<class TFixedImage , class TMovingImage , class TPointSet >
typedef TMovingImage otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::MovingImageType

Typedef for the Moving image.

Definition at line 75 of file otbDisparityMapEstimationMethod.h.

template<class TFixedImage , class TMovingImage , class TPointSet >
typedef itk::SingleValuedNonLinearOptimizer otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::OptimizerType

Typedef for the generic optimizer.

Definition at line 102 of file otbDisparityMapEstimationMethod.h.

template<class TFixedImage , class TMovingImage , class TPointSet >
typedef DisparityMapEstimationMethod otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::Self

Standard class typedefs.

Reimplemented from otb::PointSetSource< TPointSet >.

Definition at line 57 of file otbDisparityMapEstimationMethod.h.

template<class TFixedImage , class TMovingImage , class TPointSet >
typedef MetricType::TransformType otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::TransformType

Typedef for the generic transform .

Definition at line 89 of file otbDisparityMapEstimationMethod.h.


Member Function Documentation

virtual void itk::ProcessObject::AbortGenerateDataOn (  )  [virtual, inherited]

Turn on and off the AbortGenerateData flag.

void itk::ProcessObject::AddInput ( DataObject input  )  [protected, virtual, inherited]
unsigned long itk::Object::AddObserver ( const EventObject event,
Command cmd 
) [inherited]

Allow people to add/remove/invoke observers (callbacks) to any ITK object.

This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects

Definition at line 389 of file itkObject.cxx.

Referenced by otb::StreamingImageVirtualWriter< TInputImage >::GenerateData(), itk::ProgressAccumulator::RegisterInternalFilter(), otb::StreamingImageFileWriter< TInputImage >::UpdateOutputData(), and otb::WriterWatcherBase::WriterWatcherBase().

{
  if (!this->m_SubjectImplementation)
    {
    this->m_SubjectImplementation = new SubjectImplementation;
    }
  return this->m_SubjectImplementation->AddObserver(event,cmd);
}

void itk::ProcessObject::AddOutput ( DataObject output  )  [protected, virtual, inherited]

Adds an output to the first null position in the output list.

Expands the list memory if necessary

Definition at line 390 of file itkProcessObject.cxx.

References itk::DataObject::ConnectSource().

{
  unsigned int idx;
  
  for (idx = 0; idx < m_Outputs.size(); ++idx)
    {
    if ( m_Outputs[idx].IsNull() )
      {
      m_Outputs[idx] = output;

      if (output)
        {
        output->ConnectSource(this, idx);
        }
      this->Modified();
  
      return;
      }
    }
  
  this->SetNumberOfOutputs( static_cast<int>( m_Outputs.size() ) + 1);
  m_Outputs[ static_cast<int>( m_Outputs.size() ) - 1] = output;
  if (output)
    {
    output->ConnectSource(this, static_cast<int>( m_Outputs.size() ) - 1 );
    }
  this->Modified();
}

void itk::LightObject::BreakOnError (  )  [static, inherited]

This method is called when itkExceptionMacro executes.

It allows the debugger to break on error.

Definition at line 149 of file itkLightObject.cxx.

{
  ;  
}

void itk::ProcessObject::CacheInputReleaseDataFlags (  )  [protected, virtual, inherited]

Cache the state of any ReleaseDataFlag's on the inputs.

While the filter is executing, we need to set the ReleaseDataFlag's on the inputs to false in case the current filter is implemented using a mini-pipeline (which will try to release the inputs). After the filter finishes, we restore the state of the ReleaseDataFlag's before the call to ReleaseInputs().

Definition at line 1050 of file itkProcessObject.cxx.

{
  unsigned int idx;
  
  m_CachedInputReleaseDataFlags.resize( m_Inputs.size() );
  for (idx = 0; idx < m_Inputs.size(); ++idx)
    {
    if (m_Inputs[idx])
      {
      m_CachedInputReleaseDataFlags[idx]=m_Inputs[idx]->GetReleaseDataFlag();
      m_Inputs[idx]->ReleaseDataFlagOff();
      }
    else
      {
      m_CachedInputReleaseDataFlags[idx] = false;
      }
    }
} 

LightObject::Pointer itk::Object::CreateAnother ( void   )  const [virtual, inherited]

Create an object from an instance, potentially deferring to a factory.

This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::LightObject.

Reimplemented in otb::Wrapper::ApplicationFactory< TApplication >, otb::BSQImageIOFactory, otb::DefaultImageMetadataInterfaceFactory, otb::FormosatImageMetadataInterfaceFactory, otb::GDALImageIOFactory, otb::IkonosImageMetadataInterfaceFactory, otb::JPEG2000ImageIOFactory, otb::KMLVectorDataIOFactory, otb::LUMImageIOFactory, otb::MSTARImageIOFactory, otb::MWImageIOFactory, otb::OGRVectorDataIOFactory, otb::ONERAImageIOFactory, otb::OpticalDefaultImageMetadataInterfaceFactory, otb::PleiadesImageMetadataInterfaceFactory, otb::QuickBirdImageMetadataInterfaceFactory, otb::RADImageIOFactory, otb::SarDefaultImageMetadataInterfaceFactory, otb::SpotImageMetadataInterfaceFactory, otb::TerraSarImageMetadataInterfaceFactory, otb::TileMapImageIOFactory, otb::WorldView2ImageMetadataInterfaceFactory, itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, itk::CreateObjectFunction< T >, itk::TransformFactoryBase, itk::AnalyzeImageIOFactory, itk::BioRadImageIOFactory, itk::BMPImageIOFactory, itk::Brains2MaskImageIOFactory, itk::DICOMImageIO2Factory, itk::DicomImageIOFactory, itk::GDCMImageIOFactory, itk::GE4ImageIOFactory, itk::GE5ImageIOFactory, itk::GEAdwImageIOFactory, itk::GiplImageIOFactory, itk::JPEGImageIOFactory, itk::LSMImageIOFactory, itk::MetaImageIOFactory, itk::NiftiImageIOFactory, itk::NrrdImageIOFactory, itk::PNGImageIOFactory, itk::RawImageIOFactory< TPixel, VImageDimension >, itk::SiemensVisionImageIOFactory, itk::StimulateImageIOFactory, itk::TIFFImageIOFactory, itk::VTKImageIOFactory, itk::Bruker2DSEQImageIOFactory, itk::MatlabTransformIOFactory, itk::MINC2ImageIOFactory, itk::MRCImageIOFactory, itk::PhilipsRECImageIOFactory, itk::TxtTransformIOFactory, itk::VoxBoCUBImageIOFactory, itk::VTKImageIO2Factory, and itk::SpatialObjectFactoryBase.

Definition at line 231 of file itkObject.cxx.

References itk::SmartPointer< TObjectType >::GetPointer(), and itk::Object::New().

Referenced by itk::StreamingImageIOBase::GetActualNumberOfSplitsForWriting().

{
  return Object::New().GetPointer();
}

void itk::Object::DebugOff (  )  const [virtual, inherited]

Turn debugging output off.

Definition at line 253 of file itkObject.cxx.

{
  m_Debug = false;
}

void itk::Object::DebugOn (  )  const [virtual, inherited]

Turn debugging output on.

Definition at line 242 of file itkObject.cxx.

{
  m_Debug = true;
}

void itk::LightObject::Delete (  )  [virtual, inherited]

Delete an itk object.

Delete a itk object.

This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.

This method should always be used to delete an object when the new operator was used to create it. Using the C++ delete method will not work with reference counting.

Definition at line 88 of file itkLightObject.cxx.

{
  this->UnRegister();
}

virtual void itk::ProcessObject::EnlargeOutputRequestedRegion ( DataObject  )  [inline, virtual, inherited]

Give the process object a chance to indictate that it will produce more output than it was requested to produce.

For example, many imaging filters must compute the entire output at once or can only produce output in complete slices. Such filters cannot handle smaller requested regions. These filters must provide an implementation of this method, setting the output requested region to the size they will produce. By default, a process object does not modify the size of the output requested region.

Reimplemented in otb::ImportImageFilter< TOutputImageType >, otb::ImportVectorImageFilter< TOutputImageType >, otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >, otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, TBufferConverter >, otb::RelabelComponentImageFilter< TInputImage, TOutputImage >, otb::StereorectificationDeformationFieldSource< TInputImage, TOutputImage >, otb::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >, otb::VCAImageFilter< TVectorImage >, otb::ImageFileReader< TOutputImage >, otb::MarkovRandomFieldFilter< TInputImage, TClassifiedImage >, otb::MorphologicalPyramid::Resampler< TInputImage, TOutputImage >, otb::BandsStatisticsAttributesLabelMapFilter< TImage, TFeatureImage >, otb::LabelImageToLabelMapWithAdjacencyFilter< TInputImage, TOutputImage >, otb::LabelMapToLabelImageFilter< TInputImage, TOutputImage >, otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >, itk::CurvatureFlowImageFilter< TInputImage, TOutputImage >, itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >, itk::FastMarchingExtensionImageFilter< TLevelSet, TAuxValue, VAuxDimension, TSpeedImage >, itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >, itk::FFTComplexConjugateToRealImageFilter< TPixel, VDimension >, itk::FFTRealToComplexConjugateImageFilter< TPixel, VDimension >, itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >, itk::IsoContourDistanceImageFilter< TInputImage, TOutputImage >, itk::IsolatedWatershedImageFilter< TInputImage, TOutputImage >, itk::KLMRegionGrowImageFilter< TInputImage, TOutputImage >, itk::MRFImageFilter< TInputImage, TClassifiedImage >, itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField, TRealType >, itk::ReinitializeLevelSetImageFilter< TLevelSet >, itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >, itk::WatershedImageFilter< TInputImage >, itk::BlackTopHatImageFilter< TInputImage, TOutputImage, TKernel >, itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >, itk::ClosingByReconstructionImageFilter< TInputImage, TOutputImage, TKernel >, itk::ConfidenceConnectedImageFilter< TInputImage, TOutputImage >, itk::ConnectedComponentImageFilter< TInputImage, TOutputImage, TMaskImage >, itk::ConnectedThresholdImageFilter< TInputImage, TOutputImage >, itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >, itk::ContourMeanDistanceImageFilter< TInputImage1, TInputImage2 >, itk::DirectedHausdorffDistanceImageFilter< TInputImage1, TInputImage2 >, itk::DoubleThresholdImageFilter< TInputImage, TOutputImage >, itk::ExtractOrthogonalSwath2DImageFilter< TImage >, itk::GradientMagnitudeRecursiveGaussianImageFilter< TInputImage, TOutputImage >, itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >, itk::GrayscaleConnectedClosingImageFilter< TInputImage, TOutputImage >, itk::GrayscaleConnectedOpeningImageFilter< TInputImage, TOutputImage >, itk::GrayscaleFillholeImageFilter< TInputImage, TOutputImage >, itk::GrayscaleGeodesicDilateImageFilter< TInputImage, TOutputImage >, itk::GrayscaleGeodesicErodeImageFilter< TInputImage, TOutputImage >, itk::GrayscaleGrindPeakImageFilter< TInputImage, TOutputImage >, itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >, itk::HausdorffDistanceImageFilter< TInputImage1, TInputImage2 >, itk::HConcaveImageFilter< TInputImage, TOutputImage >, itk::HConvexImageFilter< TInputImage, TOutputImage >, itk::HessianRecursiveGaussianImageFilter< TInputImage, TOutputImage >, itk::HMaximaImageFilter< TInputImage, TOutputImage >, itk::HMinimaImageFilter< TInputImage, TOutputImage >, itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >, itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >, itk::ImportImageFilter< TPixel, VImageDimension >, itk::IsolatedConnectedImageFilter< TInputImage, TOutputImage >, itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >, itk::LaplacianRecursiveGaussianImageFilter< TInputImage, TOutputImage >, itk::MinimumMaximumImageFilter< TInputImage >, itk::NeighborhoodConnectedImageFilter< TInputImage, TOutputImage >, itk::OpeningByReconstructionImageFilter< TInputImage, TOutputImage, TKernel >, itk::OrientImageFilter< TInputImage, TOutputImage >, itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >, itk::RecursiveSeparableImageFilter< TInputImage, TOutputImage >, itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >, itk::SimilarityIndexImageFilter< TInputImage1, TInputImage2 >, itk::SmoothingRecursiveGaussianImageFilter< TInputImage, TOutputImage >, itk::StatisticsImageFilter< TInputImage >, itk::TobogganImageFilter< TInputImage >, itk::VectorConfidenceConnectedImageFilter< TInputImage, TOutputImage >, itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >, itk::ImageFileReader< TOutputImage, ConvertPixelTraits >, itk::ImageSeriesReader< TOutputImage >, itk::AttributeMorphologyBaseImageFilter< TInputImage, TOutputImage, TAttribute, TFunction >, itk::BinaryContourImageFilter< TInputImage, TOutputImage >, itk::BinaryImageToLabelMapFilter< TInputImage, TOutputImage >, itk::BinaryImageToShapeLabelMapFilter< TInputImage, TOutputImage >, itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >, itk::BinaryShapeKeepNObjectsImageFilter< TInputImage >, itk::BinaryShapeOpeningImageFilter< TInputImage >, itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >, itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >, itk::ChangeRegionLabelMapFilter< TInputImage >, itk::LabelContourImageFilter< TInputImage, TOutputImage >, itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >, itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >, itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >, itk::LabelMapFilter< TInputImage, TOutputImage >, itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >, itk::LabelShapeKeepNObjectsImageFilter< TInputImage >, itk::LabelShapeOpeningImageFilter< TInputImage >, itk::LabelStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >, itk::LabelStatisticsOpeningImageFilter< TInputImage, TFeatureImage >, itk::MorphologicalWatershedFromMarkersImageFilter< TInputImage, TLabelImage >, itk::MorphologicalWatershedImageFilter< TInputImage, TOutputImage >, itk::MultiScaleHessianBasedMeasureImageFilter< TInputImage, THessianImage, TOutputImage >, itk::RegionalMaximaImageFilter< TInputImage, TOutputImage >, itk::RegionalMinimaImageFilter< TInputImage, TOutputImage >, itk::ShapeRelabelImageFilter< TInputImage >, itk::SliceBySliceImageFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >, itk::StatisticsRelabelImageFilter< TInputImage, TFeatureImage >, itk::ValuedRegionalExtremaImageFilter< TInputImage, TOutputImage, TFunction1, TFunction2 >, itk::AttributeRelabelImageFilter< TInputImage, TLabelObject, TLabelObjectValuator, TAttributeAccessor >, itk::BinaryAttributeKeepNObjectsImageFilter< TInputImage, TLabelObject, TLabelObjectValuator, TAttributeAccessor >, itk::BinaryAttributeOpeningImageFilter< TInputImage, TLabelObject, TLabelObjectValuator, TAttributeAccessor >, itk::BinaryFillholeImageFilter< TInputImage >, itk::BinaryGrindPeakImageFilter< TInputImage >, itk::BinaryReconstructionByDilationImageFilter< TInputImage >, itk::BinaryReconstructionByErosionImageFilter< TInputImage >, itk::BinaryShapeKeepNObjectsImageFilter< TInputImage >, itk::BinaryShapeOpeningImageFilter< TInputImage >, itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >, itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >, itk::LabelAttributeKeepNObjectsImageFilter< TInputImage, TLabelObject, TLabelObjectValuator, TAttributeAccessor >, itk::LabelAttributeOpeningImageFilter< TInputImage, TLabelObject, TLabelObjectValuator, TAttributeAccessor >, itk::LabelMapMaskImageFilter< TInputImage, TOutputImage >, itk::LabelMapOverlayImageFilter< TInputImage, TFeatureImage, TOutputImage >, itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >, itk::LabelReconstructionByDilationImageFilter< TInputImage >, otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, MeanShift::VectorBufferConverter >, itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >, itk::ReconstructionImageFilter< TInputImage, TOutputImage, std::greater< TOutputImage::PixelType > >, itk::ReconstructionImageFilter< TInputImage, TOutputImage, std::less< TOutputImage::PixelType > >, itk::ImageFileReader< TOutputImage >, itk::AttributeMorphologyBaseImageFilter< TInputImage, TOutputImage, TAttribute, std::less< TInputImage::PixelType > >, itk::AttributeMorphologyBaseImageFilter< TInputImage, TOutputImage, TAttribute, std::greater< TInputImage::PixelType > >, itk::LabelMapFilter< TInputImage, TInputImage >, itk::LabelMapFilter< TLabelMap, TLabelMap >, itk::LabelMapFilter< LabelMapWithAdjacency< TLabelObject >, LabelMapWithAdjacency< TLabelObject > >, itk::LabelMapFilter< TInputLabelMap, TOutputImage >, itk::LabelMapFilter< TImage, TImage >, itk::LabelMapFilter< TInputLabelMap, TInputLabelMap >, itk::ValuedRegionalExtremaImageFilter< TInputImage, TOutputImage, std::greater< TInputImage::PixelType >, std::greater< TOutputImage::PixelType > >, and itk::ValuedRegionalExtremaImageFilter< TInputImage, TOutputImage, std::less< TInputImage::PixelType >, std::less< TOutputImage::PixelType > >.

Definition at line 224 of file itkProcessObject.h.

{};

template<class TFixedImage , class TMovingImage , class TPointSet >
void otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::GenerateData ( void   )  [protected, virtual]

Main computation method.

Iterate through the point set

Reimplemented from itk::ProcessObject.

Definition at line 131 of file otbDisparityMapEstimationMethod.txx.

{
  // inputs pointers
  const FixedImageType *  fixed = this->GetFixedImage();
  const MovingImageType * moving = this->GetMovingImage();
  const PointSetType *    pointSet = this->GetPointSet();
  PointSetType*           output = this->GetOutput();

  // Typedefs
  typedef typename PointSetType::PointsContainer                        PointsContainer;
  typedef typename PointsContainer::ConstIterator                       PointsIterator;
  typedef itk::ImageRegistrationMethod<FixedImageType, MovingImageType> RegistrationType;
  typedef otb::ExtractROI<FixedPixelType, FixedPixelType>               FixedExtractType;
  typedef otb::ExtractROI<MovingPixelType, MovingPixelType>             MovingExtractType;

  // points retrieving
  typename PointsContainer::ConstPointer points = pointSet->GetPoints();

  // Iterator set up
  PointsIterator pointIterator = points->Begin();
  PointsIterator end = points->End();
  unsigned int   dataId = 0;

  otbMsgDevMacro(<< "Starting registration");

  while (pointIterator != end)
    {
    typename PointSetType::PointType p = pointIterator.Value();   // access the point

    // Extract the needed sub-images
    typename FixedExtractType::Pointer  fixedExtractor = FixedExtractType::New();
    typename MovingExtractType::Pointer movingExtractor = MovingExtractType::New();
    fixedExtractor->SetInput(fixed);
    movingExtractor->SetInput(moving);

    // Fixed extractor setup
    fixedExtractor->SetStartX(static_cast<unsigned long>(p[0] - m_ExploSize[0]));
    fixedExtractor->SetStartY(static_cast<unsigned long>(p[1] - m_ExploSize[1]));
    fixedExtractor->SetSizeX(static_cast<unsigned long>(2 * m_ExploSize[0] + 1));
    fixedExtractor->SetSizeY(static_cast<unsigned long>(2 * m_ExploSize[1] + 1));
    otbMsgDevMacro(<< "Point id: " << dataId);
    otbMsgDevMacro(
      << "Fixed region: origin(" << p[0] - m_ExploSize[0] << ", " << p[1] - m_ExploSize[1] << ") size(" << 2 *
      m_ExploSize[0] + 1 << ", " << 2 * m_ExploSize[1] + 1 << ")");
    // Moving extractor setup
    movingExtractor->SetStartX(static_cast<unsigned long>(p[0] - m_WinSize[0]));
    movingExtractor->SetStartY(static_cast<unsigned long>(p[1] - m_WinSize[1]));
    movingExtractor->SetSizeX(static_cast<unsigned long>(2 * m_WinSize[0] + 1));
    movingExtractor->SetSizeY(static_cast<unsigned long>(2 * m_WinSize[1] + 1));
    otbMsgDevMacro(
      << "Moving region: origin(" << p[0] - m_WinSize[0] << ", " << p[1] - m_WinSize[1] << ") size(" << 2 *
      m_WinSize[0] + 1 << ", " << 2 * m_WinSize[1] + 1 << ")");
    // update the extractors
    fixedExtractor->Update();
    movingExtractor->Update();

//     std::cout<<"Fixed extract origin: "<<fixedExtractor->GetOutput()->GetOrigin()<<std::endl;
//     std::cout<<"Fixed extract spacing: "<<fixedExtractor->GetOutput()->GetSpacing()<<std::endl;
//     std::cout<<"Moving extract origin: "<<movingExtractor->GetOutput()->GetOrigin()<<std::endl;
//     std::cout<<"Moving extract spacing: "<<movingExtractor->GetOutput()->GetSpacing()<<std::endl;

//     typedef otb::StreamingImageFileWriter<FixedImageType> FixedWriterType;
//      typedef otb::StreamingImageFileWriter<MovingImageType> MovingWriterType;

//      typename FixedWriterType::Pointer fwriter = FixedWriterType::New();
//      typename MovingWriterType::Pointer mwriter = MovingWriterType::New();

//      std::ostringstream oss;
//      oss.str("");
//      oss<<"Fixed"<<dataId<<".tif";
//      fwriter->SetInput(fixedExtractor->GetOutput());
//      fwriter->SetFileName(oss.str());
//      fwriter->Update();

//      oss.str("");
//      oss<<"Moving"<<dataId<<".tif";
//      mwriter->SetInput(movingExtractor->GetOutput());
//      mwriter->SetFileName(oss.str());
//      mwriter->Update();

    // Registration filter definition
    typename RegistrationType::Pointer registration = RegistrationType::New();

    // Registration filter setup
    registration->SetOptimizer(m_Optimizer);
    registration->SetTransform(m_Transform);
    registration->SetInterpolator(m_Interpolator);
    registration->SetMetric(m_Metric);
    registration->SetFixedImage(fixedExtractor->GetOutput());
    registration->SetMovingImage(movingExtractor->GetOutput());

    // initial transform parameters setup
    registration->SetInitialTransformParameters(m_InitialTransformParameters);
    m_Interpolator->SetInputImage(movingExtractor->GetOutput());

    // Perform the registration
    registration->StartRegistration();

    // Retrieve the final parameters
    ParametersType finalParameters = registration->GetLastTransformParameters();
    double         value = m_Optimizer->GetValue(registration->GetLastTransformParameters());

    // Computing moving image point
    typename FixedImageType::PointType inputPoint, outputPoint;
    typename FixedImageType::IndexType inputIndex;

    // ensure that we have the right coord rep type
    inputIndex[0] = static_cast<unsigned int>(p[0]);
    inputIndex[1] = static_cast<unsigned int>(p[1]);

    fixed->TransformIndexToPhysicalPoint(inputIndex, inputPoint);

    m_Transform->SetParameters(finalParameters);
    outputPoint = m_Transform->TransformPoint(inputPoint);

    otbMsgDevMacro(<< "Metric value: " << value);
    otbMsgDevMacro(<< "Transform parameters: " << finalParameters);
    otbMsgDevMacro(
      << "Deformation: (" << outputPoint[0] - inputPoint[0] << ", " << outputPoint[1] - inputPoint[1] << ")");
    otbMsgDevMacro(<< "Final parameters: " << finalParameters);

    ParametersType data(finalParameters.GetSize() + 3);

    data[0] = value;
    data[1] = outputPoint[0] - inputPoint[0];
    data[2] = outputPoint[1] - inputPoint[1];

    for (unsigned int i = 0; i < finalParameters.GetSize(); ++i)
      {
      data[i + 3] = finalParameters[i];
      }

    // Set the parameters value in the point set data container.
    output->SetPoint(dataId, p);
    output->SetPointData(dataId, data);
    // otbMsgDevMacro(<<"Point "<<dataId<<": "<<finalParameters);
    ++pointIterator; // advance to next point
    ++dataId;
    }
}

void otb::PointSetSource< TPointSet >::GenerateInputRequestedRegion ( void   )  [protected, virtual, inherited]

Requested region of Point Set is specified as i of N unstructured regions.

Since all DataObjects should be able to set the requested region in unstructured form, just copy output->RequestedRegion all inputs.

Reimplemented from itk::ProcessObject.

void itk::ProcessObject::GenerateOutputInformation ( void   )  [protected, virtual, inherited]

Generate the information decribing the output data.

Default implementation - copy information from first input to all outputs.

The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.

Reimplemented in otb::BoxAndWhiskerImageFilter< TInputImage >, otb::ChangeLabelImageFilter< TInputImage, TOutputImage >, otb::ClampImageFilter< TInputImage, TOutputImage >, otb::ClampVectorImageFilter< TInputImage, TOutputImage >, otb::ComplexToVectorImageCastFilter< TInputImage, TOutputImage >, otb::ConcatenateScalarValueImageFilter< TInputImage, TOutputImage >, otb::DecimateImageFilter< TInputImage, TOutputImage >, otb::EstimateInnerProductPCAImageFilter< TInputImage, TOutputImage >, otb::FastICAImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >, otb::FastICAInternalOptimizerVectorImageFilter< TInputImage, TOutputImage >, otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >, otb::ImageListToImageListApplyFilter< TInputImageList, TOutputImageList, TFilter >, otb::ImageListToVectorImageFilter< TImageList, TVectorImage >, otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >, otb::ImportGeoInformationImageFilter< TImage, TSourceImage >, otb::ImportImageFilter< TOutputImageType >, otb::ImportVectorImageFilter< TOutputImageType >, otb::InnerProductPCAImageFilter< TInputImage, TOutputImage >, otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >, otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >, otb::MeanShiftImageFilter2< TInputImage, TOutputImage, TKernel, TNorm, TOutputMetricImage, TOutputIterationImage >, otb::MNFImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >, otb::NormalizeInnerProductPCAImageFilter< TInputImage, TOutputImage >, otb::PCAImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >, otb::PerBandVectorImageFilter< TInputImage, TOutputImage, TFilter >, otb::PointSetToDensityImageFilter< TInputPointSet, TOutputImage, TDensityFunction >, otb::PrintableImageFilter< TInputImage, TMaskImage >, otb::ProjectiveProjectionImageFilter< TInputImage, TOutputImage, TPrecision >, otb::RasterizeVectorDataFilter< TVectorData, TInputImage, TOutputImage >, otb::ShiftScaleVectorImageFilter< TInputImage, TOutputImage >, otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >, otb::PersistentCompareImageFilter< TInputImage >, otb::PersistentInnerProductVectorImageFilter< TInputImage >, otb::PersistentMatrixTransposeMatrixImageFilter< TInputImage, TInputImage2 >, otb::PersistentMinMaxImageFilter< TInputImage >, otb::PersistentMinMaxVectorImageFilter< TInputImage >, otb::StreamingResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, otb::PersistentShrinkImageFilter< TInputImage, TOutputImage >, otb::PersistentStatisticsImageFilter< TInputImage >, otb::PersistentStreamingStatisticsVectorImageFilter< TInputImage, TPrecision >, otb::ThresholdVectorImageFilter< TInputImage, TOutputImage >, otb::TileImageFilter< TImage >, otb::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >, otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >, otb::UnaryFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction >, otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >, otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >, otb::VectorDataToLabelImageFilter< TVectorData, TOutputImage >, otb::VectorImageTo3DScalarImageFilter< TInputImage, TOutputImage >, otb::VectorImageToImageListFilter< TVectorImageType, TImageList >, otb::PersistentVectorImageToMatrixFilter< TInputImage >, otb::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >, otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >, otb::BinaryFunctorNeighborhoodVectorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >, otb::ConcatenateVectorImageFilter< TInputImage1, TInputImage2, TOutputImage >, otb::DifferenceImageFilter< TInputImage, TOutputImage >, otb::ExtractROI< TInputPixel, TOutputPixel >, otb::ExtractROIBase< TInputImage, TOutputImage >, otb::GISTableToLabelMapFilter< TGISTable, TLabelMap >, otb::ImageOfVectorsToMonoChannelExtractROI< TInputImage, TOutputImage >, otb::ImageToVectorImageCastFilter< TInputImage, TOutputVectorImage >, otb::MultiChannelExtractROI< TInputPixelType, TOutputPixelType >, otb::MultiToMonoChannelExtractROI< TInputPixelType, TOutputPixelType >, otb::VectorDataToImageFilter< TVectorData, TImage >, otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >, otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData >, otb::AdhesionCorrectionFilter< TImage, TMask >, otb::BSplinesInterpolateTransformDeformationFieldGenerator< TPointSet, TDeformationField >, otb::DisparityMapMedianFilter< TInputImage, TOutputImage, TMask >, otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >, otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDeformationField >, otb::PointSetToDeformationFieldGenerator< TPointSet, TDeformationField >, otb::StereorectificationDeformationFieldSource< TInputImage, TOutputImage >, otb::AddCarvingPathFilter< TInputImage, TInputPath, TOutputImage >, otb::ForwardFourierMellinTransformImageFilter< TPixel, TInterpol, Dimension >, otb::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >, otb::ImageToCarvingPathFilter< TInputImage, TOutputPath >, otb::ImageToEdgePathFilter< TInputImage, TOutputPath >, otb::ImageToPathListAlignFilter< TInputImage, TOutputPath >, otb::LineSpatialObjectListToRightAnglePointSetFilter< TImage, TLinesList, TPointSet >, otb::RegionImageToRectangularPathListFilter< TInputImage, TOutputPath >, otb::RemoveCarvingPathFilter< TInputImage, TInputPath, TOutputImage >, otb::SFSTexturesImageFilter< TInputImage, TOutputImage >, otb::MDMDNMFImageFilter< TInputImage, TOutputImage >, otb::VCAImageFilter< TVectorImage >, otb::DEMToImageGenerator< TDEMImage >, otb::ImageFileReader< TOutputImage >, otb::PointSetFileReader< TOutputPointSet >, otb::VectorDataFileReader< TOutputVectorData >, otb::PeriodicSOM< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >, otb::ROIdataConversion< TInputImage, TInputROIImage >, otb::SOM< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >, otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >, otb::SVMImageClassificationWithRuleFilter< TInputImage, TOutputImage, TMaskImage >, otb::MarkovRandomFieldFilter< TInputImage, TClassifiedImage >, otb::GeodesicMorphologyIterativeDecompositionImageFilter< TImage, TStructuringElement >, otb::ImageToProfileFilter< TInputImage, TOutputImage, TFilter, TParameter >, otb::MorphologicalPyramidAnalysisFilter< TInputImage, TOutputImage, TMorphoFilter >, otb::MorphologicalPyramid::Resampler< TInputImage, TOutputImage >, otb::MorphologicalPyramidSegmentationFilter< TInputImage, TOutputImage >, otb::MorphologicalPyramidSynthesisFilter< TInputImage, TOutputImage >, otb::ProfileDerivativeToMultiScaleCharacteristicsFilter< TInputImage, TOutputImage, TLabeledImage >, otb::ProfileToProfileDerivativeFilter< TInputImage, TOutputImage >, otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >, otb::WaveletFilterBank< TInputImage, TOutputImage, TWaveletOperator, Wavelet::FORWARD >, otb::WaveletFilterBank< TInputImage, TOutputImage, TWaveletOperator, Wavelet::INVERSE >, otb::WaveletPacketTransform< TInputImage, TOutputImage, TFilter, Wavelet::INVERSE, FullyDecomposedWaveletPacketCost< TInputImage > >, otb::WaveletTransform< TInputImage, TOutputImage, TFilter, Wavelet::INVERSE >, otb::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >, otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >, otb::PersistentDescriptorsListSampleGenerator< TInputImage, TVectorData, TFunctionType, TListSample, TLabelListSample >, otb::PersistentObjectDetectionClassifier< TInputImage, TOutputVectorData, TLabel, TFunctionType >, otb::GCPsToRPCSensorModelImageFilter< TImage >, otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >, otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >, otb::OrthoRectificationFilter< TInputImage, TOutputImage, TMapProjection, TInterpolatorPrecision >, otb::PhysicalToRPCSensorModelImageFilter< TImage >, otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >, otb::ReflectanceToSurfaceReflectanceImageFilter< TInputImage, TOutputImage >, otb::SurfaceAdjacencyEffect6SCorrectionSchemeFilter< TInputImage, TOutputImage >, otb::MultiChannelsPolarimetricSynthesisFilter< TInputImage, TOutputImage, TFunction >, otb::PolarimetricSynthesisFilter< TInputImageHH, TInputImageHV, TInputImageVH, TInputImageVV, TOutputImage, TFunction >, otb::SinclairImageFilter< TInputImageHH, TInputImageHV, TInputImageVH, TInputImageVV, TOutputImage, TFunction >, otb::SinclairReciprocalImageFilter< TInputImageHH, TInputImageHV_VH, TInputImageVV, TOutputImage, TFunction >, otb::ImageSimulationMethod< TInputVectorData, TSpatialisation, TSimulationStep1, TSimulationStep2, TFTM, TOutputImage >, otb::LabelMapToSimulatedImageFilter< TInputLabelMap, TSimuStep1, TSimuStep2, TOutputImage >, otb::SpatialisationFilter< TLabelMap >, otb::SurfaceReflectanceToReflectanceFilter< TInputImage, TOutputImage >, otb::ImageToGrayscaleAnaglyphImageFilter< TInputImage1, TInputImage2, TOutputImage >, otb::VectorImageToColorAnaglyphVectorImageFilter< TInputImage1, TInputImage2, TOutputImage >, itk::BayesianClassifierImageFilter< TInputVectorImage, TLabelsType, TPosteriorsPrecisionType, TPriorsPrecisionType >, itk::BayesianClassifierInitializationImageFilter< TInputImage, TProbabilityPrecisionType >, itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >, itk::FastMarchingExtensionImageFilter< TLevelSet, TAuxValue, VAuxDimension, TSpeedImage >, itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >, itk::FFTComplexConjugateToRealImageFilter< TPixel, VDimension >, itk::FFTRealToComplexConjugateImageFilter< TPixel, VDimension >, itk::MRFImageFilter< TInputImage, TClassifiedImage >, itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField, TRealType >, itk::MultiResolutionPyramidImageFilter< TInputImage, TOutputImage >, itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >, itk::VoronoiDiagram2DGenerator< TCoordType >, itk::AccumulateImageFilter< TInputImage, TOutputImage >, itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >, itk::ChangeInformationImageFilter< TInputImage >, itk::CropImageFilter< TInputImage, TOutputImage >, itk::DeformationFieldSource< TOutputImage >, itk::ExpandImageFilter< TInputImage, TOutputImage >, itk::ExtractImageFilter< TInputImage, TOutputImage >, itk::ExtractOrthogonalSwath2DImageFilter< TImage >, itk::FlipImageFilter< TImage >, itk::GaussianImageSource< TOutputImage >, itk::GradientImageToBloxBoundaryPointImageFilter< TInputImage >, itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >, itk::ImageToMeshFilter< TInputImage, TOutputMesh >, itk::ImageToParametricSpaceFilter< TInputImage, TOutputMesh >, itk::ImageToVectorImageFilter< TInputImage >, itk::ImportImageFilter< TPixel, VImageDimension >, itk::InterpolateImagePointsFilter< TInputImage, TOutputImage, TCoordType, InterpolatorType >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::JoinSeriesImageFilter< TInputImage, TOutputImage >, itk::OrientImageFilter< TInputImage, TOutputImage >, itk::PadImageFilter< TInputImage, TOutputImage >, itk::ParametricSpaceToImageSpaceMeshFilter< TInputMesh, TOutputMesh >, itk::PathToImageFilter< TInputPath, TOutputImage >, itk::PermuteAxesImageFilter< TImage >, itk::PointSetToImageFilter< TInputPointSet, TOutputImage >, itk::ProjectionImageFilter< TInputImage, TOutputImage, TAccumulator >, itk::RandomImageSource< TOutputImage >, itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::ShrinkImageFilter< TInputImage, TOutputImage >, itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >, itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >, itk::TileImageFilter< TInputImage, TOutputImage >, itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >, itk::VectorExpandImageFilter< TInputImage, TOutputImage >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::VTKImageImport< TOutputImage >, itk::WarpImageFilter< TInputImage, TOutputImage, TDeformationField >, itk::WarpVectorImageFilter< TInputImage, TOutputImage, TDeformationField >, itk::ImageFileReader< TOutputImage, ConvertPixelTraits >, itk::ImageSeriesReader< TOutputImage >, itk::HistogramToImageFilter< THistogram, TFunction >, itk::Statistics::ImageToListGenerator< TImage, TMaskImage >, itk::AutoCropLabelMapFilter< TInputImage >, itk::ChangeRegionLabelMapFilter< TInputImage >, itk::CropLabelMapFilter< TInputImage >, itk::DirectFourierReconstructionImageToImageFilter< TInputPixelType, TOutputPixelType >, itk::FFTComplexToComplexImageFilter< TPixel, NDimension >, itk::GaborImageSource< TOutputImage >, itk::GridImageSource< TOutputImage >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::PadLabelMapFilter< TInputImage >, itk::RegionFromReferenceLabelMapFilter< TInputImage >, itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >, itk::LabelMapMaskImageFilter< TInputImage, TOutputImage >, otb::TernaryFunctorImageFilterWithNBands< TInputImage1, TInputImage2, TInputImage3, TOutputImage, TFunctor >, otb::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ProjectiveProjectionFunctor< TInputImage::PixelType, TOutputImage::PixelType, TPrecision > >, otb::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::UnConstrainedLeastSquareFunctor< TInputImage::PixelType, TOutputImage::PixelType, TPrecision > >, otb::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ReciprocalCoherencyToReciprocalMuellerFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, otb::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ReciprocalCovarianceToReciprocalCoherencyFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, otb::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::NCLSUnmixingFunctor< TInputImage::PixelType, TOutputImage::PixelType, TPrecision > >, otb::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ISRAUnmixingFunctor< TInputImage::PixelType, TOutputImage::PixelType, TPrecision > >, otb::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::MuellerToReciprocalCovarianceFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, otb::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ReciprocalCovarianceToCoherencyDegreeFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, otb::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::MuellerToPolarisationDegreeAndPowerFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, otb::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ReciprocalHAlphaFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, Functor::LocalGradientOperator< itk::ConstNeighborhoodIterator< TInputImage >, TOutputImage::PixelType > >, otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, Functor::HorizontalSobelOperator< itk::ConstNeighborhoodIterator< TInputImage >, TOutputImage::PixelType > >, otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, Functor::VerticalSobelOperator< itk::ConstNeighborhoodIterator< TInputImage >, TOutputImage::PixelType > >, otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, Functor::SobelOperator< itk::ConstNeighborhoodIterator< TInputImage >, TOutputImage::PixelType > >, otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, Functor::LocalActivityOperator< itk::ConstNeighborhoodIterator< TInputImage >, TOutputImage::PixelType > >, otb::UnaryFunctorVectorImageFilter< TInputImage, TOutputImage, Functor::NormalizeVectorImageFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, Functor::ReflectanceToSurfaceReflectanceImageFunctor< TInputImage::InternalPixelType, TOutputImage::InternalPixelType > >, otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, Functor::ImageToLuminanceImageFunctor< TInputImage::InternalPixelType, TOutputImage::InternalPixelType > >, otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, Functor::ImageToReflectanceImageFunctor< TInputImage::InternalPixelType, TOutputImage::InternalPixelType > >, otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, Functor::LuminanceToReflectanceImageFunctor< TInputImage::InternalPixelType, TOutputImage::InternalPixelType > >, otb::BinaryFunctorNeighborhoodVectorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::KullbackLeiblerProfile< itk::ConstNeighborhoodIterator< TInputImage1 >, itk::ConstNeighborhoodIterator< TInputImage2 >, TOutputImage::PixelType > >, otb::ExtractROIBase< VectorImage< TInputPixelType, 2 >, VectorImage< TOutputPixelType, 2 > >, otb::ExtractROIBase< Image< TInputPixel, 2 >, Image< TOutputPixel, 2 > >, otb::ExtractROIBase< VectorImage< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >, otb::VectorDataToVectorDataFilter< TInputVectorData, TInputVectorData >, otb::VectorDataToVectorDataFilter< TVectorData, TVectorData >, otb::ImageToProfileFilter< TInputImage, TOutputImage, itk::OpeningByReconstructionImageFilter< TInputImage, TOutputImage, TStructuringElement >, unsigned int >, otb::ImageToProfileFilter< TInputImage, TOutputImage, itk::ClosingByReconstructionImageFilter< TInputImage, TOutputImage, TStructuringElement >, unsigned int >, itk::ProjectionImageFilter< TInputImage, TOutputImage, Function::BinaryThresholdAccumulator< TInputImage::PixelType, TOutputImage::PixelType > >, itk::ProjectionImageFilter< TInputImage, TOutputImage, Function::MeanAccumulator< TInputImage::PixelType, TAccumulate > >, itk::ProjectionImageFilter< TInputImage, TOutputImage, Function::MinimumAccumulator< TInputImage::PixelType > >, itk::ProjectionImageFilter< TInputImage, TOutputImage, Function::MaximumAccumulator< TInputImage::PixelType > >, itk::ProjectionImageFilter< TInputImage, TOutputImage, Function::BinaryAccumulator< TInputImage::PixelType, TOutputImage::PixelType > >, itk::ProjectionImageFilter< TInputImage, TOutputImage, Function::SumAccumulator< TInputImage::PixelType, TOutputImage::PixelType > >, itk::ProjectionImageFilter< TInputImage, TOutputImage, Function::StandardDeviationAccumulator< TInputImage::PixelType, TAccumulate > >, itk::ProjectionImageFilter< TInputImage, TOutputImage, Function::MedianAccumulator< TInputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Atan< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Cos< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Acos< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::InvertIntensityTransform< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ProjectiveProjectionFunctor< TInputImage::PixelType, TOutputImage::PixelType, TPrecision > >, itk::UnaryFunctorImageFilter< FeatureImageType, ImageType, Functor::Cast< FeatureImageType::PixelType, ImageType::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::SubtractConstantFrom< TInputImage::PixelType, TConstant, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::MultiplyByConstant< TInputImage::PixelType, TConstant, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TLabelImage, TOutputImage, Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::Log< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::Abs< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorAffineTransform< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputVectorImage, TOutputImage, TFunction >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::Exp< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::ComplexToReal< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Cast< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BoundedReciprocal< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::Sigmoid< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputVectorImage, Functor::VectorCast< TInputImage::PixelType, TOutputVectorImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorCast< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::RenderingFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorMagnitudeLinearTransform< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImageImaginaryPart, TOutputImage, Function::ImaginaryToComplex< TInputImageImaginaryPart::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::UnConstrainedLeastSquareFunctor< TInputImage::PixelType, TOutputImage::PixelType, TPrecision > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::IntensityLinearTransform< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::HessianToScalar< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::ComplexToModulus< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::IntensityWindowingTransform< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorToAmplitudeFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::NOT< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::Tan< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::ExpNegative< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ComplexToVector< TInputImage::PixelType, TOutputImage::PixelType >::FunctorType >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::TerraSarBrightnessFunctor< itk::NumericTraits< TInputImage::InternalPixelType >::ValueType, itk::NumericTraits< TOutputImage::InternalPixelType >::ValueType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::DivideByConstant< TInputImage::PixelType, TConstant, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::ComplexToPhase< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ReciprocalCoherencyToReciprocalMuellerFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::SymmetricEigenAnalysisFunction< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::Sin< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::RGBToLuminance< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorShiftScale< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::TensorRelativeAnisotropyFunction< TInputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::MatrixIndexSelection< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::Sqrt< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ReciprocalCovarianceToReciprocalCoherencyFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::NCLSUnmixingFunctor< TInputImage::PixelType, TOutputImage::PixelType, TPrecision > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ConcatenateScalarValueFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ISRAUnmixingFunctor< TInputImage::PixelType, TOutputImage::PixelType, TPrecision > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::MultiplyByScalar< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::DotProductFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::Log10< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::AccessorFunctor< TInputImage::PixelType, TAccessor > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::MuellerToReciprocalCovarianceFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ModulusTransform< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::TensorFractionalAnisotropyFunction< TInputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::ComplexToIntensity< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ReciprocalCovarianceToCoherencyDegreeFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::SOMbasedImageFilterFunctor< TInputImage::PixelType, TOutputImage::PixelType, TDistanceMetric, TMap > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Asin< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TImage, TImage, Functor::Cast< TImage::PixelType, TImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::EdgePotential< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImageRealPart, TOutputImage, Function::RealToComplex< TInputImageRealPart::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::Square< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Log10Thresholded< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ReciprocalLinearCovarianceToReciprocalCircularCovarianceFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::MuellerToPolarisationDegreeAndPowerFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorIndexSelectionCast< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::GradientMagnitude< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Function::ComplexToImaginary< TInputImage::PixelType, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TImage, TImage, Functor::BinaryNot< TImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::AddConstantTo< TInputImage::PixelType, TConstant, TOutputImage::PixelType > >, itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ReciprocalHAlphaFunctor< TInputImage::PixelType, TOutputImage::PixelType > >, itk::ImageFileReader< TOutputImage >, itk::HistogramToImageFilter< THistogram, Function::HistogramIntensityFunction< unsigned long, TOutputPixel > >, itk::HistogramToImageFilter< THistogram, Function::HistogramEntropyFunction< unsigned long, TOutputPixel > >, itk::HistogramToImageFilter< THistogram, Function::HistogramProbabilityFunction< unsigned long, TOutputPixel > >, and itk::HistogramToImageFilter< THistogram, Function::HistogramLogProbabilityFunction< unsigned long, TOutputPixel > >.

Definition at line 1095 of file itkProcessObject.cxx.

Referenced by otb::WaveletFilterBank< TInputImage, TOutputImage, TWaveletOperator, Wavelet::INVERSE >::GenerateOutputInformation(), otb::WaveletFilterBank< TInputImage, TOutputImage, TWaveletOperator, Wavelet::FORWARD >::GenerateOutputInformation(), otb::VCAImageFilter< TVectorImage >::GenerateOutputInformation(), otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::GenerateOutputInformation(), itk::FFTComplexToComplexImageFilter< TPixel, NDimension >::GenerateOutputInformation(), itk::DirectFourierReconstructionImageToImageFilter< TInputPixelType, TOutputPixelType >::GenerateOutputInformation(), and itk::FFTComplexConjugateToRealImageFilter< TPixel, VDimension >::GenerateOutputInformation().

{
  DataObjectPointer input, output;

  if (m_Inputs.size() && m_Inputs[0])
    {
    input = m_Inputs[0];

    for (unsigned int idx = 0; idx < m_Outputs.size(); ++idx)
      {
      output = this->GetOutput(idx);
      if (output)
        {
        output->CopyInformation(input);
        }  
      }
    }
}

void itk::ProcessObject::GenerateOutputRequestedRegion ( DataObject output  )  [protected, virtual, inherited]

Given one output whose requested region has been set, how should the requested regions for the remaining outputs of the process object be set? By default, all the outputs are set to the same requested region.

By default we set all the output requested regions to be the same.

If a filter needs to produce different requested regions for each output, for instance an image processing filter producing several outputs at different resolutions, then that filter may override this method and set the requested regions appropriatedly.

Note that a filter producing multiple outputs of different types is required to override this method. The default implementation can only correctly handle multiple outputs of the same type.

Reimplemented in itk::MultiResolutionPyramidImageFilter< TInputImage, TOutputImage >, itk::RecursiveMultiResolutionPyramidImageFilter< TInputImage, TOutputImage >, itk::watershed::BoundaryResolver< TPixelType, TDimension >, itk::watershed::EquivalenceRelabeler< TScalarType, TImageDimension >, itk::watershed::Relabeler< TScalarType, TImageDimension >, itk::watershed::Segmenter< TInputImage >, itk::watershed::SegmentTreeGenerator< TScalarType >, itk::watershed::Relabeler< ScalarType, itkGetStaticConstMacro(ImageDimension)>, itk::watershed::Segmenter< InputImageType >, and itk::watershed::SegmentTreeGenerator< ScalarType >.

Definition at line 846 of file itkProcessObject.cxx.

{
  DataObjectPointerArraySizeType idx;
  for (idx = 0; idx < m_Outputs.size(); ++idx)
    {
    if (m_Outputs[idx] && m_Outputs[idx] != output)
      {
      m_Outputs[idx]->SetRequestedRegion(output);
      }
    }  
}

virtual const bool& itk::ProcessObject::GetAbortGenerateData (  )  [virtual, inherited]

Get the AbortGenerateData flag for the process object.

Process objects may handle premature termination of execution in different ways.

Command * itk::Object::GetCommand ( unsigned long  tag  )  [inherited]

Get the command associated with the given tag.

NOTE: This returns a pointer to a Command, but it is safe to asign this to a Command::Pointer. Since Command inherits from LightObject, at this point in the code, only a pointer or a reference to the Command can be used.

Definition at line 414 of file itkObject.cxx.

References itk::Object::GetCommand().

Referenced by itk::Object::GetCommand().

{
  if (this->m_SubjectImplementation)
    {
    return this->m_SubjectImplementation->GetCommand(tag);
    }
  return NULL;
}

bool itk::Object::GetDebug (  )  const [inherited]

Get the value of the debug flag.

Definition at line 264 of file itkObject.cxx.

{
  return m_Debug;
}

template<class TFixedImage , class TMovingImage , class TPointSet >
const TFixedImage * otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::GetFixedImage ( void   ) 

Get the fixed image.

Returns:
The fixed image.

Definition at line 98 of file otbDisparityMapEstimationMethod.txx.

References itk::ProcessObject::GetInput().

{
  return static_cast<const FixedImageType *>(this->itk::ProcessObject::GetInput(1));
}

DataObject * itk::ProcessObject::GetInput ( unsigned int  idx  )  [protected, inherited]

Method used internally for getting an input.

Reimplemented in otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >, otb::PointSetToPointSetFilter< TInputPointSet, TOutputPointSet >, otb::RasterizeVectorDataFilter< TVectorData, TInputImage, TOutputImage >, otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >, otb::VectorDataToLabelImageFilter< TVectorData, TOutputImage >, otb::GISTableToLabelMapFilter< TGISTable, TLabelMap >, otb::GISTableToVectorDataFilter< TGISTable, TVectorData >, otb::VectorDataToGISTableFilter< TVectorData, TGISTable >, otb::VectorDataToImageFilter< TVectorData, TImage >, otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >, otb::JointMassOfBeliefFilter< TMassFunction >, otb::KmzProductWriter< TInputImage >, otb::MapFileProductWriter< TInputImage >, otb::VectorDataFileWriter< TInputVectorData >, otb::LabelMapToGISTableFilter< TLabelMap, TGISTable >, otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >, otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >, itk::ImageToMeshFilter< TInputImage, TOutputMesh >, itk::PathToImageFilter< TInputPath, TOutputImage >, itk::PointSetToImageFilter< TInputPointSet, TOutputImage >, itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >, itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >, itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::PathToPathFilter< TInputPath, TOutputPath >, itk::ImageFileWriter< TInputImage >, itk::ImageSeriesWriter< TInputImage, TOutputImage >, itk::ImageToPathFilter< TInputImage, TOutputPath >, otb::VectorDataFileWriter< VectorDataType >, itk::ImageToImageFilter< TInputImage, TOutputModulus >, itk::ImageToImageFilter< TInputImageHH, TOutputImage >, itk::ImageToImageFilter< TVImage, TVImage >, itk::ImageToImageFilter< VectorImage< TInputPixelType, 2 >, VectorImage< TOutputPixelType, 2 > >, itk::ImageToImageFilter< TInputLabelImage, TOutputLabelImage >, itk::ImageToImageFilter< TSpeedImage, TLevelSet >, itk::ImageToImageFilter< TDeformationField, TDeformationField >, itk::ImageToImageFilter< TLabelImage, TOutputImage >, itk::ImageToImageFilter< TInputImage1, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType >, itk::ImageToImageFilter< TInputImage, TInputImage >, itk::ImageToImageFilter< TInputImage, TSparseOutputImage >, itk::ImageToImageFilter< TInputImage, T0utputCorrelation >, itk::ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TDataType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, BloxBoundaryPointImage< ::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, TDisparityImage >, itk::ImageToImageFilter< Image< TPixel, Dimension >, itk::Image< std::complex< TPixel >, Dimension > >, itk::ImageToImageFilter< TInputImageRealPart, TOutputImage >, itk::ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >, Image< TPixel, 3 > >, itk::ImageToImageFilter< TInputImage, TLabelImage >, itk::ImageToImageFilter< Image< TInputPixel1, NDimension >, Image< std::complex< TOutputPixel >, NDimension > >, itk::ImageToImageFilter< Image< TInputPixelType, 3 >, Image< TOutputPixelType, 3 > >, itk::ImageToImageFilter< TInputImage, Image< unsigned long,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TLabelMap, TLabelMap >, itk::ImageToImageFilter< TSourceImage, BloxBoundaryProfileImage< ::itk::GetImageDimension< TSourceImage >::ImageDimension > >, itk::ImageToImageFilter< TInputMap, TOutputImage >, itk::ImageToImageFilter< TInputImage1, TOutputImage >, itk::ImageToImageFilter< FeatureImageType, ImageType >, itk::ImageToImageFilter< BloxBoundaryPointImage< dim >, BloxCoreAtomImage< dim > >, itk::ImageToImageFilter< Image< std::complex< TPixel >, VDimension >, Image< TPixel, VDimension > >, itk::ImageToImageFilter< TInputImageR, TOutputImage >, itk::ImageToImageFilter< TImageType, TImageType >, itk::ImageToImageFilter< TInputImage, otb::Image< TInputImage::PixelType, 1 > >, itk::ImageToImageFilter< TInputImage, VectorImage< TProbabilityPrecisionType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputMultiSpectralImage, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputVectorImage >, itk::ImageToImageFilter< TLabelImage, TIntensityImage >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TOutputValueType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< LabelMapWithAdjacency< TLabelObject >, LabelMapWithAdjacency< TLabelObject > >, itk::ImageToImageFilter< TInputImage, TEigenValueImage >, itk::ImageToImageFilter< TInputVectorImage, Image< TLabelsType,::itk::GetImageDimension< TInputVectorImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, TClassifiedImage >, itk::ImageToImageFilter< TInputImage1, TInputImage1 >, itk::ImageToImageFilter< TFeatureImage, TOutputImage >, itk::ImageToImageFilter< ImageType, ImageType >, itk::ImageToImageFilter< TInputImage, otb::VectorImage< unsigned char, 2 > >, itk::ImageToImageFilter< Image< TPixel, VDimension >, Image< std::complex< TPixel >, VDimension > >, itk::ImageToImageFilter< TVInputImage, TLabelImage >, itk::ImageToImageFilter< TInputModulus, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputHeight >, itk::ImageToImageFilter< TXsImageType, TOutputImageType >, itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImageG, TOutputImage >, itk::ImageToImageFilter< Image< std::complex< TPixel >, NDimension >, Image< std::complex< TPixel >, NDimension > >, itk::ImageToImageFilter< TLevelSet, TLevelSet >, itk::ImageToImageFilter< TMovingImage, TFixedImage >, itk::ImageToImageFilter< TInputLabelMap, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputDisparityImage >, itk::ImageToImageFilter< Image< TInputPixel, 2 >, Image< TOutputPixel, 2 > >, itk::ImageToImageFilter< TImage, TImage >, itk::ImageToImageFilter< TInpuImage, TOutputImage >, itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >, itk::ImageToImageFilter< TVectorImage, TVectorImage >, itk::ImageToImageFilter< TInputImage, VectorImage< TInputImage::InternalPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TDeformationField, TOutputImage >, itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >, itk::ImageToImageFilter< TImage, TImage >, itk::ImageToImageFilter< ImageType, ImageType >, itk::ImageToImageFilter< TInputVectorImage, TOutputImage >, itk::ImageToImageFilter< TInputLabelMap, TInputLabelMap >, itk::ImageToImageFilter< VectorImage< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >, itk::ImageToImageFilter< TInputImageImaginaryPart, TOutputImage >, itk::ImageToImageFilter< TDisparityImage, TOutputDEMImage >, itk::PathToPathFilter< TInputPath, TOutputChainCodePath >, itk::PathToPathFilter< TInputChainCodePath, TOutputFourierSeriesPath >, itk::PathToPathFilter< TFourierSeriesPath, OrthogonallyCorrected2DParametricPath >, and itk::ImageToPathFilter< TInputImage, PolyLineParametricPath< 2 > >.

Definition at line 470 of file itkProcessObject.cxx.

Referenced by otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::BeforeThreadedGenerateData(), itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType >::BeforeThreadedGenerateData(), itk::ImageToVectorImageFilter< TInputImage >::BeforeThreadedGenerateData(), otb::KullbackLeiblerSupervizedDistanceImageFilter< TInputImage1, TInputImage2, TInputROIImage, TOutputImage >::BeforeThreadedGenerateData(), otb::FunctionToImageFilter< TInputImage, TOutputImage, TFunction >::BeforeThreadedGenerateData(), otb::FunctionWithNeighborhoodToImageFilter< TInputImage, TOutputImage, TFunction >::BeforeThreadedGenerateData(), itk::TernaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TOutputImage, TFunction >::BeforeThreadedGenerateData(), itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::CalculateInnerProduct(), itk::EigenAnalysis2DImageFilter< TInputImage, TEigenValueImage, TEigenVectorImage >::GenerateData(), itk::CoreAtomImageToUnaryCorrespondenceMatrixProcess< TSourceImage >::GenerateData(), otb::WaveletTransform< TInputImage, TOutputImage, TFilter, Wavelet::FORWARD >::GenerateData(), itk::CoreAtomImageToDistanceMatrixProcess< TSourceImage >::GenerateData(), itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::GenerateData(), itk::MedialNodeTripletCorrespondenceProcess< TSourceImage >::GenerateData(), otb::WaveletPacketTransform< TInputImage, TOutputImage, TFilter, Wavelet::FORWARD, TCost >::GenerateData(), itk::MedialNodePairCorrespondenceProcess< TSourceImage >::GenerateData(), itk::BloxBoundaryPointImageToBloxBoundaryProfileImageFilter< TSourceImage >::GenerateData(), otb::WaveletTransform< TInputImage, TOutputImage, TFilter, Wavelet::INVERSE >::GenerateData(), itk::BloxBoundaryProfileImageToBloxCoreAtomImageFilter< TInputImage, TOutputImage, TSourceImage >::GenerateData(), itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::GenerateData(), itk::ImageToImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion(), itk::ConvolutionImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion(), otb::RasterizeVectorDataFilter< TVectorData, TInputImage, TOutputImage >::GenerateOutputInformation(), otb::VectorDataToLabelImageFilter< TVectorData, TOutputImage >::GenerateOutputInformation(), otb::WaveletTransform< TInputImage, TOutputImage, TFilter, Wavelet::INVERSE >::GenerateOutputInformation(), otb::MorphologicalPyramidSegmentationFilter< TInputImage, TOutputImage >::GetBrighterDetails(), otb::MorphologicalPyramidSegmentationFilter< TInputImage, TOutputImage >::GetDarkerDetails(), itk::WarpImageFilter< TInputImage, TOutputImage, TDeformationField >::GetDeformationField(), itk::WarpVectorImageFilter< TInputImage, TOutputImage, TDeformationField >::GetDeformationField(), itk::WarpMeshFilter< TInputMesh, TOutputMesh, TDeformationField >::GetDeformationField(), itk::LabelImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetFeatureImage(), otb::BandsStatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::GetFeatureImage(), itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::GetFeatureImage(), itk::LabelStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::GetFeatureImage(), itk::LabelMapOverlayImageFilter< TInputImage, TFeatureImage, TOutputImage >::GetFeatureImage(), otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::GetFeatureImage(), itk::BinaryStatisticsOpeningImageFilter< TInputImage, TFeatureImage >::GetFeatureImage(), itk::StatisticsLabelMapFilter< TImage, TFeatureImage >::GetFeatureImage(), itk::LabelMapMaskImageFilter< TInputImage, TOutputImage >::GetFeatureImage(), itk::LabelStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::GetFeatureImage(), itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetFeatureImage(), otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::GetFixedImage(), itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::GetFixedImage(), itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField, TRealType >::GetFixedImage(), otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDeformationField >::GetFixedInput(), itk::RobustAutomaticThresholdImageFilter< TInputImage, TGradientImage, TOutputImage >::GetGradientImage(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetHorizontalDisparityInput(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetHorizontalDisparityInput(), otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetHorizontalDisparityMapInput(), otb::MorphologicalPyramidSynthesisFilter< TInputImage, TOutputImage >::GetInfDeci(), otb::MorphologicalPyramid::MRToMSConverter< TInputImage, TOutputImage >::GetInfDeci(), otb::MorphologicalPyramid::MRToMSConverter< TInputImage, TOutputImage >::GetInfFilter(), otb::MorphologicalPyramidSynthesisFilter< TInputImage, TOutputImage >::GetInfFilter(), otb::VectorDataToImageFilter< TVectorData, TImage >::GetInput(), otb::Statistics::ListSampleToListSampleFilter< TInputSampleList, TOutputSampleList >::GetInput(), otb::ImageListToImageFilter< TInputImage, TOutputImage >::GetInput(), itk::ImageToPathFilter< TInputImage, TOutputPath >::GetInput(), otb::JointMassOfBeliefFilter< TMassFunction >::GetInput(), itk::PathToImageFilter< TInputPath, TOutputImage >::GetInput(), otb::VectorDataToGISTableFilter< TVectorData, TGISTable >::GetInput(), otb::MorphologicalPyramid::MRToMSConverter< TInputImage, TOutputImage >::GetInput(), otb::ImageListToImageListFilter< TInputImage, TOutputImage >::GetInput(), itk::PointSetToImageFilter< TInputPointSet, TOutputImage >::GetInput(), itk::PathToPathFilter< TInputPath, TOutputPath >::GetInput(), otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::GetInput(), otb::ImageListToRCC8GraphFilter< TInputImage, TOutputGraph >::GetInput(), otb::RCC8GraphFileWriter< TInputGraph >::GetInput(), itk::ImageToImageFilter< TInputImage, TOutputImage >::GetInput(), itk::ImageFileWriter< TInputImage >::GetInput(), otb::ImageToOSMVectorDataGenerator< TImage >::GetInput(), itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::GetInput(), itk::ImageToMeshFilter< TInputImage, TOutputMesh >::GetInput(), otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::GetInput(), otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::GetInput(), otb::AtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms::GetInput(), itk::ImageSeriesWriter< TInputImage, TOutputImage >::GetInput(), otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::GetInput(), otb::GISTableToLabelMapFilter< TGISTable, TLabelMap >::GetInput(), itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::GetInput(), itk::MeshToMeshFilter< TInputMesh, TOutputMesh >::GetInput(), otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::GetInput(), otb::PolygonListToRCC8GraphFilter< TPolygonList, TOutputGraph >::GetInput(), itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GetInput(), otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::GetInput(), otb::VectorDataToLabelImageFilter< TVectorData, TOutputImage >::GetInput(), otb::ProspectModel::GetInput(), otb::LabelMapToGISTableFilter< TLabelMap, TGISTable >::GetInput(), otb::ImageToImageListFilter< TInputImage, TOutputImage >::GetInput(), otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::GetInput1(), otb::BinaryFunctorNeighborhoodImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::GetInput1(), otb::ImageToImageRCC8Calculator< TInputImage >::GetInput1(), otb::PersistentCompareImageFilter< TInputImage >::GetInput1(), otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::GetInput1(), otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::GetInput1(), itk::InterpolateImageFilter< TInputImage, TOutputImage >::GetInput2(), itk::SimilarityIndexImageFilter< TInputImage1, TInputImage2 >::GetInput2(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::GetInput2(), otb::ImageToImageRCC8Calculator< TInputImage >::GetInput2(), itk::DirectedHausdorffDistanceImageFilter< TInputImage1, TInputImage2 >::GetInput2(), otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::GetInput2(), itk::HausdorffDistanceImageFilter< TInputImage1, TInputImage2 >::GetInput2(), itk::ContourMeanDistanceImageFilter< TInputImage1, TInputImage2 >::GetInput2(), otb::LikelihoodPathListFilter< TPath, TImage >::GetInputImage(), itk::watershed::Segmenter< InputImageType >::GetInputImage(), otb::SVMImageModelEstimator< TInputImage, TTrainingImage >::GetInputImage(), itk::RecursiveSeparableImageFilter< TInputImage, TOutputImage >::GetInputImage(), otb::ImageFittingPolygonListFilter< TPath, TImage >::GetInputImage(), otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::GetInputLabel(), otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::GetInputMask(), otb::KMeansImageClassificationFilter< TInputImage, TOutputImage, VMaxSampleDimension, TMaskImage >::GetInputMask(), otb::PrintableImageFilter< TInputImage, TMaskImage >::GetInputMask(), otb::SVMImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::GetInputMask(), otb::SVMPointSetModelEstimator< TInputPointSet, TTrainingPointSet >::GetInputPointSet(), otb::Statistics::ListSampleToListSampleFilter< TInputSampleList, TOutputSampleList >::GetInputSampleList(), itk::watershed::SegmentTreeGenerator< ScalarType >::GetInputSegmentTable(), itk::LabelGeometryImageFilter< TLabelImage, TIntensityImage >::GetIntensityInput(), itk::LabelOverlayImageFilter< TInputImage, TLabelImage, TOutputImage >::GetLabelImage(), itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::GetLabelInput(), itk::LabelMapFilter< TInputLabelMap, TInputLabelMap >::GetLabelMap(), otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::GetLabelSampleList(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetLeftInput(), otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetLeftInput(), otb::SOMClassifier< TSample, TSOMMap, TLabel >::GetMap(), itk::MorphologicalWatershedFromMarkersImageFilter< TInputImage, TLabelImage >::GetMarkerImage(), itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::GetMarkerImage(), itk::BinaryReconstructionByErosionImageFilter< TInputImage >::GetMarkerImage(), itk::BinaryReconstructionByDilationImageFilter< TInputImage >::GetMarkerImage(), itk::LabelReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::GetMarkerImage(), itk::MaskedMovingHistogramImageFilter< TInputImage, TMaskImage, TOutputImage, TKernel, MaskedRankHistogram< TInputImage::PixelType > >::GetMaskImage(), itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::GetMaskImage(), itk::KappaSigmaThresholdImageFilter< TInputImage, TMaskImage, TOutputImage >::GetMaskImage(), itk::BinaryReconstructionByDilationImageFilter< TInputImage >::GetMaskImage(), itk::BinaryReconstructionByErosionImageFilter< TInputImage >::GetMaskImage(), itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::GetMaskImage(), otb::DisparityMapMedianFilter< TInputImage, TOutputImage, TMask >::GetMaskInput(), otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetMasterInput(), otb::AdhesionCorrectionFilter< TImage, TMask >::GetMedianDisparityInput(), itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::GetMovingImage(), itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField, TRealType >::GetMovingImage(), otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::GetMovingImage(), otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::GetPointSet(), otb::PointSetToDeformationFieldGenerator< TPointSet, TDeformationField >::GetPointSet(), otb::MorphologicalPyramidSegmentationFilter< TInputImage, TOutputImage >::GetReferenceImage(), itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType >::GetReferenceImage(), otb::ROIdataConversion< TInputImage, TInputROIImage >::GetROIImage(), otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetSlaveInput(), otb::ImportGeoInformationImageFilter< TImage, TSourceImage >::GetSource(), otb::MorphologicalPyramid::MRToMSConverter< TInputImage, TOutputImage >::GetSupDeci(), otb::MorphologicalPyramidSynthesisFilter< TInputImage, TOutputImage >::GetSupDeci(), otb::MorphologicalPyramid::MRToMSConverter< TInputImage, TOutputImage >::GetSupFilter(), otb::MorphologicalPyramidSynthesisFilter< TInputImage, TOutputImage >::GetSupFilter(), otb::SVMImageModelEstimator< TInputImage, TTrainingImage >::GetTrainingImage(), otb::SVMPointSetModelEstimator< TInputPointSet, TTrainingPointSet >::GetTrainingPointSet(), itk::ConnectedThresholdImageFilter< TInputImage, TOutputImage >::GetUpperInput(), itk::VTKImageExportBase::PipelineModifiedCallback(), itk::DanielssonDistanceMapImageFilter< TInputImage, TOutputImage >::PrepareData(), itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::PrepareData(), itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::PrepareData(), itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::SetReferenceImage(), otb::PolarimetricSynthesisFilter< TInputImageHH, TInputImageHV, TInputImageVH, TInputImageVV, TOutputImage, TFunction >::ThreadedGenerateData(), otb::PersistentObjectDetectionClassifier< TInputImage, TOutputVectorData, TLabel, TFunctionType >::ThreadedGenerateData(), otb::FunctionToImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::ThreadedGenerateData(), itk::TernaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TOutputImage, TFunction >::ThreadedGenerateData(), itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ThreadedGenerateData(), otb::FunctionWithNeighborhoodToImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData(), and itk::VTKImageExportBase::UpdateDataCallback().

{
  if (m_Inputs.size() < i+1)
    {
    return NULL;
    }
  
  return m_Inputs[i].GetPointer();
}

DataObjectPointerArray& itk::ProcessObject::GetInputs (  )  [inline, inherited]

Return an array with all the inputs of this process object.

This is useful for tracing back in the pipeline to construct graphs etc.

Definition at line 108 of file itkProcessObject.h.

Referenced by otb::PipelineMemoryPrintCalculator::EvaluateProcessObjectPrintRecursive().

    {return m_Inputs;}

MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void   )  [inherited]
const MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void   )  const [inherited]
Returns:
A constant reference to this objects MetaDataDictionary.

Reimplemented in otb::ImageMetadataInterfaceBase.

Definition at line 543 of file itkObject.cxx.

{
  if(m_MetaDataDictionary==NULL)
    {
    m_MetaDataDictionary=new MetaDataDictionary;
    }
  return *m_MetaDataDictionary;
}

template<class TFixedImage , class TMovingImage , class TPointSet >
const TMovingImage * otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::GetMovingImage ( void   ) 

Get the fixed image.

Returns:
The fixed image.

Definition at line 120 of file otbDisparityMapEstimationMethod.txx.

References itk::ProcessObject::GetInput().

{
  return static_cast<const MovingImageType *>(this->itk::ProcessObject::GetInput(2));
}

unsigned long itk::Object::GetMTime ( void   )  const [virtual, inherited]

Return this objects modified time.

Return the modification for this object.

Reimplemented in itk::ImageRegistrationMethod< TFixedImage, TMovingImage >, itk::ImageToSpatialObjectRegistrationMethod< TFixedImage, TMovingSpatialObject >, itk::MultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >, itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >, itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >, itk::DeformationFieldSource< TOutputImage >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >, itk::ImageAdaptor< TImage, TAccessor >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >, itk::ImageSpatialObject< TDimension, TPixelType >, itk::MeshSpatialObject< TMesh >, itk::SceneSpatialObject< TSpaceDimension >, itk::SpatialObject< TDimension >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageSpatialObject< TDimension, unsigned char >, itk::SpatialObject< 3 >, and itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >.

Definition at line 286 of file itkObject.cxx.

Referenced by itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetMTime(), itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::GetMTime(), itk::DeformationFieldSource< TOutputImage >::GetMTime(), itk::SpatialObject< TDimension >::GetMTime(), itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::GetMTime(), itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >::GetMTime(), itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::GetMTime(), itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >::GetObjectMTime(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::Initialize(), itk::VTKImageExportBase::PipelineModifiedCallback(), and itk::ProcessObject::UpdateOutputInformation().

{
  return m_MTime.GetMTime();
}

MultiThreader* itk::ProcessObject::GetMultiThreader (  )  [inline, inherited]

Return the multithreader used by this class.

Definition at line 280 of file itkProcessObject.h.

    {return m_Threader;}

template<class TFixedImage , class TMovingImage , class TPointSet >
virtual const char* otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::GetNameOfClass (  )  const [virtual]

Run-time type information (and related methods).

Reimplemented from otb::PointSetSource< TPointSet >.

DataObjectPointerArraySizeType itk::ProcessObject::GetNumberOfInputs (  )  const [inline, inherited]
ProcessObject::DataObjectPointerArraySizeType itk::ProcessObject::GetNumberOfValidRequiredInputs (  )  const [virtual, inherited]

Get the number of valid inputs.

Get the number of specified inputs.

This is the number of non-null entries in the input vector in the first NumberOfRequiredInputs slots. This method is used to determine whether the necessary required inputs have been set. Subclasses of ProcessObject may override this implementation if the required inputs are not the first slots in input vector.

Reimplemented in itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField, TRealType >, and itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >.

Definition at line 112 of file itkProcessObject.cxx.

{
  DataObjectPointerArraySizeType num;
  if (m_NumberOfRequiredInputs < m_Inputs.size())
    {
    num = m_NumberOfRequiredInputs;
    }
  else
    {
    num = m_Inputs.size();
    }
  // count the number of non-null inputs
  // this used to use std::count_if, but that function object
  // did not work correctly with SunPro CC 5.6.
  int count = 0;
  for(std::vector<DataObjectPointer>::const_iterator i = m_Inputs.begin();
      i < (m_Inputs.begin() + num); ++i)
    {
    if((*i).IsNotNull())
      {
      count++;
      }
    }
  return count;
}

OutputPointSetType* otb::PointSetSource< TPointSet >::GetOutput ( void   )  [inherited]

Get the point set output of this process object.

OutputPointSetType* otb::PointSetSource< TPointSet >::GetOutput ( unsigned int  idx  )  [inherited]

Method used internally for getting an output.

Reimplemented from itk::ProcessObject.

DataObjectPointerArray& itk::ProcessObject::GetOutputs (  )  [inline, inherited]

Return an array with all the outputs of this process object.

This is useful for tracing forward in the pipeline to contruct graphs etc.

Definition at line 133 of file itkProcessObject.h.

Referenced by otb::PipelineMemoryPrintCalculator::EvaluateProcessObjectPrintRecursive().

    { return m_Outputs; }

template<class TFixedImage , class TMovingImage , class TPointSet >
const TPointSet * otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::GetPointSet ( void   ) 

Get the source pointset.

Returns:
The source pointset.

Definition at line 76 of file otbDisparityMapEstimationMethod.txx.

References itk::ProcessObject::GetInput().

{
  return static_cast<const PointSetType *>(this->itk::ProcessObject::GetInput(0));
}

virtual const float& itk::ProcessObject::GetProgress (  )  [virtual, inherited]

Get the execution progress of a process object.

The progress is a floating number in [0,1] with 0 meaning no progress and 1 meaning the filter has completed execution.

Referenced by itk::WatershedMiniPipelineProgressCommand::Execute(), itk::LaplacianRecursiveGaussianImageFilter< TInputImage, TOutputImage >::ReportProgress(), and itk::XMLFilterWatcher::ShowProgress().

virtual int itk::LightObject::GetReferenceCount (  )  const [inline, virtual, inherited]

Gets the reference count on this object.

Definition at line 105 of file itkLightObject.h.

    {return static_cast<int>(m_ReferenceCount);}

virtual void otb::PointSetSource< TPointSet >::GraftOutput ( itk::DataObject output  )  [virtual, inherited]

Graft the specified DataObject onto this ProcessObject's output.

This method grabs a handle to the specified DataObject's bulk data to used as its output's own bulk data. It also copies the region ivars (RequestedRegion, BufferedRegion, LargestPossibleRegion) and meta-data (Spacing, Origin) from the specified data object into this filter's output data object. Most importantly, however, it leaves the Source ivar untouched so the original pipeline routing is intact. This method is used when a process object is implemented using a mini-pipeline which is defined in its GenerateData() method. The usage is:

    // setup the mini-pipeline to process the input to this filter
    firstFilterInMiniPipeline->SetInput( this->GetInput() );

    // setup the mini-pipeline to calculate the correct regions
    // and write to the appropriate bulk data block
    lastFilterInMiniPipeline->GraftOutput( this->GetOutput() );

    // execute the mini-pipeline
    lastFilterInMiniPipeline->Update();

    // graft the mini-pipeline output back onto this filter's output.
    // this is needed to get the appropriate regions passed back.
    this->GraftOutput( lastFilterInMiniPipeline->GetOutput() );

For proper pipeline execution, a filter using a mini-pipeline must implement the GenerateInputRequestedRegion(), GenerateOutputRequestedRegion(), GenerateOutputInformation() and EnlargeOutputRequestedRegion() methods as necessary to reflect how the mini-pipeline will execute (in other words, the outer filter's pipeline mechanism must be consistent with what the mini-pipeline will do).

bool itk::Object::HasObserver ( const EventObject event  )  const [inherited]

Return true if an observer is registered for this event.

Definition at line 467 of file itkObject.cxx.

{
  if (this->m_SubjectImplementation)
    {
    return this->m_SubjectImplementation->HasObserver(event);
    }
  return false;
}

void itk::Object::InvokeEvent ( const EventObject event  )  const [inherited]

Call Execute on all the Commands observing this event id.

The actions triggered by this call doesn't modify this object.

Definition at line 457 of file itkObject.cxx.

{
  if (this->m_SubjectImplementation)
    {
    this->m_SubjectImplementation->InvokeEvent(event,this);
    }
}

void itk::Object::InvokeEvent ( const EventObject event  )  [inherited]

Call Execute on all the Commands observing this event id.

Definition at line 446 of file itkObject.cxx.

Referenced by itk::VTKImageExportBase::UpdateDataCallback().

{
  if (this->m_SubjectImplementation)
    {
    this->m_SubjectImplementation->InvokeEvent(event,this);
    }
}

virtual DataObjectPointer otb::PointSetSource< TPointSet >::MakeOutput ( unsigned int  idx  )  [virtual, inherited]

Make a DataObject of the correct type to used as the specified output.

Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a SmartPointer to a DataObject. If a subclass of MeshSource has multiple outputs of different types, then that class must provide an implementation of MakeOutput().

Reimplemented from itk::ProcessObject.

void itk::Object::Modified ( void   )  const [virtual, inherited]

Update the modification time for this object.

Make sure this object's modified time is greater than all others.

Many filters rely on the modification time to determine if they need to recompute their data.

Reimplemented in otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, TBufferConverter >, otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >, otb::ImageRegionAdaptativeSplitter< VImageDimension >, otb::Polygon< TValue >, otb::PolyLineParametricPathWithValue< TValue, VDimension >, otb::SVMModel< TValue, TLabel >, otb::StatisticsXMLFileReader< TMeasurementVector >, otb::GenericRSTransform< TScalarType, NInputDimensions, NOutputDimensions >, otb::PhysicalToRPCSensorModelImageFilter< TImage >, otb::SurfaceAdjacencyEffect6SCorrectionSchemeFilter< TInputImage, TOutputImage >, itk::NormalizeImageFilter< TInputImage, TOutputImage >, itk::ImageAdaptor< TImage, TAccessor >, itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, TFilter >, itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleErodeImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >, itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >, otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, MeanShift::VectorBufferConverter >, otb::PolyLineParametricPathWithValue< TValue, 2 >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, and itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, RankImageFilter< TInputImage, TInputImage, FlatStructuringElement< ::itk::GetImageDimension< TInputImage >::ImageDimension > > >.

Definition at line 297 of file itkObject.cxx.

Referenced by otb::Wrapper::InputVectorDataListParameter::AddFromFileName(), otb::Wrapper::InputImageListParameter::AddFromFileName(), otb::Wrapper::InputImageListParameter::AddImage(), otb::Wrapper::InputVectorDataListParameter::AddNullElement(), otb::Wrapper::InputImageListParameter::AddNullElement(), otb::VectorDataModel::AddPointToGeometry(), otb::Wrapper::InputVectorDataListParameter::AddVectorData(), otb::Wrapper::InputVectorDataListParameter::ClearValue(), otb::Wrapper::InputImageListParameter::ClearValue(), otb::VectorDataModel::EndGeometry(), otb::Wrapper::InputVectorDataListParameter::Erase(), otb::Wrapper::InputImageListParameter::Erase(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::InsertNarrowBandNode(), otb::ImageWidget< TInputImage >::LinearInterpolationOn(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetAutoMinMax(), otb::ImageLayerGenerator< TImageLayer >::SetBlendingFunction(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetCenter(), itk::LBFGSBOptimizer::SetCostFunction(), itk::ImageIOBase::SetDimensions(), itk::ImageIOBase::SetDirection(), otb::MaskMuParserFilter< TInputImage, TOutputImage, TFunction >::SetExpression(), otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::SetExpression(), otb::Wrapper::InputImageListParameter::SetImageList(), itk::Statistics::ScalarImageTextureCalculator< TImageType, THistogramFrequencyContainer >::SetImageMask(), itk::Statistics::ScalarImageTextureCalculator< TImageType, THistogramFrequencyContainer >::SetInput(), otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::SetInputHistogram(), otb::ImageToGenericRSOutputParameters< TImage >::SetInputKeywordList(), itk::Statistics::ScalarImageTextureCalculator< TImageType, THistogramFrequencyContainer >::SetInsidePixelValue(), otb::Wrapper::InputVectorDataListParameter::SetListFromFileName(), otb::Wrapper::InputImageListParameter::SetListFromFileName(), otb::Function::RenderingFunction< TPixel, TRGBPixel >::SetListSample(), itk::Similarity2DTransform< TScalarType >::SetMatrix(), itk::Rigid2DTransform< TScalarType >::SetMatrix(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetMatrix(), otb::FuzzyVariable< TLabel, TPrecision >::SetMembership(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandInnerRadius(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandTotalRadius(), otb::Wrapper::StringListParameter::SetNthElement(), otb::Wrapper::InputVectorDataListParameter::SetNthFileName(), otb::Wrapper::InputImageListParameter::SetNthFileName(), itk::Statistics::ScalarImageTextureCalculator< TImageType, THistogramFrequencyContainer >::SetNumberOfBinsPerAxis(), itk::ImageIOBase::SetNumberOfDimensions(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetOffset(), itk::ImageIOBase::SetOrigin(), otb::ImageToGenericRSOutputParameters< TImage >::SetOutputProjectionRef(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetParameters(), itk::Rigid2DTransform< TScalarType >::SetParameters(), itk::KernelTransform< TScalarType, NDimensions >::SetParameters(), itk::CenteredAffineTransform< TScalarType, NDimensions >::SetParameters(), itk::Statistics::ScalarImageTextureCalculator< TImageType, THistogramFrequencyContainer >::SetPixelValueMinMax(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), otb::RenderingImageFilter< TInputImage, TOutputImage >::SetRenderingFunction(), otb::ImageLayerGenerator< TImageLayer >::SetRenderingFunction(), itk::KernelTransform< TScalarType, NDimensions >::SetSourceLandmarks(), itk::ImageIOBase::SetSpacing(), itk::KernelTransform< TScalarType, NDimensions >::SetTargetLandmarks(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetTranslation(), otb::Wrapper::ListViewParameter::SetValue(), otb::Wrapper::ChoiceParameter::SetValue(), otb::Wrapper::InputVectorDataListParameter::SetVectorDataList(), and itk::AffineTransform< TScalarType, NDimensions >::Translate().

{
  m_MTime.Modified();
  InvokeEvent( ModifiedEvent() );
}

template<class TFixedImage , class TMovingImage , class TPointSet >
static Pointer otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::New (  )  [static]

Method for creation through the object factory.

Reimplemented from otb::PointSetSource< TPointSet >.

void itk::ProcessObject::PrepareOutputs (  )  [virtual, inherited]

An opportunity to deallocate a ProcessObject's bulk data storage.

Some filters may wish to reuse existing bulk data storage to avoid unnecessary deallocation/allocation sequences. The default implementation calls Initialize() on each output. DataObject::Initialize() frees its bulk data by default.

Reimplemented in itk::WatershedImageFilter< TInputImage >.

Definition at line 864 of file itkProcessObject.cxx.

{  
  unsigned int idx;
  
  if (this->GetReleaseDataBeforeUpdateFlag())
    {
    for (idx = 0; idx < m_Outputs.size(); idx++)
      {
      if (m_Outputs[idx])
        {
        m_Outputs[idx]->PrepareForNewData(); 
        }
      }
    }
}

void itk::LightObject::Print ( std::ostream &  os,
Indent  indent = 0 
) const [inherited]

Cause the object to print itself out.

Avoid DLL boundary problems.

This function will be common to all itk objects. It just calls the header/self/trailer virtual print methods, which can be overriden by subclasses (any itk object).

Definition at line 135 of file itkLightObject.cxx.

References itk::Indent::GetNextIndent().

Referenced by itk::operator<<(), and itk::WeakPointer< ProcessObject >::Print().

{
  this->PrintHeader(os, indent); 
  this->PrintSelf(os, indent.GetNextIndent());
  this->PrintTrailer(os, indent);
}

void itk::ProcessObject::PropagateRequestedRegion ( DataObject output  )  [virtual, inherited]

Send the requested region information back up the pipeline (to the filters that preceed this one).

check flag to avoid executing forever if there is a loop

Give the subclass a chance to indicate that it will provide more data then required for the output. This can happen, for example, when a source can only produce the whole output. Although this is being called for a specific output, the source may need to enlarge all outputs.

Give the subclass a chance to define how to set the requested regions for each of its outputs, given this output's requested region. The default implementation is to make all the output requested regions the same. A subclass may need to override this method if each output is a different resolution.

Give the subclass a chance to request a larger requested region on the inputs. This is necessary when, for example, a filter requires more data at the "internal" boundaries to produce the boundary values - such as an image filter that derives a new pixel value by applying some operation to a neighborhood of surrounding original values.

Now that we know the input requested region, propagate this through all the inputs.

Reimplemented in itk::StreamingImageFilter< TInputImage, TOutputImage >, and itk::VTKImageImport< TOutputImage >.

Definition at line 766 of file itkProcessObject.cxx.

{
  if (m_Updating)
    {
    return;
    }

  this->EnlargeOutputRequestedRegion( output );

  this->GenerateOutputRequestedRegion( output );
  
  this->GenerateInputRequestedRegion();

  m_Updating = true;
  DataObjectPointerArraySizeType idx;
  for (idx = 0; idx < m_Inputs.size(); ++idx)
    {
    if (m_Inputs[idx])
      {
      m_Inputs[idx]->PropagateRequestedRegion();
      }
    }
  m_Updating = false;
}

void itk::ProcessObject::PropagateResetPipeline (  )  [protected, virtual, inherited]

Called to allocate the input array.

Copies old inputs. Propagate a call to ResetPipeline() up the pipeline. Called only from DataObject.

Propagate the ResetPipeline call

Definition at line 631 of file itkProcessObject.cxx.

{
  // 
  // Reset this object.
  //
  // Clear the updating flag.
  m_Updating = 0;

  //
  // Loop through the inputs
  //
  unsigned int idx;
  DataObject::Pointer input;
  for (idx = 0; idx < m_Inputs.size(); ++idx)
    {
    if (m_Inputs[idx])
      {
      input = m_Inputs[idx];

      input->PropagateResetPipeline();
      }
    }
}

void itk::ProcessObject::PushBackInput ( const DataObject input  )  [protected, virtual, inherited]

Push/Pop an input of this process object.

Model a queue on the input list by providing a push back.

These methods allow a filter to model its input vector as a queue or stack. These routines may not be appropriate for all filters, especially filters with different types of inputs. These routines follow the semantics of STL.

Reimplemented in itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputModulus >, itk::ImageToImageFilter< TInputImageHH, TOutputImage >, itk::ImageToImageFilter< TVImage, TVImage >, itk::ImageToImageFilter< VectorImage< TInputPixelType, 2 >, VectorImage< TOutputPixelType, 2 > >, itk::ImageToImageFilter< TInputLabelImage, TOutputLabelImage >, itk::ImageToImageFilter< TSpeedImage, TLevelSet >, itk::ImageToImageFilter< TDeformationField, TDeformationField >, itk::ImageToImageFilter< TLabelImage, TOutputImage >, itk::ImageToImageFilter< TInputImage1, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType >, itk::ImageToImageFilter< TInputImage, TInputImage >, itk::ImageToImageFilter< TInputImage, TSparseOutputImage >, itk::ImageToImageFilter< TInputImage, T0utputCorrelation >, itk::ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TDataType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, BloxBoundaryPointImage< ::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, TDisparityImage >, itk::ImageToImageFilter< Image< TPixel, Dimension >, itk::Image< std::complex< TPixel >, Dimension > >, itk::ImageToImageFilter< TInputImageRealPart, TOutputImage >, itk::ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >, Image< TPixel, 3 > >, itk::ImageToImageFilter< TInputImage, TLabelImage >, itk::ImageToImageFilter< Image< TInputPixel1, NDimension >, Image< std::complex< TOutputPixel >, NDimension > >, itk::ImageToImageFilter< Image< TInputPixelType, 3 >, Image< TOutputPixelType, 3 > >, itk::ImageToImageFilter< TInputImage, Image< unsigned long,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TLabelMap, TLabelMap >, itk::ImageToImageFilter< TSourceImage, BloxBoundaryProfileImage< ::itk::GetImageDimension< TSourceImage >::ImageDimension > >, itk::ImageToImageFilter< TInputMap, TOutputImage >, itk::ImageToImageFilter< TInputImage1, TOutputImage >, itk::ImageToImageFilter< FeatureImageType, ImageType >, itk::ImageToImageFilter< BloxBoundaryPointImage< dim >, BloxCoreAtomImage< dim > >, itk::ImageToImageFilter< Image< std::complex< TPixel >, VDimension >, Image< TPixel, VDimension > >, itk::ImageToImageFilter< TInputImageR, TOutputImage >, itk::ImageToImageFilter< TImageType, TImageType >, itk::ImageToImageFilter< TInputImage, otb::Image< TInputImage::PixelType, 1 > >, itk::ImageToImageFilter< TInputImage, VectorImage< TProbabilityPrecisionType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputMultiSpectralImage, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputVectorImage >, itk::ImageToImageFilter< TLabelImage, TIntensityImage >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TOutputValueType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< LabelMapWithAdjacency< TLabelObject >, LabelMapWithAdjacency< TLabelObject > >, itk::ImageToImageFilter< TInputImage, TEigenValueImage >, itk::ImageToImageFilter< TInputVectorImage, Image< TLabelsType,::itk::GetImageDimension< TInputVectorImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, TClassifiedImage >, itk::ImageToImageFilter< TInputImage1, TInputImage1 >, itk::ImageToImageFilter< TFeatureImage, TOutputImage >, itk::ImageToImageFilter< ImageType, ImageType >, itk::ImageToImageFilter< TInputImage, otb::VectorImage< unsigned char, 2 > >, itk::ImageToImageFilter< Image< TPixel, VDimension >, Image< std::complex< TPixel >, VDimension > >, itk::ImageToImageFilter< TVInputImage, TLabelImage >, itk::ImageToImageFilter< TInputModulus, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputHeight >, itk::ImageToImageFilter< TXsImageType, TOutputImageType >, itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImageG, TOutputImage >, itk::ImageToImageFilter< Image< std::complex< TPixel >, NDimension >, Image< std::complex< TPixel >, NDimension > >, itk::ImageToImageFilter< TLevelSet, TLevelSet >, itk::ImageToImageFilter< TMovingImage, TFixedImage >, itk::ImageToImageFilter< TInputLabelMap, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputDisparityImage >, itk::ImageToImageFilter< Image< TInputPixel, 2 >, Image< TOutputPixel, 2 > >, itk::ImageToImageFilter< TImage, TImage >, itk::ImageToImageFilter< TInpuImage, TOutputImage >, itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >, itk::ImageToImageFilter< TVectorImage, TVectorImage >, itk::ImageToImageFilter< TInputImage, VectorImage< TInputImage::InternalPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TDeformationField, TOutputImage >, itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >, itk::ImageToImageFilter< TImage, TImage >, itk::ImageToImageFilter< ImageType, ImageType >, itk::ImageToImageFilter< TInputVectorImage, TOutputImage >, itk::ImageToImageFilter< TInputLabelMap, TInputLabelMap >, itk::ImageToImageFilter< VectorImage< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >, itk::ImageToImageFilter< TInputImageImaginaryPart, TOutputImage >, and itk::ImageToImageFilter< TDisparityImage, TOutputDEMImage >.

Definition at line 234 of file itkProcessObject.cxx.

Referenced by otb::VectorDataToLabelImageFilter< TVectorData, TOutputImage >::AddVectorData(), otb::RasterizeVectorDataFilter< TVectorData, TInputImage, TOutputImage >::AddVectorData(), itk::ImageToImageFilter< TInputImage, TOutputImage >::PushBackInput(), and otb::JointMassOfBeliefFilter< TMassFunction >::PushBackInput().

{
  m_Inputs.push_back(const_cast<DataObject*>(input));
  this->Modified();
}

void itk::Object::Register (  )  const [virtual, inherited]

Increase the reference count (mark as used by another object).

Reimplemented from itk::LightObject.

Definition at line 309 of file itkObject.cxx.

Referenced by itk::ObjectFactoryBase::RegisterFactory().

{
  itkDebugMacro(<< "Registered, "
                << "ReferenceCount = " << (m_ReferenceCount+1));

  // call the parent
  Superclass::Register();
}

void itk::ProcessObject::ReleaseInputs (  )  [protected, virtual, inherited]

A filter may need to release its input's bulk data after it has finished calculating a new output.

The filter may need to release the inputs because the user has turned on the ReleaseDataFlag or it may need to release the inputs because the filter is an "in place" filter and it has overwritten its input with its output data. The implementation here simply checks the ReleaseDataFlag of the inputs. InPlaceImageFilter overrides this method so release the input it has overwritten.

See also:
InPlaceImageFilter::ReleaseInputs()

Reimplemented in otb::HooverInstanceFilter< TLabelMap >, otb::LabelMapSVMClassifier< TInputLabelMap >, itk::InPlaceImageFilter< TInputImage, TOutputImage >, itk::InPlaceLabelMapFilter< TInputImage >, itk::InPlaceImageFilter< TInputImage, TOutputImage >, itk::InPlaceImageFilter< TInputImageG, TOutputImage >, itk::InPlaceImageFilter< TDeformationField, TDeformationField >, itk::InPlaceImageFilter< TInputImage1, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType >, itk::InPlaceImageFilter< TInputImage, TSparseOutputImage >, itk::InPlaceImageFilter< TInputImage >, itk::InPlaceImageFilter< TInputImageImaginaryPart, TOutputImage >, itk::InPlaceImageFilter< TImage >, itk::InPlaceImageFilter< TInputImage1, TOutputImage >, itk::InPlaceImageFilter< Image< TInputPixel1, NDimension >, Image< std::complex< TOutputPixel >, NDimension > >, itk::InPlaceImageFilter< TInputImage, TOutputVectorImage >, itk::InPlaceImageFilter< TInputMultiSpectralImage, TOutputImage >, itk::InPlaceImageFilter< TFeatureImage, TOutputImage >, itk::InPlaceImageFilter< TInputVectorImage, TOutputImage >, itk::InPlaceImageFilter< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::InPlaceImageFilter< TInputImageHH, TOutputImage >, itk::InPlaceImageFilter< TLabelImage, TOutputImage >, itk::InPlaceImageFilter< TInputImageR, TOutputImage >, itk::InPlaceImageFilter< TInputImageRealPart, TOutputImage >, itk::InPlaceImageFilter< FeatureImageType, ImageType >, itk::InPlaceImageFilter< TImage, TImage >, itk::InPlaceImageFilter< TInputImageType, TSparseOutputImageType >, itk::InPlaceLabelMapFilter< TImage >, itk::InPlaceLabelMapFilter< TLabelMap >, and itk::InPlaceLabelMapFilter< TInputLabelMap >.

Definition at line 886 of file itkProcessObject.cxx.

Referenced by itk::watershed::Segmenter< TInputImage >::GenerateData(), itk::InPlaceLabelMapFilter< TInputImage >::ReleaseInputs(), and itk::InPlaceImageFilter< TInputImage, TOutputImage >::ReleaseInputs().

{  
  unsigned int idx;

  for (idx = 0; idx < m_Inputs.size(); ++idx)
    {
    if (m_Inputs[idx])
      {
      if ( m_Inputs[idx]->ShouldIReleaseData() )
        {
        m_Inputs[idx]->ReleaseData();
        }
      }  
    }
}

void itk::Object::RemoveAllObservers (  )  [inherited]

Remove all observers .

Definition at line 435 of file itkObject.cxx.

{
  if (this->m_SubjectImplementation)
    {
    this->m_SubjectImplementation->RemoveAllObservers();
    }
}

void itk::ProcessObject::RemoveInput ( DataObject input  )  [protected, virtual, inherited]

Remove an input.

Removes the first occurence of the given OutputObject from the inputs to this ProcessObject. If it's the last object on the list, shortens the list.

Definition at line 173 of file itkProcessObject.cxx.

{
  if (!input)
    {
    return;
    }
  
  // find the input in the list of inputs
  DataObjectPointerArray::iterator pos = 
    std::find(m_Inputs.begin(), m_Inputs.end(), input);

  if(pos == m_Inputs.end())
    {
    itkDebugMacro("tried to remove an input that was not in the list");
    return;
    }

  // Set the position in the m_Inputs containing input to 0
  *pos = 0;

  // if that was the last input, then shrink the list
  if (pos == m_Inputs.end() - 1 )
    {
    this->SetNumberOfInputs( static_cast<int>( m_Inputs.size() ) - 1);
    }

  this->Modified();
}

void itk::Object::RemoveObserver ( unsigned long  tag  )  [inherited]

Remove the observer with this tag value.

Definition at line 425 of file itkObject.cxx.

Referenced by otb::StreamingImageVirtualWriter< TInputImage >::GenerateData(), and otb::StreamingImageFileWriter< TInputImage >::UpdateOutputData().

{
  if (this->m_SubjectImplementation)
    {
    this->m_SubjectImplementation->RemoveObserver(tag);
    }
}

void itk::ProcessObject::ResetPipeline (  )  [virtual, inherited]

Reset the pipeline.

If an exception is thrown during an Update(), the pipeline may be in an inconsistent state. This method clears the internal state of the pipeline so Update() can be called.

Definition at line 621 of file itkProcessObject.cxx.

{
  if (this->GetOutput(0))
    {
    this->GetOutput(0)->ResetPipeline();
    }
}

virtual void itk::ProcessObject::SetAbortGenerateData ( bool  _arg  )  [virtual, inherited]

Set the AbortGenerateData flag for the process object.

Process objects may handle premature termination of execution in different ways.

void itk::Object::SetDebug ( bool  debugFlag  )  const [inherited]

Set the value of the debug flag.

A non-zero value turns debugging on.

Definition at line 275 of file itkObject.cxx.

{
  m_Debug = debugFlag;
}

template<class TFixedImage , class TMovingImage , class TPointSet >
void otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::SetFixedImage ( const TFixedImage *  image  ) 

Set the fixed image.

Parameters:
image The fixed image.

Definition at line 87 of file otbDisparityMapEstimationMethod.txx.

References itk::ProcessObject::SetNthInput().

{
  this->itk::ProcessObject::SetNthInput(1, const_cast<FixedImageType *>(image));
}

void itk::Object::SetGlobalWarningDisplay ( bool  flag  )  [static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

Set the value of the global debug output control flag.

Definition at line 370 of file itkObject.cxx.

template<class TFixedImage , class TMovingImage , class TPointSet >
virtual void otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::SetInitialTransformParameters ( ParametersType  _arg  )  [virtual]

Set/Get the initial transformation parameters.

template<class TFixedImage , class TMovingImage , class TPointSet >
virtual void otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::SetInterpolator ( InterpolatorType _arg  )  [virtual]

Set/Get the Interpolator.

void itk::Object::SetMetaDataDictionary ( const MetaDataDictionary rhs  )  [inherited]
template<class TFixedImage , class TMovingImage , class TPointSet >
virtual void otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::SetMetric ( MetricType _arg  )  [virtual]

Set/Get the Metric.

template<class TFixedImage , class TMovingImage , class TPointSet >
void otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::SetMovingImage ( const TMovingImage *  image  ) 

Set the moving image.

Parameters:
image The mobing image.

Definition at line 109 of file otbDisparityMapEstimationMethod.txx.

References itk::ProcessObject::SetNthInput().

{
  this->itk::ProcessObject::SetNthInput(2, const_cast<MovingImageType *>(image));
}

void itk::ProcessObject::SetNthInput ( unsigned int  idx,
DataObject input 
) [protected, virtual, inherited]

Protected methods for setting inputs.

Set an Input of this filter.

Subclasses make use of them for setting input.

This method does Register()/UnRegister() manually to deal with the fact that smart pointers aren't around to do the reference counting.

Reimplemented in itk::ImageToVectorImageFilter< TInputImage >.

Definition at line 210 of file itkProcessObject.cxx.

Referenced by itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType >::AddGradientImage(), otb::VectorDataToSpecificDescriptionFilterBase< TVectorData >::AddSupport(), otb::RasterizeVectorDataFilter< TVectorData, TInputImage, TOutputImage >::AddVectorData(), itk::ConnectedThresholdImageFilter< TInputImage, TOutputImage >::ConnectedThresholdImageFilter(), itk::ConnectedThresholdImageFilter< TInputImage, TOutputImage >::GetUpperInput(), itk::watershed::BoundaryResolver< TPixelType, TDimension >::SetBoundaryA(), itk::watershed::BoundaryResolver< TPixelType, TDimension >::SetBoundaryB(), itk::WarpVectorImageFilter< TInputImage, TOutputImage, TDeformationField >::SetDeformationField(), itk::WarpImageFilter< TInputImage, TOutputImage, TDeformationField >::SetDeformationField(), itk::WarpMeshFilter< TInputMesh, TOutputMesh, TDeformationField >::SetDeformationField(), itk::watershed::EquivalenceRelabeler< TScalarType, TImageDimension >::SetEquivalencyTable(), itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetFeatureImage(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetFeatureImage(), itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField, TRealType >::SetFixedImage(), otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::SetFixedImage(), itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::SetFixedImage(), itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImage(), itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType >::SetGradientImage(), otb::RCC8GraphFileWriter< TInputGraph >::SetInput(), itk::Statistics::ImageToListGenerator< TImage, TMaskImage >::SetInput(), otb::ImageToImageListFilter< TInputImage, TOutputImage >::SetInput(), otb::VectorDataToImageFilter< TVectorData, TImage >::SetInput(), otb::ProspectModel::SetInput(), itk::VTKImageExport< TInputImage >::SetInput(), itk::ImageToMeshFilter< TInputImage, TOutputMesh >::SetInput(), itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::SetInput(), itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::SetInput(), otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::SetInput(), otb::ImageToLineSpatialObjectListFilter< TInputImage >::SetInput(), itk::ImageSeriesWriter< TInputImage, TOutputImage >::SetInput(), otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetInput(), otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::SetInput(), itk::HistogramToImageFilter< THistogram, TFunction >::SetInput(), itk::ImageToImageFilter< TInputImage, TOutputImage >::SetInput(), otb::VectorizationPathListFilter< TInputModulus, TInputDirection, TOutputPath >::SetInput(), otb::PolygonListToRCC8GraphFilter< TPolygonList, TOutputGraph >::SetInput(), otb::ImageListToRCC8GraphFilter< TInputImage, TOutputGraph >::SetInput(), itk::ImageFileWriter< TInputImage >::SetInput(), otb::ImageToOSMVectorDataGenerator< TImage >::SetInput(), itk::WatershedImageFilter< TInputImage >::SetInput(), otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SetInput(), otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::SetInput(), otb::LabelMapToGISTableFilter< TLabelMap, TGISTable >::SetInput(), otb::AtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms::SetInput(), otb::ModulusAndDirectionImageToImageFilter< TInputImage, TInputImageDirection, TOutputImage >::SetInput(), otb::ImageListToImageFilter< TInputImage, TOutputImage >::SetInput(), itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SetInput(), itk::PathToImageFilter< TInputPath, TOutputImage >::SetInput(), otb::LineSpatialObjectListToPointSetFilter< TLinesList, TPointSet >::SetInput(), otb::GISTableToLabelMapFilter< TGISTable, TLabelMap >::SetInput(), itk::ImageToPathFilter< TInputImage, TOutputPath >::SetInput(), itk::PathToPathFilter< TInputPath, TOutputPath >::SetInput(), otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::SetInput(), otb::VectorDataToGISTableFilter< TVectorData, TGISTable >::SetInput(), otb::ImageListToImageListFilter< TInputImage, TOutputImage >::SetInput(), itk::PointSetToImageFilter< TInputPointSet, TOutputImage >::SetInput(), itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::SetInput1(), otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::SetInput1(), itk::InterpolateImageFilter< TInputImage, TOutputImage >::SetInput2(), otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::SetInput2(), otb::VectorizationPathListFilter< TInputModulus, TInputDirection, TOutputPath >::SetInputDirection(), itk::watershed::SegmentTreeGenerator< ScalarType >::SetInputEquivalencyTable(), itk::RecursiveSeparableImageFilter< TInputImage, TOutputImage >::SetInputImage(), otb::SVMImageModelEstimator< TInputImage, TTrainingImage >::SetInputImage(), itk::watershed::EquivalenceRelabeler< TScalarType, TImageDimension >::SetInputImage(), otb::LikelihoodPathListFilter< TPath, TImage >::SetInputImage(), otb::ImageFittingPolygonListFilter< TPath, TImage >::SetInputImage(), otb::LineSpatialObjectListToRightAnglePointSetFilter< TImage, TLinesList, TPointSet >::SetInputImage(), itk::watershed::Relabeler< ScalarType, itkGetStaticConstMacro(ImageDimension)>::SetInputImage(), otb::SVMImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::SetInputMask(), otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::SetInputMask(), otb::KMeansImageClassificationFilter< TInputImage, TOutputImage, VMaxSampleDimension, TMaskImage >::SetInputMask(), otb::PrintableImageFilter< TInputImage, TMaskImage >::SetInputMask(), otb::SVMPointSetModelEstimator< TInputPointSet, TTrainingPointSet >::SetInputPointSet(), itk::watershed::Relabeler< ScalarType, itkGetStaticConstMacro(ImageDimension)>::SetInputSegmentTree(), itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::SetInputVelocityImage(), otb::SOMClassifier< TSample, TSOMMap, TLabel >::SetMap(), itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::SetMaskImage(), itk::Statistics::ImageToListGenerator< TImage, TMaskImage >::SetMaskImage(), itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::SetMaskImage(), itk::ReconstructionImageFilter< TInputImage, TOutputImage, TCompare >::SetMaskImage(), itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField, TRealType >::SetMovingImage(), itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::SetMovingImage(), itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::SetMovingImage(), otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::SetMovingImage(), otb::PersistentImageToOGRDataFilter< TImage >::SetOGRDataSource(), otb::FusionOGRTileFilter< TInputImage >::SetOGRDataSource(), otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::SetPointSet(), otb::PointSetToDeformationFieldGenerator< TPointSet, TDeformationField >::SetPointSet(), itk::BayesianClassifierImageFilter< TInputVectorImage, TLabelsType, TPosteriorsPrecisionType, TPriorsPrecisionType >::SetPriors(), itk::HistogramMatchingImageFilter< TInputImage, TOutputImage, THistogramMeasurement >::SetReferenceImage(), itk::RegionFromReferenceLabelMapFilter< TInputImage >::SetReferenceImage(), itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType >::SetReferenceImage(), itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::SetReferenceImage(), itk::ChangeInformationImageFilter< TInputImage >::SetReferenceImage(), otb::SailModel::SetReflectance(), otb::KullbackLeiblerSupervizedDistanceImageFilter< TInputImage1, TInputImage2, TInputROIImage, TOutputImage >::SetTrainingArea(), otb::SVMImageModelEstimator< TInputImage, TTrainingImage >::SetTrainingImage(), otb::MarkovRandomFieldFilter< TInputImage, TClassifiedImage >::SetTrainingInput(), otb::SVMPointSetModelEstimator< TInputPointSet, TTrainingPointSet >::SetTrainingPointSet(), otb::SailModel::SetTransmittance(), itk::ConnectedThresholdImageFilter< TInputImage, TOutputImage >::SetUpper(), itk::ConnectedThresholdImageFilter< TInputImage, TOutputImage >::SetUpperInput(), and itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::SetUpperThreshold().

{
  // does this change anything?
  if ( idx < m_Inputs.size() && m_Inputs[idx] == input )
    {
    return;
    }
  
  // Expand array if necessary.
  if (idx >= m_Inputs.size())
    {
    this->SetNumberOfInputs(idx + 1);
    }
  
  m_Inputs[idx] = input;

  this->Modified();
}

void itk::ProcessObject::SetNthOutput ( unsigned int  idx,
DataObject output 
) [protected, virtual, inherited]

Protected methods for setting outputs.

Set an output of this filter.

Subclasses make use of them for getting output.

This method specifically does not do a Register()/UnRegister() because of the desire to break the reference counting loop.

Definition at line 333 of file itkProcessObject.cxx.

References itk::DataObject::ConnectSource().

Referenced by itk::CoreAtomImageToDistanceMatrixProcess< TSourceImage >::CoreAtomImageToDistanceMatrixProcess(), itk::CoreAtomImageToUnaryCorrespondenceMatrixProcess< TSourceImage >::CoreAtomImageToUnaryCorrespondenceMatrixProcess(), itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::CreateTriangles(), otb::FillGapsFilter::FillGapsFilter(), itk::ImageRegistrationMethod< TFixedImage, TMovingImage >::ImageRegistrationMethod(), itk::ImageToSpatialObjectRegistrationMethod< TFixedImage, TMovingSpatialObject >::ImageToSpatialObjectRegistrationMethod(), itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::InsertNewCells(), itk::MedialNodePairCorrespondenceProcess< TSourceImage >::MedialNodePairCorrespondenceProcess(), itk::MedialNodeTripletCorrespondenceProcess< TSourceImage >::MedialNodeTripletCorrespondenceProcess(), itk::MultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::MultiResolutionImageRegistrationMethod(), itk::MultiScaleHessianBasedMeasureImageFilter< TInputImage, THessianImage, TOutputImage >::MultiScaleHessianBasedMeasureImageFilter(), itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >::PointSetToImageRegistrationMethod(), itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >::PointSetToPointSetRegistrationMethod(), otb::ProspectModel::ProspectModel(), itk::RegularSphereMeshSource< TOutputMesh >::RegularSphereMeshSource(), otb::SailModel::SailModel(), itk::watershed::BoundaryResolver< TPixelType, TDimension >::SetEquivalencyTable(), itk::watershed::Relabeler< ScalarType, itkGetStaticConstMacro(ImageDimension)>::SetOutputImage(), itk::watershed::EquivalenceRelabeler< TScalarType, TImageDimension >::SetOutputImage(), itk::SphereMeshSource< TOutputMesh >::SphereMeshSource(), otb::WaveletFilterBank< TInputImage, TOutputImage, TWaveletOperator, Wavelet::FORWARD >::WaveletFilterBank(), otb::WaveletPacketTransform< TInputImage, TOutputImage, TFilter, Wavelet::FORWARD, TCost >::WaveletPacketTransform(), otb::WaveletTransform< TInputImage, TOutputImage, TFilter, Wavelet::INVERSE >::WaveletTransform(), and otb::WaveletTransform< TInputImage, TOutputImage, TFilter, Wavelet::FORWARD >::WaveletTransform().

{
  // does this change anything?
  if ( idx < m_Outputs.size() && output == m_Outputs[idx])
    {
    return;
    }

  // Expand array if necessary.
  if (idx >= m_Outputs.size())
    {
    this->SetNumberOfOutputs(idx + 1);
    }

  // Keep a handle to the original output and disconnect the old output from
  // the pipeline
  DataObjectPointer oldOutput;
  if ( m_Outputs[idx] )
    {
    oldOutput = m_Outputs[idx];
    m_Outputs[idx]->DisconnectSource(this, idx);
    }

  if (output)
    {
    output->ConnectSource(this, idx);
    }
  // save the current reference (which releases the previous reference)
  m_Outputs[idx] = output;

  // if we are clearing an output, we need to create a new blank output
  // so we are prepared for the next Update(). this copies the requested
  // region ivar
  if (!m_Outputs[idx])
    {
    itkDebugMacro( " creating new output object." );
    DataObjectPointer newOutput = this->MakeOutput(idx);
    this->SetNthOutput(idx, newOutput);

    // If we had an output object before, copy the requested region
    // ivars and release data flag to the the new output
    if (oldOutput)
      {
      newOutput->SetRequestedRegion( oldOutput );
      newOutput->SetReleaseDataFlag( oldOutput->GetReleaseDataFlag() );
      }
    }

  this->Modified();
}

void itk::ProcessObject::SetNumberOfInputs ( unsigned int  num  )  [protected, inherited]
void itk::ProcessObject::SetNumberOfOutputs ( unsigned int  num  )  [protected, inherited]
virtual void itk::ProcessObject::SetNumberOfThreads ( int  _arg  )  [virtual, inherited]
template<class TFixedImage , class TMovingImage , class TPointSet >
virtual void otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::SetOptimizer ( OptimizerType _arg  )  [virtual]

Set/Get the Optimizer.

void otb::PointSetSource< TPointSet >::SetOutput ( OutputPointSetType *  output  )  [inherited]

Set the point set output of this process object.

This call is slated to be removed from ITK. You should GraftOutput() and possible DataObject::DisconnectPipeline() to properly change the output.

template<class TFixedImage , class TMovingImage , class TPointSet >
void otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::SetPointSet ( const TPointSet *  pointset  ) 

Set the source pointset.

Parameters:
pointset The source pointset.

Definition at line 65 of file otbDisparityMapEstimationMethod.txx.

References itk::ProcessObject::SetNthInput().

{
  this->itk::ProcessObject::SetNthInput(0, const_cast<PointSetType *>(pointset));
}

virtual void itk::ProcessObject::SetProgress ( float  _arg  )  [virtual, inherited]

Set the execution progress of a process object.

The progress is a floating number in [0,1] with 0 meaning no progress and 1 meaning the filter has completed execution. The ProgressEvent is NOT invoked.

void itk::Object::SetReferenceCount ( int  ref  )  [virtual, inherited]

Sets the reference count (use with care).

If there is a delete method, invoke it.

Reimplemented from itk::LightObject.

Definition at line 347 of file itkObject.cxx.

{
  itkDebugMacro(<< "Reference Count set to " << ref);

  // ReferenceCount in now unlocked.  We may have a race condition to
  // to delete the object.
  if( ref <= 0 )
    {
    this->InvokeEvent(DeleteEvent());
    }

  Superclass::SetReferenceCount(ref);
}

virtual void itk::ProcessObject::SetReleaseDataBeforeUpdateFlag ( bool  _arg  )  [virtual, inherited]

Turn on/off the flags to control whether the bulk data belonging to the outputs of this ProcessObject are released/reallocated during an Update().

In limited memory scenarios, a user may want to force the elements of a pipeline to release any bulk data that is going to be regenerated anyway during an Update() in order to control peak memory allocation. Note that this flag is different from the ReleaseDataFlag. ReleaseDataFlag manages the deallocation of a ProcessObject's bulk output data once that data has been consumed by a downstream ProcessObject. The ReleaseDataBeforeUpdateFlag manages the deallocation/reallocation of bulk data during a pipeline update to control peak memory utilization. Default value is on.

void itk::ProcessObject::SetReleaseDataFlag ( bool  flag  )  [virtual, inherited]

Turn on/off the flags to control whether the bulk data belonging to the outputs of this ProcessObject are released after being used by a downstream ProcessObject.

Default value is off. Another options for controlling memory utilization is the ReleaseDataBeforeUpdateFlag.

Definition at line 528 of file itkProcessObject.cxx.

{
  unsigned int idx;
  
  for (idx = 0; idx < m_Outputs.size(); idx++)
    {
    if (m_Outputs[idx])
      {
      m_Outputs[idx]->SetReleaseDataFlag(val);
      }
    }
}

template<class TFixedImage , class TMovingImage , class TPointSet >
virtual void otb::DisparityMapEstimationMethod< TFixedImage, TMovingImage, TPointSet >::SetTransform ( TransformType _arg  )  [virtual]

Set/Get the Transfrom.

void itk::Object::UnRegister (  )  const [virtual, inherited]

Decrease the reference count (release by another object).

If there is a delete method, invoke it.

Reimplemented from itk::LightObject.

Definition at line 324 of file itkObject.cxx.

Referenced by itk::Object::New(), and itk::ObjectFactoryBase::UnRegisterFactory().

{
  // call the parent
  itkDebugMacro(<< "UnRegistered, "
                << "ReferenceCount = " << (m_ReferenceCount-1));

  if ( (m_ReferenceCount-1) <= 0)
    {
    this->InvokeEvent(DeleteEvent());
    }

  Superclass::UnRegister();
}

void itk::ProcessObject::Update ( void   )  [virtual, inherited]

Bring this filter up-to-date.

The following methods are used to coordinate the execution of the data processing pipeline.

Update() checks modified times against last execution times, and re-executes objects if necessary. A side effect of this method is that the whole pipeline may execute in order to bring this filter up-to-date. This method updates the currently prescribed requested region. If no requested region has been set on the output, then the requested region will be set to the largest possible region. Once the requested region is set, Update() will make sure the specified requested region is up-to-date. This is a confusing side effect to users who are just calling Update() on a filter. A first call to Update() will cause the largest possible region to be updated. A second call to Update() will update that same region. If a modification to the upstream pipeline cause a filter to have a different largest possible region, this second call to Update() will not cause the output requested region to be reset to the new largest possible region. Instead, the output requested region will be the same as the last time Update() was called. To have a filter always to produce its largest possible region, users should call UpdateLargestPossibleRegion() instead.

Reimplemented in otb::StreamingShrinkImageFilter< TInputImage, TOutputImage >, otb::PersistentFilterStreamingDecorator< TFilter >, otb::VCAImageFilter< TVectorImage >, otb::ImageSeriesFileReaderBase< TImage, TInternalImage >, otb::KmzProductWriter< TInputImage >, otb::MapFileProductWriter< TInputImage >, otb::ScalarBufferToImageFileWriter< TBufferType, TOutputPixelType >, otb::VectorDataFileWriter< TInputVectorData >, otb::ConfusionMatrixCalculator< TRefListLabel, TProdListLabel >, otb::ListSampleGenerator< TImage, TVectorData >, otb::RCC8GraphFileWriter< TInputGraph >, otb::ImageViewer< TPixel, TLabel >, otb::ImageViewerBase< TPixel, TLabel >, itk::CoreAtomImageToUnaryCorrespondenceMatrixProcess< TSourceImage >, itk::MedialNodePairCorrespondenceProcess< TSourceImage >, itk::MedialNodeTripletCorrespondenceProcess< TSourceImage >, itk::CoreAtomImageToDistanceMatrixProcess< TSourceImage >, itk::ImageFileWriter< TInputImage >, itk::ImageSeriesWriter< TInputImage, TOutputImage >, otb::PersistentFilterStreamingDecorator< PersistentMatrixTransposeMatrixImageFilter< TInputImage1, TInputImage2 > >, otb::PersistentFilterStreamingDecorator< PersistentInnerProductVectorImageFilter< TInputImage > >, otb::PersistentFilterStreamingDecorator< PersistentMinMaxVectorImageFilter< TInputImage > >, otb::PersistentFilterStreamingDecorator< PersistentShrinkImageFilter< TInputImage, TOutputImage > >, otb::PersistentFilterStreamingDecorator< PersistentStreamingLabelImageToOGRDataFilter< TImageType, TSegmentationFilter > >, otb::PersistentFilterStreamingDecorator< PersistentMinMaxImageFilter< TInputImage > >, otb::PersistentFilterStreamingDecorator< PersistentDescriptorsListSampleGenerator< TInputImage, TVectorData, itk::FunctionBase< itk::Point< TCoordRep, 2 >, DefaultDescriptorsType< TOutputPrecision >::Type >, TListSample, TLabelListSample > >, otb::PersistentFilterStreamingDecorator< PersistentVectorImageToMatrixFilter< TInputImage > >, otb::PersistentFilterStreamingDecorator< PersistentObjectDetectionClassifier< TInputImage, TOutputVectorData, TLabel, itk::FunctionBase< itk::Point< TCoordRep, 2 >, DefaultDescriptorType< TFunctionPrecision >::Type > > >, otb::PersistentFilterStreamingDecorator< PersistentStreamingStatisticsVectorImageFilter< TInputImage, TPrecision > >, otb::PersistentFilterStreamingDecorator< PersistentStatisticsImageFilter< TInputImage > >, otb::PersistentFilterStreamingDecorator< PersistentCompareImageFilter< TInputImage > >, otb::ImageSeriesFileReaderBase< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >, otb::ImageSeriesFileReaderBase< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >, otb::ImageSeriesFileReaderBase< Image< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >, and otb::VectorDataFileWriter< VectorDataType >.

Definition at line 611 of file itkProcessObject.cxx.

Referenced by otb::ImageSeriesFileReader< Image< TPixel, 2 >, Image< TInternalPixel, 2 > >::GenerateData(), otb::ImageSeriesFileReader< Image< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::GenerateData(), itk::DerivativeImageFilter< TInputImage, TOutputImage >::GenerateData(), otb::ImageSeriesFileReader< VectorImage< TPixel, 2 >, VectorImage< TInternalPixel, 2 > >::GenerateData(), itk::AutoCropLabelMapFilter< TInputImage >::GenerateOutputInformation(), and itk::LabelMapMaskImageFilter< TInputImage, TOutputImage >::GenerateOutputInformation().

{
  if (this->GetOutput(0))
    {
    this->GetOutput(0)->Update();
    }
}

void itk::ProcessObject::UpdateLargestPossibleRegion (  )  [virtual, inherited]

Like Update(), but sets the output requested region to the largest possible region for the output.

This is the method users should call if they want the entire dataset to be processed. If a user wants to update the same output region as a previous call to Update() or a previous call to UpdateLargestPossibleRegion(), then they should call the method Update().

Definition at line 1120 of file itkProcessObject.cxx.

{
  this->UpdateOutputInformation();

  if (this->GetOutput(0))
    {
    this->GetOutput(0)->SetRequestedRegionToLargestPossibleRegion();
    this->GetOutput(0)->Update();
    }
}

void itk::ProcessObject::UpdateOutputData ( DataObject output  )  [virtual, inherited]

Actually generate new output.

prevent chasing our tail

Prepare all the outputs. This may deallocate previous bulk data.

Propagate the update call - make sure everything we might rely on is up-to-date Must call PropagateRequestedRegion before UpdateOutputData if multiple inputs since they may lead back to the same data object.

Cache the state of any ReleaseDataFlag's on the inputs. While the filter is executing, we need to set the ReleaseDataFlag's on the inputs to false in case the current filter is implemented using a mini-pipeline (which will try to release the inputs). After the filter finishes, we restore the state of the ReleaseDataFlag's before the call to ReleaseInputs().

Tell all Observers that the filter is starting

GenerateData this object - we have not aborted yet, and our progress before we start to execute is 0.0.

Count the number of required inputs which have been assigned

If we ended due to aborting, push the progress up to 1.0 (since it probably didn't end there)

Notify end event observers

Now we have to mark the data as up to date.

Restore the state of any input ReleaseDataFlags

Release any inputs if marked for release

Reimplemented in otb::StreamingImageFileWriter< TInputImage >, and itk::StreamingImageFilter< TInputImage, TOutputImage >.

Definition at line 908 of file itkProcessObject.cxx.

{
  DataObjectPointerArraySizeType idx;

  if (m_Updating)
    {
    return;
    }

  this->PrepareOutputs();

  m_Updating = true;
  if ( m_Inputs.size() == 1 )
    {
    if (m_Inputs[0])
      {
      m_Inputs[0]->UpdateOutputData();
      }
    }
  else
    {
    for (idx = 0; idx < m_Inputs.size(); ++idx)
      {
      if (m_Inputs[idx])
        {
        m_Inputs[idx]->PropagateRequestedRegion();
        m_Inputs[idx]->UpdateOutputData();
        }
      }
    }

  this->CacheInputReleaseDataFlags();
  
  this->InvokeEvent( StartEvent() );

  m_AbortGenerateData = false;
  m_Progress = 0.0f;

  DataObjectPointerArraySizeType ninputs = this->GetNumberOfValidRequiredInputs();
  if (ninputs < m_NumberOfRequiredInputs)
    {
    itkExceptionMacro(<< "At least " << m_NumberOfRequiredInputs 
                      << " inputs are required but only " << ninputs 
                      << " are specified.");
    }
  else
    {
    try
      {
      this->GenerateData();
      }
    catch( ProcessAborted & excp )
      {
      this->InvokeEvent( AbortEvent() );
      this->ResetPipeline();
      this->RestoreInputReleaseDataFlags();
      throw excp;
      }
    catch( ExceptionObject& excp )
      {
      this->ResetPipeline();
      this->RestoreInputReleaseDataFlags();
      throw excp;
      }
    }

  if ( m_AbortGenerateData )
    {
    this->UpdateProgress(1.0f);
    }

  this->InvokeEvent( EndEvent() );

  for (idx = 0; idx < m_Outputs.size(); ++idx)
    {
    if (m_Outputs[idx])
      {
      m_Outputs[idx]->DataHasBeenGenerated();
      }
    }
  
  this->RestoreInputReleaseDataFlags();
  
  this->ReleaseInputs();
  
  // Mark that we are no longer updating the data in this filter
  m_Updating = false;
}

void itk::ProcessObject::UpdateOutputInformation ( void   )  [virtual, inherited]

Update the information decribing the output data.

This method transverses up the pipeline gathering modified time information. On the way back down the pipeline, this method calls GenerateOutputInformation() to set any necessary information about the output data objects. For instance, a filter that shrinks an image will need to provide an implementation for GenerateOutputInformation() that changes the spacing of the pixels. Such filters should call their superclass' implementation of GenerateOutputInformation prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.

Watch out for loops in the pipeline

Since we are in a loop, we will want to update. But if we don't modify this filter, then we will not execute because our OutputInformationMTime will be more recent than the MTime of our output.

We now wish to set the PipelineMTime of each output DataObject to the largest of this ProcessObject's MTime, all input DataObject's PipelineMTime, and all input's MTime. We begin with the MTime of this ProcessObject.

Loop through the inputs

Propagate the UpdateOutputInformation call

What is the PipelineMTime of this input? Compare this against our current computation to find the largest one.

Pipeline MTime of the input does not include the MTime of the data object itself. Factor these mtimes into the next PipelineMTime

Call GenerateOutputInformation for subclass specific information. Since UpdateOutputInformation propagates all the way up the pipeline, we need to be careful here to call GenerateOutputInformation only if necessary. Otherwise, we may cause this source to be modified which will cause it to execute again on the next update.

Keep track of the last time GenerateOutputInformation() was called

Reimplemented in itk::watershed::Segmenter< TInputImage >, itk::VTKImageImport< TOutputImage >, and itk::watershed::Segmenter< InputImageType >.

Definition at line 664 of file itkProcessObject.cxx.

References itk::Object::GetMTime(), itk::DataObject::SetPipelineMTime(), and itk::DataObject::UpdateOutputInformation().

Referenced by itk::VTKImageExportBase::UpdateInformationCallback(), and itk::watershed::Segmenter< TInputImage >::UpdateOutputInformation().

{
  unsigned long t1, t2;
  DataObjectPointerArraySizeType idx;
  DataObject *input;
  DataObject *output;

  if ( m_Updating )
    {
    this->Modified();
    return;
    }

  t1 = this->GetMTime();

  for (idx = 0; idx < m_Inputs.size(); ++idx)
    {
    if (m_Inputs[idx])
      {
      input = m_Inputs[idx];

      m_Updating = true;
      input->UpdateOutputInformation();
      m_Updating = false;
      
      t2 = input->GetPipelineMTime();

      if (t2 > t1)
        {
        t1 = t2;
        }

      t2 = input->GetMTime();
      if (t2 > t1)
        {
        t1 = t2;
        }
      }
    }

  if (t1 > m_OutputInformationMTime.GetMTime())
    {
    for (idx = 0; idx < m_Outputs.size(); ++idx)
      {
      output = this->GetOutput( static_cast<int>( idx ) );
      if (output)
        {
        output->SetPipelineMTime(t1);
        }  
      }
    
    this->GenerateOutputInformation();

    m_OutputInformationMTime.Modified();
    }
}

void itk::ProcessObject::UpdateProgress ( float  amount  )  [inherited]

Update the progress of the process object.

Sets the Progress ivar to amount and invokes any observers for the ProgressEvent. The parameter amount should be in [0,1] and is the cumulative (not incremental) progress.

If a ProgressMethod exists, execute it. Then set the Progress ivar to amount. The parameter amount should range between (0,1).

Definition at line 500 of file itkProcessObject.cxx.

Referenced by itk::watershed::Segmenter< TInputImage >::GenerateData(), itk::ProgressReporter::ProgressReporter(), and itk::ProgressReporter::~ProgressReporter().

{
  m_Progress = amount;
  this->InvokeEvent( ProgressEvent() );
}


Member Data Documentation

TimeStamp itk::ProcessObject::m_OutputInformationMTime [protected, inherited]

Time when GenerateOutputInformation was last called.

Definition at line 421 of file itkProcessObject.h.

Number of uses of this object by other objects.

Definition at line 141 of file itkLightObject.h.

bool itk::ProcessObject::m_Updating [protected, inherited]

These ivars are made protected so filters like itkStreamingImageFilter can access them directly.

This flag indicates when the pipeline is executing. It prevents infinite recursion when pipelines have loops.

Reimplemented in otb::HistogramAndTransferFunctionWidget< THistogram, TPixel >, and otb::ImageViewerBase< TPixel, TLabel >.

Definition at line 418 of file itkProcessObject.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated at Sun May 20 2012 12:26:09 for OTB with doxygen 1.7.1