entransunsharp

This filter blurs or sharpens an image depending on the sign of amount. You can either set amount for both luma and chroma or you can set it individually (recommended), which will be the case if chroma-amount provides a valid (amount) value as override. A positive value for amount will sharpen the image, a negative value will blur it. A sane range for amount is -1.5 to 1.5.

The (square) matrix (and possible override chroma-matrix) sizes must be odd and define the range/strength of the effect. Sensible ranges are 3x3 to 7x7.

It sometimes makes sense to sharpen the sharpen the luma and to blur the chroma, for example:

unsharp luma=0.8 matrix=5 chroma_amount=-0.2 chroma_matrix=3

History

  • mplayer unsharp filter [RĂ©mi Guyomarch]
  • Also available in transcode (unsharp filter)

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseTransform
                    ╰──GstVideoFilter
                        ╰──entransunsharp

Factory details

Authors: – Mark Nauwelaerts , Rémi Guyomarch

Classification:Filter/Effect/Video

Rank – none

Plugin – entransmencoder

Package – GStreamer Entrans

Pad Templates

sink

video/x-raw:
         format: { I420, YV12 }
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsink

Object typeGstPad


src

video/x-raw:
         format: { I420, YV12 }
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsrc

Object typeGstPad


Properties

amount

“amount” gdouble

[luma and chroma] (Un)sharpness amount

Flags : Read / Write

Default value : 1


chroma-amount

“chroma-amount” gdouble

[chroma override] (Un)sharpness amount

Flags : Read / Write

Default value : -4


chroma-matrix

“chroma-matrix” guint

[chroma override] Search Matrix Size

Flags : Read / Write

Default value : 0


matrix

“matrix” guint

[luma and chroma] Search Matrix Size

Flags : Read / Write

Default value : 3


The results of the search are