On Wed, 26 Dec 2012,
(Floyd L. Davidson) wrote:
>Tony Palermo <> wrote:
>>How do you turn a digital photo into a B&W line drawing?
>>
>>I was trying to turn a digital photo into a coloring-book style line drawing
>>as a present for my kid (she likes to color her own personification).
>>
>>The best I came up with in freeware was using The Gimp.
>> TheGimp: Filters->Edge Detect->Difference of Gaussians
>> DoG Edge Detect: Radius 1=3.0, Radius 2=1.0 px [x]Normalize [x]Invert
>>
>>Do you have a better/easier way to turn a JPG into a simple line drawing?
>
>GIMP does it just as well as any other program, as there
>isn't much of anything special about the mechanisms
>used. It's more a question of exactly what you decide
>you want, and knowing how to produce that specific
>effect.
>
>For example, given that you are not looking for a final
>product, but rather an outline that children can
>color... you don't need any fine detail, and you don't
>need dark areas so much as just getting the edges.
>
>I would suggest playing with pre-processing a little,
>before you run an edge detection algorithm.
>
>Try things like excessive amounts of Unsharp Mask. Use
>USM rather than Sharpen. A Sharpen tool looks for
>sequences of tonal variations such as the hair on a
>person's head, and increases the contrast between dark
>and light areas. That isn't what you want! USM looks
>for single tone transitions, for example the edge
>between the person's hair and their face, and treats the
>area of hair as an average of the tone variations there.
>
>Also you can try different combinations of more contrast
>and more brightness for the entire image. Unlike with a
>regular photograph, in this case apply USM first and
>other edits afterwards.
>
>Then try the edge detection algorithms. And afterwards
>try once again to see what both USM as well as contrast
>and brightness adjustments do.
>
I love Gimp, especially because it's called "the" Gimp. Used
judiciously, the unsharp mask feature can yield a more uniform
result to photos from which to apply line-art or other effects.
I typically work between Gimp, Inkscape, and other freeware
programs, to attain what I'm looking for, book covers, titles,
illustrations, etc. Experimentation is king, but then again,
the simpler the better. I treat video much like I treat audio.
>I got such a kick out of your picture too. The little
>boy looks very much like a fellow I used to babysit at
>that age (he is 11 now). There was a little girl like
>that one who visited now and then, and one day when I
>said I was going to hug him, she told me it just was not
>allowed. She was going to give him all the hugs and
>kisses he needed! So I asked her if it would be okay if
>his mother hugged and kissed him, and she thought for a
>few seconds and allowed as how she might let his mom hug
>him, now and then... 
>--
>Floyd L. Davidson http://www.apaflo.com/floyd_davidson
>Ukpeagvik (Barrow, Alaska)
Awesome photos! Thanks for sharing that.
In the early-1980s, I met a guy who was born and raised in Barrow,
Alaska. His name was Ray Betz, a healthy and strong looking man
in his 20s. He had an "extra" layer of fat on his face and body,
and a uniquely rosy-red appearance to his otherwise ultra-white
facial cheeks different from, and far healthier looking than,
common rosacea. Frankly, his face looked naturally fatted like
that of a seal, a penguin, or a walrus. He was very intelligent.
During the winter, he would show up to work wearing a tee-shirt,
shorts, and tennis shoes, while everybody else was bundled up in
down parkas, winter boots, gloves, caps, and so forth, shivering
while he was almost sweating. As summer drew on, he was miserably
hot and sweated profusely. We'd become friends by then and I saw
this happen to him, and to his wife, at the small apartment which
they had rented. Apart from the huge difference in climate, they
seemed otherwise perfectly normal. At the time it made me grateful
that I was used to living in a chilly winter climate where I live
than in Barrow, Alaska, or north-eastern Siberia for that matter.
--
Bub