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, getProcessor
protected 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 ImageAccessor
public float[] getPix(double x, double y)
getPix
in class ImageAccessor
public void setPix(int u, int v, float[] pix)
setPix
in class ImageAccessor
Copyright © 2006–2017, Wilhelm Burger, Mark J. Burge (BSD 2-Clause Simplified License)