template<class TInputImage, class TFeatureImage, class TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage > >>
class itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
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.
- Author
- Mosaliganti K., Smith B., Gelas A., Gouaillard A., Megason S.
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
- Wiki Examples:
Definition at line 78 of file itkScalarChanAndVeseLevelSetFunction.h.
|
typedef
Superclass::ConstFeatureIteratorType | ConstFeatureIteratorType |
|
typedef
Superclass::ConstImageIteratorType | ConstImageIteratorType |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef
FeatureImageType::ConstPointer | FeatureImageConstPointer |
|
typedef
Superclass::FeatureImageIteratorType | FeatureImageIteratorType |
|
typedef TFeatureImage | FeatureImageType |
|
typedef
Superclass::FeatureIndexType | FeatureIndexType |
|
typedef
Superclass::FeatureOffsetType | FeatureOffsetType |
|
typedef
Superclass::FeaturePixelType | FeaturePixelType |
|
typedef Superclass::FloatOffsetType | FloatOffsetType |
|
typedef
Superclass::GlobalDataStruct | GlobalDataStruct |
|
typedef
Superclass::ImageIteratorType | ImageIteratorType |
|
typedef
Superclass::InputImageConstPointer | InputImageConstPointer |
|
typedef
Superclass::InputImagePointer | InputImagePointer |
|
typedef TInputImage | InputImageType |
|
typedef Superclass::InputIndexType | InputIndexType |
|
typedef
Superclass::InputIndexValueType | InputIndexValueType |
|
typedef Superclass::InputPixelType | InputPixelType |
|
typedef Superclass::InputPointType | InputPointType |
|
typedef Superclass::InputRegionType | InputRegionType |
|
typedef Superclass::InputSizeType | InputSizeType |
|
typedef
Superclass::InputSizeValueType | InputSizeValueType |
|
typedef Superclass::ListImageType | ListImageType |
|
typedef
Superclass::ListPixelConstIterator | ListPixelConstIterator |
|
typedef
Superclass::ListPixelIterator | ListPixelIterator |
|
typedef Superclass::ListPixelType | ListPixelType |
|
typedef
Superclass::NeighborhoodType | NeighborhoodType |
|
typedef Superclass::PixelType | PixelType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef Superclass::RadiusType | RadiusType |
|
typedef Superclass::ScalarValueType | ScalarValueType |
|
typedef
ScalarChanAndVeseLevelSetFunction | Self |
|
typedef
Superclass::SharedDataPointer | SharedDataPointer |
|
typedef Superclass::SharedDataType | SharedDataType |
|
typedef
ScalarRegionBasedLevelSetFunction
< TInputImage, TFeatureImage,
TSharedData > | Superclass |
|
typedef Superclass::TimeStepType | TimeStepType |
|
typedef Superclass::VectorType | VectorType |
|
typedef
ImageRegionConstIterator
< FeatureImageType > | ConstFeatureIteratorType |
|
typedef
ImageRegionConstIteratorWithIndex
< InputImageType > | ConstImageIteratorType |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef
FeatureImageType::ConstPointer | FeatureImageConstPointer |
|
typedef
ImageRegionIteratorWithIndex
< FeatureImageType > | FeatureImageIteratorType |
|
typedef
Superclass::FeatureImageType | FeatureImageType |
|
typedef
Superclass::FeatureIndexType | FeatureIndexType |
|
typedef
Superclass::FeatureOffsetType | FeatureOffsetType |
|
typedef
Superclass::FeaturePixelType | FeaturePixelType |
|
typedef Superclass::FloatOffsetType | FloatOffsetType |
|
typedef
Superclass::GlobalDataStruct | GlobalDataStruct |
|
typedef
ImageRegionIteratorWithIndex
< InputImageType > | ImageIteratorType |
|
typedef
Superclass::InputImageConstPointer | InputImageConstPointer |
|
typedef
Superclass::InputImagePointer | InputImagePointer |
|
typedef Superclass::InputImageType | InputImageType |
|
typedef Superclass::InputIndexType | InputIndexType |
|
typedef
Superclass::InputIndexValueType | InputIndexValueType |
|
typedef Superclass::InputPixelType | InputPixelType |
|
typedef Superclass::InputPointType | InputPointType |
|
typedef Superclass::InputRegionType | InputRegionType |
|
typedef Superclass::InputSizeType | InputSizeType |
|
typedef
Superclass::InputSizeValueType | InputSizeValueType |
|
typedef Image< ListPixelType,
itkGetStaticConstMacro(ImageDimension) > | ListImageType |
|
typedef
ListPixelType::const_iterator | ListPixelConstIterator |
|
typedef ListPixelType::iterator | ListPixelIterator |
|
typedef std::list< unsigned int > | ListPixelType |
|
typedef
Superclass::NeighborhoodType | NeighborhoodType |
|
typedef Superclass::PixelType | PixelType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef Superclass::RadiusType | RadiusType |
|
typedef Superclass::ScalarValueType | ScalarValueType |
|
typedef
ScalarRegionBasedLevelSetFunction | Self |
|
typedef
Superclass::SharedDataPointer | SharedDataPointer |
|
typedef Superclass::SharedDataType | SharedDataType |
|
typedef
RegionBasedLevelSetFunction
< TInputImage, TFeatureImage,
TSharedData > | Superclass |
|
typedef Superclass::TimeStepType | TimeStepType |
|
typedef Superclass::VectorType | VectorType |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef
FeatureImageType::ConstPointer | FeatureImageConstPointer |
|
typedef TFeatureImage | FeatureImageType |
|
typedef FeatureImageType::IndexType | FeatureIndexType |
|
typedef
FeatureImageType::OffsetType | FeatureOffsetType |
|
typedef FeatureImageType::PixelType | FeaturePixelType |
|
typedef
FeatureImageType::SpacingType | FeatureSpacingType |
|
typedef Superclass::FloatOffsetType | FloatOffsetType |
|
typedef
HeavisideFunctionType::ConstPointer | HeavisideFunctionConstPointer |
|
typedef
HeavisideStepFunctionBase
< InputPixelType,
InputPixelType > | HeavisideFunctionType |
|
typedef Superclass::ImageType | ImageType |
|
typedef
InputImageType::ConstPointer | InputImageConstPointer |
|
typedef InputImageType::Pointer | InputImagePointer |
|
typedef TInputImage | InputImageType |
|
typedef InputImageType::IndexType | InputIndexType |
|
typedef
InputImageType::IndexValueType | InputIndexValueType |
|
typedef InputImageType::PixelType | InputPixelType |
|
typedef InputImageType::PointType | InputPointType |
|
typedef InputImageType::RegionType | InputRegionType |
|
typedef InputImageType::SizeType | InputSizeType |
|
typedef
InputImageType::SizeValueType | InputSizeValueType |
|
typedef
Superclass::NeighborhoodScalesType | NeighborhoodScalesType |
|
typedef
Superclass::NeighborhoodType | NeighborhoodType |
|
typedef Superclass::PixelType | PixelType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef Superclass::RadiusType | RadiusType |
|
typedef PixelType | ScalarValueType |
|
typedef RegionBasedLevelSetFunction | Self |
|
typedef SharedDataType::Pointer | SharedDataPointer |
|
typedef TSharedData | SharedDataType |
|
typedef
FiniteDifferenceFunction
< TInputImage > | Superclass |
|
typedef double | TimeStepType |
|
typedef FixedArray
< ScalarValueType,
itkGetStaticConstMacro(ImageDimension) > | VectorType |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef
ZeroFluxNeumannBoundaryCondition
< ImageType > | DefaultBoundaryConditionType |
|
typedef Vector< float,
itkGetStaticConstMacro(ImageDimension) > | FloatOffsetType |
|
typedef TInputImage | ImageType |
|
typedef Vector< PixelRealType,
itkGetStaticConstMacro(ImageDimension) > | NeighborhoodScalesType |
|
typedef
ConstNeighborhoodIterator
< TInputImage,
DefaultBoundaryConditionType > | NeighborhoodType |
|
typedef double | PixelRealType |
|
typedef ImageType::PixelType | PixelType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef
ConstNeighborhoodIterator
< TInputImage >::RadiusType | RadiusType |
|
typedef FiniteDifferenceFunction | Self |
|
typedef LightObject | Superclass |
|
typedef double | TimeStepType |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef SmartPointer< Self > | Pointer |
|
typedef LightObject | Self |
|
|
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
|
virtual const char * | GetNameOfClass () const |
|
void | UpdatePixel (const unsigned int &idx, NeighborhoodIterator< TInputImage > &iterator, InputPixelType &newValue, bool &status) |
|
virtual VectorType | AdvectionField (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const |
|
virtual void | CalculateAdvectionImage () |
|
virtual ScalarValueType | ComputeCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd) |
|
TimeStepType | ComputeGlobalTimeStep (void *GlobalData) const |
|
virtual PixelType | ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &=FloatOffsetType(0.0)) |
|
virtual ScalarValueType | CurvatureSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const |
|
ScalarValueType | GetAdvectionWeight () const |
|
virtual const FeatureImageType * | GetFeatureImage () const |
|
void * | GetGlobalDataPointer () const |
|
virtual void | Initialize (const RadiusType &r) |
|
virtual ScalarValueType | LaplacianSmoothingSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const |
|
virtual void | ReleaseGlobalDataPointer (void *GlobalData) const |
|
void | SetAdvectionWeight (const ScalarValueType &iA) |
|
void | SetDomainFunction (const HeavisideFunctionType *f) |
|
virtual void | SetFeatureImage (const FeatureImageType *f) |
|
void | SetFunctionId (const unsigned int &iFid) |
|
void | SetInitialImage (InputImageType *f) |
|
void | SetSharedData (SharedDataPointer sharedDataIn) |
|
void | UpdateSharedData (bool forceUpdate) |
|
void | SetAreaWeight (const ScalarValueType &nu) |
|
ScalarValueType | GetAreaWeight () const |
|
void | SetLambda1 (const ScalarValueType &lambda1) |
|
ScalarValueType | GetLambda1 () const |
|
void | SetLambda2 (const ScalarValueType &lambda2) |
|
ScalarValueType | GetLambda2 () const |
|
void | SetOverlapPenaltyWeight (const ScalarValueType &gamma) |
|
ScalarValueType | GetOverlapPenaltyWeight () const |
|
virtual void | SetCurvatureWeight (const ScalarValueType c) |
|
ScalarValueType | GetCurvatureWeight () const |
|
void | SetReinitializationSmoothingWeight (const ScalarValueType c) |
|
ScalarValueType | GetReinitializationSmoothingWeight () const |
|
void | SetVolumeMatchingWeight (const ScalarValueType &tau) |
|
ScalarValueType | GetVolumeMatchingWeight () const |
|
void | SetVolume (const ScalarValueType &volume) |
|
ScalarValueType | GetVolume () const |
|
const NeighborhoodScalesType | ComputeNeighborhoodScales () const |
|
const RadiusType & | GetRadius () const |
|
void | GetScaleCoefficients (PixelRealType vals[ImageDimension]) const |
|
virtual void | InitializeIteration () |
|
void | SetRadius (const RadiusType &r) |
|
void | SetScaleCoefficients (PixelRealType vals[ImageDimension]) |
|
virtual void | Delete () |
|
virtual int | GetReferenceCount () const |
|
| itkCloneMacro (Self) |
|
void | Print (std::ostream &os, Indent indent=0) const |
|
virtual void | Register () const |
|
virtual void | SetReferenceCount (int) |
|
virtual void | UnRegister () const |
|
|
ScalarValueType | ComputeExternalTerm (const FeaturePixelType &iValue, const FeatureIndexType &iIdx) |
|
ScalarValueType | ComputeInternalTerm (const FeaturePixelType &iValue, const FeatureIndexType &iIdx) |
|
void | ComputeParameters () |
|
| ScalarChanAndVeseLevelSetFunction () |
|
void | UpdateSharedDataInsideParameters (const unsigned int &iId, const FeaturePixelType &iVal, const ScalarValueType &iChange) |
|
void | UpdateSharedDataOutsideParameters (const unsigned int &iId, const FeaturePixelType &iVal, const ScalarValueType &iChange) |
|
void | UpdateSharedDataParameters () |
|
| ~ScalarChanAndVeseLevelSetFunction () |
|
ScalarValueType | ComputeOverlapParameters (const FeatureIndexType &featIndex, ScalarValueType &product) |
|
| ScalarRegionBasedLevelSetFunction () |
|
virtual void | UpdateSharedDataInsideParameters (const unsigned int &iId, const FeaturePixelType &iVal, const ScalarValueType &iChange)=0 |
|
virtual void | UpdateSharedDataOutsideParameters (const unsigned int &iId, const FeaturePixelType &iVal, const ScalarValueType &iChange)=0 |
|
| ~ScalarRegionBasedLevelSetFunction () |
|
virtual ScalarValueType | ComputeExternalTerm (const FeaturePixelType &iValue, const FeatureIndexType &iIdx)=0 |
|
ScalarValueType | ComputeGlobalTerm (const ScalarValueType &imagePixel, const InputIndexType &inputIndex) |
|
void | ComputeHessian (const NeighborhoodType &it, GlobalDataStruct *globalData) |
|
void | ComputeHImage () |
|
virtual ScalarValueType | ComputeInternalTerm (const FeaturePixelType &iValue, const FeatureIndexType &iIdx)=0 |
|
ScalarValueType | ComputeLaplacian (GlobalDataStruct *gd) |
|
virtual ScalarValueType | ComputeOverlapParameters (const FeatureIndexType &featIndex, ScalarValueType &pr)=0 |
|
ScalarValueType | ComputeVolumeRegularizationTerm () |
|
| RegionBasedLevelSetFunction () |
|
virtual | ~RegionBasedLevelSetFunction () |
|
| FiniteDifferenceFunction () |
|
void | PrintSelf (std::ostream &os, Indent indent) const |
|
| ~FiniteDifferenceFunction () |
|
virtual LightObject::Pointer | InternalClone () const |
|
| LightObject () |
|
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
|
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
|
virtual | ~LightObject () |
|
template<class TInputImage , class TFeatureImage , class TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage > >>
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightObject.