Closed suppechasper closed 5 years ago
You can do something like this
reg1 = antsRegistration(X, Y1, typeofTransform='SyN') reg2 = antsRegistration(X, Y2, initialTransform = reg1$fwdtransforms, typeofTransform='SyN')
I am not sure how meaningful this would be if Y1 and Y2 are different images.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Samuel Gerber notifications@github.com Sent: Saturday, January 12, 2019 9:52:19 AM To: ANTsX/ANTsR Cc: Subscribed Subject: [ANTsX/ANTsR] Iterative Update of Registration (#256)
Hi,
Very nice to have ANTs in R.
Is it possible in antsRegistration to update the transforms in an iterative fashion? I.e:
Thanks Sam
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FANTsX%2FANTsR%2Fissues%2F256&data=02%7C01%7C%7C4537993c57a542753a5a08d678b6b305%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636829123406962459&sdata=Q9DifbKFnMy4wpIZn8aOfkquDthToaKNtzkErmbNMxA%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUTJFFLvRgL9glH-6vaB6wA7_MYkYQvyks5vCiDTgaJpZM4Z8xJ8&data=02%7C01%7C%7C4537993c57a542753a5a08d678b6b305%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636829123406962459&sdata=js%2Bw2DHKUoV%2FkU0oO5Ys5Wpcvd5A1OtJwtT19E6rYFw%3D&reserved=0.
I think this is not quite what I want. I believe this concatenated two transformations. I'd like to update the original transforms and avoid finding an indirect path of transforms and also less regularized final transform. Of course I can just compute a new transform to Y2 from X but Y2 is an update of Y1 and the hope is that it would converge quicker when starting from the previous transform.
What about using initialTransform
: transforms to prepend, in antsRegistration
?
Hi,
Very nice to have ANTs in R.
Is it possible in antsRegistration to update the transforms in an iterative fashion? I.e:
Thanks Sam