<< ROI Processing ROI Processing imroifilt >>

IPCV >> ROI Processing > imroifill

imroifill

Fill and image using the border color of the selected region

Syntax

result = imroifill(imin,mask)

Parameters

imin :

Input Image

mask :

Input mask

result :

Output Image

Description

This function is to fill the selected region with the borders' value, which would remove an object from an image/

Examples

S = imread(fullpath(getIPCVpath() + "/images/coins_gray.jpg"));
mask = imroi(S);
imout = imroifill(S,mask);
imshow(S);
scf; imshow(imout);

See also

Authors


Report an issue
<< ROI Processing ROI Processing imroifilt >>