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 个评论

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 个)

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