CAP 6416 Sec. 0843X

Computers and Vision

Project 1

Due 28 September 1994

Write a program employing the iac++ library to carry out the region filling algorithm as described on pg. 532 of Gonzalez and Woods.

An example image contains an object's boundary. It is suitable for reading as an image of type IA_Image<IA_Point<int>,IA_Bit>.

Your program should take such a boundary image from the file named "in.pbm" and read (from cin) the integer x and y coordinates of the seed point for the region filling algorithm.

It should write to standard output, the IA_Image<IA_Point<int>, IA_Bit> image that is the result of carrying out the region filling algorithm upon the image and the point.


This document is copyright 1994 by Joseph N. Wilson.
$Id: 1.html,v 1.1 1994/09/21 18:46:28 jnw Exp jnw $