Reduce to 2 colors only (black+white) based on threshhold (x-raw GRAY8 format)?

Josh Doe josh at joshdoe.com
Mon Nov 20 13:04:56 UTC 2017


On Sat, Nov 18, 2017 at 3:52 PM, HermannSW <hermann at stamm-wilbrandt.de>
wrote:

> Is there is a plugin for allowing black+white(threshold) conversion, or do
> I
> need to code a new plugin for that?
>

What first comes to mind is OpenCV. I don't see a threshold element there,
but you could easily make one by taking one of the existing elements like
cvsobel and modifying it just a bit to get what you want.

What I'd rather see is a GEGL-based plugin. (GEGL is a filter engine not
unlike GStreamer which is used by GIMP and other programs.) GEGL already
has thresholding. There's an old patch (for 0.10) that hasn't seen any
attention recently:
https://bugzilla.gnome.org/show_bug.cgi?id=650750

-Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171120/2fd5ba17/attachment-0001.html>


More information about the gstreamer-devel mailing list