hyperspectral pre processing (white reference, dark current)

5 views (last 30 days)
I have white reference & dark current data.
I want to apply this data to analyze hypercube imaging.
It is my current code.
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);

Answers (1)

Mandar on 17 Oct 2022
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.

Community Treasure Hunt

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

Start Hunting!