public abstract class SpecificAxisBase extends ImageMomentsBase
Principal axes are ordered by eigen-value, with 0 being the largest, 1 being the second-largest etc..
Constructor and Description |
---|
SpecificAxisBase() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculateFromAllMoments(ImageMoments moments) |
protected abstract double |
calculateFromSpecificMoment(EigenvalueAndVector moment)
Calculates the result for the specific moment identified by index
|
int |
getIndex()
Specifies which principal-axis to use for calculations (0=largest eigenvalue,
1=second-largest eigenvalue etc.)
|
void |
setIndex(int index)
Specifies which principal-axis to use for calculations (0=largest eigenvalue,
1=second-largest eigenvalue etc.)
|
calculate, errorMessageIfTooFewPixels, getValueIfTooFewVoxels, isSuppressZ, setSuppressZ, setValueIfTooFewVoxels
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
protected double calculateFromAllMoments(ImageMoments moments) throws FeatureCalculationException
calculateFromAllMoments
in class ImageMomentsBase
FeatureCalculationException
protected abstract double calculateFromSpecificMoment(EigenvalueAndVector moment) throws FeatureCalculationException
FeatureCalculationException
public int getIndex()
public void setIndex(int index)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.