loli / medpy

Medical image processing in Python
http://loli.github.io/medpy/
GNU General Public License v3.0
559 stars 136 forks source link

Possible wrong result returned by medpy.io.load #100

Closed albertnew2012 closed 3 years ago

albertnew2012 commented 3 years ago

Hello,

I used medpy.io.load to load a Dicom image, it gives a very different result from what is returned with Pydicom and MATLAB. However, the returns from Pydicom and MATLAB seem to match very well. Then it is likely that there is a bug in medpy.io.load. Could you the developer do cross-validation of this load function, which is critical?

albertnew2012 commented 3 years ago

Sorry, my bad. The returned value by dicomread needs to be processed with scale slop and scale intercept in its header info. Then it will match the return by medpy.io.load.