T
- feature-input-typepublic class DataTypeMaxIntensity<T extends FeatureInputEnergy> extends FeatureEnergy<T>
e.g. 255 for unsigned 8-bit.
Note this is not the actual max-intensity seen in the stack, rather the theoretical max of the data-type.
Constructor and Description |
---|
DataTypeMaxIntensity() |
Modifier and Type | Method and Description |
---|---|
double |
calculate(FeatureCalculationInput<T> input)
Calculates a value for some input.
|
inputType
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, 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<T> input) throws FeatureCalculationException
Feature
calculate
in class Feature<T extends FeatureInputEnergy>
input
- the input to the calculation.FeatureCalculationException
- if the calculation cannot successfully complete.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.