msharpen

msharpen — Performs sharpening limited to edge areas of the frame

Synopsis

struct              GstMsharpen;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstBaseTransform
                           +----GstVideoFilter
                                 +----GstMsharpen

Properties

  "highq"                    gboolean              : Read / Write
  "mask"                     gboolean              : Read / Write
  "strength"                 guint                 : Read / Write
  "threshold"                guint                 : Read / Write

Description

History

This elements implements an unusual concept in spatial sharpening. Although designed specifically for anime, it also works well with normal video. The filter is very effective at sharpening important edges without amplifying noise.

  • strength indicates the strength of the sharpening to be applied to the edge detail areas. It is applied only to the edge detail areas as determined by threshold.

  • threshold indicates how close a pixel must be to the brightest or dimmest pixel to be mapped. This determines what is detected as edge detail and thus sharpened. To see what edge detail areas will be sharpened, use mask.

  • If mask is set to true, the areas to be sharpened are shown in white against a black background. Use this to set the level of detail to be sharpened. This function also makes a basic edge detection filter.

  • highq lets you tradeoff speed for quality of detail detection. Set it to true for the best detail detection. Set it to false for maximum speed.

  • VirtualDub msharpen filter [Donald A. Graft]
  • Also available in transcode (msharpen filter)
  • Also available in avidemux (MSharpen)

Element Information

plugin

virtualdub

author

Mark Nauwelaerts <mnauw@users.sourceforge.net>, Donald A. Graft

class

Filter/Effect/Video

Details

struct GstMsharpen

struct GstMsharpen;

Property Details

The "highq" property

  "highq"                    gboolean              : Read / Write

Tradoff speed for quality detection.

Default value: TRUE


The "mask" property

  "mask"                     gboolean              : Read / Write

Show areas to be sharpened in white (basic edge detector).

Default value: FALSE


The "strength" property

  "strength"                 guint                 : Read / Write

Strength/weight of modification of a mapped pixel.

Allowed values: <= 256

Default value: 100


The "threshold" property

  "threshold"                guint                 : Read / Write

Threshold for pixel to be mapped.

Allowed values: <= 256

Default value: 10