public abstract class Mapping extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected boolean |
isInverseFlag |
Constructor and Description |
---|
Mapping() |
Modifier and Type | Method and Description |
---|---|
abstract double[] |
applyTo(double[] pnt) |
void |
applyTo(ImageAccessor sourceAcc,
ImageAccessor targetAcc)
Transforms the source image (contained in "srcInterpol") to the "target"
image using this geometric mapping and the specified pixel interpolator.
|
void |
applyTo(ij.process.ImageProcessor source,
ij.process.ImageProcessor target,
InterpolationMethod im)
Transforms the "source" image to the "target" image using this geometric
mapping and the specified pixel interpolation method.
|
void |
applyTo(ij.process.ImageProcessor ip,
InterpolationMethod im)
Destructively transforms the image in "ip" using this geometric
mapping and the specified pixel interpolation method.
|
Point2D |
applyTo(Point2D pnt) |
Point2D[] |
applyTo(Point2D[] pnts)
Applies this mapping to all points in the pnts array.
|
protected Mapping |
clone() |
Mapping |
duplicate() |
Mapping |
getInverse() |
protected Mapping |
invert() |
boolean |
isInverse() |
protected boolean isInverseFlag
public Mapping()
public abstract double[] applyTo(double[] pnt)
public boolean isInverse()
public Mapping getInverse()
public Point2D[] applyTo(Point2D[] pnts)
pnts
- array of original points.public void applyTo(ij.process.ImageProcessor ip, InterpolationMethod im)
ip
- target image to which THIS mapping is applied.im
- interpolation method.public void applyTo(ij.process.ImageProcessor source, ij.process.ImageProcessor target, InterpolationMethod im)
source
- input image (not modified).target
- output image (modified).im
- interpolation method.public void applyTo(ImageAccessor sourceAcc, ImageAccessor targetAcc)
sourceAcc
- accessor to the source imagetargetAcc
- accessor to the target imageCopyright © 2006–2017, Wilhelm Burger, Mark J. Burge (BSD 2-Clause Simplified License)