Skip to main content
Log in

Improved CAPSNET model with modified loss function for medical image classification

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

Abstract

A capsule network (CapsNet) is a new neural network model that is recently evolving in the field of image classification. Some of the shortcomings of traditional convolutional neural networks (CNNs) are compensated by the characteristics of CapsNet. It has proven to be effective at a variety of tasks, predominantly in medical image recognition with activation capsules. In this paper, image classification using the special designs in CapsNet is examined in depth. An additional reconstruction loss is used in the proposed work to empower the steering capsules and encode the input’s instantiation parameters. The active vectors of higher-level capsules are used for the classification mechanism. The calculation at that point remakes the input picture thus utilizing these active vectors. The directing capsule’s yield is sent into a decoder with three completely associated layers, which limits the whole of squared disparities between the calculated unit yields and the pixel power. In comparison to a typical CapsNet, the improved CapsNet method incorporates the extra parameters such as the number of measurements in each capsule sort (essential or directing capsules), the number of essential and directing capsules, and the number of channels within the capsule layer that are used for image classification. The experimental results show promising results in image recognition when compared to other CNN model-based algorithms.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

References

  1. Afshar, P., Mohammadi, A., Plataniotis, K.N.: BayesCap: a Bayesian approach to brain tumor classification using capsule networks. IEEE Signal Process. Lett. 27, 2024–2028 (2020)

    Article  Google Scholar 

  2. Afshar, P., Mohammadi, A., Plataniotis, K.N.: Brain Tumor type classification via capsule networks. In: 2018 25th IEEE International Conference on Image Processing (ICIP), pp. 3129–3133 (2018). https://doi.org/10.1109/ICIP.2018.8451379

  3. Afshar, P., Plataniotis, K.N., Mohammadi, A.: BoostCaps: A boosted capsule network for brain tumor classification. In: 2020 42nd Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), pp. 1075–1079 (2020). https://doi.org/10.1109/EMBC44109.2020.9175922

  4. Afshar, P., Plataniotis, K.N., Mohammadi, A.: Capsule networks for brain tumor classification based on MRI images and coarse tumor boundaries. In: ICASSP 2019–2019 IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP), pp. 1368–1372 (2019). https://doi.org/10.1109/ICASSP.2019.8683759

  5. Afshar, P., Plataniotis, K.N., Mohammadi, A. Capsule networks interpretability for brain tumor classification via radiomics analyses. In: 2019 IEEE International Conference on Image Processing (ICIP), pp. 3816–3820 (2019). https://doi.org/10.1109/ICIP.2019.8803615

  6. Alhassan, A.M., Zainon, W.M.N.W.: BAT algorithm with fuzzy C-ordered means (BAFCOM) clustering segmentation and enhanced capsule networks (ECN) for brain cancer MRI images classification. IEEE Access 8, 201741–201751 (2020). https://doi.org/10.1109/ACCESS.2020.3035803

    Article  Google Scholar 

  7. Anupama, M.A., Sowmya, V., Soman, K.P.: Breast cancer classification using capsule network with pre-processed histology images. In: 2019 International Conference on Communication and Signal Processing (ICCSP), pp. 0143–0147 (2019). https://doi.org/10.1109/ICCSP.2019.8698043

  8. Basu, A., Kaewrak, K., Petropoulakis, L., Caterina, G.D., Soraghan, J.J.: Modified capsule neural network (Mod-CapsNet) for indoor home scene recognition. In: 2020 International Joint Conference on Neural Networks (IJCNN), pp. 1–6 (2020). https://doi.org/10.1109/IJCNN48605.2020.9207084

  9. Du, W., Sun, Y., Li, G., Cao, H., Pang, R., Li, Y.: CapsNet-SSP: Multilane capsule network for predicting human saliva-secretory proteins. BMC Bioinf. 21(1), 237 (2020). https://doi.org/10.1186/s12859-020-03579-2

    Article  Google Scholar 

  10. Gumusbas, D., Yildirim, T., Kocakulak, M., Acir, N.: Capsule network for finger-vein-based biometric identification. In: 2019 IEEE Symposium Series on Computational Intelligence (SSCI), pp. 437–441 (2019). https://doi.org/10.1109/SSCI44817.2019.9003019

  11. Hollósi, J., Pozna, C.R.: Improve the accuracy of neural networks using capsule layers. In: 2018 IEEE 18th International Symposium on Computational Intelligence and Informatics (CINTI), pp. 000015–000018 (2018). https://doi.org/10.1109/CINTI.2018.8928194

  12. Katarya, R., Arora, Y.: Study on text classification using capsule networks. In: 2019 5th International Conference on Advanced Computing and Communication Systems (ICACCS), pp. 501–505 (2019). https://doi.org/10.1109/ICACCS.2019.8728394.

  13. Li, L., Huang, J., Cheng, Q., Meng, H., Han, Z.: Automatic modulation recognition: a few-shot learning method based on the capsule network. IEEE Wirel. Commun. Lett. 10(3), 474–477 (2021). https://doi.org/10.1109/LWC.2020.3034913

    Article  Google Scholar 

  14. Mazzia, V., Salvetti, F., Chiaberge, M.: Efficient-CapsNet: capsule network with self-attention routing. Sci Rep 11, 14634 (2021). https://doi.org/10.1038/s41598-021-93977-0

    Article  Google Scholar 

  15. Mobiny, A., Lu, H., Nguyen, H.V., Roysam, B., Varadarajan, N.: Automated classification of apoptosis in phase contrast microscopy using capsule network. IEEE Trans. Med. Imaging 39(1), 1–10 (2020). https://doi.org/10.1109/TMI.2019.2918181

    Article  Google Scholar 

  16. Patrick, M.K., Adekoya, A.F., Mighty, A.A., Edward, B.Y.: Capsule networks—a survey. J. King Saud Univ. Comput. Inf. Sci. (2021)

  17. Poncelet, J., Hamme, H.V.: Multitask learning with capsule networks for speech-to-intent applications. ICASSP 2020–2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 8494–8498 (2020). https://doi.org/10.1109/ICASSP40776.2020.9053832

  18. Quan, H., Xu, X., Zheng, T., Li, Z., Zhao, M., Cui, X.: DenseCapsNet: Detection of COVID-19 from X-ray images using a capsule neural network. Comput. Biol. Med. 133, 104399 (2021). https://doi.org/10.1016/j.compbiomed.2021.104399

    Article  Google Scholar 

  19. Sabour, S., Frosst, N., Hinton, G.E.: Dynamic routing between capsules. In: Advances in Neural Information Processing Systems 30. In Proceedings of the Annual Conference on Neural Information Processing Systems, NIPS, Long Beach, CA, USA, pp. 3856–3866 (2017)

  20. Sato, T., Hotta, K.: CNN to capsule network transformation. In: 2020 Digital Image Computing: Techniques and Applications (DICTA), pp. 1–2 (2020). https://doi.org/10.1109/DICTA51227.2020.9363395

  21. Sun, K., Yuan, L., Xu, H., Wen, X.: Deep tensor capsule network. IEEE Access 8, 96920–96933 (2020). https://doi.org/10.1109/ACCESS.2020.2996282

    Article  Google Scholar 

  22. Xi, E., Bing, S., Jin, Y.: Capsule network performance on complex data (2017) ArXiv abs/1712.03480

  23. Xiong, Y., Su, G., Ye, S., Sun, Y., Sun, Y.: Deeper Capsule Network for Complex Data. In: 2019 International Joint Conference on Neural Networks (IJCNN), pp. 1–8 (2019). https://doi.org/10.1109/IJCNN.2019.8852020

  24. Yao, H., Gao, P., Wang, J., Zhang, P., Jiang, C., Han, Z.: Capsule network assisted IoT traffic classification mechanism for smart cities. IEEE Internet Things J. 6(5), 7515–7525 (2019). https://doi.org/10.1109/JIOT.2019.2901348

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to J. Deepika.

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

Deepika, J., Rajan, C. & Senthil, T. Improved CAPSNET model with modified loss function for medical image classification. SIViP 16, 2269–2277 (2022). https://doi.org/10.1007/s11760-022-02192-5

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11760-022-02192-5

Keywords

Navigation