Class Extent<T extends FeatureInputEnergy>

Object
AnchorBean<Feature<T>>
InitializableBean<Feature<T>, FeatureInitialization>
Feature<T>
Type Parameters:
T - feature-input-type

public class Extent<T extends FeatureInputEnergy> extends ForSpecificAxis<T>
Width/height/depth of energy-stack in pixels depending on axis.
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected double
    calculateForAxis(Dimensions dimensions, Axis axis)
    Calculates a feature value for a specific axis of the given dimensions.

    Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.dimensions.ForSpecificAxis

    calculateFromDimensions, describeParameters, getAxis, setAxis

    Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.dimensions.FromDimensionsBase

    calculate, inputType

    Methods inherited from class org.anchoranalysis.feature.bean.Feature

    assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Extent

      public Extent()
  • Method Details

    • calculateForAxis

      protected double calculateForAxis(Dimensions dimensions, Axis axis)
      Description copied from class: ForSpecificAxis
      Calculates a feature value for a specific axis of the given dimensions.
      Specified by:
      calculateForAxis in class ForSpecificAxis<T extends FeatureInputEnergy>
      Parameters:
      dimensions - the Dimensions to calculate from
      axis - the Axis to perform the calculation on
      Returns:
      the calculated feature value