cvsmooth

Smooths the image using thes cvSmooth OpenCV function.

Example launch line

 gst-launch-1.0 videotestsrc ! cvsmooth ! videoconvert ! autovideosink

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseTransform
                    ╰──GstVideoFilter
                        ╰──GstOpencvVideoFilter
                            ╰──cvsmooth

Factory details

Authors: – Thiago Santos

Classification:Transform/Effect/Video

Rank – none

Plugin – opencv

Package – GStreamer Bad Plug-ins

Pad Templates

sink

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

Presencealways

Directionsink

Object typeGstPad


src

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

Presencealways

Directionsrc

Object typeGstPad


Properties

color

“color” gdouble

If type is gaussian, this means the standard deviation.If type is bilateral, this means the color-sigma. If zero, Default values are used.

Flags : Read / Write

Default value : 0


height

“height” gint

Height of the area to blur (in pixels).

Flags : Read / Write

Default value : 2147483647


kernel-height

“kernel-height” gint

The gaussian kernel height (must be positive and odd).

Flags : Read / Write

Default value : 3


kernel-width

“kernel-width” gint

The gaussian kernel width (must be positive and odd).If type is median, this means the aperture linear size.Check OpenCV docs: http://docs.opencv.org/2.4/modules/imgproc/doc/filtering.htm

Flags : Read / Write

Default value : 3


position-x

“position-x” gint

Starting x position for blur (in pixels).

Flags : Read / Write

Default value : 0


position-y

“position-y” gint

Starting y position for blur (in pixels).

Flags : Read / Write

Default value : 0


spatial

“spatial” gdouble

Only used in bilateral type, means the spatial-sigma.

Flags : Read / Write

Default value : 0


type

“type” Cv-smooth-type-type *

Smooth Type

Flags : Read / Write

Default value : gaussian (2)


width

“width” gint

Width of the area to blur (in pixels).

Flags : Read / Write

Default value : 2147483647


Named constants

Cv-smooth-type-type

Members

blur (1) – CV Blur
gaussian (2) – CV Gaussian
median (3) – CV Median
bilateral (4) – CV Bilateral

The results of the search are