We have several ways to access, process, and display images in the course. The main starting points are listed below.
You add the functions by creating executable programs in your directory. These functions are called by each button. You should assume that the input image for your executable is the image displayed in the viewer, and is accessable from a temporary file tmp00.img. You should also put your output into the same temporary file, tmp00.img. This file will then be displayed by the viewer.