HAND_DATA Numerical Exercises Using the Shape of a Hand

HAND_DATA, MATLAB programs which carry out some numerical exercises based on data that came from tracing several points on a person's hand.

The original proposer of this exercise was Cleve Moler, in the textbook Numerical Computing with MATLAB.

Languages:

HAND_DATA is available in a MATLAB version.

Related Data and Programs:

CONVEX_HULL, a MATLAB program which demonstrates the computation of the convex hull of a set of 2D points.

HAND_AREA, a MATLAB program which estimates the area of a curve which outlines a person's hand.

MAPLE_AREA, a MATLAB library 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.

MAPLE_BOUNDARY, a MATLAB library which reads an image of a maple leaf and extracts the list of pixels that form the boundary.

MESH2D_HAND, a MATLAB program which reads in a set of 59 points which outline a human hand, and calls MESH2D, which is able to create a fine triangular mesh of the region outlined by the points.

POLYGON, a dataset directory which contains examples of polygons.

TRIANGULATE, a MATLAB program which triangulates a polygonal region.

Reference:

• Cleve Moler,
Numerical Computing with MATLAB,
SIAM, 2004,
ISBN13: 978-0-898716-60-3,
LC: QA297.M625.

Source Code:

• hand_acquire.m guides a user through the steps of recording hand data from the screen.
• hand_plot.m plots the hand data after it has been acquired.

Examples and Tests:

The CONVEX_HULL program demonstrates how the computation of the convex hull of the hand data.

The SPLINE program demonstrates how the X and Y hand data can be used to generate smooth spline functions X(T), Y(T) which can be plotted to yield a smooth looking curve.

The TRANSFORMATION programs demonstrate linear transformations applied to the hand data.

The TRIANGULATE program can be used to triangulate the hand.

You can go up one level to the MATLAB source codes.

Last revised on 18 April 2011.