Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::ImportImageFilter< TPixel, VImageDimension > Class Template Reference
[Input and Output Filters]

#include <itkImportImageFilter.h>

Inheritance diagram for itk::ImportImageFilter< TPixel, VImageDimension >:

Inheritance graph
[legend]
Collaboration diagram for itk::ImportImageFilter< TPixel, VImageDimension >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename TPixel, unsigned int VImageDimension = 2>
class itk::ImportImageFilter< TPixel, VImageDimension >

Import data from a standard C array into an itk::Image.

ImportImageFilter provides a mechanism for importing data into an itk::Image. ImportImageFilter is an image source, so it behaves like any other pipeline object.

This class is templated over the pixel type and the image dimension of the output image.

Definition at line 39 of file itkImportImageFilter.h.

Public Types

typedef SmartPointer< const
Self
ConstPointer
typedef DataObject::Pointer DataObjectPointer
typedef std::vector< DataObjectPointerDataObjectPointerArray
typedef Index< VImageDimension > IndexType
typedef OutputImageType::PointType OriginType
typedef TPixel OutputImagePixelType
typedef OutputImageType::Pointer OutputImagePointer
typedef OutputImageType::RegionType OutputImageRegionType
typedef Image< TPixel, VImageDimension > OutputImageType
typedef SmartPointer< SelfPointer
typedef ImageRegion< VImageDimension > RegionType
typedef ImportImageFilter Self
typedef Size< VImageDimension > SizeType
typedef OutputImageType::SpacingType SpacingType
typedef ImageSource< OutputImageTypeSuperclass

Public Member Functions

virtual void AbortGenerateDataOff ()
virtual void AbortGenerateDataOn ()
virtual LightObject::Pointer CreateAnother () const
virtual void DebugOff () const
virtual void DebugOn () const
virtual void Delete ()
virtual const bool & GetAbortGenerateData ()
CommandGetCommand (unsigned long tag)
bool GetDebug () const
TPixel * GetImportPointer ()
DataObjectPointerArrayGetInputs ()
const MetaDataDictionaryGetMetaDataDictionary (void) const
MetaDataDictionaryGetMetaDataDictionary (void)
virtual unsigned long GetMTime () const
MultiThreaderGetMultiThreader ()
virtual const char * GetNameOfClass () const
std::vector< DataObjectPointer
>::size_type 
GetNumberOfInputs () const
std::vector< DataObjectPointer
>::size_type 
GetNumberOfOutputs () const
virtual const int & GetNumberOfThreads ()
virtual std::vector< DataObjectPointer
>::size_type 
GetNumberOfValidRequiredInputs () const
virtual const double * GetOrigin () const
Set the origin of the image
*sa 
GetOrigin ()*/virtual void SetOrigin(const double data[])
OutputImageTypeGetOutput (unsigned int idx)
Get the output data of this
process object The output
of this *function is not valid
until an appropriate either
explicitly or implicitly Both
the filter *itself and the
data object have and both
*methods update the data Here
are three ways to use
GetOutput () and make sure the data is valid.In these *examples
Return an array with all the
outputs of this process object
*This is useful for tracing
forward in the pipeline to
contruct *graphs etc *DataObjectPointerArray
GetOutputs ()
virtual const float & GetProgress ()
virtual int GetReferenceCount () const
const RegionTypeGetRegion () const
virtual const bool & GetReleaseDataBeforeUpdateFlag ()
virtual bool GetReleaseDataFlag () const
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
virtual void GraftOutput (DataObject *output)
bool HasObserver (const EventObject &event) const
Get the output data of this
process object The output
of this *function is not valid
until an appropriate either
explicitly or implicitly Both
the filter *itself and the
data object have and both
*methods update the data Here
are three ways to use *a image
is a pointer to some Image
and the *particular ProcessObjects
involved are filters The same
*examples apply to non 
image (e.g.Mesh) data as well.**\code *anotherFilter->SetInput(someFilter->GetOutput())
void InvokeEvent (const EventObject &) const
void InvokeEvent (const EventObject &)
virtual DataObjectPointer MakeOutput (unsigned int idx)
virtual void Modified () const
virtual void PrepareOutputs ()
void Print (std::ostream &os, Indent indent=0) const
virtual void PropagateRequestedRegion (DataObject *output)
virtual void Register () const
virtual void ReleaseDataBeforeUpdateFlagOff ()
virtual void ReleaseDataBeforeUpdateFlagOn ()
void ReleaseDataFlagOff ()
void ReleaseDataFlagOn ()
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
virtual void ResetPipeline ()
virtual void SetAbortGenerateData (bool _arg)
void SetDebug (bool debugFlag) const
void SetImportPointer (TPixel *ptr, unsigned long num, bool LetFilterManageMemory)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
Get Set the number of threads
to create when executing
*virtual void 
SetNumberOfThreads (int _arg)
void SetOrigin (const OriginType &origin)
virtual void SetOrigin (const float data[])
virtual void SetProgress (float _arg)
virtual void SetReferenceCount (int)
void SetRegion (const RegionType &region)
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
*virtual void 
SetReleaseDataFlag (bool flag)
void SetSpacing (const SpacingType &spacing)
virtual void SetSpacing (const float data[])
Get the spacing (size of a pixel) of the image.*\sa SetSpacing()*/virtual const double *GetSpacing() const
Set the spacing (size of a pixel) of the image.*\sa GetSpacing()*/virtual void SetSpacing(const double data[])
virtual void UnRegister () const
*endcode *In the above the
two lines of code can be in
*either order **Note that
it may be more efficient to
*use a pipeline than to call 
Update () once for each filter in *turn.**For an image
*endcode *In the above 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\b streaming(using a *StreamingImageFilter) is activated
*endcode **code *someFilter Update ()
*image Update ()
*anotherFilter Update ()
Get the output data of this
process object The output
of this *function is not valid
until an appropriate either
explicitly or implicitly Both
the filter *itself and the
data object have 
Update () methods
Get the output data of this
process object The output
of this *function is not valid
until an appropriate 
Update () method has *been called
virtual void UpdateLargestPossibleRegion ()
virtual void UpdateOutputData (DataObject *output)
virtual void UpdateOutputInformation ()
void UpdateProgress (float amount)

Static Public Member Functions

static void BreakOnError ()
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static Pointer New ()
This is a global flag that
controls whether any warning
*or error messages are displayed
*static void 
SetGlobalWarningDisplay (bool flag)

Public Attributes

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 unsigned lon 
AddObserver )(const EventObject &event, Command *) const
This is a global flag that
controls whether any 
debug
*endcode *In the above example
image
*endcode **In this a someFilter
and a anotherFilter are said
*to constitute a b pipeline
**code
image
Get the output data of this
process object The output
of this *function is not valid
until an appropriate either
explicitly or implicitly Both
the filter *itself and the
data object have and both
*methods update the data Here
are three ways to use *a image
is a pointer to some Image 
object
*endcode *In the above the
two lines of code can be in
*either order **Note that
it may be more efficient to
*use a pipeline than to call
the data generated is for
the requested * 
Region
*endcode **In this situation

Protected Member Functions

virtual void AddInput (DataObject *input)
virtual void AddOutput (DataObject *output)
virtual void AfterThreadedGenerateData ()
virtual void AllocateOutputs ()
virtual void BeforeThreadedGenerateData ()
virtual void CacheInputReleaseDataFlags ()
virtual void EnlargeOutputRequestedRegion (DataObject *output)
virtual void GenerateData ()
virtual void GenerateInputRequestedRegion ()
virtual void GenerateOutputInformation ()
virtual void GenerateOutputRequestedRegion (DataObject *output)
const DataObjectGetInput (unsigned int idx) const
Method used internally for
getting an input *DataObject
GetInput (unsigned int idx)
virtual const unsigned int & GetNumberOfRequiredInputs ()
virtual const unsigned int & GetNumberOfRequiredOutputs ()
const DataObjectGetOutput (unsigned int idx) const
 ImageSource ()
 ImportImageFilter ()
virtual void PopBackInput ()
virtual void PopFrontInput ()
bool PrintObservers (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual void PropagateResetPipeline ()
Push Pop an 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
especially *filters with different
types of inputs These routines
follow *the semantics of STL
*virtual void 
PushBackInput (const DataObject *input)
virtual void PushFrontInput (const DataObject *input)
virtual void ReleaseInputs ()
virtual void RemoveInput (DataObject *input)
virtual void RemoveOutput (DataObject *output)
virtual void RestoreInputReleaseDataFlags ()
Protected methods for setting
inputs *Subclasses make use
of them for setting input
*virtual void 
SetNthInput (unsigned int num, DataObject *input)
Protected methods for setting
outputs *Subclasses make use
of them for getting output
*virtual void 
SetNthOutput (unsigned int num, DataObject *output)
void SetNumberOfInputs (unsigned int num)
void SetNumberOfOutputs (unsigned int num)
virtual void SetNumberOfRequiredInputs (unsigned int _arg)
virtual void SetNumberOfRequiredOutputs (unsigned int _arg)
virtual int SplitRequestedRegion (int i, int num, OutputImageRegionType &splitRegion)
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId)
 ~ImportImageFilter ()

Static Protected Member Functions

static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)

Protected Attributes

Push Pop an 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
TimeStamp m_OutputInformationMTime
int m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
bool m_Updating
Methods invoked by virtual
Print() to print information
about the object *including
superclasses.Typically not
called by the user(use Print()*instead) but used in the
hierarchical print process
to combine the *output of
several classes.*/virtual
void PrintSelf(std voi 
PrintHeader )(std::ostream &os, Indent indent) const


Member Typedef Documentation

template<typename TPixel, unsigned int VImageDimension = 2>
typedef SmartPointer<const Self> itk::ImportImageFilter< TPixel, VImageDimension >::ConstPointer
 

Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >.

Definition at line 54 of file itkImportImageFilter.h.

typedef DataObject::Pointer itk::ImageSource< Image< TPixel, VImageDimension > >::DataObjectPointer [inherited]
 

Smart Pointer type to a DataObject.

Reimplemented from itk::ProcessObject.

Definition at line 62 of file itkImageSource.h.

typedef std::vector<DataObjectPointer> itk::ProcessObject::DataObjectPointerArray [inherited]
 

STL Array of SmartPointers to DataObjects

Definition at line 103 of file itkProcessObject.h.

template<typename TPixel, unsigned int VImageDimension = 2>
typedef Index<VImageDimension> itk::ImportImageFilter< TPixel, VImageDimension >::IndexType
 

Index typedef support. An index is used to access pixel values.

Definition at line 60 of file itkImportImageFilter.h.

template<typename TPixel, unsigned int VImageDimension = 2>
typedef OutputImageType::PointType itk::ImportImageFilter< TPixel, VImageDimension >::OriginType
 

Definition at line 47 of file itkImportImageFilter.h.

template<typename TPixel, unsigned int VImageDimension = 2>
typedef TPixel itk::ImportImageFilter< TPixel, VImageDimension >::OutputImagePixelType
 

Type of the output image pixel type.

Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >.

Definition at line 73 of file itkImportImageFilter.h.

template<typename TPixel, unsigned int VImageDimension = 2>
typedef OutputImageType::Pointer itk::ImportImageFilter< TPixel, VImageDimension >::OutputImagePointer
 

Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >.

Definition at line 45 of file itkImportImageFilter.h.

typedef OutputImageType::RegionType itk::ImageSource< Image< TPixel, VImageDimension > >::OutputImageRegionType [inherited]
 

Definition at line 70 of file itkImageSource.h.

template<typename TPixel, unsigned int VImageDimension = 2>
typedef Image<TPixel,VImageDimension> itk::ImportImageFilter< TPixel, VImageDimension >::OutputImageType
 

Typedef for the output image.

Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >.

Definition at line 44 of file itkImportImageFilter.h.

template<typename TPixel, unsigned int VImageDimension = 2>
typedef SmartPointer<Self> itk::ImportImageFilter< TPixel, VImageDimension >::Pointer
 

Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >.

Definition at line 53 of file itkImportImageFilter.h.

template<typename TPixel, unsigned int VImageDimension = 2>
typedef ImageRegion<VImageDimension> itk::ImportImageFilter< TPixel, VImageDimension >::RegionType
 

Region typedef support. A region is used to specify a subset of an image.

Definition at line 70 of file itkImportImageFilter.h.

template<typename TPixel, unsigned int VImageDimension = 2>
typedef ImportImageFilter itk::ImportImageFilter< TPixel, VImageDimension >::Self
 

Standard class typedefs.

Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >.

Definition at line 51 of file itkImportImageFilter.h.

template<typename TPixel, unsigned int VImageDimension = 2>
typedef Size<VImageDimension> itk::ImportImageFilter< TPixel, VImageDimension >::SizeType
 

Size typedef support. A size is used to define region bounds.

Definition at line 66 of file itkImportImageFilter.h.

template<typename TPixel, unsigned int VImageDimension = 2>
typedef OutputImageType::SpacingType itk::ImportImageFilter< TPixel, VImageDimension >::SpacingType
 

Definition at line 46 of file itkImportImageFilter.h.

template<typename TPixel, unsigned int VImageDimension = 2>
typedef ImageSource<OutputImageType> itk::ImportImageFilter< TPixel, VImageDimension >::Superclass
 

Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >.

Definition at line 52 of file itkImportImageFilter.h.


Constructor & Destructor Documentation

template<typename TPixel, unsigned int VImageDimension = 2>
itk::ImportImageFilter< TPixel, VImageDimension >::ImportImageFilter  )  [protected]
 

template<typename TPixel, unsigned int VImageDimension = 2>
itk::ImportImageFilter< TPixel, VImageDimension >::~ImportImageFilter  )  [protected]
 


Member Function Documentation

virtual void itk::ProcessObject::AbortGenerateDataOff  )  [virtual, inherited]
 

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

Turn on and off the AbortGenerateData flag.

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

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

virtual void itk::ImageSource< Image< TPixel, VImageDimension > >::AfterThreadedGenerateData  )  [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 254 of file itkImageSource.h.

virtual void itk::ImageSource< Image< TPixel, VImageDimension > >::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.

virtual void itk::ImageSource< Image< TPixel, VImageDimension > >::BeforeThreadedGenerateData void   )  [inline, protected, virtual, inherited]
 

If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). 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 242 of file itkImageSource.h.

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

This method is called when itkExceptionMacro executes. It allows the debugger to break on error.

virtual 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().

virtual LightObject::Pointer itk::Object::CreateAnother  )  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.

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

Turn debugging output off.

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

Turn debugging output on.

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

Delete an 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.

template<typename TPixel, unsigned int VImageDimension = 2>
virtual void itk::ImportImageFilter< TPixel, VImageDimension >::EnlargeOutputRequestedRegion DataObject output  )  [protected, virtual]
 

This filter can only produce the amount of data that it is given, so we must override ProcessObject::EnlargeOutputRequestedRegion() (The default implementation of a source produces the amount of data requested. This source, however, can only produce what it is given.)

See also:
ProcessObject::EnlargeOutputRequestedRegion()

Reimplemented from itk::ProcessObject.

template<typename TPixel, unsigned int VImageDimension = 2>
virtual void itk::ImportImageFilter< TPixel, VImageDimension >::GenerateData  )  [protected, virtual]
 

This filter does not actually "produce" any data, rather it "wraps" the user supplied data into an itk::Image.

Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >.

virtual void itk::ProcessObject::GenerateInputRequestedRegion  )  [protected, virtual, inherited]
 

What is the input requested region that is required to produce the output requested region? By default, the largest possible region is always required but this is overridden in many subclasses. For instance, for an image processing filter where an output pixel is a simple function of an input pixel, the input requested region will be set to the output requested region. For an image processing filter where an output pixel is a function of the pixels in a neighborhood of an input pixel, then the input requested region will need to be larger than the output requested region (to avoid introducing artificial boundary conditions). This function should never request an input region that is outside the the input largest possible region (i.e. implementations of this method should crop the input requested region at the boundaries of the input largest possible region).

Reimplemented in itk::CurvatureFlowImageFilter< TInputImage, TOutputImage >, itk::FFTComplexConjugateToRealImageFilter< TPixel, Dimension >, itk::HistogramMatchingImageFilter< TInputImage, TOutputImage >, 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 >, itk::MultiResolutionPyramidImageFilter< TInputImage, TOutputImage >, itk::OtsuMultipleThresholdsImageFilter< TInputImage, TOutputImage >, itk::OtsuThresholdImageFilter< TInputImage, TOutputImage >, itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >, itk::RecursiveMultiResolutionPyramidImageFilter< TInputImage, TOutputImage >, itk::ReinitializeLevelSetImageFilter< TLevelSet >, itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >, itk::watershed::EquivalenceRelabeler< TScalarType, TImageDimension >, itk::watershed::Relabeler< TScalarType, TImageDimension >, itk::watershed::Segmenter< TInputImage >, itk::watershed::SegmentTreeGenerator< TScalarType >, itk::AccumulateImageFilter< TInputImage, TOutputImage >, itk::AdaptiveHistogramEqualizationImageFilter< TImageType >, itk::BilateralImageFilter< TInputImage, TOutputImage >, itk::BinaryMedianImageFilter< TInputImage, TOutputImage >, itk::BinaryMorphologyImageFilter< TInputImage, TOutputImage, TKernel >, itk::BinomialBlurImageFilter< TInputImage, TOutputImage >, itk::BlackTopHatImageFilter< TInputImage, TOutputImage, TKernel >, itk::BloxBoundaryPointToCoreAtomImageFilter< dim >, itk::BloxBoundaryProfileImageToBloxCoreAtomImageFilter< TInputImage, TOutputImage, TSourceImage >, itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >, itk::CannyEdgeDetectionImageFilter, itk::ChangeInformationImageFilter< TInputImage >, 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::DeformationFieldJacobianDeterminantFilter< TInputImage, TRealType, TOutputImage >, itk::DerivativeImageFilter< TInputImage, TOutputImage >, itk::DirectedHausdorffDistanceImageFilter< TInputImage1, TInputImage2 >, itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >, itk::DoubleThresholdImageFilter< TInputImage, TOutputImage >, itk::ExpandImageFilter< TInputImage, TOutputImage >, itk::ExtractOrthogonalSwath2DImageFilter< TImage >, itk::FlipImageFilter< TImage >, itk::GradientImageFilter< TInputImage, TOperatorValueType, TOutputValueType >, itk::GradientImageToBloxBoundaryPointImageFilter< TInputImage >, itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >, 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::InterpolateImagePointsFilter< TInputImage, TOutputImage, TCoordType, InterpolatorType >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::IsolatedConnectedImageFilter< TInputImage, TOutputImage >, itk::JoinSeriesImageFilter< TInputImage, TOutputImage >, itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >, itk::LaplacianImageFilter< TInputImage, TOutputImage >, itk::LaplacianRecursiveGaussianImageFilter< TInputImage, TOutputImage >, itk::LaplacianSharpeningImageFilter< TInputImage, TOutputImage >, itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, itk::MeanImageFilter< TInputImage, TOutputImage >, itk::MedianImageFilter< TInputImage, TOutputImage >, itk::MinimumMaximumImageFilter< TInputImage >, itk::MirrorPadImageFilter< TInputImage, TOutputImage >, itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >, itk::MorphologyImageFilter< TInputImage, TOutputImage, TKernel >, itk::NeighborhoodConnectedImageFilter< TInputImage, TOutputImage >, itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >, itk::NoiseImageFilter< TInputImage, TOutputImage >, itk::NonThreadedShrinkImageFilter< TInputImage, TOutputImage >, itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, itk::NormalizeImageFilter< TInputImage, TOutputImage >, itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >, itk::OpeningByReconstructionImageFilter< TInputImage, TOutputImage, TKernel >, itk::OrientImageFilter< TInputImage, TOutputImage >, itk::PadImageFilter< TInputImage, TOutputImage >, itk::PermuteAxesImageFilter< TImage >, itk::ReconstructionByDilationImageFilter< TInputImage, TOutputImage >, itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >, itk::RecursiveSeparableImageFilter< TInputImage, TOutputImage >, itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >, itk::RelabelComponentImageFilter< TInputImage, TOutputImage >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::SimilarityIndexImageFilter< TInputImage1, TInputImage2 >, itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >, itk::SmoothingRecursiveGaussianImageFilter< TInputImage, TOutputImage >, itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >, itk::StatisticsImageFilter< TInputImage >, itk::TileImageFilter< TInputImage, TOutputImage >, itk::TobogganImageFilter< TInputImage >, itk::VectorConfidenceConnectedImageFilter< TInputImage, TOutputImage >, itk::VectorExpandImageFilter< TInputImage, TOutputImage >, itk::VectorGradientMagnitudeImageFilter< TInputImage, TRealType, TOutputImage >, itk::VectorNeighborhoodOperatorImageFilter< TInputImage, TOutputImage >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::VotingBinaryImageFilter< TInputImage, TOutputImage >, itk::WarpImageFilter< TInputImage, TOutputImage, TDeformationField >, itk::WarpVectorImageFilter< TInputImage, TOutputImage, TDeformationField >, itk::WhiteTopHatImageFilter< TInputImage, TOutputImage, TKernel >, itk::WrapPadImageFilter< TInputImage, TOutputImage >, itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::MeshSource< TOutputMesh >, itk::PathAndImageToPathFilter< TInputPath, TInputImage, TOutputPath >, itk::PathToPathFilter< TInputPath, TOutputPath >, itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >, itk::watershed::Relabeler< ScalarType, itkGetStaticConstMacro(ImageDimension)>, itk::watershed::SegmentTreeGenerator< ScalarType >, itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TSpeedImage, TLevelSet >, itk::ImageToImageFilter< TDeformationField, TDeformationField >, itk::ImageToImageFilter< TInputImage, TInputImage >, itk::ImageToImageFilter< TInputImage1, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType >, itk::ImageToImageFilter< TInputImage, TSparseOutputImage >, itk::ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TDataType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, BloxBoundaryPointImage< ::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >, Image< TPixel, 3 > >, itk::ImageToImageFilter< TInputImage, Image< unsigned long,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TSourceImage, BloxBoundaryProfileImage< ::itk::GetImageDimension< TSourceImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TOutputImage >, itk::ImageToImageFilter< FeatureImageType, ImageType >, itk::ImageToImageFilter< TImageType, TImageType >, itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< BloxBoundaryPointImage< dim >, BloxCoreAtomImage< dim > >, itk::ImageToImageFilter< TInputImage, VectorImage< TProbabilityPrecisionType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TOutputValueType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, TClassifiedImage >, itk::ImageToImageFilter< TInputImage, TEigenValueImage >, itk::ImageToImageFilter< TInputVectorImage, Image< TLabelsType,::itk::GetImageDimension< TInputVectorImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TInputImage1 >, itk::ImageToImageFilter< ImageType, ImageType >, itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TLevelSet, TLevelSet >, itk::ImageToImageFilter< TMovingImage, TFixedImage >, itk::ImageToImageFilter< Image< TPixel, Dimension >, Image< std::complex< TPixel >, Dimension > >, itk::ImageToImageFilter< TImage, TImage >, itk::ImageToImageFilter< Image< std::complex< TPixel >, Dimension >, Image< TPixel, Dimension > >, itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >, itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >, itk::ImageToImageFilter< TImage, TImage >, itk::ImageToImageFilter< ImageType, ImageType >, itk::MeshSource< TOutputPointSet >, itk::MeshSource< VoronoiDiagram2D< TCoordType > >, itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >, itk::PathToPathFilter< TInputPath, TOutputChainCodePath >, itk::PathToPathFilter< TInputChainCodePath, TOutputFourierSeriesPath >, and itk::PathToPathFilter< TFourierSeriesPath, OrthogonallyCorrected2DParametricPath >.

template<typename TPixel, unsigned int VImageDimension = 2>
virtual void itk::ImportImageFilter< TPixel, VImageDimension >::GenerateOutputInformation  )  [protected, virtual]
 

This is a source, so it must set the spacing, size, and largest possible region for the output image that it will produce.

See also:
ProcessObject::GenerateOutputInformation()

Reimplemented from itk::ProcessObject.

virtual 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. 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)>, and itk::watershed::SegmentTreeGenerator< ScalarType >.

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

Get the AbortGenerateData flag for the process object. Process objects may handle premature termination of execution in different ways.

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

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

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

Get the value of the debug flag.

static bool itk::Object::GetGlobalWarningDisplay  )  [static, inherited]
 

template<typename TPixel, unsigned int VImageDimension = 2>
TPixel* itk::ImportImageFilter< TPixel, VImageDimension >::GetImportPointer  ) 
 

Get the pointer from which the image data is imported.

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

Method used internally for getting an input* DataObject* itk::ProcessObject::GetInput unsigned int  idx  )  [protected, inherited]
 

Reimplemented in itk::ImageToMeshFilter< TInputImage, TOutputMesh >, itk::PathToImageFilter< TInputPath, TOutputImage >, itk::PointSetToImageFilter< TInputPointSet, TOutputImage >, itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >, itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >, itk::TriangleMeshToBinaryImageFilter, itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::MeshToMeshFilter< TInputMesh, TOutputMesh >, itk::PathToPathFilter< TInputPath, TOutputPath >, itk::ImageFileWriter, itk::ImageSeriesWriter, itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TSpeedImage, TLevelSet >, itk::ImageToImageFilter< TDeformationField, TDeformationField >, itk::ImageToImageFilter< TInputImage, TInputImage >, itk::ImageToImageFilter< TInputImage1, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType >, itk::ImageToImageFilter< TInputImage, TSparseOutputImage >, itk::ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TDataType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, BloxBoundaryPointImage< ::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >, Image< TPixel, 3 > >, itk::ImageToImageFilter< TInputImage, Image< unsigned long,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TSourceImage, BloxBoundaryProfileImage< ::itk::GetImageDimension< TSourceImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TOutputImage >, itk::ImageToImageFilter< FeatureImageType, ImageType >, itk::ImageToImageFilter< TImageType, TImageType >, itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< BloxBoundaryPointImage< dim >, BloxCoreAtomImage< dim > >, itk::ImageToImageFilter< TInputImage, VectorImage< TProbabilityPrecisionType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TOutputValueType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, TClassifiedImage >, itk::ImageToImageFilter< TInputImage, TEigenValueImage >, itk::ImageToImageFilter< TInputVectorImage, Image< TLabelsType,::itk::GetImageDimension< TInputVectorImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TInputImage1 >, itk::ImageToImageFilter< ImageType, ImageType >, itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TLevelSet, TLevelSet >, itk::ImageToImageFilter< TMovingImage, TFixedImage >, itk::ImageToImageFilter< Image< TPixel, Dimension >, Image< std::complex< TPixel >, Dimension > >, itk::ImageToImageFilter< TImage, TImage >, itk::ImageToImageFilter< Image< std::complex< TPixel >, Dimension >, Image< TPixel, Dimension > >, itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >, itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >, itk::ImageToImageFilter< TImage, TImage >, itk::ImageToImageFilter< ImageType, ImageType >, itk::PathToPathFilter< TInputPath, TOutputChainCodePath >, itk::PathToPathFilter< TInputChainCodePath, TOutputFourierSeriesPath >, and itk::PathToPathFilter< TFourierSeriesPath, OrthogonallyCorrected2DParametricPath >.

Referenced by itk::watershed::EquivalenceRelabeler< TScalarType, TImageDimension >::GetEquivalencyTable(), itk::watershed::SegmentTreeGenerator< ScalarType >::GetInputEquivalencyTable(), itk::watershed::Segmenter< TInputImage >::GetInputImage(), itk::watershed::Relabeler< ScalarType, itkGetStaticConstMacro(ImageDimension)>::GetInputImage(), itk::watershed::EquivalenceRelabeler< TScalarType, TImageDimension >::GetInputImage(), itk::watershed::SegmentTreeGenerator< ScalarType >::GetInputSegmentTable(), itk::watershed::Relabeler< ScalarType, itkGetStaticConstMacro(ImageDimension)>::GetInputSegmentTree(), and itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::GetLabelInput().

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.

const MetaDataDictionary& itk::Object::GetMetaDataDictionary void   )  const [inherited]
 

Returns:
A constant reference to this objects MetaDataDictionary.

MetaDataDictionary& itk::Object::GetMetaDataDictionary void   )  [inherited]
 

Returns:
A reference to this objects MetaDataDictionary.
Warning:
This reference may be changed.

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

Return this objects modified time.

Reimplemented in itk::ImageRegistrationMethod< TFixedImage, TMovingImage >, itk::DeformationFieldSource< TOutputImage >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >, itk::SceneSpatialObject< SpaceDimension >, and itk::SceneSpatialObject< NDimensions >.

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

Return the multithreader used by this class.

Definition at line 281 of file itkProcessObject.h.

template<typename TPixel, unsigned int VImageDimension = 2>
virtual const char* itk::ImportImageFilter< TPixel, VImageDimension >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >.

std::vector<DataObjectPointer>::size_type itk::ProcessObject::GetNumberOfInputs  )  const [inline, inherited]
 

Get the size of the input vector. This is merely the size of the input vector, not the number of inputs that have valid DataObject's assigned. Use GetNumberOfValidRequiredInputs() to determine how many inputs are non-null.

Definition at line 115 of file itkProcessObject.h.

std::vector<DataObjectPointer>::size_type itk::ProcessObject::GetNumberOfOutputs  )  const [inline, inherited]
 

Definition at line 132 of file itkProcessObject.h.

virtual const unsigned int& itk::ProcessObject::GetNumberOfRequiredInputs  )  [protected, virtual, inherited]
 

virtual const unsigned int& itk::ProcessObject::GetNumberOfRequiredOutputs  )  [protected, virtual, inherited]
 

virtual const int& itk::ProcessObject::GetNumberOfThreads  )  [virtual, inherited]
 

virtual std::vector<DataObjectPointer>::size_type itk::ProcessObject::GetNumberOfValidRequiredInputs  )  const [virtual, inherited]
 

Get the number of valid 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 >, and itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >.

template<typename TPixel, unsigned int VImageDimension = 2>
virtual const double* itk::ImportImageFilter< TPixel, VImageDimension >::GetOrigin  )  const [virtual]
 

Get the origin of the image.

See also:
SetOrigin()

template<typename TPixel, unsigned int VImageDimension = 2>
Set the origin of the image* sa itk::ImportImageFilter< TPixel, VImageDimension >::GetOrigin  )  const
 

const DataObject* itk::ProcessObject::GetOutput unsigned int  idx  )  const [protected, inherited]
 

OutputImageType* itk::ImageSource< Image< TPixel, VImageDimension > >::GetOutput unsigned int  idx  )  [inherited]
 

Reimplemented from itk::ProcessObject.

Get the output data of this process object The output of this* function is not valid until an appropriate either explicitly or implicitly Both the filter* itself and the data object have and both* methods update the data Here are three ways to use* itk::ImageSource< Image< TPixel, VImageDimension > >::GetOutput void   )  [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* DataObjectPointerArray& itk::ProcessObject::GetOutputs  )  [inline, inherited]
 

Definition at line 130 of file itkProcessObject.h.

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.

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

Gets the reference count on this object.

Definition at line 98 of file itkLightObject.h.

template<typename TPixel, unsigned int VImageDimension = 2>
const RegionType& itk::ImportImageFilter< TPixel, VImageDimension >::GetRegion  )  const [inline]
 

Get the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.

See also:
ImageRegion

Definition at line 99 of file itkImportImageFilter.h.

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

virtual bool itk::ProcessObject::GetReleaseDataFlag  )  const [virtual, inherited]
 

static void itk::Object::GlobalWarningDisplayOff  )  [inline, static, inherited]
 

Definition at line 100 of file itkObject.h.

References itk::Object::SetGlobalWarningDisplay().

static void itk::Object::GlobalWarningDisplayOn  )  [inline, static, inherited]
 

Definition at line 98 of file itkObject.h.

References itk::Object::SetGlobalWarningDisplay().

virtual void itk::ImageSource< Image< TPixel, VImageDimension > >::GraftNthOutput unsigned int  idx,
DataObject output
[virtual, inherited]
 

Graft the specified data object onto this ProcessObject's idx'th output. This is the similar to GraftOutput method except is allows you 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< Image< TPixel, VImageDimension > >::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.

Get the output data of this process object The output of this* function is not valid until an appropriate either explicitly or implicitly Both the filter* itself and the data object have and both* methods update the data Here are three ways to use* a image is a pointer to some Image and the* particular ProcessObjects involved are filters The same* examples apply to non itk::ImageSource< Image< TPixel, VImageDimension > >::image e.g.  Mesh  )  [inherited]
 

itk::ImageSource< Image< TPixel, VImageDimension > >::ImageSource  )  [protected, inherited]
 

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

Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object.

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

Call Execute on all the Commands observing this event id.

virtual DataObjectPointer itk::ImageSource< Image< TPixel, VImageDimension > >::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.

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

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

Referenced by itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetCenter(), itk::HistogramAlgorithmBase< TInputHistogram >::SetInputHistogram(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetMatrix(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetOffset(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), itk::CollidingFrontsImageFilter< TInputImage, TOutputImage >::SetSeedPoints1(), itk::CollidingFrontsImageFilter< TInputImage, TOutputImage >::SetSeedPoints2(), itk::NonUniformBSpline< TDimension >::SetSplineOrder(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds(), itk::Statistics::GoodnessOfFitFunctionBase< typename ComponentType::HistogramType >::SetTotalObservedScale(), and itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetTranslation().

template<typename TPixel, unsigned int VImageDimension = 2>
static Pointer itk::ImportImageFilter< TPixel, VImageDimension >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

virtual void itk::ProcessObject::PopBackInput  )  [protected, virtual, inherited]
 

Reimplemented in itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TSpeedImage, TLevelSet >, itk::ImageToImageFilter< TDeformationField, TDeformationField >, itk::ImageToImageFilter< TInputImage, TInputImage >, itk::ImageToImageFilter< TInputImage1, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType >, itk::ImageToImageFilter< TInputImage, TSparseOutputImage >, itk::ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TDataType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, BloxBoundaryPointImage< ::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >, Image< TPixel, 3 > >, itk::ImageToImageFilter< TInputImage, Image< unsigned long,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TSourceImage, BloxBoundaryProfileImage< ::itk::GetImageDimension< TSourceImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TOutputImage >, itk::ImageToImageFilter< FeatureImageType, ImageType >, itk::ImageToImageFilter< TImageType, TImageType >, itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< BloxBoundaryPointImage< dim >, BloxCoreAtomImage< dim > >, itk::ImageToImageFilter< TInputImage, VectorImage< TProbabilityPrecisionType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TOutputValueType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, TClassifiedImage >, itk::ImageToImageFilter< TInputImage, TEigenValueImage >, itk::ImageToImageFilter< TInputVectorImage, Image< TLabelsType,::itk::GetImageDimension< TInputVectorImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TInputImage1 >, itk::ImageToImageFilter< ImageType, ImageType >, itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TLevelSet, TLevelSet >, itk::ImageToImageFilter< TMovingImage, TFixedImage >, itk::ImageToImageFilter< Image< TPixel, Dimension >, Image< std::complex< TPixel >, Dimension > >, itk::ImageToImageFilter< TImage, TImage >, itk::ImageToImageFilter< Image< std::complex< TPixel >, Dimension >, Image< TPixel, Dimension > >, itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >, itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >, itk::ImageToImageFilter< TImage, TImage >, and itk::ImageToImageFilter< ImageType, ImageType >.

virtual void itk::ProcessObject::PopFrontInput  )  [protected, virtual, inherited]
 

Reimplemented in itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TSpeedImage, TLevelSet >, itk::ImageToImageFilter< TDeformationField, TDeformationField >, itk::ImageToImageFilter< TInputImage, TInputImage >, itk::ImageToImageFilter< TInputImage1, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType >, itk::ImageToImageFilter< TInputImage, TSparseOutputImage >, itk::ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TDataType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, BloxBoundaryPointImage< ::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >, Image< TPixel, 3 > >, itk::ImageToImageFilter< TInputImage, Image< unsigned long,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TSourceImage, BloxBoundaryProfileImage< ::itk::GetImageDimension< TSourceImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TOutputImage >, itk::ImageToImageFilter< FeatureImageType, ImageType >, itk::ImageToImageFilter< TImageType, TImageType >, itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< BloxBoundaryPointImage< dim >, BloxCoreAtomImage< dim > >, itk::ImageToImageFilter< TInputImage, VectorImage< TProbabilityPrecisionType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TOutputValueType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, TClassifiedImage >, itk::ImageToImageFilter< TInputImage, TEigenValueImage >, itk::ImageToImageFilter< TInputVectorImage, Image< TLabelsType,::itk::GetImageDimension< TInputVectorImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TInputImage1 >, itk::ImageToImageFilter< ImageType, ImageType >, itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TLevelSet, TLevelSet >, itk::ImageToImageFilter< TMovingImage, TFixedImage >, itk::ImageToImageFilter< Image< TPixel, Dimension >, Image< std::complex< TPixel >, Dimension > >, itk::ImageToImageFilter< TImage, TImage >, itk::ImageToImageFilter< Image< std::complex< TPixel >, Dimension >, Image< TPixel, Dimension > >, itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >, itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >, itk::ImageToImageFilter< TImage, TImage >, and itk::ImageToImageFilter< ImageType, ImageType >.

virtual 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 >.

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

Cause the object to print itself out.

bool itk::Object::PrintObservers std::ostream &  os,
Indent  indent
const [protected, inherited]
 

template<typename TPixel, unsigned int VImageDimension = 2>
void itk::ImportImageFilter< TPixel, VImageDimension >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including 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.

virtual void itk::LightObject::PrintTrailer std::ostream &  os,
Indent  indent
const [protected, virtual, inherited]
 

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

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

Reimplemented in itk::VTKImageImport< TOutputImage >.

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

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

Push Pop an 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 especially* filters with different types of inputs These routines follow* the semantics of STL* virtual void itk::ProcessObject::PushBackInput const DataObject input  )  [protected, virtual, inherited]
 

Reimplemented in itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TSpeedImage, TLevelSet >, itk::ImageToImageFilter< TDeformationField, TDeformationField >, itk::ImageToImageFilter< TInputImage, TInputImage >, itk::ImageToImageFilter< TInputImage1, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType >, itk::ImageToImageFilter< TInputImage, TSparseOutputImage >, itk::ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TDataType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, BloxBoundaryPointImage< ::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >, Image< TPixel, 3 > >, itk::ImageToImageFilter< TInputImage, Image< unsigned long,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TSourceImage, BloxBoundaryProfileImage< ::itk::GetImageDimension< TSourceImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TOutputImage >, itk::ImageToImageFilter< FeatureImageType, ImageType >, itk::ImageToImageFilter< TImageType, TImageType >, itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< BloxBoundaryPointImage< dim >, BloxCoreAtomImage< dim > >, itk::ImageToImageFilter< TInputImage, VectorImage< TProbabilityPrecisionType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TOutputValueType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, TClassifiedImage >, itk::ImageToImageFilter< TInputImage, TEigenValueImage >, itk::ImageToImageFilter< TInputVectorImage, Image< TLabelsType,::itk::GetImageDimension< TInputVectorImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TInputImage1 >, itk::ImageToImageFilter< ImageType, ImageType >, itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TLevelSet, TLevelSet >, itk::ImageToImageFilter< TMovingImage, TFixedImage >, itk::ImageToImageFilter< Image< TPixel, Dimension >, Image< std::complex< TPixel >, Dimension > >, itk::ImageToImageFilter< TImage, TImage >, itk::ImageToImageFilter< Image< std::complex< TPixel >, Dimension >, Image< TPixel, Dimension > >, itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >, itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >, itk::ImageToImageFilter< TImage, TImage >, and itk::ImageToImageFilter< ImageType, ImageType >.

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

Reimplemented in itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TSpeedImage, TLevelSet >, itk::ImageToImageFilter< TDeformationField, TDeformationField >, itk::ImageToImageFilter< TInputImage, TInputImage >, itk::ImageToImageFilter< TInputImage1, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType >, itk::ImageToImageFilter< TInputImage, TSparseOutputImage >, itk::ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TDataType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, BloxBoundaryPointImage< ::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >, Image< TPixel, 3 > >, itk::ImageToImageFilter< TInputImage, Image< unsigned long,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TSourceImage, BloxBoundaryProfileImage< ::itk::GetImageDimension< TSourceImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TOutputImage >, itk::ImageToImageFilter< FeatureImageType, ImageType >, itk::ImageToImageFilter< TImageType, TImageType >, itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< BloxBoundaryPointImage< dim >, BloxCoreAtomImage< dim > >, itk::ImageToImageFilter< TInputImage, VectorImage< TProbabilityPrecisionType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TOutputValueType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, TClassifiedImage >, itk::ImageToImageFilter< TInputImage, TEigenValueImage >, itk::ImageToImageFilter< TInputVectorImage, Image< TLabelsType,::itk::GetImageDimension< TInputVectorImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TInputImage1 >, itk::ImageToImageFilter< ImageType, ImageType >, itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TLevelSet, TLevelSet >, itk::ImageToImageFilter< TMovingImage, TFixedImage >, itk::ImageToImageFilter< Image< TPixel, Dimension >, Image< std::complex< TPixel >, Dimension > >, itk::ImageToImageFilter< TImage, TImage >, itk::ImageToImageFilter< Image< std::complex< TPixel >, Dimension >, Image< TPixel, Dimension > >, itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >, itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >, itk::ImageToImageFilter< TImage, TImage >, and itk::ImageToImageFilter< ImageType, ImageType >.

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

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

Reimplemented from itk::LightObject.

virtual void itk::ProcessObject::ReleaseDataBeforeUpdateFlagOff  )  [virtual, inherited]
 

virtual void itk::ProcessObject::ReleaseDataBeforeUpdateFlagOn  )  [virtual, inherited]
 

void itk::ProcessObject::ReleaseDataFlagOff  )  [inline, inherited]
 

Definition at line 254 of file itkProcessObject.h.

void itk::ProcessObject::ReleaseDataFlagOn  )  [inline, inherited]
 

Definition at line 253 of file itkProcessObject.h.

virtual 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 itk::InPlaceImageFilter< TInputImage, TOutputImage >, itk::InPlaceImageFilter< TInputImage, TOutputImage >, itk::InPlaceImageFilter< TDeformationField, TDeformationField >, itk::InPlaceImageFilter< TInputImage >, itk::InPlaceImageFilter< TInputImage, TSparseOutputImage >, itk::InPlaceImageFilter< TInputImage1, TOutputImage >, itk::InPlaceImageFilter< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::InPlaceImageFilter< FeatureImageType, ImageType >, itk::InPlaceImageFilter< TInputImage1, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType >, itk::InPlaceImageFilter< TInputImageType, TSparseOutputImageType >, and itk::InPlaceImageFilter< TImage, TImage >.

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

Remove all observers .

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

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

Remove the observer with this tag value.

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

virtual 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.

virtual void itk::ProcessObject::RestoreInputReleaseDataFlags  )  [protected, virtual, inherited]
 

Restore the cached input ReleaseDataFlags.

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

Set the AbortGenerateData flag for the process object. Process objects may handle premature termination of execution in different ways.

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

Set the value of the debug flag. A non-zero value turns debugging on.

This is a global flag that controls whether any warning* or error messages are displayed* static void itk::Object::SetGlobalWarningDisplay bool  flag  )  [static, inherited]
 

Referenced by itk::Object::GlobalWarningDisplayOff(), and itk::Object::GlobalWarningDisplayOn().

template<typename TPixel, unsigned int VImageDimension = 2>
void itk::ImportImageFilter< TPixel, VImageDimension >::SetImportPointer TPixel *  ptr,
unsigned long  num,
bool  LetFilterManageMemory
 

Set the pointer from which the image data is imported. "num" is the number of pixels in the block of memory. If "LetFilterManageMemory" is false, then the this filter will not free the memory in its destructor and the application providing the buffer retains the responsibility of freeing the memory for this image data. If "LetFilterManageMemory" is true, then this class will free the memory when this object is destroyed.

void itk::Object::SetMetaDataDictionary const MetaDataDictionary rhs  )  [inherited]
 

Returns:
Set the MetaDataDictionary

Protected methods for setting inputs* Subclasses make use of them for setting input* virtual void itk::ProcessObject::SetNthInput unsigned int  num,
DataObject input
[protected, virtual, inherited]
 

Referenced by itk::watershed::BoundaryResolver< TPixelType, TDimension >::SetBoundaryA(), itk::watershed::BoundaryResolver< TPixelType, TDimension >::SetBoundaryB(), itk::watershed::EquivalenceRelabeler< TScalarType, TImageDimension >::SetEquivalencyTable(), itk::WatershedImageFilter< TInputImage >::SetInput(), itk::watershed::SegmentTreeGenerator< ScalarType >::SetInputEquivalencyTable(), itk::watershed::Segmenter< TInputImage >::SetInputImage(), itk::watershed::Relabeler< ScalarType, itkGetStaticConstMacro(ImageDimension)>::SetInputImage(), itk::watershed::EquivalenceRelabeler< TScalarType, TImageDimension >::SetInputImage(), itk::watershed::SegmentTreeGenerator< ScalarType >::SetInputSegmentTable(), itk::watershed::Relabeler< ScalarType, itkGetStaticConstMacro(ImageDimension)>::SetInputSegmentTree(), itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::SetReferenceImage(), itk::DiffusionTensor3DReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TTensorPixelType >::SetReferenceImage(), and itk::ChangeInformationImageFilter< TInputImage >::SetReferenceImage().

Protected methods for setting outputs* Subclasses make use of them for getting output* virtual void itk::ProcessObject::SetNthOutput unsigned int  num,
DataObject output
[protected, virtual, inherited]
 

Referenced by itk::watershed::BoundaryResolver< TPixelType, TDimension >::BoundaryResolver(), itk::watershed::EquivalenceRelabeler< TScalarType, TImageDimension >::EquivalenceRelabeler(), itk::watershed::Segmenter< TInputImage >::SetBoundary(), itk::watershed::BoundaryResolver< TPixelType, TDimension >::SetEquivalencyTable(), itk::watershed::Segmenter< TInputImage >::SetOutputImage(), itk::watershed::Relabeler< ScalarType, itkGetStaticConstMacro(ImageDimension)>::SetOutputImage(), itk::watershed::EquivalenceRelabeler< TScalarType, TImageDimension >::SetOutputImage(), and itk::watershed::Segmenter< TInputImage >::SetSegmentTable().

void itk::ProcessObject::SetNumberOfInputs unsigned int  num  )  [protected, inherited]
 

Called to allocate the input array. Copies old inputs.

void itk::ProcessObject::SetNumberOfOutputs unsigned int  num  )  [protected, inherited]
 

Called to allocate the output array. Copies old outputs.

virtual void itk::ProcessObject::SetNumberOfRequiredInputs unsigned int  _arg  )  [protected, virtual, inherited]
 

virtual void itk::ProcessObject::SetNumberOfRequiredOutputs unsigned int  _arg  )  [protected, virtual, inherited]
 

Get Set the number of threads to create when executing* virtual void itk::ProcessObject::SetNumberOfThreads int  _arg  )  [virtual, inherited]
 

template<typename TPixel, unsigned int VImageDimension = 2>
void itk::ImportImageFilter< TPixel, VImageDimension >::SetOrigin const OriginType origin  ) 
 

template<typename TPixel, unsigned int VImageDimension = 2>
virtual void itk::ImportImageFilter< TPixel, VImageDimension >::SetOrigin const float  data[]  )  [virtual]
 

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.

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

Sets the reference count (use with care)

Reimplemented from itk::LightObject.

template<typename TPixel, unsigned int VImageDimension = 2>
void itk::ImportImageFilter< TPixel, VImageDimension >::SetRegion const RegionType region  )  [inline]
 

Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.

See also:
ImageRegion

Definition at line 92 of file itkImportImageFilter.h.

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* virtual void itk::ProcessObject::SetReleaseDataFlag bool  flag  )  [virtual, inherited]
 

template<typename TPixel, unsigned int VImageDimension = 2>
void itk::ImportImageFilter< TPixel, VImageDimension >::SetSpacing const SpacingType spacing  ) 
 

template<typename TPixel, unsigned int VImageDimension = 2>
virtual void itk::ImportImageFilter< TPixel, VImageDimension >::SetSpacing const float  data[]  )  [virtual]
 

template<typename TPixel, unsigned int VImageDimension = 2>
Get the itk::ImportImageFilter< TPixel, VImageDimension >::spacing size of a  pixel  )  const
 

template<typename TPixel, unsigned int VImageDimension = 2>
Set the itk::ImportImageFilter< TPixel, VImageDimension >::spacing size of a  pixel  )  const
 

virtual int itk::ImageSource< Image< TPixel, VImageDimension > >::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".

virtual void itk::ImageSource< Image< TPixel, VImageDimension > >::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< Image< TPixel, VImageDimension > >::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().

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

Decrease the reference count (release by another object).

Reimplemented from itk::LightObject.

* endcode* In the above the two lines of code can be in* either order* * Note that it may be more efficient to* use a pipeline than to call itk::ImageSource< Image< TPixel, VImageDimension > >::Update  )  [virtual, inherited]
 

Bring this filter up-to-date. 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 from itk::ProcessObject.

* endcode* In the above the two lines of code can be in* either order* * Note that itk::ImageSource< Image< TPixel, VImageDimension > >::Update  )  [virtual, inherited]
 

Bring this filter up-to-date. 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 from itk::ProcessObject.

* endcode* * code* someFilter itk::ImageSource< Image< TPixel, VImageDimension > >::Update  )  [virtual, inherited]
 

Bring this filter up-to-date. 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 from itk::ProcessObject.

* image itk::ImageSource< Image< TPixel, VImageDimension > >::Update  )  [virtual, inherited]
 

Bring this filter up-to-date. 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 from itk::ProcessObject.

* anotherFilter itk::ImageSource< Image< TPixel, VImageDimension > >::Update  )  [virtual, inherited]
 

Bring this filter up-to-date. 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 from itk::ProcessObject.

Get the output data of this process object The output of this* function is not valid until an appropriate either explicitly or implicitly Both the filter* itself and the data object have itk::ImageSource< Image< TPixel, VImageDimension > >::Update  )  [virtual, inherited]
 

Bring this filter up-to-date. 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 from itk::ProcessObject.

Get the output data of this process object The output of this* function is not valid until an appropriate itk::ImageSource< Image< TPixel, VImageDimension > >::Update  )  [virtual, inherited]
 

Bring this filter up-to-date. 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 from itk::ProcessObject.

virtual 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().

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

Actually generate new output

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

virtual void itk::ProcessObject::UpdateOutputInformation  )  [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.

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

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.


Member Data Documentation

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 unsigned lon itk::Object::AddObserver)(const EventObject &event, Command *) const [inherited]
 

This is a global flag that controls whether any itk::Object::debug [inherited]
 

Definition at line 94 of file itkObject.h.

* endcode* In the above itk::ImageSource< Image< TPixel, VImageDimension > >::example [inherited]
 

Definition at line 100 of file itkImageSource.h.

Push Pop an 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 itk::ProcessObject::filters [protected, inherited]
 

Reimplemented in itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TInputImage, TOutputImage >, itk::ImageToImageFilter< TSpeedImage, TLevelSet >, itk::ImageToImageFilter< TDeformationField, TDeformationField >, itk::ImageToImageFilter< TInputImage, TInputImage >, itk::ImageToImageFilter< TInputImage1, Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType >, itk::ImageToImageFilter< TInputImage, TSparseOutputImage >, itk::ImageToImageFilter< Image< TReferenceImagePixelType, 3 >, Image< DiffusionTensor3D< TTensorPixelType >, 3 > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TDataType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, BloxBoundaryPointImage< ::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >, Image< TPixel, 3 > >, itk::ImageToImageFilter< TInputImage, Image< unsigned long,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TSourceImage, BloxBoundaryProfileImage< ::itk::GetImageDimension< TSourceImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TOutputImage >, itk::ImageToImageFilter< FeatureImageType, ImageType >, itk::ImageToImageFilter< TImageType, TImageType >, itk::ImageToImageFilter< TInputImage, Image< unsigned char,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< BloxBoundaryPointImage< dim >, BloxCoreAtomImage< dim > >, itk::ImageToImageFilter< TInputImage, VectorImage< TProbabilityPrecisionType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, Image< CovariantVector< TOutputValueType,::itk::GetImageDimension< TInputImage >::ImageDimension >,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage, TClassifiedImage >, itk::ImageToImageFilter< TInputImage, TEigenValueImage >, itk::ImageToImageFilter< TInputVectorImage, Image< TLabelsType,::itk::GetImageDimension< TInputVectorImage >::ImageDimension > >, itk::ImageToImageFilter< TInputImage1, TInputImage1 >, itk::ImageToImageFilter< ImageType, ImageType >, itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >, itk::ImageToImageFilter< TLevelSet, TLevelSet >, itk::ImageToImageFilter< TMovingImage, TFixedImage >, itk::ImageToImageFilter< Image< TPixel, Dimension >, Image< std::complex< TPixel >, Dimension > >, itk::ImageToImageFilter< TImage, TImage >, itk::ImageToImageFilter< Image< std::complex< TPixel >, Dimension >, Image< TPixel, Dimension > >, itk::ImageToImageFilter< TInputImageType, TSparseOutputImageType >, itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >, itk::ImageToImageFilter< TImage, TImage >, and itk::ImageToImageFilter< ImageType, ImageType >.

Definition at line 303 of file itkProcessObject.h.

* itk::ImageSource< Image< TPixel, VImageDimension > >::image [inherited]
 

Definition at line 98 of file itkImageSource.h.

* endcode* * In this a someFilter and a anotherFilter are said* to constitute a b pipeline* * code* itk::ImageSource< Image< TPixel, VImageDimension > >::image [inherited]
 

Definition at line 92 of file itkImageSource.h.

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

Time when GenerateOutputInformation was last called.

Definition at line 428 of file itkProcessObject.h.

int itk::LightObject::m_ReferenceCount [mutable, protected, inherited]
 

Number of uses of this object by other objects.

Definition at line 119 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock [mutable, protected, inherited]
 

Mutex lock to protect modification to the reference count

Definition at line 122 of file itkLightObject.h.

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

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

Definition at line 425 of file itkProcessObject.h.

Get the output data of this process object The output of this* function is not valid until an appropriate either explicitly or implicitly Both the filter* itself and the data object have and both* methods update the data Here are three ways to use* a image is a pointer to some Image itk::ImageSource< Image< TPixel, VImageDimension > >::object [inherited]
 

Definition at line 79 of file itkImageSource.h.

Methods invoked by virtual Print () to print information about the object * including superclasses. Typically not called by the user (use Print() * instead) but used in the hierarchical print process to combine the * output of several classes. */ virtual void PrintSelf(std voi itk::LightObject::PrintHeader)(std::ostream &os, Indent indent) const [protected, inherited]
 

* endcode* In the above the two lines of code can be in* either order* * Note that it may be more efficient to* use a pipeline than to call the data generated is for the requested* itk::ImageSource< Image< TPixel, VImageDimension > >::Region [inherited]
 

Definition at line 110 of file itkImageSource.h.

* endcode* * In this itk::ImageSource< Image< TPixel, VImageDimension > >::situation [inherited]
 

Definition at line 88 of file itkImageSource.h.


The documentation for this class was generated from the following file:
Generated at Sun Jul 9 20:22:52 2006 for ITK by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2000