to obtain RGB data from Coppeliasim.[ImageRGB,resolution] = sim.getVisionSensorImg(Hsensor)
But when I use command in Matlab as follows:
The image showed in Matlab is not correct. What's wrong?Image = reshape(ImageRGB,[resolution{1} resolution{2} 3]) ;
figure;imshow(double(Image)/255,[]);
Most of examples are in Python with OpenCV. I need the example in Matlab to display the RGB image.