Uses of Class
org.anchoranalysis.image.voxel.object.ObjectMask
Packages that use ObjectMask
Package
Description
Data-structures to store and manipulate image raster-data or voxels.
Arithmetic operations for
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.
Utilities to iterate over voxel-locations in images and sub-regions of images.
Like
org.anchoranalysis.image.voxel.iterator but refers to iterators that operation over
the intersecting regions of two entities.Iterating over a point's neighboring voxels.
Kernels to count the number of voxels that are equal to a particular value.
A region in proximity to a voxel, encompassing this voxel as well as others.
The fundamental data class that is an
ObjectMask
and related structures.Morphological operations
applied to
ObjectMasks.Thresholding operations on voxels.
-
Uses of ObjectMask in org.anchoranalysis.image.voxel
Methods in org.anchoranalysis.image.voxel with parameters of type ObjectMaskModifier and TypeMethodDescriptionvoidVoxelsUntyped.copyVoxelsTo(ObjectMask objectSource, VoxelsUntyped destination, BoundingBox boxDestination) Copies the voxels into adestination, but only those voxels inside anObjectMask. -
Uses of ObjectMask in org.anchoranalysis.image.voxel.arithmetic
Methods in org.anchoranalysis.image.voxel.arithmetic with parameters of type ObjectMaskModifier and TypeMethodDescriptionvoidVoxelsArithmetic.addTo(ObjectMask object, int valueToBeAdded) Adds a constant-value to each voxel but only for voxels inside an object-mask.voidVoxelsArithmetic.multiplyBy(ObjectMask object, double factor) Multiplies each voxel by constant factor but only for voxels inside anObjectMask. -
Uses of ObjectMask in org.anchoranalysis.image.voxel.assigner
Methods in org.anchoranalysis.image.voxel.assigner with parameters of type ObjectMaskModifier and TypeMethodDescriptionvoidVoxelsAssigner.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) Sets voxels in a box to a particular value if they match an object-maskvoidVoxelsAssigner.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)voidVoxelsAssigner.toObjectIf(ObjectMask object, IntPredicate voxelPredicate) Sets voxels in a box to a particular value if they match an object-mask and a voxel matches a predicatebooleanVoxelsAssigner.toObjectWhile(ObjectMask object, IntPredicate voxelPredicate) Sets voxels in a box to a particular value if they match an object-mask and each voxel matches a predicate -
Uses of ObjectMask in org.anchoranalysis.image.voxel.extracter
Methods in org.anchoranalysis.image.voxel.extracter with parameters of type ObjectMaskModifier and TypeMethodDescriptionvoidVoxelsExtracter.objectCopyTo(ObjectMask from, Voxels<T> voxelsDestination, BoundingBox destinationBox) Copies an area corresponding to an object-mask to anotherVoxels. -
Uses of ObjectMask in org.anchoranalysis.image.voxel.extracter.predicate
Methods in org.anchoranalysis.image.voxel.extracter.predicate that return ObjectMaskModifier 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.Methods in org.anchoranalysis.image.voxel.extracter.predicate that return types with arguments of type ObjectMaskModifier and TypeMethodDescriptionPredicateAtCorner.deriveObjectTight()PredicateImplementation.deriveObjectTight()VoxelsPredicate.deriveObjectTight()Creates anObjectMaskfor all the voxels satisfying the predicate, minimally fitting the bounding-box to the on voxels only.Methods in org.anchoranalysis.image.voxel.extracter.predicate with parameters of type ObjectMaskModifier and TypeMethodDescriptionintPredicateAtCorner.countForObject(ObjectMask object) intPredicateImplementation.countForObject(ObjectMask object) intVoxelsPredicate.countForObject(ObjectMask object) Counts the number of values satisfying the predicate - but restricted to voxels corresponding to on in an object-mask. -
Uses of ObjectMask in org.anchoranalysis.image.voxel.iterator
Methods in org.anchoranalysis.image.voxel.iterator with parameters of type ObjectMaskModifier and TypeMethodDescriptionstatic <T> booleanIterateVoxelsObjectMask.allMatchIntensity(ObjectMask object, Voxels<T> voxels, IntPredicate predicate) Do all points on an object-mask match a predicate on the point's voxel-intensity?static <T> voidIterateVoxelsObjectMask.withBuffer(ObjectMask object, Voxels<T> voxels, ProcessBufferUnary<T> process) Iterate over each voxel in an object-mask - with one associated buffer for each slice fromVoxels.static voidIterateVoxelsObjectMask.withPoint(ObjectMask firstMask, Optional<ObjectMask> secondMask, ProcessPoint process) Iterate over each point that is located on an object-mask AND optionally a second-maskstatic voidIterateVoxelsObjectMask.withPoint(ObjectMask object, ProcessPoint process) Iterate over each voxel that is located on an object-maskstatic <S,T> void IterateVoxelsObjectMask.withTwoBuffers(ObjectMask object, Voxels<S> voxels1, Voxels<T> voxels2, ProcessBufferBinary<S, T> process) Iterate over each voxel with a corresponding on value in an object-mask - and with two associated buffers for each slice covering the all the global space i.e.static <S,T> void IterateVoxelsObjectMask.withTwoMixedBuffers(ObjectMask object, Voxels<S> voxels1, Voxels<T> voxels2, ProcessVoxelBufferBinaryMixed<S, T> process) Iterate over each voxel in an object-mask - with one associated voxel-buffer and one associated buffer for each slice.static <S,T> void IterateVoxelsObjectMask.withTwoVoxelBuffers(ObjectMask object, Voxels<S> voxels1, Voxels<T> voxels2, ProcessVoxelBufferBinary<S, T> process) Iterate over each voxel in an object-mask - with two associated voxel-buffers and for each slice.static <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.static <T> voidIterateVoxelsObjectMask.withVoxelBuffer(ObjectMask object, Voxels<T> voxels, ProcessVoxelBufferUnary<T> process) Iterate over each voxel on an object-mask with one associatedVoxelBuffer.Method parameters in org.anchoranalysis.image.voxel.iterator with type arguments of type ObjectMaskModifier and TypeMethodDescriptionstatic <T> voidIterateVoxelsObjectMaskOptional.withBuffer(Optional<ObjectMask> objectMask, Voxels<T> voxels, ProcessBufferUnary<T> process) Iterate over each voxel (or optionally only on object-mask) with one associated buffer.static voidIterateVoxelsObjectMask.withPoint(ObjectMask firstMask, Optional<ObjectMask> secondMask, ProcessPoint process) Iterate over each point that is located on an object-mask AND optionally a second-maskstatic voidIterateVoxelsObjectMaskOptional.withPoint(Optional<ObjectMask> objectMask, Extent extent, ProcessPoint process) Iterate over all points that are located on a object-mask or else all points in an extent.static voidIterateVoxelsObjectMaskOptional.withSlidingBuffer(Optional<ObjectMask> objectMask, SlidingBuffer<?> buffer, ProcessPoint process) Iterate over each voxel in a sliding-buffer, optionally restricting it to be only voxels in a certain objectstatic <S,T> void IterateVoxelsObjectMaskOptional.withTwoBuffers(Optional<ObjectMask> objectMask, Voxels<S> voxels1, Voxels<T> voxels2, ProcessBufferBinary<S, T> process) Iterate over each voxel (or optionally only on object-mask) with two associated buffers. -
Uses of ObjectMask in org.anchoranalysis.image.voxel.iterator.intersecting
Methods in org.anchoranalysis.image.voxel.iterator.intersecting with parameters of type ObjectMaskModifier and TypeMethodDescriptionstatic intCountVoxelsIntersectingObjects.countIntersectingVoxels(ObjectMask object1, ObjectMask object2) Counts the number of intersecting-voxels between two object-masks.static booleanCountVoxelsIntersectingObjects.hasIntersectingVoxels(ObjectMask object1, ObjectMask object2) Determines whether there are any intersecting voxels on two object-masks. -
Uses of ObjectMask in org.anchoranalysis.image.voxel.iterator.neighbor
Methods in org.anchoranalysis.image.voxel.iterator.neighbor with parameters of type ObjectMaskModifier and TypeMethodDescriptionstatic <T> ProcessVoxelNeighbor<T> ProcessVoxelNeighborFactory.withinMask(ObjectMask object, ProcessChangedPointAbsoluteMasked<T> process) Creates to process neighbors that must lie within anObjectMask.static <T> ProcessVoxelNeighbor<T> ProcessVoxelNeighborFactory.withinMask(ObjectMask object, ProcessVoxelNeighborAbsolute<T> process) Creates to process neighbors that must lie within anObjectMask.Method parameters in org.anchoranalysis.image.voxel.iterator.neighbor with type arguments of type ObjectMaskModifier and TypeMethodDescriptionstatic <T> ProcessVoxelNeighbor<T> ProcessVoxelNeighborFactory.within(Optional<ObjectMask> containingMask, Extent extentFallback, ProcessVoxelNeighborAbsolute<T> process) Creates to process neighbors that must lie within either an object-mask or an extent (as a fallback). -
Uses of ObjectMask in org.anchoranalysis.image.voxel.kernel.count
Constructors in org.anchoranalysis.image.voxel.kernel.count with parameters of type ObjectMaskModifierConstructorDescriptionCountKernelNeighborhoodMask(ObjectMask objectRequireHigh) Create with object-mask. -
Uses of ObjectMask in org.anchoranalysis.image.voxel.neighborhood
Methods in org.anchoranalysis.image.voxel.neighborhood that return types with arguments of type ObjectMaskModifier and TypeMethodDescriptionstatic GraphWithPayload<ObjectMask, Integer> NeighborGraph.create(ObjectCollection objects, Extent sceneExtent, boolean preventObjectIntersection, boolean do3D) Create the graph with object-masks as vertices, where edges represent the number of neighboring voxels between objects.Method parameters in org.anchoranalysis.image.voxel.neighborhood with type arguments of type ObjectMaskModifier and TypeMethodDescriptionstatic <V> GraphWithPayload<V, Integer> NeighborGraph.create(List<V> vertices, Function<V, ObjectMask> vertexToObject, Extent sceneExtent, boolean preventObjectIntersection, boolean do3D) LikeNeighborGraph.create(ObjectCollection, Extent, boolean, boolean)but extracts objects from a list of elements which form the vertices. -
Uses of ObjectMask in org.anchoranalysis.image.voxel.object
Classes in org.anchoranalysis.image.voxel.object that implement interfaces with type arguments of type ObjectMaskMethods in org.anchoranalysis.image.voxel.object that return ObjectMaskModifier and TypeMethodDescriptionMakes sure an object fits inside an extent, removing any parts which do not.ObjectMask.duplicate()Creates a deep-copy of the current object-mask.ObjectMask.extractSlice(int sliceIndex, boolean keepIndex) Extracts one particular slice as an object-maskObjectMask.flattenZ()A maximum-intensity projection.ObjectCollection.get(int index) Get anObjectMaskat a particular position in the collection.ObjectMask.growBuffer(Point3i growthNegative, Point3i growthPositive, Optional<Extent> clipRegion) Grows the object-mask's voxel buffers in the positive and negative directions by a certain amount.ObjectMask.growToZ(int sizeZ) Grows a single z-slicedObjectMaskby duplicating the slice across the z-dimensionsizeZnumber of times.ObjectMask.invert()Produces a new object-mask that uses the same voxel-buffer but switches the off and on mapping.ObjectMask.mapBoundingBoxChangeExtent(BoundingBox boxToAssign) Applies a function to map the bounding-box to a new-value (whose extent is expected to change in value).ObjectMask.mapBoundingBoxPreserveExtent(UnaryOperator<BoundingBox> mapOperation) Applies a function to map the bounding-box to a new-value (whose extent should be unchanged in value).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.regionZ(int zMin, int zMax) Creates an object-mask with a subrange of the slices.ObjectMask.relativeMaskTo(BoundingBox box) Creates a new object-mask with coordinates changed to be relative to another box.ObjectMask.replaceVoxels(Voxels<UnsignedByteBuffer> voxelsToAssign) Replaces the voxels in the object-mask.ObjectMask.scale(ScaleFactor factor) Produces a scaled-version of an object-mask.ObjectMask.scale(ScaleFactor factor, Optional<Extent> clipTo) Produces a scaled-version of an object-mask.ObjectMask.shiftBackBy(ReadableTuple3i shift) Shifts the object-mask by moving its bounding-box backwards.ObjectMask.shiftBy(ReadableTuple3i shift) Shifts the object-mask by moving its bounding-box forwards.ObjectMask.shiftToOrigin()Creates a new object-mask with identical voxels but with the bounding-box beginning at the origin (0,0,0).Methods in org.anchoranalysis.image.voxel.object that return types with arguments of type ObjectMaskModifier and TypeMethodDescriptionObjectCollection.asList()Exposes the underlying objects as aArrayList.static IntersectingObjects<ObjectMask> IntersectingObjects.create(ObjectCollection objects) Creates from anObjectCollection.DeriveObjectFromPoints.deriveObject()Derives anObjectMaskthat includes all points that were previously added.ObjectMaskStream.filterSubsetStream(Predicate<ObjectMask> predicate, Collection<Integer> indices) LikeObjectMaskStream.filterSubset(java.util.function.Predicate<org.anchoranalysis.image.voxel.object.ObjectMask>, java.util.Collection<java.lang.Integer>)but returns a stream rather than aObjectCollection.ObjectMask.intersect(ObjectMask other, Extent extent) Intersects this object-mask with anotherObjectCollection.iterator()ObjectCollection.streamIndices(Collection<Integer> indices) Streams only objects at specific indices.ObjectCollection.streamStandardJava()A stream of object-masks as per Java's standard collections interface.ObjectMaskStream.toSet()Converts to aHashSet.Methods in org.anchoranalysis.image.voxel.object with parameters of type ObjectMaskModifier and TypeMethodDescriptionintObjectMask.countIntersectingVoxels(ObjectMask other) Counts the number of intersecting-voxels between two object-masks.booleanObjectMask.equalsDeep(ObjectMask other) A deep equality check with anotherObjectMask.booleanObjectMask.hasIntersectingVoxels(ObjectMask other) Determines whether there are any intersecting voxels on two object-masks.ObjectMask.intersect(ObjectMask other, Extent extent) Intersects this object-mask with anotherIntersectingObjects.intersectsWith(ObjectMask object) All elements that intersect with a particular object.IntersectingObjects.intersectsWithStream(ObjectMask object) LikeIntersectingObjects.intersectsWith(ObjectMask)but returns the objects as aStreamrather than aSet.static ObjectCollectionObjectCollectionFactory.of(ObjectMask... object) Creates a new collection with elements from the parameter-list.Method parameters in org.anchoranalysis.image.voxel.object with type arguments of type ObjectMaskModifier and TypeMethodDescriptionbooleanObjectMaskStream.anyMatch(Predicate<ObjectMask> predicate) Does the predicate evaluate to true on any object in the collection?ObjectMaskStream.filter(Predicate<ObjectMask> predicate) Filters aObjectCollectionto include certain items based on a predicate<E extends Exception>
ObjectCollectionObjectMaskStream.filter(CheckedPredicate<ObjectMask, E> predicate, Class<? extends Exception> throwableClass) Filters aObjectCollectionto include certain items based on a predicateObjectMaskStream.filterAndMap(Predicate<ObjectMask> predicate, UnaryOperator<ObjectMask> mapFunction) Performs aObjectMaskStream.filter(java.util.function.Predicate<org.anchoranalysis.image.voxel.object.ObjectMask>)and then aObjectMaskStream.map(org.anchoranalysis.core.functional.checked.CheckedFunction<org.anchoranalysis.image.voxel.object.ObjectMask, org.anchoranalysis.image.voxel.object.ObjectMask, E>).ObjectMaskStream.filterAndMap(Predicate<ObjectMask> predicate, UnaryOperator<ObjectMask> mapFunction) Performs aObjectMaskStream.filter(java.util.function.Predicate<org.anchoranalysis.image.voxel.object.ObjectMask>)and then aObjectMaskStream.map(org.anchoranalysis.core.functional.checked.CheckedFunction<org.anchoranalysis.image.voxel.object.ObjectMask, org.anchoranalysis.image.voxel.object.ObjectMask, E>).static <T, E extends Exception>
ObjectCollectionObjectCollectionFactory.filterAndMapFrom(Collection<T> collection, Predicate<T> predicate, Class<? extends E> throwableClass, CheckedFunction<T, ObjectMask, E> mapFunction) Creates a new collection by filtering an iterable and then mapping it toObjectMask.static <T> ObjectCollectionObjectCollectionFactory.filterAndMapFrom(Collection<T> collection, Predicate<T> predicate, Function<T, ObjectMask> mapFunction) Creates a new collection by filtering an iterable and then mapping it toObjectMask.static <T, E extends Exception>
ObjectCollectionObjectCollectionFactory.filterAndMapWithIndexFrom(List<T> list, Predicate<T> predicate, Class<? extends E> throwableClass, CheckedBiFunction<T, Integer, ObjectMask, E> mapFunctionWithIndex) Creates a new collection by filtering a list and then mapping from it toObjectMask.ObjectMaskStream.filterExclude(Predicate<ObjectMask> predicate) Filters aObjectCollectionto exclude certain items based on a predicateObjectMaskStream.filterSubset(Predicate<ObjectMask> predicate, Collection<Integer> indices) LikeObjectMaskStream.filter(java.util.function.Predicate<org.anchoranalysis.image.voxel.object.ObjectMask>)but only operates on certain indices of the collection.ObjectMaskStream.filterSubsetStream(Predicate<ObjectMask> predicate, Collection<Integer> indices) LikeObjectMaskStream.filterSubset(java.util.function.Predicate<org.anchoranalysis.image.voxel.object.ObjectMask>, java.util.Collection<java.lang.Integer>)but returns a stream rather than aObjectCollection.<E extends Exception>
ObjectCollectionObjectMaskStream.flatMap(Class<? extends Exception> throwableClass, CheckedFunction<ObjectMask, ObjectCollection, E> mapFunction) Like a typicalflatMap()operation but accepts a mapping function that throws a checked exception.ObjectMaskStream.flatMap(Function<ObjectMask, ObjectCollection> mapFunction) Creates a newObjectCollectionafter mapping each item to several others.static <T, E extends Exception>
ObjectCollectionObjectCollectionFactory.flatMapFromCollection(Stream<T> stream, Class<? extends Exception> throwableClass, CheckedFunction<T, Stream<? extends ObjectMask>, E> mapFunction) Creates a newObjectCollectionby flatMapping an incoming stream toCollection<ObjectMask>and rethrowing any exception during mapping.static <T, E extends Exception>
ObjectCollectionObjectCollectionFactory.flatMapFromStream(Stream<T> stream, Class<? extends Exception> throwableClass, CheckedFunction<T, Stream<ObjectMask>, E> mapFunction) Creates a new collection by flat-mapping an incoming stream toObjectCollectionand rethrowing any exception during mapping.static ObjectCollectionObjectCollectionFactory.fromRepeated(int repeats, Supplier<ObjectMask> createObjectMask) Creates a new collection by repeatedly calling a function to create a singleObjectMask.static ObjectCollectionObjectCollectionFactory.fromSet(Set<ObjectMask> set) Creates a new collection from a set ofObjectMask.<E extends Exception>
ObjectCollectionObjectMaskStream.map(CheckedFunction<ObjectMask, ObjectMask, E> mapFunction) Creates a newObjectCollectionafter mapping each item to another.<E extends Exception>
ObjectCollectionObjectMaskStream.map(CheckedFunction<ObjectMask, ObjectMask, E> mapFunction) Creates a newObjectCollectionafter mapping each item to another.static <T, E extends Exception>
ObjectCollectionObjectCollectionFactory.mapFrom(Iterable<T> iterable, Class<? extends E> throwableClass, CheckedFunction<T, ObjectMask, E> mapFunction) Creates a new collection by mapping anIterabletoObjectMask.static <T> ObjectCollectionObjectCollectionFactory.mapFrom(Iterable<T> iterable, Function<T, ObjectMask> mapFunction) Creates a new collection by mapping anIterabletoObjectMask.static <T, E extends Exception>
ObjectCollectionObjectCollectionFactory.mapFromOptional(Iterable<T> iterable, Class<? extends Exception> throwableClass, CheckedFunction<T, Optional<ObjectMask>, E> mapFunction) static <T> ObjectCollectionObjectCollectionFactory.mapFromOptional(Iterable<T> iterable, Function<T, Optional<ObjectMask>> mapFunction) static <T, E extends Exception>
ObjectCollectionObjectCollectionFactory.mapFromOptional(Iterator<T> iterator, Class<? extends Exception> throwableClass, CheckedFunction<T, Optional<ObjectMask>, E> mapFunction) static <T> ObjectCollectionObjectCollectionFactory.mapFromOptional(Iterator<T> iterator, Function<T, Optional<ObjectMask>> mapFunction) static <E extends Exception>
ObjectCollectionObjectCollectionFactory.mapFromRange(int startInclusive, int endExclusive, Class<? extends Exception> throwableClass, CheckedIntFunction<ObjectMask, E> mapFunction) Creates a new collection by mapping integers (from a range) each to aObjectMask.static ObjectCollectionObjectCollectionFactory.mapFromRange(int startInclusive, int endExclusive, IntFunction<ObjectMask> mapFunction) Creates a new collection by mapping integers (from a range) each to aObjectMask.ObjectMaskStream.mapToList(CheckedFunction<ObjectMask, T, E> mapFunction) Creates a newListafter mapping each item to another type.ObjectMaskStream.mapToListOptional(CheckedFunction<ObjectMask, Optional<T>, E> mapFunction) Creates a newListafter mapping each item to another (optional) typeObjectMaskStream.mapToSortedSet(CheckedFunction<ObjectMask, T, E> mapFunction) Creates a newSortedSetafter mapping each item to another type.ObjectMaskStream.maxAsInt(ToIntFunction<ObjectMask> function) Finds the maximum value of a function applied to each object in the collection.ObjectMaskStream.minAsInt(ToIntFunction<ObjectMask> function) Finds the minimum value of a function applied to each object in the collection.Constructor parameters in org.anchoranalysis.image.voxel.object with type arguments of type ObjectMaskModifierConstructorDescriptionIntersectingObjects(Collection<T> elements, Function<T, ObjectMask> extractObject) Creates an r-tree for particular objects, as extracted from elements.ObjectCollection(ArrayList<ObjectMask> objects) Creates with the underlying list.ObjectCollection(Stream<ObjectMask> stream) Creates with elements from a stream. -
Uses of ObjectMask in org.anchoranalysis.image.voxel.object.morphological
Methods in org.anchoranalysis.image.voxel.object.morphological that return ObjectMaskModifier and TypeMethodDescriptionstatic ObjectMaskMorphologicalDilation.dilate(ObjectMask object, Optional<Extent> extent, boolean useZ, int iterations, boolean bigNeighborhood) Dilates anObjectMask, growing the bounding-box as necessary.static ObjectMaskMorphologicalErosion.erode(ObjectMask object, int iterations, boolean useZ) Performs a morphological erosion on anObjectMask.static ObjectMaskMorphologicalErosion.erode(ObjectMask object, int iterations, boolean useZ, Optional<AcceptIterationPredicate> postcondition) Performs a morphological erosion on anObjectMask- with a postcondition.Methods in org.anchoranalysis.image.voxel.object.morphological with parameters of type ObjectMaskModifier and TypeMethodDescriptionstatic ObjectMaskMorphologicalDilation.dilate(ObjectMask object, Optional<Extent> extent, boolean useZ, int iterations, boolean bigNeighborhood) Dilates anObjectMask, growing the bounding-box as necessary.static ObjectMaskMorphologicalErosion.erode(ObjectMask object, int iterations, boolean useZ) Performs a morphological erosion on anObjectMask.static ObjectMaskMorphologicalErosion.erode(ObjectMask object, int iterations, boolean useZ, Optional<AcceptIterationPredicate> postcondition) Performs a morphological erosion on anObjectMask- with a postcondition. -
Uses of ObjectMask in org.anchoranalysis.image.voxel.thresholder
Method parameters in org.anchoranalysis.image.voxel.thresholder with type arguments of type ObjectMaskModifier and TypeMethodDescriptionstatic BinaryVoxels<UnsignedByteBuffer> VoxelsThresholder.threshold(VoxelsUntyped voxels, float level, BinaryValuesByte binaryValues, Optional<ObjectMask> objectMask, boolean alwaysDuplicate) Applies thresholding toVoxelsUntyped.