sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Photoshop Masking Technique?

    Scheduled Pinned Locked Moved Corner Bar
    15 Posts 7 Posters 2.0k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      dylan
      last edited by

      Looking for some advice. PS is not be strong point!
      I have modelled a conopy that I wish to place in the attached image.
      The problem I have is the tree needs to be showing in front of the canopy.
      What techniques are best used to achieve this?

      I thought about a layer mask, but not sure how to accurately pick out all the bits of the tree.

      *The canopy model in this photo I have just quickly placed for illustration purposes without correct scaling etc, just before anyone says it looks wrong!


      modelled canopy in photograph

      http://dmdarchitecture.co.uk/

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jackson
        last edited by

        Hi Dylan,

        You can try selecting the colour of the tree foliage, then using "color range" (in the "Select" menu) you'll be able to select just the foliage, add the trunk to he selection using the polygonal lasso tool, then copy that selection as a new layer over your canopy. It'll take a bit of playing with the colour range parameter (I think you'll need very high for this), but should work.

        Alternatively duplicate the whole bacground layer and use the reverse of the above process to select colours that aren't in the tree foliage, then erase everything but the tree.

        Jackson

        1 Reply Last reply Reply Quote 0
        • D Offline
          dylan
          last edited by

          Great info Jackson and Alan, thanks.
          Worked really well.

          One last question.
          To create some shadows along the floor, would you use a selection of required shape then fill black and turn down opacity?

          Thanks

          http://dmdarchitecture.co.uk/

          1 Reply Last reply Reply Quote 0
          • GaieusG Offline
            Gaieus
            last edited by

            Shadow of the canopy you mean? Why don't you get the shadows straight from SU (or LayOut) and insert into the PS file?

            Gai...

            1 Reply Last reply Reply Quote 0
            • A Offline
              Alex Jenyon
              last edited by

              There's neat little 'matte painters' trick to selecting trees. It works best when the tree is against the sky, so it might not solve all of your problem, but it's a good trick to know anyway...

              1. Have a look in the colour channels of your image. It is likely that the tree silhouette is more visible (and less grainy) in one particular channel, rather than the colour image itself. It's usually the blue one, but not always.

              2. Click on the chosen channel to highlight it.

              3. Select all (cntrl-A or apple-A depending on platform) and copy this channel (cntrl-C / apple-C)

              4. Click on the RGB channel

              5. Paste your image. It should appear in a new layer, but still in B+W

              6. Do a levels adjustment on this image to make the tree black, and as much of the background as you can white. It needs a bit of tweaking - maybe some curves / contrast adjustment, maybe even some dodge/burn, but it's usually possible. This image I will call the 'mask image'

              7. Copy your original colour image into a new layer (this I will call 'layer 2'), and create a layer mask for it.

              8. Select your mask image, and copy it.

              9. alt-click on the layer mask for layer 2. This will being it up in the main image window (your image window will go white)

              10. Paste your mask image

              11. Click on your colour image to stop editing the layer mask.


              I know that sounds a bit complicated, but I've tried to include ALL the steps, rather than assuming everyone knows every last command in photoshop.

              Basically, you are using one of the image channels (usually the blue one) as a layer mask to extract the tree from the background.

              There's a tutorial explaining (most) of this HERE:

              http://www.phong.com/tutorials/mask.tree/

              AJ

              Concept artist / Matte painter
              www.aj-concepts.net

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jackson
                last edited by

                Dylan,

                Your suggestion is a good way to fake shadows (presumably you're going to create a new layer using a mask from the SU shadows?), or (using the same selection) you could try creating a new layer from the background layer and then adjust the lightness, Exposure and/or Gamma of the shadow layer.

                Jackson

                1 Reply Last reply Reply Quote 0
                • L Offline
                  linea
                  last edited by

                  had a go at this with a leaf shaped brush, would need more work.


                  Canopy%20Mask.jpg

                  1 Reply Last reply Reply Quote 0
                  • GaieusG Offline
                    Gaieus
                    last edited by

                    It looks nice, Jon (at least in this small thumbnail 😒 don't you have something bigger?)

                    Gai...

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jackson
                      last edited by

                      Hijack alert:

                      I've been meaning to ask for ages- how come I see other people posting big attachments all the time, but when I try to attach anything larger than about 500 x 300 px it gets stuffed into a bloody scoll window?

                      Jackson

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        remus
                        last edited by

                        i've never managed to get the hang of attaching large images myself, but uploading the image to an external site then linking it here with the [img] tag will always work.

                        http://remusrendering.wordpress.com/

                        1 Reply Last reply Reply Quote 0
                        • L Offline
                          linea
                          last edited by

                          It wouldn't let me post the image at the same size as dylan. I feel inadequate! I tried to post the brush. it's a free one called vine, its actually a gih file(?), works with Gimp, not sure about Photoshop. Scf says the extension is not allowed, if anybody wants it, im me, I'll send it to you.


                          Canopy%20Mask.jpg

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            Jackson
                            last edited by

                            I use Photobucket for that when I need to, but it's a pain having to open another site, sign in, upload and copy in links!

                            Jon/Linea- how did you fix your attachment?

                            Jackson

                            1 Reply Last reply Reply Quote 0
                            • GaieusG Offline
                              Gaieus
                              last edited by

                              @jackson said:

                              Hijack alert:

                              I've been meaning to ask for ages- how come I see other people posting big attachments all the time, but when I try to attach anything larger than about 500 x 300 px it gets stuffed into a bloody scoll window?

                              I think if it is WAY larger than the text, a thumbnail is created otherwise it gets stuck into those scrollers. 😕

                              Gai...

                              1 Reply Last reply Reply Quote 0
                              • L Offline
                                linea
                                last edited by

                                jackson I didn't, I posted a different one.

                                1 Reply Last reply Reply Quote 0
                                • Alan FraserA Offline
                                  Alan Fraser
                                  last edited by

                                  Dylan,
                                  Possibly the easiest way would be to make a duplicate layer of the background photo, then sandwich the layer containing the canopy between the two identical layers, positioning the canopy correctly. I'd then use the magic wand (or colour range...as Jackson suggests) on the clouds in the top photo layer...set to a reasonable tolerance like 100....select then delete. That ought to leave just the tree showing in the sky area, with the canopy showing through the gaps. You could probably then just sample some of the vignetted leaves and copy them over the bits of canopy that fall in front of the buildings, but behind the tree.

                                  3D Figures
                                  Were you required to walk 500 miles? Were you advised to walk 500 more?
                                  You could be entitled to compensation. Call the Pro Claimers now!

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post
                                  Buy SketchPlus
                                  Buy SUbD
                                  Buy WrapR
                                  Buy eBook
                                  Buy Modelur
                                  Buy Vertex Tools
                                  Buy SketchCuisine
                                  Buy FormFonts

                                  Advertisement