Announcement

Collapse
No announcement yet.

matching color from reference photo

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

  • matching color from reference photo

    If i have a reference photo where i like the skin tone, or background color. What would be the best way to try and match the color on my image -

  • #2
    Re: matching color from reference photo

    If you are confident with seeing colors, you would mask the area, then add a curves layer and adjust individual channels until you find the match.

    If you want to go more algorithmic at it, make a mask for the areas that need to get matched and save as a selection. Then create two hue/sat layers, one with a 'light' luminosity mask, the other one with the inverted mask, giving you separate control over highlights and shadows. To restrict the correction to a certain area, take the saved selection, invert it, and paint/fill black into the luminosity masks.

    Sample the reference image shadows and highlights with a 15x15 averaged sample, and read the color in HSB mode (change the color mode of the picker in the info palette).

    Now set two color sample points in the target image in the shadows and highlights, and also keep them in HSB mode. Then adjust the h/s/b sliders of the two correction layers until your sample points match the HSB values from the reference photo. Takes a bit of practice.

    Comment


    • #3
      Re: matching color from reference photo

      Originally posted by jklier View Post
      Now set two color sample points in the target image in the shadows and highlights, and also keep them in HSB mode. Then adjust the h/s/b sliders of the two correction layers until your sample points match the HSB values from the reference photo. Takes a bit of practice.
      That is unfortunately one of the better ways, although I prefer sets of masks combined with channel mixer. It's still quite rough due to the behavior of channel mixer in photoshop and its color management rather than the concept of mixing channel densities.

      There is actually quite a bit of research out there on this topic, although I think it would be easier to incorporate in a raw processor than in a space like Adobe 1998.

      Comment


      • #4
        Re: matching color from reference photo

        I agree with the above.

        No, we are presuming that your and the reference image are similar when it comes to luminosity/density/overall feel. Check they visually by simply seeing both in B&W.

        What I do is first mask everything out. Now, every area of color in the reference image needs a color point in hsb, and so does your image. Same brightness, same area (like 128 sky for example).

        Now you go into the broad to specific area by area. First, I use curves to set the midtone color to be sort of the same and continue on with hue/saturation. Sometimes I use color balance. Then go into it locally. Just like jkiler explained.

        Overall, it's not much different then when working on colors without an exact reference, tough part being that it has to match exactly.

        Comment


        • #5
          Re: matching color from reference photo

          Good point about the overall images being similar in luminosity and density.

          There have been a number of website tools that utilize math analysis to determine the dominant color of an image as well as it's palette. One example is here: http://lokeshdhakar.com/projects/color-thief/. Especially in busy images it's sometimes harder to establish the dominant color in a precise fashion just by sight.

          You could use this type of technique to compare the two images and see how similar they are. Possibly even going one step further and doing a global adjustment to the image to get them in the ball park before doing finer local adjustments with the techniques discussed above.

          That said, I only know these tools from web coding techniques. Haven't seen a Photoshop action or plugin that can do the same type of color analysis, though it may very well exist.

          Comment


          • #6
            Re: matching color from reference photo

            With skin tones, trying to exactly (numerically) match two different images, unless they are very, very similar, is usually just not going to work. The overall look of an image, particularly where skin tones are involved, is a very complex thing. I've rarely found the numerical approach helpful. In fact if you do eventually manage, after ages of tweaking, to match the shadow, mid tone and highlight values from a reference image, you will often find that it just looks wrong, and often ugly.
            My advice is to trust your eyes.

            Comment


            • #7
              Re: matching color from reference photo

              Originally posted by AKMac View Post
              With skin tones, trying to exactly (numerically) match two different images, unless they are very, very similar, is usually just not going to work. The overall look of an image, particularly where skin tones are involved, is a very complex thing. I've rarely found the numerical approach helpful. In fact if you do eventually manage, after ages of tweaking, to match the shadow, mid tone and highlight values from a reference image, you will often find that it just looks wrong, and often ugly.
              My advice is to trust your eyes.
              I agree. We just did a layout for CK and the images they submitted were of the same model in different clothes against the same background. The skin tone in each was visually a little different, with one noticeably redder. We adjusted the appearance based on visual acceptability (reviewed by three artists). Only took a few minutes. Agonizing over specific numbers for highlight, mid-tone, and shadow values would have taken more time than was really necessary. As long as you understand what values equate with good skin tone the process can be very quick and simple.

              Matching any color, other than a solid color, can be a real headache if you let the numbers dictate your results. In our business the proof of success is in the quality of the printed piece. Customers don't care about numbers - they only want it to look right.

              All colors are influenced by the colors that surround them. If your target image is not exactly the same as your working image, the odds that the values need to be the same are probably very low.

              Comment


              • #8
                Re: matching color from reference photo

                Originally posted by AKMac View Post
                With skin tones, trying to exactly (numerically) match two different images, unless they are very, very similar, is usually just not going to work. The overall look of an image, particularly where skin tones are involved, is a very complex thing. I've rarely found the numerical approach helpful. In fact if you do eventually manage, after ages of tweaking, to match the shadow, mid tone and highlight values from a reference image, you will often find that it just looks wrong, and often ugly.
                My advice is to trust your eyes.
                That's partly because your eyes are very comparative. It can be useful to sample values, but those values should be a point of departure rather than a direct target.

                Comment


                • #9
                  Re: matching color from reference photo

                  Depending on the job I usually do it the simple way just by placing color picker markers on reference and target area and adjusting the target r/g/b curve output values from the reference point.

                  There are areas when you have to deliver a certain uniform colour across (say a lineup of eye shadows for a cosmetics ad) but with the fashion and people in overall I usually rely on an eyeball match within a few people.

                  Comment

                  Related Topics

                  Collapse

                  • Julius Knipl
                    Change the cabinetry color?
                    by Julius Knipl
                    Hello all

                    I need to change the color of the cabinets from the original beige to
                    " Charcoal Gray" which I take to mean dark gray. Using the color replacement tool it's easy enough to add a tint of almost any color but even I pick solid black I can't get them any darker...
                    11-14-2016, 08:10 PM
                  • Diya
                    Selective color in PSE6
                    by Diya
                    I was wondering if anyone knows of a selective color plugin available for PSE6?
                    05-07-2009, 11:30 AM
                  • Jakaleena
                    Changing Colors on an Image?
                    by Jakaleena
                    I'm not new to computers or the internet, but I am a complete novice at using Photoshop 6. I'm a contractor and I'm trying to find a way to show people what their house would look like after changing some colors for example their siding or their shutters. I thought it should be a relatively simple thing...
                    07-19-2002, 06:15 AM
                  • Dan B
                    help with color change...
                    by Dan B
                    First I would like to say hello to everyone on the group. This is my first time posting here. I have been lurking for a few weeks.


                    I've just shot a wedding in which the mother of the Bride asked if I could change the color of the curtains over the baptismal area. On a scale of...
                    06-29-2003, 09:47 PM
                  • skoobey
                    Workflow for uniform skin color across the image?
                    by skoobey
                    I was just wondering, what is your workflow in order to get uniform skin color across the image?

                    I found a few issues:

                    OK, I've DnBed and healed and done composited where needed, etc, now I want to make the image "my own".

                    I have a couple of adjustment...
                    11-09-2013, 05:31 PM
                  Working...
                  X
                  😀
                  🥰
                  🤢
                  😎
                  😡
                  👍
                  👎