image thumbnail

updated 4 months ago

octree - partitioning 3D points into spatial subvolumes by Sven

OcTree recursively splits a large set of points into smaller subvolumes. A QuadTree but in 3D. (stl, space, volume)

OcTree

image thumbnail

updated 6 months ago

splitFV - split a mesh by Sven

Splits a 2D or 3D mesh defined by faces and vertices into separately connected mesh pieces. (mesh, separate, split)

splitFV( f, v )

image thumbnail

updated 8 months ago

interpmask - interpolate (tween) logical masks by Sven

interpmask interpolates (or tweens) masks to transition smoothly between shapes in masks (mask, interp1, interpolation)

interpmask( varargin )

image thumbnail

updated 8 months ago

mpoly2mask - converts multiple polygons to a mask by Sven

Converts an object with multiple boundary contours to a logical mask (poly2mask, bwboundaries, polygon)

mpoly2mask(XY, varargin)

image thumbnail

updated 10 months ago

dbarray - pack and unpack database arrays to matlab arrays by Sven

dbarray lets you directly send/fetch array[] type database fields into native MATLAB variables (database, array, multidimensional)

dbarray.pack( dataIn, dbConn, dataType )

dbarray.packJavaArray( dataIn, jClass )

dbarray.unpack( objIn )

image thumbnail

updated 10 months ago

inpolyhedron - are points inside a triangulated volume? by Sven

Test if 3d points are inside a mesh. Or, voxelise a mask from a surface. Mesh can be non-convex too! (inpolygon, stl, mesh)

inpolyhedron(varargin)

image thumbnail

updated 10 months ago

surf2solid - make a solid volume from a surface for 3D printing by Sven

Turns thin surfaces into closed solids by adding a flat base or offsetting by a given thickness. (stl, patch, mesh)

surf2solid(varargin)

image thumbnail

updated 1 year ago

unifyMeshNormals by Sven

Aligns adjacent faces in a triangulated mesh surface or volume (mesh, stl, normal)

unifyMeshNormals( varargin )

image thumbnail

updated 1 year ago

upsert - automatically handles database inserts/updates by Sven

If a data row already exists, UPDATE that row! If it doesn't exist, INSERT that row! (database, insert, update)

upsert(conn,tableName,fieldNames,keyFields,data, varargin)

image thumbnail

updated 1 year ago

deploypcode - recursively pcode files with help attached by Sven

DEPLOYPCODE recursively searches a directory for .m files, creating encrypted .p files with .m help (pcode, utility, help)

deploypcode(source_dir, target_dir, varargin)

image thumbnail

updated 1 year ago

Fast morphological reconstruction of large logical masks. by Sven

MATLAB's imreconstruct is slow for large 3D logical masks. bwreconstruct is a faster replacement. (imreconstruct, bwselect, logical)

bwreconstruct(marker, mask, conn)

image thumbnail

updated 1 year ago

stlwrite - Write binary or ascii STL file by Sven

Export a variety of inputs (patch, surface) to an STL triangular mesh (data import, data export, stl)

stlwrite(filename, varargin)

image thumbnail

updated almost 2 years ago

Blended 3D poly2mask by Sven

Creates a 3D mask "lofted" or "tweened" (blended smoothly) from a set of planar polygons. (poly2mask, 3d mask, polygon)

blendedPolymask(curves, xVec, yVec, zVec)

image thumbnail

updated 2 years ago

N-dimensional find by Sven

FIND_NDIM Finds the first or last nonzero element indices along a given matrix dimension. (find, image processing)

find_ndim( BW, dim, firstOrLast )

image thumbnail

updated 3 years ago

Growbubbles - maximum radius packing by Sven

Growbubbles takes centroid points and returns the maximum radius circles or spheres without overlap (packing, pack, circle)

growbubbles(ptsIn)

image thumbnail

updated 3 years ago

DICOMDir - OO dicom directory by Sven

DICOMDir parses and browses a given DICOMDIR dicom dictionary fie (dicom, dicomdir, dcm)

DICOMDir

Contact us