LevelSet function that computes a speed image based on regional integrals of probabilities. More...
#include <itkScalarChanAndVeseLevelSetFunction.h>
LevelSet function that computes a speed image based on regional integrals of probabilities.
This class implements a level set function that computes the speed image by integrating values on the image domain.
Based on the papers:
"An active contour model without edges" T. Chan and L. Vese. In Scale-Space Theories in Computer Vision, pages 141-151, 1999.
"Segmenting and Tracking Fluorescent Cells in Dynamic 3-D Microscopy With Coupled Active Surfaces" Dufour, Shinin, Tajbakhsh, Guillen-Aghion, Olivo-Marin In IEEE Transactions on Image Processing, vol. 14, No 9, Sep. 2005
This code was taken from the Insight Journal paper:
"Cell Tracking using Coupled Active Surfaces for Nuclei and Membranes" http://www.insight-journal.org/browse/publication/642 http://hdl.handle.net/10380/3055
That is based on the papers:
"Level Set Segmentation: Active Contours without edge" http://www.insight-journal.org/browse/publication/322 http://hdl.handle.net/1926/1532
and
"Level set segmentation using coupled active surfaces" http://www.insight-journal.org/browse/publication/323 http://hdl.handle.net/1926/1533
Definition at line 71 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::ConstFeatureIteratorType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ConstFeatureIteratorType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 121 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::ConstImageIteratorType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ConstImageIteratorType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 119 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef SmartPointer<const Self> itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ConstPointer |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 79 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef ZeroFluxNeumannBoundaryCondition<ImageType> itk::FiniteDifferenceFunction< TInputImage >::DefaultBoundaryConditionType [inherited] |
The default boundary condition for finite difference functions that is used unless overridden in the Evaluate() method.
Definition at line 92 of file itkFiniteDifferenceFunction.h.
typedef FeatureImageType::ConstPointer itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeatureImageConstPointer |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 101 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::FeatureImageIteratorType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeatureImageIteratorType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 120 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef TFeatureImage itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeatureImageType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 100 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::FeatureIndexType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeatureIndexType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 103 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::FeatureOffsetType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeatureOffsetType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 104 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::FeaturePixelType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeaturePixelType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 102 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef FeatureImageType::SpacingType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::FeatureSpacingType [inherited] |
Definition at line 143 of file itkRegionBasedLevelSetFunction.h.
typedef Superclass::FloatOffsetType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FloatOffsetType |
A floating point offset from an image grid location. Used for interpolation among grid values in a neighborhood.
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 108 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::GlobalDataStruct itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::GlobalDataStruct |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 111 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef HeavisideFunctionType::ConstPointer itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::HeavisideFunctionConstPointer [inherited] |
Definition at line 150 of file itkRegionBasedLevelSetFunction.h.
typedef HeavisideStepFunctionBase< InputPixelType, InputPixelType > itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::HeavisideFunctionType [inherited] |
Definition at line 149 of file itkRegionBasedLevelSetFunction.h.
typedef Superclass::ImageIteratorType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ImageIteratorType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 118 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::ImageType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::ImageType [inherited] |
Extract some parameters from the image type
Reimplemented from itk::FiniteDifferenceFunction< TInputImage >.
Definition at line 85 of file itkRegionBasedLevelSetFunction.h.
typedef Superclass::InputImageConstPointer itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputImageConstPointer |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 90 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::InputImagePointer itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputImagePointer |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 91 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef TInputImage itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputImageType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 89 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::InputIndexType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputIndexType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 93 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::InputIndexValueType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputIndexValueType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 94 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::InputPixelType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputPixelType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 92 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::InputPointType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputPointType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 98 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::InputRegionType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputRegionType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 97 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::InputSizeType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputSizeType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 95 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::InputSizeValueType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputSizeValueType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 96 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef int itk::LightObject::InternalReferenceCountType [protected, inherited] |
Define the type of the reference count according to the target. This allows the use of atomic operations
Definition at line 139 of file itkLightObject.h.
typedef Superclass::ListImageType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ListImageType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 126 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::ListPixelConstIterator itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ListPixelConstIterator |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 124 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::ListPixelIterator itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ListPixelIterator |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 125 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::ListPixelType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ListPixelType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 123 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::NeighborhoodScalesType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::NeighborhoodScalesType [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< TInputImage >.
Definition at line 90 of file itkRegionBasedLevelSetFunction.h.
typedef Superclass::NeighborhoodType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::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::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 107 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef double itk::FiniteDifferenceFunction< TInputImage >::PixelRealType [inherited] |
Definition at line 81 of file itkFiniteDifferenceFunction.h.
typedef Superclass::PixelType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::PixelType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 112 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef SmartPointer<Self> itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::Pointer |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 78 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::RadiusType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::RadiusType |
Neighborhood radius type
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 109 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::ScalarValueType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ScalarValueType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 106 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef ScalarChanAndVeseLevelSetFunction itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::Self |
Standard class typedefs.
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 75 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::SharedDataPointer itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::SharedDataPointer |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 116 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::SharedDataType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::SharedDataType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 115 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData > itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::Superclass |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 77 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::TimeStepType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::TimeStepType |
Extract some parameters from the superclass.
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 110 of file itkScalarChanAndVeseLevelSetFunction.h.
typedef Superclass::VectorType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::VectorType |
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 113 of file itkScalarChanAndVeseLevelSetFunction.h.
itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ScalarChanAndVeseLevelSetFunction | ( | ) | [inline, protected] |
Definition at line 129 of file itkScalarChanAndVeseLevelSetFunction.h.
itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::~ScalarChanAndVeseLevelSetFunction | ( | ) | [inline, protected] |
Definition at line 130 of file itkScalarChanAndVeseLevelSetFunction.h.
virtual VectorType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::AdvectionField | ( | const NeighborhoodType & | , | |
const FloatOffsetType & | , | |||
GlobalDataStruct * | = 0 | |||
) | const [inline, virtual, inherited] |
Advection field. Default implementation returns a vector of zeros.
Definition at line 213 of file itkRegionBasedLevelSetFunction.h.
static void itk::LightObject::BreakOnError | ( | ) | [static, inherited] |
This method is called when itkExceptionMacro executes. It allows the debugger to break on error.
virtual void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::CalculateAdvectionImage | ( | ) | [inline, virtual, inherited] |
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.
Definition at line 306 of file itkRegionBasedLevelSetFunction.h.
virtual ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::ComputeCurvature | ( | const NeighborhoodType & | , | |
const FloatOffsetType & | , | |||
GlobalDataStruct * | gd | |||
) | [virtual, inherited] |
virtual ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::ComputeExternalTerm | ( | const FeaturePixelType & | iValue, | |
const FeatureIndexType & | iIdx | |||
) | [protected, pure virtual, inherited] |
Compute the external term.
[in] | iValue | Feature Image Value |
[in] | iIdx | Feature Image Index |
[in] | pr | Product of Heaviside Functions |
ScalarValueType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ComputeExternalTerm | ( | const FeaturePixelType & | iValue, | |
const FeatureIndexType & | iIdx | |||
) | [protected] |
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::ComputeGlobalTerm | ( | const ScalarValueType & | imagePixel, | |
const InputIndexType & | inputIndex | |||
) | [protected, inherited] |
Compute the global term as a combination of the internal, external, overlapping and volume regularization terms.
TimeStepType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::ComputeGlobalTimeStep | ( | void * | GlobalData | ) | const [virtual, inherited] |
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< TInputImage >.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::ComputeHessian | ( | const NeighborhoodType & | it, | |
GlobalDataStruct * | globalData | |||
) | [protected, inherited] |
Compute Hessian Matrix.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::ComputeHImage | ( | ) | [protected, inherited] |
virtual ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::ComputeInternalTerm | ( | const FeaturePixelType & | iValue, | |
const FeatureIndexType & | iIdx | |||
) | [protected, pure virtual, inherited] |
Compute the internal term.
[in] | iValue | Feature Image Value |
[in] | iIdx | Feature Image Index |
[in] | fId | Index of the LevelSet Function |
ScalarValueType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ComputeInternalTerm | ( | const FeaturePixelType & | iValue, | |
const FeatureIndexType & | iIdx | |||
) | [protected] |
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::ComputeLaplacian | ( | GlobalDataStruct * | gd | ) | [protected, inherited] |
Compute the laplacian term.
For details see @inproceedings{bb30335, AUTHOR = "Li, C.M. and Xu, C.Y. and Gui, C. and Fox, M.D.", TITLE = "Level Set Evolution without Re-Initialization: A New Variational Formulation", BOOKTITLE = CVPR05, YEAR = "2005", PAGES = "I: 430-436"}
const NeighborhoodScalesType itk::FiniteDifferenceFunction< TInputImage >::ComputeNeighborhoodScales | ( | ) | const [inherited] |
Compute the scales that weight the neighborhood during difference operations to properly account for spacing and neighborhood radius
virtual ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::ComputeOverlapParameters | ( | const FeatureIndexType & | featIndex, | |
ScalarValueType & | pr | |||
) | [protected, pure virtual, inherited] |
Compute the overlap term.
[in] | featIndex | |
[out] | pr | = |
ScalarValueType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ComputeOverlapParameters | ( | const FeatureIndexType & | featIndex, | |
ScalarValueType & | product | |||
) | [protected, inherited] |
void itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ComputeParameters | ( | ) | [protected, virtual] |
Compute Parameters for the inner and outer parts.
Implements itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
virtual PixelType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::ComputeUpdate | ( | const NeighborhoodType & | neighborhood, | |
void * | globalData, | |||
const FloatOffsetType & | = FloatOffsetType(0.0) | |||
) | [virtual, inherited] |
Compute the equation value.
Implements itk::FiniteDifferenceFunction< TInputImage >.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::ComputeVolumeRegularizationTerm | ( | ) | [protected, inherited] |
Compute the overlap term.
virtual Pointer itk::LightObject::CreateAnother | ( | ) | const [virtual, inherited] |
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::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, itk::CreateObjectFunction< T >, itk::MetaDataObject< MetaDataObjectType >, itk::Object, itk::TransformFactoryBase, itk::AnalyzeImageIOFactory, itk::BioRadImageIOFactory, itk::BMPImageIOFactory, itk::Brains2MaskImageIOFactory, itk::DICOMImageIO2Factory, itk::DicomImageIOFactory, itk::GDCMImageIOFactory, itk::GE4ImageIOFactory, itk::GE5ImageIOFactory, itk::GEAdwImageIOFactory, itk::GiplImageIOFactory, itk::JPEGImageIOFactory, itk::LSMImageIOFactory, itk::MetaImageIOFactory, itk::NiftiImageIOFactory, itk::NrrdImageIOFactory, itk::PNGImageIOFactory, itk::RawImageIOFactory< TPixel, VImageDimension >, itk::SiemensVisionImageIOFactory, itk::StimulateImageIOFactory, itk::TIFFImageIOFactory, itk::VTKImageIOFactory, itk::Bruker2DSEQImageIOFactory, itk::MatlabTransformIOFactory, itk::MINC2ImageIOFactory, itk::PhilipsRECImageIOFactory, itk::TxtTransformIOFactory, itk::VoxBoCUBImageIOFactory, and itk::SpatialObjectFactoryBase.
virtual ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::CurvatureSpeed | ( | const NeighborhoodType & | , | |
const FloatOffsetType & | , | |||
GlobalDataStruct * | = 0 | |||
) | const [inline, virtual, inherited] |
Curvature speed can be used to spatially modify the effects of curvature . The default implementation returns one.
Definition at line 297 of file itkRegionBasedLevelSetFunction.h.
virtual void itk::LightObject::Delete | ( | ) | [virtual, inherited] |
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.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::GetAdvectionWeight | ( | ) | const [inline, inherited] |
Definition at line 254 of file itkRegionBasedLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::GetAreaWeight | ( | ) | const [inline, inherited] |
Nu. Area regularization values
Definition at line 220 of file itkRegionBasedLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::GetCurvatureWeight | ( | ) | const [inline, inherited] |
Nu. Area regularization values
Definition at line 248 of file itkRegionBasedLevelSetFunction.h.
virtual const FeatureImageType* itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::GetFeatureImage | ( | ) | const [inline, virtual, inherited] |
Definition at line 199 of file itkRegionBasedLevelSetFunction.h.
void* itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::GetGlobalDataPointer | ( | ) | const [inline, virtual, inherited] |
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< TInputImage >.
Definition at line 183 of file itkRegionBasedLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::GetLambda1 | ( | ) | const [inline, inherited] |
Nu. Area regularization values
Definition at line 227 of file itkRegionBasedLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::GetLambda2 | ( | ) | const [inline, inherited] |
Nu. Area regularization values
Definition at line 234 of file itkRegionBasedLevelSetFunction.h.
virtual const char* itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods)
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::GetOverlapPenaltyWeight | ( | ) | const [inline, inherited] |
Nu. Area regularization values
Definition at line 241 of file itkRegionBasedLevelSetFunction.h.
const RadiusType& itk::FiniteDifferenceFunction< TInputImage >::GetRadius | ( | void | ) | const [inline, inherited] |
Returns the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations.
Definition at line 146 of file itkFiniteDifferenceFunction.h.
virtual int itk::LightObject::GetReferenceCount | ( | ) | const [inline, virtual, inherited] |
Gets the reference count on this object.
Definition at line 106 of file itkLightObject.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::GetReinitializationSmoothingWeight | ( | ) | const [inline, inherited] |
Nu. Area regularization values
Definition at line 260 of file itkRegionBasedLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::GetVolume | ( | ) | const [inline, inherited] |
Nu. Area regularization values
Definition at line 274 of file itkRegionBasedLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::GetVolumeMatchingWeight | ( | ) | const [inline, inherited] |
Nu. Area regularization values
Definition at line 267 of file itkRegionBasedLevelSetFunction.h.
virtual void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::Initialize | ( | const RadiusType & | r | ) | [inline, virtual, inherited] |
Definition at line 157 of file itkRegionBasedLevelSetFunction.h.
References itk::Neighborhood< TPixel, VDimension, TAllocator >::GetStride(), HardConnectedComponentImageFilter::ImageDimension, itk::Neighborhood< TPixel, VDimension, TAllocator >::SetRadius(), and itk::Neighborhood< TPixel, VDimension, TAllocator >::Size().
virtual void itk::FiniteDifferenceFunction< TInputImage >::InitializeIteration | ( | ) | [inline, virtual, inherited] |
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.
Definition at line 118 of file itkFiniteDifferenceFunction.h.
static VectorType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::InitializeZeroVectorConstant | ( | ) | [static, protected, inherited] |
This method's only purpose is to initialize the zero vector constant.
virtual ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::LaplacianSmoothingSpeed | ( | const NeighborhoodType & | , | |
const FloatOffsetType & | , | |||
GlobalDataStruct * | = 0 | |||
) | const [inline, virtual, inherited] |
Laplacian smoothing speed can be used to spatially modify the effects of laplacian smoothing of the level set function.
Definition at line 290 of file itkRegionBasedLevelSetFunction.h.
static Pointer itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::LightObject.
void itk::LightObject::Print | ( | std::ostream & | os, | |
Indent | indent = 0 | |||
) | const [inherited] |
Cause the object to print itself out.
Referenced by itk::WeakPointer< ProcessObject >::Print().
virtual void itk::LightObject::PrintHeader | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual, inherited] |
Define the type of the reference count according to the target. This allows the use of atomic operations
void itk::FiniteDifferenceFunction< TInputImage >::PrintSelf | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual, inherited] |
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::LightObject.
virtual void itk::LightObject::PrintTrailer | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual, inherited] |
Define the type of the reference count according to the target. This allows the use of atomic operations
virtual void itk::LightObject::Register | ( | ) | const [virtual, inherited] |
Increase the reference count (mark as used by another object).
Reimplemented in itk::Object.
virtual void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::ReleaseGlobalDataPointer | ( | void * | GlobalData | ) | const [inline, virtual, inherited] |
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< TInputImage >.
Definition at line 282 of file itkRegionBasedLevelSetFunction.h.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetAdvectionWeight | ( | const ScalarValueType & | iA | ) | [inline, inherited] |
Definition at line 252 of file itkRegionBasedLevelSetFunction.h.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetAreaWeight | ( | const ScalarValueType & | nu | ) | [inline, inherited] |
Nu. Area regularization values
Definition at line 218 of file itkRegionBasedLevelSetFunction.h.
virtual void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetCurvatureWeight | ( | const ScalarValueType | c | ) | [inline, virtual, inherited] |
Gamma. Scales all curvature weight values
Definition at line 246 of file itkRegionBasedLevelSetFunction.h.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetDomainFunction | ( | const HeavisideFunctionType * | f | ) | [inline, inherited] |
Definition at line 152 of file itkRegionBasedLevelSetFunction.h.
virtual void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetFeatureImage | ( | const FeatureImageType * | f | ) | [inline, virtual, inherited] |
Definition at line 201 of file itkRegionBasedLevelSetFunction.h.
References HardConnectedComponentImageFilter::ImageDimension.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetFunctionId | ( | const unsigned int & | iFid | ) | [inline, inherited] |
Set function id.
Definition at line 279 of file itkRegionBasedLevelSetFunction.h.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetInitialImage | ( | InputImageType * | f | ) | [inline, inherited] |
Definition at line 194 of file itkRegionBasedLevelSetFunction.h.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetLambda1 | ( | const ScalarValueType & | lambda1 | ) | [inline, inherited] |
Lambda1. Internal intensity difference weight
Definition at line 225 of file itkRegionBasedLevelSetFunction.h.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetLambda2 | ( | const ScalarValueType & | lambda2 | ) | [inline, inherited] |
Lambda2. External intensity difference weight
Definition at line 232 of file itkRegionBasedLevelSetFunction.h.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetOverlapPenaltyWeight | ( | const ScalarValueType & | gamma | ) | [inline, inherited] |
Gamma. Overlap penalty
Definition at line 239 of file itkRegionBasedLevelSetFunction.h.
void itk::FiniteDifferenceFunction< TInputImage >::SetRadius | ( | const RadiusType & | r | ) | [inline, inherited] |
Sets the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations.
Definition at line 141 of file itkFiniteDifferenceFunction.h.
virtual void itk::LightObject::SetReferenceCount | ( | int | ) | [virtual, inherited] |
Sets the reference count on this object. This is a dangerous method, use it with care.
Reimplemented in itk::Object.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetReinitializationSmoothingWeight | ( | const ScalarValueType | c | ) | [inline, inherited] |
Weight of the laplacian smoothing term
Definition at line 258 of file itkRegionBasedLevelSetFunction.h.
void itk::FiniteDifferenceFunction< TInputImage >::SetScaleCoefficients | ( | PixelRealType | vals[ImageDimension] | ) | [inline, inherited] |
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 152 of file itkFiniteDifferenceFunction.h.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetSharedData | ( | SharedDataPointer | sharedDataIn | ) | [inline, inherited] |
Definition at line 176 of file itkRegionBasedLevelSetFunction.h.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetVolume | ( | const ScalarValueType & | volume | ) | [inline, inherited] |
Pixel Volume = Number of pixels inside the level-set
Definition at line 272 of file itkRegionBasedLevelSetFunction.h.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::SetVolumeMatchingWeight | ( | const ScalarValueType & | tau | ) | [inline, inherited] |
Volume matching weight.
Definition at line 265 of file itkRegionBasedLevelSetFunction.h.
virtual void itk::LightObject::UnRegister | ( | ) | const [virtual, inherited] |
Decrease the reference count (release by another object).
Reimplemented in itk::Object.
void itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::UpdatePixel | ( | const unsigned int & | idx, | |
NeighborhoodIterator< TInputImage > & | iterator, | |||
InputPixelType & | newValue, | |||
bool & | status | |||
) | [inherited] |
Performs the narrow-band update of the Heaviside function for each voxel. The characteristic function of each region is recomputed (note the shared data which contains information from the other level sets). Using the new H values, the previous c_i are updated.
void itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::UpdateSharedData | ( | bool | forceUpdate | ) | [inherited] |
void itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::UpdateSharedDataInsideParameters | ( | const unsigned int & | iId, | |
const FeaturePixelType & | iVal, | |||
const ScalarValueType & | iChange | |||
) | [protected, virtual] |
void itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::UpdateSharedDataOutsideParameters | ( | const unsigned int & | iId, | |
const FeaturePixelType & | iVal, | |||
const ScalarValueType & | iChange | |||
) | [protected, virtual] |
void itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::UpdateSharedDataParameters | ( | ) | [protected, virtual] |
Update and save the inner and outer parameters in the shared data structure.
Implements itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
const unsigned int itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ImageDimension = TFeatureImage::ImageDimension [static] |
Save image dimension.
Reimplemented from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 87 of file itkScalarChanAndVeseLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_AdvectionWeight [protected, inherited] |
Definition at line 343 of file itkRegionBasedLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_AreaWeight [protected, inherited] |
Area regularization weight
Definition at line 323 of file itkRegionBasedLevelSetFunction.h.
:: vcl_size_t itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_Center [protected, inherited] |
Definition at line 351 of file itkRegionBasedLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_CurvatureWeight [protected, inherited] |
Curvature Regularization Weight
Definition at line 341 of file itkRegionBasedLevelSetFunction.h.
HeavisideFunctionConstPointer itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_DomainFunction [protected, inherited] |
Definition at line 320 of file itkRegionBasedLevelSetFunction.h.
double itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_DT [static, protected, inherited] |
Definition at line 356 of file itkRegionBasedLevelSetFunction.h.
FeatureImageConstPointer itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_FeatureImage [protected, inherited] |
The feature image
Definition at line 317 of file itkRegionBasedLevelSetFunction.h.
unsigned int itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_FunctionId [protected, inherited] |
Definition at line 348 of file itkRegionBasedLevelSetFunction.h.
InputImageConstPointer itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_InitialImage [protected, inherited] |
The initial level set image
Definition at line 314 of file itkRegionBasedLevelSetFunction.h.
double itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_InvSpacing[itkGetStaticConstMacro(ImageDimension)] [protected, inherited] |
Definition at line 353 of file itkRegionBasedLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_Lambda1 [protected, inherited] |
Internal functional of the level set weight
Definition at line 326 of file itkRegionBasedLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_Lambda2 [protected, inherited] |
External functional of the level set weight
Definition at line 329 of file itkRegionBasedLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_OverlapPenaltyWeight [protected, inherited] |
Overlap Penalty Weight
Definition at line 332 of file itkRegionBasedLevelSetFunction.h.
RadiusType itk::FiniteDifferenceFunction< TInputImage >::m_Radius [protected, inherited] |
Definition at line 203 of file itkFiniteDifferenceFunction.h.
InternalReferenceCountType itk::LightObject::m_ReferenceCount [mutable, protected, inherited] |
Number of uses of this object by other objects.
Definition at line 144 of file itkLightObject.h.
SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock [mutable, protected, inherited] |
Mutex lock to protect modification to the reference count
Definition at line 147 of file itkLightObject.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_ReinitializationSmoothingWeight [protected, inherited] |
Laplacian Regularization Weight
Definition at line 346 of file itkRegionBasedLevelSetFunction.h.
PixelRealType itk::FiniteDifferenceFunction< TInputImage >::m_ScaleCoefficients[ImageDimension] [protected, inherited] |
Definition at line 204 of file itkFiniteDifferenceFunction.h.
SharedDataPointer itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_SharedData [protected, inherited] |
Definition at line 319 of file itkRegionBasedLevelSetFunction.h.
bool itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_UpdateC [protected, inherited] |
Definition at line 420 of file itkRegionBasedLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_Volume [protected, inherited] |
Volume Constraint in pixels
Definition at line 338 of file itkRegionBasedLevelSetFunction.h.
ScalarValueType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_VolumeMatchingWeight [protected, inherited] |
Volume Regularization Weight
Definition at line 335 of file itkRegionBasedLevelSetFunction.h.
double itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_WaveDT [static, protected, inherited] |
Definition at line 355 of file itkRegionBasedLevelSetFunction.h.
:: vcl_size_t itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_xStride[itkGetStaticConstMacro(ImageDimension)] [protected, inherited] |
Definition at line 352 of file itkRegionBasedLevelSetFunction.h.
VectorType itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::m_ZeroVectorConstant [static, protected, inherited] |
Zero vector constant.
Definition at line 427 of file itkRegionBasedLevelSetFunction.h.
std::slice itk::RegionBasedLevelSetFunction< TInputImage , TFeatureImage , TSharedData >::x_slice[itkGetStaticConstMacro(ImageDimension)] [protected, inherited] |
Definition at line 350 of file itkRegionBasedLevelSetFunction.h.