# omarbalahgit/graduation-project architecture

> Architecture diagram of the GitHub repository omarbalahgit/graduation-project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/omarbalahgit/graduation-project
- Repository: https://github.com/omarbalahgit/graduation-project

## Overview

The tree suggests a MATLAB image-classification project, with image-processing, CNN training, and a test script, plus image and dataset folders. The class folders include No_DR, Yes_DR, and Proliferate_DR. No README or source excerpts were provided, so the intended workflow, model artifact role, and connections between scripts cannot be verified; the graph therefore shows components without asserting data flow.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Images and data"]
  node_no_dr_data[("No_DR images")]
  node_proliferate_data[("Proliferate_DR images")]
  node_dataset_no_dr[("No_DR dataset")]
  node_dataset_yes_dr[("Yes_DR dataset")]
  node_new_images[("New images")]
  node_mat_file["MAT data file<br/>[matlab5.mat]"]
end

subgraph group_runtime["MATLAB components"]
  node_image_processing["Image processing<br/>[imageProcessing.m]"]
  node_cnn_training["CNN training"]
  node_cnn_test["CNN and image test"]
  node_threshold["Threshold level<br/>[Threshold_Level.m]"]
  node_accuracy_plot["Training accuracy plot"]
  node_stop_training["Stop at threshold"]
end

node_user(("User"))

click node_no_dr_data "https://github.com/omarbalahgit/graduation-project/tree/master/Database2/No_DR"
click node_proliferate_data "https://github.com/omarbalahgit/graduation-project/tree/master/Database2/Proliferate_DR"
click node_dataset_no_dr "https://github.com/omarbalahgit/graduation-project/tree/master/%D9%85%D8%AC%D9%85%D9%88%D8%B9%D8%A9%20%D8%A7%D9%84%D8%A8%D9%8A%D8%A7%D9%86%D8%A7%D8%AA/No_DR"
click node_dataset_yes_dr "https://github.com/omarbalahgit/graduation-project/tree/master/%D9%85%D8%AC%D9%85%D9%88%D8%B9%D8%A9%20%D8%A7%D9%84%D8%A8%D9%8A%D8%A7%D9%86%D8%A7%D8%AA/Yes_DR"
click node_new_images "https://github.com/omarbalahgit/graduation-project/tree/master/new%20image"
click node_image_processing "https://github.com/omarbalahgit/graduation-project/blob/master/imageProcessing.m"
click node_cnn_training "https://github.com/omarbalahgit/graduation-project/blob/master/trainingentworkCnn.m"
click node_cnn_test "https://github.com/omarbalahgit/graduation-project/blob/master/testCnnAndImageProsesing.m"
click node_threshold "https://github.com/omarbalahgit/graduation-project/blob/master/Threshold_Level.m"
click node_accuracy_plot "https://github.com/omarbalahgit/graduation-project/blob/master/plotTrainingAccuracy.m"
click node_stop_training "https://github.com/omarbalahgit/graduation-project/blob/master/stopTrainingAtThreshold.m"
click node_mat_file "https://github.com/omarbalahgit/graduation-project/blob/master/matlab5.mat"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_no_dr_data,node_proliferate_data,node_dataset_no_dr,node_dataset_yes_dr,node_new_images,node_mat_file,node_user toneBlue
class node_image_processing,node_cnn_training,node_cnn_test,node_threshold,node_accuracy_plot,node_stop_training toneAmber
```

## Components

### Images and data

- [No_DR images](https://github.com/omarbalahgit/graduation-project/tree/master/Database2/No_DR): `Database2/No_DR`
- [Proliferate_DR images](https://github.com/omarbalahgit/graduation-project/tree/master/Database2/Proliferate_DR): `Database2/Proliferate_DR`
- [No_DR dataset](https://github.com/omarbalahgit/graduation-project/tree/master/%D9%85%D8%AC%D9%85%D9%88%D8%B9%D8%A9%20%D8%A7%D9%84%D8%A8%D9%8A%D8%A7%D9%86%D8%A7%D8%AA/No_DR): `مجموعة البيانات/No_DR`
- [Yes_DR dataset](https://github.com/omarbalahgit/graduation-project/tree/master/%D9%85%D8%AC%D9%85%D9%88%D8%B9%D8%A9%20%D8%A7%D9%84%D8%A8%D9%8A%D8%A7%D9%86%D8%A7%D8%AA/Yes_DR): `مجموعة البيانات/Yes_DR`
- [New images](https://github.com/omarbalahgit/graduation-project/tree/master/new%20image): `new image`
- [MAT data file](https://github.com/omarbalahgit/graduation-project/blob/master/matlab5.mat): `matlab5.mat`

### MATLAB components

- [Image processing](https://github.com/omarbalahgit/graduation-project/blob/master/imageProcessing.m): `imageProcessing.m`
- [CNN training](https://github.com/omarbalahgit/graduation-project/blob/master/trainingentworkCnn.m): `trainingentworkCnn.m`
- [CNN and image test](https://github.com/omarbalahgit/graduation-project/blob/master/testCnnAndImageProsesing.m): `testCnnAndImageProsesing.m`
- [Threshold level](https://github.com/omarbalahgit/graduation-project/blob/master/Threshold_Level.m): `Threshold_Level.m`
- [Training accuracy plot](https://github.com/omarbalahgit/graduation-project/blob/master/plotTrainingAccuracy.m): `plotTrainingAccuracy.m`
- [Stop at threshold](https://github.com/omarbalahgit/graduation-project/blob/master/stopTrainingAtThreshold.m): `stopTrainingAtThreshold.m`

### Other components

- **User**
