Various tools for working with large point clouds
Convert alphaShape object to binary image
im_out = alphaShape2im(shp,center_coord,im_size,scaling) creates a binary image with size im_size that represents a given alphaShape "shp". "alphaShape2im" maps the center voxel(s) to the reference
Functions to compute many proximity graphs and their relatives.
Nearest Center of Gravity; - Delaunay; - Gabriel; - Infinite Strip Band; - Relative Neighborhood; - Sphere of Influence; - Alpha Shape; - Epsilon-Ball; - Lune-based Beta Skeleton;- Circle-based Beta
Compute the alpha hulls (exterior and interior) of a set of points.
See also http://www.dylan-muir.com/articles/alpha_hulls/Usage: [triHull, vbOutside, vbInside] = AlphaHull(mfPoints, fAlphaRadius , triDelaunay)This function computes the alpha shape / alpha hulls of
A collection of tools to supplement bwpropfilt, bwareaopen, and the like.
intersections with a user-supplied binary mask. Handles N-dimensional images.3. BWLALPHACLOSE: similar to bwconvhull, this will use an alpha shape to seal or reduce concavities in objects (2D and 3D images
A Toolbox and GUI for pointcloud processing
extracts 2d alpha shapes from a set of x/y data points
ASHAPE is a simple wrapper for ASLIB, which implements several (optimized) subroutines to extract and display 2d alpha shapes and alpha patches from a set of x/y data pointsASLIB returns a structure
MATLAB Code for Interactive Magnification of Customized Regions.
' rectangleFaceColor = 'none' rectangleFaceAlpha = 0 rectangleLineStyle = '-' rectangleLineWidth = 1.2 rectangleInteractionsAllowed = 'none' endFor example, set the line color to red and
Generates Abaqus mesh for 2D mesoscale geometries
of the extrusion of the polygonClasses_diameters: Particles classes diameters vector (descendingly)Alpha: Fuller's curve exponent [0.45-0.5].m: Particles shape distribution factor. m=1 for spheres and
Aggregate packing generator with fibers used for the simulation of aggregate and fibers in composites
Plot_Sieve(Classes,x,y,z,Classes_diameters,Alpha,Particle_ratio)Plots generated sieve curve.3-function Ellipsoids=Particles_Distribution(Classes,x,y,z,er)Generates aggregate with ellipsoids shapes4-function Plot_Ellipsoids(Ellipsoids,x,y,z)Plots ellipsoids5-function
The code works to find the coordinates of final alpha shape
Extracts 2d boundary coordinates from a set of x/y data points based on ashape package in http://www.mathworks.cn/matlabcentral/fileexchange/6760-ashape-a-pedestrian-alpha-shape-extractor.
Aggregate packing generator with fibers used for the simulation of aggregate and fibers in composites
Classes=Particles_Generation(x,y,z,Classes_diameters,Alpha,m,Particle_ratio)Generates aggregates according to Fuller's curve.2-function Plot_Sieve(Classes,x,y,z,Classes_diameters,Alpha,Particle_ratio)Plots generated sieve curve.3-function
This potential flow simulator simulates the flow past bodies of arbitrary shape including airfoils.
This potential flow simulator simulates the flow past bodies of arbitrary shape including airfoils. With this simulator, we can do the following tasks, * Compute and plot the Velocity Vector Plot of
Aggregate 2D packing generator used for the simulation of aggregate in composites
section.Classes_diameters: Particles classes diameters vector (descendingly)Alpha: Fuller's curve exponent [0.45-0.5].m: Particles shape distribution factor. m=1 for circles and m>>1 for elongated ellipses
Highlights automatically importing assay text data, perform basic statistics & visualization
Generates Abaqus mesh for 3D mesoscale geometries
Plot_Sieve(Classes,x,y,z,Classes_diameters,Alpha,Particle_ratio)Plots generated sieve curve.3-function Ellipsoids=Particles_Distribution(Classes,x,y,z,er)Generates aggregate with ellipsoids shapes4-function Plot_Ellipsoids(Ellipsoids,x,y,z)Plots
Aggregate packing generator used for the simulation of aggregate in composites
y=[ymin ymax] is boundaries of the extrusion of the polygonClasses_diameters: Particles classes diameters vector (descendingly)Alpha: Fuller's curve exponent [0.45-0.5].m: Particles shape distribution
Polygonal (radar) plot with mean and standard deviation (or error) values
Function polygonplot plots a kind of radial plot whose shape is a N-polygon, depending on the size of the data. It have also provide users the functionality of plotting a shaded error area if the
Multi-DOF robot manipulator designer and simulator
Planar Cosserat rod
rod2d handle object is used for computation of planar Cosserat rod, i.e. extensible and shearable rod, which is based on the analytical solution given in [1]. The initial shape of the rod can be a
Tests M random samples of N random vars to determine if they are from Inverse Gaussian distbtn.
The app is an implementation of reduced-order modeling of granular intrusion using the Resistive Force Theory with macro-inertial effects
The main features include:1) Intruder shape input: Image or data points(a) A random B/W image can be used as an input for intruder shape (use .png formate). Remember to save the images in the current
Add alpha color for Confidence Interval Plot of Raymond Reynolds (2006)
I add the fifth parameter, alpha, to let user choice of transparency level.[14/06/2017]: the function should return the handle to give control for fill shape.
Betacp of 2D or 3D point set.V = BETAAVOL(x,R) gives the area or volume V of the basic alpha shape
% BetaVOL(x,R,1) plots the Beta shape.%% % 2D Example - C shape% t = linspace(0.6,5.7,500)';% x = 2*[cos(t),sin(t)] + rand(500,2);% subplot(221), Betavol(x,inf,1);% subplot(222
Implementation of Fuzzy Control of Multilayer Backpropagation Neural Network
heuristic solution and depending on the shape of the error surface.The central idea behind the fuzzy control of backpropagation is the implementation of heuristics in the form of fuzzy if then rules. Which is
Finds the feasible region from a set of constant, linear and nonlinear inequalities
,... 'FillColor',[0 .45 .85],... 'FaceAlpha',.9,... 'NodeLabel','S',... 'NodeShape','o',... 'NodeSize',5,... 'NodeColor',[0 0 .75],... 'NodeFontSize',8,... 'DisplayNodes',true
a fully interactive canvas that provides tools to produce professional-looking schematic diagrams.
Plotting functions for fuzzy rose diagrams.
represented as a petal on a circular diagram. The size of each petal is proportional to the size of the corresponding value and the shape of the petal indicates the range of uncertainty. For more details see
Efficient Random Variates Generator (from over 50 distributions).
RANDRAWEFFICIENT RANDOM VARIATES GENERATOR (from over 50 distributions):Alpha, Anglit, Antilognormal,Arcsin,Bernoulli, Bessel
fits different theoretical variograms to an experimental variogram
with different exponents. Supply the exponent alpha (<2) as an additional pn,pv-pair 'stablealpha',alpha (default = 1.5).'matern' -- Matern model. Requires an additional pn,pv pair. 'nu',nu (shape
Beta-binomial probability distribution function.
distribution is used to model the number of successes in n binomial trials when the probability of success p is a Beta(a,b) random variable. The extreme flexibility of the shape of the Beta distribution means
Explores published asteroid shape models and computes asteroid inertial moments and gravitational fields assuming constant density.
This script explores asteroid shape models derived from public data sources. It illustrates methods to download discrete shape models from the web, explores the surface triangulation methods
2D/3D image segmentation using level-set based active contour/surface with AOS scheme