Package net.imglib2
Interface Interval
- All Superinterfaces:
Dimensions,EuclideanSpace,RealInterval
- All Known Subinterfaces:
Img<T>,IterableInterval<T>,NativeImg<T,,A> RandomAccessibleInterval<T>
- All Known Implementing Classes:
AbstractCellImg,AbstractConvertedIterableInterval,AbstractConvertedIterableRandomAccessibleInterval,AbstractConvertedRandomAccessibleInterval,AbstractImg,AbstractInterval,AbstractListImg,AbstractLongListImg,AbstractNativeImg,AbstractWrappedInterval,ARGBScreenImage,ArrayImg,ArrayImgAWTScreenImage,ByteAWTScreenImage,CellImg,CompositeIntervalView,ConvertedIterableInterval,ConvertedRandomAccessibleInterval,DiscreteFrequencyDistribution,DoubleAWTScreenImage,FinalInterval,FloatAWTScreenImage,Histogram1d,HistogramNd,ImgView,IntAWTScreenImage,IntervalIterator,IntervalView,IterableRandomAccessibleInterval,LazyCellImg,LazyCellImg.LazyCells,ListImg,LocalizingIntervalIterator,LocalizingZeroMinIntervalIterator,NtreeCursor,NtreeImg,OffsetableIntervalIterator,OffsetableLocalizingIntervalIterator,PlanarImg,PointSampleList,RandomAccessibleIntervalCursor,ShortAWTScreenImage,StackView,SubsampleIntervalView,UnsignedByteAWTScreenImage,UnsignedIntAWTScreenImage,UnsignedShortAWTScreenImage,WriteConvertedIterableInterval,WriteConvertedIterableRandomAccessibleInterval,WriteConvertedRandomAccessibleInterval,ZeroMinIntervalIterator
{x∈Zn|mind≤ xd≤maxd;d∈{0… n-1}}
An Interval over the discrete source domain. Note that this
does not imply that for all coordinates in the
Interval function values exist or can be generated. It only defines
where the minimum and maximum source coordinates are. E.g. an
IterableInterval has a limited number of values and a source
coordinate for each. By that, minimum and maximum are defined but the
Interval does not define a value for all coordinates in between.
- Author:
- Stephan Saalfeld, Stephan Preibisch
-
Method Summary
Modifier and TypeMethodDescriptionlongmax(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 thisIntervalMethods inherited from interface net.imglib2.Dimensions
dimension, dimensionsMethods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Method Details
-
min
long min(int d) Get the minimum in dimension d.- Parameters:
d- dimension- Returns:
- minimum in dimension d.
-
min
void min(long[] min) Write the minimum of each dimension into long[].- Parameters:
min-
-
min
Sets aPositionableto the minimum of thisInterval- Parameters:
min-
-
max
long max(int d) Get the maximum in dimension d.- Parameters:
d- dimension- Returns:
- maximum in dimension d.
-
max
void max(long[] max) Write the maximum of each dimension into long[].- Parameters:
max-
-
max
Sets aPositionableto the maximum of thisInterval- Parameters:
max-
-