Hello everyone,
I have tried to use the function imroifill, but it constatly fails, even if I call it directly from the “help”
example of the code:
S = imread(fullpath(getIPCVpath() + "/images/coins_gray.jpg"));
mask = imroi(S);
imout = imroifill(S,mask);
imshow(S);
scf; imshow(imout);
the result is this report:
imout = imroifill(S,mask);
at line 67 of function imroifill ( C:\Users\pokornyh\AppData\Roaming\Scilab\scilab-2025.1.0\atoms\x64\IPCV\4.5.0.1\macros\imroifill.sci line 72 )
inconsistent row/column dimensions
by calling
imshow(mask)
I can see the mask and by adding original image and the mask
aa = S+mask;
imshow(aa)
I get the boundary of the mask.
I think there is a bug in the function itselves.
Thanks for helping in advance,
Hynek
