COTOMKA is a simple python package for storage and pre-processing of medical computed tomography (CT) datasets. It provides unified interfaces and tools for pre-processing, saving and loading CT scans and their annotations (segmentation masks, etc.).
-
Clone the repository and install the package:
git clone https://github.com/mishgon/cotomka.git && cd cotomka && pip install -e .
-
If you encounter issues with the
opencv
library, run:pip uninstall opencv-python && pip install opencv-python-headless
Specify the root directory for datasets by creating a config file at ~/.config/cotomka/cotomka.yaml
with the following content:
root_dir: /path/to/your/dataset/directory
Replace /path/to/your/dataset/directory
with your desired location.
TODO: add usage example.
COTOMKA is licensed under the MIT License. See the LICENSE file for details.