ANTsX / ANTsR

R interface to the ANTs biomedical image processing library
https://antsx.github.io/ANTsR
Apache License 2.0
127 stars 35 forks source link

Proper similarity metric for Affine registration #381

Closed qipianmgh closed 1 year ago

qipianmgh commented 1 year ago

Hello I am trying to register some animal brain stacks obtained using OCT(Optical coherence tomography) and TPM (Two-Photon Microscopy). I started with Affine transform and planning to apply SyN method later. As for Affine transform, I couldn't get reasonable results in the z dimension with similarity metrics like GC (global correlation) and MI (mutual information), however the result improves a lot when I switch to CC (cross correlation) as the metric. May I know if CC is a proper similarity measure for Affine? I am asking because it is not listed as similarity measure for Affine in the ANTsDoc.

ntustison commented 1 year ago

It's probably simply an oversight in the documentation that it's not listed.

cookpa commented 1 year ago

It was probably not listed because it's not often used, due to it being much more computationally demanding than GC or MI. But it's fine to use it if it works for you.

qipianmgh commented 1 year ago

Thanks a lot!