Gridded interpolation and gradients of 3D scattered data
Interpolate 3D scattered data to gridded data and compute their derivatives
% ==================================================
(i) Interpolate 3D scatterred data to gridded data
(ii) Reduce noise by applying curvature regularization [1]
(iii) Generate central difference operator [2]
(iv) Compute first order derivatives
% ==================================================
% ****** ATTENTION ******
% The "x,y,z" or "1-,2-,3-" coordinates in this exchange file correspond to
% the 1st, 2nd and 3rd indices of Matlab workspace variable. For example,
% p_meas(:,1) and p_meas(:,2) are the x- & y-coordinates of scattered points.
%
% This is a little different from some MATLAB image processing functions.
% For example, if a 3D image has size M*N*L, in this code, we always have
% the image size_x=M, size_y=N, size_z=L. If you use some Matlab computer
% vision/image post-processing function, for example, 'imagesc3D', or
% 'imagesc', or 'imshow', or 'surf', it will reads size_x=N, size_y=M, size_z=L.
%
% Please pay attention to this.
% ==================================================
I appreciate your comments and ratings to help me keep improving this code!
Please feel free to follow this code, then you will be notified with all the important updates/corrections in the future.
% ==================================================
References
[1] regularizeNd. https://www.mathworks.com/matlabcentral/fileexchange/61436-regularizend
[2] Augmented Lagrangian Digital Volume Correlation (ALDVC). https://www.mathworks.com/matlabcentral/fileexchange/77019-augmented-lagrangian-digital-volume-correlation-aldvc
[3] Streamcolor. https://www.mathworks.com/matlabcentral/fileexchange/24049-streamcolor
引用格式
Jin Yang (2024). Gridded interpolation and gradients of 3D scattered data (https://github.com/jyang526843/Scatter2Grid3D), GitHub. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!无法下载基于 GitHub 默认分支的版本
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.3 | Correct bugs in streamline plot. |
|
|
1.0.2 | Important correction: gradients F11, F12, F13 should switch with F21, F22, F23. Please ignore this message if you download version later than 1.0.2. |
|
|
1.0.1 | Added plot functions: (i) scatter plot; (ii) cone plot; (iii) stream line. |
|
|
1.0.0 |
|