GNOME Bugzilla – Bug 748994
videofilters: Add plugin for pseudo-color effect
Last modified: 2018-11-03 13:35:02 UTC
Add a new plugin for pseudo-color effect. http://en.wikipedia.org/wiki/False_color#Pseudocolor This plugin takes Gray scale image as input and adds color to it based on hue, saturation properties (HSL to RGB). And produces RGB output. Although videobalance element can adjust hue/saturation of an image, it doesn't add color to a gray scale image.
Created attachment 302957 [details] [review] pseudo-color plugin Patch attached for propsed plugin. Please review.
ping
Hey! Not bad, but there are a few things I'd mention. Firstly, this is not strictly pseudo-color mapping, but rather "colorise" effect. For pseudo-color effect the applied color (hue/value) should be dependent on the value of input pixel (i.e., different colors for different shades of grey). Secondly, I believe processing in YUV colourspace would be more efficient, as grey plane (Y) can be retained unmodified, and colour planes (UV) can be simply appended to the GstBuffer.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/249.