Now let's try processing two images at once.
Morphing is a term used, in the context of images, for a process of gradually turning one image into another. Typically this is done by implementing some sort of interpolation process between "corresponding" pixels in each image. The main challenge is to identify pairs of correspoinding pixels, and there are available lots of open source morphing programs that use edge detection or ask for user input to help identify corresponding pixels. You don't need to do anything quite so extravagant for this lab: you can simply assume that the pixel at (x0, y0) in one image corresponds to the pixel at (x0, y0) in the second image.
Again in the spirit of last week's lab I have "borrowed" some code.
You can "borrow" it too by downloading from javaboutique.
Thanks to Gedare Bloom for suggestions on improving this lab