How to read Hypespectral .dat and .hdr file

15 ビュー (過去 30 日間)
Khan
Khan 2015 年 7 月 3 日
回答済み: yanjie qi 2016 年 2 月 28 日
Dear All, I have downloaded sample hyperspectral data from http://www.spectir.com/free-data-samples/. there are some .dat and .hdr files. .hdr file contains information about data. The problem is i dont know how to read .hdr file? can anyone suggest please. secondly as i am new to working on HSI, anyone having matlab code to read and display my hyperspectral .dat files. Thanking you in anticipation.

採用された回答

Cong Huynh
Cong Huynh 2015 年 8 月 14 日
To load and save multispectral images (consisting of pairs of .hdr and .fla files), you could use the Scyllarus hyperspectral image processing toolbox. The MATLAB version of this toolbox is available for non-commercial use and can be downloaded from http://scyllarus.research.nicta.com.au/
The functions to look at are FLARead and FLAWrite under src/io. With these functions you can read from and write to the .fla format (ENVI-compatible), rather than any colour image format. Alternatively you can save the image to a .mat file but this option usually produces a much larger image.
  1 件のコメント
sonia carole
sonia carole 2016 年 1 月 7 日
Goog Evening Cong Huynh, i have downloaded the zip of the scyllarus but still I cannot explore it well should I unzip it into a directory on the MATLAB path??

サインインしてコメントする。

その他の回答 (2 件)

yanjie qi
yanjie qi 2016 年 2 月 28 日
How to read Hypespectral .raw and .hdr file?

Gareth Thomas
Gareth Thomas 2015 年 7 月 5 日

カテゴリ

Help Center および File ExchangeMRI についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by