help > error in spherical parametrization of 3dmesh
Showing 1-2 of 2 posts
Display:
Results per page:
Feb 4, 2014  03:02 PM | Housse Bens
error in spherical parametrization of 3dmesh
i need your help please at spherical parametrization of 3D object mesh surface.
The log error is :

S3DIs2_obj: +142 = 4167 (4167) vertices * 2 - 8192 faces; 12267 edges
after pca min_max_number: 1 1
Solving simultaneous Linear Equations for latitude ...
Solving simultaneous Linear Equations for longitude ...
North Pole : 01954 (0.000000, -0.500000) pi
South Pole : 00296 (0.000000, 0.500000) pi
East Center: 01099 (-0.282038, -0.147367) pi
West Center: 03080 (0.461604, -0.177706) pi
Solving simultaneous Linear Equations for longitude ...
1 longitudes == 0, do something
??? Index exceeds matrix dimensions.
Error in ==> calc_triangle_areas>cal_par_area at 81
B = vs(faces(:,mod(j,3)+1),:);
Error in ==> calc_triangle_areas at 32
tri_areas = cal_par_area(verts, faces);
Error in ==> smootheCALD>cal_asr at 317
[par_area, count] = calc_triangle_areas(verts, faces, 'parameter', 'triangle');
Error in ==> smootheCALD at 72
cal_asr(verts, faces, obj_area);
Error in ==> SpharmMatParamTriaMesh at 54
[vertices, faces, sph_verts, new_name] = smootheCALD(vertices, faces, sph_verts, name3, confs);
Error in ==> SpharmMatParameterization at 48
[vertices_new, faces_new, sph_verts_new, outNames{end+1}] = SpharmMatParamTriaMesh(file, confs);
Error in ==> SPHARM_MAT>RunTag_Callback at 601
SpharmMatParameterization(handles.userdata.ParamCALD, handles.userdata.inObjs, 'ParamCALD');
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> SPHARM_MAT at 70
gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback
i joint at this mail file of vertices and faces. Thank you
Attachment: S3DIs4_obj.mat
Feb 4, 2014  09:02 PM | Li Shen - University of Pennsylvania
RE: error in spherical parametrization of 3dmesh
Housse,

Thanks for your post. Your surface mesh does not seem to have spherical topology. SPHARM-MAT requires the input surface meshes to have spherical topology. You may want to either correct the topology of your surface or start with a binary object and apply SPHARM-PDM parameterization.

Hope this helps.

Best,

Li