| Package | Description |
|---|---|
| net.imglib2.algorithm.labeling | |
| net.imglib2.algorithm.util.unionfind |
| Modifier and Type | Method and Description |
|---|---|
static <B extends net.imglib2.type.BooleanType<B>,C extends net.imglib2.view.composite.RealComposite<B>,L extends net.imglib2.type.numeric.IntegerType<L>> |
ConnectedComponentAnalysis.connectedComponentsOnAffinities(net.imglib2.RandomAccessible<C> affinities,
long[][] affinityOffsets,
net.imglib2.RandomAccessibleInterval<L> labeling,
UnionFind uf,
long firstIndex)
Connected components on a regular arbitrary boolean affinity graph.
|
static <B extends net.imglib2.type.BooleanType<B>,C extends net.imglib2.view.composite.RealComposite<B>,L extends net.imglib2.type.numeric.IntegerType<L>> |
ConnectedComponentAnalysis.connectedComponentsOnAffinities(net.imglib2.RandomAccessible<C> affinities,
long[][] affinityOffsets,
net.imglib2.RandomAccessibleInterval<L> labeling,
UnionFind uf,
ToLongBiFunction<net.imglib2.Localizable,L> id,
LongUnaryOperator idForSet)
Connected components on a regular arbitrary boolean affinity graph.
|
| Modifier and Type | Method and Description |
|---|---|
static <B extends net.imglib2.type.BooleanType<B>,L extends net.imglib2.type.numeric.IntegerType<L>> |
ConnectedComponentAnalysis.connectedComponents(net.imglib2.RandomAccessibleInterval<B> mask,
net.imglib2.RandomAccessibleInterval<L> labeling,
Shape shape,
LongFunction<UnionFind> unionFindFactory,
ToLongBiFunction<net.imglib2.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. |
| Modifier and Type | Class and Description |
|---|---|
class |
IntArrayRankedUnionFind |
class |
IntArrayUnionFind |
class |
LongHashMapUnionFind |
| Modifier and Type | Method and Description |
|---|---|
static <B extends net.imglib2.type.BooleanType<B>,L extends net.imglib2.type.numeric.IntegerType<L>> |
UnionFind.relabel(net.imglib2.RandomAccessibleInterval<B> mask,
net.imglib2.RandomAccessibleInterval<L> labeling,
UnionFind unionFind,
ToLongBiFunction<net.imglib2.Localizable,L> idForPixel,
LongUnaryOperator idForSet)
Relabel all mask pixels into the representative id of their containing
sets as defined by
unionFind. |
Copyright © 2009–2025 ImgLib2. All rights reserved.