Modifier and Type | Method and Description |
---|---|
static <B extends BooleanType<B>,L extends IntegerType<L>> |
ConnectedComponentAnalysis.connectedComponents(RandomAccessibleInterval<B> mask,
RandomAccessibleInterval<L> labeling)
Implementation of connected component analysis that uses
IntArrayRankedUnionFind to find sets of pixels that are connected
with respect to a 4-neighborhood (DiamondShape ) or the
generalization for higher dimenions over a binary mask. |
static <B extends BooleanType<B>,L extends IntegerType<L>> |
ConnectedComponentAnalysis.connectedComponents(RandomAccessibleInterval<B> mask,
RandomAccessibleInterval<L> labeling,
Shape shape)
Implementation of connected component analysis that uses
IntArrayRankedUnionFind to find sets of pixels that are connected
with respect to a neighborhood (shape ) over a binary mask. |
static <B extends BooleanType<B>,L extends IntegerType<L>> |
ConnectedComponentAnalysis.connectedComponents(RandomAccessibleInterval<B> mask,
RandomAccessibleInterval<L> labeling,
Shape shape,
LongFunction<UnionFind> unionFindFactory,
ToLongBiFunction<Localizable,L> idForPixel,
LongUnaryOperator idForSet)
Implementation of connected component analysis that uses
UnionFind to find sets of pixels that are connected with respect
to a neighborhood (shape ) over a binary mask. |
static <B extends BooleanType<B>,C extends RealComposite<B>,L extends IntegerType<L>> |
ConnectedComponentAnalysis.connectedComponentsOnAffinities(RandomAccessible<C> affinities,
long[][] affinityOffsets,
RandomAccessibleInterval<L> labeling,
UnionFind uf,
long firstIndex)
Connected components on a regular arbitrary boolean affinity graph.
|
static <B extends BooleanType<B>,C extends RealComposite<B>,L extends IntegerType<L>> |
ConnectedComponentAnalysis.connectedComponentsOnAffinities(RandomAccessible<C> affinities,
long[][] affinityOffsets,
RandomAccessibleInterval<L> labeling,
UnionFind uf,
ToLongBiFunction<Localizable,L> id,
LongUnaryOperator idForSet)
Connected components on a regular arbitrary boolean affinity graph.
|
Modifier and Type | Method and Description |
---|---|
static <B extends BooleanType<B>,U extends RealType<U>> |
DistanceTransform.binaryTransform(RandomAccessible<B> source,
RandomAccessibleInterval<U> target,
Distance d)
Create binary distance transform on
source using arbitrary
Distance d. |
static <B extends BooleanType<B>,U extends RealType<U>> |
DistanceTransform.binaryTransform(RandomAccessible<B> source,
RandomAccessibleInterval<U> target,
Distance d,
ExecutorService es,
int nTasks)
Create binary distance transform on
source using arbitrary
Distance d. |
static <B extends BooleanType<B>,U extends RealType<U>> |
DistanceTransform.binaryTransform(RandomAccessible<B> source,
RandomAccessibleInterval<U> target,
DistanceTransform.DISTANCE_TYPE distanceType,
double... weights)
Create binary distance transform on
source using squared
Euclidian (L2) or L1 distance. |
static <B extends BooleanType<B>,U extends RealType<U>> |
DistanceTransform.binaryTransform(RandomAccessible<B> source,
RandomAccessibleInterval<U> target,
DistanceTransform.DISTANCE_TYPE distanceType,
ExecutorService es,
int nTasks,
double... weights)
Create binary distance transform on
source using squared
Euclidian (L2) or L1 distance. |
static <B extends BooleanType<B>,U extends RealType<U>,V extends RealType<V>> |
DistanceTransform.binaryTransform(RandomAccessible<B> source,
RandomAccessibleInterval<U> tmp,
RandomAccessibleInterval<V> target,
Distance d)
Create binary distance transform on
source using arbitrary
Distance d. |
static <B extends BooleanType<B>,U extends RealType<U>,V extends RealType<V>> |
DistanceTransform.binaryTransform(RandomAccessible<B> source,
RandomAccessibleInterval<U> tmp,
RandomAccessibleInterval<V> target,
Distance d,
ExecutorService es,
int nTasks)
Create binary distance transform on
source using arbitrary
Distance d. |
static <B extends BooleanType<B>,U extends RealType<U>,V extends RealType<V>> |
DistanceTransform.binaryTransform(RandomAccessible<B> source,
RandomAccessibleInterval<U> tmp,
RandomAccessibleInterval<V> target,
DistanceTransform.DISTANCE_TYPE distanceType,
double... weights)
Create binary distance transform on
source using squared
Euclidian (L2) or L1 distance. |
static <B extends BooleanType<B>,U extends RealType<U>,V extends RealType<V>> |
DistanceTransform.binaryTransform(RandomAccessible<B> source,
RandomAccessibleInterval<U> tmp,
RandomAccessibleInterval<V> target,
DistanceTransform.DISTANCE_TYPE distanceType,
ExecutorService es,
int nTasks,
double... weights)
Create binary distance transform on
source using squared
Euclidian (L2) or L1 distance. |
static <B extends BooleanType<B>> |
DistanceTransform.binaryTransform(RandomAccessibleInterval<B> source,
Distance d,
ExecutorService es,
int nTasks)
Create binary distance transform on
source using arbitrary
Distance d. |
Modifier and Type | Method and Description |
---|---|
static <T extends BooleanType<T>> |
Branchpoints.branchpoints(Img<T> source) |
static <T extends BooleanType<T>> |
Branchpoints.branchpoints(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Bridge.bridge(Img<T> source) |
static <T extends BooleanType<T>> |
Bridge.bridge(RandomAccessible<T> source,
IterableInterval<T> target) |
protected <T extends BooleanType<T>> |
Abstract3x3TableOperation.calculate(Img<T> source) |
protected <T extends BooleanType<T>> |
Abstract3x3TableOperation.calculate(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Clean.clean(Img<T> source) |
static <T extends BooleanType<T>> |
Clean.clean(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Endpoints.endpoints(Img<T> source) |
static <T extends BooleanType<T>> |
Endpoints.endpoints(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Fill.fill(Img<T> source) |
static <T extends BooleanType<T>> |
Fill.fill(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Hbreak.hbreak(Img<T> source) |
static <T extends BooleanType<T>> |
Hbreak.hbreak(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Life.life(Img<T> source) |
static <T extends BooleanType<T>> |
Life.life(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Majority.majority(Img<T> source) |
static <T extends BooleanType<T>> |
Majority.majority(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Remove.remove(Img<T> source) |
static <T extends BooleanType<T>> |
Remove.remove(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Spur.spur(Img<T> source) |
static <T extends BooleanType<T>> |
Spur.spur(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Thicken.thicken(Img<T> source) |
static <T extends BooleanType<T>> |
Thicken.thicken(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Thin.thin(Img<T> source) |
static <T extends BooleanType<T>> |
Thin.thin(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Thin1.thin1(Img<T> source) |
static <T extends BooleanType<T>> |
Thin1.thin1(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Thin2.thin2(Img<T> source) |
static <T extends BooleanType<T>> |
Thin2.thin2(RandomAccessible<T> source,
IterableInterval<T> target) |
static <T extends BooleanType<T>> |
Vbreak.vbreak(Img<T> source) |
static <T extends BooleanType<T>> |
Vbreak.vbreak(RandomAccessible<T> source,
IterableInterval<T> target) |
Modifier and Type | Method and Description |
---|---|
static <B extends BooleanType<B>,L extends IntegerType<L>> |
UnionFind.relabel(RandomAccessibleInterval<B> mask,
RandomAccessibleInterval<L> labeling,
UnionFind unionFind,
ToLongBiFunction<Localizable,L> idForPixel,
LongUnaryOperator idForSet)
Relabel all mask pixels into the representative id of their containing
sets as defined by
unionFind . |
default <B extends BooleanType<B>,L extends IntegerType<L>> |
UnionFind.relabel(RandomAccessibleInterval<L> labeling,
ToLongBiFunction<Localizable,L> idForPixel,
LongUnaryOperator idForSet)
Relabel all pixels into the representative id of their containing
sets as defined by
unionFind . |
Modifier and Type | Interface and Description |
---|---|
interface |
IterableRegion<T extends BooleanType<T>>
A region that allows to iterate only the pixels contained in the region
(instead of all pixels in bounding box).
|
interface |
PositionableIterableRegion<T extends BooleanType<T>>
An
IterableRegion that can be moved around. |
Modifier and Type | Method and Description |
---|---|
static <B extends BooleanType<B>> |
Regions.countTrue(RandomAccessibleInterval<B> interval)
Counts the number of true pixels in the given region.
|
static <B extends BooleanType<B>> |
Regions.iterable(RandomAccessibleInterval<B> region)
Obtains an
IterableRegion whose iteration consists of only the
true pixels of a region (instead of all pixels in bounding box). |
static <B extends BooleanType<B>> |
Regions.positionable(RandomAccessibleInterval<B> region)
Make any
RandomAccessibleInterval<BooleanType> into an
PositionableIterableRegion . |
static <T,B extends BooleanType<B>> |
Regions.sampleWithRandomAccessible(RandomAccessible<B> mask,
RandomAccessibleInterval<T> img)
Given a mask and an image, return an
IterableInterval over the
pixels of the image inside the mask. |
static <B extends BooleanType<B>> |
Masks.toMask(RandomAccessible<B> ra)
Wraps the given
RandomAccessible as a Mask . |
static <B extends BooleanType<B>> |
Masks.toMaskInterval(RandomAccessibleInterval<B> rai)
Wraps the given
RandomAccessibleInterval as a
MaskInterval . |
static <B extends BooleanType<B>> |
Masks.toRealMask(RealRandomAccessible<B> rra)
Wraps the given
RealRandomAccessible as a RealMask . |
static <B extends BooleanType<B>> |
Masks.toRealMaskRealInterval(RealRandomAccessibleRealInterval<B> rrari)
Wraps the given
RealRandomAccessibleRealInterval as a
RealMaskRealInterval . |
Modifier and Type | Class and Description |
---|---|
class |
Boundary<T extends BooleanType<T>>
An
IterableRegion of the boundary pixels of a source boolean
RandomAccessibleInterval . |
class |
BoundaryRandomAccess4<T extends BooleanType<T>>
|
class |
BoundaryRandomAccess8<T extends BooleanType<T>>
|
Modifier and Type | Class and Description |
---|---|
class |
MaskAsRandomAccessible<B extends BooleanType<B>>
|
class |
MaskIntervalAsRandomAccessibleInterval<B extends BooleanType<B>>
This class takes a
MaskInterval and wraps it as a
RandomAccessibleInterval . |
class |
MaskPredicateRandomAccess<B extends BooleanType<B>>
|
class |
RandomAccessibleAsMask<B extends BooleanType<B>>
Wraps a
RandomAccessible as a Mask . |
class |
RandomAccessibleIntervalAsMaskInterval<B extends BooleanType<B>>
Wraps a
RandomAccessibleInterval as a MaskInterval . |
Modifier and Type | Class and Description |
---|---|
class |
MaskPredicateRealRandomAccess<B extends BooleanType<B>>
RealRandomAccess based on RealMask . |
class |
RealMaskAsRealRandomAccessible<B extends BooleanType<B>>
This class takes a
RealMask and wraps it as a
RealRandomAccessible . |
class |
RealMaskRealIntervalAsRealRandomAccessibleRealInterval<B extends BooleanType<B>>
Wraps a
RealMaskRealInterval as a
RealRandomAccessibleRealInterval . |
class |
RealRandomAccessibleAsRealMask<B extends BooleanType<B>>
Wraps a
RealRandomAccessible as a RealMask . |
class |
RealRandomAccessibleRealIntervalAsRealMaskRealInterval<B extends BooleanType<B>>
Wraps a
RealRandomAccessibleRealInterval as a
RealMaskRealInterval . |
Modifier and Type | Class and Description |
---|---|
class |
IterableRandomAccessibleRegion<T extends BooleanType<T>>
Deprecated.
|
class |
IterableRegionOnBooleanRAI<T extends BooleanType<T>>
Wrap a boolean
RandomAccessibleInterval as a IterableRegion . |
class |
PositionableWrappedIterableRegion<T extends BooleanType<T>>
Makes a
IterableRegion Positionable by wrapping its accessors
with an offset. |
class |
RandomAccessibleRegionCursor<T extends BooleanType<T>>
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <T extends BooleanType<T>> |
IterableRandomAccessibleRegion.create(RandomAccessibleInterval<T> interval)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BooleanType<T extends BooleanType<T>>
TODO
|
Modifier and Type | Class and Description |
---|---|
class |
BitType
TODO
|
class |
BoolType
A
BooleanType wrapping a single primitive boolean variable. |
class |
NativeBoolType
NativeType backed by boolean . |
Modifier and Type | Method and Description |
---|---|
static <T extends BooleanType<T>> |
ImgUtil.copy(boolean[] src,
int offset,
int[] stride,
Img<T> dest) |
static <T extends BooleanType<T>> |
ImgUtil.copy(Img<T> src,
boolean[] dest,
int offset,
int[] stride) |
Modifier and Type | Method and Description |
---|---|
static Collection<Boolean> |
FlatCollections.booleanCollection(IterableInterval<? extends BooleanType<?>> image)
Wraps a
BooleanType iterable image as a collection. |
static List<Boolean> |
FlatCollections.booleanList(RandomAccessibleInterval<? extends BooleanType<?>> image)
Wraps a
BooleanType random-accessible image as a list. |
Modifier and Type | Method and Description |
---|---|
static <T extends BooleanType<T>> |
Views.expandValue(RandomAccessibleInterval<T> source,
boolean value,
long... border)
Expand a RandomAccessibleInterval as specified by border.
|
static <T extends BooleanType<T>,F extends RandomAccessibleInterval<T>> |
Views.extendValue(F source,
boolean value)
Extend a RandomAccessibleInterval with a constant-value out-of-bounds
strategy.
|
Copyright © 2015–2022 ImgLib2. All rights reserved.