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
Marks.Marks implementing conic sections.Marks implementing structures based on points.A mark after a voxel-representation has been inferred.
Overlays and related classes involving drawing entities on top
of an image.Beans relating to drawing an
Overlay on an image.Collections of
Overlays.An implementation of an
Overlay that draws an ObjectMask on an image.Implementations of
ThumbnailFromObjects.Features from combinations of
ObjectMasks.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()TheBoundingBoxin which the image should be placed.BoundingBoxEnclosed.getEnclosing()An enclosing box (equal to or larger thanboxcovering all screen-space used for this entity, including padding.Methods in org.anchoranalysis.image.bean.nonbean.spatial.arrange with parameters of type BoundingBoxModifier and TypeMethodDescriptionvoidStackArrangement.add(BoundingBox box) Adds a newBoundingBoxto the arrangement, with no padding.static voidStackCopierAtBox.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 newBoundingBoxEnclosedinstance.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 BoundingBoxAlign.alignAfterCheck(BoundingBox smaller, BoundingBox larger) protected BoundingBoxAlign.alignAfterCheck(Extent smaller, BoundingBox larger) protected BoundingBoxAlign.alignAfterCheck(Extent smaller, Extent larger) protected abstract BoundingBoxBoxAligner.alignAfterCheck(BoundingBox smaller, BoundingBox larger) protected abstract BoundingBoxBoxAligner.alignAfterCheck(Extent smaller, BoundingBox larger) protected abstract BoundingBoxBoxAligner.alignAfterCheck(Extent smaller, Extent larger) protected BoundingBoxGrow.alignAfterCheck(BoundingBox smaller, BoundingBox larger) protected BoundingBoxGrow.alignAfterCheck(Extent smaller, BoundingBox larger) protected BoundingBoxGrow.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 BoundingBoxAlign.alignAfterCheck(BoundingBox smaller, BoundingBox larger) protected BoundingBoxAlign.alignAfterCheck(Extent smaller, BoundingBox larger) protected abstract BoundingBoxBoxAligner.alignAfterCheck(BoundingBox smaller, BoundingBox larger) protected abstract BoundingBoxBoxAligner.alignAfterCheck(Extent smaller, BoundingBox larger) protected BoundingBoxGrow.alignAfterCheck(BoundingBox smaller, BoundingBox larger) protected BoundingBoxGrow.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 TypeMethodDescriptionbooleanDimensions.contains(BoundingBox box) Isboxentirely 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 anObjectMaskcorresponding 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 BoundingBoxObjectMaskMerger.mergeBoundingBoxes(Stream<ObjectMask> objects) Merges all the bounding boxes of a stream of objects.static BoundingBoxObjectMaskMerger.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 BoundingBoxAccessObjectMask.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 BoundingBoxBoundingBoxFromPoints.fromStream(Stream<Point3i> points) Create from a stream ofPoint3is.static BoundingBoxBoundingBoxFromPoints.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 TypeMethodDescriptionvoidDisplayStack.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 TypeMethodDescriptionvoidFilled.drawSingle(ObjectWithProperties object, RGBStack stack, ObjectDrawAttributes attributes, int iteration, BoundingBox restrictTo) voidFlatten.drawSingle(ObjectWithProperties object, RGBStack stack, ObjectDrawAttributes attributes, int iteration, BoundingBox restrictTo) voidIfElse.drawSingle(ObjectWithProperties object, RGBStack stack, ObjectDrawAttributes attributes, int iteration, BoundingBox restrictTo) voidOutline.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 RGBStackConvertStackToRGB.convertCropped(DisplayStack stack, BoundingBox box) Converts a bounding-box region inDisplayStackto 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 DrawObjectOnStackGeneratorDrawObjectOnStackGenerator.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 voidExtentMatchHelper.checkExtentMatch(BoundingBox box1, BoundingBox box2) Checks that theExtents of two bounding boxes are identical.voidVoxelsUntyped.copyVoxelsTo(ObjectMask objectSource, VoxelsUntyped destination, BoundingBox boxDestination) Copies the voxels into adestination, but only those voxels inside anObjectMask.voidVoxelsUntyped.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 TypeMethodDescriptionvoidVoxelsAssigner.toBox(BoundingBox box) Assigns to only voxels inside a bounding-boxvoidVoxelsAssigner.toEitherTwoObjects(ObjectMask object1, ObjectMask object2, BoundingBox restrictTo) Sets voxels to a value if the position is on in either of two masksvoidVoxelsAssigner.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 TypeMethodDescriptionvoidVoxelsExtracter.boxCopyTo(BoundingBox from, Voxels<T> voxelsDestination, BoundingBox destinationBox) Copies a bounding-box area to anotherVoxels.voidVoxelsExtracter.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 anObjectMaskfor 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> voidIterateVoxelsBoundingBox.withBuffer(BoundingBox box, Voxels<T> voxels, ProcessBufferUnary<T> process) Iterate over each voxel in a bounding-box - with one associated buffer for each slicestatic voidIterateVoxelsBoundingBox.withCursor(BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, ProcessKernelPointCursor process) Iterate over each voxel in a bounding-box using aKernelPointCursor.static booleanIterateVoxelsBoundingBox.withCursorUntil(BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, PredicateKernelPointCursor predicate) Iterate over each voxel in a bounding-box using aKernelPointCursoruntil a predicate returns true..static voidIterateVoxelsBoundingBox.withMatchingPoints(BoundingBox box, Predicate<Point3i> predicate, ProcessPoint process) Iterate over each voxel in a bounding-box that matches a predicate.static voidIterateVoxelsBoundingBox.withPoint(BoundingBox box, ProcessPoint process) Iterate over each voxel in a bounding-boxstatic voidIterateVoxelsBoundingBox.withPointAndIndex(BoundingBox box, ProcessPointAndIndex process) Iterate over each voxel in a bounding-boxstatic <T> voidIterateVoxelsBoundingBox.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> voidIterateVoxelsBoundingBox.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, oneVoxelBufferand oneBufferIterateVoxelsBoundingBox.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> voidIterateVoxelsObjectMask.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 voidIterateKernelHelper.overBox(Kernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters, ProcessKernelPointCursor processor) Iterates over only voxels contained within a bounding-box.static booleanIterateKernelHelper.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 intApplyKernel.applyForCount(CountKernel kernel, BinaryVoxels<UnsignedByteBuffer> voxels, BoundingBox box, KernelApplicationParameters parameters) Applies the kernel to voxels and sums the returned value.static booleanApplyKernel.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 newObjectCollectionafter 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 newObjectCollectionafter 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 aBinaryVoxelsand 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 BoundingBoxMark.box(Dimensions dimensions, int regionID) Calculates the bounding box for a specific region of the mark.abstract BoundingBoxMark.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 BoundingBoxBoundingBoxCalculator.boxFromBounds(Point3d pos, double radius, boolean do3D, Dimensions dimensions) Calculates a bounding box for a point with a scalar radius in all dimensions.static BoundingBoxBoundingBoxCalculator.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 BoundingBoxPointListBase.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 BoundingBoxOverlay.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 TypeMethodDescriptionvoidDrawObject.drawCollection(ObjectCollectionWithProperties objects, RGBStack stack, ObjectDrawAttributes attributes, BoundingBox boxContainer) Writes object-masks onto of aRGBStack- within a bounding box only.abstract voidDrawObject.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 BoundingBoxCombineObjectsForFeatures.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 BoundingBoxEachObjectIndependently.boundingBoxThatSpansInput(FeatureInputSingleObject input) protected BoundingBoxPairNeighbors.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 doubleHasTouchingVoxels.calculateWithIntersection(ObjectMask first, ObjectMask second, BoundingBox boxIntersect) protected doubleNumberTouchingVoxelFaces.calculateWithIntersection(ObjectMask object1, ObjectMask object2, BoundingBox boxIntersect) protected doubleNumberTouchingVoxels.calculateWithIntersection(ObjectMask object1, ObjectMask object2, BoundingBox boxIntersect) protected abstract doubleTouchingVoxels.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 booleanAtBorderBase.isBoundingBoxAtBorder(BoundingBox boundingBox, Extent extent) Checks if the bounding box of an object is at the border of the image.protected booleanAtBorderXY.isBoundingBoxAtBorder(BoundingBox boundingBox, Extent extent) protected booleanAtBorderZ.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 ReadableTuple3iBoundingBoxAlongAxisBase.extractTupleForBoundingBox(BoundingBox box) Extracts aReadableTuple3ifrom the givenBoundingBox.protected ReadableTuple3iBoundingBoxExtentAlongAxis.extractTupleForBoundingBox(BoundingBox box) protected ReadableTuple3iBoundingBoxMaximumAlongAxis.extractTupleForBoundingBox(BoundingBox box) protected ReadableTuple3iBoundingBoxMinimumAlongAxis.extractTupleForBoundingBox(BoundingBox box) -
Uses of BoundingBox in org.anchoranalysis.spatial.box
Methods in org.anchoranalysis.spatial.box that return BoundingBoxModifier and TypeMethodDescriptionstatic BoundingBoxBoundingBoxFactory.at(int x, int y, int width, int height) Short-hand factory method for creating a 2D bounding-box.static BoundingBoxBoundingBoxFactory.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 copiedBoundingBoxbut with a different extent.BoundingBox.changeExtent(Extent extent) Creates a copiedBoundingBoxbut with a different extent.BoundingBox.changeExtentZ(int extentZ) Creates a copiedBoundingBoxbut with a different extent in the Z-dimension.BoundingBox.changeZ(int cornerZ, int extentZ) Creates a copiedBoundingBoxbut with a different corner and extent in the Z-dimension.Ensures that the box fits inside aExtentby reducing any values to their limits in the respective dimension.static BoundingBoxBoundingBox.createDuplicate(ReadableTuple3i cornerMin, Extent extent) Creates a bounding-box from a corner and an extent - duplicatingcornerMin.static BoundingBoxBoundingBox.createDuplicate(ReadableTuple3i cornerMinInclusive, ReadableTuple3i cornerMaxInclusive) Creates from twointpoints (a minimum corner and a maximum corner) - reusingcornerMinInclusiveinternally.static BoundingBoxBoundingBox.createReuse(Point3d cornerMinInclusive, Point3d cornerMaxInclusive) Creates from twodoublepoints (a minimum corner and a maximum corner).static BoundingBoxBoundingBox.createReuse(ReadableTuple3i cornerMin, Extent extent) Creates a bounding-box from a corner and an extent - reusingcornerMininternally.static BoundingBoxBoundingBox.createReuse(ReadableTuple3i cornerMinInclusive, ReadableTuple3i cornerMaxInclusive) Creates from twointpoints (a minimum corner and a maximum corner) - reusingcornerMinInclusiveinternally.BoundingBox.flattenZ()Collapses the z-dimension of the box to a single voxel depth, and a corner at0voxels.Grow the bounding-box bytoAddamount in each dimension in both positive and negative directions.static BoundingBoxBoundingBoxMerger.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 aBoundingBoxto 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 BoundingBoxBoundingBoxFactory.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.booleanBoundingBoxContains.box(BoundingBox maybeContainedInside) Is this other bounding-box fully contained within this bounding box?intBoundingBox.compareTo(BoundingBox other) booleanExtent.contains(BoundingBox box) Isboxentirely contained within the extent?static doubleBoundingBoxDistance.distance(BoundingBox box1, BoundingBox box2, boolean includeZ) Calculates the distance between twoBoundingBoxes.booleanBoundingBoxIntersection.existsWith(BoundingBox other) Does intersection exist with another bounding-box?static doubleIntersectionOverUnion.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.booleanBoundingBoxIntersection.existsWithAny(List<BoundingBox> others) Does intersection exist with with any of the others in the list?static BoundingBoxBoundingBoxMerger.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 TypeMethodDescriptionvoidBoundingBoxRTree.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) voidBoundingBoxRTree.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 newSpatiallySeparateinstance. -
Uses of BoundingBox in org.anchoranalysis.test.image.segment
Methods in org.anchoranalysis.test.image.segment that return BoundingBoxModifier and TypeMethodDescriptionprotected abstract BoundingBoxInstanceSegmentationTestBase.targetBox()The bounding-box we use to set an area where we expect segments to reside.