public class GeometricBlur extends Object
Constructor and Description |
---|
GeometricBlur() |
GeometricBlur(ij.process.ImageProcessor ip,
double sig,
int steps) |
Modifier and Type | Method and Description |
---|---|
int |
getBlursteps() |
ij.process.ImageProcessor |
getIp() |
int |
getPixel(ImagePoint q,
ImagePoint center)
Returns the spacially blurred pixel value at the point q, assuming that
center is the source of the blur.
|
float |
getPixelValue(ImagePoint q,
ImagePoint center)
Returns the spacially blurred pixel value at the point q, assuming that
center is the source of the blur.
|
double |
getSigma() |
void |
paintInto(ij.process.ImageProcessor out,
ImagePoint center) |
void |
setBlursteps(int blursteps) |
void |
setIp(ij.process.ImageProcessor ip) |
void |
setSigma(double sigma) |
public GeometricBlur()
public GeometricBlur(ij.process.ImageProcessor ip, double sig, int steps)
ip
- image processor of source imagesig
- maximum sigma of gauss blursteps
- how many slices of images (with differing sigma) should be
created.public void paintInto(ij.process.ImageProcessor out, ImagePoint center)
out
- write blurred image into this image processorcenter
- point in the source image being the center of the querypublic int getPixel(ImagePoint q, ImagePoint center)
q
- pixel coordinate that should be retrievedcenter
- the source of the blurImageProcessor.getPixel(int, int)
public float getPixelValue(ImagePoint q, ImagePoint center)
q
- pixel coordante which should be retrievedcenter
- the source of the blurImageProcessor.getPixelValue(int, int)
public ij.process.ImageProcessor getIp()
public void setIp(ij.process.ImageProcessor ip)
public int getBlursteps()
public void setBlursteps(int blursteps)
public double getSigma()
public void setSigma(double sigma)
Copyright © 2013. All Rights Reserved.