TIFF文件的Numpy阵列的形状是什么?
我想用.TIFF扩展名制作多个切片的图像。我听说TIFF可以包含多个堆叠的图像。
因此,我读取具有形状(宽度,高度,3)的Numpy阵列的多个图像(.png)。 (3:RGB频道)
然后,为了堆叠100片,TIFF文件的总形状是什么? 会是(100,宽度,高度,3)吗? (宽度,高度,3,100)? (宽度,高度,100,3)?还是其他?
I'd like to make image with multi slices with .tiff extension. I heard that tiff can contain multiple images stacked.
So, I read multiple images(.png) with numpy array, which has shape (width, height, 3).
(3 : rgb channel)
Then, in order to stack 100 slices, what would be total shape of tiff file?
Would it be (100, width, height, 3)? (width, height, 3, 100)? (width, height, 100, 3)? or any else?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论