Re: [Scilab-users] IPCV upscaling of image

2020-12-21 Thread P M
Hi Claus, this works for me: imgList = list();imgList(1) = imread(fullpath(getIPCVpath() + "/images/superres/input001.png"));imgOut = imsuperres(imgList);figure();imshow(imgOut);outPath_1 = 'd:\testIn.png';outPath_2 = 'd:\testOut.png';res = imwrite(imgList(1), outPath_1);res = imwrite(imgOut,

Re: [Scilab-users] Headless graphics in scilab: time & memory issues

2020-12-21 Thread Samuel Gougeon
figure("visible","off") allows to avoid using driver(), but the same memory consumption is then observable, when exporting the Sgrayploy with xs2png(). By the way, at least on my system, the final figure.png file is reddish. nx=4000; ny=300; nc=100; x=1:nx; y=[1:ny].'; z=(y*x); h =

Re: [Scilab-users] Increasing Scilab default Java heap memory to 512 MB?

2020-12-21 Thread Samuel Gougeon
Le 20/12/2020 à 18:53, Antoine Monmayrant a écrit : On 19/12/2020 16:24, Samuel Gougeon wrote: Le 16/12/2020 à 14:16, Antoine Monmayrant a écrit : That's the very first thing we change after installing scilab on all the computers in our group, so I agree we need to change it. I conclude

Re: [Scilab-users] atomsLoad

2020-12-21 Thread Samuel Gougeon
Le 21/12/2020 à 15:53, Jean-Yves Baudais a écrit : So, I think the best way it to use older Scilab version because - only too old emd_toolbox is "atomsInstalled" with Scilab-6.1 and not "atomsLoadable" - with http://atoms.scilab.org/5.3 repository, the atomsLoad() function alway gives "bad

Re: [Scilab-users] atomsLoad

2020-12-21 Thread Jean-Yves Baudais
Hi, Thank you for the explanations. They make me the atom philosophy clearer :-) >> 2) I added the atoms repository http://atoms.scilab/org because the default >> one >> is http://atoms.scilab.org/6.1 and it gives nothing! > I guess that by "it gives nothing" you mean that you did not get any

Re: [Scilab-users] atomsLoad

2020-12-21 Thread Samuel Gougeon
Le 21/12/2020 à 10:16, Jean-Yves Baudais a écrit : Hi, Hard to help without knowing what you exactly did to install the toolbox, As I wrote I did --> atomsRepositoryAdd("http://atoms.scilab.org;) --> atomsInstall("emd_toolbox") --> atomsLoad("emd_toolbox") Nothing else. Hello Jean-Yves, I

Re: [Scilab-users] IPCV upscaling of image

2020-12-21 Thread Claus Futtrup
Hi Philipp The file was saved automatically. I don't think you can set what to save, or even the name of the file. I also did a xs2png, but that only saves the current figure. In my case a 610 x 460 pixel image (=the screen figure). Cheers, Claus On 21-12-2020 11:21, P M wrote: Dear Claus,

Re: [Scilab-users] IPCV upscaling of image

2020-12-21 Thread P M
Dear Claus, the example did not include saving the image as a file. Best guesses: - use imwrite - use one of the xs2...-functions (e.g.: xs2bmp) BR Philipp Am Mo., 21. Dez. 2020 um 09:20 Uhr schrieb Claus Futtrup : > Hi Philipp > > I see, thank you for explaining it to me. I also see that

Re: [Scilab-users] atomsLoad

2020-12-21 Thread Jean-Yves Baudais
Hi, > Hard to help without knowing what you exactly did to install the toolbox, As I wrote I did --> atomsRepositoryAdd("http://atoms.scilab.org;) --> atomsInstall("emd_toolbox") --> atomsLoad("emd_toolbox") Nothing else. > but > clearly, [ https://atoms.scilab.org/toolboxes/stftb/1.2.1 |

Re: [Scilab-users] IPCV upscaling of image

2020-12-21 Thread Claus Futtrup
Hi Philipp I see, thank you for explaining it to me. I also see that the upscale is not 2x2 = 4, but it is 4x4 so the upscaled image is huge. The output file is saved - I believe - in wherever your Scilab file browser is currently active. Best regards, Claus On 20-12-2020 22:55, P M wrote: