Use a resting state connectivity matrix (maybe from the human connectome project). Then if you pass in a new nifti you would align the connectivity matrix to a standard brain then re-map row by row to the new coordinates. Then you could return a nifti in that new aligned space (the same space that was passed in).
Use a resting state connectivity matrix (maybe from the human connectome project). Then if you pass in a new nifti you would align the connectivity matrix to a standard brain then re-map row by row to the new coordinates. Then you could return a nifti in that new aligned space (the same space that was passed in).