1

I am new on Medical Imaging. I am dealing with MRI images, namely T2 and DWI.

I uploaded both images with nib.load, yet each sequence image has a different number of slices (volume, depth?). If I select one slice (z coordinate), how can get the corresponding slice on the other sequence image? ITK does it correctly, so maybe something in the NIFTI header could help?

Thank you so much for reading! I also tried interpolation, but it did not work.

4

2 回答 2

2

如果 ITK 做得对,为什么不直接使用 ITK?

如果您坚持手动滚动您自己的索引 <-> 物理空间转换例程,请查看 ITK 如何计算这些矩阵以及使用它们的可公开访问的方法。对于特定于 NIFTI,请查看 ITK 的NIFTI 阅读器,它将相关元数据设置在itk::Image.

于 2021-01-29T14:48:15.583 回答
1

读取 NIFTI,即仿射,并提取平移变换矩阵以创建从 T2 到 DWI 体素的映射。

提示:尼巴贝尔。

于 2021-01-30T18:35:44.050 回答