public class IdentityImposeValueRelationToHistogram extends VoxelScore
Constructor and Description |
---|
IdentityImposeValueRelationToHistogram() |
Modifier and Type | Method and Description |
---|---|
double |
calculate(int[] voxelIntensities) |
int |
getEnergyChannelIndexCheck() |
int |
getEnergyChannelIndexFail() |
int |
getHistogramIndex() |
RelationBean |
getRelation() |
double |
getValue() |
void |
initialize(List<Histogram> histograms,
Optional<Dictionary> dictionary)
Initializes the voxels-score.
|
boolean |
isMax() |
void |
setEnergyChannelIndexCheck(int energyChannelIndexCheck) |
void |
setEnergyChannelIndexFail(int energyChannelIndexFail) |
void |
setHistogramIndex(int histogramIndex) |
void |
setMax(boolean max) |
void |
setRelation(RelationBean relation) |
void |
setValue(double value) |
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public IdentityImposeValueRelationToHistogram()
public double calculate(int[] voxelIntensities) throws FeatureCalculationException
calculate
in class VoxelScore
FeatureCalculationException
public void initialize(List<Histogram> histograms, Optional<Dictionary> dictionary) throws InitializeException
VoxelScore
Must be called before VoxelScore.calculate(int[])
.
initialize
in class VoxelScore
histograms
- one or more histograms associated with this calculationdictionary
- optional Dictionary
associated with this calculationInitializeException
- if anything goes wrongpublic int getEnergyChannelIndexCheck()
public void setEnergyChannelIndexCheck(int energyChannelIndexCheck)
public int getEnergyChannelIndexFail()
public void setEnergyChannelIndexFail(int energyChannelIndexFail)
public int getHistogramIndex()
public void setHistogramIndex(int histogramIndex)
public RelationBean getRelation()
public void setRelation(RelationBean relation)
public double getValue()
public void setValue(double value)
public boolean isMax()
public void setMax(boolean max)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.