|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.MiToBo.segmentation.activecontours.energies.MTBActiveContourEnergy_MeanSep
@ALDParametrizedClass public class MTBActiveContourEnergy_MeanSep
Active contour energy based on region mean separation.
This energy model tries to best separate the average intensity values of the inner and outer regions of a contour:
Yezzi, Tsai, Willsky, "A Fully Global Approach to Image Segmentation via Coupled Curve Evolution Equations", JVCIR, 13, 195-216 (2002)
Field Summary | |
---|---|
protected int[] |
areas
Region sizes. |
protected int |
iDepth
Depth of working image. |
protected int |
iHeight
Height of working image. |
protected CalcSegmentationStatistics |
imgStatsOp
Operator to calculate energy parameters. |
protected MTBImage |
inImg
Image to work on. |
protected double |
inRange
Dynamic range of image intensities. |
protected int |
iSize
Total area/volume of working image. |
protected int |
iWidth
Width of working image. |
protected double[] |
means
Average intensities. |
Constructor Summary | |
---|---|
MTBActiveContourEnergy_MeanSep()
Default constructor. |
|
MTBActiveContourEnergy_MeanSep(MTBImage im)
Default constructor with parameter. |
Method Summary | |
---|---|
protected double |
getDerivative(MTBSegmentationInterface seg,
int x,
int y,
int z)
Returns the energy derivative value at position (x,y,z). |
protected double |
getEnergyDerivativeMaxVal()
Returns the maximum possible derivative value this energy may yield. |
double |
getEnergyDerivativeMinVal()
Returns the minimum possible derivative value this energy may yield. |
protected void |
init()
Method to properly initialize instances of this class. |
java.lang.String |
toString()
|
protected void |
updateParameters(MTBSegmentationInterface seg)
Updates internal parameters according to given segmentation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected transient int[] areas
protected transient int iDepth
protected transient int iHeight
protected transient CalcSegmentationStatistics imgStatsOp
Parameter are basically the region sizes and intensity averages.
@ALDClassParameter(label="Input Image", mode=ADVANCED, dataIOOrder=-10) protected transient MTBImage inImg
protected transient double inRange
protected transient int iSize
protected transient int iWidth
protected transient double[] means
Constructor Detail |
---|
public MTBActiveContourEnergy_MeanSep()
public MTBActiveContourEnergy_MeanSep(MTBImage im)
im
- Image to work on.Method Detail |
---|
protected double getDerivative(MTBSegmentationInterface seg, int x, int y, int z)
protected double getEnergyDerivativeMaxVal()
public double getEnergyDerivativeMinVal()
protected void init() throws MTBActiveContourException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
MTBActiveContourException
public java.lang.String toString()
toString
in class java.lang.Object
protected void updateParameters(MTBSegmentationInterface seg) throws MTBActiveContourException
seg
- Current segmentation.
MTBActiveContourException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |