T - BooleanType of the source IterableRegion.public final class Boundary<T extends BooleanType<T>> extends AbstractWrappedInterval<RandomAccessibleInterval<T>> implements IterableRegion<BoolType>
IterableRegion of the boundary pixels of a source boolean
RandomAccessibleInterval. A pixel is a boundary pixel if
true (in the source region),
and
false (not in the source
region).
Boundary.StructuringElement given in the
constructor. Note, that a Boundary constructed with 4-neighborhood
Boundary.StructuringElement is 8-connected, and vice versa.| Modifier and Type | Class and Description |
|---|---|
static class |
Boundary.StructuringElement |
sourceInterval| Constructor and Description |
|---|
Boundary(RandomAccessibleInterval<T> region) |
Boundary(RandomAccessibleInterval<T> region,
Boundary.StructuringElement structuringElement) |
| Modifier and Type | Method and Description |
|---|---|
BoolType |
getType() |
IterableInterval<Void> |
inside()
Get an
IterableInterval view of only the pixels contained in the
region (having value true). |
RandomAccess<BoolType> |
randomAccess() |
RandomAccess<BoolType> |
randomAccess(Interval interval) |
dimension, dimensions, max, max, max, min, min, mingetSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMinclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcursor, iterationOrder, localizingCursor, sizegetAt, getAt, getAtlocalizingSpliterator, spliteratorfirstElement, iterator, parallelStream, streamdimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMinmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMinallPositive, allPositive, dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivenumDimensionspublic Boundary(RandomAccessibleInterval<T> region)
public Boundary(RandomAccessibleInterval<T> region, Boundary.StructuringElement structuringElement)
public IterableInterval<Void> inside()
IterableRegionIterableInterval view of only the pixels contained in the
region (having value true).inside in interface IterableRegion<BoolType>public RandomAccess<BoolType> randomAccess()
randomAccess in interface RandomAccessible<BoolType>public RandomAccess<BoolType> randomAccess(Interval interval)
randomAccess in interface RandomAccessible<BoolType>Copyright © 2009–2024 ImgLib2. All rights reserved.