CoBrALab / optimized_antsMultivariateTemplateConstruction

A re-implementation of antsMultivariateTemplateConstruction2.sh using optimized image pyramid scale-space and qbatch support
Other
20 stars 8 forks source link

Do away with voxel-wise affine Jacobians #74

Open gdevenyi opened 1 year ago

gdevenyi commented 1 year ago

These files are huge and have a single value everywhere, can we achieve calculation using a combination of the ANTs tools and bash/awk and ImageMath to add the values.

dbm/intermediate/{affine,delin}

gdevenyi commented 1 year ago

Need to ConvertTransformFile 3 affine.mat affine.mat --convertToAffineType to fix the CompositeTransform generated by the ANTs averager.

gdevenyi commented 1 year ago

Steal awk-based math from https://github.com/CoBrALab/minc-toolkit-extras/blob/master/xfm2det

gdevenyi commented 1 month ago

I implemented it in ANTs, waiting on release. https://github.com/ANTsX/ANTs/pull/1712