Re: [Gimp-developer] To consult the algorithm of photocopy filter

Liam R E Quin <[email protected]>
Newsgroups gmane.comp.video.gimp.devel
Message-ID <[email protected]>
On Mon, 2019-07-15 at 10:57 +0800, [email protected] wrote:
> Dear all developers:
>     I want to consult the algorithm details  of photocopy filter in
> photocopy.c, especially the paper or description. I don't understand
> the algorithm although I have read the description in photocopy.c.
>     Thank you.

Note, this is a gegl fillter; i don't know if there is a specific
paper.

it looks like it does (more or less)

(1) make two blurred copies of the input with different radii
(2) use these to make a histogram to count values & determing a
threshhold
(3) for each input pixel, if the corresponding blurred value is less
than the computed threshold, make it black (0 value) else make it
brighter.

Liam (slave ankh)


-- 
Liam Quin - web slave for https://www.fromoldbooks.org/
with fabulous vintage art and fascinating texts to read.
Click here to have the slave beaten.

_______________________________________________
gimp-developer-list mailing list
List address:    [email protected]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.