public class CompositeIntervalView<T,C extends Composite<T>> extends CompositeView<T,C> implements RandomAccessibleInterval<C>, View
CompositeView.CompositeRandomAccess
compositeFactory, n, source
Constructor and Description |
---|
CompositeIntervalView(RandomAccessibleInterval<T> source,
CompositeFactory<T,C> compositeFactory) |
Modifier and Type | Method and Description |
---|---|
long |
dimension(int d)
Get the number of pixels in a given dimension d.
|
void |
dimensions(long[] dimensions)
Write the number of pixels in each dimension into long[].
|
long |
max(int d)
Get the maximum in dimension d.
|
void |
max(long[] max)
Write the maximum of each dimension into long[].
|
void |
max(Positionable max)
Sets a
Positionable to the maximum of this Interval |
long |
min(int d)
Get the minimum in dimension d.
|
void |
min(long[] min)
Write the minimum of each dimension into long[].
|
void |
min(Positionable min)
Sets a
Positionable to the minimum of this Interval |
void |
realMax(double[] max)
Write the maximum of each dimension into double[].
|
double |
realMax(int d)
Get the maximum in dimension d.
|
void |
realMax(RealPositionable max)
Sets a
RealPositionable to the maximum of this Interval |
void |
realMin(double[] min)
Write the minimum of each dimension into double[].
|
double |
realMin(int d)
Get the minimum in dimension d.
|
void |
realMin(RealPositionable min)
Sets a
RealPositionable to the minimum of this Interval |
protected static <T> RandomAccessibleInterval<T> |
zeroMinN(RandomAccessibleInterval<T> source) |
numDimensions, randomAccess, randomAccess
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
randomAccess, randomAccess
numDimensions
public CompositeIntervalView(RandomAccessibleInterval<T> source, CompositeFactory<T,C> compositeFactory)
protected static final <T> RandomAccessibleInterval<T> zeroMinN(RandomAccessibleInterval<T> source)
public long min(int d)
Interval
public void min(long[] min)
Interval
public void min(Positionable min)
Interval
Positionable
to the minimum of this Interval
public long max(int d)
Interval
public void max(long[] max)
Interval
public void max(Positionable max)
Interval
Positionable
to the maximum of this Interval
public double realMin(int d)
RealInterval
realMin
in interface RealInterval
d
- dimensionpublic void realMin(double[] min)
RealInterval
realMin
in interface RealInterval
public void realMin(RealPositionable min)
RealInterval
RealPositionable
to the minimum of this Interval
realMin
in interface RealInterval
public double realMax(int d)
RealInterval
realMax
in interface RealInterval
d
- dimensionpublic void realMax(double[] max)
RealInterval
realMax
in interface RealInterval
public void realMax(RealPositionable max)
RealInterval
RealPositionable
to the maximum of this Interval
realMax
in interface RealInterval
public void dimensions(long[] dimensions)
Dimensions
dimensions
in interface Dimensions
public long dimension(int d)
Dimensions
dimension
in interface Dimensions
Copyright © 2009–2017 ImgLib2. All rights reserved.