|
maven apache wrote:
The data sets you see in hdf5_test.h5 have special attributes which HDFView uses to identify it as an image. This is what Peter means when he says your arrays are not images--they do not have the special attributes. You can test this by opening hdf5_test.h5 and deleting the "CLASS" attribute of a dataset. When you reopen the file and the object it will no longer be treated as an image. There may be a High Level API for adding these attributes. HDFView is not ENVI. Any 2D object can be displayed as a image on computer screen. Lots of 2D arrays in science don't make any sense to look at as an image. I don't use ENVI and so I can't tell you what it does with one of those arrays. You can test this your self by creating a 2D array of random numbers and seeing what ENVI will do with it. What I don't understand is why your TreeView doesn't indicate that the objects have attributes. On my HDFView (v 2.6b1) there is a small red "A" overlaying the icon of every object which as attributes. This feature has been in HDFView for sometime. --dan -- Daniel Kahn Science Systems and Applications Inc. 301-867-2162 |
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
