AllenNeuralDynamics / AllenNeuralDynamics/package-brain-atlas-assets

OME-Zarr - precomputed affine transform mismatch

未关闭
#47 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
0
派生
0
平均合并
5 天 1 小时
30 天内合并 PR
2

描述

In HMBA and mouse stereotaxic atlases, the affine matrix is now different between precomputed and OME-Zarr. For example, in the HMBA human atlas, the template and annotation OME-Zarr signals overlay nicely, but the precomputed annotations have a translation mismatch (example: https://allen.neuroglass.io/studies/06a10e24-b65c-7af2-8000-84077b4399db).

This looks like it comes from the fact that the precomputed format only takes in scale parameters from the nifti affine header. The question is, do we 1) specify a translation offset to align precomputed to ome-zarr or 2) just apply the translation in the viewer state?

My preference would be to add a voxel offset to the precomputed `info.json` but not sure if that would be a breaking change.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。