3D mesh transform using sparse control points

버전 1.0.0.0 (4.11 KB) 작성자: Daniel Markel
Performs a 3D non-rigid deformation using irregularly placed transformation vectors
다운로드 수: 688
업데이트 날짜: 2014/10/6

라이선스 보기

Written by Daniel Markel 2014
this function performs a non-rigid deformation based on a 3D interpretation of the algorithm described by
Wang Y., Lee O., "Use of two-dimensional deformable mesh structures for video coding, part 1 - the synthesis problem: mesh-based function approximation and mapping", IEEE transactions on circuits and systems for video technology, Vol. 6, No. 6 (1996).
This does not require the transformation vectors to be regularly spaced as is the case with every version of the interp3 function. Currently using Matlab2014a the code takes about 5.6 seconds to run on a 136x301x91 sized volume. If anyone wishes to try and improve the performance using mex or CUDA by all means give it a shot. The current code does not run on the GPU. I'm putting this up simply because this function does not exist for Matlab elsewhere as far as I've seen.
Inputs
im -- the 3D volume being transformed
bold -- a 3xn matrix describing the initial (x,y,z) coordinates of the
control points where n is the number of control points
bnew -- a 3xn matrix describing the final (x,y,z) coordinates of the
control points
tmesh -- a mx4 matrix of the connectivity structure for each tetrahedron
connecting the control points, see delaunay for the output.
X,Y,Z -- coordinate matrices output from meshgrid for the size of im.

Outputs
imT -- the warped image
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
acknowledgements -- code makes heavy use of the inhull function written by
John D'Errico (2006). Special thanks to Piotr Pater
for assistance in improving the efficiency of the code.

인용 양식

Daniel Markel (2026). 3D mesh transform using sparse control points (https://kr.mathworks.com/matlabcentral/fileexchange/48044-3d-mesh-transform-using-sparse-control-points), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2014a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
도움

도움 받은 파일: Inhull

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0