Segmentation violation error occurs when applied to some tri-mesh. This error is usually caused by memory leakage, it would be a nice contribution if the error can be fixed.
??? Error: File: Snake2D.m Line: 1 Column: 24
Unexpected MATLAB expression.
??? Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can
crash MATLAB and/or your computer.
Error in ==> imformats>find_in_registry
i am getting this error.Help?
Hi Alexandre. If you want to obtain only the surface voxels rather than the entire volume, try the following line after doing the voxelisation. Hope this helps. Adam
gridSHELL = gridOUTPUT & imdilate(1-gridOUTPUT,ones(3,3,3),'same');
I really liked your mesh voxelisation code. I would like to know how can I insert into gridOUTPUT all surface voxels instead of just inside mesh voxels. thanks!!!
Comment only