Class Volume<T extends org.anchoranalysis.feature.input.FeatureInputEnergy>

Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<org.anchoranalysis.feature.bean.Feature<T>,​org.anchoranalysis.feature.initialization.FeatureInitialization>
org.anchoranalysis.feature.bean.Feature<T>
org.anchoranalysis.plugin.image.feature.bean.dimensions.FromDimensionsBase<T>
org.anchoranalysis.plugin.image.feature.bean.dimensions.Volume<T>
Type Parameters:
T - feature-input-type

public class Volume<T extends org.anchoranalysis.feature.input.FeatureInputEnergy>
extends FromDimensionsBase<T>
Calculates the volume (x, y and z dimensions) of the scene from the dimensions
Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    Volume()  
  • Method Summary

    Modifier and Type Method Description
    protected double calculateFromDimensions​(org.anchoranalysis.image.core.dimensions.Dimensions dim)
    Calculates a feature value from the given dimensions.

    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, describeParameters, 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

  • Method Details

    • calculateFromDimensions

      protected double calculateFromDimensions​(org.anchoranalysis.image.core.dimensions.Dimensions dim)
      Description copied from class: FromDimensionsBase
      Calculates a feature value from the given dimensions.
      Specified by:
      calculateFromDimensions in class FromDimensionsBase<T extends org.anchoranalysis.feature.input.FeatureInputEnergy>
      Parameters:
      dim - the Dimensions to calculate from
      Returns:
      the calculated feature value