@Deprecated public class SamplingLineIterator<T> extends AbstractLineIterator implements Sampler<T>
| Constructor and Description |
|---|
SamplingLineIterator(int dim,
long size,
RandomAccess<T> randomAccess,
Img<T> processLine,
T copy,
T tmp)
Deprecated.
Make a new SamplingLineIterator which iterates a 1d line of a certain
length and is used as the input for the convolution operation
|
| Modifier and Type | Method and Description |
|---|---|
SamplingLineIterator<T> |
copy()
Deprecated.
|
T |
get()
Deprecated.
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
Img<T> |
getProcessLine()
Deprecated.
|
fwd, getOffset, getPositionable, hasNext, jumpFwd, resetpublic SamplingLineIterator(int dim,
long size,
RandomAccess<T> randomAccess,
Img<T> processLine,
T copy,
T tmp)
dim - - which dimension to iterate (dimension id)size - - number of pixels to iteraterandomAccess - - the RandomAccess which is moved along the line and
is placed at the right location (one pixel left of the
starting pixel)processLine - - the line that will be used for processing and is associated
with this SamplingLineIterator, this is important for
multithreading so that each SamplingLineIterator has its own
temporary space for computing the gaussian convolutionpublic Img<T> getProcessLine()
SamplingLineIteratorpublic T get()
SamplerSampler points at.public SamplingLineIterator<T> copy()
copy in interface Sampler<T>Sampler in the same state accessing the same
values.
It does NOT copy T, just the state of the Sampler.
Otherwise use T.copy() if available.
Sampler.copy().get() == Sampler.get(), i.e. both hold the same
value, not necessarily the same instance (this is the case for an
ArrayCursor for example)Copyright © 2015–2022 ImgLib2. All rights reserved.