IMAGE
- The type of image that this processor can process@Reference(type=Article, author="Telea, Alexandru", title="An Image Inpainting Technique Based on the Fast Marching Method.", year="2004", journal="J. Graphics, GPU, & Game Tools", pages={"23","34"}, url="http://dblp.uni-trier.de/db/journals/jgtools/jgtools9.html#Telea04", number="1", volume="9", customData={"biburl","http://www.bibsonomy.org/bibtex/2b0bf54e265d011a8e1fe256e6fcf556b/dblp","doi","http://dx.doi.org/10.1080/10867651.2004.10487596","keywords","dblp"}) public class TeleaInpainting<IMAGE extends Image<?,IMAGE> & SinglebandImageProcessor.Processable<Float,FImage,IMAGE>> extends AbstractFMMInpainter<IMAGE>
AbstractFMMInpainter
is extended with a method to inpaint pixels
based on the neighbours and explicitly taking into account the image
gradients in the neighbourhood in order to preserve sharp details and smooth
zones.Modifier and Type | Field and Description |
---|---|
protected Set<Pixel> |
region |
BAND, flag, heap, KNOWN, timeMap, UNKNOWN
mask
Constructor and Description |
---|
TeleaInpainting(int radius)
Construct the inpainting operator with the given radius.
|
Modifier and Type | Method and Description |
---|---|
protected void |
inpaint(int x,
int y,
FImage input) |
protected void |
inpaint(int x,
int y,
IMAGE image)
Inpaint the specified pixel of the given image.
|
protected void |
inpaint(int x,
int y,
MBFImage input) |
initMask, performInpainting, solveEikonalStep
processImage, setMask, setMask, setMask
public TeleaInpainting(int radius)
radius
- the radius for selecting how many pixels are used to make
estimates.protected void inpaint(int x, int y, IMAGE image)
AbstractFMMInpainter
inpaint
in class AbstractFMMInpainter<IMAGE extends Image<?,IMAGE> & SinglebandImageProcessor.Processable<Float,FImage,IMAGE>>
x
- the x-ordinate of the pixel to painty
- the y-ordinate of the pixel to paintimage
- the image