imshow doesn't work on 4D images?

3 次查看(过去 30 天)
I get an error "Multi-plane image inputs must be RGB images of size MxNx3." while I am trying to imshow(im2) where im2 is a 4D matrix. How do I write it correctly?

采纳的回答

Walter Roberson
Walter Roberson 2018-5-27
You do not. imshow() cannot possibly work with 4D images. There is no display routine for 4D images.
You might be able to take advantage of one of the routines from the File Exchange.
  2 个评论
Walter Roberson
Walter Roberson 2018-5-27
Sometimes DICOM images come out as MxNx1xP . If you squeeze() that down to MxNxP then you can use volumeViewer() on the 3D result.
Stelios Fanourakis
Stelios Fanourakis 2018-5-28
Yeap. The point is to develop something my own. Thanks for the help

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 DICOM Format 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by