icon-lab / SynDiff

Official PyTorch implementation of SynDiff described in the paper (https://arxiv.org/abs/2207.08208).
Other
229 stars 39 forks source link

image registration code missing #24

Closed Michael-H777 closed 1 year ago

Michael-H777 commented 1 year ago

Hi,

would you consider releasing code used to register T2 and PD onto T1 for the IXI datset? the orientation, image size/dimension is quite different.

Michael

onat-dalmaz commented 1 year ago

For image registrartions, we have used flirt from FSL library. A sample command from FSL-flirt for registration would be:

"fsl5.0-flirt -in " + input_add + " -ref " + ref_address + " -out " + trans_add + " -omat " + mat_add + " -bins 256 -cost normmi -searchrx -180 180 -searchry -180 180 -searchrz -180 180 -dof 12 -interp spline"

Michael-H777 commented 1 year ago

Hi, thank you for the response.

I would like to confirm. The data I downloaded from the official IXI dataset have different orientation. is the reorienting also performed by FSL library? or is it done by hand, before the FSL library?

the PD and T2 data is oriented the same way, but T1 is not oriented like them.