[gstreamer-bugs] [Bug 635646] New: [opencv] Add cvcalchist element for calculating histogram [PATCH]
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Nov 23 13:44:13 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=635646
GStreamer | gst-plugins-bad | unspecified
Summary: [opencv] Add cvcalchist element for calculating
histogram [PATCH]
Classification: Desktop
Product: GStreamer
Version: unspecified
OS/Version: All
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: josh at joshdoe.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Created an attachment (id=175134)
--> (https://bugzilla.gnome.org/attachment.cgi?id=175134)
Patch to add cvcalchist
Added the element cvcalchist which wraps the OpenCV function cvCalcHist. Only
8- and 16-bit monochrome video is supported at this time. By default the
element will not alter the data, but if "draw-histogram" is true, then a crude
histogram will be drawn over the image.
I've included a test program under tests/examples/opencv that draws a text
histogram to the console using the "histogram" message.
Please review the patch, as I'm sure there are some issues. I wasn't sure of a
nice way to handle RGB histograms, especially in terms of how to package the
data in a message, so I left that alone for the time being. Also note I'm
developed this under Windows, but hopefully I've modified the Makefiles
appropriately.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list