public class ImageInpaintingOptions extends Object
| Constructor | Description |
|---|---|
ImageInpaintingOptions() |
| Modifier and Type | Method | Description |
|---|---|---|
ImageInpaintingOptions |
addPolygonsItem(Polygon polygonsItem) |
|
ImageInpaintingOptions |
addRectanglesItem(Rectangle rectanglesItem) |
|
boolean |
equals(Object o) |
|
String |
getMethod() |
Gets or sets the inpainting algorithm: PatchBased or Telea.
|
Integer |
getPatchSize() |
Gets or sets the patch size used by the algorithm.
|
List<Polygon> |
getPolygons() |
Gets or sets the polygonal regions to inpaint, in image pixels.
|
List<Rectangle> |
getRectangles() |
Gets or sets the rectangular regions to inpaint, in image pixels.
|
int |
hashCode() |
|
ImageInpaintingOptions |
method(String method) |
|
ImageInpaintingOptions |
patchSize(Integer patchSize) |
|
ImageInpaintingOptions |
polygons(List<Polygon> polygons) |
|
ImageInpaintingOptions |
rectangles(List<Rectangle> rectangles) |
|
void |
setMethod(String method) |
|
void |
setPatchSize(Integer patchSize) |
|
void |
setPolygons(List<Polygon> polygons) |
|
void |
setRectangles(List<Rectangle> rectangles) |
|
String |
toString() |
public ImageInpaintingOptions rectangles(List<Rectangle> rectangles)
public ImageInpaintingOptions addRectanglesItem(Rectangle rectanglesItem)
public List<Rectangle> getRectangles()
public ImageInpaintingOptions polygons(List<Polygon> polygons)
public ImageInpaintingOptions addPolygonsItem(Polygon polygonsItem)
public List<Polygon> getPolygons()
public ImageInpaintingOptions method(String method)
public String getMethod()
public void setMethod(String method)
public ImageInpaintingOptions patchSize(Integer patchSize)
public Integer getPatchSize()
public void setPatchSize(Integer patchSize)
Copyright © 2026. All rights reserved.