## pyramidsegment pyramidsegment — Applies pyramid segmentation to a video or image. |

## Synopsis

    struct              GstPinch;
    struct              Gstpyramidsegment;

## Properties

      "level"                    gint                  : Read / Write
      "silent"                   gboolean              : Read / Write
      "threshold1"               gdouble               : Read / Write
      "threshold2"               gdouble               : Read / Write

## Description

FIXME:Describe pyramidsegment here.

### Example launch line

    1
    gst-launch -v -m fakesrc ! pyramidsegment ! fakesink silent=TRUE

## Synopsis

### Element Information

plugin | opencv
author | Michael Sheldon <mike@mikeasoft.com>
class | Filter/Effect/Video

### Element Pads

name | sink
direction | sink
presence | always
details | video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

name | src
direction | source
presence | always
details | video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

## Details

### struct GstPinch

    struct GstPinch;

### struct Gstpyramidsegment

    struct Gstpyramidsegment {
      GstElement element;

      GstPad *sinkpad, *srcpad;

      gboolean silent;

      IplImage *cvImage, *cvSegmentedImage;

      CvMemStorage *storage;

      CvSeq *comp;

      double threshold1, threshold2;

      int level;
    };

## Property Details

### The `"level"` property

      "level"                    gint                  : Read / Write

Maximum level of the pyramid segmentation.

Allowed values: [0,4]

Default value: 4

### The `"silent"` property

      "silent"                   gboolean              : Read / Write

Produce verbose output ?.

Default value: FALSE

### The `"threshold1"` property

      "threshold1"               gdouble               : Read / Write

Error threshold for establishing links.

Allowed values: [0,1000]

Default value: 50

### The `"threshold2"` property

      "threshold2"               gdouble               : Read / Write

Error threshold for segment clustering.

Allowed values: [0,1000]

Default value: 60