Gimp - 2.4 Guía Del Usuario

Descargar
Página de 653
GNU Image Manipulation Program
538 / 653
This filter uses a ‘displace-map’ to displace corresponding pixels of the image. This filter displaces the content of the specified
drawable (active layer or selection) by the amounts specified in X and Y Displacement multiplied by the intensity of the corre-
sponding pixel in the ’displace map’ drawables.
Both X and Y displace maps should be gray-scale images and have the
same size as the drawable . This filter allows interesting distortion effects.
15.12.3.2
Options
Figure 15.200: Options
Preview Uncheck this option if your processor is slow.
X/Y Displacements When you select one or both options, active layer pixels corresponding to pixels in the displacement map
will be displaced horizontally (X) or/and vertically (Y). Both direction and amount of displacement depend on the intensity
of the corresponding pixels in the displacement map.
The map, which must be a grayscale image, has 256 gray levels (0-255). The (theoretical) average value is 127.5. The
filter displaces image pixels corresponding to pixels with values less than 127.5 (0 to 127) in the map, to the right for X
and downwards for Y. It moves pixels corresponding to pixels with values from 128 to 255 to the left for X and upwards
for Y.
Input boxes ‘X/Y Displacement’ should be called X/Y Displacement Coefficient. What you enter in input boxes, directly or
by using arrow-head buttons, is not the actual displacement. This coefficient is used in a displacement = (intensity x
coefficient) formula which gives the pixel actual displacement according to the scaled intensity
1
of the corresponding pixel
in map, modulated by the coefficient you enter. Introducing intensity into formula is important: this allows progressive
displacement by using a gradient map.
This value varies in limits equal to the double of image dimensions.
This value may be positive or negative. A negative displacement is reverse of a positive one.
Selecting displacement maps When you click on the drop-down list button, a list appears where you can select a displacement
map. To be present in this list, an image must respect two conditions. First, this image must be present on your screen when
you call filter. Then, this image must have the same dimensions as the original image. Most often, it will be a duplicate
original image, which is transformed to grey scale and modified appropriately, with a gradient. It may be possible to use
RGB images, but color luminosity is used making result prevision difficult. Map may be different in horizontal and vertical
directions.
1
Scaled intensity = (intensity - 127.5) / 127.5; see section ‘displacement calculation’.