public class Difference extends VoxelScore
Constructor and Description |
---|
Difference() |
Modifier and Type | Method and Description |
---|---|
double |
calculate(int[] voxelIntensities) |
int |
getChannelFirst()
Index of first channel
|
int |
getChannelSecond()
Index of second channel
|
int |
getMinDifference()
A minimum difference, below which 0.0 is returned
|
double |
getWidth()
Width (what the difference is divided by)
|
void |
setChannelFirst(int channelFirst)
Index of first channel
|
void |
setChannelSecond(int channelSecond)
Index of second channel
|
void |
setMinDifference(int minDifference)
A minimum difference, below which 0.0 is returned
|
void |
setWidth(double width)
Width (what the difference is divided by)
|
initialize
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public double calculate(int[] voxelIntensities) throws FeatureCalculationException
calculate
in class VoxelScore
FeatureCalculationException
public int getChannelFirst()
public void setChannelFirst(int channelFirst)
public int getChannelSecond()
public void setChannelSecond(int channelSecond)
public double getWidth()
public void setWidth(double width)
public int getMinDifference()
public void setMinDifference(int minDifference)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.