Code segments and functions


Here are a set of programs (in C) that are provided to you for your programming projects. Each of these is a complete programs which run independently to demonstrate the usage of the functions. You can extract the relevant segments and functions to be used in your own code.

In particular, as an example, a template image processing program (in C) is provided (first item below) to demonstrate how to input, process and out an image in Unix/Linux environment. You may need to modify the code if you prefer to use other operating system.