ITK  4.6.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > Class Template Reference

#include <itkCannySegmentationLevelSetImageFilter.h>

+ Inheritance diagram for itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >:
+ Collaboration diagram for itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >:

Detailed Description

template<typename TInputImage, typename TFeatureImage, typename TOutputPixelType = float>
class itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >

Segments structures in images based on image features derived from pseudo-canny-edges.

IMPORTANT
The SegmentationLevelSetImageFilter class and the CannySegmentationLevelSetFunction class contain additional information necessary to the full understanding of how to use this filter.
OVERVIEW
This class is a level set method segmentation filter. It constructs a speed function which is designed to lock onto edges as detected by a Canny filter.
The CannySegmentationLevelSetImageFilter can be a tool for refining an existing segmentation, or it can be used to try to segment a region by itself. Like all other level-set based segmentation filters (see SegmentationLevelSetImageFilter), it works by first constructing a scalar speed term and a vector advection field based on edge features in the image. The level set front is then moved according to these two terms with the addition of a third curvature term to contol the smoothness of the solution.
The speed term is constructed as the Danielsson distance transform of the Canny edge image, as calculated by the CannyEdgeDetectionImageFilter. This scalar speed can be tuned in and out of the final evolution equation by setting the PropagationScaling parameter (a value of 0 removes the speed term).
The advection field term is constructed by minimizing Danielsson distance squared. i.e. $ \mbox{min} \int D^2 \Rightarrow D \nabla D $. This term moves the level set down the gradient of the distance transform.
In practice, you may set the speed (propagation) term to zero if your initialization is already close to the edge you are interested in. If you are trying to segment a region by seeding with a small surface (blob, sphere) then you will likely want to add speed (propagation) to the equation so that the levelsets can expand along zero gradients. The relative influence of these two terms are controlled by the SetPropagationScaling and SetAdvectionScaling parameters.
INPUTS
This filter requires two inputs. The first input is a seed image. This seed image must contain an isosurface that you want to use as the seed for your segmentation. It can be a binary, graylevel, or floating point image. The only requirement is that it contain a closed isosurface that you will identify as the seed by setting the IsosurfaceValue parameter of the filter. For a binary image you will want to set your isosurface value halfway between your on and off values (i.e. for 0's and 1's, use an isosurface value of 0.5).
The second input is the feature image. This is the image from which the speed function will be calculated. For most applications, this is the image that you want to segment. The desired isosurface in your seed image should lie within the region of your feature image that you are trying to segment.
See SegmentationLevelSetImageFilter for more information on Inputs.
OUTPUTS
The filter outputs a single, scalar, real-valued image. Positive *values in the output image are inside the segmentated region and negative *values in the image are outside of the inside region. The zero crossings of *the image correspond to the position of the level set front.
See SparseFieldLevelSetImageFilter and SegmentationLevelSetImageFilter for more information.
PARAMETERS
There are five parameters important for controlling the behavior of this filter.
(1) Threshold. Sets the thresholding value of the Canny edge detection. See CannyEdgeDetectionImageFilter for more information.
(2) Variance. Controls the smoothing parameter of the gaussian filtering done during Canny edge detection.
(3) CurvatureScaling. Controls the degree to which curvature influences the evolution of the level set. Higher values relative to Propagation and Advection scalings will yield a smoother surface.
(4) PropagationScaling. Scales the propagation (speed) term of the level set equation. Set this term to zero to allow the level set to flow only down the gradient of the distance transform.
(5) AdvectionScaling. Scales influence of the advection field relative to curvature and propagation terms.
See Also
SegmentationLevelSetImageFilter
CannySegmentationLevelSetFunction,
SparseFieldLevelSetImageFilter
Examples:
Segmentation/CannySegmentationLevelSetImageFilter.cxx.

Definition at line 132 of file itkCannySegmentationLevelSetImageFilter.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::FeatureImageType 
FeatureImageType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef
CannyFunctionType::ScalarValueType 
ScalarValueType
 
typedef
CannySegmentationLevelSetImageFilter 
Self
 
typedef Superclass::SpeedImageType SpeedImageType
 
typedef
SegmentationLevelSetImageFilter
< TInputImage, TFeatureImage,
TOutputPixelType > 
Superclass
 
typedef Superclass::ValueType ValueType
 
typedef Superclass::VectorImageType VectorImageType
 
- Public Types inherited from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
typedef SmartPointer< const SelfConstPointer
 
typedef TFeatureImage FeatureImageType
 
typedef Superclass::IndexType IndexType
 
typedef Superclass::InputImageType InputImageType
 
typedef Image
< TOutputPixelType,
itkGetStaticConstMacro(InputImageDimension) > 
OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef
SegmentationLevelSetFunction
< OutputImageType,
FeatureImageType
SegmentationFunctionType
 
typedef
SegmentationLevelSetImageFilter 
Self
 
typedef
SegmentationFunctionType::ImageType 
SpeedImageType
 
typedef
SparseFieldLevelSetImageFilter
< TInputImage, OutputImageType
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
typedef Superclass::ValueType ValueType
 
typedef
SegmentationFunctionType::VectorImageType 
VectorImageType
 
- Public Types inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
typedef SmartPointer< const SelfConstPointer
 
typedef OutputImageType::IndexType IndexType
 
typedef TInputImage InputImageType
 
typedef std::vector
< LayerPointerType
LayerListType
 
typedef ObjectStore
< LayerNodeType
LayerNodeStorageType
 
typedef
SparseFieldLevelSetNode
< IndexType
LayerNodeType
 
typedef LayerType::Pointer LayerPointerType
 
typedef SparseFieldLayer
< LayerNodeType
LayerType
 
typedef
Superclass::NeighborhoodScalesType 
NeighborhoodScalesType
 
typedef Image
< TOutputPixelType,
TInputImage::ImageDimension > 
OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RadiusType RadiusType
 
typedef
SparseFieldLevelSetImageFilter 
Self
 
typedef Image< StatusType,
itkGetStaticConstMacro(ImageDimension) > 
StatusImageType
 
typedef signed char StatusType
 
typedef
FiniteDifferenceImageFilter
< TInputImage, Image
< TOutputPixelType,
TInputImage::ImageDimension > > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
typedef std::vector< ValueTypeUpdateBufferType
 
typedef OutputImageType::ValueType ValueType
 
- Public Types inherited from itk::FiniteDifferenceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
typedef SmartPointer< const SelfConstPointer
 
typedef
FiniteDifferenceFunction
< Image< TOutputPixelType,
TInputImage::ImageDimension > > 
FiniteDifferenceFunctionType
 
typedef TInputImage InputImageType
 
typedef TInputImage::PixelType InputPixelType
 
typedef NumericTraits
< InputPixelType >::ValueType 
InputPixelValueType
 
typedef
FiniteDifferenceFunctionType::NeighborhoodScalesType 
NeighborhoodScalesType
 
typedef Image
< TOutputPixelType,
TInputImage::ImageDimension > 
OutputImageType
 
typedef Image
< TOutputPixelType,
TInputImage::ImageDimension >
::PixelType 
OutputPixelType
 
typedef NumericTraits
< OutputPixelType >::ValueType 
OutputPixelValueType
 
typedef OutputPixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef
FiniteDifferenceFunctionType::RadiusType 
RadiusType
 
typedef FiniteDifferenceImageFilter Self
 
typedef InPlaceImageFilter
< TInputImage, Image
< TOutputPixelType,
TInputImage::ImageDimension > > 
Superclass
 
typedef
FiniteDifferenceFunctionType::TimeStepType 
TimeStepType
 
- Public Types inherited from itk::InPlaceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImagePointer 
OutputImagePointer
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef InPlaceImageFilter Self
 
typedef ImageToImageFilter
< TInputImage, Image
< TOutputPixelType,
TInputImage::ImageDimension > > 
Superclass
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource< Image
< TOutputPixelType,
TInputImage::ImageDimension > > 
Superclass
 
- Public Types inherited from itk::ImageSource< Image< TOutputPixelType, TInputImage::ImageDimension > >
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 Image
< TOutputPixelType,
TInputImage::ImageDimension > 
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
 
OutputImageTypeGetCannyImage (void)
 
virtual const char * GetNameOfClass () const
 
 typedef (Concept::HasNumericTraits< TOutputPixelType >) OutputHasNumericTraitsCheck
 
void SetThreshold (ScalarValueType v)
 
ScalarValueType GetThreshold () const
 
void SetVariance (double v)
 
double GetVariance () const
 
- Public Member Functions inherited from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
void GenerateAdvectionImage ()
 
void GenerateSpeedImage ()
 
virtual const VectorImageTypeGetAdvectionImage () const
 
ValueType GetAdvectionScaling () const
 
ValueType GetCurvatureScaling () const
 
virtual FeatureImageTypeGetFeatureImage ()
 
double GetMaximumCurvatureTimeStep () const
 
unsigned int GetMaximumIterations ()
 
double GetMaximumPropagationTimeStep () const
 
ValueType GetPropagationScaling () const
 
virtual SegmentationFunctionTypeGetSegmentationFunction ()
 
virtual const SpeedImageTypeGetSpeedImage () const
 
bool GetUseMinimalCurvature () const
 
bool GetUseNegativeFeatures () const
 
void SetAdvectionImage (VectorImageType *v)
 
virtual void SetInitialImage (InputImageType *f)
 
void SetInput2 (const FeatureImageType *input)
 
virtual void SetSegmentationFunction (SegmentationFunctionType *s)
 
void SetSpeedImage (SpeedImageType *s)
 
void SetUseNegativeFeaturesOff ()
 
 typedef (Concept::HasNumericTraits< TOutputPixelType >) OutputHasNumericTraitsCheck
 
void UseMinimalCurvatureOff ()
 
void UseMinimalCurvatureOn ()
 
void SetMaximumIterations (unsigned int i)
 
virtual void SetFeatureImage (const FeatureImageType *f)
 
void SetUseNegativeFeaturesOn ()
 
void SetUseNegativeFeatures (bool u)
 
virtual void SetReverseExpansionDirection (bool _arg)
 
virtual bool GetReverseExpansionDirection () const
 
virtual void ReverseExpansionDirectionOn ()
 
virtual void ReverseExpansionDirectionOff ()
 
virtual void SetAutoGenerateSpeedAdvection (bool _arg)
 
virtual bool GetAutoGenerateSpeedAdvection () const
 
virtual void AutoGenerateSpeedAdvectionOn ()
 
virtual void AutoGenerateSpeedAdvectionOff ()
 
void SetFeatureScaling (ValueType v)
 
void SetPropagationScaling (ValueType v)
 
void SetAdvectionScaling (ValueType v)
 
void SetCurvatureScaling (ValueType v)
 
void SetUseMinimalCurvature (bool b)
 
void SetMaximumCurvatureTimeStep (double n)
 
void SetMaximumPropagationTimeStep (double n)
 
- Public Member Functions inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
 typedef (Concept::EqualityComparable< typename Image< TOutputPixelType, TInputImage::ImageDimension >::PixelType >) OutputEqualityComparableCheck
 
 typedef (Concept::Convertible< double, typename Image< TOutputPixelType, TInputImage::ImageDimension >::PixelType >) DoubleConvertibleToOutputCheck
 
 typedef (Concept::OStreamWritable< typename Image< TOutputPixelType, TInputImage::ImageDimension >::PixelType >) OutputOStreamWritableCheck
 
virtual void SetNumberOfLayers (unsigned int _arg)
 
virtual unsigned int GetNumberOfLayers () const
 
virtual void SetIsoSurfaceValue (ValueType _arg)
 
virtual ValueType GetIsoSurfaceValue () const
 
virtual void SetInterpolateSurfaceLocation (bool _arg)
 
virtual bool GetInterpolateSurfaceLocation () const
 
void InterpolateSurfaceLocationOn ()
 
void InterpolateSurfaceLocationOff ()
 
- Public Member Functions inherited from itk::FiniteDifferenceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
virtual const
FiniteDifferenceFunctionType::Pointer
GetDifferenceFunction () const
 
virtual const IdentifierTypeGetElapsedIterations () const
 
virtual bool GetIsInitialized ()
 
virtual void SetDifferenceFunction (FiniteDifferenceFunctionType *_arg)
 
virtual void SetIsInitialized (bool _arg)
 
void SetStateToInitialized ()
 
void SetStateToUninitialized ()
 
virtual void SetNumberOfIterations (IdentifierType _arg)
 
virtual const IdentifierTypeGetNumberOfIterations () const
 
virtual void SetUseImageSpacing (bool _arg)
 
virtual void UseImageSpacingOn ()
 
virtual void UseImageSpacingOff ()
 
virtual const bool & GetUseImageSpacing () const
 
virtual void SetMaximumRMSError (double _arg)
 
virtual const double & GetMaximumRMSError () const
 
virtual void SetRMSChange (double _arg)
 
virtual const double & GetRMSChange () const
 
virtual void SetManualReinitialization (bool _arg)
 
virtual const bool & GetManualReinitialization () const
 
virtual void ManualReinitializationOn ()
 
virtual void ManualReinitializationOff ()
 
- Public Member Functions inherited from itk::InPlaceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
virtual bool CanRunInPlace () const
 
virtual void SetInPlace (bool _arg)
 
virtual bool GetInPlace () const
 
virtual void InPlaceOn ()
 
virtual void InPlaceOff ()
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
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 SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< Image< TOutputPixelType, TInputImage::ImageDimension > >
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) ITK_OVERRIDE
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
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 () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
DataObjectPointerArray GetInputs ()
 
DataObjectPointerArray GetOutputs ()
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
void SetProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
- 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 ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () 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::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Public Attributes

typedef::itk::CannySegmentationLevelSetFunction
< OutputImageType,
FeatureImageType
CannyFunctionType
 

Protected Member Functions

 CannySegmentationLevelSetImageFilter ()
 
 ~CannySegmentationLevelSetImageFilter ()
 
- Protected Member Functions inherited from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
void GenerateData ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
 SegmentationLevelSetImageFilter ()
 
virtual ~SegmentationLevelSetImageFilter ()
 
virtual void InitializeIteration ()
 
- Protected Member Functions inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
void AllocateUpdateBuffer ()
 
void ApplyUpdate (const TimeStepType &dt)
 
TimeStepType CalculateChange ()
 
virtual ValueType CalculateUpdateValue (const IndexType &, const TimeStepType &dt, const ValueType &value, const ValueType &change)
 
void ConstructActiveLayer ()
 
void ConstructLayer (StatusType from, StatusType to)
 
void CopyInputToOutput ()
 
virtual ValueType GetValueOne () const
 
virtual ValueType GetValueZero () const
 
void Initialize ()
 
void InitializeActiveLayerValues ()
 
virtual void InitializeBackgroundPixels ()
 
virtual void PostProcessOutput ()
 
void ProcessOutsideList (LayerType *OutsideList, StatusType ChangeToStatus)
 
void ProcessStatusList (LayerType *InputList, LayerType *OutputList, StatusType ChangeToStatus, StatusType SearchForStatus)
 
void PropagateAllLayerValues ()
 
void PropagateLayerValues (StatusType from, StatusType to, StatusType promote, int InOrOut)
 
 SparseFieldLevelSetImageFilter ()
 
void UpdateActiveLayerValues (TimeStepType dt, LayerType *StatusUpList, LayerType *StatusDownList)
 
 ~SparseFieldLevelSetImageFilter ()
 
- Protected Member Functions inherited from itk::FiniteDifferenceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
 FiniteDifferenceImageFilter ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual bool Halt ()
 
virtual TimeStepType ResolveTimeStep (const std::vector< TimeStepType > &timeStepList, const std::vector< bool > &valid) const
 
virtual void SetElapsedIterations (IdentifierType _arg)
 
virtual bool ThreadedHalt (void *)
 
virtual ~FiniteDifferenceImageFilter ()
 
- Protected Member Functions inherited from itk::InPlaceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
virtual void AllocateOutputs ()
 
virtual bool GetRunningInPlace () const
 
 InPlaceImageFilter ()
 
virtual void ReleaseInputs ()
 
 ~InPlaceImageFilter ()
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
 ImageToImageFilter ()
 
virtual void VerifyInputInformation ()
 
 ~ImageToImageFilter ()
 
void PushBackInput (const DataObject *input)
 
void PushFrontInput (const DataObject *input)
 
- Protected Member Functions inherited from itk::ImageSource< Image< TOutputPixelType, TInputImage::ImageDimension > >
virtual void AfterThreadedGenerateData ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter (void) const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, 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)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(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 RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
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)
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- 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

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

Private Attributes

CannyFunctionType::Pointer m_CannyFunction
 

Additional Inherited Members

- Static Public Attributes inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
static const unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
static const unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< Image< TOutputPixelType, TInputImage::ImageDimension > >
static const unsigned int OutputImageDimension
 
- Protected Types inherited from itk::ImageToImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Static Protected Member Functions inherited from itk::ImageSource< Image< TOutputPixelType, TInputImage::ImageDimension > >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
bool m_AutoGenerateSpeedAdvection
 
bool m_ReverseExpansionDirection
 
- Protected Attributes inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
double m_ConstantGradientValue
 
const InputImageTypem_InputImage
 
bool m_InterpolateSurfaceLocation
 
ValueType m_IsoSurfaceValue
 
LayerNodeStorageType::Pointer m_LayerNodeStore
 
LayerListType m_Layers
 
SparseFieldCityBlockNeighborList
< NeighborhoodIterator
< OutputImageType > > 
m_NeighborList
 
unsigned int m_NumberOfLayers
 
OutputImageTypem_OutputImage
 
OutputImageType::Pointer m_ShiftedImage
 
StatusImageType::Pointer m_StatusImage
 
UpdateBufferType m_UpdateBuffer
 
- Protected Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
IdentifierType m_ElapsedIterations
 
bool m_IsInitialized
 
bool m_ManualReinitialization
 
double m_MaximumRMSError
 
IdentifierType m_NumberOfIterations
 
double m_RMSChange
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 
- Static Protected Attributes inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >
static StatusType m_StatusActiveChangingDown
 
static StatusType m_StatusActiveChangingUp
 
static StatusType m_StatusBoundaryPixel
 
static StatusType m_StatusChanging
 
static StatusType m_StatusNull
 
static ValueType m_ValueOne
 
static ValueType m_ValueZero
 

Member Typedef Documentation

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
typedef SmartPointer< const Self > itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ConstPointer

Definition at line 141 of file itkCannySegmentationLevelSetImageFilter.h.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
typedef Superclass::FeatureImageType itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::FeatureImageType

Definition at line 146 of file itkCannySegmentationLevelSetImageFilter.h.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
typedef Superclass::OutputImageType itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::OutputImageType

Definition at line 145 of file itkCannySegmentationLevelSetImageFilter.h.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
typedef SmartPointer< Self > itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::Pointer

Definition at line 140 of file itkCannySegmentationLevelSetImageFilter.h.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
typedef CannyFunctionType::ScalarValueType itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ScalarValueType

Definition at line 154 of file itkCannySegmentationLevelSetImageFilter.h.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
typedef CannySegmentationLevelSetImageFilter itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::Self

Standard class typedefs

Definition at line 137 of file itkCannySegmentationLevelSetImageFilter.h.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
typedef Superclass::SpeedImageType itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SpeedImageType

Definition at line 148 of file itkCannySegmentationLevelSetImageFilter.h.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
typedef SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::Superclass

Definition at line 139 of file itkCannySegmentationLevelSetImageFilter.h.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
typedef Superclass::ValueType itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::ValueType

Inherited typedef from the superclass.

Definition at line 144 of file itkCannySegmentationLevelSetImageFilter.h.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
typedef Superclass::VectorImageType itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::VectorImageType

Definition at line 147 of file itkCannySegmentationLevelSetImageFilter.h.

Constructor & Destructor Documentation

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::~CannySegmentationLevelSetImageFilter ( )
inlineprotected

Definition at line 191 of file itkCannySegmentationLevelSetImageFilter.h.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::CannySegmentationLevelSetImageFilter ( )
protected
template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::CannySegmentationLevelSetImageFilter ( const Self )
private

Member Function Documentation

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
virtual::itk::LightObject::Pointer itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::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::Object.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
OutputImageType* itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GetCannyImage ( void  )
inline

Get the Canny image that was used to create the speed and advection images

Definition at line 180 of file itkCannySegmentationLevelSetImageFilter.h.

References itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::m_CannyFunction.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
virtual const char* itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
ScalarValueType itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GetThreshold ( ) const
inline

Set the Threshold parameter of the CannyEdgeDetectionImageFilter used by the underlying level set function.

Definition at line 166 of file itkCannySegmentationLevelSetImageFilter.h.

References itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::m_CannyFunction.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
double itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::GetVariance ( void  ) const
inline

Set the Variance parameter of the CannyEdgeDetectionImageFilter used by the underlying level set function.

Definition at line 174 of file itkCannySegmentationLevelSetImageFilter.h.

References itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::m_CannyFunction.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
static Pointer itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::New ( )
static

Method for creation through the object factory

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
void itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::operator= ( const Self )
private
template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
void itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetThreshold ( ScalarValueType  v)
inline

Set the Threshold parameter of the CannyEdgeDetectionImageFilter used by the underlying level set function.

Definition at line 164 of file itkCannySegmentationLevelSetImageFilter.h.

References itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::m_CannyFunction.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
void itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetVariance ( double  v)
inline

Set the Variance parameter of the CannyEdgeDetectionImageFilter used by the underlying level set function.

Definition at line 172 of file itkCannySegmentationLevelSetImageFilter.h.

References itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::m_CannyFunction.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::typedef ( Concept::HasNumericTraits< TOutputPixelType >  )

This class requires OutputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< TOutputPixelType > )

Member Data Documentation

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
typedef::itk::CannySegmentationLevelSetFunction< OutputImageType, FeatureImageType > itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::CannyFunctionType

Type of the segmentation function

Definition at line 152 of file itkCannySegmentationLevelSetImageFilter.h.

template<typename TInputImage , typename TFeatureImage , typename TOutputPixelType = float>
CannyFunctionType::Pointer itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::m_CannyFunction
private

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