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

otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight > Class Template Reference
[Filters supporting Streaming]

Using sensor models to perform correlation along epipolars. More...

#include <otbStereoSensorModelToElevationMapFilter.h>

Inheritance diagram for otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >:
Inheritance graph
[legend]
Collaboration diagram for otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
StereoSensorModelToElevationFilter 
Self
 Standard class typedefs.
typedef
itk::ImageToImageFilter
< TInputImage, TOutputHeight > 
Superclass
typedef itk::SmartPointer< SelfPointer
typedef itk::SmartPointer
< const Self
ConstPointer
typedef TInputImage InputImageType
 Convenient typedefs.
typedef InputImageType::PixelType InputPixelType
typedef TOutputHeight OutputImageType
 Some convenient typedefs.
typedef OutputImageType::RegionType OutputRegionType
typedef OutputImageType::PixelType HeightType
typedef OutputImageType::PointType OutputPointType
typedef
itk::InterpolateImageFunction
< TInputImage, double
InterpolatorType
typedef InterpolatorType::Pointer InterpolatorPointerType
typedef GenericRSTransform GenericRSTransformType
typedef GenericRSTransform
< double, 3, 3 > 
GenericRSTransform3DType
typedef
itk::NormalizedCorrelationImageToImageMetric
< TInputImage, TInputImage > 
CorrelationMetricType
typedef InputImageType::SizeType RadiusType
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 Superclass typedefs.
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
typedef InputImageType::Pointer InputImagePointer
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::RegionType InputImageRegionType
typedef InputImageType::PixelType InputImagePixelType
typedef DataObject::Pointer DataObjectPointer
 Smart Pointer type to a DataObject.
typedef OutputImageType::Pointer OutputImagePointer
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).
void SetMasterInput (const TInputImage *image)
 Set the master input image.
void SetSlaveInput (const TInputImage *image)
 Set the slave input iamge.
const TInputImage * GetMasterInput () const
 Get the master input image.
const TInputImage * GetSlaveInput () const
 Get the slave input image.
TOutputHeight * GetCorrelationOutput ()
 Get the output correlation map.
virtual void SetDEMDirectory (const char *_arg)
 Set the directory containing the DEM tiles.
virtual const char * GetDEMDirectory () const
 Get the directory containing the DEM tiles.
virtual void SetGeoidFile (const char *_arg)
 Set the path to the geoid file.
virtual const char * GetGeoidFile () const
 Get the path to tyhe geoid file.
virtual void SetUseDEM (bool _arg)
 Set the use DEM flag.
virtual bool GetUseDEM ()
 Get the use DEM flag.
virtual void UseDEMOn ()
 Toggle the use DEM flag.
virtual void UseDEMOff ()
virtual void SetAverageElevation (double _arg)
 Set the average elevation to consider if no DEM is used.
virtual double GetAverageElevation ()
 Get the average elevation to consider if no DEM is used.
virtual void SetLowerElevation (double _arg)
 Set the lower offset for the local elevation exploration.
virtual void SetHigherElevation (double _arg)
 Set the lower offset for the local elevation exploration.
virtual void SetElevationStep (double _arg)
 Set the step of the elevation exploration.
virtual void SetCorrelationThreshold (double _arg)
 Set the threshold of the correlation to keep estimated height.
virtual double GetCorrelationThreshold ()
 Get the threshold of the correlation to keep estimated height.
virtual void SetVarianceThreshold (double _arg)
 Set the threshold on the variance of the master patch to start elevation estimation.
virtual double GetVarianceThreshold ()
 Set the threshold on the variance of the master patch to start elevation estimation.
virtual void SetSubtractInitialElevation (bool _arg)
 Set the SubtractInitialElevation flag.
virtual bool GetSubtractInitialElevation ()
 Get the SubtractInitialElevation flag.
virtual void SubtractInitialElevationOn ()
 Toggle the SubtractInitialElevation flag.
virtual void SubtractInitialElevationOff ()
void SetRadius (unsigned int radius)
 Set the radius of the patches.
virtual void SetInput (const InputImageType *image)
 Set/Get the image input of this process object.
virtual void SetInput (unsigned int, const TInputImage *image)
const InputImageTypeGetInput (void)
const InputImageTypeGetInput (unsigned int idx)
 Method used internally for getting an input.
virtual void PushBackInput (const InputImageType *image)
 Push/Pop the input of this process object.
virtual void PopBackInput ()
 Model a stack on the input list by providing a pop back.
virtual void PushFrontInput (const InputImageType *image)
virtual void PopFrontInput ()
OutputImageTypeGetOutput (void)
 Get the output data of this process object.
OutputImageTypeGetOutput (unsigned int idx)
 Method used internally for getting an output.
virtual void GraftOutput (DataObject *output)
 Graft the specified DataObject onto this ProcessObject's output.
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 Graft the specified data object onto this ProcessObject's idx'th 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.

Static Public Attributes

static const unsigned int InputImageDimension
 ImageDimension constants.
static const unsigned int OutputImageDimension
 ImageDimension constant.

Protected Types

typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension)> 
InputToOutputRegionCopierType
 Typedef for the region copier function object that converts an input region to an output region.
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension)> 
OutputToInputRegionCopierType
 Typedef for the region copier function object that converts an output region to an input region.
typedef int InternalReferenceCountType
 Define the type of the reference count according to the target.

Protected Member Functions

 StereoSensorModelToElevationFilter ()
 Constructor.
virtual ~StereoSensorModelToElevationFilter ()
 Destructor.
virtual void ThreadedGenerateData (const OutputRegionType &outputRegionForThread, int threadId)
 Threaded generate data.
virtual void GenerateInputRequestedRegion (void)
 Generate the input requested regions.
virtual void BeforeThreadedGenerateData ()
 Things to do before the threaded generate-data.
const DataObject * GetInput (unsigned int idx) const
void PushBackInput (const DataObject *input)
 PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter.
void PushFrontInput (const DataObject *input)
virtual void PrintSelf (std::ostream &os, Indent indent) const
 Methods invoked by Print() to print information about the object including superclasses.
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 This function calls the actual region copier to do the mapping from output image space to input image space.
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 This function calls the actual region copier to do the mapping from input image space to output image space.
const DataObject * GetOutput (unsigned int idx) const
virtual void GenerateData ()
 A version of GenerateData() specific for image processing filters.
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId)
 If an imaging filter can be implemented as a multithreaded algorithm, the filter will provide an implementation of ThreadedGenerateData().
virtual void AllocateOutputs ()
 The GenerateData method normally allocates the buffers for all of the outputs of a filter.
virtual void AfterThreadedGenerateData ()
 If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData().
virtual int SplitRequestedRegion (int i, int num, OutputImageRegionType &splitRegion)
 Split the output's RequestedRegion into "num" pieces, returning region "i" as "splitRegion".
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 ()
void SetNumberOfInputs (unsigned int num)
 Called to allocate the input array.
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.

Static Protected Member Functions

static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 Static function used as a "callback" by the MultiThreader.

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

 StereoSensorModelToElevationFilter (const Self &)
void operator= (const Self &)
double Correlation (const std::vector< double > &master, const std::vector< double > &slave) const

Private Attributes

InterpolatorPointerType m_Interpolator
 Interpolator for slave image.
RadiusType m_Radius
 Radius of the patches.
double m_LowerElevation
 Lower offset for the local elevation exploration.
double m_HigherElevation
 Higher offset for the local elevation exploration.
double m_ElevationStep
 Step of the elevation exploration.
bool m_UseDEM
 If set to true, the local elevation is extracted from a DEM + geoid.
std::string m_DEMDirectory
 Directory containing the DEM tiles.
std::string m_GeoidFile
 Path to the geoid file.
double m_AverageElevation
 Average elevation to consider if no DEM is used.
double m_CorrelationThreshold
 Threshold of the correlation to keep estimated height.
double m_VarianceThreshold
 Threshold on the variance of the master patch to start elevation estimation.
bool m_SubtractInitialElevation
 If set to true, the elevation map will only contains the difference between the estimated elevation and the initial one.

Detailed Description

template<class TInputImage, class TOutputHeight>
class otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >

Using sensor models to perform correlation along epipolars.

This filter uses a pair of stereo images along-track to build an elevation map.

Images are not resampled to epipolar geometry. Instead, for each patch of the master image, corresponding patches are interpolated in the slave image according to a range of candidate elevations. Colocalisation is achieved through the GenericRSTransform for each pixel of the patch, which means the interpolated path follows the warping between the two images (it is not necesseraly aligned with slave image boundary). The elevation achieving the higher correlation is kept in the final elevation map.

Setting-up the elevation exploration range is simple : the LowerElevation and HigherElevation parameters allows to set the exploration range offsets with respect to the local elevation, and the ElevationStep parameter allows to set the step between candidate elevation. The local elevation can either be constant over the whole scene, or interpolated in a Digital Elevation Model. The latter allows to account for highly varying elevation in large scene, and allows to reduce the elevation exploration range. Please note that one can also use a geoid file along with the DEM.

Correlation parameters are as follows :

This filter supports multi-threading and streaming. It can process images of any size and does not requires input images size to match. If images extents do not match, elevation will only be estimated over their overlapping extent. The elevation map is produced in the geometry and grid of the master input image.

Definition at line 78 of file otbStereoSensorModelToElevationMapFilter.h.


Member Typedef Documentation

typedef DataObject::Pointer itk::ImageSource< TOutputHeight >::DataObjectPointer [inherited]

Smart Pointer type to a DataObject.

Reimplemented from itk::ProcessObject.

Definition at line 62 of file itkImageSource.h.

typedef ImageToImageFilterDetail::ImageRegionCopier<itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension)> itk::ImageToImageFilter< TInputImage, TOutputHeight >::InputToOutputRegionCopierType [protected, inherited]

Typedef for the region copier function object that converts an input region to an output region.

Definition at line 161 of file itkImageToImageFilter.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.

typedef Superclass::OutputImageRegionType itk::ImageToImageFilter< TInputImage, TOutputHeight >::OutputImageRegionType [inherited]

Superclass typedefs.

Reimplemented from itk::ImageSource< TOutputHeight >.

Definition at line 75 of file itkImageToImageFilter.h.

template<class TInputImage , class TOutputHeight >
typedef TOutputHeight otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::OutputImageType

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputHeight >.

Definition at line 97 of file otbStereoSensorModelToElevationMapFilter.h.

typedef ImageToImageFilterDetail::ImageRegionCopier<itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension)> itk::ImageToImageFilter< TInputImage, TOutputHeight >::OutputToInputRegionCopierType [protected, inherited]

Typedef for the region copier function object that converts an output region to an input region.

Definition at line 166 of file itkImageToImageFilter.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();
}

virtual void itk::ImageSource< TOutputHeight >::AfterThreadedGenerateData ( void   )  [inline, protected, virtual, inherited]

If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData().

The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.

Definition at line 264 of file itkImageSource.h.

{};

virtual void itk::ImageSource< TOutputHeight >::AllocateOutputs (  )  [protected, virtual, inherited]

The GenerateData method normally allocates the buffers for all of the outputs of a filter.

Some filters may want to override this default behavior. For example, a filter may have multiple outputs with varying resolution. Or a filter may want to process data in place by grafting its input to its output.

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;
      }
    }
} 

virtual void itk::ImageToImageFilter< TInputImage, TOutputHeight >::CallCopyInputRegionToOutputRegion ( OutputImageRegionType &  destRegion,
const InputImageRegionType &  srcRegion 
) [protected, virtual, inherited]

This function calls the actual region copier to do the mapping from input image space to output image space.

It uses a Function object used for dispatching to various routines to copy an input region (start index and size) to an output region. For most filters, this is a trivial copy because most filters require the input dimension to match the output dimension. However, some filters like itk::UnaryFunctorImageFilter can support output images of a higher dimension that the input.

This function object is used by the default implementation of GenerateOutputInformation(). It can also be used in routines like ThreadedGenerateData() where a filter may need to map an input region to an output region.

The default copier uses a "dispatch pattern" to call one of three overloaded functions depending on whether the input and output images are the same dimension, the input is a higher dimension that the output, or the input is of a lower dimension than the output. The use of an overloaded function is required for proper compilation of the various cases.

For the latter two cases, trivial implementations are used. If the input image is a higher dimension than the output, the first portion of the input region is copied to the output region. If the input region is a lower dimension than the output, the input region information is copied into the first portion of the output region and the rest of the output region is set to zero.

If a filter needs a different default behavior, it can override this method.

virtual void itk::ImageToImageFilter< TInputImage, TOutputHeight >::CallCopyOutputRegionToInputRegion ( InputImageRegionType &  destRegion,
const OutputImageRegionType &  srcRegion 
) [protected, virtual, inherited]

This function calls the actual region copier to do the mapping from output image space to input image space.

It uses a Function object used for dispatching to various routines to copy an output region (start index and size) to an input region. For most filters, this is a trivial copy because most filters require the input dimension to match the output dimension. However, some filters like itk::ExtractImageFilter can support output images of a lower dimension that the input.

This function object can be used by GenerateOutputInformation() to copy the input LargestPossibleRegion to the output LargestPossibleRegion and can also be used in GenerateData or ThreadedGenerateData() where a filter may need to map an output region to an input region.

The default copier uses a "dispatch pattern" to call one of three overloaded functions depending on whether the input and output images are the same dimension, the input is a higher dimension that the output, or the input is of a lower dimension than the output. The use of an overloaded function is required for proper compilation of the various cases.

For the latter two cases, trivial implementations are used. If the input image is a higher dimension than the output, the output region information is copied into the first portion of the input region and the rest of the input region is set to zero. If the input region is a lower dimension than the output, the first portion of the output region is copied to the input region.

If a filter needs a different default behavior, it can override this method. The ExtractImageFilter overrides this function object so that if the input image is a higher dimension than the output image, the filter can control "where" in the input image the output subimage is extracted (as opposed to mapping to first few dimensions of the input).

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.

{};

virtual void itk::ImageSource< TOutputHeight >::GenerateData ( void   )  [protected, virtual, inherited]

A version of GenerateData() specific for image processing filters.

This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.

See also:
ThreadedGenerateData()

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.

template<class TInputImage , class TOutputHeight >
virtual double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetAverageElevation (  )  [virtual]

Get the average elevation to consider if no DEM is used.

Default is 0.

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;
}

template<class TInputImage , class TOutputHeight >
virtual double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetCorrelationThreshold (  )  [virtual]

Get the threshold of the correlation to keep estimated height.

Default is 0.7.

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

Get the value of the debug flag.

Definition at line 264 of file itkObject.cxx.

{
  return m_Debug;
}

const InputImageType* itk::ImageToImageFilter< TInputImage, TOutputHeight >::GetInput ( unsigned int  idx  )  [inherited]

Method used internally for getting an input.

Reimplemented from itk::ProcessObject.

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;
}

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 TInputImage , class TOutputHeight >
virtual const char* otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetNameOfClass (  )  const [virtual]

Run-time type information (and related methods).

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

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;
}

OutputImageType* itk::ImageSource< TOutputHeight >::GetOutput ( void   )  [inherited]

Get the output data of this process object.

The output of this function is not valid until an appropriate Update() method has been called, either explicitly or implicitly. Both the filter itself and the data object have Update() methods, and both methods update the data. Here are three ways to use GetOutput() and make sure the data is valid. In these examples, image is a pointer to some Image object, and the particular ProcessObjects involved are filters. The same examples apply to non-image (e.g. Mesh) data as well.

   anotherFilter->SetInput( someFilter->GetOutput() );
   anotherFilter->Update();

In this situation, someFilter and anotherFilter are said to constitute a pipeline.

   image = someFilter->GetOutput();
   image->Update();
   someFilter->Update();
   image = someFilter->GetOutput();

(In the above example, the two lines of code can be in either order.)

Note that Update() is not called automatically except within a pipeline as in the first example. When streaming (using a StreamingImageFilter) is activated, it may be more efficient to use a pipeline than to call Update() once for each filter in turn.

For an image, the data generated is for the requested Region, which can be set using ImageBase::SetRequestedRegion(). By default, the largest possible region is requested.

For Filters which have multiple outputs of different types, the GetOutput() method assumes the output is of OutputImageType. For the GetOutput(unsigned int) method, a dynamic_cast is performed incase the filter has outputs of different types or image types. Derived classes should have names get methods for these outputs.

OutputImageType* itk::ImageSource< TOutputHeight >::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; }

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);}

template<class TInputImage , class TOutputHeight >
virtual bool otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetSubtractInitialElevation (  )  [virtual]

Get the SubtractInitialElevation flag.

If set to true, the elevation map will only contains the difference between the estimated elevation and the initial one. If set to false, elevation is absolute. Default is false.

template<class TInputImage , class TOutputHeight >
virtual bool otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetUseDEM (  )  [virtual]

Get the use DEM flag.

If set to true, the local elevation is extracted from a DEM + geoid. If set to false, average elevation is used. Default is false.

template<class TInputImage , class TOutputHeight >
virtual double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetVarianceThreshold (  )  [virtual]

Set the threshold on the variance of the master patch to start elevation estimation.

Default is 4.

virtual void itk::ImageSource< TOutputHeight >::GraftNthOutput ( unsigned int  idx,
DataObject output 
) [virtual, inherited]

Graft the specified data object onto this ProcessObject's idx'th output.

This is similar to the GraftOutput method except it allows you to specify which output is affected. The specified index must be a valid output number (less than ProcessObject::GetNumberOfOutputs()). See the GraftOutput for general usage information.

virtual void itk::ImageSource< TOutputHeight >::GraftOutput ( 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 itk::ImageSource< TOutputHeight >::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 ImageSource 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 TInputImage , class TOutputHeight >
static Pointer otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::New (  )  [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

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);
}

virtual void itk::ImageToImageFilter< TInputImage, TOutputHeight >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual, inherited]

Methods invoked by Print() to print information about the object including superclasses.

Chaining method to print an object's instance variables, as well as its superclasses.

Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ProcessObject.

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::ImageToImageFilter< TInputImage, TOutputHeight >::PushBackInput ( const DataObject input  )  [inline, protected, virtual, inherited]

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter.

However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

Reimplemented from itk::ProcessObject.

Definition at line 248 of file itkImageToImageFilter.h.

    { Superclass::PushBackInput(input); }

virtual void itk::ImageToImageFilter< TInputImage, TOutputHeight >::PushBackInput ( const InputImageType image  )  [virtual, inherited]

Push/Pop the input of this process object.

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.

The routines are useful for applications that need to process "rolling" sets of images. For instance, if an application has 10 images and they need to run a filter on images 1, 2, 3, 4, then run the filter on images 2, 3, 4, 5, then run the filter on images 3, 4, 5, 6, the application can accomplish this by popping an input off the front of the input list and push a new image onto the back of input list. Again, this only makes sense for filters that single type of input.

Other uses are also possible. For a single input filter, pushing and popping inputs allow the application to temporarily replace an input to a filter.

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.

template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetAverageElevation ( double  _arg  )  [virtual]

Set the average elevation to consider if no DEM is used.

Default is 0.

template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetCorrelationThreshold ( double  _arg  )  [virtual]

Set the threshold of the correlation to keep estimated height.

Default is 0.7.

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 TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetElevationStep ( double  _arg  )  [virtual]

Set the step of the elevation exploration.

Default is 1 meters.

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 TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetHigherElevation ( double  _arg  )  [virtual]

Set the lower offset for the local elevation exploration.

Default is 20 meters.

virtual void itk::ImageToImageFilter< TInputImage, TOutputHeight >::SetInput ( const InputImageType image  )  [virtual, inherited]

Set/Get the image input of this process object.

template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetLowerElevation ( double  _arg  )  [virtual]

Set the lower offset for the local elevation exploration.

Default is -20 meters.

void itk::Object::SetMetaDataDictionary ( const MetaDataDictionary rhs  )  [inherited]
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]
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.

template<class TInputImage , class TOutputHeight >
void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetRadius ( unsigned int  radius  )  [inline]

Set the radius of the patches.

Default is 3.

Definition at line 214 of file otbStereoSensorModelToElevationMapFilter.h.

  {
    m_Radius.Fill(radius);
    this->Modified();
  }

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 TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetSubtractInitialElevation ( bool  _arg  )  [virtual]

Set the SubtractInitialElevation flag.

If set to true, the elevation map will only contains the difference between the estimated elevation and the initial one. If set to false, elevation is absolute. Default is false.

template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetUseDEM ( bool  _arg  )  [virtual]

Set the use DEM flag.

If set to true, the local elevation is extracted from a DEM + geoid. If set to false, average elevation is used. Default is false.

template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetVarianceThreshold ( double  _arg  )  [virtual]

Set the threshold on the variance of the master patch to start elevation estimation.

Default is 4.

virtual int itk::ImageSource< TOutputHeight >::SplitRequestedRegion ( int  i,
int  num,
OutputImageRegionType &  splitRegion 
) [protected, virtual, inherited]

Split the output's RequestedRegion into "num" pieces, returning region "i" as "splitRegion".

This method is called "num" times. The regions must not overlap. The method returns the number of pieces that the routine is capable of splitting the output RequestedRegion, i.e. return value is less than or equal to "num".

template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SubtractInitialElevationOn (  )  [virtual]

Toggle the SubtractInitialElevation flag.

If set to true, the elevation map will only contains the difference between the estimated elevation and the initial one. If set to false, elevation is absolute. Default is false.

virtual void itk::ImageSource< TOutputHeight >::ThreadedGenerateData ( const OutputImageRegionType &  outputRegionForThread,
int  threadId 
) [protected, virtual, inherited]

If an imaging filter can be implemented as a multithreaded algorithm, the filter will provide an implementation of ThreadedGenerateData().

This superclass will automatically split the output image into a number of pieces, spawn multiple threads, and call ThreadedGenerateData() in each thread. Prior to spawning threads, the BeforeThreadedGenerateData() method is called. After all the threads have completed, the AfterThreadedGenerateData() method is called. If an image processing filter cannot support threading, that filter should provide an implementation of the GenerateData() method instead of providing an implementation of ThreadedGenerateData(). If a filter provides a GenerateData() method as its implementation, then the filter is responsible for allocating the output data. If a filter provides a ThreadedGenerateData() method as its implementation, then the output memory will allocated automatically by this superclass. The ThreadedGenerateData() method should only produce the output specified by "outputThreadRegion" parameter. ThreadedGenerateData() cannot write to any other portion of the output image (as this is responsibility of a different thread).

See also:
GenerateData(), SplitRequestedRegion()
static ITK_THREAD_RETURN_TYPE itk::ImageSource< TOutputHeight >::ThreaderCallback ( void *  arg  )  [static, protected, inherited]

Static function used as a "callback" by the MultiThreader.

The threading library will call this routine for each thread, which will delegate the control to ThreadedGenerateData().

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() );
}

template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::UseDEMOn (  )  [virtual]

Toggle the use DEM flag.

If set to true, the local elevation is extracted from a DEM + geoid. If set to false, average elevation is used. Default is false.


Member Data Documentation

template<class TInputImage , class TOutputHeight >
double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_AverageElevation [private]

Average elevation to consider if no DEM is used.

Definition at line 270 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_CorrelationThreshold [private]

Threshold of the correlation to keep estimated height.

Definition at line 273 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
std::string otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_DEMDirectory [private]

Directory containing the DEM tiles.

Definition at line 264 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_ElevationStep [private]

Step of the elevation exploration.

Definition at line 257 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_HigherElevation [private]

Higher offset for the local elevation exploration.

Definition at line 254 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_LowerElevation [private]

Lower offset for the local elevation exploration.

Definition at line 251 of file otbStereoSensorModelToElevationMapFilter.h.

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.

template<class TInputImage , class TOutputHeight >
bool otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_SubtractInitialElevation [private]

If set to true, the elevation map will only contains the difference between the estimated elevation and the initial one.

If set to false, elevation is absolute. Default is false.

Definition at line 282 of file otbStereoSensorModelToElevationMapFilter.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.

template<class TInputImage , class TOutputHeight >
bool otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_UseDEM [private]

If set to true, the local elevation is extracted from a DEM + geoid.

If set to false, average elevation is used. Default is false.

Definition at line 261 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_VarianceThreshold [private]

Threshold on the variance of the master patch to start elevation estimation.

Definition at line 277 of file otbStereoSensorModelToElevationMapFilter.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 13 2012 12:19:27 for OTB with doxygen 1.7.1