how to read the data of a hyperspectral image eg. samples,bands..etc from a header file in Matlab

2 ビュー (過去 30 日間)
Rawan hamdi
Rawan hamdi 2013 年 3 月 19 日
回答済み: Cong Huynh 2015 年 8 月 14 日
I'm trying to read a hyperspectral image of type tif in matlab

回答 (4 件)

Image Analyst
Image Analyst 2013 年 3 月 19 日
There is a tiff class you might be able to use, as well as a multibandread() function that might work. Try one of those.

Rawan hamdi
Rawan hamdi 2013 年 3 月 19 日
what tiff class?

Rawan hamdi
Rawan hamdi 2013 年 3 月 25 日
Thank you

Cong Huynh
Cong Huynh 2015 年 8 月 14 日
To load and save multispectral images (consisting of pairs of .hdr and .fla/.tif 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.

Community Treasure Hunt

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

Start Hunting!

Translated by