Package | Description |
---|---|
net.imglib2.algorithm.labeling | |
net.imglib2.algorithm.util.unionfind |
Modifier and Type | Method and Description |
---|---|
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>,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. |
Modifier and Type | Class and Description |
---|---|
class |
IntArrayRankedUnionFind |
class |
IntArrayUnionFind |
class |
LongHashMapUnionFind |
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 . |
Copyright © 2015–2022 ImgLib2. All rights reserved.