Cooking with Scanner Darkly

Matt Grunau

Adobe Demigod
Hidy ho all.

I am making a short for a friend of mine, and it is about cooking stuffed squid for Christmas. It's going to be an odd comedy type thing, but the reason I am using this footage is because I am lazy and didn't feel like shooting anything different.

I found a way to sort of mimic the look of "A Scanner Darkly", though it is still rough, and I still am refining it.

There are two before and after shots in it, each around 7 seconds, so the whole thing is about 28 seconds. But you should get the idea.

Looking for feedback, though I know I haven't defined the edges well enough yet. Though for only Photoshop and AE, it's coming along nicely. There is no tweakage to the base footage, it is straight out of camera. And it is playing at 29.97 instead of 24.

http://www.paramm.com/cartoon.avi

http://www.paramm.com/cartoon.mov


The .avi is DivX and 7 megs, the .mov is 26 megs.

EDIT: Here are a couple of stills, not part of the footage:


1192245593.jpg



1192245663.jpg
 
Last edited:
Nice job Matt!
It's hard to tell too much from the clips I saw - would have been nice to see a wide shot (like the still you posted) wiht a before and after...but the shots I saw looked really cool.

How are you doing this?
Are you actually having to roto, or are you doing something else?
 
Hey Luis. I know you can't see nearly as well from the shots that I put up what is going on, but I didn't want to use video of him talking as I am would want to get his permission first. Later today (Sat) I'll post something else with a few close up shots of a guy talking, shot in 24P.

No, no rotoing, just a highly modified Photoshop action, consisting of two other separate actions used for batch processing of file sequences from AE and then reassembled in AE. Photoshop is doing the main brunt of the work, as would be needed for something like this. AE simply doesn't have the options and filters available for this kind of thing, and if you could do it in AE, your list of track effects would be over 20 or so per track. As it stands, it still takes Photoshop around 8-12 seconds to process each frame.

The problem is I need four or five different and seperate actions depending on the shot. The one now works pretty well for mediums to close ups, but not quite as well as I would like on wides. That's mainly because it is standard def. High def would look much better in the wides, since the frame size is so much larger, and this was an action made for photography. That's one of the reasons I had to alter it so much.
 
Last edited:
Nicely done!

Looks a little too real to me... like maybe it has too much detail and too many colours. Or rather too many shades of the same colour.... I think it should look more vector-y. The stills look a lot better than the video.

Also, I'd try lowering the frame rate quite a bit... Perhaps even to about 12fps. Will probably really help to sell the cartoon look.
 
Yeah, it's too smooth. 23.97 may fix that, or I may slam it down to something like you suggested.

And it's not that there are too many colors, just that they are not in defined areas with boarders. That's one of the issues I am having problems with. That calls for even more adjustments and additions to the PS Action, and is proving to be quite the headache. I'll keep on plugging though.

I'll keep you guys posted.
 
Matt, very hyper real, a cool look. I would definitely go with what DeVil said. Since it is 30p, try a 300% speed up render, then slow that rendered file down to say 33% using hold frames, not frame blended. If the source was 24p, then try the 12 fps 50% slomo straight up.

Not to deviate from making your own cartoon filter process, in the Creative Cow AE Tutorial Podcast section, there is a three part series on turning Video to Cartoon Look. It definitely looks more posterised (having issues between CU and wides) and includes black line overlay effect. A lot of work involved, and requires AE and Illustrator, together with hacking a script in the Illustrator program, lol. I did my head playing with this stuff a while a go.

I saw death rising from the earth, from the ground itself, in one blue field.
 
Matt great work!

would it be possible to do a layer that has just the edges, like embose but with the whites keyed out,

Then if you where to composit this layer ontop of what you have done already, would you then not get the "hand drawn" pen outline?

Tell me what you think.

Excellent work, keep it up.
 
Matt great work!

would it be possible to do a layer that has just the edges, like embose but with the whites keyed out,

Then if you where to composit this layer ontop of what you have done already, would you then not get the "hand drawn" pen outline?

Tell me what you think.

Excellent work, keep it up.

Yes you can, but it does not isolate color regions. It only will give you borders, pretty much based on Luminance, as is the nature of the software. In order to do what you suggest, I would have to have Photoshop recognize and effectively outline each color differential. Bear in mind this is still just a test to see if it will work. I'm still tweaking and adding to the Photoshop action, but trying to include that degree of color recognition and seperation would be one hell of a headache.

There may be a work-a-round. If there is, I'll find it, and let you guys know.
 
Last edited:
Not to deviate from making your own cartoon filter process, in the Creative Cow AE Tutorial Podcast section, there is a three part series on turning Video to Cartoon Look. It definitely looks more posterised (having issues between CU and wides) and includes black line overlay effect. A lot of work involved, and requires AE and Illustrator, together with hacking a script in the Illustrator program.

I would like to see that tutorial. Though bringing Illustrator into the fray with Auto Tracing, and God knows what else involved would become a three app production.

I'de like to avoid that. It may be that I can't, to get those edges defined, but man, I don't want to involve Illustrator.
 
I agree Matt, 2 or 3 apps, yuk. I would prefer to make a node based flow in Digital Fusion doing everything in one pass, if I was to again attempt this look.

I would consider re-shooting using 1/250 or at least 1/120 shutter on 24p, then do the post 200% speed up render out from AE and then a 50% slow down (repeat frame) in AE to give you an image sequence for PS. Your sample footage shutter speed is unfortunately very slow. Look at the hand moving in the MS/CU, to remove the foil, it is totally motion blurred, thus it will be difficult to be able to easily generate edge/outline detection from that part of the footage, and a PS action edge detection would likely fail there. Similarly, surroundings of the shoot need colours to be distinct between talent and background, to help you find that edges. For edges, perhaps add to your action chain, at the end, a PS action using:
Brush Strokes >> Accented Edges: Edge Width 2, Edge Brightness 18, Smoothness 5.

As you know, Scanner D was more than a 'push the render button' plugin, however, I do like the look you have created. The more I think about this effect, the more it does my head in.
 
I agree Matt, 2 or 3 apps, yuk. I would prefer to make a node based flow in Digital Fusion doing everything in one pass, if I was to again attempt this look.

I would consider re-shooting using 1/250 or at least 1/120 shutter on 24p, then do the post 200% speed up render out from AE and then a 50% slow down (repeat frame) in AE to give you an image sequence for PS. Your sample footage shutter speed is unfortunately very slow. Look at the hand moving in the MS/CU, to remove the foil, it is totally motion blurred, thus it will be difficult to be able to easily generate edge/outline detection from that part of the footage, and a PS action edge detection would likely fail there. Similarly, surroundings of the shoot need colours to be distinct between talent and background, to help you find that edges. For edges, perhaps add to your action chain, at the end, a PS action using:
Brush Strokes >> Accented Edges: Edge Width 2, Edge Brightness 18, Smoothness 5.

As you know, Scanner D was more than a 'push the render button' plugin, however, I do like the look you have created. The more I think about this effect, the more it does my head in.

I agree that the shooting of it is pivotal, but remember this was a test only. As for DF, the node based editing is almost as bad a headache for me as anything. I can't wrap my head around that.

Slamming it into 24 or 12 fps would help, as would setting the shutter to something nice and crisp.

Seperate lighting would be a huge help, but again, I was looking for a way to take footage I had and make it look cartoon-ish. I think I came pretty close, though the 30p cadence is killing it.

I'm sure Scanner Darkly was more than a button push, and I didn't mean to imply that it could be done so. I only meant I found something that was getting near, using programs most of us have access to.

There is no way without advanced scripting and image analyzation of color value that I can (at this time) isolate the regions I need to and give them that cell shaded type border that is so essential to pulling off the look.

But, I am also working with standard DV rez, and someone working with higher would have better lattitude and results.

The main point is that effect is now becoming more accessible to more of us with fairly standard software. Hell, if you have of copy of Photoshop, any NLE will work.

Someone give me a 2 or 4k plate and I can work a hell of a lot more magic.

I don't think I can pull of the look completely without something like Illustrator with it's avalability of fills, strokes, and gradient maps, but I'm gonna try to keep it to just Photoshop and AE.


Thanks for the input, and I will put it all to the test and make something even better.
 
Last edited:
Hey Matt, sorry if I came across the wrong way. Hard to express one's self in text, and be concise and articulate. Meant to only present the best parameters I could think of, in a perfect world.

Yes, DF on a timeline/timing basis is not my favourite either. I have to now learn AE, starting soon.

Sorry again, I did not mean to imply you were making a one pass Scanner D plugin.

Shawn, with his RED posted this thread over at REDuser, so maybe try his 2k H.264 file. That should be a good test, as it has the tree foliage factor, camera motion/pan, children running through (lots of motion blur) and some distinct flowers at the end of the shot.

I think you will end up making about 3-5 presets, all with minor changes to factor in image detail, and some variations of the preset based on shot type and objects in the shot.

Just some thoughts, thinking out loud. cheers man. :beer:
 
Hey Matt, sorry if I came across the wrong way. Hard to express one's self in text, and be concise and articulate. Meant to only present the best parameters I could think of, in a perfect world.

Yes, DF on a timeline/timing basis is not my favourite either. I have to now learn AE, starting soon.

Sorry again, I did not mean to imply you were making a one pass Scanner D plugin.


I think you will end up making about 3-5 presets, all with minor changes to factor in image detail, and some variations of the preset based on shot type and objects in the shot.

No sweat, I didn't think you came off that way. I am in the process of making seperate actions for the different shot types, but the wides are still the hardest, since there simply isnt enough pixels to outline with, and not enough info to analize. I'm going to keep on pluggin though.

Again, I want to keep this Photoshop and AE only so when it is finished I can share it. Most here who do video will have P-Shop and AE, but probably not Illustrator.



Looking good Matt, pretty impressive. I just came across this today, thought you might be interested in it: http://www.digitalanarchy.com/toon/toon_main.html


Thanks Larry. That post is good, but you can see to much posterizing in it. That completely destroys the look, and just seems harsh to my eye. Maybe though, I can find a way after the whole thing is done to use a blend of Posterizing and then Find Edges and then use only the Find Edges results to give the outline stroke.
 
Hey Matt, are you using the Median filter or no?

Sorry Tommy, I didn't see this post earlier. No, the Median filter is not part of the Action. Well, not yet. I have been looking at that as a possibility, but am trying to figure out where I could use it. It may help.
 
Just an update, using Posterize Time and forcing it to 20 fps makes a hell of a difference. Also, I have been somewhat successful giving boarders to the needed areas with filters like Find Edges, Posterize (which is not used in itself, but used to break up the image and then with Find Edges gives a decent border) on a seperate layer then set to multiply.

I am rendering a new and different clip from a seperate project now shot at 24, and will post it asap. It will be about 15 seconds, and will be close ups and mediums.
 
Thanks Larry. That post is good, but you can see to much posterizing in it. That completely destroys the look, and just seems harsh to my eye. Maybe though, I can find a way after the whole thing is done to use a blend of Posterizing and then Find Edges and then use only the Find Edges results to give the outline stroke.

Yea, I feel ya. Thought maybe it might give some ideas if nothing else. One other thing I just thought of. Did you ever see Norm Sanders SpyFest entry, Without Provocation? He did a similar technique, also going to PS and running action(s) against the frames. Might have some input to help...or not :)
 
Yea, I feel ya. Thought maybe it might give some ideas if nothing else. One other thing I just thought of. Did you ever see Norm Sanders SpyFest entry, Without Provocation? He did a similar technique, also going to PS and running action(s) against the frames. Might have some input to help...or not :)

I took a look, and that's pretty similar. But it is a little harsh, the black borders are too thick. But, I'm going to go over that thread and see if I can get some more info.

Can't find a place to download the damn thing.
 
Back
Top