public class GradientMagnitude extends IntensityGradientBase
An Energy channel is present for X, Y and optionally Z intensity-gradients.
A constant is subtracted from the Energy channel (all positive) to center around 0
Constructor and Description |
---|
GradientMagnitude() |
Modifier and Type | Method and Description |
---|---|
double |
calculate(FeatureCalculationInput<FeatureInputSingleObject> input)
Calculates a value for some input.
|
getEnergyIndexX, getEnergyIndexY, getEnergyIndexZ, getSubtractConstant, gradientCalculation, setEnergyIndexX, setEnergyIndexY, setEnergyIndexZ, setSubtractConstant
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<FeatureInputSingleObject> input) throws FeatureCalculationException
Feature
calculate
in class Feature<FeatureInputSingleObject>
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.