get the image from the NYu depth dataset
Show older comments
Hi, I am new in Matlab, and want to get the RGB image and the depth image from the NYU depth dataset. I have used imshow function, but it says 'Multi-plane image inputs must be RGB images of size MxNx3.' How can I solve this problem?

1 Comment
KSSV
on 27 Nov 2020
What is dimension of RGBImage?
Answers (1)
Ameer Hamza
on 27 Nov 2020
The screenshow shows that the dataset loads images in a 4D array. You need to specify which image you want to see. For example
imshow(RGBImage(:,:,:,1));
will show image at position 1 in dataset.
Categories
Find more on Images 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!