Next Previous Table of Contents


Mapping Colors and Flood Fill

These tools work like in other pixmap editors, so no explanation should be necessary. However in addition you may specify threshholds in order to determine which pixels are considered equivalent. The sliders for color, brightness and saturation tolerance refer to the HSV color model which is described below.

The adaptive option of the flood fill tool means, that each pixel is compared with the pixel which was touched before, whereas in normal mode each pixel is compared to the pixel where the flood fill started.

Backgrounds can easily removed using the flood fill function (in erase drawing mode) by specifying high tolerances. Example:

[Example image] Original

[Example image] Background removed using flood fill.

Using the mapping colors tool would also have removed some pixels inside the face.

Probably you will need some experiments in order to get a

Colorspaces

There are several whidely used coordinate systems to describe colors numerically. Babygimp uses the RGB color model and the HSV color model.

The RGB colorspace is quite obvious, it means that each color is described by a triple of numbers which contain the red, green and blue components of the color. It is used in the when you mix colors through the sliders in the color selection frame.

In HSV (Hue/Saturation/Value) colorspace each color is given by a triplet (H, S, V):

H (Hue), running from 0 to 360, describes the color tone (imagine the primary colors red, green, blue put equidistant on a circle and the mixed colors between; then H is just the angle between a color and red).

V (value) runs from 0 to 1; it describes the brightness.

S (saturation) also runs from 0 to 1; 1 - S is the amount of white contained in a color (white has saturation 0).

The following is not totallay exact but may give you some intuition of the HSV color modell.

[skretch of the HSV color model


Next Previous Table of Contents