Atlas-Download-Tools
Atlas-Download-Tools copied to clipboard
get_corners_in_ref_space: use affine transformations instead of queries
At the moment get_corners_in_ref_space sends 4 queries to determine the corner locations in the reference space.
Given we have the machinery to do the transformations locally using affine transformations we should use them in this function to avoid sending unnecesary queries.
This is a very relevant resource: https://web.archive.org/web/20170420055058/https://efferencecopy.net/allen-brain-fast-image-registration/ together with this https://github.com/charliehass/ecallen/blob/master/ecallen/images.py
This issue depends on #74