Automating Labelling process for videos and images using the Video Labeler App for Deep Learning

2 views (last 30 days)
I tried to use the video Labeler App to label some features in my grayscale images, but the App gave the following error.
Error using (line 79)
MAP must be a m x 3 array. Use im2gray for RGB and grayscale images.
Error in ()
isRGB = parse_inputs(X);
Igray = rgb2gray(I);

Accepted Answer

Alamanda Ponappa Poovaya
Alamanda Ponappa Poovaya on 13 Aug 2021
Edited: Alamanda Ponappa Poovaya on 13 Aug 2021
I understand you are trying to run Point Tracking algorithm on a sequence of grayscale images. This error is because the rgb2gray function only accepts an RGB image as an input while you are trying to use it with grayscale images
The issue you are facing has been brought to the concerned peole and should be fixed in a future release. However, in the meantime, if you have access to the origianl rgb images, please use them instead of the grayscale images for your labeling.

More Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!