public interface Img<T> extends RandomAccessibleInterval<T>, IterableInterval<T>
Img
is a RandomAccessibleInterval
that has its min at
0n and its max positive. Img
s store pixels and
thus are the basis for conventional image processing.Modifier and Type | Method and Description |
---|---|
Img<T> |
copy() |
ImgFactory<T> |
factory()
Get a
ImgFactory that creates Img s of the same kind as
this one. |
getAt, getAt, getAt, randomAccess, randomAccess
cursor, localizingCursor
firstElement, iterationOrder, size
forEach, iterator, spliterator
dimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMin
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMin
allPositive, allPositive, dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositive
numDimensions
ImgFactory<T> factory()
ImgFactory
that creates Img
s of the same kind as
this one.
This is useful to create Imgs for temporary storage in generic methods
where the specific Img type is unknown. Note, that the factory can be
used even if all references to this Img have been invalidated.Copyright © 2015–2022 ImgLib2. All rights reserved.