hyperspectral pre processing (white reference, dark current)

I have white reference & dark current data.
I want to apply this data to analyze hypercube imaging.
It is my current code.
clc;clear;
hcube = hypercube('sample raw');
Unrecognized function or variable 'hypercube'.
endmembers = fippi(hcube,10);
newhcube = selectBands(hcube,endmembers,'NumberOfBands',20);
ragne = [min(hcube.Wavelength) max(hcube.Wavelength)];
wlrange = [500 600; 1000 1600];
newhcube = removeBands(hcube,'Wavelength', wlrange);
coloredImg = colorize(newhcube); % or coloredImg = colorize(hcube);
imshow(coloredImg);

댓글 수: 2

How can I edit my code?
In the code editor in MATLAB:
You might want to download the hyperspectral add-on from the Add-ons button on the Home tab of the tool ribbon.

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

답변 (1개)

Mandar
Mandar 2022년 10월 17일

0 개 추천

I understand that you want make use of the ‘hypercube’ function in the MATLAB.
As a workaround, you may need to install the Image Processing Toolbox Hyperspectral Imaging Library toolbox for accessing the functionalities.
You can download and install the toolbox by referring link below.
link:

카테고리

도움말 센터File Exchange에서 Hyperspectral Image Processing에 대해 자세히 알아보기

태그

질문:

2022년 9월 24일

답변:

2022년 10월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by