Uses of Class
org.anchoranalysis.spatial.box.BoundingBox
Packages that use BoundingBox
Package
Description
Non-beans to specify how to form a single-image by spatially combining other images.
Aligning a
BoundingBox
to fit inside another BoundingBox
.The
Channel
core data-class and related operations
and converters.Classes to describe the size of images or components of images both in voxels and physically.
An image with only two permissible states.
Merges two or more entities.
An
ObjectCollection
with associated key-value
pairs.Scaling object-collections, or lists of elements with object-representations.
Operations that extract points from image data entities or vice versa.
Defines the key data object,
Stack
, and related
classes.How to represent an object-mask in a raster that is being drawn.
Non-bean classes for reading / writing a
Stack
from
and to the filesystem.Base classes for generators that ultimately write only a bounding-box portion of a
Stack
to the filesystem.Data-structures to store and manipulate image raster-data or voxels.
Assigns values to some or all voxels.
Methods to read/copy/duplicate portions of voxels.
Methods to find or count voxels that satisfy a predicate.
Creates new instances of
Voxels
and VoxelsUntyped
with specific data-types.Utilities to iterate over voxel-locations in images and sub-regions of images.
Routines for moving a
KernelPointCursor
around the
neighboring voxels of the point.Applying a kernel via
convolution to voxels.
The fundamental data class that is an
ObjectMask
and related structures.Non-bean classes related to
Mark
s.Mark
s implementing conic sections.Mark
s implementing structures based on points.A mark after a voxel-representation has been inferred.
Overlay
s and related classes involving drawing entities on top
of an image.Beans relating to drawing an
Overlay
on an image.Collections of
Overlay
s.An implementation of an
Overlay
that draws an ObjectMask
on an image.Implementations of
ThumbnailFromObjects
.Features from combinations of
ObjectMask
s.Features that calculate how many other objects an
ObjectMask
directly neighbors.Implementations of
FeatureSingleObject
that determine if an
object lies at the border of an image.Implementations of
FeatureSingleObject
that consider an
object's bounding-box.Axis-aligned bounding-boxes and related operations.
R-Tree data structure and related operations.
Fixtures or other helper classes for testing image segmentation algorithms.
-
Uses of BoundingBox in org.anchoranalysis.image.bean.nonbean.spatial.arrange
Methods in org.anchoranalysis.image.bean.nonbean.spatial.arrange that return BoundingBoxModifier and TypeMethodDescriptionBoundingBoxEnclosed.getBox()
TheBoundingBox
in which the image should be placed.BoundingBoxEnclosed.getEnclosing()
An enclosing box (equal to or larger thanbox
covering all screen-space used for this entity, including padding.Methods in org.anchoranalysis.image.bean.nonbean.spatial.arrange with parameters of type BoundingBoxModifier and TypeMethodDescriptionvoid
StackArrangement.add
(BoundingBox box) Adds a newBoundingBox
to the arrangement, with no padding.static void
StackCopierAtBox.copyImageInto
(Stack source, Stack destination, BoundingBox box) Constructors in org.anchoranalysis.image.bean.nonbean.spatial.arrange with parameters of type BoundingBoxModifierConstructorDescriptionCreate with a box that has no padding.BoundingBoxEnclosed
(BoundingBox box, BoundingBox enclosing) Creates a newBoundingBoxEnclosed
instance.StackArrangement
(Extent extent, BoundingBox box) Create with a singleBoundingBox
. -
Uses of BoundingBox in org.anchoranalysis.image.bean.spatial.arrange.align
Methods in org.anchoranalysis.image.bean.spatial.arrange.align that return BoundingBoxModifier and TypeMethodDescriptionBoxAligner.align
(BoundingBox smaller, BoundingBox larger) BoxAligner.align
(Extent smaller, BoundingBox larger) protected BoundingBox
Align.alignAfterCheck
(BoundingBox smaller, BoundingBox larger) protected BoundingBox
Align.alignAfterCheck
(Extent smaller, BoundingBox larger) protected BoundingBox
Align.alignAfterCheck
(Extent smaller, Extent larger) protected abstract BoundingBox
BoxAligner.alignAfterCheck
(BoundingBox smaller, BoundingBox larger) protected abstract BoundingBox
BoxAligner.alignAfterCheck
(Extent smaller, BoundingBox larger) protected abstract BoundingBox
BoxAligner.alignAfterCheck
(Extent smaller, Extent larger) protected BoundingBox
Grow.alignAfterCheck
(BoundingBox smaller, BoundingBox larger) protected BoundingBox
Grow.alignAfterCheck
(Extent smaller, BoundingBox larger) protected BoundingBox
Grow.alignAfterCheck
(Extent smaller, Extent larger) Methods in org.anchoranalysis.image.bean.spatial.arrange.align with parameters of type BoundingBoxModifier and TypeMethodDescriptionBoxAligner.align
(BoundingBox smaller, BoundingBox larger) BoxAligner.align
(Extent smaller, BoundingBox larger) protected BoundingBox
Align.alignAfterCheck
(BoundingBox smaller, BoundingBox larger) protected BoundingBox
Align.alignAfterCheck
(Extent smaller, BoundingBox larger) protected abstract BoundingBox
BoxAligner.alignAfterCheck
(BoundingBox smaller, BoundingBox larger) protected abstract BoundingBox
BoxAligner.alignAfterCheck
(Extent smaller, BoundingBox larger) protected BoundingBox
Grow.alignAfterCheck
(BoundingBox smaller, BoundingBox larger) protected BoundingBox
Grow.alignAfterCheck
(Extent smaller, BoundingBox larger) Align.alignCorner
(BoundingBox smaller, Extent larger) The minimum corner at which the entity should be locate after alignment, ignoring the space to the left. -
Uses of BoundingBox in org.anchoranalysis.image.core.channel
Methods in org.anchoranalysis.image.core.channel with parameters of type BoundingBox -
Uses of BoundingBox in org.anchoranalysis.image.core.dimensions
Methods in org.anchoranalysis.image.core.dimensions with parameters of type BoundingBoxModifier and TypeMethodDescriptionboolean
Dimensions.contains
(BoundingBox box) Isbox
entirely contained within the extent? -
Uses of BoundingBox in org.anchoranalysis.image.core.mask
Methods in org.anchoranalysis.image.core.mask with parameters of type BoundingBoxModifier and TypeMethodDescriptionMask.region
(BoundingBox box, boolean reuseIfPossible) Creates anObjectMask
corresponding to the on/off state in a bounding-box. -
Uses of BoundingBox in org.anchoranalysis.image.core.merge
Methods in org.anchoranalysis.image.core.merge that return BoundingBoxModifier and TypeMethodDescriptionstatic BoundingBox
ObjectMaskMerger.mergeBoundingBoxes
(Stream<ObjectMask> objects) Merges all the bounding boxes of a stream of objects.static BoundingBox
ObjectMaskMerger.mergeBoundingBoxes
(ObjectCollection objects) Merges all the bounding boxes of a collection of objects. -
Uses of BoundingBox in org.anchoranalysis.image.core.object.properties
Methods in org.anchoranalysis.image.core.object.properties that return BoundingBoxModifier and TypeMethodDescriptionObjectWithProperties.boundingBox()
The bounding-box which gives a location for the object-mask on an image.Constructors in org.anchoranalysis.image.core.object.properties with parameters of type BoundingBoxModifierConstructorDescriptionCreates as a bounding-box with all corresponding mask voxels set to off. -
Uses of BoundingBox in org.anchoranalysis.image.core.object.scale
Methods in org.anchoranalysis.image.core.object.scale that return BoundingBoxModifier and TypeMethodDescriptiondefault BoundingBox
AccessObjectMask.boundingBoxFor
(T element) A bounding-box for a given element. -
Uses of BoundingBox in org.anchoranalysis.image.core.points
Methods in org.anchoranalysis.image.core.points that return BoundingBoxModifier and TypeMethodDescriptionstatic BoundingBox
BoundingBoxFromPoints.fromStream
(Stream<Point3i> points) Create from a stream ofPoint3i
s.static BoundingBox
BoundingBoxFromPoints.fromTwoPoints
(Point3d point1, Point3d point2) Creates a bounding-box for two unordered points. -
Uses of BoundingBox in org.anchoranalysis.image.core.stack
Methods in org.anchoranalysis.image.core.stack with parameters of type BoundingBoxModifier and TypeMethodDescriptionvoid
DisplayStack.copyPixelsTo
(int channelIndex, BoundingBox sourceBox, Voxels<UnsignedByteBuffer> destinationVoxels, BoundingBox destinationBox) Copies pixels from a particular channel to an output buffer.DisplayStack.extractChannelForBoundingBox
(int index, BoundingBox box) -
Uses of BoundingBox in org.anchoranalysis.image.io.bean.object.draw
Methods in org.anchoranalysis.image.io.bean.object.draw with parameters of type BoundingBoxModifier and TypeMethodDescriptionvoid
Filled.drawSingle
(ObjectWithProperties object, RGBStack stack, ObjectDrawAttributes attributes, int iteration, BoundingBox restrictTo) void
Flatten.drawSingle
(ObjectWithProperties object, RGBStack stack, ObjectDrawAttributes attributes, int iteration, BoundingBox restrictTo) void
IfElse.drawSingle
(ObjectWithProperties object, RGBStack stack, ObjectDrawAttributes attributes, int iteration, BoundingBox restrictTo) void
Outline.drawSingle
(ObjectWithProperties object, RGBStack stack, ObjectDrawAttributes attributes, int iteration, BoundingBox restrictTo) -
Uses of BoundingBox in org.anchoranalysis.image.io.stack
Methods in org.anchoranalysis.image.io.stack with parameters of type BoundingBoxModifier and TypeMethodDescriptionstatic RGBStack
ConvertStackToRGB.convertCropped
(DisplayStack stack, BoundingBox box) Converts a bounding-box region inDisplayStack
to aRGBStack
. -
Uses of BoundingBox in org.anchoranalysis.image.io.stack.output.box
Methods in org.anchoranalysis.image.io.stack.output.box with parameters of type BoundingBoxModifier and TypeMethodDescriptionScaleableBackground.extractRegionFromStack
(BoundingBox box) Extracts a portion of a stack (flattened and maybe scaled) corresponding to a bounding-boxExtractBoundingBoxAreaFromStackGenerator.transform
(BoundingBox element) Method parameters in org.anchoranalysis.image.io.stack.output.box with type arguments of type BoundingBoxModifier and TypeMethodDescriptionstatic DrawObjectOnStackGenerator
DrawObjectOnStackGenerator.createFromGenerator
(TransformingGenerator<BoundingBox, Stack> backgroundGenerator, int outlineWidth, ColorIndex colors) Creates an extracted-object generator that draws an outline - with default color green and flattened in Z. -
Uses of BoundingBox in org.anchoranalysis.image.voxel
Methods in org.anchoranalysis.image.voxel that return BoundingBoxModifier and TypeMethodDescriptionBoundedVoxels.boundingBox()
A bounding-box that associates voxels to a particular part of an image.Grow bounding-box by 1 pixel in all directions.Methods in org.anchoranalysis.image.voxel with parameters of type BoundingBoxModifier and TypeMethodDescriptionstatic void
ExtentMatchHelper.checkExtentMatch
(BoundingBox box1, BoundingBox box2) Checks that theExtent
s of two bounding boxes are identical.void
VoxelsUntyped.copyVoxelsTo
(ObjectMask objectSource, VoxelsUntyped destination, BoundingBox boxDestination) Copies the voxels into adestination
, but only those voxels inside anObjectMask
.void
VoxelsUntyped.copyVoxelsTo
(BoundingBox boxSource, VoxelsUntyped destination, BoundingBox boxDestination) Copies the voxels into adestination
, but only those voxels inside a bounding-box.BoundedVoxels.mapBoundingBoxPreserveExtent
(BoundingBox boundingBoxToAssign) Applies a function to map the bounding-box to a new-value.BoundedVoxels.region
(BoundingBox box, boolean reuseIfPossible) A (sub-)region of the voxels.BoundedVoxels.regionIntersecting
(BoundingBox box, int voxelValueForRest) LikeBoundedVoxels.region(org.anchoranalysis.spatial.box.BoundingBox, boolean)
but only expects a bounding-box that intersects at least partially.Constructors in org.anchoranalysis.image.voxel with parameters of type BoundingBoxModifierConstructorDescriptionBoundedVoxels
(BoundingBox boundingBox, Voxels<T> voxels) Creates voxels with a corresponding bounding box. -
Uses of BoundingBox in org.anchoranalysis.image.voxel.assigner
Methods in org.anchoranalysis.image.voxel.assigner with parameters of type BoundingBoxModifier and TypeMethodDescriptionvoid
VoxelsAssigner.toBox
(BoundingBox box) Assigns to only voxels inside a bounding-boxvoid
VoxelsAssigner.toEitherTwoObjects
(ObjectMask object1, ObjectMask object2, BoundingBox restrictTo) Sets voxels to a value if the position is on in either of two masksvoid
VoxelsAssigner.toObject
(ObjectMask object, BoundingBox restrictTo) Sets voxels in a box to a particular value if they match a object-mask (but only a part of the object-mask) -
Uses of BoundingBox in org.anchoranalysis.image.voxel.extracter
Methods in org.anchoranalysis.image.voxel.extracter with parameters of type BoundingBoxModifier and TypeMethodDescriptionvoid
VoxelsExtracter.boxCopyTo
(BoundingBox from, Voxels<T> voxelsDestination, BoundingBox destinationBox) Copies a bounding-box area to anotherVoxels
.void
VoxelsExtracter.objectCopyTo
(ObjectMask from, Voxels<T> voxelsDestination, BoundingBox destinationBox) Copies an area corresponding to an object-mask to anotherVoxels
.VoxelsExtracter.region
(BoundingBox box, boolean reuseIfPossible) A (sub-)region of the voxels. -
Uses of BoundingBox in org.anchoranalysis.image.voxel.extracter.predicate
Methods in org.anchoranalysis.image.voxel.extracter.predicate with parameters of type BoundingBoxModifier and TypeMethodDescriptionPredicateAtCorner.deriveObject
(BoundingBox box) PredicateImplementation.deriveObject
(BoundingBox box) VoxelsPredicate.deriveObject
(BoundingBox box) Creates anObjectMask
for all the voxels inside the bounding-box satisfying the predicate. -
Uses of BoundingBox in org.anchoranalysis.image.voxel.factory
Methods in org.anchoranalysis.image.voxel.factory with parameters of type BoundingBoxModifier and TypeMethodDescriptiondefault BoundedVoxels
<T> VoxelsFactoryTypeBound.createBounded
(BoundingBox box) Creates and initializes voxels that correspond to a particular bounding-box region. -
Uses of BoundingBox in org.anchoranalysis.image.voxel.iterator
Methods in org.anchoranalysis.image.voxel.iterator with parameters of type BoundingBoxModifier and TypeMethodDescriptionstatic <T> void
IterateVoxelsBoundingBox.withBuffer
(BoundingBox box, Voxels<T> voxels, ProcessBufferUnary<T> process) Iterate over each voxel in a bounding-box - with one associated buffer for each slicestatic void
IterateVoxelsBoundingBox.withCursor
(BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, ProcessKernelPointCursor process) Iterate over each voxel in a bounding-box using aKernelPointCursor
.static boolean
IterateVoxelsBoundingBox.withCursorUntil
(BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, PredicateKernelPointCursor predicate) Iterate over each voxel in a bounding-box using aKernelPointCursor
until a predicate returns true..static void
IterateVoxelsBoundingBox.withMatchingPoints
(BoundingBox box, Predicate<Point3i> predicate, ProcessPoint process) Iterate over each voxel in a bounding-box that matches a predicate.static void
IterateVoxelsBoundingBox.withPoint
(BoundingBox box, ProcessPoint process) Iterate over each voxel in a bounding-boxstatic void
IterateVoxelsBoundingBox.withPointAndIndex
(BoundingBox box, ProcessPointAndIndex process) Iterate over each voxel in a bounding-boxstatic <T> void
IterateVoxelsBoundingBox.withThreeBuffers
(BoundingBox box, ReadableTuple3i shiftForSecond, ReadableTuple3i shiftForThird, Voxels<T> voxels1, Voxels<T> voxels2, Voxels<T> voxels3, ProcessBufferTernary<T> process) Iterate over each voxel in a bounding-box - with three associated buffers for each slice.static <T> void
IterateVoxelsBoundingBox.withTwoBuffers
(BoundingBox box, ReadableTuple3i shiftForSecond, Voxels<T> voxels1, Voxels<T> voxels2, ProcessBufferBinary<T, T> process) Iterate over each voxel in a bounding-box - with two associated buffers for each slice, oneVoxelBuffer
and oneBuffer
IterateVoxelsBoundingBox.withTwoBuffersUntil
(BoundingBox box, ReadableTuple3i shiftForSecond, Voxels<T> voxels1, Voxels<T> voxels2, PredicateBufferBinary<T> predicate) Iterate over each voxel in a bounding-box - with two associated buffers for each slice - until a predicate evaluates to true.static <S,
T> void IterateVoxelsBoundingBox.withTwoMixedBuffers
(BoundingBox box, ReadableTuple3i shiftForSecond, Voxels<S> voxels1, Voxels<T> voxels2, ProcessBufferBinaryMixed<S, T> process) Iterate over each voxel in a bounding-box - with two associated buffers for each slice.Method parameters in org.anchoranalysis.image.voxel.iterator with type arguments of type BoundingBoxModifier and TypeMethodDescriptionstatic <T> void
IterateVoxelsObjectMask.withVoxelBuffer
(ObjectMask object, Voxels<T> voxels, Optional<BoundingBox> restrictTo, ProcessVoxelBufferUnary<T> process) Iterate over each voxel on an object-mask with one associatedVoxelBuffer
. -
Uses of BoundingBox in org.anchoranalysis.image.voxel.iterator.neighbor.kernel
Methods in org.anchoranalysis.image.voxel.iterator.neighbor.kernel with parameters of type BoundingBoxModifier and TypeMethodDescriptionstatic void
IterateKernelHelper.overBox
(Kernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, ProcessKernelPointCursor processor) Iterates over only voxels contained within a bounding-box.static boolean
IterateKernelHelper.overBoxUntil
(Kernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, PredicateKernelPointCursor predicate) Iterates over only voxels contained within a bounding-box until a predicate is matched on a voxel. -
Uses of BoundingBox in org.anchoranalysis.image.voxel.kernel
Methods in org.anchoranalysis.image.voxel.kernel with parameters of type BoundingBoxModifier and TypeMethodDescriptionstatic int
ApplyKernel.applyForCount
(CountKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters) Applies the kernel to voxels and sums the returned value.static boolean
ApplyKernel.applyUntilPositive
(CountKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters) Applies the kernel to voxels until a positive value is returned, then exits with true. -
Uses of BoundingBox in org.anchoranalysis.image.voxel.object
Methods in org.anchoranalysis.image.voxel.object that return BoundingBoxModifier and TypeMethodDescriptionObjectMask.boundingBox()
The bounding-box which gives a location for the object-mask on an image.Methods in org.anchoranalysis.image.voxel.object with parameters of type BoundingBoxModifier and TypeMethodDescriptionIntersectingObjects.intersectsWith
(BoundingBox box) All elements that intersect with a particular bounding box.ObjectMask.mapBoundingBoxChangeExtent
(BoundingBox boxToAssign) Applies a function to map the bounding-box to a new-value (whose extent is expected to change in value).ObjectMaskStream.mapBoundingBoxChangeExtent
(BoundingBox boxToAssign) Creates a newObjectCollection
after mapping the bounding-box on each object (while maybe changing the extent).ObjectMask.region
(BoundingBox box, boolean reuseIfPossible) A (sub-)region of the object-mask.ObjectMask.regionIntersecting
(BoundingBox box) Creates an object-mask covering the a bounding-box (that is required to intersect at least partially)ObjectMask.relativeMaskTo
(BoundingBox box) Creates a new object-mask with coordinates changed to be relative to another box.Method parameters in org.anchoranalysis.image.voxel.object with type arguments of type BoundingBoxModifier and TypeMethodDescriptionObjectMask.mapBoundingBoxPreserveExtent
(UnaryOperator<BoundingBox> mapOperation) Applies a function to map the bounding-box to a new-value (whose extent should be unchanged in value).ObjectMaskStream.mapBoundingBoxPreserveExtent
(UnaryOperator<BoundingBox> mapFunction) Creates a newObjectCollection
after mapping the bounding-box on each object (whose extent should remain unchanged).Constructors in org.anchoranalysis.image.voxel.object with parameters of type BoundingBoxModifierConstructorDescriptionObjectMask
(BoundingBox box) Creates as a bounding-box with all corresponding mask voxels set to off.ObjectMask
(BoundingBox box, BinaryVoxels<UnsignedByteBuffer> voxels) Creates from aBinaryVoxels
and a corresponding bounding-box.ObjectMask
(BoundingBox box, Voxels<UnsignedByteBuffer> voxels) ObjectMask
(BoundingBox box, Voxels<UnsignedByteBuffer> voxels, BinaryValuesByte binaryValues) LikeObjectMask(BoundingBox, Voxels, BinaryValuesInt)
but specifies the binary-values as bytes.ObjectMask
(BoundingBox box, Voxels<UnsignedByteBuffer> voxels, BinaryValuesInt binaryValues) -
Uses of BoundingBox in org.anchoranalysis.mpp.mark
Methods in org.anchoranalysis.mpp.mark that return BoundingBoxModifier and TypeMethodDescriptionabstract BoundingBox
Mark.box
(Dimensions dimensions, int regionID) Calculates the bounding box for a specific region of the mark.abstract BoundingBox
Mark.boxAllRegions
(Dimensions dimensions) Calculates the bounding box for all regions of the mark.Methods in org.anchoranalysis.mpp.mark that return types with arguments of type BoundingBoxModifier and TypeMethodDescriptionMarkCollection.boxList
(Dimensions dimensions, int regionID) Creates a list of bounding boxes for all marks in the collection.Method parameters in org.anchoranalysis.mpp.mark with type arguments of type BoundingBoxModifier and TypeMethodDescriptionColoredMarks.subsetWhereBBoxIntersects
(Dimensions dimensions, int regionID, List<BoundingBox> intersectList) Creates a subset of marks whose bounding boxes intersect with given boxes. -
Uses of BoundingBox in org.anchoranalysis.mpp.mark.conic
Methods in org.anchoranalysis.mpp.mark.conic that return BoundingBoxModifier and TypeMethodDescriptionEllipse.box
(Dimensions dimensions, int regionID) Ellipsoid.box
(Dimensions dimensions, int regionID) MarkWithPositionAndSingleRadius.box
(Dimensions dimensions, int regionID) Ellipse.boxAllRegions
(Dimensions dimensions) Ellipsoid.boxAllRegions
(Dimensions dimensions) MarkWithPositionAndSingleRadius.boxAllRegions
(Dimensions dimensions) static BoundingBox
BoundingBoxCalculator.boxFromBounds
(Point3d pos, double radius, boolean do3D, Dimensions dimensions) Calculates a bounding box for a point with a scalar radius in all dimensions.static BoundingBox
BoundingBoxCalculator.boxFromBounds
(Point3d center, cern.colt.matrix.DoubleMatrix1D radiiMatrix, boolean do3D, Dimensions dimensions) Calculates a bounding box for a point with varying radii in each dimension (that have already been resolved into a matrix) -
Uses of BoundingBox in org.anchoranalysis.mpp.mark.points
Methods in org.anchoranalysis.mpp.mark.points that return BoundingBoxModifier and TypeMethodDescriptionLineSegment.box
(Dimensions dimensions, int regionID) protected BoundingBox
PointListBase.box()
Creates a bounding box from the min and max points.PointListBase.box
(Dimensions dimensions, int regionID) RotatableBoundingBox.box
(Dimensions dimensions, int regionID) LineSegment.boxAllRegions
(Dimensions dimensions) PointList.boxAllRegions
(Dimensions dimensions) Polygon.boxAllRegions
(Dimensions dimensions) PolygonCurve.boxAllRegions
(Dimensions dimensions) RotatableBoundingBox.boxAllRegions
(Dimensions dimensions) -
Uses of BoundingBox in org.anchoranalysis.mpp.mark.voxelized
Methods in org.anchoranalysis.mpp.mark.voxelized that return BoundingBoxModifier and TypeMethodDescriptionVoxelizedMark.boundingBox()
Gets the bounding-box enclosing the voxelized representation of the mark.VoxelizedMark.boundingBoxFlattened()
Gets the bounding-box flattened in z dimension. -
Uses of BoundingBox in org.anchoranalysis.mpp.overlay
Methods in org.anchoranalysis.mpp.overlay that return BoundingBox -
Uses of BoundingBox in org.anchoranalysis.overlay
Methods in org.anchoranalysis.overlay that return BoundingBoxModifier and TypeMethodDescriptionabstract BoundingBox
Overlay.box
(DrawOverlay overlayWriter, Dimensions dimensions) A bounding-box around the overlay. -
Uses of BoundingBox in org.anchoranalysis.overlay.bean
Methods in org.anchoranalysis.overlay.bean with parameters of type BoundingBoxModifier and TypeMethodDescriptionvoid
DrawObject.drawCollection
(ObjectCollectionWithProperties objects, RGBStack stack, ObjectDrawAttributes attributes, BoundingBox boxContainer) Writes object-masks onto of aRGBStack
- within a bounding box only.abstract void
DrawObject.drawSingle
(ObjectWithProperties object, RGBStack stack, ObjectDrawAttributes attributes, int iteration, BoundingBox restrictTo) Draws a single-object on top of a RGB-stack. -
Uses of BoundingBox in org.anchoranalysis.overlay.collection
Method parameters in org.anchoranalysis.overlay.collection with type arguments of type BoundingBoxModifier and TypeMethodDescriptionColoredOverlayCollection.subsetWhereBoxIntersects
(Dimensions scene, DrawOverlay drawOverlay, List<BoundingBox> toIntersectWith) Find overlays whose bounding-boxes intersect with any of the boxes intoIntersectWith
. -
Uses of BoundingBox in org.anchoranalysis.overlay.object
Methods in org.anchoranalysis.overlay.object that return BoundingBoxModifier and TypeMethodDescriptionOverlayObjectMask.box
(DrawOverlay overlayWriter, Dimensions dimensions) -
Uses of BoundingBox in org.anchoranalysis.plugin.image.bean.thumbnail.object
Method parameters in org.anchoranalysis.plugin.image.bean.thumbnail.object with type arguments of type BoundingBoxModifier and TypeMethodDescriptionOutlinePreserveRelativeSize.start
(ObjectCollection objects, StreamableCollection<BoundingBox> boundingBoxes, Optional<Stack> backgroundSource, ExecutionTimeRecorder executionTimeRecorder) abstract ThumbnailBatch
<ObjectCollection> ThumbnailFromObjects.start
(ObjectCollection objects, StreamableCollection<BoundingBox> boundingBoxes, Optional<Stack> background, ExecutionTimeRecorder executionTimeRecorder) Initializes a batch to create thumbnails. -
Uses of BoundingBox in org.anchoranalysis.plugin.image.feature.bean.object.combine
Methods in org.anchoranalysis.plugin.image.feature.bean.object.combine that return BoundingBoxModifier and TypeMethodDescriptionprotected abstract BoundingBox
CombineObjectsForFeatures.boundingBoxThatSpansInput
(T input) Creates a bounding-box that tightly fits the input to a particular table row (could be for one or more objects).protected BoundingBox
EachObjectIndependently.boundingBoxThatSpansInput
(FeatureInputSingleObject input) protected BoundingBox
PairNeighbors.boundingBoxThatSpansInput
(FeatureInputPairObjects input) -
Uses of BoundingBox in org.anchoranalysis.plugin.image.feature.bean.object.pair.touching
Methods in org.anchoranalysis.plugin.image.feature.bean.object.pair.touching with parameters of type BoundingBoxModifier and TypeMethodDescriptionprotected double
HasTouchingVoxels.calculateWithIntersection
(ObjectMask first, ObjectMask second, BoundingBox boxIntersect) protected double
NumberTouchingVoxelFaces.calculateWithIntersection
(ObjectMask object1, ObjectMask object2, BoundingBox boxIntersect) protected double
NumberTouchingVoxels.calculateWithIntersection
(ObjectMask object1, ObjectMask object2, BoundingBox boxIntersect) protected abstract double
TouchingVoxels.calculateWithIntersection
(ObjectMask object1, ObjectMask object2, BoundingBox boxIntersect) Calculates the feature value for the intersection of two objects. -
Uses of BoundingBox in org.anchoranalysis.plugin.image.feature.bean.object.single.border
Methods in org.anchoranalysis.plugin.image.feature.bean.object.single.border with parameters of type BoundingBoxModifier and TypeMethodDescriptionprotected abstract boolean
AtBorderBase.isBoundingBoxAtBorder
(BoundingBox boundingBox, Extent extent) Checks if the bounding box of an object is at the border of the image.protected boolean
AtBorderXY.isBoundingBoxAtBorder
(BoundingBox boundingBox, Extent extent) protected boolean
AtBorderZ.isBoundingBoxAtBorder
(BoundingBox boundingBox, Extent extent) -
Uses of BoundingBox in org.anchoranalysis.plugin.image.feature.bean.object.single.boundingbox
Methods in org.anchoranalysis.plugin.image.feature.bean.object.single.boundingbox with parameters of type BoundingBoxModifier and TypeMethodDescriptionprotected abstract ReadableTuple3i
BoundingBoxAlongAxisBase.extractTupleForBoundingBox
(BoundingBox box) Extracts aReadableTuple3i
from the givenBoundingBox
.protected ReadableTuple3i
BoundingBoxExtentAlongAxis.extractTupleForBoundingBox
(BoundingBox box) protected ReadableTuple3i
BoundingBoxMaximumAlongAxis.extractTupleForBoundingBox
(BoundingBox box) protected ReadableTuple3i
BoundingBoxMinimumAlongAxis.extractTupleForBoundingBox
(BoundingBox box) -
Uses of BoundingBox in org.anchoranalysis.spatial.box
Methods in org.anchoranalysis.spatial.box that return BoundingBoxModifier and TypeMethodDescriptionstatic BoundingBox
BoundingBoxFactory.at
(int x, int y, int width, int height) Short-hand factory method for creating a 2D bounding-box.static BoundingBox
BoundingBoxFactory.at
(int x, int y, int z, int width, int height, int depth) Short-hand factory method for creating a 3D bounding-box.BoundedList.boundingBox()
A bounding-box that must contain all elements in the collectionBoundingBox.changeExtent
(UnaryOperator<Extent> extentOperator) Creates a copiedBoundingBox
but with a different extent.BoundingBox.changeExtent
(Extent extent) Creates a copiedBoundingBox
but with a different extent.BoundingBox.changeExtentZ
(int extentZ) Creates a copiedBoundingBox
but with a different extent in the Z-dimension.BoundingBox.changeZ
(int cornerZ, int extentZ) Creates a copiedBoundingBox
but with a different corner and extent in the Z-dimension.Ensures that the box fits inside aExtent
by reducing any values to their limits in the respective dimension.static BoundingBox
BoundingBox.createDuplicate
(ReadableTuple3i cornerMin, Extent extent) Creates a bounding-box from a corner and an extent - duplicatingcornerMin
.static BoundingBox
BoundingBox.createDuplicate
(ReadableTuple3i cornerMinInclusive, ReadableTuple3i cornerMaxInclusive) Creates from twoint
points (a minimum corner and a maximum corner) - reusingcornerMinInclusive
internally.static BoundingBox
BoundingBox.createReuse
(Point3d cornerMinInclusive, Point3d cornerMaxInclusive) Creates from twodouble
points (a minimum corner and a maximum corner).static BoundingBox
BoundingBox.createReuse
(ReadableTuple3i cornerMin, Extent extent) Creates a bounding-box from a corner and an extent - reusingcornerMin
internally.static BoundingBox
BoundingBox.createReuse
(ReadableTuple3i cornerMinInclusive, ReadableTuple3i cornerMaxInclusive) Creates from twoint
points (a minimum corner and a maximum corner) - reusingcornerMinInclusive
internally.BoundingBox.flattenZ()
Collapses the z-dimension of the box to a single voxel depth, and a corner at0
voxels.Grow the bounding-box bytoAdd
amount in each dimension in both positive and negative directions.static BoundingBox
BoundingBoxMerger.merge
(Stream<BoundingBox> stream) Merges all the bounding boxes in a stream.BoundingBox.reflectThroughOrigin()
Reflects the bounding box through the origin.BoundingBox.relativePositionToBox
(BoundingBox other) A new bounding-box using relative position coordinates to another box.BoundingBox.scale
(ScaleFactor scaleFactor) Scales the bounding-box, both the corner-point and the extent.BoundingBox.scale
(ScaleFactor scaleFactor, Extent extentToAssign) Scales the bounding-box corner-point, and assigns a new extent.BoundingBox.scaleClampTo
(ScaleFactor scaleFactor, Extent clampTo) Scales the bounding-box, both the corner-point and the extent - ensuring it remains inside a containing-extent.BoundingBox.shiftBackBy
(ReadableTuple3i shift) Shifts the bounding-box backwards.BoundingBox.shiftBy
(ReadableTuple3i shift) Shifts the bounding-box forwards.BoundingBox.shiftTo
(ReadableTuple3i cornerMinToAssign) Assigns a new corner-location to the bounding-box.BoundingBox.shiftToOrigin()
Moves the bounding-box to the origin (0,0,0) but preserves the extent.BoundingBox.shiftToZ
(int cornerZToAssign) Assigns a new z-slice corner-location to the bounding-box.PointRange.toBoundingBox()
Creates aBoundingBox
to just cover the range of points that have been added.PointRange.toBoundingBoxNoCheck()
LikePointRange.toBoundingBox()
but if no points exist, an exception is not thrown.static BoundingBox
BoundingBoxFactory.uniform3D
(int corner, int extent) Short-hand factory method for creating a 3D bounding-box, where a coordinate is identical in each dimension.BoundingBoxUnion.with
(BoundingBox other) Performs a union with another box (immutably).Methods in org.anchoranalysis.spatial.box that return types with arguments of type BoundingBoxModifier and TypeMethodDescriptionBoundingBoxIntersection.with
(BoundingBox other) Finds the intersection with another bounding-box, if it exists.BoundingBoxIntersection.withInside
(BoundingBox other, Extent containingExtent) Finds the intersection and clamp to a containing extent.Methods in org.anchoranalysis.spatial.box with parameters of type BoundingBoxModifier and TypeMethodDescriptionBoundedList.assignBoundingBox
(BoundingBox boxToAssign) Assigns a new containing bounding-box.BoundedList.assignBoundingBoxAndMap
(BoundingBox boxToAssign, UnaryOperator<T> mappingFunction) Assigns a new containing bounding-box and maps each individual element.boolean
BoundingBoxContains.box
(BoundingBox maybeContainedInside) Is this other bounding-box fully contained within this bounding box?int
BoundingBox.compareTo
(BoundingBox other) boolean
Extent.contains
(BoundingBox box) Isbox
entirely contained within the extent?static double
BoundingBoxDistance.distance
(BoundingBox box1, BoundingBox box2, boolean includeZ) Calculates the distance between twoBoundingBox
es.boolean
BoundingBoxIntersection.existsWith
(BoundingBox other) Does intersection exist with another bounding-box?static double
IntersectionOverUnion.forBoxes
(BoundingBox box1, BoundingBox box2) Calculates the intersection-over-union score a pair of bounding-boxes.BoundingBox.relativePositionTo
(BoundingBox other) The relative position of the corner to another bounding box.BoundingBox.relativePositionToBox
(BoundingBox other) A new bounding-box using relative position coordinates to another box.BoundingBoxIntersection.with
(BoundingBox other) Finds the intersection with another bounding-box, if it exists.BoundingBoxUnion.with
(BoundingBox other) Performs a union with another box (immutably).BoundingBoxIntersection.withInside
(BoundingBox other, Extent containingExtent) Finds the intersection and clamp to a containing extent.Method parameters in org.anchoranalysis.spatial.box with type arguments of type BoundingBoxModifier and TypeMethodDescriptionstatic <T> BoundedList
<T> BoundedList.createFromList
(List<T> list, Function<T, BoundingBox> extractBoundingBox) Creates for a list, minimally fitting a bounding-box around all elementsstatic <T> BoundedList
<T> BoundedList.createSingle
(T element, Function<T, BoundingBox> extractBoundingBox) Creates for a single element using its current bounding-box.boolean
BoundingBoxIntersection.existsWithAny
(List<BoundingBox> others) Does intersection exist with with any of the others in the list?static BoundingBox
BoundingBoxMerger.merge
(Stream<BoundingBox> stream) Merges all the bounding boxes in a stream.Constructors in org.anchoranalysis.spatial.box with parameters of type BoundingBox -
Uses of BoundingBox in org.anchoranalysis.spatial.rtree
Methods in org.anchoranalysis.spatial.rtree with parameters of type BoundingBoxModifier and TypeMethodDescriptionvoid
BoundingBoxRTree.add
(BoundingBox box, T payload) Adds a bounding-box with a corresponding payload.BoundingBoxRTree.intersectsWith
(BoundingBox toIntersectWith) Which bounding-boxes intersect with another specific bounding box?BoundingBoxRTree.intersectsWithStream
(BoundingBox toIntersectWith) void
BoundingBoxRTree.remove
(BoundingBox box, T payload) Removes a particular item from the r-tree, identified by its bounding-box and payload.Constructor parameters in org.anchoranalysis.spatial.rtree with type arguments of type BoundingBoxModifierConstructorDescriptionSpatiallySeparate
(Function<T, BoundingBox> extractBoundingBox) Creates a newSpatiallySeparate
instance. -
Uses of BoundingBox in org.anchoranalysis.test.image.segment
Methods in org.anchoranalysis.test.image.segment that return BoundingBoxModifier and TypeMethodDescriptionprotected abstract BoundingBox
InstanceSegmentationTestBase.targetBox()
The bounding-box we use to set an area where we expect segments to reside.