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
ConstructorsConstructorDescriptionCompositeIntervalView
(RandomAccessibleInterval<T> source, CompositeFactory<T, C> compositeFactory) -
Method Summary
Modifier and TypeMethodDescriptionlong
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 final <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 Details
-
CompositeIntervalView
public CompositeIntervalView(RandomAccessibleInterval<T> source, CompositeFactory<T, C> compositeFactory)
-
-
Method Details
-
zeroMinN
-
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
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
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
- Parameters:
min
-
-
realMin
Description copied from interface:RealInterval
Sets aRealPositionable
to the minimum of thisInterval
- Specified by:
realMin
in interfaceRealInterval
- Parameters:
min
-
-
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
- Parameters:
max
-
-
realMax
Description copied from interface:RealInterval
Sets aRealPositionable
to the maximum of thisInterval
- Specified by:
realMax
in interfaceRealInterval
- Parameters:
max
-
-
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
- Parameters:
dimensions
-
-
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
- Parameters:
d
-
-