public class StackingRealRandomAccessible<T> extends Object implements RealRandomAccessible<T>
RealRandomAccessible
whose samples are generated by trivial
projection of the lower dimensional source
into a higher dimensional target
by continuous
stacking, i.e. when projecting from 1D to 3D, the samples at
f(5) = g(5,2,3) = g(5,1,6) = g(5,18,-20)...Modifier and Type | Class and Description |
---|---|
class |
StackingRealRandomAccessible.StackingRealRandomAccess
RealRandomAccess that generates its samples from a lower
dimensional source |
Modifier and Type | Field and Description |
---|---|
protected int |
numDimensions |
protected RealRandomAccessible<T> |
source |
protected int |
sourceNumDimensions |
Constructor and Description |
---|
StackingRealRandomAccessible(RealRandomAccessible<T> source,
int numDimensions) |
Modifier and Type | Method and Description |
---|---|
int |
numDimensions()
Gets the space's number of dimensions.
|
StackingRealRandomAccessible.StackingRealRandomAccess |
realRandomAccess()
Create a random access sampler for real coordinates.
|
StackingRealRandomAccessible.StackingRealRandomAccess |
realRandomAccess(RealInterval interval)
To be overridden for
RealTransform that can estimate the
boundaries of a transferred RealInterval . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAt, getAt, getAt
protected final int numDimensions
protected final int sourceNumDimensions
protected final RealRandomAccessible<T> source
public StackingRealRandomAccessible(RealRandomAccessible<T> source, int numDimensions)
public StackingRealRandomAccessible.StackingRealRandomAccess realRandomAccess()
RealRandomAccessible
realRandomAccess
in interface RealRandomAccessible<T>
public StackingRealRandomAccessible.StackingRealRandomAccess realRandomAccess(RealInterval interval)
RealTransform
that can estimate the
boundaries of a transferred RealInterval
.realRandomAccess
in interface RealRandomAccessible<T>
public int numDimensions()
EuclideanSpace
numDimensions
in interface EuclideanSpace
Copyright © 2015–2022 ImgLib2. All rights reserved.