11.13. Van Gogh (LIC)

11.13.1. Overview

Рисунок 17.230. From left to right: original image, map, resulting image

From left to right: original image, map, resulting image

Map has three stripes: a solid black area, a vertical gradient area, a solid white area. One can see, on the resulting image, that image zones corresponding to solid areas of the map, are not blurred. Only the image zone corresponding to the gradient area of the map is blurred.


«LIC» stands for Line Integral Convolution, a mathematical method. This filter is used to apply a directional blur to an image, or to create textures. It could be called «Astigmatism» as it blurs certain directions in the image.

It uses a blur map. Unlike other maps, this filter doesn't use gray levels of this blur map. Filter takes in account only gradient direction(s). Image pixels corresponding to solid areas of the map are ignored.

11.13.2. Activating the Filter

This filter is found in the main menu under FiltersArtisticVan Gogh (LIC)….

11.13.3. Options

Рисунок 17.231. «Van Gogh (LIC)» filter options

«Van Gogh (LIC)» filter options

[Підказка] Підказка
  • To create a blur, check With Source Image. Only Filter Length slider and perhaps Integration Steps slider, are useful.

  • To create a texture, check With White Noise. All sliders can be useful.

Effect Channel

By selecting Hue, Saturation or Brightness (=Value), filter will use this channel to treat image.

Effect Operator

The «Derivative» option reverses «Gradient » direction:

Рисунок 17.232. Derivative option example

Derivative option example

Using a square gradient map, Effect operator is on «Gradient» on the left, on «Derivative» on the right: what was sharp is blurred and conversely.


Convolve

You can use two types of convolution. That's the first parameter you have to set:

With white noise

White noise is an acoustics name. It's a noise where all frequencies have the same amplitude. Here, this option is used to create patterns.

With source image

The source image will be blurred.

Effect image

That's the map for blur or pattern direction. This map must have the same dimensions as the original image. It must be preferably a grayscale image. It must be present on your screen when you call filter so that you can choose it in the drop-list.

Рисунок 17.233. Blurring with vertical gradient map

Blurring with vertical gradient map

With a vertical gradient map, vertical lines are blurred.


Рисунок 17.234. Blurring with a square gradient map

Blurring with a square gradient map

The gradient map is divided into four gradient triangles: each of them has its own gradient direction. In every area of the image corresponding to gradient triangles, only lines with the same direction as gradient are blurred.


Рисунок 17.235. Texture example

Texture example

The «With white noise» option is checked. Others are default. With a vertical gradient map, texture «fibres» are going horizontally.


Filter length

When applying blur, this option controls how important blur is. When creating a texture, it controls how rough texture is: low values result in smooth surface; high values in rough surface.

Рисунок 17.236. Action example of Filter Length on blur

Action example of Filter Length on blur

On the left: a vertical line, one pixel wide (zoom 800%). On the right: the same line, after applying a vertical blur with a Filter Length to 3. You can see that blur width is 6 pixels, 3 pixels on both sides.


Рисунок 17.237. Filter Length example on texture

Filter Length example on texture

On the left: a texture with Filter Length=3. On the right, the same texture with Filter Length=24.


Noise magnitude

This options controls the amount and size of White Noise. Low values produce finely grained surfaces. High values produce coarse-grained textures.

Рисунок 17.238. Action example of Noise Magnitude on texture

Action example of Noise Magnitude on texture

Noise magnitude = 4


Integration steps

This options controls the influence of gradient map on texture.

Рисунок 17.239. Action example of Integration Steps on texture

Action example of Integration Steps on texture

On the left: Integration Steps = 2. On the right: Integration Steps = 4.


Minimum value, Maximum value

Both values determine a range controlling texture contrast: shrunk range results in high contrast and enlarged range results in low contrast.

Рисунок 17.240. Action example of min/max values on texture

Action example of min/max values on texture

Minimum value = -4.0. Maximum value = 5.0.