How to read hyperspectral data

조회 수: 2 (최근 30일)
Beata Szabo-Takacs
Beata Szabo-Takacs 2021년 6월 9일
댓글: Beata Szabo-Takacs 2021년 6월 10일
Dear All,
I have hyperspectral data from TASI-600 produced by company Itres. It produces 'TASI_yyyy_MM_dd_hhmmss.dat.atmY.24-bands.BBT.dat', 'TASI_yyyy_MM_dd_hhmmss.dat.atmY.24-bands.BBT.dat.enp' and 'TASI_yyyy_MM_dd_hhmmss.dat.atmY.24-bands.BBT.dat.hdr' files. I installed Hyperspectral Imaging Library but I cannot view the files with the below mentioned function. Could someone suggest me a solution to read these hyperspectral files?
hcube = hypercube('TASI_2019_09_04_105424.dat.atmY.24-bands.BBT.dat','TASI_2019_09_04_105424.dat.atmY.24-bands.BBT.dat.hdr');
Error using enviinfo (line 53)
File type number: char not supported.
Error in hypercube>getMetaforImg (line 1227)
header = enviinfo(imgFile);
Error in hypercube (line 304)
obj.Metadata = getMetaforImg(hdrfile, 'envi');

채택된 답변

Subhadeep Koley
Subhadeep Koley 2021년 6월 9일
The error is originating from line number 53 of "enviinfo.m".
I suspect you have one local custom function in the name of "enviinfo.m", that is conflicting with the Hyperspectral Imaging Library's own enviinfo(__) function.
Rename or delete your local custom "enviinfo.m" function and then try again.
  댓글 수: 1
Beata Szabo-Takacs
Beata Szabo-Takacs 2021년 6월 10일
Thank you Subhadeep for your response. I found that I had local custom function in the name of "enviinfo.m". I renamed it and I can read the hyperspectral data which has wavelenght info.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Display Point Clouds에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by