DIAGNijmegen / rse-panimg

Conversion of medical images to MHA and TIFF.
Apache License 2.0
13 stars 5 forks source link

Make 'MONOCHROME1' photometric interpretation content dependent #76

Closed chrisvanrun closed 2 years ago

chrisvanrun commented 2 years ago

Switches to MONOCHROME1 interpretation using the actual min and max values to invert around.

For good measure I've added the most minimum of unit test wrapping a singular function.