{"id":872,"date":"2008-08-18T05:00:22","date_gmt":"2008-08-18T13:00:22","guid":{"rendered":"http:\/\/www.rightreading.com\/blog\/?p=872"},"modified":"2008-08-17T13:23:09","modified_gmt":"2008-08-17T21:23:09","slug":"correcting-color-cast-with-photoshop","status":"publish","type":"post","link":"https:\/\/www.rightreading.com\/blog\/art-and-illustration\/photoshop\/correcting-color-cast-with-photoshop\/","title":{"rendered":"Correcting color cast with Photoshop"},"content":{"rendered":"<p>I wish I could say I invented this technique for correcting color cast, but I actually learned about it from <a title=\"photoshop tutorial\" href=\"http:\/\/www.tutorialkit.com\/tutorials\/Color-Cast-Removal-in-Photoshop-39222.html\" target=\"_blank\">an online tutorial<\/a>. Here I&#8217;ve added a wrinkle that is helpful for people like me who haven&#8217;t upgraded their Photoshop in a while.<\/p>\n<p>We&#8217;ll start with this image of the multimedia center at the main branch of the <a title=\"san francisco\" href=\"http:\/\/www.friscovista.com\/news\/\" target=\"_blank\">San Francisco<\/a> public library.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" title=\"original image with color cast\" src=\"http:\/\/www.rightreading.com\/blog-images-08\/color-cast\/original.jpg\" alt=\"color cast to be corrected\" width=\"435\" height=\"326\" \/><\/p>\n<p>The first thing we need to do is to duplicate the image.<\/p>\n<p><!--more--><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" title=\"duplicating image\" src=\"http:\/\/www.rightreading.com\/blog-images-08\/color-cast\/duplicate.jpg\" alt=\"duplicating image\" width=\"269\" height=\"209\" \/><\/p>\n<p>What we&#8217;re going to do with the duplicate image is average all of its color. We will use the resulting value to determine our midtone gray point. If you have a recent version of Photoshop you can use the &#8220;average blur&#8221; filter to do this. I have an older version, which doesn&#8217;t include that filter. What to do?<\/p>\n<p>The answer is to resize the duplicate image to a single pixel. This will give the average value. (You will need to enlarge the view of the one-pixel image a little so you can use an eye dropper on it, as we&#8217;ll see.)<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" title=\"reducing image to a single pixel\" src=\"http:\/\/www.rightreading.com\/blog-images-08\/color-cast\/one-pixel.jpg\" alt=\"one-pixel image for averaging color\" width=\"269\" height=\"152\" \/><\/p>\n<p>Now we&#8217;ll open a threshold adjustment layer.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" title=\"threshold filter\" src=\"http:\/\/www.rightreading.com\/blog-images-08\/color-cast\/threshold.jpg\" alt=\"threshold filter\" width=\"269\" height=\"160\" \/><\/p>\n<p>With this we find the black point and white point. We do this by moving the slider all the way to the left and then backing off a little until black areas appear. One of these will be our black point. We mark it by shift-clicking (this marks the spot with the color sampler). Then we move the slider to the right, back off, and mark our white spot.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" title=\"using the threshold slider\" src=\"http:\/\/www.rightreading.com\/blog-images-08\/color-cast\/slider.jpg\" alt=\"using the threshold slider\" width=\"435\" height=\"249\" \/><\/p>\n<p>Once we&#8217;ve marked our black and white points the threshold adjustment layer is no longer needed, so we can cancel out of it and open a levels adjustment layer. The levels panel has three eyedroppers that when clicked on the image will set the black, gray, and white points. With the eyedroppers on the left and the right we set the black and white points, using the spots we identified previously with our threshold adjustment. Now we want to set the gray point, and this is where the duplicate image that we used to find the photo&#8217;s average color comes in.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" title=\"setting the gray point\" src=\"http:\/\/www.rightreading.com\/blog-images-08\/color-cast\/graypoint.jpg\" alt=\"using an averaged duplicate image to set the gray point\" width=\"435\" height=\"356\" \/><\/p>\n<p>For most images this technique really works well. Of course, normally you will still do your usual <a title=\"standard photoshop workflow\" href=\"http:\/\/www.rightreading.com\/blog\/2007\/12\/06\/my-photoshop-default-workflow\/\">adjustments and sharpening<\/a> if you&#8217;re really going for the best result. (I haven&#8217;t done that here.) The original image is on the left and the image with the color cast removed on the right.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" title=\"color corrected image\" src=\"http:\/\/www.rightreading.com\/blog-images-08\/color-cast\/before-after.jpg\" alt=\"the original photo compared to the color-corrected image\" width=\"435\" height=\"163\" \/><\/p>\n<p>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wish I could say I invented this technique for correcting color cast, but I actually learned about it from an online tutorial. Here I&#8217;ve added a wrinkle&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[72],"tags":[],"_links":{"self":[{"href":"https:\/\/www.rightreading.com\/blog\/wp-json\/wp\/v2\/posts\/872"}],"collection":[{"href":"https:\/\/www.rightreading.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rightreading.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rightreading.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rightreading.com\/blog\/wp-json\/wp\/v2\/comments?post=872"}],"version-history":[{"count":7,"href":"https:\/\/www.rightreading.com\/blog\/wp-json\/wp\/v2\/posts\/872\/revisions"}],"predecessor-version":[{"id":881,"href":"https:\/\/www.rightreading.com\/blog\/wp-json\/wp\/v2\/posts\/872\/revisions\/881"}],"wp:attachment":[{"href":"https:\/\/www.rightreading.com\/blog\/wp-json\/wp\/v2\/media?parent=872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rightreading.com\/blog\/wp-json\/wp\/v2\/categories?post=872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rightreading.com\/blog\/wp-json\/wp\/v2\/tags?post=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}