public abstract static class ImageAccessor.Scalar extends ImageAccessor
ImageAccessor.Byte, ImageAccessor.Float, ImageAccessor.Rgb, ImageAccessor.Scalar, ImageAccessor.Short| Modifier and Type | Field and Description |
|---|---|
protected PixelInterpolator |
interpolator |
protected ij.process.ImageProcessor |
ip |
protected float |
pixelDefaultValue |
height, indexer, interpolationMethod, outOfBoundsStrategy, width| Modifier and Type | Method and Description |
|---|---|
static ImageAccessor.Scalar |
create(ij.process.ImageProcessor ip,
OutOfBoundsStrategy obs,
InterpolationMethod ipm) |
float[] |
getPix(double x,
double y) |
float[] |
getPix(int u,
int v) |
float |
getVal(double x,
double y) |
abstract float |
getVal(int u,
int v) |
void |
setPix(int u,
int v,
float[] pix) |
abstract void |
setVal(int u,
int v,
float val) |
create, getInterpolationMethod, getOutOfBoundsStrategy, getProcessorprotected final ij.process.ImageProcessor ip
protected final float pixelDefaultValue
protected final PixelInterpolator interpolator
public static ImageAccessor.Scalar create(ij.process.ImageProcessor ip, OutOfBoundsStrategy obs, InterpolationMethod ipm)
public abstract float getVal(int u, int v)
public abstract void setVal(int u, int v, float val)
public float getVal(double x, double y)
public float[] getPix(int u, int v)
getPix in class ImageAccessorpublic float[] getPix(double x, double y)
getPix in class ImageAccessorpublic void setPix(int u, int v, float[] pix)
setPix in class ImageAccessorCopyright © 2006–2017, Wilhelm Burger, Mark J. Burge (BSD 2-Clause Simplified License)