ANTsPy
ANTsPy copied to clipboard
Fast and comprehensive medical imaging analysis framework in Python
Hello, I am trying to nonlinearly register two FA images (derived from diffusion MRI). I am particularly interested in the affine map and warp nifti file that ANTspy registration generates....
**Is your feature request related to a problem? Please describe.** In analogy with the buildtemplateparallel script, it would make sense to actually return the transforms for the template built in...
not sure if I'm missing something or if there is a bug here ``` # f: image with shape (200, 200, 200) # aff: nonzero affine w = ants.transform_from_displacement_field( ants.from_numpy(...
the following cause segfaults: `ants.transform_from_displacement_field(ants.from_numpy(np.random.randn(200, 200, 200)))` `ants.transform_from_displacement_field(ants.from_numpy(np.random.randn(200, 200, 200, 3)))`
Hello - after some old packages were removed from PyPI I did a little digging to see if I could shrink the antspyx wheels. I was able to reduce the...
hi i have below code : ` time_start=`date +%s` inputPath=${PWD} dim=3 its=[50x50x5,1.e-7,5] its2=[5x5x5,1.e-7,5] smth=4x2x1 down=4x2x1 tx=" syn[ 0.25 , 2, 2 ] " f=${inputPath}/MR_N1.nii; for (( i = 1; i...
**Is your feature request related to a problem? Please describe.** Is there a policy you're following for removing previous versions? doing so makes it very hard for us to have...
Calling it with a list of floats yields: ``` TypeError: TransformIndexToPhysicalPointF3(): incompatible function arguments. The following argument types are supported: 1. (arg0: capsule, arg1: List[List[int]]) -> List[List[float]] ``` However it...
In AntsPy, applying a transformation to an image with an interpolation other than linear results in an error message. Minimal working example: This works: ``` img1 = ants.from_numpy(np.zeros([2,2,2])) tx =...
`image.direction` is not updated after I apply an affine transform to `image`. This could be argued to be reasonable behavior, were the affine transform tracked behind the scenes. But evidently...