MATLAB Answers

get the image from the NYu depth dataset

18 views (last 30 days)
Wenxuan Song
Wenxuan Song on 27 Nov 2020
Commented: KSSV on 27 Nov 2020
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
KSSV on 27 Nov 2020
What is dimension of RGBImage?

Sign in to comment.

Answers (1)

Ameer Hamza
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.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by