maple_boundary, an Octave code which takes an image of a maple leaf and determines the pixels that form the boundary.
For a discussion of quasirandom sampling, Brian Hayes published a picture of a maple leaf and considered how its area could be estimated using a regular grid of points, random sampling, or quasirandom sampling.
For various reasons, it will be interesting to have a copy of this maple leaf image accessible. The MAPLE_BOUNDARY functions use various MATLAB procedures to turn the maple leaf image into a polygonal curve definining the boundary, following which various calculations may be made.
The information on this web page is distributed under the MIT license.
maple_boundary is available in a MATLAB version and an Octave version.
convhull_test, an Octave code which demonstrates the computation of the convex hull of a set of 2D points.
florida_cvt_geo, an Octave code which creates a centroidal Voronoi Tessellation (CVT) of the state of Florida, based solely on geometric considerations.
florida_cvt_pop, an Octave code which creates a centroidal Voronoi Tessellation (CVT) of the state of Florida, based on population density.
hand_area, an Octave code which estimates the area of a curve which outlines a person's hand.
hand_data, an Octave code which carries out some numerical exercises based on data that came from tracing several points on a person's hand.
hand_mesh2d, an Octave code which reads in points which outline a human hand, and calls mesh2d(), which creates a fine triangular mesh of the region outlined by the points.
human_data, an Octave code which starts with an image of simple outline of a human body, tabulates a sequence of points on the outline, creating numerical data defining the boundary. It is then able to fill the region with mesh points and triangulate the region. This allows the region to be analyzed by the finite element method (FEM).
maple_area, an Octave code which takes the list of pixels that form the boundary of the image of a maple leaf within a picture, and uses grid, Monte Carlo, and Quasi Monte Carlo sampling to estimate the area of the leaf.
mesh_boundary, an Octave code which is given a mesh of a 2D region, formed by polygonal elements, and determines a sequence of pairs of polygonal vertices that define the boundary of the region.
triangulate, an Octave code which triangulates a polygonal region.