[Scilab-users] Plot overlays on images

der_Phil p.muehlmann at gmail.com
Fri Apr 4 15:07:35 CEST 2014


Dear Peter,

although the thread is already a bit aged...here's how it may work:

- open an external image processing software (like IrfanView) from Scilab
using the "dos" command

- rotate the image with IrfanView and save the new created image

- load the new image into Scilab using imread();

- use ShowImage to overlay your plot and the image

- save the overlayed image (maybe use: xs2bpm(Graphics) or imwrite(SVIP) or
WriteImage(IPD))...get final image but in wrong orientation

- to get final orientation use the dos command again rotate back and save
the final image


- to use the dos command you may type:

cd 'path/to/irfanview/folder';

[output, err] = dos('i_view32.exe \complete\path\to\image /rotate_l
/convert=complete\path\to\save\image\directory\newimage');

see also the i_options.txt (can be found in the IrfanView folder) from
irfanview to get the optional parameters for batch processing

Hope this still helps,
der_Phil







--
View this message in context: http://mailinglists.scilab.org/Plot-overlays-on-images-tp2617675p4030250.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list