Metadata-Version: 2.4
Name: rebadicom
Version: 0.0.2
Summary: A Python package for reading, converting, and inspecting DICOM medical imaging files.
Author-email: Frank Kwizera <frankpmn@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/Frankkwizera/reba-dicom
Project-URL: Repository, https://github.com/Frankkwizera/reba-dicom
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Healthcare Industry
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Classifier: Topic :: Scientific/Engineering :: Image Processing
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydicom>=2.2.2
Requires-Dist: numpy>=1.21.5
Requires-Dist: matplotlib>=3.5.1
Requires-Dist: opencv-python>=4.5.5
Dynamic: license-file

# reba-dicom

A Python package for reading, converting, and inspecting DICOM medical imaging files.

## Features

- Read DICOM files (`.dcm`) via `pydicom`
- Visualize a DICOM image's pixel array
- Export a DICOM image's pixel array to PNG
- Export a DICOM dataset's metadata to JSON

## Install

```bash
pip install rebadicom
```

## Usage

```python
from rebadicom.image import Image

image = Image("path/to/file.dcm")
image.show()               # display pixel array
image.save("out.png")      # export pixel array to PNG
image.to_json("out.json")  # export metadata to JSON
```
