public class RandomImgs extends Object
Modifier and Type | Method and Description |
---|---|
<T extends NativeType<T>> |
nextImage(T type,
Interval interval)
Creates an image with randomized content.
|
<T extends NativeType<T>> |
nextImage(T type,
long... dims)
Creates an image with randomized content
|
<I extends RandomAccessibleInterval<T>,T> |
randomize(I image)
Randomizes the content of the given image.
|
static RandomImgs |
seed(int seed) |
public static RandomImgs seed(int seed)
public <T extends NativeType<T>> RandomAccessibleInterval<T> nextImage(T type, Interval interval)
type
- Pixel typeinterval
- Intervalpublic <T extends NativeType<T>> Img<T> nextImage(T type, long... dims)
type
- Pixel typedims
- Dimensionspublic <I extends RandomAccessibleInterval<T>,T> I randomize(I image)
Copyright © 2015–2022 ImgLib2. All rights reserved.