# frei0r-filter-light-graffiti

Creates light graffitis from a video by keeping the brightest spots.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──GstVideoFilter
                            ╰──frei0r-filter-light-graffiti

## Factory details

Authors: – Sebastian Dröge <sebastian.droege>, Simon A. Eugster (Granjow)</sebastian.droege>

Classification: – `Filter/Effect/Video`

Rank – none

Plugin – frei0r

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: RGBA
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw:
             format: RGBA
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### backgroundweight

    “backgroundweight” gdouble

Describes how strong the (accumulated) background should shine through

Flags : Read / Write

Default value : 0

### blackreference

    “blackreference” gboolean

Uses black as background image instead of the first frame.

Flags : Read / Write

Default value : false

### dim

    “dim” gdouble

Dimming of the light mask

Flags : Read / Write

Default value : 0

### longalpha

    “longalpha” gdouble

Alpha value for moving average

Flags : Read / Write

Default value : 0

### loweroverexposure

    “loweroverexposure” gdouble

Prevents some overexposure if the light source stays steady too long (varying speed)

Flags : Read / Write

Default value : 0

### nonlineardim

    “nonlineardim” gboolean

Nonlinear dimming (may look more natural)

Flags : Read / Write

Default value : false

### reset

    “reset” gboolean

Reset filter masks

Flags : Read / Write

Default value : false

### saturation

    “saturation” gdouble

Saturation of lights

Flags : Read / Write

Default value : 0.25

### sensitivity

    “sensitivity” gdouble

Sensitivity of the effect for light (higher sensitivity will lead to brighter lights)

Flags : Read / Write

Default value : 0.2

### statsbrightness

    “statsbrightness” gboolean

Display the brightness and threshold, for adjusting the brightness threshold parameter

Flags : Read / Write

Default value : false

### statsdifference

    “statsdifference” gboolean

Display the background difference and threshold

Flags : Read / Write

Default value : true

### statsdiffsum

    “statsdiffsum” gboolean

Display the sum of the background difference and the threshold

Flags : Read / Write

Default value : false

### thresholdbrightness

    “thresholdbrightness” gdouble

Brightness threshold to distinguish between foreground and background

Flags : Read / Write

Default value : 0.588235

### thresholddifference

    “thresholddifference” gdouble

Threshold: Difference to background to distinguish between fore- and background

Flags : Read / Write

Default value : 0

### thresholddiffsum

    “thresholddiffsum” gdouble

Threshold for sum of differences. Can in most cases be ignored (set to 0).

Flags : Read / Write

Default value : 0

### transparentbackground

    “transparentbackground” gboolean

Make the background transparent

Flags : Read / Write

Default value : false

The results of the search are