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:
Iterable<C>, Dimensions, EuclideanSpace, Interval, IterableInterval<C>, IterableRealInterval<C>, RandomAccessible<C>, RandomAccessibleInterval<C>, RealInterval, Typed<C>, View
public class CompositeIntervalView<T, C extends Composite<T>>
extends CompositeView<T,C>
implements RandomAccessibleInterval<C>, View
-
Nested Class Summary
Nested classes/interfaces inherited from class CompositeView
CompositeView.CompositeRandomAccess -
Field Summary
FieldsFields inherited from class CompositeView
compositeFactory, n, source -
Constructor Summary
ConstructorsConstructorDescriptionCompositeIntervalView(RandomAccessibleInterval<T> source, CompositeFactory<T, C> compositeFactory) -
Method Summary
Modifier and TypeMethodDescriptionlongdimension(int d) Default implementation ofDimensions.dimension(int).voiddimensions(long[] dimensions) Write the number of pixels in each dimension into long[].longmax(int d) Get the maximum in dimension d.voidmax(long[] max) Write the maximum of each dimension into long[].voidmax(Positionable max) Sets aPositionableto the maximum of thisIntervallongmin(int d) Get the minimum in dimension d.voidmin(long[] min) Write the minimum of each dimension into long[].voidmin(Positionable min) Sets aPositionableto the minimum of thisIntervalvoidrealMax(double[] max) Write the maximum of each dimension into double[].doublerealMax(int d) Get the maximum in dimension d.voidrealMax(RealPositionable max) Sets aRealPositionableto the maximum of thisIntervalvoidrealMin(double[] min) Write the minimum of each dimension into double[].doublerealMin(int d) Get the minimum in dimension d.voidrealMin(RealPositionable min) Sets aRealPositionableto the minimum of thisIntervalprotected static final <T> RandomAccessibleInterval<T> zeroMinN(RandomAccessibleInterval<T> source) Methods inherited from class CompositeView
getType, numDimensions, randomAccess, randomAccessMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Dimensions
dimensions, dimensionsAsLongArray, dimensionsAsPointMethods inherited from interface EuclideanSpace
numDimensionsMethods inherited from interface Interval
maxAsLongArray, maxAsPoint, minAsLongArray, minAsPointMethods inherited from interface IterableInterval
localizingSpliterator, spliteratorMethods inherited from interface IterableRealInterval
firstElement, getType, iterator, parallelStream, streamMethods inherited from interface RandomAccessible
getAt, getAt, getAt, randomAccess, randomAccessMethods inherited from interface RandomAccessibleInterval
cursor, iterationOrder, localizingCursor, sizeMethods inherited from interface RealInterval
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
-
Field Details
-
interval
-
-
Constructor Details
-
CompositeIntervalView
public CompositeIntervalView(RandomAccessibleInterval<T> source, CompositeFactory<T, C> compositeFactory)
-
-
Method Details
-
zeroMinN
-
min
-
min
-
min
Description copied from interface:IntervalSets aPositionableto the minimum of thisInterval -
max
-
max
-
max
Description copied from interface:IntervalSets aPositionableto the maximum of thisInterval -
realMin
public double realMin(int d) Description copied from interface:RealIntervalGet the minimum in dimension d.- Specified by:
realMinin interfaceInterval- Specified by:
realMinin interfaceRealInterval- Parameters:
d- dimension- Returns:
- minimum in dimension d.
-
realMin
public void realMin(double[] min) Description copied from interface:RealIntervalWrite the minimum of each dimension into double[].- Specified by:
realMinin interfaceRealInterval- Parameters:
min-
-
realMin
Description copied from interface:RealIntervalSets aRealPositionableto the minimum of thisInterval- Specified by:
realMinin interfaceRealInterval- Parameters:
min-
-
realMax
public double realMax(int d) Description copied from interface:RealIntervalGet the maximum in dimension d.- Specified by:
realMaxin interfaceInterval- Specified by:
realMaxin interfaceRealInterval- Parameters:
d- dimension- Returns:
- maximum in dimension d.
-
realMax
public void realMax(double[] max) Description copied from interface:RealIntervalWrite the maximum of each dimension into double[].- Specified by:
realMaxin interfaceRealInterval- Parameters:
max-
-
realMax
Description copied from interface:RealIntervalSets aRealPositionableto the maximum of thisInterval- Specified by:
realMaxin interfaceRealInterval- Parameters:
max-
-
dimensions
public void dimensions(long[] dimensions) Description copied from interface:DimensionsWrite the number of pixels in each dimension into long[].- Specified by:
dimensionsin interfaceDimensions- Parameters:
dimensions-
-
dimension
public long dimension(int d) Description copied from interface:IntervalDefault implementation ofDimensions.dimension(int).- Specified by:
dimensionin interfaceDimensions- Specified by:
dimensionin interfaceInterval- Parameters:
d-
-