image thumbnail

updated 25 days ago

Volumetric Data Explorer by Adam Filion

App for exploring higher dimensional data using volumetric visualizations and animation. (4d, movie, visualization)

Data Explorer

image thumbnail

updated 26 days ago

Kinect Matlab by Dirk-Jan Kroon

Microsoft Kinect, OpenNI wrapper, Skeleton, Depth (2d, kinect, wrapper)

J=imagemax(Iin)

[I_SSD,I_NCC]=template_matching(T,I)

compile_cpp_files(OpenNiPath)

image thumbnail

updated 1 month ago

Animated mesh on the web by Benjamin I

Convert a matlab mesh to a transforming 3D figure on the web (html, mesh, animation)

x3mesh_deform(f,v, v2, varargin)

demo1.m

demo2.m

image thumbnail

updated 1 month ago

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

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

RegionGrowing(dImg, dMaxDif, iSeed)

image thumbnail

updated 3 months ago

Simple 3D mesh to web converter by Benjamin I

A simple script to convert a mesh consisting of faces and vertices to an interactive html document. (x3dom, html, 3d)

x3mesh(f,v, varargin)

demo1.m

demo2.m

image thumbnail

updated 4 months ago

2d and 3d brain plots by Jeremy Manning

Quickly and easily create 2d and 3d plots of fMRI data. (fmri, pcolor, 2d)

PATCH_3Darray(varargin)

getTightSubplotHandles(FIG_MARGIN,ROW_MARGIN,COLUMN_MARGIN,...

plot_brain2d(x,meta,nrow,ncol,dim,c,s)

image thumbnail

updated 4 months ago

Rose Model by LY Cao

two example that generate a 3D rose. (3d, graphics, surface)

roseplot1.m

roseplot2.m

image thumbnail

updated 5 months ago

imsurf: 3D images by Matthew Arthington

Plot images as 3D planes with full control over position and scale. (3d, surf, plot)

h=imsurf(imageIn,upperLeftPoint3,normal,imXDirVec,scale,var...

image thumbnail

updated 5 months ago

Surface areas of contour by HY

This function outputs surface areas within each contour and their heights. (area, contour, 3d)

ContourArea( C )

image thumbnail

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

Figure control widget by Oliver Woodford

Intuitive manipulation of a figure using key and mouse gestures (gui, figure, manipulate)

camview(varargin)

fcw(fig, butt)

image thumbnail

updated 9 months ago

N Dimensional Cardinal Spline (Catmull-Rom) Spline Interpolation by Dr. Murtaza Khan

N -Dimensional cubic Cardinal spline (Catmull-Rom) Interpolation (3d, interpolation, cardinal spline)

[MatNbyNPlusOne]=crdatnplusoneval(P0,P1,P2,P3,T,n)

[Pu] =evalcrdnd(P0,P1,P2,P3,T,u)

main.m

image thumbnail

updated 9 months ago

Animations by Ankur Pawar

Some animation in MATLAB (animation, 3d, epicycloid)

[xd,yd]=transform2d(x,y,tx,ty,phi,xr,yr,sx,sy)

epitrochoid(r1,r2,len)

hypotrochoid(r1,r2,len)

image thumbnail

updated 10 months ago

Scalable Vector Graphics (SVG) Export of Figures by Juerg Schwizer

Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). (plot2svg, svg filters, 3d)

demo_svg_water

plot2svg.m

simulink2svg

image thumbnail

updated 11 months ago

Export figure to 3D interactive PDF by Ioannis Filippidis

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

[strmodelshading, strfaces_colors, strfaceshading, strcolor...

arclength(px,py,varargin)

axes_extremal_xyz(ax)

image thumbnail

updated 11 months 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,y]=geom(bs,s)

calc_meshdata(dim,p,ef,t)

inttet(p)

image thumbnail

updated 1 year ago

Quick 3D Data Viewer by Kevin Claytor

Small GUI for viewing 3D data with alpha mapping (gui, data exploration, data visualization)

makeAlphaMatrix(DataMatrix,alphavec)

plotMatrixAlpha(axH,Matrix,alphavec,xscale,yscale,zscale)

view3Ddata(varargin)

image thumbnail

updated 1 year ago

Heightprofile from GoogleEarth to 3D-Surface by Sven Koerner

The tool get the height-Profile from GoogleEarth via COM-API and the image to generate a 3D-surface. (3d, surface, plot)

ge_test1

image thumbnail

updated 1 year ago

Color coded 3D scatterplot by Ken Garrard

Produces a 3D scatterplot of XYZ data with varying colors (scatterplot, 3d, specialized)

plot3k(L,varargin)

image thumbnail

updated 1 year ago

Plot a 3D array using patch by Adam A

Plotting a 3D array using a patch surface mesh (3d, 3d volume, plot)

PATCH_3Darray(varargin)

image thumbnail

updated 1 year ago

Align axes labels in 3D plot by Matthew Arthington

Align the x, y and z labels of the current axes with the x, y and z axes for 3D plots. (3d, align, rotate)

axesLabelsAlign3D(~,~)

image thumbnail

updated 1 year ago

Shape Context Based Corresponding Point Models by Dirk-Jan Kroon

Shape Context based nonrigid registration of 2D/3D objects, to build Active Shape Models (icp, contour, 3d)

A=imresize3d(V,scale,tsize,ntype,npad)

A=imresize3d(V,scale,tsize,ntype,npad)

A=imresize3d(V,scale,tsize,ntype,npad)

image thumbnail

updated 1 year ago

Points On Line by Ankur Pawar

Linearly spaced points between two point and ,point in Convex Hull test. (points on line, line, 2d)

[inHullPoints,inPointsIndex]=inConvHull(vert,face,testPoint...

points=pointsOnLine(point1,point2,numPoints)

sphericalDodecahedron

image thumbnail

updated 1 year ago

plot3AniAnaglyph by Jonathan Beard

Animated anaglyph (red/cyan 3D) plot3. (3d, anaglyph, stereoscopic)

plot3AniAnaglyph(S,params)

plot3AniAnaglyphDemos(nDemo)

image thumbnail

updated 1 year ago

Kinect Microsoft SDK by Dirk-Jan Kroon

Video, Audio, Depth Stream and Skeleton tracking (microsoft sdk, 2d, 3d)

compile_cpp_files(MicrosoftSDKPath)

Example.m

ExampleMicrophone.m

image thumbnail

updated 1 year ago

Snake : Active Contour by Dirk-Jan Kroon

Snake Segmentation (Kass et al), 2D/3D including GVF and balloon force (Easy to read code) (1987, witkin, contour)

B=SnakeInternalForceMatrix2D(nPoints,alpha,beta,gamma)

B=SnakeInternalForceMatrix3D(FV,alpha,beta,gamma)

ExternalForceImage2D(I,Wline, Wedge, Wterm,Sigma)

image thumbnail

updated 1 year ago

3D Polar Plot by Ken Garrard

Plots 3d polar data with polar axis and polar grid (polar, plot, 3d)

polarplot3d(Zp,varargin)

polarplot3d_demo.m

image thumbnail

updated almost 2 years ago

Modeling, Simulation and 3D Animation of a Simple Assembly Line by Saurabh Mahapatra

A simple template that combines SimEvents, Stateflow, Simulink and Simulink 3D Animation. (3d, conveyor, manufacturing)

assembly_line

image thumbnail

updated almost 2 years ago

Matlab 3D figure to 3D (X)HTML by Dirk-Jan Kroon

Converts 3D objects of a Matlab figure to XHTML embedded X3D file. Interactive 3D website graphics. (3d, opengl, webgl)

[F,V,Cface,Cedge,E,T]=surf2FV(Obj)

[data,loc]=XMLaddNode(name,data,loc)

[data,loc_body]=XHTMLheader(options)

image thumbnail

updated almost 2 years ago

Shaped colorplot by Fanny Besem

2D or 3D shaped colorplot: useful to represent surface properties (surface, surface properties, contour)

shapedcolorplot.m

image thumbnail

updated almost 2 years ago

Laplacian in 1D, 2D, or 3D by Andrew Knyazev

Sparse (1-3)D Laplacian on a rectangular grid with exact eigenpairs. (2d, 3d, laplacian)

laplacian(varargin)

image thumbnail

updated almost 2 years ago

Quick Structured Mesh Generator by Tolga Birdal

Fast generation of structured meshes given the vertices (MEX!). Interpolation/resizing of the mesh. (3d, point cloud, interpolate)

[]=make_mesh_structured()

drawMesh(vertex, face, varargin)

image thumbnail

updated 2 years ago

Phased Array Design Toolbox v2.4 by Neill Tucker

A toolbox allowing rapid definition and evaluation of 2D and 3D phased array antennas. (2d, phased array, simulation)

image thumbnail

updated 2 years ago

histograms for ND data by Diederick

Create histograms for ND data using ND bins (histogram, nd data, 2d)

histnd(varargin)

image thumbnail

updated 2 years ago

Generate U3D files from STL models for making multilayer 3D PDF figures by Francis Esmonde-White

Conversion of meshes into U3D files for making multilayer 3D PDF figures with transparency. (stl, mesh, 3d)

idtf2u3d(idtf_filename, u3d_filename)

installGoogleArchive(downloadLocation, zipFile)

mesh2idtf(varargin)

image thumbnail

updated 2 years ago

SimEvents Entity Animation in 3D by Saurabh Mahapatra

Basic infrastructure S-Function for hooking up a SimEvents model to Simulink 3D Animation (simevents, simulink, 3d)

simevents_animation(block)

luggage_animation

image thumbnail

updated 2 years ago

Surface2VTK by James Ramm

Interpolates scattered data and saves the result to a vtk file. (vtk, surface, surf)

fillElevation(Elev,ncellX,ncellY,nlayer,nR)

meanRes(R,ncellY,ncellX,nlayer)

surface2vtk(x,y,z,r,vtkname)

image thumbnail

updated 2 years ago

quiver3Dpatch by Kevin Moerman

Plotting of colored 3D arrows based on patch command (3d, data exploration, quiver)

[F,V,C]=quiver3Dpatch(x,y,z,ux,uy,uz,c,a)

image thumbnail

updated 2 years ago

Shortest Distance Between Two Lines in N dimensions by Alexander Brodsky

Function calculates shortest distance between two lines presented by two points for each line. (2d, plot, intersection)

[dist Pc Qc]=distBW2lines(L1,L2)

image thumbnail

updated 2 years ago

Fast STL import function by Eric Trautmann

Function to import .stl geometry model files into matlab. (triangle, 3d, model)

varargout=import_stl_fast(filename,mode)

image thumbnail

updated 2 years ago

B-spline Grid, Image and Point based Registration by Dirk-Jan Kroon

B-spline registration of two 2D / 3D images or corrsp. points, affine and with smooth b-spline grid. (3d, bspline, registration)

A=imresize3d(V,scale,tsize,ntype,npad)

Dlocal=jacobiandet_transform_2d_double(Ox,Oy,Isize,dx,dy)

E=strain(Ux,Uy,Uz)

image thumbnail

updated 2 years ago

Fast/Robust Template Matching by Dirk-Jan Kroon

Template Matching with SSD Block Matching and Normalized CC, (color) 2D and 3D (template matching, block matching, sum of squared differ...)

[I_SSD,I_NCC,Idata]=template_matching(T,I,IdataIn)

image thumbnail

updated 2 years ago

Viewer3D by Dirk-Jan Kroon

MIP, Color, Slice and Shaded 3D (shearwarp) Volume Rendering, interactive 3D view/measurement GUI (2d, 3d, dicom)

B=SnakeInternalForceMatrix2D(nPoints,alpha,beta,gamma)

B=SnakeInternalForceMatrix3D(FV,alpha,beta,gamma)

ErrorData3D(varargin)

image thumbnail

updated 2 years ago

smartSlice and iGSlice by James Ramm

slice into irregular grids with smartSlice and iGSlice. NaN values are allowed. (3d graphics, 3d grid, irregular grid)

h=smartSlice(varargin)

hout=quickSlice(varargin)

iGslice(varargin)

image thumbnail

updated 2 years ago

Pyramid built by UFO by Gustavo Orellana

Using matrix transformations and light to create ufo building pyramid. (ufo, translations, rotations)

antenna(zpos,height,rad)

dome(zpos, dimMult)

drawBlocks(n,position)

image thumbnail

updated 2 years ago

N-Dimensional Histogram Count by Mathew

Bins the elements of n matrices into an n-dimensional histogram. (histogram, hist, histc)

n=histcnd(varargin)

image thumbnail

updated 2 years ago

mapcolors by Scott McKinney

Create a custom RGB colormap by interpolating between two pre-defined extremes. (graphics, visualization, colormap)

mapcolors(start,finish,nBits)

image thumbnail

updated 2 years ago

Solution of Differential Equations with MATLAB & Simulink: Lorenz Attractor Case Study by Saurabh Mahapatra

Simulink design pattern for solving differential equations, visualize results in MATLAB graphics (differential, equation, lorenz)

lorenz_graphs(block)

lorenz_graphs_level_1(t,x,u,flag, x_initial)

lorenz_attractor

image thumbnail

updated almost 3 years ago

Plotvec by Hannes Eilers

Plots any amount of 2D or 3D vectors. (3d, 2d, plot)

plotvec(vec, names)

image thumbnail

updated almost 3 years ago

Image Edge Enhancing Coherence Filter Toolbox by Dirk-Jan Kroon

Advanced 2D/3D noise removal and edge enhancing with anisotropic diffusion filtering ( Weickert ) (3d, ridge, image enhancement)

CoherenceFilter(u,Options)

D=derivatives(I,option)

I=imgaussian(I,sigma,siz)

Contact us