public class OneMinusErf extends Object implements Cost
erf(x) is the Error Function
z is the Standard Score of the voxel intensity at the new point, given the intensity statistics of the underlying image
| Constructor and Description |
|---|
OneMinusErf(double max,
double average,
double standardDeviation) |
| Modifier and Type | Method and Description |
|---|---|
double |
costMovingTo(double valueAtNewPoint) |
double |
getZFudge() |
double |
minStepCost() |
void |
setZFudge(double zFudge)
Scale factor for intensity z-score.
|
protected double |
zScore(double valueAtNewPoint) |
public OneMinusErf(double max,
double average,
double standardDeviation)
max - the maximum intensity value of the image, used to compute the minimum step costaverage - the average intensity value of the image, used to compute the intensity z-scorestandardDeviation - the standard deviation of the intensity values of the image, used to compute the intensity z-scorepublic double costMovingTo(double valueAtNewPoint)
costMovingTo in interface Costpublic void setZFudge(double zFudge)
zFudge - the z-score is post-multiplied by this valuepublic double getZFudge()
protected double zScore(double valueAtNewPoint)
public double minStepCost()
minStepCost in interface CostCopyright © 2018–2021 Morphonets. All rights reserved.