Sure. I am using nipype as an interface, but I believe the critical subroutines are below. register_images calls ants_registration and apply_ants_transform. (I'm trying to attach data, but having trouble.) ants_registration is doing registration on the image and the apply_ants_transform is applying the transform to the mask ROIs. 120 def register_images(filepaths, atlas_filepath): 121 print(filepaths) 122 for path in filepaths: 123 # Need to change working directory because ANTs saves transforms...
I am using ITK-SNAP. On Fri, Dec 20, 2019 at 11:37 AM Nick Tustison ntustison@users.sourceforge.net wrote: What tool are you using to check the quality of your registrations? Apply Transform to Mask with non-zero quaterns https://sourceforge.net/p/advants/discussion/840261/thread/2247fb4773/?limit=25#7441/b3e1 Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/advants/discussion/840261/ To unsubscribe from further messages, please visit https://sourceforge.net/...
Hello, I am using ANTs to register a number of images to the MNI152_T1 atlas. I then want to apply the transform to masks corresponding to the moving image. The majority of my cases are working just as expected, but I have a handful where the image registration is fine, but the transformed masks are not. At this point, the major difference I see is between cases working and those not are that the ones that do work have 0 as their quatern values, where those that don't work have non-zero quatern values....