Class BoundingBoxMaximumAlongAxis
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.BoundingBoxMaximumAlongAxis
public class BoundingBoxMaximumAlongAxis extends BoundingBoxAlongAxisBase
Calculates the maximum coordinate of an object's bounding box along a specified axis.
This feature returns the maximum coordinate of the bounding box along the axis specified in the parent class. The maximum coordinate is inclusive, meaning it represents the highest voxel position that is part of the object.
-
Constructor Summary
Constructors Constructor Description BoundingBoxMaximumAlongAxis() -
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
-
BoundingBoxMaximumAlongAxis
public BoundingBoxMaximumAlongAxis()
-
-
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
-