-
Constructor Summary
Constructors
-
Method Summary
double
Calculates a score for a set of voxel intensities.
int
int
int
A minimum difference, below which 0.0 is returned
double
Width (what the difference is divided by)
void
void
void
A minimum difference, below which 0.0 is returned
void
Width (what the difference is divided by)
-
Constructor Details
-
Difference
public Difference()
-
Method Details
-
calculate
Calculates a score for a set of voxel intensities.
- Specified by:
calculate
in class VoxelScore
- Parameters:
voxelIntensities
- an array of voxel intensity values
- Returns:
- the calculated score for the given voxel intensities
- Throws:
FeatureCalculationException
- if the calculation fails
-
getChannelFirst
public int getChannelFirst()
Index of first channel
-
setChannelFirst
public void setChannelFirst(int channelFirst)
Index of first channel
-
getChannelSecond
public int getChannelSecond()
Index of second channel
-
setChannelSecond
public void setChannelSecond(int channelSecond)
Index of second channel
-
getWidth
public double getWidth()
Width (what the difference is divided by)
-
setWidth
public void setWidth(double width)
Width (what the difference is divided by)
-
getMinDifference
public int getMinDifference()
A minimum difference, below which 0.0 is returned
-
setMinDifference
public void setMinDifference(int minDifference)
A minimum difference, below which 0.0 is returned