6 Replies Latest reply on Oct 18, 2017 6:43 AM by davescm

    Blur transition with B&W mask.

    maxlavendel

      Anyone got a tip on how to create a blurr effect, which adds more blur if the mask is white but less if it's black.
      With that I mean a real blur, not the opacity.

       

      The idea is, that i can create a black and white mask on a picture, on wich I will paint white for tings which are close to the camera, and black for things more far away. In the end I should get a  b&w mask which represents the depth of field of the whole image.

      And with this mask i would like to blur the image.

       

      I think this technik would be helpful in a lot of scenarios, but I didn't find any proper way to do it yet.

       

      Any suggestion are welcomed!!
      Thanks

        • 1. Re: Blur transition with B&W mask.
          davescm Adobe Community Professional

          You could put your image in a smart object. Apply the blur to the smart object then apply your mask

           

           

           

          You can also paint on an image with quick mask - change that to a selection then go into Blur Gallery and use Field Blur or iris blur on the selection

           

           

          Dave

          • 2. Re: Blur transition with B&W mask.
            maxlavendel Level 1

            Wow thank so much for your quick response, I really appreciate it!

             

            But sadly the techniques you showed me above do not give me the wished results.
            To make things more clear I made an example to show the problem (please note that I took random pictures I made a while back..):

            blur verlauf test.jpg

            As you notice on the first picture you got the sharp picture in the back, and the blury one above. (I actually tried your tipp here with the smart object). But as a result you get a messy transition vom sharp to blury.
            On the second picture I used the Tilt-Shift filter to show the wanted result.

             

            But now I want to create a more complex transition, not in only one direction as shown with the tilt-shift. For that I'd like to create a black and white mask as mentioned above, so a blur filter can decide on how much it makes each individual part of the picture blury, dependent on the grey scale of the mask. So deeper grey gets more and more blurry..

            • 3. Re: Blur transition with B&W mask.
              D Fosse Adobe Community Professional & MVP

              The "messy transition" is because a mask only gives you an overlay of blurred and non-blurred, with gradual transition. So you get ghosting (for lack of a better term).

               

              It seems you may want to look at a dedicated plugin for this. Alien Skin Exposure has a "Bokeh"-function that will do this.

              • 4. Re: Blur transition with B&W mask.
                davescm Adobe Community Professional

                Before you look outside Photoshop, try these

                 

                1. Lens Blur Filter

                You can paint black white and shades of grey on a mask then use the mask as a depth map for the lens blur filter

                 

                 

                2. Use pins and field blur

                 

                Alternatively -  you do though. take a look at Field Blur using multiple pins, and see if it will give you the output you need . It varies blur in a smooth way and, although not using the painting method you were asking about, it does let you control the blur at different points that blend into each other - just keep adding pins to build up that variable blur.

                Quick and dirty example below

                 

                 

                 

                 

                 

                 

                Dave

                • 5. Re: Blur transition with B&W mask.
                  maxlavendel Level 1

                  Oh. my. god. Thank you so much, I was never aware of the Lens Blur Filter, but that is exactly what I was looking for!
                  Thank you for your time and effort!

                  • 6. Re: Blur transition with B&W mask.
                    davescm Adobe Community Professional

                    You're welcome.

                    Two other points though. First, remember to disable the mask when you are done - so that it doesn't hide the layer. Second, work on a copy of the layer. Lens blur is destructive and, unfortunately, won't work as a smart filter.

                     

                    Dave