cwmok / LapIRN

Large Deformation Diffeomorphic Image Registration with Laplacian Pyramid Networks
MIT License
121 stars 21 forks source link

A small question on unit velocity field #33

Open xiaorugao999 opened 4 months ago

xiaorugao999 commented 4 months ago

Hello, thank you for your perfect work. I have a small question I'd like to ask you. Why do we multiply by (z-1) instead of (z-1)/2 when smoothing the velocity field?

image
cwmok commented 4 months ago

@xiaorugao999 You're correct. The correct way should be * (z-1)/2. But this work was my very preliminary work and all the results in the paper are reported using this code. I tend to preserve this minor mistake for better reproducibility.

Thanks for pointing it out.

xiaorugao999 commented 4 months ago

@cwmok Thank you for your timely response. I have recently encountered some issues with deformation field normalization, and I have learned a lot through your code. Once again, thank you for your excellent work.