tomaroberts / nii2dcm

nii2dcm: NIfTI to DICOM creation with Python
Other
60 stars 14 forks source link

prepare dicoms(max,min variable) about #42

Open Cestovatels opened 3 months ago

Cestovatels commented 3 months ago

Hello, the minimum maximum values of the niftis I have are between 735 and 3095. However, when I use your code and convert it to niftiye, it comes as minimum 0 maximum 4095. This causes the current image to be distorted, causing excessive black places to appear white. I did not see an adjustment that I can change this setting. I think I missed the relevant lines in the code.

I would be glad if you can help with this issue. Thanks for the work.

tomaroberts commented 3 months ago

@Cestovatels – thank you for raising the issue! Are you able to share your Nifti files perhaps?