maple_area


maple_area, a MATLAB code which uses several approaches to estimate 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.

Licensing:

The computer code and data files made available on this web page are distributed under the GNU LGPL license.

Languages:

maple_area is available in a MATLAB version.

Related Data and Programs:

convex_hull, a MATLAB code which demonstrates the computation of the convex hull of a set of 2D points.

florida_cvt_geo, MATLAB codes which explore the creation of a centroidal Voronoi Tessellation (CVT) of the state of Florida, based solely on geometric considerations.

florida_cvt_pop, MATLAB codes which explore the creation of a centroidal Voronoi Tessellation (CVT) of the state of Florida, based on population density.

hand_area, a MATLAB code which estimates the area of a curve which outlines a person's hand.

hand_data, MATLAB codes which carry out some numerical exercises based on data that came from tracing several points on 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_area_test

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.

Reference:

Source Code:


Last revised on 14 October 2019.