public class Ellipses extends Object
{@link EllipseCursor},
{@link EllipseCursor}| Modifier and Type | Method and Description |
|---|---|
static <T extends Add<T>> |
add(RandomAccessible<T> rai,
Localizable center,
long radiusX,
long radiusY,
int dimX,
int dimY,
T value)
Writes an ellipse in the target
RandomAccessible. |
static <T extends Add<T>> |
add(RandomAccessible<T> rai,
Localizable center,
long radiusX,
long radiusY,
T value)
Writes an ellipse in the target
RandomAccessible. |
static <T extends RealType<T>> |
inc(RandomAccessible<T> rai,
Localizable center,
long radiusX,
long radiusY)
Writes an ellipse in the target
RandomAccessible. |
static <T extends RealType<T>> |
inc(RandomAccessible<T> rai,
Localizable center,
long radiusX,
long radiusY,
int dimX,
int dimY)
Writes an ellipse in the target
RandomAccessible. |
static <T extends Type<T>> |
set(RandomAccessible<T> rai,
Localizable center,
long radiusX,
long radiusY,
int dimX,
int dimY,
T value)
Writes an ellipse in the target
RandomAccessible. |
static <T extends Type<T>> |
set(RandomAccessible<T> rai,
Localizable center,
long radiusX,
long radiusY,
T value)
Writes an ellipse in the target
RandomAccessible. |
public static <T extends RealType<T>> void inc(RandomAccessible<T> rai, Localizable center, long radiusX, long radiusY)
RandomAccessible. The ellipse is
written by incrementing the pixel values by 1 along the ellipse.
The ellipse is written in a plane in dimensions 0 and 1.T - the type of the target image.rai - the random accessible. It is the caller responsibility to
ensure it can be accessed everywhere the ellipse will be
iterated.center - the ellipse center. Must be at least of dimension 2.
Dimensions 0 and 1 are used to specify the ellipse center.radiusX - the ellipse X radius.radiusY - the ellipse Y radius.public static <T extends RealType<T>> void inc(RandomAccessible<T> rai, Localizable center, long radiusX, long radiusY, int dimX, int dimY)
RandomAccessible. The ellipse is
written by incrementing the pixel values by 1 along the ellipse.
The ellipse is written in a plane in specified dimensions.T - the type of the target image.rai - the random accessible. It is the caller responsibility to
ensure it can be accessed everywhere the ellipse will be
iterated.center - the ellipse center. Must contain at least dimensions
dimX and dimY, used to specify the
ellipse center.radiusX - the ellipse X radius.radiusY - the ellipse Y radius.dimX - the first dimension of the plane in which to draw the ellipse.dimY - the second dimension of the plane in which to draw the
ellipse.public static <T extends Type<T>> void set(RandomAccessible<T> rai, Localizable center, long radiusX, long radiusY, T value)
RandomAccessible. The ellipse is
written by setting the pixel values with the specified value. The
ellipse is written in a plane in dimensions 0 and 1.T - the type of the target image.rai - the target random accessible. It is the caller responsibility
to ensure it can be accessed everywhere the ellipse will be
iterated.center - the ellipse center. Must be at least of dimension 2.
Dimensions 0 and 1 are used to specify the ellipse center.radiusX - the ellipse X radius.radiusY - the ellipse Y radius.value - the value to write along the ellipse.public static <T extends Type<T>> void set(RandomAccessible<T> rai, Localizable center, long radiusX, long radiusY, int dimX, int dimY, T value)
RandomAccessible. The ellipse is
written by setting the pixel values with the specified value.T - the type of the target image.rai - the target random accessible. It is the caller responsibility
to ensure it can be accessed everywhere the ellipse will be
iterated.center - the ellipse center. Must contain at least dimensions
dimX and dimY, used to specify the
ellipse center.radiusX - the ellipse X radius.radiusY - the ellipse Y radius.dimX - the first dimension of the plane in which to draw the ellipse.dimY - the second dimension of the plane in which to draw the
ellipse.value - the value to write along the ellipse.public static <T extends Add<T>> void add(RandomAccessible<T> rai, Localizable center, long radiusX, long radiusY, T value)
RandomAccessible. The ellipse is
written by adding the specified value to the pixel values already
in the image. The ellipse is written in a plane in dimensions 0 and 1.T - the type of the target image.rai - the random accessible. It is the caller responsibility to
ensure it can be accessed everywhere the ellipse will be
iterated.center - the ellipse center. Must be at least of dimension 2.
Dimensions 0 and 1 are used to specify the ellipse center.radiusX - the ellipse X radius.radiusY - the ellipse Y radius.value - the value to add along the ellipse.public static <T extends Add<T>> void add(RandomAccessible<T> rai, Localizable center, long radiusX, long radiusY, int dimX, int dimY, T value)
RandomAccessible. The ellipse is
written by adding the specified value to the pixel values already
in the image.T - the type of the target image.rai - the random accessible. It is the caller responsibility to
ensure it can be accessed everywhere the ellipse will be
iterated.center - the ellipse center. Must contain at least dimensions
dimX and dimY, used to specify the
ellipse center.radiusX - the ellipse X radius.radiusY - the ellipse Y radius.dimX - the first dimension of the plane in which to draw the ellipse.dimY - the second dimension of the plane in which to draw the
ellipse.value - the value to add along the ellipse.Copyright © 2015–2022 ImgLib2. All rights reserved.