Skip to content

Releases: danishm/mritopng

mritopng 2.2 - Auto Contrast

12 Sep 00:38
f3d00f6
Compare
Choose a tag to compare

This version contains the ability to apple auto-contrast when converting the DICOM files. This provides the following benefits

  • Ensure a more uniform output across files when converting multiple files
  • Match the processing of commercial processors a little more closely

The behavior is backward compatible. To enable auto-contrast, you need to add either the -c or --auto-contrast flag when running the command.

This ability is also added to the functions as an optional paramenter which defaults to False

mritopng 2.1

05 Nov 21:16
8664ba7
Compare
Choose a tag to compare

This fix addresses an issue where the input DICOM files might have readings below 0. In the example files provided by a user here, A value of -1024 is seen for the background.

I've modified the logic to simply clip such values to 0.