imshow doesn't work on 4D images?
1 view (last 30 days)
Show older comments
Stelios Fanourakis
on 27 May 2018
Commented: Stelios Fanourakis
on 28 May 2018
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?
0 Comments
Accepted Answer
Walter Roberson
on 27 May 2018
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 Comments
Walter Roberson
on 27 May 2018
Sometimes DICOM images come out as MxNx1xP . If you squeeze() that down to MxNxP then you can use volumeViewer() on the 3D result.
More Answers (0)
See Also
Categories
Find more on DICOM Format in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!