Re: To consult the algorithm of photocopy filter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2019-07-15 at 10:57 +0800, luming@xxxxxxxxxxxxxxxx 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:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux