get the image from the NYu depth dataset

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?

Answers (1)

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

Asked:

on 27 Nov 2020

Commented:

on 27 Nov 2020

Community Treasure Hunt

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

Start Hunting!