get the image from the NYu depth dataset

9 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?

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.

Categories

Find more on Denoising and Compression 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!