SGofVMisosurface
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - VM/Voxels
Introduced first in SolidGeometry 3.8, Creation date: 2017-04-18, Last change: 2025-09-14
returns a surface model by the marching cubes
Description
This function is an original Matlab function just a little bit modified to close surfaces. The function is very similar of SGofVMmarchcube but definitely slower. Main problem is the unclear method that is implemented by Matlab.
See Also: , VLFLofVMdelaunay
, VLFLofVMmarchcube
, TR3ofVM
, SGofVMmarchcube
, SGofVMdelaunay
Example Illustration
Syntax
SG=SGofVMisosurface(V,[vs,cl])
Input Parameter
V: | | Logical Volume Model |
vs: | | voxel size, optional |
cl: | | closes open facets by adding empty planes; default is true |
Output Parameter
Examples
[V,vs]=VMreaddicomdir('AIM_DICOMFILES');
[a,as]=VMresize(V,[0.5 0.5 0.5],vs);
SG=SGofVMisosurface(a>1400,as);
SGcut(SG,40);
c=CPLofSGslice3(SG,20);
PLFLofCPLdelaunay(c);
PLFLofCPLpoly(c)
SGofVMisosurface(smooth3(VM>8000))
Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21