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

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

On Sat, Nov 18, 2017 at 3:52 PM, HermannSW <hermann at>

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list