Bloom Filter

Filter

RIF_IMAGE_FILTER_BLOOM

Description

One of the filters that help reproduce real-world camera effects. Produces fringes (or feathers) of light extending from the borders of bright areas in an image, contributing to the illusion of an extremely bright light overwhelming the camera or eye capturing the scene.

Parameters

Parameter

Type

Input/Output

Description

radius

float

input

Filter radius (relative to image dimensions). Actual radius in pixels is calculated in kernel as radius_in_pixels = image_width * radius.
Value range is [0.01, 1], default value is 0.1.

threshold

float

input

Pixels with values below that wouldn’t be taken into account.
Default value is 0.

weight

float

input

Area sum is multiplied by the weight value.
Default value is 0.1.

decay

float

input

Light intensity decay, default value is 1 (no decay).