# frei0r-filter-curves

Adjust luminance or color channel intensity with curve level mapping

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──GstVideoFilter
                            ╰──frei0r-filter-curves

## Factory details

Authors: – Sebastian Dröge , Maksim Golovkin, Till Theato

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

### b--zier-spline

    “b--zier-spline” gchararray

Use cubic Bézier spline. Has to be a sorted list of points in the format 'handle1x;handle1y#pointx;pointy#handle2x;handle2y'(pointx = in, pointy = out). Points are separated by a '|'.The values can have 'double' precision. x, y for points should be in the range 0-1. x,y for handles might also be out of this range.

Flags : Read / Write

### channel

    “channel” gdouble

Channel to adjust (0 = red, 0.1 = green, 0.2 = blue, 0.3 = alpha, 0.4 = luma, 0.5 = rgb, 0.6 = hue, 0.7 = saturation)

Flags : Read / Write

Default value : 0.5

### curve-point-number

    “curve-point-number” gdouble

Number of points to use to build curve (/10 to fit [0,1] parameter range). Minimum 2 (0.2), Maximum 5 (0.5). Not relevant for Bézier spline.

Flags : Read / Write

Default value : 0.2

### graph-position

    “graph-position” gdouble

Output image corner where curve graph will be drawn (0.1 = TOP,LEFT; 0.2 = TOP,RIGHT; 0.3 = BOTTOM,LEFT; 0.4 = BOTTOM, RIGHT)

Flags : Read / Write

Default value : 0.3

### luma-formula

    “luma-formula” gboolean

Use Rec. 601 (false) or Rec. 709 (true)

Flags : Read / Write

Default value : true

### point-1-input-value

    “point-1-input-value” gdouble

Point 1 input value

Flags : Read / Write

Default value : 0

### point-1-output-value

    “point-1-output-value” gdouble

Point 1 output value

Flags : Read / Write

Default value : 0

### point-2-input-value

    “point-2-input-value” gdouble

Point 2 input value

Flags : Read / Write

Default value : 1

### point-2-output-value

    “point-2-output-value” gdouble

Point 2 output value

Flags : Read / Write

Default value : 1

### point-3-input-value

    “point-3-input-value” gdouble

Point 3 input value

Flags : Read / Write

Default value : 0

### point-3-output-value

    “point-3-output-value” gdouble

Point 3 output value

Flags : Read / Write

Default value : 0

### point-4-input-value

    “point-4-input-value” gdouble

Point 4 input value

Flags : Read / Write

Default value : 0

### point-4-output-value

    “point-4-output-value” gdouble

Point 4 output value

Flags : Read / Write

Default value : 0

### point-5-input-value

    “point-5-input-value” gdouble

Point 5 input value

Flags : Read / Write

Default value : 0

### point-5-output-value

    “point-5-output-value” gdouble

Point 5 output value

Flags : Read / Write

Default value : 0

### show-curves

    “show-curves” gboolean

Draw curve graph on output image

Flags : Read / Write

Default value : true

The results of the search are