![]() |
Orfeo Toolbox
3.16
|
#include <itkSegmentationLevelSetFunction.h>
Inheritance diagram for itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >:
Collaboration diagram for itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >:Static Public Member Functions | |
| static void | BreakOnError () |
| static double | GetMaximumCurvatureTimeStep () |
| static double | GetMaximumPropagationTimeStep () |
| static Pointer | New () |
| static void | SetMaximumCurvatureTimeStep (double n) |
| static void | SetMaximumPropagationTimeStep (double n) |
Static Public Attributes | |
| static const unsigned int | ImageDimension = Superclass::ImageDimension |
Protected Types | |
| typedef int | InternalReferenceCountType |
Protected Member Functions | |
| SegmentationLevelSetFunction () | |
| virtual | ~SegmentationLevelSetFunction () |
| virtual VectorType | AdvectionField (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd) const |
| virtual void | PrintHeader (std::ostream &os, Indent indent) const |
| void | PrintSelf (std::ostream &s, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| virtual ScalarValueType | PropagationSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd) const |
Static Protected Member Functions | |
| static VectorType | InitializeZeroVectorConstant () |
Protected Attributes | |
| VectorImageType::Pointer | m_AdvectionImage |
| ScalarValueType | m_AdvectionWeight |
| ::vcl_size_t | m_Center |
| ScalarValueType | m_CurvatureWeight |
| ScalarValueType | m_EpsilonMagnitude |
| FeatureImageType::ConstPointer | m_FeatureImage |
| InterpolatorType::Pointer | m_Interpolator |
| ScalarValueType | m_LaplacianSmoothingWeight |
| ScalarValueType | m_PropagationWeight |
| RadiusType | m_Radius |
| InternalReferenceCountType | m_ReferenceCount |
| SimpleFastMutexLock | m_ReferenceCountLock |
| PixelRealType | m_ScaleCoefficients [ImageDimension] |
| ImageType::Pointer | m_SpeedImage |
| bool | m_UseMinimalCurvature |
| Functor::VectorCast< typename VectorInterpolatorType::OutputType, VectorType > | m_VectorCast |
| VectorInterpolatorType::Pointer | m_VectorInterpolator |
| ::vcl_size_t | m_xStride [itkGetStaticConstMacro(ImageDimension)] |
| std::slice | x_slice [itkGetStaticConstMacro(ImageDimension)] |
Static Protected Attributes | |
| static double | m_DT = 1.0/(2.0 * ImageDimension) |
| static double | m_WaveDT = 1.0/(2.0 * ImageDimension) |
| static VectorType | m_ZeroVectorConstant |
Private Member Functions | |
| SegmentationLevelSetFunction (const Self &) | |
| void | operator= (const Self &) |
Definition at line 45 of file itkSegmentationLevelSetFunction.h.
| typedef SmartPointer<const Self> itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::ConstPointer |
Reimplemented from itk::LevelSetFunction< TImageType >.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 53 of file itkSegmentationLevelSetFunction.h.
| typedef InterpolatorType::ContinuousIndexType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::ContinuousIndexType |
Continuous index type recognized by the interpolator
Reimplemented in itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 85 of file itkSegmentationLevelSetFunction.h.
|
inherited |
The default boundary condition for finite difference functions that is used unless overridden in the Evaluate() method.
Definition at line 91 of file itkFiniteDifferenceFunction.h.
| typedef TFeatureImageType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureImageType |
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 62 of file itkSegmentationLevelSetFunction.h.
| typedef FeatureImageType::PixelType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureScalarType |
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 66 of file itkSegmentationLevelSetFunction.h.
| typedef Superclass::FloatOffsetType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::FloatOffsetType |
A floating point offset from an image grid location. Used for interpolation among grid values in a neighborhood.
Reimplemented from itk::LevelSetFunction< TImageType >.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 63 of file itkSegmentationLevelSetFunction.h.
| typedef Superclass::GlobalDataStruct itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::GlobalDataStruct |
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, and itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 69 of file itkSegmentationLevelSetFunction.h.
| typedef Superclass::ImageType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::ImageType |
Extract some parameters from the superclass.
Reimplemented from itk::LevelSetFunction< TImageType >.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 56 of file itkSegmentationLevelSetFunction.h.
| typedef ImageType::IndexType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::IndexType |
Reimplemented in itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 67 of file itkSegmentationLevelSetFunction.h.
|
protectedinherited |
Define the type of the reference count according to the target. This allows the use of atomic operations
Definition at line 137 of file itkLightObject.h.
| typedef LinearInterpolateImageFunction<ImageType> itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::InterpolatorType |
Define a scalar interpolator
Definition at line 79 of file itkSegmentationLevelSetFunction.h.
|
inherited |
The type of data structure that holds the scales with which the neighborhood is weighted to properly account for spacing and neighborhood radius.
Reimplemented from itk::FiniteDifferenceFunction< TImageType >.
Reimplemented in itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >.
Definition at line 91 of file itkLevelSetFunction.h.
| typedef Superclass::NeighborhoodType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::NeighborhoodType |
The type of data structure that is passed to this function object to evaluate at a pixel that does not lie on a data set boundary.
Reimplemented from itk::LevelSetFunction< TImageType >.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 65 of file itkSegmentationLevelSetFunction.h.
| typedef Superclass::PixelRealType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::PixelRealType |
Reimplemented from itk::LevelSetFunction< TImageType >.
Definition at line 61 of file itkSegmentationLevelSetFunction.h.
|
inherited |
Reimplemented from itk::FiniteDifferenceFunction< TImageType >.
Reimplemented in itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 86 of file itkLevelSetFunction.h.
| typedef SmartPointer<Self> itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::Pointer |
Reimplemented from itk::LevelSetFunction< TImageType >.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 52 of file itkSegmentationLevelSetFunction.h.
| typedef Superclass::RadiusType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::RadiusType |
Neighborhood radius type
Reimplemented from itk::LevelSetFunction< TImageType >.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 60 of file itkSegmentationLevelSetFunction.h.
| typedef Superclass::ScalarValueType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::ScalarValueType |
Reimplemented from itk::LevelSetFunction< TImageType >.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 64 of file itkSegmentationLevelSetFunction.h.
| typedef SegmentationLevelSetFunction itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::Self |
Standard class typedefs.
Reimplemented from itk::LevelSetFunction< TImageType >.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 50 of file itkSegmentationLevelSetFunction.h.
| typedef LevelSetFunction<TImageType> itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::Superclass |
Reimplemented from itk::LevelSetFunction< TImageType >.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 51 of file itkSegmentationLevelSetFunction.h.
|
inherited |
Convenient typedefs.
Reimplemented from itk::FiniteDifferenceFunction< TImageType >.
Reimplemented in itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >.
Definition at line 84 of file itkLevelSetFunction.h.
| typedef Image<VectorType, itkGetStaticConstMacro(ImageDimension)> itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorImageType |
Define an image type for the advection field.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 75 of file itkSegmentationLevelSetFunction.h.
| typedef VectorLinearInterpolateImageFunction<VectorImageType> itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorInterpolatorType |
Define a vector interpolator
Definition at line 82 of file itkSegmentationLevelSetFunction.h.
| typedef Superclass::VectorType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorType |
The vector type that will be used in the calculations.
Reimplemented from itk::LevelSetFunction< TImageType >.
Definition at line 68 of file itkSegmentationLevelSetFunction.h.
|
inlineprotectedvirtual |
Definition at line 164 of file itkSegmentationLevelSetFunction.h.
|
inlineprotected |
Definition at line 165 of file itkSegmentationLevelSetFunction.h.
|
private |
|
protectedvirtual |
Advection field. Returns a vector from the computed advectionfield.
Reimplemented from itk::LevelSetFunction< TImageType >.
Definition at line 102 of file itkSegmentationLevelSetFunction.txx.
References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetIndex().
|
virtual |
Allocates the image that will be used for the level set function's Advection field term. See LevelSetFunction for more information.
Definition at line 68 of file itkSegmentationLevelSetFunction.txx.
|
virtual |
Allocates the image that will be used for the level set function's Propagation Speed term. See LevelSetFunction for more information.
Definition at line 57 of file itkSegmentationLevelSetFunction.txx.
|
staticinherited |
This method is called when itkExceptionMacro executes. It allows the debugger to break on error.
Definition at line 149 of file itkLightObject.cxx.
|
inlinevirtual |
This method must be defined in a subclass to implement a working function object. This method is called before the solver begins its work to produce the speed image used as the level set function's Advection field term. See LevelSetFunction for more information.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, and itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 119 of file itkSegmentationLevelSetFunction.h.
|
inlinevirtual |
This method must be defined in a subclass to implement a working function object. This method is called before the solver begins its work to produce the speed image used as the level set function's Propagation speed term. See LevelSetFunction for more information.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 113 of file itkSegmentationLevelSetFunction.h.
|
virtualinherited |
Definition at line 127 of file itkLevelSetFunction.txx.
References itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_dx, and itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_dxy.
|
virtualinherited |
Definition at line 27 of file itkLevelSetFunction.txx.
|
virtualinherited |
Computes the time step for an update given a global data structure. The data used in the computation may take different forms depending on the nature of the equations. This global data cannot be kept in the instance of the equation object itself since the equation object must remain stateless for thread safety. The global data is therefore managed for each thread by the finite difference solver filters.
Implements itk::FiniteDifferenceFunction< TImageType >.
Reimplemented in itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >.
Definition at line 227 of file itkLevelSetFunction.txx.
References itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxAdvectionChange, itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxCurvatureChange, and itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxPropagationChange.
|
virtualinherited |
|
virtualinherited |
|
inherited |
Compute the scales that weight the neighborhood during difference operations to properly account for spacing and neighborhood radius
Definition at line 37 of file itkFiniteDifferenceFunction.txx.
References itk::FixedArray< TValueType, VLength >::Fill().
|
virtualinherited |
Compute the equation value.
Implements itk::FiniteDifferenceFunction< TImageType >.
Definition at line 296 of file itkLevelSetFunction.txx.
References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetCenterPixel(), itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetPixel(), itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_dx, itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_dx_backward, itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_dx_forward, itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_dxy, itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_GradMagSqr, itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxAdvectionChange, itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxCurvatureChange, itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxPropagationChange, and itk::ZERO.
|
virtualinherited |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightObject.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
|
inlinevirtualinherited |
Curvature speed. Can be used to spatially modify the effects of curvature . The default implementation returns one.
Definition at line 137 of file itkLevelSetFunction.h.
|
virtualinherited |
Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.
Delete a itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C++ delete method will not work with reference counting.
Definition at line 88 of file itkLightObject.cxx.
|
inlinevirtual |
Get/Set the image used as the advection field in the level set equation
Definition at line 99 of file itkSegmentationLevelSetFunction.h.
|
inlineinherited |
Definition at line 152 of file itkLevelSetFunction.h.
|
inlineinherited |
Definition at line 164 of file itkLevelSetFunction.h.
|
inlineinherited |
Definition at line 176 of file itkLevelSetFunction.h.
|
inlinevirtual |
Set/Get the image which will be used to calculate the speed function.
Definition at line 88 of file itkSegmentationLevelSetFunction.h.
|
inlinevirtualinherited |
Returns a pointer to a global data structure that is passed to this object from the solver at each calculation. The idea is that the solver holds the state of any global values needed to calculate the time step, while the equation object performs the actual calculations. The global data should also be initialized in this method. Global data can be used for caching any values used or reused by the FunctionObject. Each thread should receive its own global data struct.
Implements itk::FiniteDifferenceFunction< TImageType >.
Reimplemented in itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 199 of file itkLevelSetFunction.h.
References itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxAdvectionChange, itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxCurvatureChange, and itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxPropagationChange.
|
inlineinherited |
Definition at line 170 of file itkLevelSetFunction.h.
|
inlinestaticinherited |
Definition at line 266 of file itkLevelSetFunction.h.
|
inlinestaticinherited |
Definition at line 279 of file itkLevelSetFunction.h.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::LevelSetFunction< TImageType >.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
|
inlineinherited |
Definition at line 158 of file itkLevelSetFunction.h.
|
inlineinherited |
Returns the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations.
Definition at line 145 of file itkFiniteDifferenceFunction.h.
Referenced by otb::NCCRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::GetNCCRadius().
|
inlinevirtualinherited |
Gets the reference count on this object.
Definition at line 105 of file itkLightObject.h.
|
inlinevirtual |
Get/Set the image used as the speed function in the level set equation
Definition at line 94 of file itkSegmentationLevelSetFunction.h.
|
inlineinherited |
Definition at line 245 of file itkLevelSetFunction.h.
|
virtual |
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::LevelSetFunction< TImageType >.
Definition at line 50 of file itkSegmentationLevelSetFunction.txx.
Referenced by itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >::SetSegmentationFunction(), and itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSegmentationFunction().
|
inlinevirtualinherited |
This method allows the function to set its state before each iteration of the finite difference solver (image filter) that uses it. This is a thread-safe time to manipulate the object's state.
An example of how this can be used: the Anisotropic diffusion class of FiniteDifferenceFunctions use this method to pre-calculate an average gradient magnitude across the entire image region. This value is set in the function object and used by the ComputeUpdate methods that are called at each pixel as a constant.
Reimplemented in itk::ESMDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::DemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::FastSymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::SymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, otb::NCCRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::MeanSquareRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::NCCRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::CurvatureNDAnisotropicDiffusionFunction< TImage >, itk::GradientNDAnisotropicDiffusionFunction< TImage >, itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >, and itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >.
Definition at line 117 of file itkFiniteDifferenceFunction.h.
|
staticprotectedinherited |
This method's only purpose is to initialize the zero vector constant.
Definition at line 186 of file itkLevelSetFunction.txx.
|
inlinevirtualinherited |
Laplacian smoothing speed. Can be used to spatially modify the effects of laplacian smoothing of the level set function
Definition at line 144 of file itkLevelSetFunction.h.
|
staticinherited |
Method for creation through the object factory.
Reimplemented from itk::LightObject.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
|
private |
Reimplemented from itk::LevelSetFunction< TImageType >.
|
inherited |
Cause the object to print itself out.
Avoid DLL boundary problems. This function will be common to all itk objects. It just calls the header/self/trailer virtual print methods, which can be overriden by subclasses (any itk object).
Definition at line 135 of file itkLightObject.cxx.
References itk::Indent::GetNextIndent().
Referenced by itk::operator<<().
|
protectedvirtualinherited |
Define a default print header for all objects.
Definition at line 320 of file itkLightObject.cxx.
|
protectedvirtualinherited |
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.
Chaining method to print an object's instance variables, as well as its superclasses.
Reimplemented from itk::FiniteDifferenceFunction< TImageType >.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, and itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >.
Definition at line 205 of file itkLevelSetFunction.txx.
|
protectedvirtualinherited |
Define a default print trailer for all objects.
Definition at line 331 of file itkLightObject.cxx.
|
protectedvirtual |
Returns the propagation speed from the precalculated speed image.
Reimplemented from itk::LevelSetFunction< TImageType >.
Definition at line 80 of file itkSegmentationLevelSetFunction.txx.
References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetIndex().
|
virtualinherited |
Increase the reference count (mark as used by another object).
Reimplemented in itk::ExceptionObject::ReferenceCountedExceptionData, and itk::Object.
Definition at line 160 of file itkLightObject.cxx.
|
inlinevirtualinherited |
When the finite difference solver filter has finished using a global data pointer, it passes it to this method, which frees the memory. The solver cannot free the memory because it does not know the type to which the pointer points.
Implements itk::FiniteDifferenceFunction< TImageType >.
Reimplemented in itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 217 of file itkLevelSetFunction.h.
|
virtual |
Determines whether Positive or Negative speed terms will cause surface expansion. This method flips the sign of all of the speed, advection, etc terms. By convention, filters should be written so that POSITIVE speed terms cause surface expansion. Calling this method will toggle between the standard POSITIVE EXPANSION convention and the nonstandard NEGATIVE EXPANSION convention.
IMPORTANT: When adding terms to the level-set equation through subclassing you may need to override this function so that your new terms will be properly adjusted.
Definition at line 42 of file itkSegmentationLevelSetFunction.txx.
| void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetAdvectionImage | ( | VectorImageType * | s | ) |
Definition at line 34 of file itkSegmentationLevelSetFunction.txx.
|
inlinevirtualinherited |
Alpha. Scales all advection term values.
Definition at line 150 of file itkLevelSetFunction.h.
|
inlinevirtualinherited |
Gamma. Scales all curvature weight values
Definition at line 162 of file itkLevelSetFunction.h.
|
inlineinherited |
Epsilon.
Definition at line 174 of file itkLevelSetFunction.h.
|
inlinevirtual |
Definition at line 90 of file itkSegmentationLevelSetFunction.h.
|
inlineinherited |
Weight of the laplacian smoothing term
Definition at line 168 of file itkLevelSetFunction.h.
|
inlinestaticinherited |
Set/Get the maximum constraint for the curvature term factor in the time step calculation. Changing this value from the default is not recommended or necessary, but can be used to speed up the surface evolution at the risk of creating an unstable solution.
Definition at line 262 of file itkLevelSetFunction.h.
Referenced by itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetMaximumCurvatureTimeStep().
|
inlinestaticinherited |
Set/Get the maximum constraint for the scalar/vector term factor of the time step calculation. Changing this value from the default is not recommended or necessary, but can be used to speed up the surface evolution at the risk of creating an unstable solution.
Definition at line 275 of file itkLevelSetFunction.h.
|
inlinevirtualinherited |
Beta. Scales all propagation term values.
Definition at line 156 of file itkLevelSetFunction.h.
|
inlineinherited |
Sets the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations.
Definition at line 140 of file itkFiniteDifferenceFunction.h.
Referenced by otb::NCCRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::SetNCCRadius().
|
virtualinherited |
Sets the reference count on this object. This is a dangerous method, use it with care.
Sets the reference count (use with care)
Reimplemented in itk::Object.
Definition at line 244 of file itkLightObject.cxx.
|
inlineinherited |
Set the ScaleCoefficients for the difference operators. The defaults a 1.0. These can be set to take the image spacing into account.
Definition at line 151 of file itkFiniteDifferenceFunction.h.
| void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetSpeedImage | ( | ImageType * | s | ) |
Definition at line 26 of file itkSegmentationLevelSetFunction.txx.
|
inlineinherited |
Definition at line 241 of file itkLevelSetFunction.h.
|
virtualinherited |
Decrease the reference count (release by another object).
Reimplemented in itk::ExceptionObject::ReferenceCountedExceptionData, and itk::Object.
Definition at line 192 of file itkLightObject.cxx.
Referenced by itk::LightObject::New().
|
inlineinherited |
Definition at line 253 of file itkLevelSetFunction.h.
|
inlineinherited |
Definition at line 249 of file itkLevelSetFunction.h.
|
static |
Extract some parameters from the superclass.
Reimplemented from itk::LevelSetFunction< TImageType >.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 72 of file itkSegmentationLevelSetFunction.h.
|
protected |
The image holding the advection field for front propation
Definition at line 149 of file itkSegmentationLevelSetFunction.h.
|
protectedinherited |
Alpha.
Definition at line 322 of file itkLevelSetFunction.h.
|
protectedinherited |
The offset of the center pixel in the neighborhood.
Reimplemented in itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 304 of file itkLevelSetFunction.h.
|
protectedinherited |
Gamma.
Definition at line 328 of file itkLevelSetFunction.h.
|
staticprotectedinherited |
Definition at line 298 of file itkLevelSetFunction.h.
|
protectedinherited |
Epsilon magnitude controls the lower limit for gradient magnitude.
Definition at line 319 of file itkLevelSetFunction.h.
|
protected |
The image whose features will be used to create a speed image
Definition at line 143 of file itkSegmentationLevelSetFunction.h.
|
protected |
Definition at line 173 of file itkSegmentationLevelSetFunction.h.
|
protectedinherited |
Laplacean smoothing term
Definition at line 331 of file itkLevelSetFunction.h.
|
protectedinherited |
Beta.
Definition at line 325 of file itkLevelSetFunction.h.
|
protectedinherited |
Definition at line 201 of file itkFiniteDifferenceFunction.h.
|
mutableprotectedinherited |
Number of uses of this object by other objects.
Definition at line 141 of file itkLightObject.h.
|
mutableprotectedinherited |
Mutex lock to protect modification to the reference count
Definition at line 144 of file itkLightObject.h.
|
protectedinherited |
Definition at line 202 of file itkFiniteDifferenceFunction.h.
|
protected |
The image holding the speed values for front propagation
Definition at line 146 of file itkSegmentationLevelSetFunction.h.
|
protectedinherited |
Definition at line 309 of file itkLevelSetFunction.h.
|
protected |
A casting functor to convert between vector types.
Definition at line 153 of file itkSegmentationLevelSetFunction.h.
|
protected |
Definition at line 174 of file itkSegmentationLevelSetFunction.h.
|
staticprotectedinherited |
Constants used in the time step calculation.
Definition at line 297 of file itkLevelSetFunction.h.
|
protectedinherited |
Stride length along the y-dimension.
Reimplemented in itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 307 of file itkLevelSetFunction.h.
|
staticprotectedinherited |
Zero vector constant.
Definition at line 316 of file itkLevelSetFunction.h.
|
protectedinherited |
Slices for the ND neighborhood.
Reimplemented in itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 301 of file itkLevelSetFunction.h.