ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkCannySegmentationLevelSetFunction.h>
A refinement of the standard level-set function which computes a speed term and advection term based on pseudo-Canny edges. See CannySegmentationLevelSetImageFilter for complete information.
Definition at line 35 of file itkCannySegmentationLevelSetFunction.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::LevelSetFunction< TImageType > | |
static double | GetMaximumCurvatureTimeStep () |
static double | GetMaximumPropagationTimeStep () |
static Pointer | New () |
static void | SetMaximumCurvatureTimeStep (double n) |
static void | SetMaximumPropagationTimeStep (double n) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType > | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::LevelSetFunction< TImageType > | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceFunction< TImageType > | |
static const unsigned int | ImageDimension = ImageType::ImageDimension |
Private Member Functions | |
template<typename DummyImagePointerType > | |
void | AssignCannyInput (typename FeatureImageType::Pointer &feature, DummyImagePointerType &) |
void | AssignCannyInput (typename FeatureImageType::Pointer &feature, typename FeatureImageType::Pointer &) |
Private Attributes | |
CannyEdgeDetectionImageFilter < ImageType, ImageType > ::Pointer | m_Canny |
CastImageFilter < FeatureImageType, ImageType > ::Pointer | m_Caster |
DanielssonDistanceMapImageFilter < ImageType, ImageType > ::Pointer | m_Distance |
double | m_Threshold |
ScalarValueType | m_Variance |
typedef SmartPointer< const Self > itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::ConstPointer |
Definition at line 43 of file itkCannySegmentationLevelSetFunction.h.
typedef TFeatureImageType itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureImageType |
Definition at line 44 of file itkCannySegmentationLevelSetFunction.h.
typedef Superclass::FeatureScalarType itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureScalarType |
Definition at line 56 of file itkCannySegmentationLevelSetFunction.h.
typedef Superclass::ImageType itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::ImageType |
Extract some parameters from the superclass.
Definition at line 50 of file itkCannySegmentationLevelSetFunction.h.
typedef SmartPointer< Self > itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::Pointer |
Definition at line 42 of file itkCannySegmentationLevelSetFunction.h.
typedef Superclass::RadiusType itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::RadiusType |
Definition at line 57 of file itkCannySegmentationLevelSetFunction.h.
typedef Superclass::ScalarValueType itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::ScalarValueType |
Definition at line 54 of file itkCannySegmentationLevelSetFunction.h.
typedef CannySegmentationLevelSetFunction itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::Self |
Standard class typedefs.
Definition at line 40 of file itkCannySegmentationLevelSetFunction.h.
typedef SegmentationLevelSetFunction< TImageType, TFeatureImageType > itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::Superclass |
Definition at line 41 of file itkCannySegmentationLevelSetFunction.h.
typedef Superclass::VectorImageType itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorImageType |
Definition at line 55 of file itkCannySegmentationLevelSetFunction.h.
|
inlineprotected |
Definition at line 102 of file itkCannySegmentationLevelSetFunction.h.
References itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Canny, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Caster, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Distance, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Threshold, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Variance, itk::DanielssonDistanceMapImageFilter< TInputImage, TOutputImage, TVoronoiImage >::New(), itk::CastImageFilter< TInputImage, TOutputImage >::New(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::New(), and itk::NumericTraits< T >::ZeroValue().
|
inlineprotectedvirtual |
Definition at line 111 of file itkCannySegmentationLevelSetFunction.h.
|
protected |
|
inlineprivate |
If FeatureImageType != ImageType, use the CastImageFilter to match them.
Definition at line 130 of file itkCannySegmentationLevelSetFunction.h.
References itk::ImageSource< TOutputImage >::GetOutput(), itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Canny, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Caster, and itk::ImageToImageFilter< TInputImage, TOutputImage >::SetInput().
|
inlineprivate |
If FeatureImageType == ImageType, assign directly to the Canny filter
Definition at line 140 of file itkCannySegmentationLevelSetFunction.h.
References itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Canny, and itk::ImageToImageFilter< TInputImage, TOutputImage >::SetInput().
|
overridevirtual |
Compute the advection image. The Advection Image is the gradeint image attenuated with the distance to the canny edges.
Reimplemented from itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >.
|
virtual |
Compute the distance image. This is the distance to the canny edges.
|
overridevirtual |
Compute the Speed Image. The Speed Image is the distance to the canny edges.
Reimplemented from itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >.
|
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::LightObject.
|
inline |
Definition at line 98 of file itkCannySegmentationLevelSetFunction.h.
References itk::ImageSource< TOutputImage >::GetOutput(), and itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Canny.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >.
|
inline |
Definition at line 66 of file itkCannySegmentationLevelSetFunction.h.
References itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Threshold.
|
inline |
Definition at line 73 of file itkCannySegmentationLevelSetFunction.h.
References itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Variance.
|
inlineoverridevirtual |
This method creates the appropriate member variable operators for the level-set calculations. The argument to this function is a the radius necessary for performing the level-set calculations.
Reimplemented from itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 89 of file itkCannySegmentationLevelSetFunction.h.
References itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::LevelSetFunction< TImageType >::SetAdvectionWeight(), itk::LevelSetFunction< TImageType >::SetCurvatureWeight(), and itk::LevelSetFunction< TImageType >::SetPropagationWeight().
|
static |
Method for creation through the object factory.
|
protected |
|
inline |
Definition at line 64 of file itkCannySegmentationLevelSetFunction.h.
References itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Threshold.
|
inline |
Definition at line 71 of file itkCannySegmentationLevelSetFunction.h.
References itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Variance.
|
static |
Extract some parameters from the superclass.
Definition at line 61 of file itkCannySegmentationLevelSetFunction.h.
|
private |
Definition at line 120 of file itkCannySegmentationLevelSetFunction.h.
Referenced by itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::AssignCannyInput(), itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::CannySegmentationLevelSetFunction(), and itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetCannyImage().
|
private |
|
private |
Definition at line 122 of file itkCannySegmentationLevelSetFunction.h.
Referenced by itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::CannySegmentationLevelSetFunction().
|
private |
Definition at line 118 of file itkCannySegmentationLevelSetFunction.h.
Referenced by itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::CannySegmentationLevelSetFunction(), itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetThreshold(), and itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetThreshold().
|
private |
Definition at line 117 of file itkCannySegmentationLevelSetFunction.h.
Referenced by itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::CannySegmentationLevelSetFunction(), itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetVariance(), and itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetVariance().