Skip to content

skolyn/stroke-preprocessing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Stroke CT Scan Preprocessing

This repository contains utility scripts and preprocessing workflows for the TEKNOFEST 2021 stroke detection dataset.
Both DICOM and PNG brain CT scan images are processed and labeled for use in AI model training.


πŸ“ Repository Structure

stroke-preprocessing/
β”œβ”€β”€ utils/
β”‚   β”œβ”€β”€ DicomHandler.py          # Handles DICOM reading & preprocessing
β”‚   └── png_utils.py             # Handles PNG reading & normalization
β”‚
β”œβ”€β”€ notebooks/
β”‚   └── preprocessing.ipynb      # Main Colab notebook: downloads + processes data
β”‚
β”œβ”€β”€ README.md
└── .gitignore

πŸš€ Get Started in Colab

Open In Colab


πŸ§ͺ Features

  • βœ… DICOM & PNG image parsing
  • βœ… Intensity windowing & rescaling
  • βœ… Automatic resizing to 224x224
  • βœ… Label assignment (0 = No stroke, 1 = Stroke)
  • βœ… Train/test dataset preparation

πŸ“¦ Requirements (handled in notebook)

  • pydicom, pylibjpeg, opencv-python, numpy, matplotlib, scikit-learn

πŸ“Š Dataset Source

Kaggle: Δ°NME VERΔ° SETΔ° (STROKE DATASET)
Licensed for research use under TEKNOFEST 2021 AI Competition guidelines.


πŸ“¬ Contact

Created by Skolyn Team – Contributions welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published