[Scilab-users] IPCV upscaling of image

P M p.muehlmann at gmail.com
Sun Dec 20 22:55:18 CET 2020


Dear Claus,

you need to feed a list into imsuperres()....not directly the image.
Following should work.

imgList = list();imgList(1) = imread('path_to_image');imgOut  =
imsuperres(imgList);
figure();imshow(imgList(1));figure();imshow(imgOut);

BR
Philipp


Am So., 20. Dez. 2020 um 19:42 Uhr schrieb Claus Futtrup <cfuttrup at gmail.com
>:

> Hi there
>
> I have a 4K picture, which I thought I'll try to upscale with the
> imsuperres in the IPCV toolbox. The code simply looks like this:
>
> imagefile = 'D:\Userdata\Claus\Pictures\Think_Global_4K.png';
> im = imread(imagefile);
> imout  = imsuperres(im);
>
> The file is read and I get the following response: Unsigned Integer 8
> bits (2160 x 3840). Then Scilab crashes. I'm running Scilab 6.1.0 (the
> original release) on Windows 10 - in a MS Windows dialog box I get:
>
>  >Scilab 6.1.0 (Desktop) has stopped working
>
>  >A problem caused the program to stop working correctly. Windows will
> close the program and notify you if a solution is available.
>
> I am not sure that I've understood how to use imsuperres correctly. I
> see in the _params that rfactor = 4 is the default, so I was expecting
> the image to be scaled by a factor 4 (maybe that's 2 x 2 = I get an 8K
> image = 4320 x 7680 pixels). The way I understand the documentation, I
> don't need to run imsuperres_params if I'm satisified with the defaults.
>
> Kind regards,
>
> Claus
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20201220/61d38963/attachment.htm>


More information about the users mailing list