[Scilab-users] images in hdf5 format

classic Classic list List threaded Threaded
3 messages Options
Carrico, Paul Carrico, Paul
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] images in hdf5 format

Dear All

 

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 ?

 

Thanls

 

Paul


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Antoine Monmayrant-2 Antoine Monmayrant-2
Reply | Threaded
Open this post in threaded view
|

Re: ?==?utf-8?q? images in hdf5 format

Hello Paul,

We do it all the time in our group, from scilab, julia or Labview (and other field specific languages).
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).
The only issue with Scilab is to get a proper way to read the image in the first place.
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).
But maybe I did not really undertand your question...

Feel free to ask for more specific details.

Cheers,

Antoine
 
 
Le Vendredi, Mars 15, 2019 15:12 CET, "Carrico, Paul" <[hidden email]> a écrit:
 
> Dear All
>
> 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 ?
>
> Thanls
>
> Paul

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Carrico, Paul Carrico, Paul
Reply | Threaded
Open this post in threaded view
|

Re: [EXTERNAL] Re: ?==?utf-8?q? images in hdf5 format

Hello Antoine,

 

Thanks for this feedback;

 

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.

 

(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 …

 

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.

 

Nb: 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).

 

Regards

 

Paul

 

 

 

 

EXPORT CONTROL :

« Cet email ne contient pas de données techniques »

« This email does not contain technical data »

 

 

-----Message d'origine-----
De : users [mailto:[hidden email]] De la part de Antoine Monmayrant
Envoyé : mardi 19 mars 2019 23:53
À : Users mailing list for Scilab
Objet : [EXTERNAL] Re: [Scilab-users] ?==?utf-8?q? images in hdf5 format

 

Hello Paul,

 

We do it all the time in our group, from scilab, julia or Labview (and other field specific languages).

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).

The only issue with Scilab is to get a proper way to read the image in the first place.

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).

But maybe I did not really undertand your question...

 

Feel free to ask for more specific details.

 

Cheers,

 

Antoine

 

 

Le Vendredi, Mars 15, 2019 15:12 CET, "Carrico, Paul" <[hidden email]> a écrit:

 

> Dear All

>

> 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 ?

>

> Thanls

>

> Paul

 

_______________________________________________

users mailing list

[hidden email]

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=


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users