Main Content

43,690 results in File Exchange

2dto3d

Version 1.0.0 by Selva Karna

2d Image to 3D

2D to 3D:2D Input Images to 3D Model, Using MATLAB 2019b,* JPEG,JPG,TIF,DICOMRESULTS : MESH,3D POINTS,

  • 222 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 24 Dec 2019

pointcloud2image( x,y,z,numr,numc )

Version 1.2.0.0 by VahidB

This function converts a 3D point cloud to a 2D gray-scale raster image

This function converts a 3D point cloud to a 2D gray-scale raster image.The inputs are x,y,z coordinates of 3D points and number of rows and columns of the output image.

  • 2.9K (All time)
  • 1 (Last 30 days)
  • 4.8 / 5
  • Community
  • 22 Jan 2016

Im2mesh (2D or 3D image to finite element mesh)

Version 2.68 by Jiexian Ma

Generate finite element mesh based on 2D or 3D multi-phase image. For image-based finite element analysis.

element mesh based on 2D or 3D multi-phase segmented image. It provides a robust workflow capable of processing various input images, such as microstructure images of engineering materials. Due to its

- : get interface node between phase nodecoor_cell{i} and nodecoor_cell{j}
- : import 2d image sequences
- : write 3d finite element mesh (nodes and elements) to bdf
- : import a 3d image stack
- : print polygonal boundary to dxf files.
- Trace boundaries in a binary image
- Generate finite element mesh based on 2D multi-phase image. For image-based finite element analysis.
- Find minimum distances from points to a polyline or to a
- : 3d voxel image to 3d triangular surface mesh
- : Convert line or polygon parts from vector form to cell arrays
- : Convert 2d multi-phase image to pixel-based finite element
- helper routine to safely query a MESH structure.
- : plot the outer surfaces of a 3D volume (3d uint8 array).
- run various triangulation demos for MESH2D.
- : Convert 3d multi-phase image to voxel-based finite element
- : get node coordinates and elements from 3d mesh
- : inserts midpoints into all edges of linear elements to form
- : Converts double array to the smallest possible
- : smooth 3d triangular surface mesh
- : convert a cell array of polygonal boundaries to a
- : generate triangular mesh based on segmented image
- : Convert a cell array of polygonal boundaries to a cell
- : Measure properties of image regions
- : Label connected components in 2-D binary image
- : write 2d finite element mesh (nodes and elements) to msh file.
- : create Matlab 3d pde model object based on polygonal
- : write 2d finite element mesh (nodes and elements) to inp
- find the tree-to-vertex mappings.
- : Extracts separate surface meshes for each distinct phase in a 3D voxel volume.
- find the tree-to-item mappings.
- : use to check whether interfacial nodes have been found
- find the tree-to-rectangle mappings.
- : plot tetrahedral or hexahedral finite element mesh
- : inserts biased points between vertices of an 2d edge
- : Taubin smoothing (2D) without shrinkage.
- : write 2d finite element mesh (nodes and elements) to bdf
- : Applies constraint Taubin smoothing to a triangular
- : convert individual phase meshes into a global DREAM.3D
- : generate triangular mesh based on grayscale segmented image
- : Export shared-vertex mesh to Object File Format (.off)
- : Convert a cell array of polyshape objects to a cell
- : inserts midpoints into all edges of linear elements to form
- Matching checks if a 2D mesh on a rectangular domain
- : calculate the area perccentage of each grayscale in image
- attempts to "fix" issues with geometry definitions.
- : convert triangular mesh to surfaces (Gmsh entities).
- : add points to polygonal boundaries.
  • 1.7K (All time)
  • 15 (Last 30 days)
  • 5.0 / 5
  • Community
  • 13 Jun 2026

mat2im

Version 1.4.0.0 by Rob Campbell

Convert 2D matrix to a 3D image matrix as used by the image processing toolbox

This code snippet converts a 2D matrix to a 3D matrix where the values in the 3rd dimension correspond to pixel intensity in the red, green, and blue domains. This is the format used by many

- mat2im - convert to rgb image
  • 2.6K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 15 Aug 2010

2D image to STL mesh

Version 1.0.0.0 by Pasquale Franciosa

Convert 2D images to 3D stl CAD model

This is a MatLab-based tool allowing to segment and generate 3D CAD model from 2D images (.bmp image formats are supported). Iso-surfaces are detected by using a cluster¬ing algorithm: the “K-Means

- view3d Interactively rotate, zoom and pan the view of a 3-D plot
  • 2.6K (All time)
  • 1 (Last 30 days)
  • 2.3 / 5
  • Community
  • 29 Oct 2013

Image Correlation and Convolution for Large Data

Version 1.0.0.0 by Ahmet Cecen

Applies a Patched Convolution Scheme to compute 2D and 3D image auto and cross correlations.

higher the winmulti, the faster the computation time (as long as you don't go out of bounds into a pagefile).There are two files to pad and element-wise multiply 2D or 3D data for use with this code called

  • 447 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 23 Feb 2016

Fast Continuous Max-Flow Algorithm to 2D/3D Image Segmentation

Version 1.3.0.0 by Jing Yuan

Fast continuous max-flow algorithm to 2D/3D image segmentation developed in matlab, C and GPU

This software implements the fast continuous max-flow algorithm to 2D/3D image segmentation. It provides three implementations: matlab, C and GPU (cuda based). All the source files are provided. So

- % Function test_CMF3D
- % Performing the continuous max-flow algorithm to solve the
- % Performing the continuous max-flow algorithm to solve the
  • 5.4K (All time)
  • 2 (Last 30 days)
  • 4.9 / 5
  • Community
  • 16 Dec 2011

Fast Continuous Max-Flow Algorithm to 2D/3D Multi-Region Image Segmentation

Version 1.2.0.0 by Jing Yuan

It implements the fast continuous max-flow algorithm to 2D/3D multi-region image segmentation.

This software implements the fast continuous max-flow algorithm to 2D/3D multi-region image segmentation (Potts model). It provides three implementations: matlab, C and GPU (cuda based). All the

- % Performing the continuous max-flow algorithm to solve the
- % Function test_CMF3D_ML
- % Performing the continuous max-flow algorithm to solve the
  • 4.1K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 16 Dec 2011

vtkwrite : Exports various 2D/3D data to ParaView in VTK file format

Version 2.3.0.0 by CY Y

Exports 2D/3D image volume, vector field, surface, lines, polygons, etc. to ParaView

file named 'matlab_export.vtk' is saved and passed on to ParaView.Example 2 : export 3D vector and scalar fieldload wind [cu,cv,cw] = curl(x, y, z, u, v, w); div = divergence(x, y, z, u, v, w

- Writes 3D Matlab array into VTK file format.
  • 12.2K (All time)
  • 5 (Last 30 days)
  • 4.9 / 5
  • Community
  • 3 Oct 2016

TomoPhantom

Version 1.5.0.0 by Daniil Kazantsev

TomoPhantom is a toolbox to generate customisable 2D and 3D phantoms for image processing tasks

modular approach to build customisable 2D/3D/4D phantoms consisting of piecewise-constant and also smooth analytical objects. The objects include: Gaussians, parabolas, ellipses, cones, rectangulars, etc

  • 824 (All time)
  • 2 (Last 30 days)
  • 4.5 / 5
  • Community
  • 22 Dec 2023

Extract 2D images from 3D volume image data

Version 1.0.0.0 by Rex Cheung

This m-script slices 3D image file in MovingMask.raw in 2D images.

This may be useful when you are processing3D images for 2D image registration for e.g. landmark-based thin plate spline etc.

- Dr. Rex Cheung, 215-287-2501, cheung.r100@gmail.com
  • 558 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 28 Mar 2012

2D/3D specific surface of porous media using 2D images

Version 2.0.0.1 by Arash Rabbani

This code calculates 2D/3D specific surface of porous media using 2D images

2D/3D specific surface of porous media using 2D imagesSpecific surface of the porous media has two different definitions:1-3-D Specific surface of the void/porous space, which is equal to the surface

  • 944 (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 9 Feb 2021

Hysteresis thresholding for 3D images (or 2D)

Version 1.0.0.0 by Luke Xie

Segments images based dual thresholding with 2D or 3D connectivity neighborhoods.

segmentation with fewer isolated pixels. The function help is included below: Hysteresis3d is a simple function that performs trinarisation and hysteresis for 2D and 3D images. Hysteresis3d was inspired by

- function [tri,hys]=HYSTERESIS3D(img,t1,t2,conn)
  • 2.5K (All time)
  • 1 (Last 30 days)
  • 4.6 / 5
  • Community
  • 9 Dec 2013

InSPIRE -- 2D to 3D Conversion for further image analysis

Version 1.0.0.0 by Rex Cheung

InSPIRE -- Utility for stacking cross-sectional 2D images into 3D, then display in orthogonal planes

It is useful for visualization and image registration. This code stacks 2D images into a 3D volume. It then resample user specified plane to obtain orthogonal image plane for 2D image processing and

  • 674 (All time)
  • 1 (Last 30 days)
  • 3.0 / 5
  • Community
  • 29 Mar 2012

2D/3D image segmentation toolbox

Version 1.8.0.0 by Yan Zhang

2D/3D image segmentation using level-set based active contour/surface with AOS scheme

segmentation.(3)All the methods can be applied to 2D and 3D data.

- mex ac_fast_marching_3d_dll.cpp
- FUNCTION U = AC_SDF_2D(TYPE, DIMS, VARARGIN)
- AOS (additive opterator splitting) scheme for solving PDE equations in
- AOS (additive opterator splitting) scheme for solving PDE equations in
- FUNCTION U = AC_CHANVESE_MODEL(I, U, SMOOTH_WEIGHT, IMAGE_WEIGHT, ...
  • 35.3K (All time)
  • 3 (Last 30 days)
  • 4.5 / 5
  • Community
  • 28 Jan 2013

imtranslate

Version 1.0.0.0 by Sean de

Affine translates a 2D image or 3D volume.

This function makes it easy to translate a 2d image or 3d volume. The shifts do not need to be integer values. It was written so I could test image registration algorithms.Help:function Iout =

  • 3.4K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 15 Apr 2010

Noises and Filters GUI

Version 1.2.0.0 by CyrilSPA

For a better comprehension of how interact noises with 2D and 3D images and how to filter them.

This is a GUI interface in MATLAB which works with all operating system.It is a good exemple of how to set up an interface with MATLAB.All the information about how to use it are in the README.txt

  • 876 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 7 Jun 2013

double2rgb

Version 1.0.0.0 by David Legland

Converts an array of double (2D or 3D) to an RGB image using specified colormap

Computes the min and max values within the input array, convert to 256 values, and apply a colormap to produce a color image (RGB).It is possible to specifies the range of values to consider, as well

- DOUBLE2RGB Create a RGB image from double values
  • 1.6K (All time)
  • 1 (Last 30 days)
  • 3.8 / 5
  • Community
  • 2 Feb 2011

Image3

Version 1.0.0.0 by Knut

A simple function for displaying 3-d arrays similar to how image() can be used for 2-d arrays.

I use image() a lot for quickly getting an overview of what a 2-d array contains. I have searched through the Volume visualization guides without finding anything similar for 3-d arrays, so I have

- image3
  • 1.1K (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 11 Mar 2011

Steno3D

Version 1.0.1.0 by Steno 3D

MATLAB client library for Steno3D

Steno3D is an online platform to bring 3D visualization and collaboration into the cloud. The MATLAB client library allows seamless integration with Steno3D and your MATLAB plotting workflow. Upload

- TEXTURE2DIMAGE Steno3D object to hold images and mapping to resources
- MESH2DOPTIONS Options for Steno3D Mesh2D and Mesh2DGrid objects
- MESH2DGRID Mesh for gridded Steno3D Surface resources
- UPLOAD Upload a figure, axes, or Steno3D Project to steno3d.com
- DATAARRAY Steno3D object to hold resource data
- SCATTER MATLAB scatter to Steno3D Point conversion
- LINE MATLAB line to Steno3D Line conversion
- GROUP MATLAB group to Steno3D Resources conversion
- CONTOUR MATLAB contour to Steno3D Line conversion
- GET perform a web request to steno3d.com
- ADDDATA Add a dataset to an existing Steno3d resource
- MESH2D Mesh for triangulated Steno3D Surface resources
- LINE Low-level Steno3D Line resource
- POINTOPTIONS Options for Steno3D Point objects
- SCATTER Create and plot a Steno3D Point resource
- LINE Create and plot a Steno3D Line resource
- TRISURF Create and plot a triangulated Steno3D Surface resource
- COMBINE Combine a list of Steno3D Projects into one Project
- PROJECT Container of related Steno3D resources for plotting and uploading
- IMAGE MATLAB image to Steno3D Surface conversion
- CONVERT Convert MATLAB figure or axes into a Steno3D Project
- COMPOSITERESOURCE Abstract base class for Steno3D resources (Point, Line, etc)
- MATVERCHK Error if the MATLAB version is invalid, < 8.4 (R2014b)
- JSON2STRUCT Converts JSON strings from Steno3D requests to MATLAB structs
- EXTRACTCODE Extract code from example docstring
- ADDIMAGE Add a PNG image to an existing Steno3d resource
- URLREADWRITE A helper function for URLREAD and URLWRITE.
- INSTALLSTENO3D Add Steno3D to the MATLAB environment
- LOGIN Log in to steno3d.com to allow Steno3D Project uploads
- TESTSTENO3D Test suite for steno3d
- UNINSTALLSTENO3D Remove Steno3D from the MATLAB environment
- CONSOLIDATE Attempts to combine similar Steno3D Resources
- SURFACE MATLAB surface to Steno3D Surface conversion
- PATCH MATLAB patch to Steno3D Surface conversion
- AXES MATLAB axes to Steno3D Project conversion
- FIGURE MATLAB figure to Steno3D Project conversion
- UPGRADESTENO3D Download and install the latest version of Steno3D
- POST perform a web request to steno3d.com
- addImage examples:
- POINTBINDER Bind data to nodes of a Steno3D Point
- MESH3DOPTIONS Options for Steno3D Mesh3DGrid objects
- MESH3DGRID Mesh for Steno3D Volume resources
- MESH0D Mesh for Steno3D Point resources
- MESH1D Mesh for Steno3D Line resources
- VOLUMEBINDER Bind data to cell centers of a Steno3D Volume
- LINEBINDER Bind data to segments or vertices of a Steno3D Line
- SURFACEBINDER Bind data to faces or vertices of a Steno3D Surface
- LOGOUT Log out of current session on steno3d.com
- MESH1DOPTIONS Options for Steno3D Mesh1D objects
  • 110 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 17 Apr 2017

Areal, volumetric and textural parameters from 2D and 3D images

Version 1.2.0.0 by Kateryna Artyushkova

GUI for calculating metrics from 2D and 3D images.

in "Fundamentals of biofilm research" 2013, CRC Press Content, Zbigniew Lewandowski, Haluk Beyenal andComputation of Minkowski measures on 2D and 3D binary images Image Anal. Stereol., 2007, 26

- Porosity3D.m
- IMMEANBREADTH Mean breadth of a 3D binary or label image
- FractalDimension3D
- runLengths3D.m
- DiffusionDistance3D
- textural3D.m
- GUI for thresholding images
  • 1.4K (All time)
  • 2 (Last 30 days)
  • 3.7 / 5
  • Community
  • 26 Nov 2014

Gaussian Splatting

Version 2.0.0.0 by Ivo Houtzager

This example shows how-to train and generates 2D images using a minimal implementation of 3D Gaussian splatting using Deep Learning Toolbox.

This example shows how-to train and generates 2D images using a minimal implementation of 3D Gaussian splatting using Deep Learning Toolbox. It includes Frustum culling, pruning and densification

- This example shows how-to train and generate 2D images using a minimal implementation of 3D Gaussian splatting.
- - A utility class to load COLMAP binary export files in MATLAB.
  • 26 (All time)
  • 5 (Last 30 days)
  • -- / 5
  • Community
  • 2 Feb 2026

Viewer3D

Version 12.1.0.0 by Dirk-Jan Kroon

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

kind of renders. The fast render algorithm which renders a 3D volume to a 2D image, is based on a Matlab coded implementation of the Shear-Warp transform, in which instead of rotating the viewer rays the

- Gaussian based image derivatives
- This function "GVFOptimizeImageForces" does gradient vector flow (GVF)
- Eextern = ExternalForceImage3D(I,Wline, Wedge,Sigma)
- IMGAUSSIAN filters an 1D, 2D color/greyscale or 3D image with an
- This function is used to transform an 2D image, in a backwards way with an
- This function ReadData3D allows the user to open medical 3D files. It
- Function RENDER will volume render a image of a 3D volume,
- Function RENDER_MIP will render a Maximum Intensity Image of a 3D volume
- Function RENDER_MIP will render a Maximum Intensity Image of a 3D volume
- Function RENDER_BW will volume render a Image of a 3D volume with
- Function RENDER_COLOR will volume render a Image of a 3D volume with
- Function RENDER_SHADED will volume render a shaded Image of a 3D volume,
- VIEWER3D a Matlab 3D volume renderer using the fast shearwarp algorithm.
- Function RENDER_SHADED will volume render a shaded Image of a 3D volume,
- Function RENDER_COLOR will volume render a Image of a 3D volume with
- Function RENDER_BW will volume render a Image of a 3D volume with
- This function DICOM_WRITE_VOLUME will write a Matlab 3D volume as
- Eextern = ExternalForceImage2D(I,Wline, Wedge, Wterm,Sigma)
- Gaussian based image derivatives
- ERRORDATA3D M-file for ErrorData3D.fig
- INFODATA3D M-file for InfoData3D.fig
- VIEWER3D_SEGMENT MATLAB code for viewer3d_segment.fig
- VIEWER3D_QUALITYSPEED M-file for viewer3d_qualityspeed.fig
- VIEWER3D_VOXELSIZE M-file for viewer3d_voxelsize.fig
- VIEWER3D_WORKSPACEVARS M-file for viewer3d_workspacevars.fig
- VIEWER3D_DICOMINFO M-file for viewer3d_dicominfo.fig
- VIEWER3D_ABOUT M-file for viewer3d_about.fig
- VIEWER3D_ERROR M-file for viewer3d_error.fig
- VIEWER3D_CONSOLE M-file for viewer3d_console.fig
- VIEWER3D_CONTRAST M-file for viewer3d_contrast.fig
- VIEWER3D_LIGHTVECTOR M-file for viewer3d_lightvector.fig
- function for reading volume of V3D Philips Scanner ( .v3d )
- function for reading header of V3D Philips Scanner ( .v3d )
- This function "GVFOptimizeImageForces" does gradient vector flow (GVF)
- This function is part of VIEWER3D
- Affine transformation function (Rotation, Translation, Resize)
- This function PATCHNORMALS calculates the normals of a triangulated
- % B=SnakeInternalForceMatrix3D(F,alpha,beta,gamma)
- Function for writing V3D volume files version R6.1
- This function SNAKE implements the basic snake segmentation. A snake is an
- This function MakeContourClockwise will make a surface clockwise
- % B=SnakeInternalForceMatrix2D(nPoints,alpha,beta,gamma)
- This function will calculate one iteration of contour Snake movement
- Draw the contour as one closed line in a logical image,
- This function SNAKE implements the basic snake segmentation. A snake is an
- This function calculates the normals, of the contour points
- This function MakeContourClockwise will make a contour clockwise
- This function warp, will warp the shear rendered buffer image
- This function resamples a few points describing a countour , to a smooth
  • 56.9K (All time)
  • 11 (Last 30 days)
  • 4.8 / 5
  • Community
  • 15 Sep 2016

Project 3D into 2D image coordinates using a camera model

Version 1.1.0.0 by Zachary Taylor

Project 3D points using a camera model with lens distortion parameters

Code for finding the location of 3D points in a camera's image coordinates. Takes into account the cameras transformation matrix, camera matrix and distortion coefficients.

- PROJECTPOINTS Projects 3d points onto a plane using a camera model.
- Quick Program to demo the use of projectPoints
  • 2.2K (All time)
  • 1 (Last 30 days)
  • 4.6 / 5
  • Community
  • 16 Dec 2014

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

Version 1.0.0.0 by Luke Xie

Enhances images using a weighted sum or MEFIC.

Multi Echo Fourier Image Contrast (MEFIC) technique for 2D, 3D or N-D images. The enhancement is taken along the last dimension of the image (e.g., along the echo time for for a multiecho MRI image). For

  • 761 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 27 Jan 2014

2d and 3d brain plots

Version 1.6.0.0 by Jeremy Manning

Quickly and easily create 2d and 3d plots of fMRI data.

generating 2- or 3-dimensional plots of fMRI data that can be manipulated (e.g. rotated, modified) in real time.Although these tools may be used to produce publication-quality figures, the focus here is on

- PLOT_BRAIN3D Plot a 3d brain image
- PLOT_BRAIN2D Plot slices of a brain image (3d matrix)
- PLOT_BRAIN3D Plot a 3d brain image
- PATCH_3Darray Plot a 3D array using patch to create a quadrangular surface mesh
- CMU_TO_MAT convert image(s) in CMU format to matrix format
- PLOT_BRAIN2D Plot slices of a brain image
- MAT_TO_CMU convert image(s) in matrix format to CMU format
- GETTIGHTSUBPLOTHANDLES return handles to subplots of with the specified spacing
  • 2.9K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 17 Jan 2017

Curvature of a 1D curve in a 2D or 3D space

Version 1.2.8 by Are Mjaavatten

Calculates the local radius of curvature as well as the cumulative arc length and the curvature vector along a 1D curve in 2D or 3D space

Function circumcenter finds the radius R and the center of the circumscribed circle of a triangle in 3D space. Function curvature calls circumcenter for every triplet , , of neighboring points along

  • 5.7K (All time)
  • 5 (Last 30 days)
  • 4.8 / 5
  • Community
  • 10 Nov 2021

imOverlay

Version 1.0.0.0 by David Legland

Add colored markers to an image, that can be 2D or 3D, grayscale or color.

Add a colored layer to a base image, whatever the dimension (2D or 3D) and the type (grayscale of color) of the base image.Overlays are given by pairs MASK + color. The mask is a binary image the

- IMOVERLAY Add colored markers to an image (2D or 3D, grayscale or color)
  • 1.2K (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 24 Sep 2010

Geodesic distances and geodesic diameters within 2D/3D images

Version 1.3.0.0 by David Legland

Propagates geodesic distances in binary or label images, and computes geodesic diameter

Contains several functions for propagating chamfer distances (approximation of euclidean distances) within binary images or label images.Contains also some functions for computing geodesic distances

- IMCHAMFERDISTANCE3D Compute chamfer distance in 3D images
- IMGEODESICDIAMETER3D Compute geodesic diameter of 3D particles
- IMGEODESICPATH Compute a geodesic path between two markers in an image
  • 1.8K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 20 Dec 2017

Export figure to 3D interactive PDF

Version 1.3.0.0 by Ioannis Filippidis

Export figure as U3D file or directly to 3D interactive graphics within PDF.

can be found here: http://www.ctan.org/tex-archive/macros/latex/contrib/media9For PDF readers which do not render 3D figures, it is possible to include an alternative 2D image as a substitute to the

- Convert axes to PDF with embedded interactive 3D image.
- Convert IDTF to U3D file.
- Convert figure to U3D file.
- Compile LaTeX code to PDF.
- Preprocess line output to u3d.
- Preprocess surface output to u3d.
- Preprocess contour output to u3d.
- Preprocess surface output to u3d.
- Preprocess quiver output to u3d.
- LaTeX code which includes a U3D file.
- Convert axes to U3D file, generating LaTeX code including it.
- Get the text that appears in the next comment block.
  • 10.8K (All time)
  • 7 (Last 30 days)
  • 4.2 / 5
  • Community
  • 4 Aug 2021

colormapline - color-changing 2D or 3D line

Version 2.1.0.0 by Matthias Hunstig

Plot a 2D or 3D line using a specified colormap.

% H = colormapline(X,Y,Z,C) Plot a line using a specified colormap% If Z is given, a 3D plot with coordinates X, Y, Z is created.% If Z is not given, a 2D plot of Y over X if created.% If Y and

  • 1.9K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 14 Dec 2016

Scalable Vector Graphics (SVG) Export of Figures

Version 1.9.0 by Juerg Schwizer

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

Scalable Vector Graphics (SVG) Export of FiguresConverts 2D &amp; 3D Matlab plots to the scalable vector format (SVG). This format is specified by W3C (http://www.w3.org) and can be viewed and

  • 50.7K (All time)
  • 16 (Last 30 days)
  • 4.6 / 5
  • Community
  • 23 Apr 2021

image ellipsoid 3D

Version 1.1.0.0 by David Legland

Equivalent ellipsoid from 3D image

the 2D image or labels, and returns the associated equivalent ellipse. The function "drawEllipse" can be used to display result.The package includes functions from the geom2d and geom3d contributions

- Computes principal axes of a 2D/3D binary image.
- Show a moving 3D slice of an image
- Draw a 3D ellipse.
- Draw a 3D ellipsoid.
- Transform a point with a 3D affine transform.
- Create the 4x4 matrix of a 3D scaling.
- Draw a 3D polygon specified by a list of vertex coords.
- Draw a 3D polyline specified by a list of vertex coords.
- Extract Euler angles from a rotation matrix.
- Create the 4x4 matrix of a 3D rotation around z-axis.
- Create the 4x4 matrix of a 3D rotation around x-axis.
- Show three orthogonal slices of a 3D image
- Draw 3D edge in the current axes.
- Create the 4x4 matrix of a 3D translation.
- Transformation matrix from local to global coordinate system.
- Create the 4x4 matrix of a 3D rotation around y-axis.
- Check if the input corresponds to a valid axis hanfle.
- Find unique labels in a label image
- Draw an ellipse on the current axis.
  • 1.5K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 28 Aug 2019

Augmented Lagrangian Digital Image Correlation and Tracking

Version 4.2.2 by Jin Yang

2D-AL-DIC(Augmented Lagrangian DIC) is a fast, parallel-computing DIC algorithm which also considers global kinematic compatibility.

, March 6). 2D_ALDIC (Version 3.3). CaltechDATA. https://data.caltech.edu/records/1443% =========================================[3] Yang, J. and Bhattacharya, K. Combining Image Compression with Digital

- : 2D least square fittings
- Convolution in 1D or 2D ignoring NaNs.
- : estimates a surface on a 2d grid, based on scattered data
- Exports a figure to an image array
- Crop the borders of an image or stack of images
- : to compute and plot DIC solved Poisson's ratio field on the original DIC images
- Prints figures to eps with improved line styles
- Convert an eps file to pdf format using ghostscript
- : maps markings given in decimal number to given hashs
- Fits a nD lookup table with smoothness to scattered data.
- : to plot DIC solved displacement components
- : to plot DIC solved displacement components
- : to compute and plot DIC solved Poisson's ratio
- : to smooth solved strain fields by curvature regularization
- : computes if a point is in a triangle
- Plot D matrix
- Find extremum of matrix.
- Creates an RBF interpolation
  • 4.1K (All time)
  • 14 (Last 30 days)
  • 5.0 / 5
  • Community
  • 26 Mar 2024

Diffeomorphic Log Demons Image Registration

Version 1.7.0.0 by Herve Lombaert

Simple matlab code for 2D and 3D image registration using the diffeomorphic log-demons algorithm

Simple matlab code for 2D and 3D image registration using the diffeomorphic log-demons algorithmCode is provided in order to help the understanding of the Demons algorithm - Any comment or

- Find update between two images
- Apply gaussian filter to image
- Register two images
- Display several images on the same figure
- Exponentiate vector field
- Compose two vector fields
- Demons Registration
  • 4.2K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 19 Aug 2014

RBF or Thin-Plate Splines Image Warping

Version 1.0.0.0 by Wang Lin

Radial basis function/Thin-plate spline function and demo for 2D image warping.

Radial basis function/Thin-plate spline 2D image warping. [imo,mask] = rbfwarp2d( im, ps, pd, method) input: im: image 2d matrix ps: 2d source landmark [n*2] pd: 2d destin

- Radial base function/Thin-plate spline 2D image warping.
- By WangLin
  • 734 (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 6 Nov 2015

Hessian based Frangi Vesselness filter

Version 1.11.0.0 by Dirk-Jan Kroon

Enhancement of Vessel/ridge like structures in 2D/3D image using hessian eigen values

supports both 2D images and 3D volumes.The 3D method contains an c-code file which can calculate fast the eigenvectors and eigenvalues of a list of image Hessians. First compile this code with "mex

- IMGAUSSIAN filters an 1D, 2D color/greyscale or 3D image with an
- This function Hessian3D filters the image with an Gaussian kernel
- % This function FRANGIFILTER3D uses the eigenvectors of the Hessian to
- This function FRANGIFILTER2D uses the eigenvectors of the Hessian to
- This function Hessian2 Filters the image with 2nd derivatives of a
- This function eig2image calculates the eigen values from the
  • 29.8K (All time)
  • 28 (Last 30 days)
  • 4.7 / 5
  • Community
  • 2 Mar 2010

Pre-trained 3D ResNet-18

Version 1.0.3 by Amir Ebrahimi

Pre-trained Neural Network Toolbox Model for 3D ResNet-18 Network

To transfer the learnable parameters from pre-trained 2D ResNet-18 (ImageNet) to 3D one, we duplicated 2D filters (copying them repeatedly) through the third dimension. This is possible since a video

  • 2.1K (All time)
  • 18 (Last 30 days)
  • 5.0 / 5
  • Community
  • 6 May 2021

Finite Element Analysis (FEA) of 2D and 3D Truss Structure

Version 1.2.5.1 by Akshay Kumar

To plot the Stress and Deformation in 2D or 3D Truss using FEM.

The code is used for plotting the Stress and Deformation in 3D Truss using FEM, Please read the ReadMe file, download link - https://drive.google.com/open?id=121q0g4TcCo8d

  • 3.6K (All time)
  • 11 (Last 30 days)
  • 4.9 / 5
  • Community
  • 3 Jul 2020

Extracting 3D Parametric Curves from 2D Images of Helical Objects

Version 1.0.0.0 by Chris G. Willcocks

Accompanying code for "Extracting 3D Parametric Curves from 2D Images of Helical Objects", Sept 2016

This repository provides a MATLAB implementation for extracting a 3D parametric curve from a 2D image of a helical object. It also contains functions to "unwrap" or "straighten" images of curve-like

  • 76 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 1 Aug 2017

GPU Centerline Extraction (Skeletonization) in 2D or 3D

Version 1.0.0 by Martin Wagner

Extracts the centerlines (skeleton) of binary 2D images or 3D volumes using bit encoded thinning on the GPU.

, Journal of Real-Time Image Processing). The library take binarized 2D images or 3D volumesand generates a list of curvilinear segments representing the centerlines. The code is free to use for research

- Compiles the Matlab version of the 2D and 3D centerline extration algorithms as
  • 825 (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 14 Aug 2020

imsurf: 3D images

Version 1.1.0.0 by Matthew Arthington

Plot images as 3D planes with full control over position and scale.

This function will display an image in a 3D plane with the specified position, image normal, image x direction and scale. It can display full colour and monochrome images with or without

- function h=imsurf(imageIn,upperLeftPoint3,normal,imXDirVec,scale,varargin)
  • 2.7K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 12 Feb 2013

Microscopy Image Browser (MIB)

Version 1.302.0.0 by Ilya Belevich

MIB is a package for segmentation of multi-dimensional (2D-4D) microscopy datasets

herehttp://se.mathworks.com/matlabcentral/fileexchange/63402-microscopy-image-browser-2--mib2-With MIB you can analyse, segment and visualize various multidimensional datasets from both light and electron microscopy. See more further details and tutorials on MIB website

- 2D and 3D. See below details of each mode.
- filters an 1D, 2D color/greyscale or 3D image with an
- - 2-D filtering using Gaussian masks
- A MEXed 2D/3D region growing algorithm.
- Perform Anisotropic Non-Linear Diffusion filtering on a 2D gray/color or 3D image stack. Anisotropic Non-Linear Diffusion filtering should reduce the noise while preserving the region edges, and also
- This panel contains access to several ways to analyse correlation between slices in 2D time lapse videos obtained with light microscopy.
- Invert image command in the Image menu). These tools were designed to work with 2D time lapse movies obtained with light microscopy.
  • 1.3K (All time)
  • 5 (Last 30 days)
  • 5.0 / 5
  • Community
  • 9 Feb 2019

point to line distance

Version 1.3.2 by Rik

calculate the distance between a 2D or 3D line and one or more points

You can input either a 2D or a 3D line and 2D or 3D points. This function is an extended version of the line below, with some input checking:distance=norm(cross(v1-v2,pt-v2))/norm(v1-v2)Licence: CC

  • 2.4K (All time)
  • 2 (Last 30 days)
  • 4.8 / 5
  • Community
  • 5 Jul 2020

Winterim Programs (3)

Version 1.0.0.0 by Emily

3 programs 1.3d image from slices 2.plots random subplot images 3.color image to black and white

1. creates a 3d image with different slices. The person running it will need to create a cell of all the slices. 2. plots two images from a group that is created by the person running it. 3. converts

- IM_3D creates a solid, 3D image of multiple slices. First, create a
- SUBPLOT presents two images, randomly chosen from a group, next to each
- BLACK_AND_WHITE creates a black and white image of a colored image.
  • 155 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 20 Jan 2012

Plot 2D/3D region

Version 1.1.0.1 by Per Bergström

The program plots convex linear closed regions in 2D/3D.

The program plots convex linear closed regions in 2D/3D. The region is a subset of R2 or R3 such that Ax&gt;=b and lb&lt;=x&lt;=ub. It is also possible to plot points in the same plot.(See help

  • 16.8K (All time)
  • 3 (Last 30 days)
  • 4.6 / 5
  • Community
  • 24 Jun 2025

imgaussian

Version 1.1.0.0 by Dirk-Jan Kroon

Fast Gaussian filtering of 1D, 2D greyscale / color image or 3D image volume.

IMGAUSSIAN filters an 1D, 2D color/greyscale or 3D image with a Gaussian filter. Instead of using a multidimensional Gaussian kernel, it uses the fact that a Gaussian kernel can be separated in 1D

- IMGAUSSIAN filters an 1D, 2D color/greyscale or 3D image with an
  • 5.2K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 1 Oct 2009

EDFI

Version 1.0.0 by Mohammad Heriyanto

EDFI is a script to extract data from an 2D or 3D image.

EDFI is a script to extract data from an 2D or 3D image. EDFI is developed using MATLAB and these steps below:1. Load image.2. Get data from image.3. Plot result.

  • 64 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 14 Sep 2022

Gaussian Pyramid - Expand and Reduce routines 1D, 2D and 3D

Version 1.0.0.0 by Deshan Yang

This contains set of routines, for the 'expand' and 'reduce' operations of Gaussian Image Pyramids f

images, and they were relatively slow.I have improved both functions to make them working for 1D, 2D and 3D images. Output images will havethe same data type of the original image, and both functions are

- % Reduce an image applying Gaussian Pyramid.
- % Expand an image as per the Gaussian Pyramid.
  • 6.5K (All time)
  • 1 (Last 30 days)
  • 4.8 / 5
  • Community
  • 24 Aug 2006

cline

Version 1.0.0.0 by Sebastian Hölz

Draw a colored line in 2D or 3D

z-valuescdata (opt.): vector with color-data2 input arguments =&gt; cdata = y; z=0 3 input arguments =&gt; cdata = z 4 i.a. &amp; z = [] =&gt; cdata = y; z=0 OUPUT=====h: Handle to line

  • 6.5K (All time)
  • 1 (Last 30 days)
  • 4.8 / 5
  • Community
  • 16 Apr 2007

imMinkowski

Version 1.6 by David Legland

Measure of geometric parameters in 2D or 3D images (surface area, perimeter, Euler Number...)

Contains various functions for measuring or estimating geometric quantities from 2D or 3D images.Parameters available for 2D images are:* the area (number of pixels)* the perimeter (based on Crofton

- compute angle between 2 3D points
- Norm of a 3D vector or of set of 3D vectors
- Normalize a 3D vector to have norm equal to 1
- Look-Up Table for computing mean breadth of a 3D image.
- Compute angle between three 3D points
- Look-Up Table for computing surface area of a 3D binary image
- Direction weights for 13 directions in 3D
- Direction weights for 4 directions in 2D
- Surface area of a 3D binary structure
- Surface area density of a 3D binary structure
- Intersection point between a 3D line and a plane.
- Vector cross product faster than inbuilt MATLAB cross.
- apply a lut to a gray-scale image.
- Convert spherical coordinates to cartesian coordinates
- create cellular reconstruction of discrete image
- Compute configuration map of a binary image
- Find unique labels in a label image
- Compute frequencies of configurations in binary images
- find indices of voxels not on image border
- Bounding box of a binary or label image
- Normalize a vector to have norm equal to 1
- Compute oriented angle made by 3 points
- Compute the normal to a plane
- compute Euler-Poincare Characteristic (EPC) of a structure.
- estimate perimeter of a structure
- compute total projection length
- implementation of Ohser's algo for surface comput.
- Ohser's Integral of Mean Curvature
- Normalize parametric representation of a plane
- Compute angle between points on the sphere
  • 4.6K (All time)
  • 3 (Last 30 days)
  • 4.9 / 5
  • Community
  • 11 Jan 2021

3D sample reconstruction from its 2D hologram multislicing

Version 1.0.2 by Tatiana Latychevskaia

(1) simulation of hologram of a 3D sample, (2) reconstruction of 3D sample from its 2D hologram, (3) iterative reconstruction of 3D sample

These MATLAB codes (1) simulate hologram of a 3D sample, (2) reconstruct 3D sample from its 2D hologram, (3) iteratively reconstruct artefact-free 3D sample from its 2D hologram as described in

  • 337 (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 26 Feb 2022

multimodality non-rigid demon algorithm image registration

Version 1.11.0.0 by Dirk-Jan Kroon

non-rigid 2D and 3D image registration with demon (fluid) algorithm, extended with modality transf.

This function will perform demon registration which is an type of fast non-rigid fluid like registration between two 2D or 3D images. Registration between different (MRI) modalities is also

- IMGAUSSIAN filters an 1D, 2D or 3D image with an gaussian filter.
- This function resizes a 3D image volume to new dimensions
- This function makes a 2D joint histogram of 1D,2D...ND images
- This function register_images is the most easy way to register two
- This function will turn a backwards transformation field into
- This function movepixels, will translate the pixels of an image
- This function gives a registration error and error image I between the two
- This function affine_registration_image, uses affine transfomation of the
- Affine transformation function (Rotation, Translation, Resize)
- get_example_data is used to make some rigid and nonrigid transformed
- Calculate the Eulerian strain from displacement images
- Basic demon registration code. (To easy understand the algorithm)
- This function will turn a backward transformation field in to a
- This function register_volumes is the most easy way to register two
  • 24.8K (All time)
  • 7 (Last 30 days)
  • 4.7 / 5
  • Community
  • 3 Jun 2010

Streamcolor

Version 1.0.0.0 by Bertrand Dano

Draw 2D or 3D color streamlines.

STREAMCOLOR(X,Y,U,V,STARTX,STARTY,VMAG) or STREAMCOLOR(X,Y,Z,U,V,W,STARTX,STARTY,STARTZ,VMAG) creates streamlines from 2D or 3D vector data U,V,W. The arrays X,Y,Z define the coordinates for U,V,W

- STREAMCOLOR: COLOR Streamlines from 2D or 3D vector data.
  • 3.3K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 8 May 2009

2D and 3D Phase Unwrapping using SRNCP

Version 3.0.2 by Michael Mullen

2D & 3D phase unwrapping plugins for Matlab

These files provide a means to implement the above algorithm without any special packages/toolboxes and needs any Matlab compatible C++ compiler (used Visual Studio 2019 version for this).To

  • 1.8K (All time)
  • 5 (Last 30 days)
  • 5.0 / 5
  • Community
  • 3 Jun 2020

structure tensor - introduction and tutorial

Version 1.0.0.0 by Shawn Arseneau

Comprehensive intro to structure tensors both in 2D and 3D

Tutorial on structure tensors. Normally associated with image processing and structure inference, this code provides a completely encapsulated package to explain and demonstrate the use of structure

- partial_derivative_3D - average of absolute, successive difference along axes %%%
- visualize_3D_data - given an NxMxP data set, output as a collection of voxels
- partial_derivative_to_structure_tensor_form - sets up structure tensor form from Ix, Iy, ...%%%%
  • 9.2K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 1 Nov 2006

  • 721 (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 22 Mar 2021

hagaygarty/mdCNN

Version 2.2.0.0 by Hagay Garty

MATLAB toolbox implementing Convolutional Neural Networks (CNN) for 2D and 3D inputs

accuracy as in the 2d demo This framework was used in a project classifying Vertebra in a 3D CT images.=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~To run MNIST demo: Go into the folder 'Demo/MNIST', Run

  • 3.6K (All time)
  • 4 (Last 30 days)
  • 4.9 / 5
  • Community
  • 10 Dec 2018

Quiver - magnitude-dependent color in 2D and 3D

Version 2.0 by Jonas Krimmer

Implements the MATLAB given quiver/quiver3 function adding a color coding depending on magnitude

%quiverC3D creates a 3D quiver plot and adds a color coding. The color coding is%given by the magnitudes of the component vectors. Large values result in colors %from the upper end of the used

- creates a 3D quiver plot and adds a color coding. The color coding is
- creates a 2D quiver plot and adds a color coding. The color coding is
  • 3.8K (All time)
  • 4 (Last 30 days)
  • 4.6 / 5
  • Community
  • 2 Nov 2021

Load more