Package net.imglib2.view.composite
Class CompositeIntervalView<T,C extends Composite<T>>
- java.lang.Object
-
- net.imglib2.view.composite.CompositeView<T,C>
-
- net.imglib2.view.composite.CompositeIntervalView<T,C>
-
- All Implemented Interfaces:
Dimensions
,EuclideanSpace
,Interval
,RandomAccessible<C>
,RandomAccessibleInterval<C>
,RealInterval
,View
public class CompositeIntervalView<T,C extends Composite<T>> extends CompositeView<T,C> implements RandomAccessibleInterval<C>, View
- Author:
- Stephan Saalfeld
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.imglib2.view.composite.CompositeView
CompositeView.CompositeRandomAccess
-
-
Field Summary
-
Fields inherited from class net.imglib2.view.composite.CompositeView
compositeFactory, n, source
-
-
Constructor Summary
Constructors Constructor Description CompositeIntervalView(RandomAccessibleInterval<T> source, CompositeFactory<T,C> compositeFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 aPositionable
to the maximum of thisInterval
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 aPositionable
to the minimum of thisInterval
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 aRealPositionable
to the maximum of thisInterval
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 aRealPositionable
to the minimum of thisInterval
protected static <T> RandomAccessibleInterval<T>
zeroMinN(RandomAccessibleInterval<T> source)
-
Methods inherited from class net.imglib2.view.composite.CompositeView
numDimensions, randomAccess, randomAccess
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Methods inherited from interface net.imglib2.RandomAccessible
randomAccess, randomAccess
-
-
-
-
Constructor Detail
-
CompositeIntervalView
public CompositeIntervalView(RandomAccessibleInterval<T> source, CompositeFactory<T,C> compositeFactory)
-
-
Method Detail
-
zeroMinN
protected static final <T> RandomAccessibleInterval<T> zeroMinN(RandomAccessibleInterval<T> source)
-
min
public long min(int d)
Description copied from interface:Interval
Get the minimum in dimension d.
-
min
public void min(long[] min)
Description copied from interface:Interval
Write the minimum of each dimension into long[].
-
min
public void min(Positionable min)
Description copied from interface:Interval
Sets aPositionable
to the minimum of thisInterval
-
max
public long max(int d)
Description copied from interface:Interval
Get the maximum in dimension d.
-
max
public void max(long[] max)
Description copied from interface:Interval
Write the maximum of each dimension into long[].
-
max
public void max(Positionable max)
Description copied from interface:Interval
Sets aPositionable
to the maximum of thisInterval
-
realMin
public double realMin(int d)
Description copied from interface:RealInterval
Get the minimum in dimension d.- Specified by:
realMin
in interfaceRealInterval
- Parameters:
d
- dimension- Returns:
- minimum in dimension d.
-
realMin
public void realMin(double[] min)
Description copied from interface:RealInterval
Write the minimum of each dimension into double[].- Specified by:
realMin
in interfaceRealInterval
-
realMin
public void realMin(RealPositionable min)
Description copied from interface:RealInterval
Sets aRealPositionable
to the minimum of thisInterval
- Specified by:
realMin
in interfaceRealInterval
-
realMax
public double realMax(int d)
Description copied from interface:RealInterval
Get the maximum in dimension d.- Specified by:
realMax
in interfaceRealInterval
- Parameters:
d
- dimension- Returns:
- maximum in dimension d.
-
realMax
public void realMax(double[] max)
Description copied from interface:RealInterval
Write the maximum of each dimension into double[].- Specified by:
realMax
in interfaceRealInterval
-
realMax
public void realMax(RealPositionable max)
Description copied from interface:RealInterval
Sets aRealPositionable
to the maximum of thisInterval
- Specified by:
realMax
in interfaceRealInterval
-
dimensions
public void dimensions(long[] dimensions)
Description copied from interface:Dimensions
Write the number of pixels in each dimension into long[].- Specified by:
dimensions
in interfaceDimensions
-
dimension
public long dimension(int d)
Description copied from interface:Dimensions
Get the number of pixels in a given dimension d.- Specified by:
dimension
in interfaceDimensions
-
-