Announcement

Collapse
No announcement yet.

Masking hair against complex background

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Masking hair against complex background

    Hi, first time post here so many thanks in advance for your help.

    I am having difficulty creating a mask for the hair in this image. The purpose of the mask is to overlay some color and levels adjustment layers to change the look of the hair but can't get it to look right in the wispy areas.

    Any advise would be greatly appreciated.
    Attached Files

  • #2
    Re: Masking hair against complex background

    The first thing that comes to mind is color range under select in photoshop….the hair is the only thing that is that color so the selection should be easy with a little careful work…click the localized color box to get a more accurate selection and work the fuzzy slider and the + eye dropper.

    Comment


    • #3
      Re: Masking hair against complex background

      Thanks Wolfman,

      The image I posted may be a little misleading as a lot of the hair has already had the pink color applied. If you look around the edges closer to the bottom you will see the places I am having trouble.
      I did try using the color select but the original hair color is close to the BG in a lot of places and I was not able to get it to work well. I did not persevere with it too long so may take another look at it, thanks.

      Comment


      • #4
        Re: Masking hair against complex background

        You could also work it in the refine edge under select….try the smart radius in refine edge to dig a little deeper.

        Comment


        • #5
          Re: Masking hair against complex background

          Is this something that fluid mask, or another plugin may be able to help with?

          Comment


          • #6
            Re: Masking hair against complex background

            yzhellnot,Welcome to RetouchPRO Hope you enjoy your stay here and make lots of friends. Poke around, ask questions, offer help, have fun!

            If you are using PS5 or above this video from Russell Brown may hekp.. it works great on hair

            Comment


            • #7
              Re: Masking hair against complex background

              Originally posted by yzhellnot View Post
              Is this something that fluid mask, or another plugin may be able to help with?
              You could do most of that masking with a paintbrush tool. Plugins will be 0 help. You'll just notice problems upon zooming in. If you get a good outline and feather a pixel if necessary, you'll be fine. I will mention that you made the shadows look kind of weird. The same goes for the highlights. It would need a lot of work to really sell the image, but looking at just masking, you'll have to deal quite a lot with color correction rather than rely solely on masked or not masked. The alternative is that you could make the strands much more bold like they're opaque and clearly delineated from the background or lit much differently than it. I don't think that's what you want here though. In either case the way you're trying to deal with it is a futile effort. There is no way to just cleanly separate such things in a raster image when the pixels contain influence from both things. Perhaps if the resolution was insane and you had a per channel alpha, but photoshop doesn't even support such a thing, and it's doable without that.

              Comment


              • #8
                Re: Masking hair against complex background

                What klev said. Wispy hair - these are often lighter or darker than the background colour because of background lighting or hair tint. If the hair colour or background changes the erstwhile 'dark' wispy hairs may well need to become 'light' hairs. A fiddly change because they are usually only a pixel or two thick and drop in and out of focus. For that reason I would work with a fine brush and either 'paint' strands or 'restore' the target colour through a layer mask. Easier done on a good budget of course! The body of the hair looks like you have used a wash of colour and the hi/lo lights are not realistic for much the same reason as above. It's not unattractive but if the rest of the image is natural in look and feel then it may struggle to look plausible. I have never seen an automatic masking tool than didn't require hand work to finish of the detail.

                Comment


                • #9
                  Re: Masking hair against complex background

                  Repairman and Klev. Agree with you both. Never, ever saw a masking App or plugin that worked as it suggested. When it gets down to it, the apps simply are working as programmed and not thinking "or seeing" as you are. There is always some hand work or subtle refinement in the detail areas.

                  Comment


                  • #10
                    Re: Masking hair against complex background

                    Originally posted by daygraphics View Post
                    Repairman and Klev. Agree with you both. Never, ever saw a masking App or plugin that worked as it suggested.
                    Think of how long they've been around and the fundamental nature of masking or selection. If there was a great way to approach this within the photoshop API, Adobe would have implemented a baseline function by now. We have all seen how much they try to update auto-selection tools.

                    There are seemingly rational methods, but none work perfectly in practice, and all are complicated by the need to conform values to pixel dimensions, especially with something like hair. Hair is inherently difficult to quantify by means of returned reflections, as it crosses various pixels. Taking everything up to the point of a processed tiff file as a black box algorithm still leaves you with the issue of how to describe hair and background as separate objects without a given pixel having a "total" alpha below 100%. The most logical way I could think of given a linear color library would be a hair alpha applied per channel against a known referenced RGB determined to be near 100% alpha. When calculating an averaged alpha for the pixel itself, the contributions would have to be readjusted per channel. As I mention though most applications can't handle per primary alpha, as the monochromatic channels in themselves are essentially that. I can think of a few ways to hack it together. If I didn't hate javascript with a passion, I might consider writing something to attempt such a method of selection.

                    Comment


                    • #11
                      Re: Masking hair against complex background

                      Appreciate your thoughts, you have confirmed what I suspected, that there is no really effective way of doing this. I have been brushing it in by hand up to this point, and will address the shadows and highlights to make it more realistic if I can actually get the color into all areas of the hair first!
                      Thanks

                      Comment


                      • #12
                        Re: Masking hair against complex background

                        Is there any way to apply the color using one of the blend modes where it would apply the color layer to the darker pixels and ignore the lighter ones?

                        Comment


                        • #13
                          Re: Masking hair against complex background

                          Originally posted by 0lBaldy View Post
                          yzhellnot,Welcome to RetouchPRO Hope you enjoy your stay here and make lots of friends. Poke around, ask questions, offer help, have fun!

                          If you are using PS5 or above this video from Russell Brown may hekp.. it works great on hair
                          I like to use this a lot.
                          http://i13.photobucket.com/albums/a2...ps32afe968.gif

                          Comment


                          • #14
                            Re: Masking hair against complex background

                            Originally posted by yzhellnot View Post
                            Is there any way to apply the color using one of the blend modes where it would apply the color layer to the darker pixels and ignore the lighter ones?
                            Not really... Repairman gave good suggestion for applied use. I was going into theoretical aspects to explain why it wasn't mathematically feasible, but people still mask this stuff for real jobs that are handed off to clients and publications. It's important to bear that in mind. Repainting strands where necessary and color correction are entirely viable working from what you have there. It's not a lost cause as an image. What I said wouldn't happen was the idea that you could have a repeatable technique that would grant a mask and expect to have a perfect hair adjustment from that mask with the perfect transition.

                            Comment


                            • #15
                              Re: Masking hair against complex background

                              I tried using LAB to swing the colors apart then just refine mask. On the lores jpg it turned out ok.

                              Comment

                              Loading...
                              Working...
                              X