In [1]:
from ndreg import *
import matplotlib
import ndio.remote.neurodata as neurodata
import nibabel as nb

In [2]:
inToken = 'Aut1367'

In [3]:
inImg = imgDownload(inToken, resolution=5)

In [4]:
refToken = "ara_ccf2"
refImg = imgDownload(refToken)

In [5]:
imgShow(inImg, vmax=500)



In [6]:
imgShow(refImg, vmax=500)



In [8]:
# Want to find initial orientation and change into RSA
reorientedImg = imgReorient(inImg, "LAS", "RSA")
imgShow(reorientedImg, vmax=500)



In [38]:
# Want to find initial orientation and change into RSA
reorientedImg = imgReorient(inImg, "LPS", "RSA")
imgShow(reorientedImg, vmax=500)



In [39]:
# Want to find initial orientation and change into RSA
reorientedImg = imgReorient(inImg, "LSA", "RSA")
imgShow(reorientedImg, vmax=500)



In [34]:
#SRA no

#SPR is close
#IPR is also close (need to orient middle column upright)

#IRP moves tails back to front

#IPL is mirror image of IPR about middle line (2, 1), (2, 2), (2, 3)

# Want to find initial orientation and change into RSA
reorientedImg = imgReorient(inImg, "RSP", "RSA")
imgShow(reorientedImg, vmax=500)



In [13]:
imgShow(refImg, vmax=500)



In [40]:
# Want to find initial orientation and change into RSA
reorientedImg = imgReorient(inImg, "LPS", "RSA")
imgShow(reorientedImg, vmax=500)