BRAINSia / dcm-classifier

Apache License 2.0
2 stars 1 forks source link

Automatically Scale Dicom Image's #50

Open Ivan-E-Johnson opened 7 months ago

Ivan-E-Johnson commented 7 months ago

Overview

When the valid fields are provided we should prefer to apply the provided scaling information at time of conversion from dcm to itk. Most of the time there is no scaling information provided and no scaling is done.

Implementation

When calling the get_itk_image function we check to see if there are the appropriate scaling dicom headers It then extracts the scaling information out of the provided headers and applies them to the newly generated ITK image

Testing

This was manually tested on over 800 prostate studies with promising results. There are No Unit tests as of yet

Problems Faced

None

Notes

For more information please refer here