I have an image loaded from disk as a texture, and a matrix d of the same size, which has the corresponding depths.
How can I use surfto show me an image as a 3d model? Just taking
surf(depthMatrix, img);
does not give a good result, since
- the camera does not look from the xy plane in the z direction
- He looks pretty black
- It doesn’t look so smooth, although my depth matrix is actually smoothed when I display it with
imshow(depthMatrix, []);

source
share