Class BoundingBoxExtentAlongAxis
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<org.anchoranalysis.image.feature.input.FeatureInputSingleObject>
org.anchoranalysis.image.feature.bean.object.single.FeatureSingleObject
org.anchoranalysis.plugin.image.feature.bean.object.single.boundingbox.BoundingBoxAlongAxisBase
org.anchoranalysis.plugin.image.feature.bean.object.single.boundingbox.BoundingBoxExtentAlongAxis
public class BoundingBoxExtentAlongAxis extends BoundingBoxAlongAxisBase
Calculates the extent of an object's bounding box along a specified axis.
This feature returns the size of the bounding box along the axis specified in the parent class.
-
Constructor Summary
Constructors Constructor Description BoundingBoxExtentAlongAxis() -
Method Summary
Modifier and Type Method Description protected org.anchoranalysis.spatial.point.ReadableTuple3iextractTupleForBoundingBox(org.anchoranalysis.spatial.box.BoundingBox box)Extracts aReadableTuple3ifrom the givenBoundingBox.Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.object.single.boundingbox.BoundingBoxAlongAxisBase
calculate, describeParameters, getAxis, setAxisMethods inherited from class org.anchoranalysis.image.feature.bean.object.single.FeatureSingleObject
inputTypeMethods inherited from class org.anchoranalysis.feature.bean.Feature
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toStringMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
-
Constructor Details
-
BoundingBoxExtentAlongAxis
public BoundingBoxExtentAlongAxis()
-
-
Method Details
-
extractTupleForBoundingBox
protected org.anchoranalysis.spatial.point.ReadableTuple3i extractTupleForBoundingBox(org.anchoranalysis.spatial.box.BoundingBox box)Description copied from class:BoundingBoxAlongAxisBaseExtracts aReadableTuple3ifrom the givenBoundingBox.- Specified by:
extractTupleForBoundingBoxin classBoundingBoxAlongAxisBase- Parameters:
box- theBoundingBoxto extract from- Returns:
- the extracted
ReadableTuple3i
-