MedicalDataAugmentationTool-VerSe icon indicating copy to clipboard operation
MedicalDataAugmentationTool-VerSe copied to clipboard

The shape of GLxxx file is resize !!

Open hphuongdhsp opened this issue 4 years ago • 2 comments

It about the size of GLxxx file. I tried to get the 2D - central image from the 3D image. Here is the result of GL 003.

Do y know why the size of these files is not correct?

GL003_11

hphuongdhsp avatar Dec 21 '20 15:12 hphuongdhsp

The files are correct. In medical image files, there additional metadata that defines the physical size of a pixel. In this case, the file is anisotropic, i.e., there is a different physical spacing size per dimension.

In your visualization, you are not correctly handling the spacing information. Our framework however, should handle such files correctly, the same as most medical image viewers.

Look into https://simpleitk.readthedocs.io/en/master/fundamentalConcepts.html for more details.

christianpayer avatar Dec 21 '20 15:12 christianpayer

Thank you for your quick answer.

hphuongdhsp avatar Dec 21 '20 16:12 hphuongdhsp