Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,49 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pipeline_tag: image-feature-extraction
|
| 6 |
+
tags:
|
| 7 |
+
- deep
|
| 8 |
+
- features
|
| 9 |
+
- CNN
|
| 10 |
+
- latent
|
| 11 |
+
- glioblastoma
|
| 12 |
+
---
|
| 13 |
+
# Deep Extraction Network (DEN)
|
| 14 |
+
This repository defines a sequential Convolutional Neural Network (CNN) model (18 layers) that extracts deep features from Nifti MRI files of segmented glioblastoma tumours
|
| 15 |
+

|
| 16 |
+
|
| 17 |
+
Here are the key characteristics of this CNN model:
|
| 18 |
+
1. Architecture Overview:
|
| 19 |
+
• The model is a sequential model, meaning it has a linear stack of layers.
|
| 20 |
+
• It consists of five convolutional layers, followed by a flattening operation and a fully connected layer.
|
| 21 |
+
|
| 22 |
+
3. Convolutional Layers:
|
| 23 |
+
• First Layer: It has 96 filters, each of size 9×99×9, with a stride of 4×44×4 and 'valid' padding. This is followed by ReLU activation, batch normalization, and max pooling with a 3×33×3 window and 2×22×2 stride.
|
| 24 |
+
• Second Layer: It has 256 filters of size 7×77×7, stride 1×11×1, and 'same' padding, followed by ReLU activation, batch normalization, and max pooling.
|
| 25 |
+
• Third and Fourth Layers: Each has 384 filters of size 3×33×3 with a stride of 1×11×1 and 'same' padding, followed by ReLU activation.
|
| 26 |
+
• Fifth Layer: It has 256 filters, similar to the third and fourth layers, and is followed by ReLU activation and max pooling.
|
| 27 |
+
|
| 28 |
+
4. Fully Connected Layer:
|
| 29 |
+
• After the convolutional and pooling layers, the model flattens the output and feeds it into a dense layer with 4096 units, followed by ReLU activation.
|
| 30 |
+
|
| 31 |
+
5. Model Compilation:
|
| 32 |
+
• The model is compiled with the Adam optimizer and uses categorical cross-entropy as the loss function.
|
| 33 |
+
|
| 34 |
+
6. Data Preprocessing for Medical Imaging:
|
| 35 |
+
• The code includes steps for loading and preprocessing medical images (NIfTI format). It involves resizing, normalizing, and expanding dimensions to match the input shape required by the CNN model.
|
| 36 |
+
|
| 37 |
+
7. Feature Extraction and Visualization:
|
| 38 |
+
• The model is used to predict features from preprocessed medical images. These features are then reshaped and visualized using a heatmap.
|
| 39 |
+
|
| 40 |
+
8. Saving Extracted Features:
|
| 41 |
+
• The extracted features are saved as a NumPy array to a specified file path.
|
| 42 |
+
|
| 43 |
+
9. Input Shape:
|
| 44 |
+
• The model expects an input shape of 224×224×1, suitable for grayscale images of size 224x224 pixels.
|
| 45 |
+
|
| 46 |
+
Inspiration:LeNet Architecture (25 layers)
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
Copyright: Prajwal Ghimire
|