RSS/Atom feed Twitter
Site is read-only, email is disabled

cartoon (card figure) from photo

This discussion is connected to the gimp-user-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.

8 of 8 messages available
Toggle history

Please log in to manage your subscriptions.

cartoon (card figure) from photo Daniel Nogradi 28 Apr 14:25
  cartoon (card figure) from photo saulgoode@flashingtwelve.brickfilms.com 28 Apr 17:59
   cartoon (card figure) from photo vt 28 Apr 19:45
    cartoon (card figure) from photo saulgoode@flashingtwelve.brickfilms.com 28 Apr 19:57
     cartoon (card figure) from photo Alexander Rabtchevich 28 Apr 20:03
   cartoon (card figure) from photo Daniel Nogradi 28 Apr 20:38
    cartoon (card figure) from photo saulgoode@flashingtwelve.brickfilms.com 29 Apr 09:47
     cartoon (card figure) from photo Daniel Nogradi 29 Apr 12:58
Daniel Nogradi
2007-04-28 14:25:21 UTC (over 17 years ago)

cartoon (card figure) from photo

Hi list,

This is my first message to gimp-users, first of all let me thank everyone who contributed to gimp, it's really fantastic. After doing a couple of simple things successfully I have a slightly more complicated problem now and was wondering if anyone had any useful advice.

What I would like to do is take a photo of someone's face and turn it into a cartoon, more precisely into figures that are on ordinary playing cards: Jack, Queen and King. The main feature of these figures are: clear sharp edges and uniform colors between edges. This last thing is the one that I'm not able to create from the photo. I tried all kinds of edge detecting algorithms but the end result was always 'photo-like' in the sense that the colors were not uniform but all kinds of pixels next to each other as is always the case with photos.

Would it be possible to detect sharp edges with uniform colors between them?

saulgoode@flashingtwelve.brickfilms.com
2007-04-28 17:59:31 UTC (over 17 years ago)

cartoon (card figure) from photo

I would suggest keeping the two operations -- outlining and color smoothing -- as separate operations.

If you duplicate your layer and, on the top layer perform your edge detection, followed by a desaturation and color removal, you will be able to erase (or enhance, or de-emphasize) the outline as you desire. On the lower layer, try the Selective Gaussian Blur to smooth out the colored regions.

Using the above technique (crudely), I was able to produce the following transformation:

http://www.imageox.com/image/46549-bush.png

Quoting Daniel Nogradi :

What I would like to do is take a photo of someone's face and turn it into a cartoon, more precisely into figures that are on ordinary playing cards: Jack, Queen and King. The main feature of these figures are: clear sharp edges and uniform colors between edges. This last thing is the one that I'm not able to create from the photo. I tried all kinds of edge detecting algorithms but the end result was always 'photo-like' in the sense that the colors were not uniform but all kinds of pixels next to each other as is always the case with photos.

Would it be possible to detect sharp edges with uniform colors between them?

vt
2007-04-28 19:45:54 UTC (over 17 years ago)

cartoon (card figure) from photo

2007 m. balandis 28 d., šeštadienis 18:59, saulgoode@flashingtwelve.brickfilms.com raš?:

I would suggest keeping the two operations -- outlining and color smoothing -- as separate operations.

http://www.imageox.com/image/46549-bush.png

Nice work.

saulgoode@flashingtwelve.brickfilms.com
2007-04-28 19:57:06 UTC (over 17 years ago)

cartoon (card figure) from photo

I should add that the Greycstoration Plug-in will also work wonders in cartoonifying an image.

http://www.greyc.ensicaen.fr/~dtschump/greycstoration/index.html

Alexander Rabtchevich
2007-04-28 20:03:50 UTC (over 17 years ago)

cartoon (card figure) from photo

You can also try

http://sound.eti.pg.gda.pl/~greg/gimp/

saulgoode@flashingtwelve.brickfilms.com wrote:

I should add that the Greycstoration Plug-in will also work wonders in cartoonifying an image.

http://www.greyc.ensicaen.fr/~dtschump/greycstoration/index.html

Daniel Nogradi
2007-04-28 20:38:35 UTC (over 17 years ago)

cartoon (card figure) from photo

What I would like to do is take a photo of someone's face and turn it into a cartoon, more precisely into figures that are on ordinary playing cards: Jack, Queen and King. The main feature of these figures are: clear sharp edges and uniform colors between edges. This last thing is the one that I'm not able to create from the photo. I tried all kinds of edge detecting algorithms but the end result was always 'photo-like' in the sense that the colors were not uniform but all kinds of pixels next to each other as is always the case with photos.

Would it be possible to detect sharp edges with uniform colors between them?

I would suggest keeping the two operations -- outlining and color smoothing -- as separate operations.

If you duplicate your layer and, on the top layer perform your edge detection, followed by a desaturation and color removal, you will be able to erase (or enhance, or de-emphasize) the outline as you desire. On the lower layer, try the Selective Gaussian Blur to smooth out the colored regions.

Using the above technique (crudely), I was able to produce the following transformation:

http://www.imageox.com/image/46549-bush.png

Thanks very much, the example you gave is exactly the kind of thing I would like to do.

I guess I know too little about the terminology here; how do I desaturate the image? And what do you mean by color removal? The top layer should have transparent background, shouldn't it?

I guess what I'm asking is what did you exactly do when you got your example done?

I should add that the Greycstoration Plug-in will also work wonders in cartoonifying an image.

http://www.greyc.ensicaen.fr/~dtschump/greycstoration/index.html

I'll take a look at this as well, thanks.

Daniel

saulgoode@flashingtwelve.brickfilms.com
2007-04-29 09:47:37 UTC (over 17 years ago)

cartoon (card figure) from photo

Quoting Daniel Nogradi :

I guess I know too little about the terminology here; how do I desaturate the image?

http://docs.gimp.org/en/gimp-layer-desaturate.html

And what do you mean by color removal? The top layer should have transparent background, shouldn't it?

http://docs.gimp.org/en/plug-in-colortoalpha.html

I guess what I'm asking is what did you exactly do when you got your example done?

Other than edge detection (http://docs.gimp.org/en/plug-in-dog.html), some erasing of "ugly" parts of the top layer, and using the Selective Gaussian Blur
(http://docs.gimp.org/en/plug-in-selective-blur.html), those parts of the GIMP User's Manual pretty well cover it.

Daniel Nogradi
2007-04-29 12:58:00 UTC (over 17 years ago)

cartoon (card figure) from photo

I guess I know too little about the terminology here; how do I desaturate the image?

http://docs.gimp.org/en/gimp-layer-desaturate.html

And what do you mean by color removal? The top layer should have transparent background, shouldn't it?

http://docs.gimp.org/en/plug-in-colortoalpha.html

I guess what I'm asking is what did you exactly do when you got your example done?

Other than edge detection (http://docs.gimp.org/en/plug-in-dog.html), some erasing of "ugly" parts of the top layer, and using the Selective Gaussian Blur
(http://docs.gimp.org/en/plug-in-selective-blur.html), those parts of the GIMP User's Manual pretty well cover it.

Thanks very much for the pointers.

Daniel