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

1 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolating Gridded Data 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by