Please download the following material for the Workshop "Advanced Programming with ImgLib2" (at the ImageJ User and Developer Conference 2012).
The zip file contains an Eclipse project with all example code and images.
The pdf slides of the workshop presentation are also included in the zip file.
Just unzip it in your Eclipse workspace. In Eclipse choose "File->Import..." in the main menu. This brings up the following dialog. Choose "Existing Projects into Workspace" and click "Next".
Browse to the location of the unzipped directory.
Click "Finish". You're done.