-
-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Computed Tomography Analysis Using DL project
- Loading branch information
1 parent
448a77c
commit c20b069
Showing
15 changed files
with
110 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# CT Brain Object Detection Dataset | ||
|
||
## Overview | ||
The CT Brain Object Detection Dataset is a comprehensive collection of CT brain scans aimed at facilitating research in neurology, radiology, and oncology. It comprises images of brains afflicted with various conditions such as cancer, tumor, and aneurysm. These scans are invaluable resources for developing and assessing computer-based algorithms, machine learning models, and deep learning techniques for automated detection, diagnosis, and classification of brain diseases. | ||
|
||
## Dataset Details | ||
- **Format:** The dataset contains CT brain scans in two different formats: .jpg and .dcm (Digital Imaging and Communications in Medicine). | ||
- **Types of Brain Diseases:** The dataset encompasses three primary types of brain diseases: | ||
1. Cancer | ||
2. Tumor | ||
3. Aneurysm | ||
|
||
## Accessing the Dataset | ||
The dataset is stored in the "files" folder, which is further organized into subfolders corresponding to the type of brain disease. Each subfolder contains CT scans of individuals with the respective condition in both .jpg and .dcm formats. | ||
|
||
Additionally, the dataset includes a file with the extension .csv, which provides essential information for each media file: | ||
- **dcm:** Link to access the .dcm file | ||
- **jpg:** Link to access the .jpg file | ||
- **type:** Name of the brain disease observed in the CT scan | ||
|
||
## Commercial Usage | ||
For commercial purposes, the full version of the dataset offers a more extensive collection of brain scans featuring individuals with diverse conditions. To obtain access to the complete dataset, interested parties can submit a request on TrainingData. | ||
|
||
## Acknowledgments | ||
We extend our gratitude to TrainingData for providing access to this valuable dataset, which holds significant potential for advancing research and innovation in the field of medical imaging analysis and diagnosis. | ||
|
||
For further inquiries or assistance, please feel free to contact us. | ||
|
||
--- | ||
|
||
[Download Full Dataset](https://www.kaggle.com/datasets/trainingdatapro/computed-tomography-ct-of-the-brain) | ||
|
||
This README.md file is intended to provide a comprehensive overview of the CT Brain Object Detection Dataset, facilitating easy navigation and utilization for research and development purposes. |
Binary file added
BIN
+234 KB
Computed Tomography Analysis using DL/Images/EfficientNetB7-model_architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+234 KB
Computed Tomography Analysis using DL/Images/ResNet50-model_architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+232 KB
Computed Tomography Analysis using DL/Images/VGG16_model_architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+142 KB
Computed Tomography Analysis using DL/Images/efficient-net-acc-loss-curve.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.2 KB
Computed Tomography Analysis using DL/Images/output-Image-Statistics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.2 KB
Computed Tomography Analysis using DL/Images/output-class-distribution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+154 KB
Computed Tomography Analysis using DL/Images/output-sample-img-from-each-class.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+144 KB
Computed Tomography Analysis using DL/Images/resnet-acc-loss-curve.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+43.4 KB
Computed Tomography Analysis using DL/Images/resnet-confusion-matrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+43.4 KB
Computed Tomography Analysis using DL/Images/vgg-confusion-matrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Computed Tomography Analysis using DL | ||
|
||
## 🎯 Goal | ||
|
||
The primary objective of this project is to accurately classify medical diseases including tumors, cancer, and aneurysms from CT scan images by applying deep learning algorithms. The goal is to make it easier for medical practitioners to diagnose and treat patients. | ||
|
||
## 🧵 Dataset | ||
|
||
The dataset used in this project is sourced from Kaggle and can be accessed via the following link: [Computed Tomography (CT) of the Brain Dataset](https://www.kaggle.com/datasets/trainingdatapro/computed-tomography-ct-of-the-brain). | ||
|
||
## 🧾 Description | ||
|
||
This project involves the development of deep learning models to analyze CT scan images of the brain and classify them into specific categories based on medical conditions detected. | ||
|
||
## 🧮 What I Had Done! | ||
|
||
- Data collection and preprocessing. | ||
- Exploratory data analysis to gain insights into the dataset. | ||
- Implementation of deep learning models, including VGG16, ResNet50, and EfficientNetB7. | ||
- Evaluation of model performance on training, validation, and test datasets. | ||
- Comparison of model accuracies and selection of the best-performing model. | ||
|
||
## 🚀 Models Implemented | ||
|
||
- VGG16: Chosen for its simplicity and effectiveness in image classification tasks. | ||
- ResNet50: Selected for its ability to handle deep networks without vanishing gradient problems. | ||
- EfficientNetB7: Chosen for its balance of model depth, width, and resolution for optimal performance. | ||
|
||
## 📚 Libraries Needed | ||
|
||
- TensorFlow | ||
- Keras | ||
- Pandas | ||
- Matplotlib | ||
- Seaborn | ||
|
||
## 📊 Exploratory Data Analysis Results | ||
|
||
#### visualizations of the exploratory data analysis results | ||
|
||
|
||
![class-distribution](../Images/output-class-distribution.png) | ||
![Image-Statistics](../Images/output-Image-Statistics.png) | ||
![sample-img-from-each-class](../Images/output-sample-img-from-each-class.png) | ||
|
||
|
||
|
||
## 📈 Performance of the Models based on the Accuracy Scores | ||
|
||
- **VGG16:** | ||
- Accuracy: 100% | ||
- **ResNet50:** | ||
- Accuracy: 100% | ||
- **EfficientNetB7:** | ||
- Accuracy: 100% | ||
|
||
## 📢 Conclusion | ||
|
||
In summary, all models successfully classified CT scan pictures into the designated categories with an amazing 100% accuracy rate. Since every model worked just as well for this project, it is not required to select the one that fits the data the best. | ||
|
||
## ✒️ Your Signature | ||
|
||
Jaya Prakash Sangem | ||
|
||
[LinkedIn](https://www.linkedin.com/in/sangemjayaprakash) | ||
[GitHub](https://github.com/Jaya-Prakash-17) | ||
|
1 change: 1 addition & 0 deletions
1
Computed Tomography Analysis using DL/Model/dl-simplified-ct.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
numpy | ||
pandas | ||
matplotlib | ||
cv2 | ||
PIL | ||
sklearn | ||
tensorflow | ||
IPython | ||
pydicom |