Motion Blur/DOF in post (without the ugly outline)

I’ve seen it happens many times where people go about trying to add in DOF and motion blur in post, and it ends up with this ugly, blurry outline. This is caused by whatever objects are in focus being blurred in the background, causing just the edges to peek out around the in-focus layer. The ugly effect in question:

https://dl.dropbox.com/u/17239680/Facepunch/Tutorials/BlurInPost/Bad.jpg

Here’s how to get around all that.

https://dl.dropbox.com/u/17239680/Facepunch/Tutorials/BlurInPost/StepOne.jpg

https://dl.dropbox.com/u/17239680/Facepunch/Tutorials/BlurInPost/StepTwo.jpg

https://dl.dropbox.com/u/17239680/Facepunch/Tutorials/BlurInPost/StepThree.jpg

https://dl.dropbox.com/u/17239680/Facepunch/Tutorials/BlurInPost/StepFour.jpg

https://dl.dropbox.com/u/17239680/Facepunch/Tutorials/BlurInPost/StepFive.jpg

Plus a bonus.
It’s a pretty long process, especially for very complex images, but it’s worth it. Original image by HairyBastard. I did the edit in the Official Edit My Screenshot Thread V6. My original version can be found here.

it’d be better to hide ragdolls using colour tool and take 2 pictures.
it’s helpful anyway.

this, usually produces better results

I completely agree, this is just for people who forget, or are editing someone else’s screenshot in which they didn’t put it in.