point cloud to surface/mesh , interpolation within a certain distance.

2 visualizaciones (últimos 30 días)
Markus
Markus el 4 de Sept. de 2013
Editada: Walter Roberson el 25 de Mayo de 2016
hei,
i have an irregular point cloud and want to creat a DEM. i tried this with griddata. however, griddata interpolates also in between gaps.
is it possible to create a surface grid with the option to interpolate just within a certain distance. - i tried point2cloud which does this, but results in a triangular net.
in the figure below i tried to clarify the problem. i have the point cloud (blue circles) and the interpolated surface.
i appreaciate the help.
  2 comentarios
Markus
Markus el 4 de Sept. de 2013
in the meantime i tried to get it with triscatteredinterp function.
i still get interpolation in places where no interpolation should be.
Markus
Markus el 4 de Sept. de 2013
Editada: Walter Roberson el 25 de Mayo de 2016
load('cloudData.mat')
x = jun12scan04(:,1);
y = jun12scan04(:,2);
z = jun12scan04(:,3);
% Construct the interpolant:
F = TriScatteredInterp(x,y,z);
% Evaluatethe interpolant at the locations (qx, qy). Thecorresponding value at these locations is qz:
sx=min(x); % Gemeinsame Grenzwerte beider Wolken
hx=max(x);
sy=min(y);
hy=max(y);
[qx,qy] = meshgrid(sx:d:hx,sy:d:hy);
qz = F(qx,qy);
surf(qx,qy,qz);
axis equal
shading interp
hold on;
plot3(x,y,z,'o');

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Point Cloud Processing en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by