maple_area, a MATLAB code which estimates the area of a maple leaf using an image.
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.
The MAPLE_BOUNDARY functions used various MATLAB procedures to turn the maple leaf image into a polygonal curve definining the boundary. The functions in MAPLE_AREA use various sampling techniques to estimate the area of the maple leaf.
The information on this web page is distributed under the MIT license.
maple_area is available in a MATLAB version and an Octave version.
convhull_test, a MATLAB code which demonstrates the computation of the convex hull of a set of 2D points.
florida_cvt_geo, a MATLAB code which creates a centroidal Voronoi Tessellation (CVT) of the state of Florida, based solely on geometric considerations.
florida_cvt_pop, a MATLAB code which creates a centroidal Voronoi Tessellation (CVT) of the state of Florida, based on population density.
hand, a MATLAB code which carries out some numerical exercises based on data that came from tracing several points on a hand.
hand_area, a MATLAB code which estimates the area of a curve which outlines a person's hand.
hand_mesh2d, a MATLAB 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.
maple_boundary, a MATLAB code which reads an image of a maple leaf and extracts the list of pixels that form the boundary.
polygon, a dataset directory which contains examples of polygons.
triangulate, a MATLAB code which triangulates a polygonal region.