image thumbnail

updated 5 days ago

Generate an Image from 3D points by Zachary

Converts a point cloud into an image (point cloud, 3d, image generation)

points2Image( points, imageSize, cam, tform, pointRadius,...

Demo.m

image thumbnail

updated 5 days ago

vtkwrite( filename,dataType,varargin ) by Joe Yeh

The function exports multiple 3D vector and scalar field and call Paraview for display (paraview, vector, 3d)

vtkwrite( filename,dataType,varargin )

image thumbnail

updated 6 days ago

Find 3D Normals and Curvature by Zachary

Fast normal and curvature estimation for sparse point clouds (normals, point cloud, 3d)

findPointNormals(points, numNeighbours, viewPoint, dirLar...

Demo.m

image thumbnail

updated 7 days ago

geom3d by David Legland

Library to handle 3D geometric primitives: create, intersect, display, and make basic computations (potw, pick of the week, 3d)

createDurerPolyhedron.m

eulerAnglesToRotation3d.m

createOctahedron.m

image thumbnail

updated 14 days ago

3D mesh transform using sparse control points by Daniel Markel

Performs a 3D non-rigid deformation using irregularly placed transformation vectors (non rigid, deformation, sparse)

inhull(testpts,xyz,tess,tol)

mesh_transform3D2(im,bold,bnew,tmesh,X,Y,Z)

image thumbnail

updated 16 days ago

Knots & Tubes by Enrico Bertolazzi

Generate tubes from 3D curves and plot knots from closed curves. (tube, knots, plotting)

gen_23torus

gen_5foil

gen_8knot

image thumbnail

updated 20 days ago

Draw a 3D airplane by Chad Greene

Draw a very simple 3D airplane and animate it too (c130, airplane, animation)

c130(varargin)

xyz2rpy(x,y,z,RollFactor)

c130 documentation

image thumbnail

updated 21 days ago

meshArea.m by Thomas

Calculate the area of a triangular irregular network (point cloud, tin, mesh)

meshArea(faces, points)

image thumbnail

updated 21 days ago

3D structuring element (sphere) by Luke Xie

strel3d creates a sphere as a 3D structuring element, which is important for 3D datasets (3d, morphology, image processing)

se=strel3d(sesize)

example.m

image thumbnail

updated 24 days ago

calc_meshdata by Immanuel Anjam

Calculates the affine transformations for integration in 2D/3D via the unit triangle/tetrahedron. (integration, 2d, unit reference triang...)

[X,W]=inttri(p)

[x,y]=geom(bs,s)

amsv (ama,svx)

image thumbnail

updated 1 month ago

linecut by Patrick

Dynamically view X and Y linecuts of surf or image data (linecut, cut, image)

image thumbnail

updated 1 month 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 1 month ago

ICP Registration using Efficient Variants and Multi-Resolution Scheme by Tolga Birdal

A fast, robust ICP, which is designed to work in hard scenarios e.g. clutter or bad initializations (iterative closest poi..., icp, registration)

M=get_transform_mat(par)

[Pose]=icp_mod_point_plane_pyr(SrcPC, SrcN, DstPC, DstN, ...

[SrcSample, SrcSampleNormals]=sample_pc_uniform(Src, Norm...

image thumbnail

updated 1 month ago

Export figure to 3D interactive PDF by Ioannis Filippidis

Export figure as U3D file or directly to 3D interactive graphics within PDF. (3d, u3d, graphics)

image thumbnail

updated 1 month ago

Simulation of a one-legged hopping robot by Guy Rouleau

Simulation of a one-legged hopping robot (mechanical modeling, robotics, simmechanics)

sfuntraj(t,x,u,flag,axes,Ts,mode)

init_hopper.m

OneLeg_VR_TouchInput

image thumbnail

updated 2 months ago

unit_opt.zip by Traian Emanuel Abrudan

A toolbox for optimization under unitary matrix contraint (optimization, matrix, unitary)

S_out=skew(S_in)

[W_final,J_dB,E_dB,U_dB]=riemann_grad_unit_opt(W0,grad_me...

cf_eval(Wk)

image thumbnail

updated 2 months ago

Diffeomorphic Log Demons Image Registration by Herve Lombaert

Simple matlab code for 2D and 3D image registration using the diffeomorphic log-demons algorithm (image processing, image registration, 2d)

compose(ax,ay,az, bx,by,bz)

demons

demons

image thumbnail

updated 2 months ago

ColorBrewer: Attractive and Distinctive Colormaps by Stephen Cobeldick

The complete palette of ColorBrewer colormaps. Simple selection by scheme name and map length. (colormap, colorbrewer, rgb)

brewermap(N,scheme)

brewermap_read(man)

image thumbnail

updated 2 months ago

Cubehelix Colormaps by Stephen Cobeldick

Attractive full-color colormaps that also print in grayscale (keeping the sequence information). (colormap, color scheme, color)

cubehelix(N,start,rots,hue,gamma,rng)

cubehelix_find(map)

cubehelix_view(start,rots,hue,gamma,rng)

image thumbnail

updated 3 months ago

fastscatter.m by Aslak Grinsted

A much faster scatterplot (scatter, scatterplot, points)

h=fastscatter(X,Y,C,varargin)

image thumbnail

updated 3 months ago

imshow4 by Jiri Chmelik

Function for 2D/3D/4D image view. (image, image analysis, visualization)

imshow4(varargin)

image thumbnail

updated 4 months ago

Depth map from a light field by Francisco Calderon

A function to explain a stereo-like taxonomy to be used in a light field (light, light field, depthmap)

Dept_vol_subpixel_2( LF, dmin, dmax ,angularop,outer,vare...

PlotDepthdisparity( figname,gt,dmin,dmax,ftitle )

shift_image(I,shift)

image thumbnail

updated 4 months ago

Curvature Estimationl On triangle mesh by Itzik Ben Shabat

Computes curvature and curvature derivative tensors in each vertex of a triangle meshes (curvature, mesh, computational geometr...)

GetCurvaturesAndDerivatives( FV,toggleDerivatives )

[FaceCMatrix,VertexCMatrix,Cmagnitude]=CalcCurvatureDeriv...

[FaceNormals]=CalcFaceNormals(FV)

image thumbnail

updated 4 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 4 months ago

SHADOWPLOT by Michelle Hirsch

Add a shadow to an existing surface plot. (specialized, plotting, surface)

image thumbnail

updated 4 months ago

Compute a Tutte map of a planar surface triangulation by Dylan Muir

Map a surface mesh onto a planar unit circle, using Tutte's algorithm (surface, triangulation, mesh)

TutteMap(mnTriangulation)

[ mnEdges, mbVertVertAdjacency, ...

image thumbnail

updated 4 months ago

Fast Loop mesh subdivision by Dylan Muir

Subdivide a surface mesh, using Loop subdivision. Boundary- and shape-maintaining (surface, mesh, triangulation)

...

image thumbnail

updated 5 months ago

plot_3D_ellipsoid.m by Farangis R

an ellipsoid with an arbitrary center and arbitrary axes (plot, 3d)

plot_3D_ellipsoid(ellipsoid_center, ellipsoid_semi_axis_l...

image thumbnail

updated 5 months ago

A Simple Finite Volume Solver for Matlab by Ehsan

A simple yet general purpose FVM solver for transient convection diffusion PDE (fvm, finite volume method, dirichlet)

image thumbnail

updated 6 months ago

Unstructured quadrilateral mesh quality assessment by Allan Peter Engsig-Karup

Assess the quality of a quadrilateral mesh using a simple indicator. (mesh, quality, quadrilateral)

MeshQualityQuads(EToV,VX,VY)

image thumbnail

updated 6 months ago

Cross Section Isosurface by Evan

easily plot and color 3D data (3d, data exploration, figure)

CrossSectionIsosurface(density3D, varargin)

testCrossSectionIsosurface

image thumbnail

updated 7 months ago

ThreeVector by Daniel O'Shea

Draws three-pronged labeled axis vectors that indicate 3d plot rotation (plot, dataplot, figure)

ThreeVector

image thumbnail

updated 7 months ago

Fast Alpha Hulls (alpha shapes in 3d; parfor enabled) by Dylan Muir

Compute the alpha hulls (exterior and interior) of a set of points. (alpha hull, shape, surface)

AlphaHull(mfPoints, fAlphaRadius, triDelaunay)

TriCircumcenter(vfPoint1, vfPoint2, vfPoint3)

image thumbnail

updated 7 months ago

Spinning GIF by Adina Stoica

Create a spinning GIF around a 3D model (image processing, 3d, animatedgif)

spinningGIF(fname)

image thumbnail

updated 7 months ago

2D weighted histogram by Johannes

Calculates 2D weighted histogram and plots in color (histogram, weighted, bar)

hist2w(X,W,y,z,C)

image thumbnail

updated 7 months ago

DICOM View by Andrew Bazyk

GUI for viewing DICOM image sets (image processing, image, dicom)

DICOM_View

image thumbnail

updated 7 months ago

3D visualization of density distribution by Mafalda Couto

Volumetric visualization of bone (or other tissue) density distribution from DICOM (3d, bone, bone density)

thresh_tool(im,cmap,defaultLevel)

vol3d(varargin)

BoneDensityAnalizer.m

image thumbnail

updated 7 months ago

Fast 3D/2D Region Growing (MEX) by Christian Wuerslin

A very fast 2D and 3D region growing algorithm implemented in c++. (region growing, 3d, 2d)

RegionGrowing(dImg, dMaxDif, iSeed)

image thumbnail

updated 7 months ago

3D colored bar plot by Johannes

3D bar plot with arbitrary coloring (bar plot, 3d, color)

bar3c(Z,x,y,w,C)

image thumbnail

updated 7 months ago

Color multi-frame view (RGB figure shadows) by Luke Xie

Creates color figure shadows - multiple shadows and multiple frames (2d, 3d, color)

multi_frame_viewRGB(files,we,be,ne,ie,gr)

example_script.m

image thumbnail

updated 8 months ago

Dicom Operator - EsmeProcess by Jun Li

EsmeProcess functions dicom image operation including viewing, drawing, writing and statistic. (dicom, mask, header)

[meanGL1, stdGL1, meanGL2, stdGL2, ...

addmenuitems.m

allanumber(m, n, limit)

image thumbnail

updated 8 months ago

Canny edge detection in 2-D and 3-D by David Young

A Canny edge detector for two-dimensional image and three-dimensional volume data. (canny, edge detection, 3d)

canny(im, varargin)

checkattributes(a, classes, attributes)

exindex(arr, varargin)

image thumbnail

updated 8 months ago

Multi-frame view (figure shadows) by Luke Xie

Creates figure shadows - multiple shadows and multiple frames (shadow box, figure shadow, multiple frames)

multi_frame_view(files,we,be,ne,ie,gr)

example_script.m

image thumbnail

updated 8 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 8 months ago

colladaParser by Randi Cabezas

Unrolls the scene graph of a collada file to produce a list of scene primitives (collada, parser, 3d)

colladaParser(colFile)

example.m

image thumbnail

updated 8 months ago

Senz3D Acquisition interface by Dirk-Jan Kroon

Creative Senz3D, Intel Interactive Gesture Camera (Time of Flight), Acquisition interface. (senz3d, gesture, intel)

WorldCoordinates2ColorImage(XYZ, UV,sizeI)

compile_cpp_files.m

example.m

image thumbnail

updated 8 months ago

3D rotation of 3D image by Alon Lanyado

3D rotation of 3D image (rotate, 3d, image)

rotImg3( img, teta, ax, method, pad )

rotationmat3D(r,Axis)

image thumbnail

updated 8 months ago

Dataplot3 by Tapiwa

2D position versus value plot with random position (temperature, plot, field)

dataplot3( Data, Pos, res )

image thumbnail

updated 8 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 9 months ago

Multiecho enhancement for 2D/3D (N-D) images by Luke Xie

Enhances images using a weighted sum or MEFIC. (2d, 3d, grayscale)

img2=multiecho_enhance(img,str,weights)

Contact us