Fill in specified regions in image using inward interpolation
To interactively create the ROI mask mask
, you can use
the roipoly
function or the
drawpolygon
function followed by createMask
.
regionfill
smoothly interpolates inward from
the pixel values on the outer boundary of the regions. regionfill
computes
the discrete Laplacian over the regions and solves the Dirichlet boundary
value problem.
drawpolygon
| imfill
| inpaintCoherent
| inpaintExemplar
| poly2mask
| Polygon
| roifilt2
| roipoly