How to read hdf data in Octave

prabu picture prabu · Jul 29, 2013 · Viewed 8.7k times · Source

I am doing project in remote sensing. Working with HDF on matlab is very easy. But i want to implement this with grid computing (Ubuntu). So i am trying with octave. I have HDF4 files of chlorophyll. Normal Image processing will be done by octave easily. But i want to know about hdfread, hdftool in Octave. I am added a image packages within octave image. Can anyone tell me how to read and how to work with hdf data's. Is there any package to add. Please let me know about this.

  • How to read hdf data
  • How to load hdf data
  • How to retrieve image from hdf data

Answer

carandraug picture carandraug · Jul 29, 2013

The hdf specific functions haven't been implemented in Octave yet. However, Octave can handle that format with the more standard load command. Just do load path-to-hdf-file and you'll load a struct in memory.

See these posts on the help mailing archive: How to read HDF data, and read data subsets from HDF5.