|
a |
|
b/README.md |
|
|
1 |
# Modern Lung Segmentation - Documentation |
|
|
2 |
|
|
|
3 |
 |
|
|
4 |
|
|
|
5 |
## Brief Description |
|
|
6 |
|
|
|
7 |
Modern Lung Segmentation is an innovative application designed to perform automatic lung segmentation on Chest X-Ray images. This application combines the power of deep learning with a simple and intuitive user interface, allowing users to easily perform fast and accurate lung segmentation. |
|
|
8 |
|
|
|
9 |
## Steps to Create the Application |
|
|
10 |
|
|
|
11 |
1. Preprocessing Chest X-Ray Dataset |
|
|
12 |
- The Chest X-Ray dataset from Kaggle is processed using advanced preprocessing techniques to prepare the data before training the models. |
|
|
13 |
|
|
|
14 |
2. Building Deep Learning Models for Segmentation |
|
|
15 |
- Powerful and innovative segmentation models are developed in this application. There are four available models: UNet, UNet++, Attention UNet, and R2UNet. These models have proven to provide accurate segmentation results. |
|
|
16 |
|
|
|
17 |
3. Model Training |
|
|
18 |
- The segmentation models are trained using the preprocessed Chest X-Ray dataset. Training is conducted to optimize the model's parameters and produce accurate and reliable segmentations. |
|
|
19 |
|
|
|
20 |
4. Training Evaluation |
|
|
21 |
- Evaluation is performed using the Intersection over Union (IoU) metric, which is a commonly used measure to evaluate segmentation quality. Additionally, observations on training time and the number of model parameters are made to provide a comprehensive understanding of the model's performance. |
|
|
22 |
|
|
|
23 |
5. Model Saving |
|
|
24 |
- After training is complete, the trained segmentation models are saved for future use in the Modern Lung Segmentation application. |
|
|
25 |
|
|
|
26 |
6. Creating a User Interface (UI) with Streamlit |
|
|
27 |
- The application utilizes Streamlit, a framework for creating interactive UIs, to develop a simple and user-friendly interface. |
|
|
28 |
- The features offered by the application are designed to provide a smooth and efficient user experience. |
|
|
29 |
|
|
|
30 |
## Key Features of the Application |
|
|
31 |
|
|
|
32 |
1. Automatic Segmentation with Four Models |
|
|
33 |
- The application provides four pre-trained segmentation models: UNet, UNet++, Attention UNet, and R2UNet. |
|
|
34 |
- Users can choose the model that best suits their needs to perform automatic lung segmentation on Chest X-Ray images. |
|
|
35 |
|
|
|
36 |
2. Input via Camera and File Upload |
|
|
37 |
- The application supports two types of input: users can either capture images directly through their device's camera or upload existing image files. |
|
|
38 |
|
|
|
39 |
3. Download Lung Segmentation Results |
|
|
40 |
- After performing segmentation on Chest X-Ray images, users can download the generated lung segmentation results provided by the application. |
|
|
41 |
- These segmentation results contain valuable information and can be used for further analysis. |
|
|
42 |
|
|
|
43 |
4. Model Explanation and Evaluation Menu |
|
|
44 |
- The application provides an explanation menu for each available segmentation model. Users can learn the technical details of each model and understand how they work. |
|
|
45 |
- Additionally, each model has an evaluation display that provides information about the quality of the segmentation produced by that model. |
|
|
46 |
|
|
|
47 |
5. Model Comparison with Informative Charts |
|
|
48 |
- The application includes a model comparison menu that showcases segmentation models trained using the Chest X-Ray dataset. |
|
|
49 |
- This menu presents informative charts that include IoU evaluation results, computational time, and the number of model parameters. |
|
|
50 |
- The charts help users choose the most suitable model for their segmentation predictions. |
|
|
51 |
|
|
|
52 |
6. Analysis of Evaluation Results |
|
|
53 |
- The evaluation results obtained from the segmentation models can be further analyzed to gain deeper insights into model performance and the quality of the generated segmentations. |
|
|
54 |
- This analysis provides a better understanding of the strengths and weaknesses of each model. |
|
|
55 |
|
|
|
56 |
## Contributions and Future Development |
|
|
57 |
We invite you to contribute to the development of the Modern Lung Segmentation application. You can add new features, improve existing segmentation models, or expand the dataset used. |
|
|
58 |
For more information on contributing and development, please refer to our GitHub repository. |
|
|
59 |
|
|
|
60 |
## Contact Us |
|
|
61 |
If you have any questions, suggestions, or feedback, please feel free to reach out to our team at baurav99@gmail.com. |
|
|
62 |
|
|
|
63 |
We appreciate your interest in the Modern Lung Segmentation application and look forward to your involvement in improving healthcare technology. |