Writte and copyright by Thomas Haenselmann under
the terms of the GNU GPL 2.0
Compilation / Installation
to compile the software from the sources. You will need the
- libSDL (www.libsdl.org) and its extension
Both packets are likely included in your linux distribution. Take care that you also install the headers. Then compile with
Use of software
Start with ./generic image.png
whereas image can e.g., be of the format PNG, JPG, BMP.
MIDDLE MOUSE BUTTON
Before starting the segmentation, click into the middle of the object to be segmented using the middle mouse button. If your object is none-convex, you may want to click into different parts of the object's interior during the segmentation.
LEFT MOUSE BUTTON
With the left mouse button you can then start the segmentation by drawing along the object's silhouette.
RIGHT MOUSE BUTTON
Manually drawing the alpha matte can be done with the right button. If your brush (the brush is not displayed) comes from an opaque area of the image, it will draw with an opaque alpha value, if you start the brush in a transparent area, it will continue to draw transparently.
CHANGE BRUSH SIZE
Using the keys '1' - '4' changes the size of the brush.
Use 'b' key to toggle the background between the checkerboard pattern, white and the alpha-channel itself. Displaying the alpha-channel is helpful for brushing up the final result.
Quite program with 'q'.