Skip to content

imShapes

dlegland edited this page Aug 24, 2015 · 2 revisions

The imShapes module provides functions for generating binary images representing geometric 2D / 3D shapes (disks, squares, balls, ellipsoids, cylinders...). It requires the matGeom library, as well as the imFilters module.

Its typical usage is to test and validate functions written in the imMeasures, imMinkowski or imGeodesics modules.

Shapes 2D

discretePoints        - discretize a set of points
discreteDisc          - Discretize a disc
discreteEllipse       - Discretize a planar ellipse
discreteSquare        - Discretize a planar square
discreteRectangle     - Discretize a planar rectangle
discreteCapsule       - Create binary image of a planar capsule
discretePolygon       - Discretize a planar polygon
discretePolyline      - Discretize a planar polyline
discreteHalfPlane     - Discretize a half plane
discreteParabola      - Discretize a planar parabola
discreteEgg           - Create a discrete image of egg
discreteStarfish      - Discretize a starfish curve
discreteTrefoil       - Discretize a trefoil curve
discreteCurve         - Discretize a planar curve

Shapes 3D

discreteBall          - Discretize a 3D Ball
discreteHalfBall      - discretize a 3D half-ball
discreteEllipsoid     - discretize a 3D ellipsoid
discreteCuboid        - discretize a 3D cuboid
discreteCube          - discretize a 3D cube
discreteTorus         - Discretize a 3D Torus
discreteCylinder      - Discretize a 3D cylinder
discreteCapsule3d     - Create binary image of a 3D capsule
discreteReuleauxRevol - Discretize the revolution of a Reuleaux triangle

Tessellations

imvoronoi2d           - Generate a 2D voronoi image from a set of points
imvoronoi3d           - generate a 3D voronoi image from a set of points
dilatedVoronoi        - Simulate a 'thick' voronoi tesselation
imAWVoronoi           - generate Additively Weighted Voronoi Diagram image
imPowerDiagram        - Power diagramm of a set of points
Clone this wiki locally