MATLAB: Imshow doesn’t work on 4D images

4d matrixdicomimage processingimshow

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?

Best Answer

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.
Related Question