Filtering of a selected region
imout = imroifilt(imin,f,mask)
Input Image
Input filter
Mask for the ROI
Output image
This function perform filtering over the region specified in mask.
S = imread(fullpath(getIPCVpath() + "/images/balloons_gray.png.")); mask = imroi(S); h = fspecial('unsharp'); S2 = imroifilt(S,h,mask); imshow(S2); | ![]() | ![]() |