<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Texte brut Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
span.TextebrutCar
        {mso-style-name:"Texte brut Car";
        mso-style-priority:99;
        mso-style-link:"Texte brut";
        font-family:"Calibri","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText"><span lang="EN-US">Hello Antoine,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Thanks for this feedback; <o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">As you know, the hdf5 file format is just wonderful to record information's in a general way, through the dataset, the attributs and so on, and I'm quite happy to use Scilab to manage it. You also have the opportunity
 to insert images (a lot of images) and so on : the hdf5 format becomes self-consistent and I particularly appreciate it.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">(In addition, on would say that the hdf5 format is becoming the first level of another format such as the XDMF, NETCDF for example, very promising for visualization topics …<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Currently I can insert pictures/fig manually using hdfview, but with dozens of images, I'm wondering if I can do it directly with Scilab (inserted in my current modelling workflow) ... so this post ; of course the
 h5 file must be “readable” with hdfview/Vitables for example in order to share it with my colleagues.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><i><u><span lang="EN-US">Nb</span></u></i><span lang="EN-US">: One thing is missing in my mind (or maybe I missed it), the opportunity to compress the data as we can do with h5py libraries for example, in order to reduce the final file
 size (in conjunction with the float format).<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Regards<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Paul<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">EXPORT CONTROL : <o:p></o:p></p>
<p class="MsoNormal">« Cet email ne contient pas de données techniques »<o:p></o:p></p>
<p class="MsoNormal">« This email does not contain technical data » <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><a name="_____replyseparator"></a><span style="mso-fareast-language:FR">-----Message d'origine-----<br>
De : users [mailto:users-bounces@lists.scilab.org] De la part de Antoine Monmayrant<br>
Envoyé : mardi 19 mars 2019 23:53<br>
À : Users mailing list for Scilab<br>
Objet : [EXTERNAL] Re: [Scilab-users] ?==?utf-8?q? images in hdf5 format</span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hello Paul,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">We do it all the time in our group, from scilab, julia or Labview (and other field specific languages).<o:p></o:p></p>
<p class="MsoPlainText">But as you said, it's just a matter of saving it using h5write (or equivalent) either as a matrix (grayscale image) or hypermatrix (rgb, multispectral or hyperspectral images).<o:p></o:p></p>
<p class="MsoPlainText">The only issue with Scilab is to get a proper way to read the image in the first place.<o:p></o:p></p>
<p class="MsoPlainText">Most of the image related atom modules are just unreliable (I mean that if by chance one of them is installing and working ok on a specific version of Linux or Windows, you have almost no change to get it running on another Linux or
 another Windows version). <o:p></o:p></p>
<p class="MsoPlainText">But maybe I did not really undertand your question...<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Feel free to ask for more specific details.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Cheers,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Antoine <o:p></o:p></p>
<p class="MsoPlainText"> <o:p></o:p></p>
<p class="MsoPlainText"> <o:p></o:p></p>
<p class="MsoPlainText">Le Vendredi, Mars 15, 2019 15:12 CET, "Carrico, Paul" <paul.carrico@esterline.com> a écrit:
<o:p></o:p></p>
<p class="MsoPlainText"> <o:p></o:p></p>
<p class="MsoPlainText">> Dear All<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> I'm currently digging on the net in order to find how to convert (and then insert) images in hdf5 format ... of course using Scilab (an image remains no more no less than a matrix). I can do it manually using hdfview, or I can use
 h5py library, but I'm wondering if somebody has ever experienced it  using Scilab ?<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Thanls<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Paul<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">users mailing list<o:p></o:p></p>
<p class="MsoPlainText">users@lists.scilab.org<o:p></o:p></p>
<p class="MsoPlainText">https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.scilab.org_mailman_listinfo_users&d=DwIGaQ&c=0hKVUfnuoBozYN8UvxPA-w&r=4TCz--8bXfJhZZvIxJAemAJyz7Vfx78XvgYu3LN7eLo&m=dhPKDUyUt9zvLnlaGkOF0IVVrbzwsU4BErQRHSfenLs&s=PChMgzKwd7NNux7IPBnAgJseCS4q5in9aj3YUmUwqPU&e=<o:p></o:p></p>
</div>
</body>
</html>