Skip to main content
Log in

Dictionary learning for clustering on hyperspectral images

  • Original Paper
  • Published:
Signal, Image and Video Processing Aims and scope Submit manuscript

Abstract

Dictionary learning and sparse coding have been widely studied as mechanisms for unsupervised feature learning. Unsupervised learning could bring enormous benefit to the processing of hyperspectral images and to other remote sensing data analysis because labelled data are often scarce in this field. We propose a method for clustering the pixels of hyperspectral images using sparse coefficients computed from a representative dictionary as features. We show empirically that the proposed method works more effectively than clustering on the original pixels. We also demonstrate that our approach, in certain circumstances, outperforms the clustering results of features extracted using principal component analysis and non-negative matrix factorisation. Furthermore, our method is suitable for applications in repetitively clustering an ever-growing amount of high-dimensional data, which is the case when working with hyperspectral satellite imagery.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

Availability of data and materials

The data sets used in our experiments are available as .mat files on the Grupo de Inteligencia Computacional website, here: http://tiny.cc/f6gnez.

Code availability

All of the code used in this project is available on Github (https://github.com/JoshuaDBruton/SparseCoefficientClustering). The repository is licensed under the GNU General Public License.

Notes

  1. https://github.com/JoshuaDBruton/SparseCoefficientClustering.

  2. http://ehu.eus/ccwintco/index.php.

  3. https://www.comet.ml/joshuabruton/honours-project/view/.

References

  1. Wang, H., Celik, T.: Sparse representation-based hyperspectral image classification. Signal Image Video Process. 12, 1009–1017 (2018)

    Article  Google Scholar 

  2. Sprechmann, P., Sapiro, G.: Dictionary learning and sparse coding for unsupervised clustering. In: IEEE International Conference on Acoustics, Speech and Signal Processing, pp. 2042–2045 (2010)

  3. Feng, X.: Robust spectral clustering via sparse representation. In: Recent Applications in Data Clustering, p. 155 (2018). https://doi.org/10.5772/intechopen.76586

  4. Wright, J., Ma, Y., Mairal, J., Sapiro, G., Huang, T., Yan, S.: Sparse representation for computer vision and pattern recognition. Proc. IEEE 98, 1031–1044 (2010)

    Article  Google Scholar 

  5. Aharon, M., Elad, M., Bruckstein, A.: K-SVD: an algorithm for designing overcomplete dictionaries for sparse representation. IEEE Trans. Signal Process. 54, 4311–4322 (2006)

    Article  Google Scholar 

  6. Mallat, S., Zhang, Z.: Matching pursuits with time-frequency dictionaries. IEEE Trans. Signal Process. 41, 3397–3415 (1993)

    Article  Google Scholar 

  7. Mairal, J., Bach, F., Ponce, J., Sapiro, G.: Online dictionary learning for sparse coding. In: 26th International Conference on Machine Learning, pp. 689–696 (2009)

  8. Engan, K., Aase, S.O., Husøy, J.H.: Multi-frame compression: theory and design. EURASIP Signal Process. 80, 2121–2140 (2000)

    Article  Google Scholar 

  9. Cariou, C., Chehdi, K.: Unsupervised nearest neighbors clustering with application to hyperspectral images. IEEE J. Sel. Top. Signal Process. 9, 1105–1116 (2015)

    Article  Google Scholar 

  10. Weiss, Y.: Segmentation using eigenvectors: a unifying view. In: Proceedings of the Seventh IEEE International Conference on Computer Vision, vol. 2, pp. 975–982 (1999)

  11. Ng, A., Jordan, M., Weiss, Y.: On spectral clustering: analysis and an algorithm. In: Advances in Neural Information Processing Systems, pp. 849–856 (2002)

  12. Challa, A., Danda, S., Sagar, B.S.D., Najman, L.: Power spectral clustering on hyperspectral data. In: International Geoscience and Remote Sensing Symposium, hal-01484896 (2017)

  13. Tang, Z., Ding, S., Li, Z., Jiang, L.: Dictionary learning based on nonnegative matrix factorization using parallel coordinate descent. Abs. Appl. Anal. 2013, 259863 (2013)

  14. Elhamifar, E., Vidal, R.: Sparse subspace clustering: algorithm, theory, and applications. IEEE Trans. Pattern Anal. Mach. Intell. 35, 2765–2781 (2013)

    Article  Google Scholar 

  15. You, C., Li, C.G., Robinson, D., Vidal, R.: Oracle based active set algorithm for scalable elastic net subspace clustering. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3928–3937 (2016)

  16. You, C., Robinson, D., Vidal, R.: Scalable sparse subspace clustering by orthogonal matching pursuit. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3918–3927 (2016)

  17. Huang, S., Zhang, H., Du, Q., Pižurica, A.: Sketch-based subspace clustering of hyperspectral images. Remote Sens. 12, 775–806 (2020)

    Article  Google Scholar 

  18. Huang, S., Zhang, H., Pižurica, A.: Semisupervised sparse subspace clustering method with a joint sparsity constraint for hyperspectral remote sensing images. IEEE J. Sel. Top. Appl. Earth Obs Remote Sens. 12, 989–999 (2019)

    Article  Google Scholar 

  19. Romano, S., Vinh, N., Bailey, J., Verspoor, K.: Adjusting for chance clustering comparison measures. J. Mach. Learn. Res. 17, 1–32 (2016)

    MathSciNet  MATH  Google Scholar 

  20. Green, R., Eastwood, M., Sarture, C., Chrien, T., Aronsson, M., Chippendale, B., Faust, J., Pavri, B., Chovit, C., Solis, M., et al.: Imaging spectroscopy and the airborne visible/infrared imaging spectrometer (AVIRIS). Remote Sens. Environ. 65, 227–248 (1998)

    Article  Google Scholar 

  21. Bezdek, J., Ehrlich, R., Full, W.: FCM: the fuzzy \(c\)-means clustering algorithm. Comput. Geosci. 10, 191–203 (1984)

    Article  Google Scholar 

Download references

Funding

JB received the postgraduate merit award from the University of the Witwatersrand, Johannesburg, Gauteng, which allowed him to proceed with this research project.

Author information

Authors and Affiliations

Authors

Contributions

JB is a student at the University of the Witwatersrand, he authored the project under the supervision of Dr. HW.

Corresponding author

Correspondence to Joshua Bruton.

Ethics declarations

Conflict of interest

The authors declare that there is no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Bruton, J., Wang, H. Dictionary learning for clustering on hyperspectral images. SIViP 15, 255–261 (2021). https://doi.org/10.1007/s11760-020-01750-z

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11760-020-01750-z

Keywords

Navigation