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

Conversion works but... #22

Closed Zibri closed 5 years ago

Zibri commented 5 years ago

Is there a way to increase the resolution or the conversion already happens in the best available from the file?

danishm commented 5 years ago

@Zibri mritopng doesn't play around with the resolution at all. It does a simple pixel to pixel conversion. Hence, the resolution of the png file should match what was inside the dicom file.

Do you feel your source files has better resolution and mritopng is not outputting that?

Zibri commented 5 years ago

Not at all. I was wondering if by any reason those medical scans had multiple resolutions inside the file (like GIF for example).The dicom directory of a dental scan is only 142 MB. Nevermind... you can close this. And thanks. On Sun, 2019-02-24 at 12:24 -0800, Danish Mujeeb wrote:

@Zibri mritopng doesn't play around with the resolution at all. It does a simple pixel to pixel conversion. Hence, the resolution of the png file should match what was inside the dicom file.

Do you feel your source files has better resolution and mritopng is not outputting that?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c5 5493e4bb","name":"GitHub"},"entity":{"external_key":"github/danishm/m ritopng","title":"danishm/mritopng","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/ email/message_cards/header.png","avatar_image_url":"https://github.gi thubassets.com/images/email/message_cards/avatar.png","action":{"name ":"Open in GitHub","url":"https://github.com/danishm/mritopng"}},"upd ates":{"snippets":[{"icon":"PERSON","message":"@danishm in #22: @Zibri mritopng doesn't play around with the resolution at all. It does a simple pixel to pixel conversion. Hence, the resolution of the png file should match what was inside the dicom file. \r\n\r\nDo you feel your source files has better resolution and mritopng is not outputting that?"}],"action":{"name":"View Issue","url":"https:// github.com/danishm/mritopng/issues/22#issuecomment-466813375"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/danishm/mritopng/issues/22#issuecomment -466813375", "url": "https://github.com/danishm/mritopng/issues/22#issuecomment-46 6813375", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]