amanbasu / 3d-prostate-segmentation

Segmentation of prostate from MRI scans
GNU General Public License v3.0
44 stars 13 forks source link

Respacing #10

Closed HongzhengYang closed 2 years ago

HongzhengYang commented 2 years ago

Hi, thanks for sharing your great work. I am trying to follow your implementation on my own task. According to your poster, the images are resized and respaced. However, according to the github code, I think you only re-size the MRI images. Am I wrong ? Do I need to further re-space the MRI images ?

amanbasu commented 2 years ago

Respacing is done along with the resizing. You can refer https://github.com/amanbasu/3d-prostate-segmentation/blob/80d46fea6e4e67a639cbd3f4e98280fbdec65d0b/resizing.py#L22

HongzhengYang commented 2 years ago

Thanks for your reply. So the spacing can be different for different images ?

amanbasu commented 2 years ago

Yes, it will depend on the current size and new size of the image.

HongzhengYang commented 2 years ago

Thanks for your help.