J-O-Caml, Course Work

Jean-Jacques Lévy ( Tsinghua, November-December 2009 )

Problem set
Part 1 (mandatory): Write the labeling program in Ocaml, following
instructions given during course.

Several inputs can be found in "inputs" directory.

Use the "xpm2bmap" converter to transform a grayscale image in XPM format (X Portable Bitmap) to .bmap format described during the class #4.

Part 2 (facultative):

Try to use collectors of Jocaml to make a concurrent version of the
labeling program in Jocaml.

Solution: label.ml


If further questions, send mail to "jean-jacques.levy@inria.fr"

Course, Tsinghua University, Beijing, 2009