Sign up now! · Forgot password?
RSS/Atom feed Twitter

To consult the algorithm of photocopy filter

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

To consult the algorithm of photocopy filter luming@shangyuekeji.com 15 Jul 02:57
  To consult the algorithm of photocopy filter Liam R E Quin 16 Jul 18:37
luming@shangyuekeji.com
2019-07-15 02:57:13 UTC (about 1 month ago)

To consult the algorithm of photocopy filter

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.

luming@shangyuekeji.com

Liam R E Quin
2019-07-16 18:37:41 UTC (about 1 month ago)

To consult the algorithm of photocopy filter

On Mon, 2019-07-15 at 10:57 +0800, luming@shangyuekeji.com 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.