如何访问在 ImageJ 中但在 Python 中看到的 .tif 元数据?
我将显微镜实验中的 .tif 文件加载到 ImageJ 中,它告诉我显微镜视野的尺寸(424.27x424.27 微米)。要在 ImageJ 中访问此数据,我转到“图像”选项卡,然后“显示信息”,然后滚动到底部以查找此数据:imageJ 中的显微镜元数据
如何在 python 中访问此数据?我的目标是在 python 中显示显微镜数据,我已经做到了,但我希望图形的 x 轴和 y 轴达到 424.27 微米。
谢谢!
I load a .tif file from a microscopy experiment into ImageJ, and it tells me the dimensions of the field of view of the microscope (424.27x424.27 microns). To access this in ImageJ, I go to the Image tab, then 'show info', and then scroll to the bottom to find this data:microscopy metadata in imageJ
How can I access this data in python? My aim is to show microscopy data in python, which I have already done, but I want to have the x and y axes of the figure going up to 424.27 microns.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为数据可能与tiff标签x_resolution和y_resolution有关。有关一些基线 tiff 标签的更多详细信息,请参阅链接:https://www. awaresystems.be/imaging/tiff/tifftags/baseline.html
tifffile 可能会有所帮助。安装并导入它,我认为其网站上的代码示例就是您想要的。
I think the data may be related to the tiff tag x_resolution and y_resolution. See the link for more details about some baseline tiff tags: https://www.awaresystems.be/imaging/tiff/tifftags/baseline.html
tifffile may be helpful. Install and import it, I think the code sample on its website is what you want.