Undefined function or variable 'shapeMU'
10 次查看(过去 30 天)
显示 更早的评论
my requirement is to convert 2d face image to 3d face image
The following is the code to read the image and convert to 3D
ndims = 50; numsd = 0.5; addpath('BoundaryVertices','RamananDetector','Functions','SOP'); BFMbasedir = 'E:\PublicMM1\02_scans_matlab\'; load(strcat(BFMbasedir,'00001_20061015_00418_neutral_face05.mat')); load('BFMedgestruct.mat') landmarks=[8333,7301,6011,9365,10655,8320,8311,8286,8275,5959,4675,3642,4922,3631,2088,27391,39839,40091,40351,6713,10603,11641,12673,11244,12661,14472,27778,41804,41578,41310,9806,8345,7442,6936,5392,7335,7851,8354,9248,9398,11326,9399,9129,9406,9128,8890,8367,7858,7580,7471,8374,23002,32033]; im = imread('pie.png'); xp= RamananDetector(im); shapePC=pca(xp); % this method is used to get the principal components, pls correct if i am wrong [b,R_est,t_est,s_est] = FitEdges( im,xp,landmarks,shapePC,shapeMU,shapeEV,Ef,Ev,tl,ndims,numsd );
I need your help to define the variable ShapeMU, ShapeEV, ef, Ev & t1
FYI: ShapeMU is 3n by 1 vector containing the vertices of the mean shape. How to get vertices from mean shape shapeEV is a k by 1 vector containing the sorted standard deviations of each principal component. Pls let me know how to achieve the same.
Pls suggest with a possible solution
Thanks vijay
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!