[Bug 788567] opencv: Add support for blurring portion of image

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Oct 9 16:15:22 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=788567

--- Comment #1 from Michał Górny <mgorny at gentoo.org> ---
Created attachment 361195
  --> https://bugzilla.gnome.org/attachment.cgi?id=361195&action=edit
0001-opencv-Support-smoothing-only-part-of-the-image.patch

Here's my initial patch. To my surprise, it works ;-).

It adds four new properties: position-x, position-y, size-x, size-y (names
stolen from frei0r alphaspot plugin). They are all double in range 0..1 to
easily account for different image sizes, with 1.0 corresponding to the image
width/height.

For example, to blur a square in the middle of the image, you'd set:

  position-x = 0.25
  position-y = 0.25
  size-x = 0.5
  size-y = 0.5

-- 
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