ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkScalarRegionBasedLevelSetFunction.h>
LevelSet function that computes a speed image based on regional integrals.
This class implements a level set function that computes the speed image by integrating values on the image domain. NOTE: The convention followed is inside of the level-set function is negative and outside is positive.
Based on the paper:
"An active contour model without edges" T. Chan and L. Vese. In Scale-Space Theories in Computer Vision, pages 141-151, 1999.
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 66 of file itkScalarRegionBasedLevelSetFunction.h.
typedef ImageRegionConstIterator< FeatureImageType > itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ConstFeatureIteratorType |
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 114 of file itkScalarRegionBasedLevelSetFunction.h.
typedef ImageRegionConstIteratorWithIndex< InputImageType > itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ConstImageIteratorType |
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 112 of file itkScalarRegionBasedLevelSetFunction.h.
typedef SmartPointer< const Self > itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ConstPointer |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 73 of file itkScalarRegionBasedLevelSetFunction.h.
typedef FeatureImageType::ConstPointer itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeatureImageConstPointer |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 94 of file itkScalarRegionBasedLevelSetFunction.h.
typedef ImageRegionIteratorWithIndex< FeatureImageType > itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeatureImageIteratorType |
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 113 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::FeatureImageType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeatureImageType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 93 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::FeatureIndexType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeatureIndexType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 96 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::FeatureOffsetType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeatureOffsetType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 97 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::FeaturePixelType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeaturePixelType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 95 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::FloatOffsetType itk::ScalarRegionBasedLevelSetFunction< 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::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 101 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::GlobalDataStruct itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::GlobalDataStruct |
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 104 of file itkScalarRegionBasedLevelSetFunction.h.
typedef ImageRegionIteratorWithIndex< InputImageType > itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ImageIteratorType |
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 111 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::InputImageConstPointer itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputImageConstPointer |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 83 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::InputImagePointer itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputImagePointer |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 84 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::InputImageType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputImageType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 82 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::InputIndexType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputIndexType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 86 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::InputIndexValueType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputIndexValueType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 87 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::InputPixelType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputPixelType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 85 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::InputPointType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputPointType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 91 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::InputRegionType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputRegionType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 90 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::InputSizeType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputSizeType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 88 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::InputSizeValueType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::InputSizeValueType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 89 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Image< ListPixelType, itkGetStaticConstMacro(ImageDimension) > itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ListImageType |
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 120 of file itkScalarRegionBasedLevelSetFunction.h.
typedef ListPixelType::const_iterator itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ListPixelConstIterator |
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 117 of file itkScalarRegionBasedLevelSetFunction.h.
typedef ListPixelType::iterator itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ListPixelIterator |
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 118 of file itkScalarRegionBasedLevelSetFunction.h.
typedef std::list< unsigned int > itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ListPixelType |
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 116 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::NeighborhoodType itk::ScalarRegionBasedLevelSetFunction< 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::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 100 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::PixelType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::PixelType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 105 of file itkScalarRegionBasedLevelSetFunction.h.
typedef SmartPointer< Self > itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::Pointer |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 72 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::RadiusType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::RadiusType |
Neighborhood radius type
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 102 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::ScalarValueType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ScalarValueType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 99 of file itkScalarRegionBasedLevelSetFunction.h.
typedef ScalarRegionBasedLevelSetFunction itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::Self |
Standard class typedefs.
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 70 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::SharedDataPointer itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::SharedDataPointer |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 109 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::SharedDataType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::SharedDataType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 108 of file itkScalarRegionBasedLevelSetFunction.h.
typedef RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData > itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::Superclass |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 71 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::TimeStepType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::TimeStepType |
Extract some parameters from the superclass.
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 103 of file itkScalarRegionBasedLevelSetFunction.h.
typedef Superclass::VectorType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::VectorType |
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 106 of file itkScalarRegionBasedLevelSetFunction.h.
itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ScalarRegionBasedLevelSetFunction | ( | ) | [inline, protected] |
Definition at line 132 of file itkScalarRegionBasedLevelSetFunction.h.
itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::~ScalarRegionBasedLevelSetFunction | ( | ) | [inline, protected] |
Definition at line 133 of file itkScalarRegionBasedLevelSetFunction.h.
itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ScalarRegionBasedLevelSetFunction | ( | const Self & | ) | [private] |
ScalarValueType itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ComputeOverlapParameters | ( | const FeatureIndexType & | featIndex, |
ScalarValueType & | product | ||
) | [protected] |
virtual const char* itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods)
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
void itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::operator= | ( | const Self & | ) | [private] |
Zero vector constant.
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
void itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::UpdatePixel | ( | const unsigned int & | idx, |
NeighborhoodIterator< TInputImage > & | iterator, | ||
InputPixelType & | newValue, | ||
bool & | status | ||
) |
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.
virtual void itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::UpdateSharedDataInsideParameters | ( | const unsigned int & | iId, |
const FeaturePixelType & | iVal, | ||
const ScalarValueType & | iChange | ||
) | [protected, pure virtual] |
virtual void itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::UpdateSharedDataOutsideParameters | ( | const unsigned int & | iId, |
const FeaturePixelType & | iVal, | ||
const ScalarValueType & | iChange | ||
) | [protected, pure virtual] |
const unsigned int itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ImageDimension = TFeatureImage::ImageDimension [static] |
Save image dimension.
Reimplemented from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.
Definition at line 80 of file itkScalarRegionBasedLevelSetFunction.h.