[PATCH] New histogram plugin for GRAY8 images
Submitted by Dimitrios Katsaros
Link to original bug (#744001)
Description
This patchset creates a new histogram element for calculating histogram
metadata from a video stream. The plugin provides 2 elements:
vhist: An element for extracting histogram data from a stream. It can take
a single parameter, called "binno" for defining the number of bins. This
component calculates the histogram data for the provided image and adds it
to the pipeline using the gstmeta subsystem.
drawhist: A visualizer of the calculated metadata. Requires that metadata
be appended to the stream. The resulting output is a GREY8 image of the
histogram.
To test the plugin, the following pipeline can be used:
gst-launch-1.0 videotestsrc ! vhist binno=5 ! drawhist ! videoconvert ! ximagesink
Version: 1.4.5