get the image from the NYu depth dataset

10 vues (au cours des 30 derniers jours)
Wenxuan Song
Wenxuan Song le 27 Nov 2020
Commenté : KSSV le 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 commentaire
KSSV
KSSV le 27 Nov 2020
What is dimension of RGBImage?

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Denoising and Compression dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by