Efficient deep learning approach for inferring the number of endmembers in a hyperspectral image

Authors:

Abstract
Hyperspectral unmixing methods enable accurate, sub-pixel object identification using a signal separation approach. Although most unmixing outcomes rely heavily on the number of endmembers (NoE) present in the image scene, most unmixing methods ignore this task and assume the number to be known a priori. The existing endmember counting methods cannot provide an accurate estimation even in ideal conditions. Besides, these methods require a large number of samples and necessitate a relatively low noise level to achieve moderate performance. Consequently, these methods lead to high errors in endmember estimation and abundance computation and are unsuitable for local unmixing and unmixing noisy data. As inferring NoE is equivalent to computing the numerical rank of the matrix, the eigenvalues of the covariance matrix play a crucial role in this task. We present an accurate supervised learning approach that leverages eigenvalue patterns to estimate the NoE in challenging scenarios accurately. The proposed method is robust to high noise, limited sample size, and localized mixtures. Extensive experimentation suggests that even preliminary classifiers, such as logistic regression, decision trees, XGBoost, and one-dimensional (1D) convolutional neural networks (CNNs), outperform the state-of-the-art methods in diverse scenarios. Our proposed 1D CNN model achieves an overall accuracy of 93.7% in the test set and generalizes well to real-world hyperspectral data, confirming its effectiveness for practical applications of hyperspectral unmixing.