public static enum Downsample.Offset extends Enum<Downsample.Offset>
| Enum Constant and Description |
|---|
CENTERED
Downsampled pixel centers fall on input pixel centers.
|
HALF_PIXEL
Downsampled pixels are shifted by half a pixel.
|
| Modifier and Type | Method and Description |
|---|---|
static Downsample.Offset |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Downsample.Offset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Downsample.Offset CENTERED
{.25, .5, .25}) of 3 neighboring pixels (respectively
9 pixels for 2D, 27 voxels for 3D, etc).public static final Downsample.Offset HALF_PIXEL
public static Downsample.Offset[] values()
for (Downsample.Offset c : Downsample.Offset.values()) System.out.println(c);
public static Downsample.Offset valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2009–2024 ImgLib2. All rights reserved.