LensBlurEffect.KernelMap Property

An image source representing a kernel map, specifying which kernel should be used on each pixel.

Each pixel either gets blurred with one of the kernels, or is not blurred and considered to be a part of the focus area.

Kernels are referenced via zero-based indices, e.g. the area that is to be blurred with the first kernel should be referred to by 0, the second kernel by the value of 1 and so forth. Pixels in the focus area should be marked with the value 255.

The maximum number of kernels is 250.

Namespace: Lumia.Imaging.Adjustments
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version:

function get_KernelMap();
function set_KernelMap(value);

Property Value

Type: IImageProvider

Lumia Imaging SDK

Supported in: 3.0, 2.0