public class Intensity extends FeatureSingleMemo
Constructor and Description |
---|
Intensity() |
Modifier and Type | Method and Description |
---|---|
double |
calculate(FeatureCalculationInput<FeatureInputSingleMemo> input)
Calculates a value for some input.
|
String |
describeParameters()
A human-readable description of the parameterization of the bean.
|
Feature<FeatureInputHistogram> |
getItem()
Feature to apply to the histogram
|
MarkRegion |
getRegion() |
boolean |
isExcludeZero()
If true, zeros are excluded from considering in the histogram
|
void |
setExcludeZero(boolean excludeZero)
If true, zeros are excluded from considering in the histogram
|
void |
setItem(Feature<FeatureInputHistogram> item)
Feature to apply to the histogram
|
void |
setRegion(MarkRegion region) |
inputType
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
public double calculate(FeatureCalculationInput<FeatureInputSingleMemo> input) throws FeatureCalculationException
Feature
calculate
in class FeatureSingleMemo
input
- the input to the calculation.FeatureCalculationException
- if the calculation cannot successfully complete.public String describeParameters()
Feature
describeParameters
in class Feature<FeatureInputSingleMemo>
public Feature<FeatureInputHistogram> getItem()
public void setItem(Feature<FeatureInputHistogram> item)
public boolean isExcludeZero()
public void setExcludeZero(boolean excludeZero)
public MarkRegion getRegion()
public void setRegion(MarkRegion region)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.