edgedetect

edgedetect — Performs canny edge detection on videos and images.

Synopsis

                    Gstedgedetect;

Properties

  "aperture"                 gint                  : Read / Write
  "mask"                     gboolean              : Read / Write
  "threshold1"               gint                  : Read / Write
  "threshold2"               gint                  : Read / Write

Description

FIXME:Describe edgedetect here.

Example launch line

gst-launch-0.10 videotestsrc ! decodebin ! ffmpegcolorspace ! edgedetect ! ffmpegcolorspace ! xvimagesink

Details

Gstedgedetect

typedef struct {
  GstElement element;

  GstPad *sinkpad, *srcpad;

  gboolean mask;

  int threshold1, threshold2, aperture;

  IplImage *cvEdge, *cvGray, *cvImage, *cvCEdge;
} Gstedgedetect;

Property Details

The "aperture" property

  "aperture"                 gint                  : Read / Write

Aperture size for Sobel operator (Must be either 3, 5 or 7.

Allowed values: [3,7]

Default value: 3


The "mask" property

  "mask"                     gboolean              : Read / Write

Sets whether the detected edges should be used as a mask on the original input or not.

Default value: TRUE


The "threshold1" property

  "threshold1"               gint                  : Read / Write

Threshold value for canny edge detection.

Allowed values: [0,1000]

Default value: 50


The "threshold2" property

  "threshold2"               gint                  : Read / Write

Second threshold value for canny edge detection.

Allowed values: [0,1000]

Default value: 150