Any solution to this error please ? (Hyperspectral Processing) ?
5 views (last 30 days)
Show older comments
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
on 19 Oct 2022
is hcube a 3d numeric array? Or is it a hypercube() object with 3d real non-sparse data?
Answers (1)
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.
0 Comments
See Also
Categories
Find more on Hyperspectral Image Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!