ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage > Class Template Reference

#include <itkFastMarchingUpwindGradientImageFilter.h>

+ Inheritance diagram for itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >:
+ Collaboration diagram for itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >:

Detailed Description

template<class TLevelSet, class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
class itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >

Generates the upwind gradient field of fast marching arrival times.

This filter adds some extra functionality to its base class. While the solution T(x) of the Eikonal equation is being generated by the base class with the fast marching method, the filter generates the upwind gradient vectors of T(x), storing them in an image.

Since the Eikonal equation generates the arrival times of a wave travelling at a given speed, the generated gradient vectors can be interpreted as the slowness (1/velocity) vectors of the front (the quantity inside the modulus operator in the Eikonal equation).

Gradient vectors are computed using upwind finite differences, that is, information only propagates from points where the wavefront has already passed. This is consistent with how the fast marching method works.

One more extra feature is the possibility to define a set of Target points where the propagation stops. This can be used to avoid computing the Eikonal solution for the whole domain. The front can be stopped either when one Target point is reached or all Target points are reached. The propagation can stop after a time TargetOffset has passed since the stop condition is met. This way the solution is computed a bit downstream the Target points, so that the level sets of T(x) corresponding to the Target are smooth.

Author
Luca Antiga Ph.D. Biomedical Technologies Laboratory, Bioengineering Department, Mario Negri Institute, Italy.

Definition at line 61 of file itkFastMarchingUpwindGradientImageFilter.h.

Public Types

enum  {
  NoTargets,
  OneTarget,
  SomeTargets,
  AllTargets
}
 
typedef Superclass::AxisNodeType AxisNodeType
 
typedef SmartPointer< const SelfConstPointer
 
typedef GradientImageType::Pointer GradientImagePointer
 
typedef Image
< GradientPixelType,
itkGetStaticConstMacro(SetDimension) > 
GradientImageType
 
typedef CovariantVector
< PixelType,
itkGetStaticConstMacro(SetDimension) > 
GradientPixelType
 
typedef Superclass::IndexType IndexType
 
typedef Superclass::LabelImageType LabelImageType
 
typedef
Superclass::LevelSetImageType 
LevelSetImageType
 
typedef
Superclass::LevelSetIndexType 
LevelSetIndexType
 
typedef Superclass::LevelSetPointer LevelSetPointer
 
typedef Superclass::LevelSetType LevelSetType
 
typedef Superclass::NodeContainer NodeContainer
 
typedef
Superclass::NodeContainerPointer 
NodeContainerPointer
 
typedef Superclass::NodeType NodeType
 
typedef
Superclass::OutputSpacingType 
OutputSpacingType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::OutputPointType PointType
 
typedef
FastMarchingUpwindGradientImageFilter 
Self
 
typedef
Superclass::SpeedImageConstPointer 
SpeedImageConstPointer
 
typedef Superclass::SpeedImageType SpeedImageType
 
typedef
FastMarchingImageFilter
< TLevelSet, TSpeedImage > 
Superclass
 
- Public Types inherited from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >
typedef SmartPointer< const SelfConstPointer
 
typedef Index
< itkGetStaticConstMacro(SetDimension) > 
IndexType
 
typedef LabelImageType::Pointer LabelImagePointer
 
typedef Image< unsigned char,
itkGetStaticConstMacro(SetDimension) > 
LabelImageType
 
enum  LabelType {
  FarPoint = 0,
  AlivePoint,
  TrialPoint,
  InitialTrialPoint,
  OutsidePoint
}
 
typedef
LevelSetType::LevelSetImageType 
LevelSetImageType
 
typedef
LevelSetType::LevelSetPointer 
LevelSetPointer
 
typedef LevelSetTypeDefault
< TLevelSet > 
LevelSetType
 
typedef LevelSetType::NodeContainer NodeContainer
 
typedef
LevelSetType::NodeContainerPointer 
NodeContainerPointer
 
typedef NodeType::IndexType NodeIndexType
 
typedef LevelSetType::NodeType NodeType
 
typedef
LevelSetImageType::DirectionType 
OutputDirectionType
 
typedef
LevelSetImageType::PointType 
OutputPointType
 
typedef
LevelSetImageType::RegionType 
OutputRegionType
 
typedef LevelSetImageType::SizeType OutputSizeType
 
typedef
LevelSetImageType::SpacingType 
OutputSpacingType
 
typedef LevelSetType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef FastMarchingImageFilter Self
 
typedef
SpeedImageType::ConstPointer 
SpeedImageConstPointer
 
typedef SpeedImageType::Pointer SpeedImagePointer
 
typedef TSpeedImage SpeedImageType
 
typedef ImageSource< TLevelSet > Superclass
 
- Public Types inherited from itk::ImageToImageFilter< TSpeedImage, TLevelSet >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TSpeedImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource< TLevelSet > Superclass
 
- Public Types inherited from itk::ImageSource< TLevelSet >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TLevelSet OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
GradientImagePointer GetGradientImage () const
 
virtual const char * GetNameOfClass () const
 
virtual const SizeValueTypeGetNumberOfTargets ()
 
NodeContainerPointer GetReachedTargetPoints ()
 
virtual const double & GetTargetOffset ()
 
NodeContainerPointer GetTargetPoints ()
 
virtual const double & GetTargetValue ()
 
virtual void SetGenerateGradientImage (bool _arg)
 
virtual void SetTargetOffset (double _arg)
 
void SetTargetReachedModeToAllTargets ()
 
 typedef (Concept::DivisionOperators< typename TLevelSet::PixelType, double >) LevelSetDoubleDivisionOperatorsCheck
 
 typedef (Concept::DivisionAndAssignOperators< typename TLevelSet::PixelType, double >) LevelSetDoubleDivisionAndAssignOperatorsCheck
 
void SetTargetPoints (NodeContainer *points)
 
virtual const bool & GetGenerateGradientImage ()
 
virtual void GenerateGradientImageOn ()
 
virtual void GenerateGradientImageOff ()
 
virtual void SetTargetReachedMode (int _arg)
 
virtual const int & GetTargetReachedMode ()
 
void SetTargetReachedModeToNoTargets ()
 
void SetTargetReachedModeToOneTarget ()
 
void SetTargetReachedModeToSomeTargets (SizeValueType numberOfTargets)
 
- Public Member Functions inherited from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >
NodeContainerPointer GetAlivePoints ()
 
LabelImagePointer GetLabelImage () const
 
NodeContainerPointer GetProcessedPoints () const
 
virtual const double & GetSpeedConstant ()
 
virtual const double & GetStoppingValue ()
 
NodeContainerPointer GetTrialPoints ()
 
template<typename TPixel >
void SetBinaryMask (Image< TPixel, SetDimension > *iImage)
 
virtual void SetCollectPoints (bool _arg)
 
virtual void SetStoppingValue (double _arg)
 
 typedef (Concept::SameDimension< SetDimension, SpeedImageDimension >) SameDimensionCheck
 
 typedef (Concept::Convertible< typename TSpeedImage::PixelType, double >) SpeedConvertibleToDoubleCheck
 
 typedef (Concept::Convertible< double, PixelType >) DoubleConvertibleToLevelSetCheck
 
 typedef (Concept::OStreamWritable< PixelType >) LevelSetOStreamWritableCheck
 
void SetOutsidePoints (NodeContainer *points)
 
void SetAlivePoints (NodeContainer *points)
 
void SetTrialPoints (NodeContainer *points)
 
void SetSpeedConstant (double value)
 
virtual void SetNormalizationFactor (double _arg)
 
virtual double GetNormalizationFactor () const
 
virtual const bool & GetCollectPoints ()
 
virtual void CollectPointsOn ()
 
virtual void CollectPointsOff ()
 
virtual void SetOutputSize (const OutputSizeType &size)
 
virtual OutputSizeType GetOutputSize () const
 
virtual void SetOutputRegion (OutputRegionType _arg)
 
virtual const OutputRegionTypeGetOutputRegion ()
 
virtual void SetOutputSpacing (OutputSpacingType _arg)
 
virtual const OutputSpacingTypeGetOutputSpacing ()
 
virtual void SetOutputDirection (OutputDirectionType _arg)
 
virtual const OutputDirectionTypeGetOutputDirection ()
 
virtual void SetOutputOrigin (OutputPointType _arg)
 
virtual const OutputPointTypeGetOutputOrigin ()
 
virtual void SetOverrideOutputInformation (bool _arg)
 
virtual const bool & GetOverrideOutputInformation ()
 
virtual void OverrideOutputInformationOn ()
 
virtual void OverrideOutputInformationOff ()
 
- Public Member Functions inherited from itk::ImageToImageFilter< TSpeedImage, TLevelSet >
virtual double GetCoordinateTolerance ()
 
const InputImageTypeGetInput (void) const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TSpeedImage *image)
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance ()
 
- Public Member Functions inherited from itk::ImageSource< TLevelSet >
OutputImageTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
OutputImageTypeGetOutput (void)
 
const OutputImageTypeGetOutput (void) const
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx)
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData ()
 
NameArray GetInputNames () const
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
virtual const float & GetProgress ()
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetProgress (float _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float amount)
 
DataObjectPointerArray GetInputs ()
 
DataObjectPointerArray GetOutputs ()
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >
static Pointer New ()
 

Static Public Attributes

static const unsigned int SetDimension = Superclass::SetDimension
 
- Static Public Attributes inherited from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >
static const unsigned int SetDimension = LevelSetType::SetDimension
 
static const unsigned int SpeedImageDimension = SpeedImageType::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TSpeedImage, TLevelSet >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TLevelSet >
static const unsigned int OutputImageDimension
 

Protected Member Functions

virtual void ComputeGradient (const IndexType &index, const LevelSetImageType *output, const LabelImageType *labelImage, GradientImageType *gradientImage)
 
 FastMarchingUpwindGradientImageFilter ()
 
void GenerateData ()
 
virtual void Initialize (LevelSetImageType *)
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void UpdateNeighbors (const IndexType &index, const SpeedImageType *, LevelSetImageType *)
 
 ~FastMarchingUpwindGradientImageFilter ()
 
- Protected Member Functions inherited from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >
virtual void EnlargeOutputRequestedRegion (DataObject *output)
 
 FastMarchingImageFilter ()
 
virtual void GenerateOutputInformation ()
 
virtual const PixelTypeGetLargeValue ()
 
virtual const LevelSetIndexTypeGetLastIndex ()
 
const AxisNodeTypeGetNodeUsedInCalculation (unsigned int idx) const
 
virtual const LevelSetIndexTypeGetStartIndex ()
 
virtual double UpdateValue (const IndexType &index, const SpeedImageType *, LevelSetImageType *)
 
 ~FastMarchingImageFilter ()
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TSpeedImage, TLevelSet >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void GenerateInputRequestedRegion ()
 
virtual void VerifyInputInformation ()
 
void PushBackInput (const DataObject *input)
 
void PushFrontInput (const DataObject *input)
 
 ImageToImageFilter ()
 
 ~ImageToImageFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TLevelSet >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int num, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs ()
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

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

Private Attributes

bool m_GenerateGradientImage
 
GradientImagePointer m_GradientImage
 
SizeValueType m_NumberOfTargets
 
NodeContainerPointer m_ReachedTargetPoints
 
double m_TargetOffset
 
NodeContainerPointer m_TargetPoints
 
int m_TargetReachedMode
 
double m_TargetValue
 

Additional Inherited Members

- Protected Types inherited from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >
typedef
LevelSetImageType::IndexType 
LevelSetIndexType
 
- Static Protected Member Functions inherited from itk::ImageSource< TLevelSet >
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >
OutputRegionType m_BufferedRegion
 
LevelSetIndexType m_LastIndex
 
LevelSetIndexType m_StartIndex
 

Member Typedef Documentation

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::AxisNodeType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::AxisNodeType

Definition at line 85 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef SmartPointer< const Self > itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::ConstPointer

Definition at line 69 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef GradientImageType::Pointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GradientImagePointer

GradientImagePointer typedef support.

Definition at line 126 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Image< GradientPixelType, itkGetStaticConstMacro(SetDimension) > itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GradientImageType

GradientImage typedef support.

Definition at line 123 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef CovariantVector< PixelType, itkGetStaticConstMacro(SetDimension) > itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GradientPixelType

GradientPixel typedef support.

Definition at line 119 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::IndexType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::IndexType

Definition at line 90 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::LabelImageType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::LabelImageType

Definition at line 83 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::LevelSetImageType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::LevelSetImageType

Definition at line 80 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::LevelSetIndexType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::LevelSetIndexType

Definition at line 92 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::LevelSetPointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::LevelSetPointer

Definition at line 81 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::LevelSetType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::LevelSetType

Inherited typedefs.

Definition at line 75 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::NodeContainer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::NodeContainer

Definition at line 87 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::NodeContainerPointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::NodeContainerPointer

Definition at line 88 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::NodeType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::NodeType

Definition at line 86 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::OutputSpacingType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::OutputSpacingType

Definition at line 91 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::PixelType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::PixelType

Definition at line 84 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef SmartPointer< Self > itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::Pointer

Definition at line 68 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::OutputPointType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::PointType

Definition at line 94 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef FastMarchingUpwindGradientImageFilter itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::Self

Standard class typdedefs.

Definition at line 66 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::SpeedImageConstPointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SpeedImageConstPointer

Definition at line 82 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef Superclass::SpeedImageType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SpeedImageType

Definition at line 79 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
typedef FastMarchingImageFilter< TLevelSet, TSpeedImage > itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::Superclass

Definition at line 67 of file itkFastMarchingUpwindGradientImageFilter.h.

Member Enumeration Documentation

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
anonymous enum
Enumerator:
NoTargets 
OneTarget 
SomeTargets 
AllTargets 

Definition at line 177 of file itkFastMarchingUpwindGradientImageFilter.h.

Constructor & Destructor Documentation

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::FastMarchingUpwindGradientImageFilter ( )
protected

End concept checking

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::~FastMarchingUpwindGradientImageFilter ( )
inlineprotected

Definition at line 196 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::FastMarchingUpwindGradientImageFilter ( const Self )
private

Member Function Documentation

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::ComputeGradient ( const IndexType index,
const LevelSetImageType output,
const LabelImageType labelImage,
GradientImageType gradientImage 
)
protectedvirtual
template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual::itk::LightObject::Pointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::CreateAnother ( void  ) const
virtual

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::FastMarchingImageFilter< TLevelSet, TSpeedImage >.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GenerateData ( void  )
protectedvirtual

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

See Also
ThreadedGenerateData()

Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GenerateGradientImageOff ( )
virtual

Get the GenerateGradientImage flag.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GenerateGradientImageOn ( )
virtual

Get the GenerateGradientImage flag.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual const bool& itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GetGenerateGradientImage ( )
virtual

Get the GenerateGradientImage flag.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
GradientImagePointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GetGradientImage ( ) const
inline

Get the gradient image.

Definition at line 129 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual const char* itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual const SizeValueType& itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GetNumberOfTargets ( )
virtual

Get the number of targets.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
NodeContainerPointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GetReachedTargetPoints ( )
inline

Get the container of Reached Target Points.

Definition at line 114 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual const double& itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GetTargetOffset ( )
virtual

Get the TargetOffset ivar.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
NodeContainerPointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GetTargetPoints ( )
inline

Get the container of Target Points.

Definition at line 110 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual const int& itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GetTargetReachedMode ( )
virtual

Choose whether the front must stop when the first target has been reached or all targets have been reached.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual const double& itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::GetTargetValue ( )
virtual

Get the arrival time corresponding to the last reached target. If TargetReachedMode is set to NoTargets, TargetValue contains the last (aka largest) Eikonal solution value generated.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::Initialize ( LevelSetImageType )
protectedvirtual
template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
static Pointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::New ( )
static

Method for creation through the object factory.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::operator= ( const Self )
private
template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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::FastMarchingImageFilter< TLevelSet, TSpeedImage >.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SetGenerateGradientImage ( bool  _arg)
virtual

Set the GenerateGradientImage flag. Instrument the algorithm to generate the gradient of the Eikonal equation solution while fast marching.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SetTargetOffset ( double  _arg)
virtual

Set how long (in terms of arrival times) after targets are reached the front must stop. This is useful to ensure that the level set of target arrival time is smooth.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SetTargetPoints ( NodeContainer points)
inline

Set the container of Target Points. If a target point is reached, the propagation stops. Trial points are represented as a VectorContainer of LevelSetNodes.

Definition at line 102 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SetTargetReachedMode ( int  _arg)
virtual

Choose whether the front must stop when the first target has been reached or all targets have been reached.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SetTargetReachedModeToAllTargets ( )
inline

Definition at line 165 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SetTargetReachedModeToNoTargets ( )
inline

Choose whether the front must stop when the first target has been reached or all targets have been reached.

Definition at line 154 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SetTargetReachedModeToOneTarget ( )
inline

Choose whether the front must stop when the first target has been reached or all targets have been reached.

Definition at line 156 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SetTargetReachedModeToSomeTargets ( SizeValueType  numberOfTargets)
inline

Choose whether the front must stop when the first target has been reached or all targets have been reached.

Definition at line 158 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::typedef ( Concept::DivisionOperators< typename TLevelSet::PixelType, double >  )

Begin concept checking This class requires LevelSetDoubleDivisionOperatorsCheck in the form of ( Concept::DivisionOperators< typename TLevelSet::PixelType, double > )

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::typedef ( Concept::DivisionAndAssignOperators< typename TLevelSet::PixelType, double >  )

This class requires LevelSetDoubleDivisionAndAssignOperatorsCheck in the form of ( Concept::DivisionAndAssignOperators< typename TLevelSet::PixelType, double > )

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
virtual void itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::UpdateNeighbors ( const IndexType index,
const SpeedImageType ,
LevelSetImageType  
)
protectedvirtual

Member Data Documentation

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
bool itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::m_GenerateGradientImage
private

Definition at line 222 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
GradientImagePointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::m_GradientImage
private

Definition at line 220 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
SizeValueType itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::m_NumberOfTargets
private

Definition at line 230 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
NodeContainerPointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::m_ReachedTargetPoints
private

Definition at line 218 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
double itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::m_TargetOffset
private

Definition at line 224 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
NodeContainerPointer itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::m_TargetPoints
private

Definition at line 217 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
int itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::m_TargetReachedMode
private

Definition at line 226 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
double itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::m_TargetValue
private

Definition at line 228 of file itkFastMarchingUpwindGradientImageFilter.h.

template<class TLevelSet , class TSpeedImage = Image< float, TLevelSet ::ImageDimension >>
const unsigned int itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SetDimension = Superclass::SetDimension
static

The dimension of the level set.

Definition at line 97 of file itkFastMarchingUpwindGradientImageFilter.h.


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