Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/g-eoj/talisman-test-suite-image-processing
Convert 16 bit tiffs of CT scans in Hounsfield Units to RGB jpgs.
https://github.com/g-eoj/talisman-test-suite-image-processing
Last synced: 3 days ago
JSON representation
Convert 16 bit tiffs of CT scans in Hounsfield Units to RGB jpgs.
- Host: GitHub
- URL: https://github.com/g-eoj/talisman-test-suite-image-processing
- Owner: g-eoj
- Created: 2017-11-25T23:47:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-26T00:16:03.000Z (about 7 years ago)
- Last Synced: 2023-10-20T19:55:44.902Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Talisman Test Suite Image Processing
Convert and categorize Talisman Test Suite images.
Requires Python3, OpenCV, and Numpy.The Talisman Test Suite consists of CT scan patches of Interstitial Lung Disease(ILD).
The patches are saved as 16 bit tiffs and use Hounsfield Units(HU).### Convert HU to RGB
In HUtoRGB.py set the following variables to the HU values you want to correspond to each RGB color channel:
```
minR, maxR, minG, maxG, minB, maxB
```The converted images are saved as jpgs in a new directory. The input and output directory paths can be changed from their defaults:
```
inputDir = './ILD_DB_talismanTestSuite/'
outputDir = './converted/'
```### Categorize by Disease
After running HUtoRGB.py, place and run catagorize.sh in the new 'converted' directory.
The images will be moved to subdirectories with disease names.