Skip to main content

Timeline for How to create hedcut style images?

Current License: CC BY-SA 3.0

23 events
when toggle format what by license comment
Nov 14, 2012 at 15:42 vote accept Szabolcs
Aug 4, 2012 at 22:03 history edited Simon Woods CC BY-SA 3.0
added white space in code blocks
Aug 4, 2012 at 21:47 comment added Simon Woods @Mr.Wizard, oops sorry. When I use standard copy I seem to get a lot of unnecessary line breaks which need editing out. I hadn't noticed that the plain text format removes all the spacing, though now you mention it it is glaringly obvious. I'll do some tidying up.
Aug 4, 2012 at 21:20 comment added Mr.Wizard Simon, is there any reason to keep most of the code in (copy as) "Plain Text" format without any white space?
Aug 4, 2012 at 21:19 history edited Mr.Wizard CC BY-SA 3.0
deleted 2 characters in body
Aug 3, 2012 at 19:45 comment added Simon Woods @R.M, thanks for the link, the example looks really good.
Aug 3, 2012 at 11:38 history bounty awarded Szabolcs
Aug 1, 2012 at 21:01 comment added rm -rf @SimonWoods There's this software called Strokes Maker (trial available) that allows one to use line strokes and create hedcut like pictures (example). I don't have Windows, but if you do, you could give it a try. You might get some ideas from how they do the layering and sketching (although, code might not be availble if it is a binary)
Jul 27, 2012 at 22:25 history edited Simon Woods CC BY-SA 3.0
added 1594 characters in body; added 73 characters in body
Jul 27, 2012 at 20:40 comment added Simon Woods @Szabolcs, that's a great idea. What I've ended up doing is using the additional dark pattern as you suggest, plus solid black, so 7 quantization levels in total. Any large areas of solid black then get changed to the dark pattern. This gives a better result than the MinDetect approach and doesn't require tweaking any parameters (at least on the images I have tried). Code update coming up.
Jul 27, 2012 at 19:05 comment added DGrady Yeah, that looks a lot better. Nicely done!
Jul 27, 2012 at 7:57 comment added Szabolcs Nice update! Would it be an improvement to introduce an additional dark pattern where the wavy line grid has dots inside the cells? Not sure it's worth it, just wondering.
Jul 27, 2012 at 1:01 comment added rm -rf @SimonWoods Eyes are always a hard problem. I suggest implementing something like the post-picture red-eye fixing tools available in a lot of today's phones and cameras. Basically, allow the user to click the eye and do a small local correction (your update is terrific without it too)
Jul 26, 2012 at 22:33 comment added Simon Woods @Szabolcs, I agree that ideally the eyes should be detected and treated separately, but see the update. I think it's an improvement in the eye department without deviating too far from the desired style.
Jul 26, 2012 at 22:30 comment added Simon Woods @DGrady, I've found a better (IMO) way of creating the outline which gives much less jerky edges.
Jul 26, 2012 at 22:28 history edited Simon Woods CC BY-SA 3.0
code updates following comments
Jul 26, 2012 at 7:48 comment added Szabolcs It's very nice how the patterns blend together! One thought I had is that eventually it would be nice to detect the eyes and treat them as a special case (not only for this implementation but for all of them). This doesn't seem like an easy problem though, it's probably worth its own question.
Jul 26, 2012 at 0:44 comment added JohnD You guys are scary good at Mathematica. ;-)
Jul 25, 2012 at 21:52 comment added Jagra Now this is getting interesting! +1
Jul 25, 2012 at 21:47 comment added Simon Woods @DGrady, I tried applying a Gaussian filter to the image before extracting the outlines, but it didn't come out very well.
Jul 25, 2012 at 21:39 comment added rm -rf Very nice!$\phantom{}$
Jul 25, 2012 at 21:32 comment added DGrady Nice implementation for some of @Jagra's comments. The edges are a bit jerky, especially in the second photo - have you thought about smoothing them?
Jul 25, 2012 at 21:23 history answered Simon Woods CC BY-SA 3.0