I would like to "frame" a photo with a rectangular blur or gradient. Here is an example from the web that was not made using Mathematica. (Of course, anything is possible; I suppose that this example from the web may have been made using Mathematica, but I'm guessing that it was not.)
Blurred frame version:
My question is, given a normal, unframed photo image, how can I accomplish this sort of blurred/gradient photo frame in Mathematica? Are there any relatively straightforward ways of accomplishing this sort of effect? (The result doesn't have to be at all exactly like the example above; I'm just using the above example to illustrate generally what I would like.) It would be preferable if it could be accomplished using Mathematica 8 or 9, but if Mathematica 10 is necessary, that is fine, too.
Suppose that I import the regular image in a variable
regular = Import["regular.jpg"]
I can blur the entire image using
I can also introduce a temporarily solid frame (i.e., a solid band of white -- or, here, yellow, so that you can see it against this white page) using
solidFrame = ImagePad[regular, 10, Yellow]
Then I can blur the result with
Or, with a
But, again, of course, the interior of the image becomes blurred as well. So I need some way to delineate the "frame area" of the image from the "interior" of the image. Is there any way to do this? Thanks so much for your time.