GStreamer Noise Reduction Element

From RidgeRun Developer Connection
Jump to: navigation, search



Previous: GStreamer Plugins/Motion Detection Index Next: GStreamer Plugins/CPU Blob Detector



Nvidia-preferred-partner-badge-rgb-for-screen.png




The GStreamer element is called "rrnoisereduction". This element performs the noise reduction stage, described in the Overview section. This element receives as input a bit mask in GRAY8 format and outputs a GRAY8 bitmask.


Main Properties

  • Size: The size of the gaussian filter. By default it is “3”, which is the default size of the kernel. Must be an odd number and also an integer.
  • Threshold: The threshold limit for the image binarization. By default it is “128”,so the algorithm only takes into account the pixels between 128 and 255. Must be an integer.

Capabilities

This section overviews the Noise Reduction input and output capabilities.

Below is the full output of the gst-inspect-1.0 command:


Factory Details:
  Rank                     none (0)
  Long-name                GstCUDA OpenCV Noise Reduction
  Klass                    Transform/Effect/Video
  Description              Applies a gaussian filter with thresholding to reduce image noise
  Author                   Melissa Montero <melissa.montero@ridgerun.com>

Plugin Details:
  Name                     rrmotiondetection
  Description              Motion detection components based on OpenCV
  Filename                 /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstrrmotiondetection.so
  Version                  0.1.1
  License                  Proprietary
  Source module            gstrrmotiondetection
  Binary package           gstrrmotiondetection
  Origin URL               www.ridgerun.com

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseTransform
                         +----GstCudaBaseFilter
                               +----GstRrNoiseReduction

Pad Templates:
  SRC template: 'src'
    Availability: Always
    Capabilities:
      video/x-raw
                 format: GRAY8
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
              framerate: [ 0/1, 2147483647/1 ]
  
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      video/x-raw
                 format: GRAY8
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
              framerate: [ 0/1, 2147483647/1 ]

Element has no clocking capabilities.
Element has no URI handling capabilities.

Pads:
  SINK: 'sink'
    Pad Template: 'sink'
  SRC: 'src'
    Pad Template: 'src'

Element Properties:
  name                : The name of the object
                        flags: readable, writable
                        String. Default: "rrnoisereduction0"
  parent              : The parent of the object
                        flags: readable, writable
                        Object of type "GstObject"
  qos                 : Handle Quality-of-Service events
                        flags: readable, writable
                        Boolean. Default: false
  size                : The size of the gaussian filter. Must be odd.
                        flags: readable, writable
                        Integer. Range: 1 - 2147483647 Default: 9 
  threshold           : The threshold limit for the image binarization
                        flags: readable, writable
                        Integer. Range: 1 - 255 Default: 128


Previous: GStreamer Plugins/Motion Detection Index Next: GStreamer Plugins/CPU Blob Detector