#include <itkLevelSetFunctionWithRefitTerm.h>
Inheritance diagram for itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >:


Definition at line 50 of file itkLevelSetFunctionWithRefitTerm.h.
Public Types | |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef ZeroFluxNeumannBoundaryCondition< ImageType > | DefaultBoundaryConditionType |
| typedef Superclass::FloatOffsetType | FloatOffsetType |
| typedef Superclass::GlobalDataStruct | GlobalDataStruct |
| typedef Superclass::ImageType | ImageType |
| typedef ImageType::IndexType | IndexType |
| typedef Superclass::NeighborhoodType | NeighborhoodType |
| typedef SparseImageType::NodeType | NodeType |
| typedef NodeType::NodeDataType | NormalVectorType |
| typedef double | PixelRealType |
| typedef Superclass::PixelType | PixelType |
| typedef SmartPointer< Self > | Pointer |
| typedef Superclass::RadiusType | RadiusType |
| typedef Superclass::ScalarValueType | ScalarValueType |
| typedef LevelSetFunctionWithRefitTerm | Self |
| typedef TSparseImageType | SparseImageType |
| typedef LevelSetFunction< TImageType > | Superclass |
| typedef Superclass::TimeStepType | TimeStepType |
| typedef FixedArray< ScalarValueType, itkGetStaticConstMacro(ImageDimension) | VectorType ) |
Public Member Functions | |
| virtual VectorType | AdvectionField (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const |
| virtual ScalarValueType | Compute3DMinimalCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0) |
| *virtual ScalarValueType | ComputeCurvatureTerm (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0) |
| virtual TimeStepType | ComputeGlobalTimeStep (void *GlobalData) const |
| virtual ScalarValueType | ComputeMeanCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0) |
| virtual ScalarValueType | ComputeMinimalCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0) |
| virtual PixelType | ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &=FloatOffsetType(0.0)) |
| virtual Pointer | CreateAnother () const |
| virtual ScalarValueType | CurvatureSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const |
| virtual void | Delete () |
| ScalarValueType | GetAdvectionWeight () const |
| ScalarValueType | GetCurvatureWeight () const |
| ScalarValueType | GetEpsilonMagnitude () const |
| 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 *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 *virtual void * | GetGlobalDataPointer () const |
| ScalarValueType | GetLaplacianSmoothingWeight () const |
| virtual const char * | GetNameOfClass () const |
| ScalarValueType | GetPropagationWeight () const |
| const RadiusType & | GetRadius () const |
| virtual int | GetReferenceCount () const |
| SparseImageType * | GetSparseTargetImage () const |
| bool | GetUseMinimalCurvature () const |
| virtual void | Initialize (const RadiusType &r) |
| virtual void | InitializeIteration () |
| itkStaticConstMacro (ImageDimension, unsigned int, ImageType::ImageDimension) | |
| itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension) | |
| virtual ScalarValueType | LaplacianSmoothingSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const |
| void | Print (std::ostream &os, Indent indent=0) const |
| virtual void | Register () const |
| virtual void | ReleaseGlobalDataPointer (void *GlobalData) const |
| Alpha Scales all advection term values *virtual void | SetAdvectionWeight (const ScalarValueType a) |
| Gamma Scales all curvature weight values *virtual void | SetCurvatureWeight (const ScalarValueType c) |
| Epsilon *void | SetEpsilonMagnitude (const ScalarValueType e) |
| Weight of the laplacian smoothing term *void | SetLaplacianSmoothingWeight (const ScalarValueType c) |
| void | SetOtherPropagationWeight (const ScalarValueType w) |
| Beta Scales all propagation term values *virtual void | SetPropagationWeight (const ScalarValueType p) |
| void | SetRadius (const RadiusType &r) |
| virtual void | SetReferenceCount (int) |
| void | SetRefitWeight (const ScalarValueType w) |
| Set the ScaleCoefficients for the difference *operators The defaults a These can be set to take the image *spacing into account *void | SetScaleCoefficients (PixelRealType vals[ImageDimension]) |
| void | SetSparseTargetImage (SparseImageType *im) |
| *void | SetUseMinimalCurvature (bool b) |
| virtual void | UnRegister () const |
| void | UseMinimalCurvatureOff () |
| void | UseMinimalCurvatureOn () |
Static Public Member Functions | |
| static void | BreakOnError () |
| static double | GetMaximumCurvatureTimeStep () |
| static double | GetMaximumPropagationTimeStep () |
| static Pointer | New () |
| 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 but can be used to speed up the surface evolution at the risk of creating an unstable solution *static void | SetMaximumCurvatureTimeStep (double n) |
| 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 but can be used to speed up the surface evolution at the risk of creating an unstable solution *static void | SetMaximumPropagationTimeStep (double n) |
Public Attributes | |
| 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 |
| 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 |
| 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 |
Protected Member Functions | |
| ScalarValueType | ComputeCurvature (const NeighborhoodType &) const |
| LevelSetFunctionWithRefitTerm () | |
| virtual ScalarValueType | OtherPropagationSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| virtual ScalarValueType | PropagationSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const |
Static Protected Member Functions | |
| static VectorType | InitializeZeroVectorConstant () |
Protected Attributes | |
| ScalarValueType | m_AdvectionWeight |
| ::vcl_size_t | m_Center |
| ScalarValueType | m_CurvatureWeight |
| ScalarValueType | m_EpsilonMagnitude |
| ScalarValueType | m_LaplacianSmoothingWeight |
| ScalarValueType | m_OtherPropagationWeight |
| ScalarValueType | m_PropagationWeight |
| RadiusType | m_Radius |
| int | m_ReferenceCount |
| SimpleFastMutexLock | m_ReferenceCountLock |
| ScalarValueType | m_RefitWeight |
| PixelRealType | m_ScaleCoefficients [ImageDimension] |
| bool | m_UseMinimalCurvature |
| ::vcl_size_t | m_xStride [itkGetStaticConstMacro(ImageDimension)] |
| Methods invoked by virtual Print() to print information about the object *including superclasses.Typically not called by the user(use Print()*instead) but used in the hierarchical print process to combine the *output of several classes.*/virtual void PrintSelf(std voi | PrintHeader )(std::ostream &os, Indent indent) const |
| std::slice | x_slice [itkGetStaticConstMacro(ImageDimension)] |
Static Protected Attributes | |
| static double | m_DT |
| static double | m_WaveDT |
| static VectorType | m_ZeroVectorConstant |
|
|||||
|
Reimplemented from itk::LevelSetFunction< TImageType >. Definition at line 59 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
The default boundary condition for finite difference functions that is used unless overridden in the Evaluate() method. Definition at line 93 of file itkFiniteDifferenceFunction.h. |
|
|||||
|
A floating point offset from an image grid location. Used for interpolation among grid values in a neighborhood. Reimplemented from itk::LevelSetFunction< TImageType >. Definition at line 69 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
Definition at line 71 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
Extract some parameters from the superclass. Reimplemented from itk::LevelSetFunction< TImageType >. Definition at line 65 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
Index type derived from the ImageType. Definition at line 76 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
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 >. Definition at line 72 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
The node type of the sparse image. Definition at line 82 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
The type for the normal vectors of the level set image. Definition at line 85 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
Definition at line 82 of file itkFiniteDifferenceFunction.h. |
|
|||||
|
Reimplemented from itk::FiniteDifferenceFunction< TImageType >. Reimplemented in itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >. Definition at line 86 of file itkLevelSetFunction.h. |
|
|||||
|
Reimplemented from itk::LevelSetFunction< TImageType >. Definition at line 58 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
|||||
|
Reimplemented from itk::LevelSetFunction< TImageType >. Definition at line 70 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
Standard class typedefs. Reimplemented from itk::LevelSetFunction< TImageType >. Definition at line 56 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
The sparse image type used for the curvature target. Definition at line 79 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
Reimplemented from itk::LevelSetFunction< TImageType >. Definition at line 57 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
Convenient typedefs. Reimplemented from itk::LevelSetFunction< TImageType >. Definition at line 73 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
The vector type that will be used in the calculations. Reimplemented in itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::SegmentationLevelSetFunction< OutputImageType, FeatureImageType >. Definition at line 94 of file itkLevelSetFunction.h. |
|
|||||||||
|
|
|
||||||||||||||||||||
|
Advection field. Default implementation returns a vector of zeros. Reimplemented in itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::SegmentationLevelSetFunction< OutputImageType, FeatureImageType >. Definition at line 122 of file itkLevelSetFunction.h. |
|
|
This method is called when itkExceptionMacro executes. It allows the debugger to break on error. |
|
||||||||||||||||||||
|
|
|
||||||||||
|
Computes the curvature of a level set neighbothood in a way that matches the curvature computation from normal vectors. |
|
||||||||||||||||||||
|
|
|
||||||||||
|
Computes the time step for an update given a global data structure. This calls the ComputeGlobalTimeStep method defined in LevelSetFunction and then imposes our own restrictions for the refitting term on the returned value. Reimplemented from itk::LevelSetFunction< TImageType >. |
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
Compute the equation value. Implements itk::FiniteDifferenceFunction< TImageType >. Reimplemented in itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >. |
|
|
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 in itk::Object. |
|
||||||||||||||||||||
|
Curvature speed. Can be used to spatially modify the effects of curvature . The default implementation returns one. Reimplemented in itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >. Definition at line 135 of file itkLevelSetFunction.h. |
|
|
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. |
|
|||||||||
|
Definition at line 150 of file itkLevelSetFunction.h. |
|
|||||||||
|
Definition at line 164 of file itkLevelSetFunction.h. |
|
|||||||||
|
Definition at line 178 of file itkLevelSetFunction.h. |
|
|||||||||
|
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. Implements itk::FiniteDifferenceFunction< TImageType >. Reimplemented in itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >. Definition at line 202 of file itkLevelSetFunction.h. |
|
|||||||||
|
Definition at line 171 of file itkLevelSetFunction.h. |
|
|||||||||
|
Definition at line 272 of file itkLevelSetFunction.h. |
|
|||||||||
|
Definition at line 286 of file itkLevelSetFunction.h. |
|
|||||||||
|
Run-time type information (and related methods) Reimplemented from itk::LevelSetFunction< TImageType >. |
|
|||||||||
|
Definition at line 157 of file itkLevelSetFunction.h. |
|
||||||||||
|
Returns the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations. Definition at line 142 of file itkFiniteDifferenceFunction.h. |
|
|
Gets the reference count on this object. Definition at line 98 of file itkLightObject.h. |
|
|||||||||
|
Returns the sparse image. Definition at line 106 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||||||
|
Definition at line 250 of file itkLevelSetFunction.h. |
|
||||||||||
|
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 in itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::SegmentationLevelSetFunction< OutputImageType, FeatureImageType >. |
|
|||||||||
|
|||||||||
|
This method's only purpose is to initialize the zero vector constant. |
|
||||||||||||||||||||
|
Save image dimension. |
|
||||||||||||||||||||
|
||||||||||||||||||||
|
Laplacian smoothing speed. Can be used to spatially modify the effects of laplacian smoothing of the level set function Definition at line 142 of file itkLevelSetFunction.h. |
|
|||||||||
|
Standard New macro. Reimplemented from itk::LevelSetFunction< TImageType >. |
|
||||||||||||||||||||
|
Called by PropagationSpeed and added on to the refitting term. Function classes derived from this class should define this method for their propagation speed, NOT the actual PropagationSpeed method. Definition at line 140 of file itkLevelSetFunctionWithRefitTerm.h. |
|
||||||||||||
|
Cause the object to print itself out. |
|
||||||||||||||||
|
Reimplemented from itk::LevelSetFunction< TImageType >. |
|
||||||||||||
|
|
|
||||||||||||||||||||
|
Defines the virtual function in LevelSetFunction to add the refitting term. This function also calls OtherPropagationSpeed to provide a mechanism for subclasses to define other propagation terms. Reimplemented from itk::LevelSetFunction< TImageType >. |
|
|
Increase the reference count (mark as used by another object). Reimplemented in itk::Object. |
|
||||||||||
|
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 >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >. Definition at line 221 of file itkLevelSetFunction.h. |
|
||||||||||
|
Reimplemented in itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >. Definition at line 148 of file itkLevelSetFunction.h. |
|
||||||||||
|
Definition at line 162 of file itkLevelSetFunction.h. |
|
||||||||||
|
Definition at line 176 of file itkLevelSetFunction.h. |
|
||||||||||
|
Definition at line 169 of file itkLevelSetFunction.h. |
|
||||||||||
|
Definition at line 268 of file itkLevelSetFunction.h. |
|
||||||||||
|
Definition at line 282 of file itkLevelSetFunction.h. |
|
||||||||||
|
This is the weight for propagation terms (other than refitting) that can be defined by subclasses. Definition at line 95 of file itkLevelSetFunctionWithRefitTerm.h. |
|
||||||||||
|
Definition at line 155 of file itkLevelSetFunction.h. |
|
||||||||||
|
Sets the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations. Definition at line 137 of file itkFiniteDifferenceFunction.h. |
|
|
Sets the reference count on this object. This is a dangerous method, use it with care. Reimplemented in itk::Object. |
|
||||||||||
|
Set the relative weight of the refitting term. Definition at line 88 of file itkLevelSetFunctionWithRefitTerm.h. |
|
||||||||||
|
Definition at line 148 of file itkFiniteDifferenceFunction.h. |
|
||||||||||
|
Sets the sparse image which has nodes containing the member variable m_Curvature used in refitting. Definition at line 102 of file itkLevelSetFunctionWithRefitTerm.h. |
|
||||||||||
|
Definition at line 246 of file itkLevelSetFunction.h. |
|
|
Decrease the reference count (release by another object). Reimplemented in itk::Object. |
|
|||||||||
|
Definition at line 258 of file itkLevelSetFunction.h. |
|
|||||||||
|
Definition at line 254 of file itkLevelSetFunction.h. |
|
|||||
|
Alpha. Definition at line 330 of file itkLevelSetFunction.h. |
|
|||||
|
The offset of the center pixel in the neighborhood. Definition at line 312 of file itkLevelSetFunction.h. |
|
|||||
|
Gamma. Definition at line 336 of file itkLevelSetFunction.h. |
|
|||||
|
Definition at line 306 of file itkLevelSetFunction.h. |
|
|||||
|
Epsilon magnitude controls the lower limit for gradient magnitude. Definition at line 327 of file itkLevelSetFunction.h. |
|
|||||
|
Laplacean smoothing term Definition at line 339 of file itkLevelSetFunction.h. |
|
|||||
|
The weight for other scalar propagation terms that can be defined by classes derived from this class. Definition at line 121 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
Beta. Definition at line 333 of file itkLevelSetFunction.h. |
|
|||||
|
Definition at line 194 of file itkFiniteDifferenceFunction.h. |
|
|
Number of uses of this object by other objects. Definition at line 119 of file itkLightObject.h. |
|
|
Mutex lock to protect modification to the reference count Definition at line 122 of file itkLightObject.h. |
|
|||||
|
The weight for the refitting term. Definition at line 117 of file itkLevelSetFunctionWithRefitTerm.h. |
|
|||||
|
Definition at line 195 of file itkFiniteDifferenceFunction.h. |
|
|||||
|
Definition at line 317 of file itkLevelSetFunction.h. |
|
|||||
|
Constants used in the time step calculation. Definition at line 305 of file itkLevelSetFunction.h. |
|
|||||
|
Stride length along the y-dimension. Definition at line 315 of file itkLevelSetFunction.h. |
|
|||||
|
Zero vector constant. Definition at line 324 of file itkLevelSetFunction.h. |
|
|||||
|
Definition at line 280 of file itkLevelSetFunction.h. |
|
|||||
|
Definition at line 266 of file itkLevelSetFunction.h. |
|
|
|
|
|||||
|
Definition at line 197 of file itkLevelSetFunction.h. |
|
|||||
|
Slices for the ND neighborhood. Definition at line 309 of file itkLevelSetFunction.h. |
1.4.2 written by Dimitri van Heesch,
© 1997-2000