template<class TInputImage, class TFeatureImage, class TSharedData>
class itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
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.
- Author
- Mosaliganti K., Smith B., Gelas A., Gouaillard A., Megason S.
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.
|
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 Pointer | CreateAnother () const |
|
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 | 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 |
|
virtual void | ComputeParameters ()=0 |
|
ScalarValueType | ComputeVolumeRegularizationTerm () |
|
| RegionBasedLevelSetFunction () |
|
virtual void | UpdateSharedDataParameters ()=0 |
|
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 () |
|