Clear Filters
Clear Filters

Any solution to this error please ? (Hyperspectral Processing) ?

6 views (last 30 days)
I loaded my hyperspectral image (Hyperion EO1) and performed all the preprocessing steps but when I used the countEndmembersHFC method to calculate the number of endmembers, I encountered this error:
  1 Comment
Walter Roberson
Walter Roberson on 19 Oct 2022
is hcube a 3d numeric array? Or is it a hypercube() object with 3d real non-sparse data?

Sign in to comment.

Answers (1)

Mahesh Belagal Sarvisetty
Mahesh Belagal Sarvisetty on 29 Nov 2022
Edited: Mahesh Belagal Sarvisetty on 30 Nov 2022
For better estimation of number of endmembers, countEndmembersHFC validates the input data along spatial and spectral dimensions. It expects the input data to be having unique channels/ bands with non - homogenous data. Looks like the data you are passing to countEndmembersHFC is having homogenous data along spatial or spectral dimensions.
Workaround is to make sure that the input data that you are passing to countEndmembersHFC should have unique channels and non-homogenous data.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!