Skip to content

This repository uses preprocessing technics such as image growing and erosion and dilation to crop the lungs from chest X-ray images.

License

Notifications You must be signed in to change notification settings

soroushtaslimi/lung_image_preprocessing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lung_image_preprocessing

This repository uses pre-processing techniques such as region growing, erosion and dilation to crop the lungs from chest X-ray images.

Prerequisites

Python 3 +
numpy 1.18 +
opencv-python 4.x +

Running the tests

run main.py located in ./code/ directory

python main.py

Lung images are read from ./data/ directory

After running the code the results are stored in ./Results/ directory. The green boundary shows a small part of the lung region after erosion. The blue rectangle is used to locate the lungs.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

This repository uses preprocessing technics such as image growing and erosion and dilation to crop the lungs from chest X-ray images.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages