danishm / mritopng

A simple python module to make it easy to batch convert DICOM files to PNG images.
MIT License
141 stars 50 forks source link

mammogram orientation #27

Open hassane11 opened 5 years ago

hassane11 commented 5 years ago

Hi there, I am trying to convert mammogram to png. however mammogram can be left or right, the right mammogram have the correct orientation but the left mammogram are reversed.. image the breast should be to the left and the text should be LMLO but it is reversed thanks.

danishm commented 5 years ago

Hi @hassane11, thank you for reporting this issue. It looks like there might be some orientation data that mritopng is not being sensitive to.

Would it possible to get the original two scans i.e. the DICOM files of both left and right? I completely understand if that's not possible since I know DICOM files contains patient data.

hassane11 commented 5 years ago

Hi Danish, Thanks for the reply. unfortunately I cannot send you the dicom files. I know it is useless to you, but as you said it contains sensitive patient data... If there is a way to strip patient data from the files I would gladly send it to you.


From: Danish Mujeeb notifications@github.com Sent: Wednesday, May 1, 2019 1:56 PM To: danishm/mritopng Cc: hassane11; Mention Subject: Re: [danishm/mritopng] mammogram orientation (#27)

Hi @hassane11https://github.com/hassane11, thank you for reporting this issue. It looks like there might be some orientation data that mritopng is not being sensitive to.

Would it possible to get the original two scans i.e. the DICOM files of both left and right? I completely understand if that's not possible since I know DICOM files contains patient data.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/danishm/mritopng/issues/27#issuecomment-488288621, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AL3MNPKIDETNS4KG56M4G7DPTGOPPANCNFSM4HI6Q5VA.

danishm commented 5 years ago

@hassane11 Right, it's important to keep patient data secure!

Stripping away patient data from DICOM files could be a feature in this project!

I'll try to look into it. I think there is some orientation information in the file that I need to be sensitive to. If you're using a DICOM viewer that you can use to extract only the orientation information for both files, that would help too.

In the mean time, if this is one off, you can use an image editing program to mirror flip the PNG vertically