# frei0r-filter-k-means-clustering

Clusters of a source image by color and spatial distance

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──GstVideoFilter
                            ╰──frei0r-filter-k-means-clustering

## Factory details

Authors: – Sebastian Dröge , binarymillenium

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

### dist-weight

    “dist-weight” gdouble

The weight on distance

Flags : Read / Write

Default value : 0.5

### num

    “num” gdouble

The number of clusters

Flags : Read / Write

Default value : 0.5

The results of the search are