ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkLevelSetFunctionWithRefitTerm.h>
This class extends the LevelSetFunction class by adding a grow term based on a target curvature stored in a sparse image.
Definition at line 52 of file itkLevelSetFunctionWithRefitTerm.h.
typedef SmartPointer< const Self > itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::ConstPointer |
Reimplemented from itk::LevelSetFunction< TImageType >.
Definition at line 61 of file itkLevelSetFunctionWithRefitTerm.h.
typedef Superclass::FloatOffsetType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::FloatOffsetType |
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 71 of file itkLevelSetFunctionWithRefitTerm.h.
typedef Superclass::GlobalDataStruct itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::GlobalDataStruct |
Definition at line 73 of file itkLevelSetFunctionWithRefitTerm.h.
typedef Superclass::ImageType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::ImageType |
Extract some parameters from the superclass.
Reimplemented from itk::LevelSetFunction< TImageType >.
Definition at line 67 of file itkLevelSetFunctionWithRefitTerm.h.
typedef ImageType::IndexType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::IndexType |
Index type derived from the ImageType.
Definition at line 81 of file itkLevelSetFunctionWithRefitTerm.h.
typedef Superclass::NeighborhoodScalesType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::NeighborhoodScalesType |
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::LevelSetFunction< TImageType >.
Definition at line 75 of file itkLevelSetFunctionWithRefitTerm.h.
typedef NeighborhoodType::SizeValueType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::NeighborhoodSizeValueType |
Definition at line 78 of file itkLevelSetFunctionWithRefitTerm.h.
typedef Superclass::NeighborhoodType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::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 >.
Definition at line 74 of file itkLevelSetFunctionWithRefitTerm.h.
typedef SparseImageType::NodeType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::NodeType |
The node type of the sparse image.
Definition at line 87 of file itkLevelSetFunctionWithRefitTerm.h.
typedef NodeType::NodeDataType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::NormalVectorType |
The type for the normal vectors of the level set image.
Definition at line 90 of file itkLevelSetFunctionWithRefitTerm.h.
typedef SmartPointer< Self > itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::Pointer |
Reimplemented from itk::LevelSetFunction< TImageType >.
Definition at line 60 of file itkLevelSetFunctionWithRefitTerm.h.
typedef Superclass::ScalarValueType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::ScalarValueType |
Reimplemented from itk::LevelSetFunction< TImageType >.
Definition at line 72 of file itkLevelSetFunctionWithRefitTerm.h.
typedef LevelSetFunctionWithRefitTerm itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::Self |
Standard class typedefs.
Reimplemented from itk::LevelSetFunction< TImageType >.
Definition at line 58 of file itkLevelSetFunctionWithRefitTerm.h.
typedef TSparseImageType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::SparseImageType |
The sparse image type used for the curvature target.
Definition at line 84 of file itkLevelSetFunctionWithRefitTerm.h.
typedef LevelSetFunction< TImageType > itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::Superclass |
Reimplemented from itk::LevelSetFunction< TImageType >.
Definition at line 59 of file itkLevelSetFunctionWithRefitTerm.h.
typedef Superclass::TimeStepType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::TimeStepType |
Convenient typedefs.
Reimplemented from itk::LevelSetFunction< TImageType >.
Definition at line 76 of file itkLevelSetFunctionWithRefitTerm.h.
itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::LevelSetFunctionWithRefitTerm | ( | ) | [protected] |
itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::LevelSetFunctionWithRefitTerm | ( | const Self & | ) | [private] |
ScalarValueType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::ComputeCurvature | ( | const NeighborhoodType & | ) | const [protected] |
Computes the curvature of a level set neighbothood in a way that matches the curvature computation from normal vectors.
virtual TimeStepType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::ComputeGlobalTimeStep | ( | void * | GlobalData | ) | const [virtual] |
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 >.
virtual::itk::LightObject::Pointer itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::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::LevelSetFunction< TImageType >.
virtual const char* itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods)
Reimplemented from itk::LevelSetFunction< TImageType >.
SparseImageType* itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::GetSparseTargetImage | ( | ) | const [inline] |
Returns the sparse image.
Definition at line 111 of file itkLevelSetFunctionWithRefitTerm.h.
static Pointer itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::New | ( | ) | [static] |
Standard New macro.
Reimplemented from itk::LevelSetFunction< TImageType >.
void itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::operator= | ( | const Self & | ) | [private] |
Laplacean smoothing term
Reimplemented from itk::LevelSetFunction< TImageType >.
virtual ScalarValueType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::OtherPropagationSpeed | ( | const NeighborhoodType & | , |
const FloatOffsetType & | , | ||
GlobalDataStruct * | = 0 |
||
) | const [inline, protected, virtual] |
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 145 of file itkLevelSetFunctionWithRefitTerm.h.
void itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::LevelSetFunction< TImageType >.
virtual ScalarValueType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::PropagationSpeed | ( | const NeighborhoodType & | , |
const FloatOffsetType & | , | ||
GlobalDataStruct * | = 0 |
||
) | const [protected, virtual] |
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 >.
void itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::SetOtherPropagationWeight | ( | const ScalarValueType | w | ) | [inline] |
This is the weight for propagation terms (other than refitting) that can be defined by subclasses.
Definition at line 100 of file itkLevelSetFunctionWithRefitTerm.h.
void itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::SetRefitWeight | ( | const ScalarValueType | w | ) | [inline] |
Set the relative weight of the refitting term.
Definition at line 93 of file itkLevelSetFunctionWithRefitTerm.h.
void itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::SetSparseTargetImage | ( | SparseImageType * | im | ) | [inline] |
Sets the sparse image which has nodes containing the member variable m_Curvature used in refitting.
Definition at line 107 of file itkLevelSetFunctionWithRefitTerm.h.
const ScalarValueType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::m_DimConst [static, private] |
Definition at line 164 of file itkLevelSetFunctionWithRefitTerm.h.
ScalarValueType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::m_MinVectorNorm [private] |
The minimum vector norm parameter.
Definition at line 160 of file itkLevelSetFunctionWithRefitTerm.h.
const NeighborhoodSizeValueType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::m_NumVertex [static, private] |
Constants used in computations.
Definition at line 163 of file itkLevelSetFunctionWithRefitTerm.h.
ScalarValueType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::m_OtherPropagationWeight [protected] |
The weight for other scalar propagation terms that can be defined by classes derived from this class.
Definition at line 126 of file itkLevelSetFunctionWithRefitTerm.h.
ScalarValueType itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::m_RefitWeight [protected] |
The weight for the refitting term.
Definition at line 122 of file itkLevelSetFunctionWithRefitTerm.h.
SparseImageType::Pointer itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::m_SparseTargetImage [private] |
The sparse image that contains the target curvature information.
Definition at line 157 of file itkLevelSetFunctionWithRefitTerm.h.