Colorectal Cancer Detection Tool Developed with Neural Networks
Abstract
1. Introduction
2. Materials and Methods
2.1. The Datasets
- Means that the parameter is the healthy interval.
- Means that the parameter is slightly outside the interval 1.3 if above and 0.7 if below.
- Means that the parameter is outside the interval by 1.3–1.6 if above or 0.7–0.4 if below.
- Means the parameter is outside the interval by a larger than 1.6 if above or smaller than 0.4 if below.
2.2. ANN-Based Tool
2.3. CNN-Based Tool
- ReLU layer: The role of the ReLU layers is to linearize the computation increase, which without these layers would grow exponentially.
- Normalization layer: The normalization layer is used to normalize the output of the previous layers; it also allows the network to learn more independently from layer to layer.
- Convolutional layer: The convolutional layer is the main building block of any CNN, and it is usually a set of filters that are determined while the network is trained. Due to the convolutional layers creating feature maps, with each convolutional layer the dimensions of the maps increase.
- Pooling layer: To reduce the dimensions of the feature maps, pooling layers are used.
- A fully connected layer is a feed-forward neural network that has as its input the flattened output of the final convolutional and pooling layer.
- Classification layer: usually used to compute the cross-entropy loss for classification tasks.
- Softmax layer: used to predict a multinomial probability distribution for multiclass classification problems where two or more class labels exist.
3. Results
3.1. The ANN Model Results
3.2. The CNN Model Results
3.3. The GUI
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- He, C.S.; Wang, C.J.; Wang, J.W.; Liu, Y.C. UY-NET: A Two-Stage Network to Improve the Result of Detection in Colonoscopy Images. Appl. Sci. 2023, 13, 10800. [Google Scholar] [CrossRef]
- Ozawa, T.; Ishihara, S.; Fujishiro, M.; Kumagai, Y.; Shichijo, S.; Tada, T. Automated endoscopic detection and classification of colorectal polyps using convolutional neural networks. Ther. Adv. Gastroenterol. 2020, 13. [Google Scholar] [CrossRef] [PubMed]
- Sornapudi, S.; Meng, F.; Yi, S. Region-Based Automated Localization of Colonoscopy and Wireless Capsule Endoscopy Polyps. Appl. Sci. 2019, 9, 2404. [Google Scholar] [CrossRef]
- Baxter, N.N. Association of Colonoscopy and Death From Colorectal Cancer. Ann. Intern. Med. 2009, 150, 1. [Google Scholar] [CrossRef]
- van Rijn, J.C.; Reitsma, J.B.; Stoker, J.; Bossuyt, P.M.; van Deventer, S.J.; Dekker, E. Polyp Miss Rate Determined by Tandem Colonoscopy: A Systematic Review. Am. J. Gastroenterol. 2006, 101, 343–350. [Google Scholar] [CrossRef]
- Fonollà, R.; E.W. van der Zander, Q.; Schreuder, R.M.; Masclee, A.A.M.; Schoon, E.J.; van der Sommen, F.; de With, P.H.N. A CNN CADx System for Multimodal Classification of Colorectal Polyps Combining WL, BLI, and LCI Modalities. Appl. Sci. 2020, 10, 5040. [Google Scholar] [CrossRef]
- Danku, A.E.; Dulf, E.H.; Banut, R.P.; Silaghi, H.; Silaghi, C.A. Cancer Diagnosis with the Aid of Artificial Intelligence Modeling Tools. IEEE Access 2022, 10, 20816–20831. [Google Scholar] [CrossRef]
- Kwak, M.S.; Lee, H.H.; Yang, J.M.; Cha, J.M.; Jeon, J.W.; Yoon, J.Y.; Kim, H.I. Deep Convolutional Neural Network-Based Lymph Node Metastasis Prediction for Colon Cancer Using Histopathological Images. Front. Oncol. 2021, 10, 619803. [Google Scholar] [CrossRef]
- Xue, Z.Z.; Wu, Y.; Gao, Q.Z.; Zhao, L.; Xu, Y.Y. Automated classification of protein subcellular localization in immunohistochemistry images to reveal biomarkers in colon cancer. BMC Bioinform. 2020, 21, 398. [Google Scholar] [CrossRef]
- Masud, M.; Sikder, N.; Al Nahid, A.; Bairagi, A.K.; Alzain, M.A. A machine learning approach to diagnosing lung and colon cancer using a deep learning-based classification framework. Sensors 2021, 21, 748. [Google Scholar] [CrossRef]
- Sirinukunwattana, K.; Raza, S.E.A.; Tsang, Y.W.; Snead, D.R.J.; Cree, I.A.; Rajpoot, N.M. Locality Sensitive Deep Learning for Detection and Classification of Nuclei in Routine Colon Cancer Histology Images. IEEE Trans. Med. Imaging 2016, 35, 1196–1206. [Google Scholar] [CrossRef]
- Dulf, E.H.; Bledea, M.; Mocan, T.; Mocan, L. Automatic Detection of Colorectal Polyps Using Transfer Learning. Sensors 2021, 21, 5704. [Google Scholar] [CrossRef]
- Swiderska-Chadaj, Z.; Pinckaers, H.; van Rijthoven, M.; Balkenhol, M.; Melnikova, M.; Geessink, O.; Manson, Q.; Litjens, G.; van der Laak, J.; Ciompi, F. Convolutional Neural Networks for Lymphocyte Detection in Immunohistochemically Stained Whole-Slide Images. In Proceedings of the MIDL 2018, Amsterdam, The Netherlands, 12 July 2022. [Google Scholar]
- Patel, K.; Tao, K.; Wang, Q.; Bansal, A.; Rastogi, A.; Wang, G. A comparative study on polyp classification using convolutional neural networks. PLoS ONE 2020, 15, e0236452. [Google Scholar] [CrossRef] [PubMed]
- Ribeiro, E.; Uhl, A.; Hafner, M. Colonic polyp classification with convolutional neural networks. In Proceedings of the 2016 IEEE 29th International Symposium on Computer-Based Medical Systems (CBMS), Belfast and Dublin, Ireland, 20–24 June 2016. [Google Scholar] [CrossRef]
- Basha, S.S.; Ghosh, S.; Babu, K.K.; Dubey, S.R.; Pulabaigari, V.; Mukherjee, S. RCCNet: An Efficient Convolutional Neural Network for Histological Routine Colon Cancer Nuclei Classification. In Proceedings of the 15th International Conference on Control, Automation, Robotics and Vision (ICARCV), Marina Bay Sands Expo and Convention Centre, Singapore, 18–21 November 2018. [Google Scholar]
- Lippoldt, F. Efficient Colon Cancer Grading with Graph Neural Networks. arXiv 2020, arXiv:2010.01091. [Google Scholar]
- Argov, S.; Ramesh, J.; Salman, A.; Sinelnikov, I.; Goldstein, J.; Guterman, H.; Mordechai, S. Diagnostic potential of Fourier-transform infrared microspectroscopy and advanced computational methods in colon cancer patients. J. Biomed. Opt. 2002, 7, 248. [Google Scholar] [CrossRef] [PubMed]
- Ward, D.G.; Suggettn, N.; Chengm, Y.; Wei, W.; Johnson, H.; Billingham, L.J.; Ismail, T.; Wakelam, M.J.; Johnson, P.J.; Martin, A. Identification of serum biomarkers for colon cancer by proteomic analysis. Br. J. Cancer 2006, 94, 1898–1905. [Google Scholar] [CrossRef]
- Brunese, L.; Mercaldo, F.; Reginelli, A.; Santone, A. Neural Networks for Lung Cancer Detection through Radiomic Features. In Proceedings of the 2019 International Joint Conference on Neural Networks (IJCNN), Budapest, Hungary, 14–19 July 2019; IEEE: Budapest, Hungary, 2019; pp. 1–10. [Google Scholar] [CrossRef]
- Burke, H.; Goodman, P.H.; Rosen, D.B.; Henson, D.E.; Weinstein, J.N.; Harrell, F.E.; Winchester, D.P.; Bostwick, D.G. Artificial Neural Networks Improve the Accuracy of Cancer Survival Prediction. Cancer 1997, 79, 857. [Google Scholar] [CrossRef]
- Chen, H.; Zhao, H.; Shen, J.; Zhou, R.; Zhou, Q. Supervised Machine Learning Model for High Dimensional Gene Data in Colon Cancer Detection. In Proceedings of the 2015 IEEE International Congress on Big Data (BigData Congress), New York, NY, USA, 27 June–2 July 2015. [Google Scholar] [CrossRef]
- Er, O.; Yumusak, N.; Temurtas, F. Chest diseases diagnosis using artificial neural networks. Expert. Syst. Appl. 2010, 37, 7648–7655. [Google Scholar] [CrossRef]
- Kuruvilla, J.; Gunavathi, K. Lung cancer classification using neural networks for CT images. Comput. Methods Programs Biomed. 2014, 113, 202–209. [Google Scholar] [CrossRef]
- Shakeel, P.M.; Burhanuddin, M.A.; Desa, M.I. Lung cancer detection from CT image using improved profuse clustering and deep learning instantaneously trained neural networks. Measurement 2019, 145, 702–712. [Google Scholar] [CrossRef]
- Hao, L.; Huang, G. An improved AdaBoost algorithm for identification of lung cancer based on electronic nose. Heliyon 2023, 9, e13633. [Google Scholar] [CrossRef]
- Arulmurugan, R.; Anandakumar, H. Early Detection of Lung Cancer Using Wavelet Feature Descriptor and Feed Forward Back Propagation Neural Networks Classifier; Computational Vision and Bio Inspired Computing: Coimbatore, India, 2018; pp. 103–110. [Google Scholar] [CrossRef]
- Perez, G.; Arbelaez, P. Automated lung cancer diagnosis using three-dimensional convolutional neural networks. Med. Biol. Eng. Comput. 2020, 58, 1803–1815. [Google Scholar] [CrossRef] [PubMed]
- Ansari, D.; Nilsson, J.; Andersson, R.; Regnér, S.; Tingstedt, B.; Andersson, B. Artificial neural networks predict survival from pancreatic cancer after radical surgery. Am. J. Surg. 2013, 205, 1–7. [Google Scholar] [CrossRef] [PubMed]
- Chon, A.; Balachandar, N.; Lu, P. Deep Convolutional Neural Networks for Lung Cancer Detection. In Proceedings of the International Conference on Circuit Power and Computing Technologies (ICCPCT), Kollam, India, 27–28 July 2023. [Google Scholar]
- Bartosch-Härlid, A.; Andersson, B.; Aho, U.; Nilsson, J.; Andersson, R. Artificial neural networks in pancreatic disease. Br. J. Surg. 2008, 95, 817. [Google Scholar] [CrossRef] [PubMed]
- Cazacu, I.; Udristoiu, A.; Gruionu, L.; Iacob, A.; Gruionu, G.; Saftoiu, A. Artificial intelligence in pancreatic cancer: Toward precision diagnosis. Endosc. Ultrasound 2019, 8, 357–359. [Google Scholar] [CrossRef]
- Santillan, A.; Tomas, R.C.; Bangaoil, R.; Lopez, R.; Gomez, M.H.; Fellizar, A.; Lim, A.; Abanilla, L.; Ramos, M.C.; Guevarra, L.; et al. Discrimination of malignant from benign thyroid lesions through neural networks using FTIR signals obtained from tissues. Anal. Bioanal. Chem. 2021, 413, 2163–2180. [Google Scholar] [CrossRef]
- Lorenzovici, N.; Dulf, E.-H.; Mocan, T.; Mocan, L. Artificial Intelligence in Colorectal Cancer Diagnosis Using Clinical Data: Non-Invasive Approach. Diagnostics 2021, 11, 514. [Google Scholar] [CrossRef]
- Pogorelov, K.; Randel, K.R.; Griwodz, C.; Eskeland, S.L.; de Lange, T.; Johansen, D.; Spampinato, C.; Dang-Nguyen, D.-T.; Lux, M.; Schmidt, P.T.; et al. KVASIR. In Proceedings of the 8th ACM on Multimedia Systems Conference, Taipei Taiwan, 20–23 June 2017. [Google Scholar] [CrossRef]
Dataset | Total Patients | Healthy Patients | CRC Confirmed Patients |
---|---|---|---|
Initial | 300 | 170 | 130 |
Augmented | 700 (600 + 100) | 376 (330 + 46) | 324 (270 + 54) |
Variable | Min. Possible Value | Max. Possible Value | Min. Healthy Value | Max. Healthy Value | Importance Level |
---|---|---|---|---|---|
Age | 0 | 120 | Nan | Nan | Nan |
Medical History | 0 | 1 | 0 | 0 | Nan |
Albumin | 0.5 | 10 | 3.5 | 5.2 | 2 |
Direct Bilirubin | 0 | 30 | 0 | 0.52 | 3 |
Total Bilirubin | 0 | 30 | 0.1 | 1.2 | 3 |
Creatinine | 0 | 10 | 0.67 | 1.17 | 3 |
Alkaline Phosphatize | 50 | 1000 | 98 | 279 | 2 |
Gamma GT | 0 | 1000 | 11 | 50 | 2 |
Glycemia | 20 | 500 | 70 | 115 | 3 |
GOT | 0 | 500 | 0 | 37 | 2 |
GPT | 0 | 500 | 0 | 40 | 2 |
Kalium | 0 | 10 | 3.5 | 5.4 | 3 |
Total Protein | 0 | 50 | 6.2 | 8 | 2 |
Natrium | 0 | 500 | 130 | 145 | 3 |
Time Quick | 0 | 50 | 13 | 17 | 3 |
IP | 0 | 500 | 70 | 130 | 3 |
INR | 0 | 50 | 0.84 | 1.1 | 3 |
Urea | 0 | 500 | 18 | 48 | 3 |
Iron | 0 | 500 | 65 | 175 | 1 |
Leucocytes | 0 | 500 | 4 | 10 | 3 |
Basophiles | 0 | 500 | 0 | 1 | 3 |
Neutrophiles nr. | 0 | 10 | 2 | 7.5 | 3 |
Neutrophiles percentage | 0 | 100 | 30 | 75 | 3 |
Eosinophiles | 0 | 100 | 1 | 4 | 3 |
Lymphocytes | 0 | 100 | 20 | 40 | 3 |
Monocytes | 0 | 100 | 2 | 10 | 3 |
Hemoglobin | 0 | 100 | 14 | 18 | 1 |
MCV | 0 | 500 | 80 | 96 | 1 |
Erythrocytes | 0 | 500 | 4.5 | 6.3 | 2 |
MCH | 0 | 50 | 26 | 34 | 2 |
MCHC | 0 | 100 | 31 | 37 | 2 |
RDW (rdw-cv) | 0 | 100 | 8.5 | 11.5 | 3 |
RDW (rdw-sd) | 0 | 50 | 35 | 36 | 3 |
Hematocrits | 0 | 100 | 40 | 54 | 1 |
Thrombocytes | 0 | 1000 | 140 | 440 | 1 |
Associated Pathology | 0 | 10 | 1 | 10 | 3 |
Variable Name | Impact of the Variable |
---|---|
Albumin | It can be used to track the nutritional and systematic inflammatory status of cancer patients. It has been found to be an independent prognostic in colorectal cancer, lung cancer, lymphoma, and even breast cancer. Usually, symptoms associated with high levels of albumin are dehydration and diarrhea. |
Alkaline Phosphatase (ALP) | It is an enzyme associated with hepatobiliary diseases. Several reports show that ALP is used as a prognostic for colon, lung, and liver cancer (or other liver-associated diseases). |
Gamma GT | It is known as gamma-glutamyl transferase, and it has been shown to have an increase in cancer patients. Usually a marker for diabetes, cardiovascular, or kidney-associated diseases, but recently it has been proven to be related to different cancer types as well. |
GOT | An enzyme found in the liver and heart cells is released in the blood when either of these are damaged. A high value can be associated with cancer. |
GPT | An enzyme that is found in the liver and some other tissues. If it is found in the blood, it may be a sign of liver damage or cancer. People who present high values for the GPT are sent to get evaluated by gastroenterologists. |
Total Protein | Parameters are usually measured to detect the amount of protein in a person’s blood. These tests can be used to diagnose several conditions like cancer and kidney or liver diseases. |
Iron | Excess iron, which cannot be assimilated by metabolism, can be associated with cancer. The most relevant one is leukemia, but in the case of colorectal cancer, there is a deficiency of iron and anemia. |
Hemoglobin | The level of hemoglobin in a cancer patient is usually found in a declining state; it can start even 4 years before the diagnosis of the disease. A low hemoglobin level is associated with anemia. |
MCV | It is used to measure the average red blood cell in a person. It can be used to detect B12 deficiency, but if the value is high, it can be associated with cancer. |
Erythrocytes | Red blood cells in low numbers can be associated with cancer. |
MCH | Mean corpuscular hemoglobin is the average amount of hemoglobin found in the blood cells. |
MCHC | Mean corpuscular hemoglobin concentration is the average amount of hemoglobin found in a group of red blood cells. |
Hematocrits | It is the volume percentage of red blood cells in blood. |
Thrombocytes | Also known as platelets, they are the cells in the blood that form the clots. An elevated platelet count can be linked to the development of tumors. |
Case | Dataset | Total Images | Healthy | Polyp | Ulcer |
---|---|---|---|---|---|
3 possible labels | Initial | 1200 | 400 | 400 | 400 |
Augmented | 4800 | 1600 | 1600 | 1600 | |
2 possible labels | Initial | 800 | 400 | 400 | 0 |
Augmented | 3200 | 1600 | 1600 | 0 |
Training Function | Hidden Layers | Number of Neurons | Performance (Mean Squared Error) | Training Time |
---|---|---|---|---|
Levenberg–Marquardt | 2 | 35 | 7.38 | 9 s |
Levenberg–Marquardt | 7 | 35 | 19.09 | 3 min 46 s |
Levenberg–Marquardt | 7 | 20 | 13.3 | 26 s |
Levenberg–Marquardt | 2 | 20 | 11.64 | 2 s |
Quasi-Newton | 2 | 20 | 15.76 | 3 s |
Quasi-Newton | 7 | 20 | 17.95 | 7 s |
Quasi-Newton | 7 | 35 | 14.4 | 15 s |
Quasi-Newton | 2 | 35 | 19.78 | 7 s |
Scaled Conjugate Gradient | 2 | 35 | 13.07 | 1 s |
Scaled Conjugate Gradient | 7 | 35 | 17.22 | 2 s |
Scaled Conjugate Gradient | 7 | 20 | 15.90 | 2 s |
Scaled Conjugate Gradient | 2 | 20 | 13.96 | 1 s |
Case | Resolution | Performance | Training Time (min:s) |
---|---|---|---|
Kvasir gray | 128 × 156 | 91% | 0:35 |
Kvasir gray rotated | 128 × 156 | 92.5% | 2:01 |
Kvasir rgb | 128 × 156 | 93% | 3:07 |
Kvasir gray rotated | 256 × 256 | 96.7% | 5:52 |
Kvasir rgb rotated | 256 × 256 | 97.1% | 9:16 |
Kvasir rgb rotated | 512 × 512 | 96.9% | 46:42 |
Kvasir rgb rotated | 640 × 640 | 94.5% | 120:29 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Danku, A.E.; Dulf, E.H.; Berciu, A.G.; Lorenzovici, N.; Mocan, T. Colorectal Cancer Detection Tool Developed with Neural Networks. Appl. Sci. 2025, 15, 8144. https://doi.org/10.3390/app15158144
Danku AE, Dulf EH, Berciu AG, Lorenzovici N, Mocan T. Colorectal Cancer Detection Tool Developed with Neural Networks. Applied Sciences. 2025; 15(15):8144. https://doi.org/10.3390/app15158144
Chicago/Turabian StyleDanku, Alex Ede, Eva Henrietta Dulf, Alexandru George Berciu, Noemi Lorenzovici, and Teodora Mocan. 2025. "Colorectal Cancer Detection Tool Developed with Neural Networks" Applied Sciences 15, no. 15: 8144. https://doi.org/10.3390/app15158144
APA StyleDanku, A. E., Dulf, E. H., Berciu, A. G., Lorenzovici, N., & Mocan, T. (2025). Colorectal Cancer Detection Tool Developed with Neural Networks. Applied Sciences, 15(15), 8144. https://doi.org/10.3390/app15158144