public class IntervalChunks extends Object
Constructor and Description |
---|
IntervalChunks() |
Modifier and Type | Method and Description |
---|---|
static List<Interval> |
chunkInterval(Interval interval,
int numberOfChunks)
Returns a list of disjoint intervals, that covers the given interval.
|
public static List<Interval> chunkInterval(Interval interval, int numberOfChunks)
Due to the divisibility of whole numbers, it not always easy to return the correct number of intervals, in that case this method returns a larger number of intervals.
Copyright © 2015–2022 ImgLib2. All rights reserved.