bastula / dicompyler

Extensible radiation therapy research platform and viewer for DICOM and DICOM RT
http://www.dicompyler.com
264 stars 99 forks source link

wrong dose matrix resolution #92

Open richardmuellerx opened 8 years ago

richardmuellerx commented 8 years ago

The display of isodoses of a DICOM RT Dose file is not correct if the resolution of the dose matrix is not equal in row and column direction. Please have a look at the DICOM Image Plane Module, tag Pixel Spacing (0028,0020). The attribute description says: "Physical distance in the patient between the center of each pixel,specified by a numeric pair - adjacent row spacing (delimiter) adjacent column spacing in mm. See Section 10.7.1.3 for further explanation. I suspect that the row and column spacing are switched in the dicompyler implementation.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28279209-wrong-dose-matrix-resolution?utm_campaign=plugin&utm_content=tracker%2F18109348&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F18109348&utm_medium=issues&utm_source=github).
bastula commented 8 years ago

Great, this should be relatively easy to fix. Do you have any sample data so we can add this to a test case?

richardmuellerx commented 8 years ago

Yes, but how can I send it to you?

bastula commented 8 years ago

Please upload it here: https://www.dropbox.com/request/KlHzFLdh0XOMyDEA19gN

richardmuellerx commented 8 years ago

Ok, the sample DICOM files are uploaded.

bastula commented 8 years ago

Great, I'll start looking into these shortly.

On Tue, Nov 17, 2015 at 2:03 AM, richardmuellerx notifications@github.com wrote:

Ok, the sample DICOM files are uploaded.

— Reply to this email directly or view it on GitHub https://github.com/bastula/dicompyler/issues/92#issuecomment-157303881.