Rank: 168 based on 394 downloads (last 30 days) and 11 files submitted
photo

Sven

E-mail
Company/University
University of Michigan

Personal Profile:

Aussie living in the US. Engineering with MATLAB.

Some Interests:
-3D Volume Processing (CT, mri)
-Finite Element Analysis (human body simulation)
-Geometry Analysis (human body morphomics)

Professional Interests:
Image processing, Finite Element Analysis, Human Body Biomechanics

 

Watch this Author's files

 

Files Posted by Sven View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 Apr 2013 Screenshot Fast morphological reconstruction of large logical masks. MATLAB's imreconstruct is slow for large 3D logical masks. bwreconstruct is a faster replacement. Author: Sven imreconstruct, bwselect, logical, reconstruction 15 0
11 Apr 2013 Screenshot stlwrite - Write binary or ascii STL file Export a variety of inputs (patch, surface) to an STL triangular mesh Author: Sven stl, tri, patch, mesh, data import, data export 165 24
  • 4.88889
4.9 | 10 ratings
18 Mar 2013 Screenshot octree - partitioning 3D points into spatial subvolumes OcTree recursively splits a large set of points into smaller subvolumes. A QuadTree but in 3D. Author: Sven octree, tree, volume, quadtree, stl, space 89 8
  • 5.0
5.0 | 3 ratings
21 Feb 2013 Screenshot upsert - automatically handles database inserts/updates If a data row already exists, UPDATE that row! If it doesn't exist, INSERT that row! Author: Sven database, insert, update 4 0
12 Feb 2013 Screenshot Blended 3D poly2mask Creates a 3D mask "lofted" or "tweened" (blended smoothly) from a set of planar polygons. Author: Sven 3d mask, tween, polygon, poly2mask, loft, volume 17 0
Comments and Ratings by Sven View all
Updated File Comments Rating
25 Apr 2013 inpolyhedron - are points inside a volume? It's inpolygon(), but for 3D triangulated surfaces. (non-convex surfaces, too!) Author: Sven

@Dun Kirk: Please send me your input points and triangles by email. This sounds like there could be something wrong and I would like to see if I can troubleshoot it.

12 Apr 2013 Growbubbles - maximum radius packing Growbubbles takes centroid points and returns the maximum radius circles or spheres without overlap Author: Sven

@CUP:
It's actually a 3D picture, it's just that by default it has no shading and is looking from the XY direction. Try this:
pts = rand(10,3) * 10 ;
growbubbles(pts)
view(3), axis image, camlight

11 Apr 2013 mesh2tri Creates regular triangulation of meshgrid data Author: Kevin Moerman

Succinct and effective.

11 Apr 2013 stlwrite - Write binary or ascii STL file Export a variety of inputs (patch, surface) to an STL triangular mesh Author: Sven

@JD:
The issue is that your input is "gridded data" not "triangulated data" because each of x, y, z is a 20-by-20 matrix, rather than a set of vertices and triangles.
This can be handled by stlwrite (see the help file for the "triangulation" parameter), but you'll need to understand that the default "triangulation" of gridded data is a delaunayTri of the X-Y 2D data. In this sense you have repeated X-Y pairs (one at the top of the sphere, one at the bottom). The warning you're getting comes from "delaunay", not from "stlwrite".
You can overcome this by specifying how you want your gridded data triangulated:

stlwrite('test1.stl',x,y,z,'mode','ascii','triangulation','f')

Note that you'll need "mesh2tri" from http://www.mathworks.com/matlabcentral/fileexchange/28327 for this to work. I will ask Kevin for permission to include it in stlwrite (it's a small but very handy function) for a next release.

02 Apr 2013 octree - partitioning 3D points into spatial subvolumes OcTree recursively splits a large set of points into smaller subvolumes. A QuadTree but in 3D. Author: Sven

@Moein: Thanks for your feedback and request, I'm looking at implementing the concept of element connectivity so that you can partition based on collections of points (elements) as well as the points themselves. Note that it seems you have an immediate need (2:1 balancing) for a particular application (FE meshing). I would suggest that if your problem is urgent then you might consider either adding to the class or inheriting and making a new class specific to your needs yourself. I will work on element connectivity first, and node balancing will be some time away, so my schedule won't necessarily fit in with yours.

Comments and Ratings on Sven's Files View all
Updated File Comment by Comments Rating
29 Apr 2013 splitFV - split a mesh Splits a 2D or 3D mesh defined by faces and vertices into separately connected mesh pieces. Author: Sven Pete

25 Apr 2013 inpolyhedron - are points inside a volume? It's inpolygon(), but for 3D triangulated surfaces. (non-convex surfaces, too!) Author: Sven Sven

@Dun Kirk: Please send me your input points and triangles by email. This sounds like there could be something wrong and I would like to see if I can troubleshoot it.

25 Apr 2013 inpolyhedron - are points inside a volume? It's inpolygon(), but for 3D triangulated surfaces. (non-convex surfaces, too!) Author: Sven Kirk, Dun

My FV has only 63 points and 122 triangles. But it took me 6.9 seconds to analyze 36144 query points and produced the wrong output.

17 Apr 2013 octree - partitioning 3D points into spatial subvolumes OcTree recursively splits a large set of points into smaller subvolumes. A QuadTree but in 3D. Author: Sven Deng, Siyi

12 Apr 2013 Growbubbles - maximum radius packing Growbubbles takes centroid points and returns the maximum radius circles or spheres without overlap Author: Sven Sven

@CUP:
It's actually a 3D picture, it's just that by default it has no shading and is looking from the XY direction. Try this:
pts = rand(10,3) * 10 ;
growbubbles(pts)
view(3), axis image, camlight

Top Tags Applied by Sven
stl, mesh, patch, volume, image processing
Files Tagged by Sven View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 Apr 2013 Screenshot Fast morphological reconstruction of large logical masks. MATLAB's imreconstruct is slow for large 3D logical masks. bwreconstruct is a faster replacement. Author: Sven imreconstruct, bwselect, logical, reconstruction 15 0
11 Apr 2013 Screenshot stlwrite - Write binary or ascii STL file Export a variety of inputs (patch, surface) to an STL triangular mesh Author: Sven stl, tri, patch, mesh, data import, data export 165 24
  • 4.88889
4.9 | 10 ratings
18 Mar 2013 Screenshot octree - partitioning 3D points into spatial subvolumes OcTree recursively splits a large set of points into smaller subvolumes. A QuadTree but in 3D. Author: Sven octree, tree, volume, quadtree, stl, space 89 8
  • 5.0
5.0 | 3 ratings
21 Feb 2013 Screenshot upsert - automatically handles database inserts/updates If a data row already exists, UPDATE that row! If it doesn't exist, INSERT that row! Author: Sven database, insert, update 4 0
12 Feb 2013 Screenshot Blended 3D poly2mask Creates a 3D mask "lofted" or "tweened" (blended smoothly) from a set of planar polygons. Author: Sven 3d mask, tween, polygon, poly2mask, loft, volume 17 0

Contact us