Neural-Systems-at-UIO / QuickNII

https://quicknii.readthedocs.io
MIT License
6 stars 3 forks source link

Assigning ABA voxel coordinates to image pixels #27

Closed paulbrodersen closed 9 months ago

paulbrodersen commented 12 months ago

Hi, me again.

It's probably worth mentioning on the documentation page "Assigning voxel coordinates to image pixels" that if one wants to assign ABA voxel coordinates, one still needs to switch and flip the axes after the matrix multiplication:

xv_ABA, yv_ABA, zv_ABA = 528 - yv, 320 - zv, xv

This is documented in some ways on the coordinate system documentation page, but it still took me a few hours of banging my head against the wall until the penny finally dropped.

Tevemadar commented 11 months ago

Thanks, there's truth in your comment. Now the Image coordinate page ends with a short description about what was actually calculated there, and a link to the Allen CCF/WHS page.

Majpuc commented 9 months ago

Done