Modifier and Type | Method and Description |
---|---|
static <T extends IntegerType<T>> |
HoughTransforms.pickLinePeaks(RandomAccessibleInterval<T> voteSpace,
long threshold)
Pick vote space peaks with a
LocalExtrema . |
static <T extends Comparable<T>,U extends IntegerType<U>> |
HoughTransforms.voteLines(RandomAccessibleInterval<T> input,
RandomAccessibleInterval<U> votespace)
Runs a Hough Line Tranform on an image and populates the vote space
parameter with the results.
|
static <T extends Comparable<T>,U extends IntegerType<U>> |
HoughTransforms.voteLines(RandomAccessibleInterval<T> input,
RandomAccessibleInterval<U> votespace,
int nTheta)
Runs a Hough Line Tranform on an image and populates the vote space
parameter with the results.
|
static <T extends Comparable<T>,U extends IntegerType<U>> |
HoughTransforms.voteLines(RandomAccessibleInterval<T> input,
RandomAccessibleInterval<U> votespace,
int nTheta,
int nRho)
Runs a Hough Line Tranform on an image and populates the vote space
parameter with the results.
|
static <T,U extends IntegerType<U>> |
HoughTransforms.voteLines(RandomAccessibleInterval<T> input,
RandomAccessibleInterval<U> votespace,
int nTheta,
int nRho,
Predicate<T> filter)
Runs a Hough Line Tranform on an image and populates the vote space
parameter with the results.
|
static <T extends Comparable<T>,U extends IntegerType<U>> |
HoughTransforms.voteLines(RandomAccessibleInterval<T> input,
RandomAccessibleInterval<U> votespace,
int nTheta,
int nRho,
T threshold)
Runs a Hough Line Tranform on an image and populates the vote space
parameter with the results.
|
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.
|
static <T extends IntegerType<T>,L,I extends IntegerType<I>> |
ConnectedComponents.labelAllConnectedComponents(RandomAccessible<T> input,
ImgLabeling<L,I> labeling,
Iterator<L> labelGenerator,
ConnectedComponents.StructuringElement se)
Label all connected components in the given input image.
|
static <T extends IntegerType<T>,L,I extends IntegerType<I>> |
ConnectedComponents.labelAllConnectedComponents(RandomAccessible<T> input,
ImgLabeling<L,I> labeling,
Iterator<L> labelGenerator,
ConnectedComponents.StructuringElement se)
Label all connected components in the given input image.
|
static <T extends IntegerType<T>,L,I extends IntegerType<I>> |
ConnectedComponents.labelAllConnectedComponents(RandomAccessible<T> input,
ImgLabeling<L,I> labeling,
Iterator<L> labelGenerator,
ConnectedComponents.StructuringElement se,
ExecutorService service)
Label all connected components in the given input image.
|
static <T extends IntegerType<T>,L,I extends IntegerType<I>> |
ConnectedComponents.labelAllConnectedComponents(RandomAccessible<T> input,
ImgLabeling<L,I> labeling,
Iterator<L> labelGenerator,
ConnectedComponents.StructuringElement se,
ExecutorService service)
Label all connected components in the given input image.
|
static <T extends IntegerType<T>,L extends IntegerType<L>> |
ConnectedComponents.labelAllConnectedComponents(RandomAccessible<T> input,
RandomAccessibleInterval<L> output,
ConnectedComponents.StructuringElement se)
"Label" all connected components in the given input image.
|
static <T extends IntegerType<T>,L extends IntegerType<L>> |
ConnectedComponents.labelAllConnectedComponents(RandomAccessible<T> input,
RandomAccessibleInterval<L> output,
ConnectedComponents.StructuringElement se)
"Label" all connected components in the given input image.
|
static <T extends IntegerType<T>,L extends IntegerType<L>> |
ConnectedComponents.labelAllConnectedComponents(RandomAccessible<T> input,
RandomAccessibleInterval<L> output,
ConnectedComponents.StructuringElement se,
ExecutorService service)
"Label" all connected components in the given input image.
|
static <T extends IntegerType<T>,L extends IntegerType<L>> |
ConnectedComponents.labelAllConnectedComponents(RandomAccessible<T> input,
RandomAccessibleInterval<L> output,
ConnectedComponents.StructuringElement se,
ExecutorService service)
"Label" all connected components in the given input image.
|
Modifier and Type | Method and Description |
---|---|
static <I extends IntegerType<I>,O extends IntegerType<O>> |
Util.genericIntegerTypeConverter() |
static <I extends IntegerType<I>,O extends IntegerType<O>> |
Util.genericIntegerTypeConverter() |
Modifier and Type | Class and Description |
---|---|
class |
IntBinMapper<T extends IntegerType<T>>
A HistogramBinMapper over IntegerTypes, using the values themselves as the
histogram bin centers.
|
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 <L extends IntegerType<L>> |
UnionFind.relabel(RandomAccessibleInterval<L> labeling)
Relabel all 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 | Class and Description |
---|---|
class |
Integer1dBinMapper<T extends IntegerType<T>>
Maps integer values into a 1-d set of bins.
|
Modifier and Type | Method and Description |
---|---|
static <K extends IntegerType<K>> |
Integer1dBinMapper.histogramNd(long[] minVals,
long[] numBins,
boolean[] tailBins)
This is a convenience method for creating a
HistogramNd from
inputs that describe a set of integer 1-d based bin mappers. |
Modifier and Type | Class and Description |
---|---|
class |
LabelingConvertedCursor<I extends IntegerType<I>,T extends Comparable<T>>
Deprecated.
|
class |
LabelingConvertedRandomAccess<I extends IntegerType<I>,T extends Comparable<T>>
Deprecated.
|
class |
NativeImgLabeling<T extends Comparable<T>,I extends IntegerType<I>>
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected IntegerType<?> |
LabelingType.type
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IntegerType<?> |
LabelingType.getIndex()
Deprecated.
|
Constructor and Description |
---|
LabelingMapping(IntegerType<?> value)
Deprecated.
|
LabelingType(IntegerType<?> type,
LabelingMapping<T> mapping)
Deprecated.
|
LabelingType(IntegerType<?> type,
LabelingMapping<T> mapping,
long[] generation)
Deprecated.
Constructor for mirroring state with another labeling
|
Modifier and Type | Class and Description |
---|---|
class |
ImgLabeling<T,I extends IntegerType<I>>
A labeling backed by a
image of integer
indices. |
Modifier and Type | Field and Description |
---|---|
protected IntegerType<?> |
LabelingType.type |
Modifier and Type | Method and Description |
---|---|
static <T,I extends IntegerType<I>> |
ImgLabeling.fromImageAndLabels(RandomAccessibleInterval<I> img,
List<T> labels)
Creates a non empty ImgLabeling, from an index image and a list of
labels.
|
static <T,I extends IntegerType<I>> |
ImgLabeling.fromImageAndLabelSets(RandomAccessibleInterval<I> img,
List<Set<T>> labelSets)
Creates a non empty ImgLabeling, from an index image and a list of label
sets.
|
static <T,I extends IntegerType<I>> |
Labelings.getOccurringPixelSets(ImgLabeling<T,I> img)
Return a
Set of occurring pixel values in the ImgLabeling index image. |
static <T,I extends IntegerType<I>> |
Labelings.hasIntersectingLabels(ImgLabeling<T,I> img)
Check if the image labeling
img has intersecting labels. |
static <T,U,I extends IntegerType<I>> |
Labelings.remapLabels(ImgLabeling<T,I> labeling,
Function<T,U> function)
Create a new
ImgLabeling from an input labeling, with the labels
transformed according to the provided Function . |
static <T,U,I extends IntegerType<I>> |
Labelings.remapLabels(ImgLabeling<T,I> labeling,
Map<T,U> mapping)
Create a new
ImgLabeling from an input labeling, with the labels
transformed according to the provided Map . |
Modifier and Type | Method and Description |
---|---|
IntegerType<?> |
LabelingType.getIndex() |
Constructor and Description |
---|
LabelingMapping(IntegerType<?> indexType)
Create a new
LabelingMapping that maps label sets to the given
integral indexType . |
LabelingType(IntegerType<?> type,
LabelingMapping<T> mapping,
LabelingType.ModCount modCount)
Constructor for mirroring state with another labeling
|
Modifier and Type | Method and Description |
---|---|
static void |
ImgLib2Assert.assertImageEqualsIntegerType(RandomAccessibleInterval<? extends IntegerType<?>> expected,
RandomAccessibleInterval<? extends IntegerType<?>> actual)
Throws an AssertionError, if the content or intervals of the two images
differ.
|
static void |
ImgLib2Assert.assertImageEqualsIntegerType(RandomAccessibleInterval<? extends IntegerType<?>> expected,
RandomAccessibleInterval<? extends IntegerType<?>> actual)
Throws an AssertionError, if the content or intervals of the two images
differ.
|
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 | Interface and Description |
---|---|
interface |
IntegerType<T extends IntegerType<T>>
TODO
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractIntegerBitType<T extends AbstractIntegerBitType<T>>
The performance of this type is traded off for the gain in memory storage.
|
class |
AbstractIntegerType<T extends AbstractIntegerType<T>>
TODO
|
class |
ByteLongAccessType |
class |
ByteType
TODO
|
class |
GenericByteLongAccessType<T extends GenericByteLongAccessType<T>>
TODO
|
class |
GenericByteType<T extends GenericByteType<T>>
TODO
|
class |
GenericIntLongAccessType<T extends GenericIntLongAccessType<T>> |
class |
GenericIntType<T extends GenericIntType<T>>
TODO
|
class |
GenericLongLongAccessType<T extends GenericLongLongAccessType<T>>
Abstract superclass for Long types.
|
class |
GenericLongType<T extends GenericLongType<T>>
Abstract superclass for Long types.
|
class |
GenericShortLongAccessType<T extends GenericShortLongAccessType<T>>
Abstract base class for
native IntegerType s that
encode their value into a 16bit short. |
class |
GenericShortType<T extends GenericShortType<T>>
Abstract base class for
native IntegerType s that
encode their value into a 16bit short. |
class |
IntLongAccessType |
class |
IntType
TODO
|
class |
LongLongAccessType |
class |
LongType
TODO
|
class |
ShortLongAccessType |
class |
ShortType
TODO
|
class |
Unsigned128BitType
A
Type with a bit depth of 128. |
class |
Unsigned12BitType
A 12-bit
Type whose data is stored in a LongAccess . |
class |
Unsigned2BitType
A
Type with a bit depth of 2. |
class |
Unsigned4BitType
A
Type with a bit depth of 4. |
class |
UnsignedByteLongAccessType |
class |
UnsignedByteType
TODO
|
class |
UnsignedIntLongAccessType |
class |
UnsignedIntType
TODO
|
class |
UnsignedLongLongAccessType
TODO
|
class |
UnsignedLongType
TODO
|
class |
UnsignedShortLongAccessType |
class |
UnsignedShortType
TODO
|
class |
UnsignedVariableBitLengthType
A
Type with arbitrary bit depth up to maximum 64 bits. |
Modifier and Type | Method and Description |
---|---|
static <T extends IntegerType<T>> |
ImgUtil.copy(Img<T> src,
int[] dest,
int offset,
int[] stride) |
static <T extends IntegerType<T>> |
ImgUtil.copy(Img<T> src,
long[] dest,
int offset,
int[] stride) |
static <T extends IntegerType<T>> |
ImgUtil.copy(Img<T> src,
short[] dest,
int offset,
int[] stride) |
static <T extends IntegerType<T>> |
ImgUtil.copy(int[] src,
int offset,
int[] stride,
Img<T> dest) |
static <T extends IntegerType<T>> |
ImgUtil.copy(long[] src,
int offset,
int[] stride,
Img<T> dest) |
Modifier and Type | Method and Description |
---|---|
static Collection<BigInteger> |
FlatCollections.bigIntegerCollection(IterableInterval<? extends IntegerType<?>> image)
Wraps an
IntegerType iterable image as a collection. |
static List<BigInteger> |
FlatCollections.bigIntegerList(RandomAccessibleInterval<? extends IntegerType<?>> image)
Wraps a
IntegerType random-accessible image as a list. |
static Collection<Integer> |
FlatCollections.integerCollection(IterableInterval<? extends IntegerType<?>> image)
Wraps an
IntegerType iterable image as a collection. |
static List<Integer> |
FlatCollections.integerList(RandomAccessibleInterval<? extends IntegerType<?>> image)
Wraps an
IntegerType random-accessible image as a list. |
static Collection<Long> |
FlatCollections.longCollection(IterableInterval<? extends IntegerType<?>> image)
Wraps an
IntegerType iterable image as a collection. |
static List<Long> |
FlatCollections.longList(RandomAccessibleInterval<? extends IntegerType<?>> image)
Wraps an
IntegerType random-accessible image as a list. |
Modifier and Type | Method and Description |
---|---|
static <T extends IntegerType<T>> |
Views.expandValue(RandomAccessibleInterval<T> source,
int value,
long... border)
Expand a RandomAccessibleInterval as specified by border.
|
static <T extends IntegerType<T>> |
Views.expandValue(RandomAccessibleInterval<T> source,
long value,
long... border)
Expand a RandomAccessibleInterval as specified by border.
|
static <T extends IntegerType<T>,F extends RandomAccessibleInterval<T>> |
Views.extendValue(F source,
int value)
Extend a RandomAccessibleInterval with a constant-value out-of-bounds
strategy.
|
static <T extends IntegerType<T>,F extends RandomAccessibleInterval<T>> |
Views.extendValue(F source,
long value)
Extend a RandomAccessibleInterval with a constant-value out-of-bounds
strategy.
|
Copyright © 2015–2022 ImgLib2. All rights reserved.