# frei0r-filter-kaleid0sc0pe

Applies a kaleid0sc0pe effect

## Hierarchy

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

## Factory details

Authors: – Sebastian Dröge , Brendan Hack

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

### bg-alpha

    “bg-alpha” gdouble

alpha to use if reflection lies outside of source image and not reflecting back in. default 1

Flags : Read / Write

Default value : 1

### bg-color-b

    “bg-color-b” gfloat

colour to use if reflection lies outside of source image and not reflecting back in. default 1,0,1

Flags : Read / Write

Default value : 1

### bg-color-g

    “bg-color-g” gfloat

colour to use if reflection lies outside of source image and not reflecting back in. default 1,0,1

Flags : Read / Write

Default value : 0

### bg-color-r

    “bg-color-r” gfloat

colour to use if reflection lies outside of source image and not reflecting back in. default 1,0,1

Flags : Read / Write

Default value : 1

### corner-search

    “corner-search” gboolean

if true search clockwise for furthest corner, otherwise counter clockwise

Flags : Read / Write

Default value : false

### edge-threshold

    “edge-threshold” gdouble

edge threshold / 4, reflections outside the image but within this distance clamp to the edge. default 0

Flags : Read / Write

Default value : 0

### multithreaded

    “multithreaded” gboolean

set to true to enable multithreaded calculation. default true

Flags : Read / Write

Default value : false

### n-threads

    “n-threads” gdouble

the number of threads to use, if 0 then autocalculate otherwise value * 32. default 0

Flags : Read / Write

Default value : 0

### origin-x

    “origin-x” gdouble

origin of the kaleid0sc0pe in x. default 0.5

Flags : Read / Write

Default value : 0.5

### origin-y

    “origin-y” gdouble

origin of the kaleid0sc0pe in y. default 0.5

Flags : Read / Write

Default value : 0.5

### preferred-corner

    “preferred-corner” gdouble

preferred corner, 0 is top right, 0.25 top left, 0.5 bottom left, 0.75 bottom right

Flags : Read / Write

Default value : 0

### reflect-edges

    “reflect-edges” gboolean

if true then reflections that end up outside the source reflect back into it, otherwise the specified background colour is used.

Flags : Read / Write

Default value : false

### segmentation

    “segmentation” gdouble

kaleid0sc0pe segmentation / 128, segmentations of 1, 2 or multiples of 4 work best. default 16/128

Flags : Read / Write

Default value : 0.125

### segmentation-direction

    “segmentation-direction” gdouble

segmentation direction, < 1/3 is none, < 2/3 is counter clockwise, otherwise clockwise

Flags : Read / Write

Default value : 1

### source-segment

    “source-segment” gdouble

centre of source segment if specify_source is true. 0 is in +x and rotates counter clockwise

Flags : Read / Write

Default value : 0

### specify-source

    “specify-source” gboolean

if true then source angle is read from source_segment, otherwise auto-calculated

Flags : Read / Write

Default value : false

The results of the search are