How to interpolated depth map of an image. (meshgrid and gridData)

2 views (last 30 days)
Hello I have an image and I need to map this deep interpolated image. Initially I use the following commands:
[Xq, Yq]=meshgrid(1:1:1024, 1:1:1024); Vq=gridData(Lm, Wm, Z, Xq, Yq); imshow(img); hold on mesh(Xq, Yq, Vq)
where Lm, Wm are the components forming the 2D points of the image, Z is the depth component, 1024 is the image length.
When I run these commands appear in my image and the grid on the image, but there are parts I do not like the grid and other parts that I like but do not appear. How do I manipulate the area of interpolated? Excuse me but I'm new to MatLab. And I appreciate greatly any help.
Jadiel

Answers (0)

Categories

Find more on Interpolating Gridded Data 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!