News for hackers. Stuff that matters.
Re:Anime2Sketch: A sketch extractor for illustration, anime ... by CobrastanJorji on Thursday May 06, 2021 @10:02PM (#27071111)
I think I'm missing something. I get the Sketch-to-Photo synthesis that this is based on. It's really weird, neat stuff. But as a layman, I'm having trouble seeing the difference between the result of this anime-to-sketch synthesis and what I'd expect to get out of a simple edge detection. Is the difference that it's more clever about which details to ignore?
Re:Anime2Sketch: A sketch extractor for illustration, anime ... by fsloth on Friday May 07, 2021 @02:18AM (#27072846)
I only dabble in graphics - but generallly simple edge detection needs really uniform tonality and no textures in the input to work well. Look for example in the more "sketchy" examples how the linework that "looks right" is extracted from a quite noisy input. Also, in the top example where there are houses, the contrast difference that gets extracted to linework is lower than in the character areas.

So, the flat shaded images with explicit black outlines - yes, it's likely there is much difference with edge detection. But when the image has lots of different contrasts and tonalities this looks much more impressive.

Re:Anime2Sketch: A sketch extractor for illustration, anime ... by mattigames on Friday May 07, 2021 @12:37AM (#27072183)
Not actually, here is what most common edge detection methods produce (last one is Anime2Sketch): https://i.imgur.com/nt0D1ef.png
Re:Anime2Sketch: A sketch extractor for illustration, anime ... by gregoriol on Friday May 07, 2021 @11:53AM (#27077195)
Your edge detection examples are really basic stuff: there are way more advanced studies and examples.

Search for example for "Coherent Line Drawing" by Henry Kang (image from the research: https://d3i71xaburhd42.cloudfront.net/92b2ec5ef4f58c4206fc5c...) or for "XDoG: An eXtended difference-of-Gaussians ..." by Holger Winnemoller, Jan Eric Kyprianidis, ... (https://ars.els-cdn.com/content/image/1-s2.0-S00978493120004...)

Re:Anime2Sketch: A sketch extractor for illustration, anime ... by CobrastanJorji on Friday May 07, 2021 @12:46PM (#27077913)
Okay, that's pretty significant. Neat, thanks!
Re:Anime2Sketch: A sketch extractor for illustration, anime ... by Chris2048 on Friday May 07, 2021 @06:55AM (#27074515)
link appears to be broken?
Re:Anime2Sketch: A sketch extractor for illustration, anime ... by mattigames on Friday May 07, 2021 @08:58AM (#27075353)
It's working for me, here it is on a different hosting site if that helps https://i.ibb.co/pn5d01f/nt0-D1ef-d.webp
Re:Anime2Sketch: A sketch extractor for illustration, anime ... by Chris2048 on Friday May 07, 2021 @12:41PM (#27077852)
Nope, getting a timeout for that too.
Re:Anime2Sketch: A sketch extractor for illustration, anime ... by mattigames on Friday May 07, 2021 @04:27PM (#27080492)
It must be your connection then (or the image format), last try: here it is again in Google Drive: https://drive.google.com/file/d/1rMagXGgth-pAXH2RQ-Ltj59jpgb...
Re:Anime2Sketch: A sketch extractor for illustration, anime ... by greatgoat420 on Thursday May 06, 2021 @10:05PM (#27071127)
I was actually going to ask if someone had done a comparison with edge detection.
Re:Anime2Sketch: A sketch extractor for illustration, anime ... by loosetypes on Thursday May 06, 2021 @10:39PM (#27071407)
Also not familiar but presumably a temporal aspect weighs in, so whether something is a meaningful edge isn’t strictly dependent only on the content within a specific frame?
Re:Anime2Sketch: A sketch extractor for illustration, anime ... by edge17 on Friday May 07, 2021 @12:37AM (#27072187)
My high level guess is, you would do some linear cost minimization in deciding what are edges over time when doing things the traditional way. The neural network can handle nonlinearities for the optimization so you can get better results for some set of inputs (in this case, some class of anime images)