Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: B. Raj Kumar, Dr. Ch. D V Subba Rao
DOI Link: https://doi.org/10.22214/ijraset.2026.85571
Certificate: View Certificate
MediRay AI is a research prototype that analyses medical images from five cancer types: lung, glioblastoma, breast, colorectal, and gastric. It uses a CNN-LSTM classifier and reference-based image matching to evaluate uploaded images based on the scan type chosen. On 5000 test images, the CNN-LSTM achieved 92.4% accuracy and a macro-F1 score of 0.908, compared to a baseline CNN\'s 67.6% accuracy and 0.623 macro-F1 score. These preliminary findings are archive-reported and have not been independently replicated; the dataset split also requires confirmation. The current bundled dataset includes 10,000 synthetic or augmented images, with plans to expand to 50,000 in the future. When an image fails to meet the matching conditions, the system may return an unclassified result. The project also discusses drug-response analysis using gene expression and drug data, though the runnable package currently employs an illustrative scoring method rather than a training regression model. MediRay AI is designed for research and demonstration. Before making claims about clinical performance, validated data, reproducible evaluation, and independent testing are required.
The text presents MediRay AI, a web-based research prototype for medical image classification and exploratory drug-response analysis. The system combines a Convolutional Neural Network (CNN), a Long Short-Term Memory (LSTM) network, and reference-based image matching to classify medical images into five cancer categories.
Cancer is a major global health concern, and medical imaging plays an important role in disease investigation.
Manual interpretation of medical images can be challenging because of differences in image quality, scan types, and disease characteristics.
Deep learning techniques, particularly CNNs and LSTMs, can help identify patterns and relationships in medical images.
A classification system should also verify whether an uploaded image is compatible with the selected scan type and available reference data to avoid unsupported predictions.
MediRay AI is designed to classify medical images into five cancer categories:
Lung cancer
Glioblastoma
Breast cancer
Colorectal cancer
Gastric cancer
The system combines:
CNN: Extracts important visual features from medical images.
LSTM: Learns relationships between extracted image features.
Reference-based matching: Compares uploaded images with available reference images to verify classification results.
If an uploaded image does not satisfy the supported matching criteria, the system returns an unclassified result instead of providing an unreliable prediction.
The study reviews previous research in medical image analysis:
Litjens et al.: Reviewed deep-learning applications in medical image classification, detection, and segmentation.
Esteva et al.: Demonstrated CNN-based classification of skin cancer images.
Kermany et al.: Applied deep learning and transfer learning to chest X-rays and retinal images.
Coudray et al.: Investigated lung-cancer classification and mutation prediction using histopathology images.
Wang et al.: Studied chest X-ray classification and localization of thoracic diseases.
These studies demonstrate the potential of deep learning in medical imaging. However, they use different datasets, imaging modalities, and classification tasks.
Research gap: MediRay AI combines CNN–LSTM classification, reference-based image validation, and a web-based results workflow. Its current results are preliminary because the dataset consists of synthetic or augmented images rather than independently validated clinical images.
The main problem is that medical image classifiers may generate unsupported predictions when uploaded images are incompatible with the selected category or reference data.
MediRay AI aims to address this problem through image classification and reference-based verification.
Its primary objectives are:
To classify medical images into five supported cancer categories using a CNN–LSTM model.
To verify uploaded images against reference data.
To process images according to the selected scan category.
To return an unclassified result when an image does not meet matching requirements.
To distinguish the current dataset size from the planned expansion.
To explore drug-response analysis using gene expression, drug representations, and IC?? values.
To evaluate classification performance using class-specific metrics.
To establish the need for independent testing and validated medical datasets.
|
Dataset characteristic |
Current status |
|---|---|
|
Current dataset size |
10,000 images |
|
Planned dataset size |
50,000 images |
|
Image type |
Synthetic or augmented |
|
Cancer categories |
5 |
|
Intended application |
Research and demonstration |
The 50,000-image dataset is a future target, not the dataset used for the current experimental results.
The study emphasizes that increasing the number of images does not automatically guarantee better accuracy. Reliable labels, verified sources, and patient-level separation between training and testing data are essential.
The proposed system consists of four main components:
A. Web-Based User Interface
Provides the home page and image-upload functionality.
Allows users to select a cancer category.
Accepts JPG, PNG, and WEBP images.
Displays classification results returned by the backend.
B. FastAPI Backend
Connects the website with the machine-learning model.
Receives uploaded images and category selections.
Validates requests and invokes prediction processes.
Returns classification results or error messages.
Provides a health-check endpoint to monitor the API.
C. Image Validation and Preprocessing
Checks whether the uploaded file is a supported image format.
Verifies that the image can be opened.
Resizes and prepares the image for model processing.
Rejects unsupported or unreadable files.
D. CNN–LSTM Classification and Reference Matching
Uses a PyTorch CNN–LSTM model to predict one of the five cancer categories.
Compares the uploaded image with available reference images.
Checks whether the predicted category is sufficiently supported.
Returns an unclassified result when the prediction is weak or conflicts with reference matching.
The project also explores drug-response prediction using:
Gene-expression profiles.
Drug representations.
IC?? (half-maximal inhibitory concentration) measurements.
However, an important limitation is that the current runnable package uses an illustrative scoring method rather than a trained regression model. Therefore, its drug-response outputs should not be interpreted as validated scientific predictions.
The study identifies several important limitations:
The current dataset contains only 10,000 synthetic or augmented images.
The planned 50,000-image dataset has not yet been implemented.
Clinical validation has not been established.
Performance on independent real-world medical images remains unknown.
Drug-response analysis uses illustrative scoring rather than trained regression.
MediRay AI demonstrates a web-based workflow for medical image classification, connecting image upload and validation with a CNN–LSTM model, reference matching, results display, and browser-based prediction history. The system illustrates how these components can be integrated into an accessible prototype. Its reference-matching step can flag weak or conflicting predictions and return an unclassified result when the available evidence is insufficient. The project’s saved benchmark reports higher scores for CNN–LSTM than for the baseline CNN on a 5000-image synthetic or augmented test set. These results provide an initial software-level comparison, but they do not establish clinical accuracy. The data is not a verified patient dataset, benchmark metadata requires confirmation, and the model lacks a normal or benign category. Consequently, the system cannot confirm that an image is healthy, rule out disease, or provide a diagnosis. Overall, the project provides a foundation for further research and development in automated image-analysis workflows. Future work should prioritise verified and diverse medical datasets, reproducible evaluation, external validation, calibrated uncertainty, improved privacy protections, and clinician oversight. Until these steps are completed and the system is appropriately validated, MediRay AI should remain an educational and research prototype rather than a tool for clinical decision-making.
[1] Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner, “Gradient-Based Learning Applied to Document Recognition,” Proceedings of the IEEE, vol. 86, no. 11, pp. 2278–2324, 1998. [2] A. Krizhevsky, I. Sutskever, and G. E. Hinton, “ImageNet Classification with Deep Convolutional Neural Networks,” Advances in Neural Information Processing Systems, vol. 25, pp. 1097–1105, 2012. [3] K. Simonyan and A. Zisserman, “Very Deep Convolutional Networks for Large-Scale Image Recognition,” International Conference on Learning Representations, 2015. [4] S. Hochreiter and J. Schmidhuber, “Long Short-Term Memory,” Neural Computation, vol. 9, no. 8, pp. 1735–1780, 1997. [5] K. He, X. Zhang, S. Ren, and J. Sun, “Deep Residual Learning for Image Recognition,” Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778, 2016. [6] G. Litjens et al., “A Survey on Deep Learning in Medical Image Analysis,” Medical Image Analysis, vol. 42, pp.60–88, 2017. [7] A. Esteva et al., “Dermatologist-Level Classification of Skin Cancer with Deep Neural Networks,” Nature, vol.542, pp. 115–118, 2017. [8] D. S. Kermany et al., “Identifying Medical Diagnoses and Treatable Diseases by Image-Based Deep Learning,” Cell, vol. 172, no. 5, pp. 1122–1131.e9, 2018. [9] X. Wang et al., “ChestX-Ray8: Hospital-Scale Chest X-Ray Database and Benchmarks on Weakly-Supervised Classification and Localisation of Common Thorax Diseases,” Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3462–3471, 2017. [10] P. Rajpurkar et al., “CheXNet: Radiologist-Level Pneumonia Detection on Chest X-Rays with Deep Learning,” arXiv preprint, arXiv:1711.05225, 2017. [11] O. Ronneberger, P. Fischer, and T. Brox, “U-Net: Convolutional Networks for Biomedical Image Segmentation,” Medical Image Computing and Computer-Assisted Intervention, vol. 9351, pp. 234–241, 2015. [12] A. Paszke et al., “PyTorch: An Imperative Style, High-Performance Deep Learning Library,” Advances in Neural Information Processing Systems, vol. 32, pp. 8024–8035, 2019. [13] M. Sokolova and G. Lapalme, “A Systematic Analysis of Performance Measures for Classification Tasks,” Information Processing & Management, vol. 45, no. 4, pp. 427–437, 2009. [14] C. Shorten and T. M. Khoshgoftaar, “A Survey on Image Data Augmentation for Deep Learning,” Journal of Big Data, vol. 6, article 60, 2019. [15] C. J. Kelly et al., “Key Challenges for Delivering Clinical Impact with Artificial Intelligence,” BMC Medicine, vol. 17, article 195, 2019. [16] O. Russakovsky et al., “ImageNet Large Scale Visual Recognition Challenge,” International Journal of Computer Vision, vol. 115, pp. 211–252, 2015. [17] J. Deng et al., “ImageNet: A Large-Scale Hierarchical Image Database,” Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 248–255, 2009. [18] R. R. Selvaraju et al., “Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localisation,” Proceedings of the IEEE International Conference on Computer Vision, pp. 618–626, 2017. [19] C. Guo, G. Pleiss, Y. Sun, and K. Q. Weinberger, “On Calibration of Modern Neural Networks,” Proceedings of the 34th International Conference on Machine Learning, vol. 70, pp. 1321–1330, 2017. [20] J. R. Zech et al., “Variable Generalisation Performance of a Deep Learning Model to Detect Pneumonia in Chest Radiographs: A Cross-Sectional Study,” PLOS Medicine, vol. 15, no. 11, article e1002683, 2018. [21] S. M. McKinney et al., “International Evaluation of an AI System for Breast Cancer Screening,” Nature, vol. [22] 577, pp. 89–94, 2020. [23] B. Ehteshami Bejnordi et al., “Diagnostic Assessment of Deep Learning Algorithms for Detection of Lymph Node Metastases in Women With Breast Cancer,” JAMA, vol. 318, no. 22, pp. 2199–2210, 2017. [24] N. Coudray et al., “Classification and Mutation Prediction from Non-Small Cell Lung Cancer Histopathology Images Using Deep Learning,” Nature Medicine, vol. 24, pp. 1559–1567, 2018. [25] G. Campanella et al., “Clinical-Grade Computational Pathology Using Weakly Supervised Deep Learning on Whole Slide Images,” Nature Medicine, vol. 25, pp. 1301–1309, 2019. [26] D. D. Mongan, L. Moy, and C. E. Kahn Jr., “Checklist for Artificial Intelligence in Medical Imaging (CLAIM): A Guide for Authors and Reviewers,” Radiology: Artificial Intelligence, vol. 2, no. 2, article e200029, 2020. [27] H. J. W. L. Aerts et al., “Decoding Tumour Phenotype by Noninvasive Imaging Using a Quantitative Radiomics Approach,” Nature Communications, vol. 5, article 4006, 2014. [28] R. T. H. Leijenaar et al., “Radiomics: Extracting More Information from Medical Images Using Advanced Feature Analysis,” European Journal of Cancer, vol. 48, no. 4, pp. 441–446, 2012. [29] J. Yosinski, J. Clune, Y. Bengio, and H. Lipson, “How Transferable Are Features in Deep Neural Networks?” Advances in Neural Information Processing Systems, vol. 27, pp. 3320–3328, 2014. [30] K. Clark et al., “The Cancer Imaging Archive (TCIA): Maintaining and Operating a Public Information Repository,” Journal of Digital Imaging, vol. 26, pp. 1045–1057, 2013. [31] S. G. Armato III et al., “The Lung Image Database Consortium (LIDC) and Image Database Resource Initiative (IDRI): A Completed Reference Database of Lung Nodules on CT Scans,” Medical Physics, vol. 38, no. 2, pp. 915–931, 2011.
Copyright © 2026 B. Raj Kumar, Dr. Ch. D V Subba Rao. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET85571
Publish Date : 2026-11-01
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here
Submit Paper Online
