Jump to content

  • Log In with Google      Sign In   
  • Create Account


image artifact removal for cartoons


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 Storyyeller   Members   -  Reputation: 212

Like
0Likes
Like

Posted 07 May 2012 - 07:50 AM

Is there any information about techniques for removing compression artifacts from cartoon like images? What little information I've been able to find about compression artifact removal focuses on photos. However, it seems like it should be possible to do much better with cartoon like images due to the knowledge that the image mostly consists of large flat areas and sharp lines.
I trust exceptions about as far as I can throw them.

Sponsor:

#2 DemonRad   Members   -  Reputation: 290

Like
0Likes
Like

Posted 07 May 2012 - 03:09 PM

I don't know if this is the right section. Anyway. Is you problem specific to compressed textures or just to images? Because certain image formats have loss-less compression (PNG for example). With compressed textures I don't know if you can solve those artifacts. About tecniques I think there's a lot of material on the web about image compression tecniques/ algorithms.

Probably Vectorial Art can interest you since is a total different way for store images and have no artifacts indipendently of resolution at wich you display the image.

EDIT: probably I misunderstood you.

Removing artifacts can be done with GIMP (the first thing come to my mind is to do some gaussian blur with small radius, and then use sharpenizer). Probably someone has also written a plugin for that too.

This goes in 2d and visual art.

Edited by DemonRad, 07 May 2012 - 03:13 PM.

Peace and love, now I understand really what it means! Guardian Angels exist! Thanks!


#3 Storyyeller   Members   -  Reputation: 212

Like
0Likes
Like

Posted 07 May 2012 - 03:22 PM

Well I wasn't sure about the section, but I figured this was the best fit, since it's closely related to image recognition.
I trust exceptions about as far as I can throw them.

#4 Álvaro   Crossbones+   -  Reputation: 11709

Like
1Likes
Like

Posted 07 May 2012 - 03:41 PM

This is math, so perhaps "Math and Physics" would have been more appropriate.

I've seen some very spectacular demonstrations of a technique called "basis pursuit" that could probably be used for this purpose. I don't know of anything specific to removing compression artifacts from cartoon images, but I happen to work with two of the people that invented the technique, so I'll ask them to see if they know of any relevant papers.

#5 jwezorek   Crossbones+   -  Reputation: 1606

Like
1Likes
Like

Posted 07 May 2012 - 05:44 PM

If you know the number of colors that are used in the cartoon image then k-means clustering the colors with k being the number colors usually works pretty well. If you want it to be fully-automated or if you want the output to be anti-aliased then you need to do something more sophisticated; for example, anisotropic diffusion filtering (google it).

This problem is closely related to the general problem of raster-to-vector conversion in that it is basically the first step of raster-to-vector conversion i.e. image segmentation, so there's a lot of literature on the subject. Google image segmentation and/or raster-to-vector.

Edited by jwezorek, 07 May 2012 - 05:46 PM.


#6 willh   Members   -  Reputation: 160

Like
0Likes
Like

Posted 10 May 2012 - 09:18 AM

Another option would be:

Build a library of artifacts based and their original uncompressed 8x8 value.

JPEG, and MPEG I think, only use 8x8 blocks when compressing.

I've seen this trick used before to deblurr masked digits (like when someone posts a picture of a cheque and blurs the account number). You could probably get away with using greyscale and then determine the colors once a matching artifact is found.

There is likely enough structural information present for you to reverse most of the compression.. Since its a cartoon. :)


#7 Storyyeller   Members   -  Reputation: 212

Like
0Likes
Like

Posted 15 May 2012 - 07:47 PM

Thanks for the suggestions. I tried googling before, but I didn't even know what terms to look for.
I trust exceptions about as far as I can throw them.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS