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

Linear Blend Skinning by Aaron Wetzler

Simple example of linear blend skinning in Matlab (skinning, linear blend skinning, mesh)

loadbvh(fname)

plotax(pt,R,sz)

DEMO_lbs.m

image thumbnail

updated 1 year ago

gradedmesh by Ben Postlethwaite

Meta-function and optional GUI that transforms linear mesh coordinates into a chosen graded mesh (mesh graded gradedmes..., mesh graded gradedmes..., mesh)

meshfunc(curve, weight)

meshgui(varargin)

plotmesh( x, z )

image thumbnail

updated 1 year ago

Stereoscopic Structural Distortion Metric (StSD) by Varuna De Silva

Low complexity objective measurement of compression artifacts in stereoscopic 3D video (video quality, 3d, stereoscopic video)

StSD_lc(distorted_left, reference_left, distorted_right,...

[Y,U,V]=yuv_import(filename,dims,numfrm,startfrm,yuvformat)

image thumbnail

updated 1 year ago

3D Volume Visualization by Joshua Stough

3D volume viz with interactive slice selection, colored ortho-planes, windowing, colormap selection. (3d visualization, gui, slice)

vis3d(seg, mycmap, figName)

image thumbnail

updated 1 year ago

3D Helical solenoid by Kurt Mizgier

Example of a 3D helical solenoid (curves, 3d, examples of curves)

helical_solenoid.m

image thumbnail

updated 1 year ago

Create Video of Rotating 3D Plot by Alan Jennings

Specify a set of view angles and this function creates a video for use in presentations. (video, movie, mpg)

CaptureFigVid_Example

CaptureFigVid(ViewZ, FileName,OptionZ)

WellMadeVid.mp4

image thumbnail

updated almost 2 years ago

3D visualization of GMM learning via the EM algorithm by Johannes

The evolution of a GMM in the EM algorithm is visualized by interpolating between iterations. (expectation maximizat..., gaussian mixture mode..., em)

EM_GMM_3d(c,wk,N,movie,Y,D,Cv)

image thumbnail

updated almost 2 years ago

Grid Generation by Siva Srinivas Kolukula

To demonstrate grid generation using analytic coordinates systems. (grid, grid generation, mesh)

BipolarCoordinates(Xi,Eta,a)

EllipticCylinderCoordinates(Xi,Eta,a)

Horseshoe(Xi,Eta,row,b0,b1)

image thumbnail

updated almost 2 years ago

Spin/Rotate your plot! by Yu Ang Tan

Spins your plot in the z-axis! (cool, awesome, visual)

spin3dplot

image thumbnail

updated almost 2 years ago

Rose Model by LY Cao

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

roseplot1.m

roseplot2.m

image thumbnail

updated almost 2 years ago

Wave Player Visualizations (Geek) by Suraj Kamya

Kviz_playerV1 is Kamya Visualization music player Version 1 have a number of Geek Visz (3D-also) (music player, visualization, sound processing)

Kviz_Player_V1(varargin)

image thumbnail

updated almost 2 years 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 almost 2 years 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 2 years ago

overlayVolume by J.A. Disselhorst

Displays 3 orthogonal slices from a 3D volume with optional overlay. (image processing, overlay, 3d)

overlayVolume

image thumbnail

updated 2 years ago

Efficient three-dimensional (3D) Gaussian smoothing using convolution via frequency domain by Max W.K. Law

Native Fourier implementation, support GPU computation and anisotropic voxel. (3d, volumetric, gaussian smoothing)

gauss3filter.m

image thumbnail

updated 2 years ago

Parametrized uniform triangulation of 3D circle/sphere by Arso

Short function for parametric triangulation of 3d sphere (circle, sphere, triangulation)

sphereTriangulation(numIterations, radius)

testSphereTriangulation.m

image thumbnail

updated 2 years ago

Animations by Ankur Pawar

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

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

epitrochoid(r1,r2,len)

hypotrochoid(r1,r2,len)

image thumbnail

updated 2 years ago

Three dimensional implementation of the Canny edge detection by boyexex

Can be used to detected surfaces from a 3D volume. (edge detection, canny edge, 3d)

canny3D(im, filsize, sigma, th_up, th_low)

hysteresis(im,im_mag,th_low)

nonmax_sup(imfil_x,imfil_y,imfil_z,th_up, th_low)

image thumbnail

updated 2 years ago

Snake3D by Rob

3-dimensional version of the classic Snake. playsnake starts the game!!! Takes some practice. (snake, game, 3d)

Snake3d.m

SpaceSnake.m

playsnake.m

image thumbnail

updated 2 years ago

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

Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). (specialized, plotting, svg)

demo_svg_water

plot2svg.m

simulink2svg

image thumbnail

updated 2 years ago

Circle Plane in 3D by Cheng-Yuan Wu

Plot and fill a circle by given center, radius, and surface normal (circle, circle plane, plane)

circlePlane3D( center, normal, radious, theintv, normalon...

image thumbnail

updated 2 years ago

inttet by Immanuel Anjam

3D integration quadrature for unit tetrahedron (3d, integration, quadrature)

inttet(p)

image thumbnail

updated 2 years ago

Ray Tracing Volume Renderer by Scott Robertson

Renders a 3D volume according to a intensity indexed color map and opacity map via ray tracing. (medical imaging, image processing, volume rendering)

ParallelRayGenerator3d(volume,dimx,dimy,raystep)

volumeRenderDemo.m

image thumbnail

updated 2 years 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 almost 3 years ago

OrthoView3D by Jered Wells

MATLAB GUI for exploring 3D datasets through a sleek and simple interface (sample dataset included) (3d, data exploration, orthographic)

orthoview3d(varargin)

image thumbnail

updated almost 3 years ago

loadAmiraMesh by Cengiz Gunay

Load Amira Mesh 3D ASCII data (amira, mesh, data)

loadAmiraMesh(filename, isverbose)

image thumbnail

updated almost 3 years ago

Function for Viewing MRI Slices by Aras

Allows the viewing of slices of MRI data in the NIFTI format. (nifti, mri, slice)

splic(x,y,z,t)

image thumbnail

updated almost 3 years ago

circlefit3d - fit circle to three points in 3d space by Johannes Korsawe

Calculate center, radius and plane of circle that passes through three given points (circle, points, fit)

circlefit3d(p1,p2,p3)

image thumbnail

updated almost 3 years ago

Object Matching by Li yang Ku

An object matching method based on Lowe, D.G. Object recognition from local scale-invariant features (computer vision, surf, sift)

Demo.m

createTargetModel(targetImage, targetModelImage)

matchTarget(targetModel, testImage)

image thumbnail

updated almost 3 years ago

Antenna Arrays in 3D by Amol Mahurkar

Produces radiation pattern for Broadside, Endfire, and Binomial antenna arrays in 3 dimensions (antenna, array, binomial)

Binomial_array_3D.m

Broadside_array_3D.m

Endfire_array_3D.m

image thumbnail

updated almost 3 years ago

The Plane Stress Problem by Siva Srinivas Kolukula

Plate under uniform tension at its edges is solved using Finite Element Method (finite element method, postprocessing, plate)

GaussQuadrature(ngl)

PlotFieldonMesh(coordinates,nodes,component)

PlotMesh(coordinates,nodes)

image thumbnail

updated almost 3 years ago

makestereofig_v2 by Allen Minton

Converts .fig files containing Cartesian xyz plots to stereo in 3 formats (3d, stereo, anaglyphic)

plotdisplay2(photo,location)

makestereofig_v2.m

image thumbnail

updated 3 years ago

mxNiRealWorld2Pixel (an addition to the Kinect/OpenNI/NITE wrapper of D.Kroon)) by Babak Taati

takes an array of real-world coordinates (XYZ) and projects them into image coordinates (xy). (kinect, openni, projection)

mxNiRealWorld2Pixel.m

image thumbnail

updated 3 years ago

Meshing thin shells using four noded elements by Siva Srinivas Kolukula

To mesh thin shells using four noded elements to use in Finite Element Analysis (thin shells, preprocessing, finite element analys...)

MeshConicalShell(Radius,theta,Height,NT,NR)

MeshCylindricalShell(Radius,theta,Height,NH,NT)

MeshSphericalShell(Radius,Height,theta,phi,N)

image thumbnail

updated 3 years ago

Meshing a plate using four noded elements by Siva Srinivas Kolukula

To mesh a plate with four noded elements for Finite Element Analysis (preprocessing, mesh, nodes)

MeshCircularPlate(Radius,theta,NR,NT)

MeshRectanglularPlate(L,B,Nx,Ny)

SHOWELEMENTS(ShowElements,ShowNodes,coordinates,X,Y,nel,n...

image thumbnail

updated 3 years ago

vtkpipe by LeFlaux

Pipe visualization data to vtk files. (vtk, visualization, data export)

vtkquiver(x, y, z, u, v, w, varname, filename)

vtkseries(t, f, filename)

vtktrisurf(tri, x, y, z, argin5, argin6, argin7)

image thumbnail

updated 3 years ago

3d balls dynamics by Maxim Vedenyov

Simulation of balls collisions. Balls are same. Elastic collisions. No gravity. (3d, balls, elastic collisions)

D=distances(r)

V=strikes_processing(r,V,dst2,trind,n1a,n2a,d2)

V=strikes_processing_2balls(r,V,dst2,trind,n1a,n2a,d2)

image thumbnail

updated 5 years ago

3D Crouzeix-Raviart mortar finite element method by Jan Valdman

Implementation of 3D Crouzeix-Raviart mortar finite element (mathematics, 3d, mortar)

M_CR=stima_massCR_3D(elements3,coordinates,element2faces)

[M_CR Z]=stima_gradgradCR_3D(elements3,coordinates,elemen...

[b_volumeforces, volumes]=rhs_CR_3D(elements3, coordinate...

image thumbnail

updated 5 years ago

Edges generation by Jan Valdman

Algorithm generates edges of a conforming 2D/3D triangulation. (edges generation, matrix, 2d)

[element2edges, edge2nodes]=getEdges(elements)

[matrix,I]=deleterepeatedrows(matrix)

entryrows=entryInWhichRows(A)

image thumbnail

updated 5 years ago

Compiling a Simulink 3D Animation-based Application by Simulink Dude

Use the MATLAB Compiler to compile a 3D Animation application. (3d, animation, virtual reality)

compile_this_3D_app.m

vrmemb_lmco.m

Contact us