Adss

Tuesday, May 31, 2011

BLACK AND WHITE IMAGES WITH PHOTOSHOP LIGHTROOM AND CAMERA RAW

      First of all thank you to Sebastian Craciun for correcting the first part about Lightroom.Don't blame him for errors in the second part;)
      NOTE
      In this post I continue to talk about black and white images if you haven't read the first one maybe it will be a good idea to read that first,where I explain the basics behind creating black and white images in Photoshop but hopefully you will be able to use the basic idea presented in other software to once you understand it.
      Camera Raw and Ps Lightroom are basically the same thing so you do things the same exact way in them.
Camera Raw is Photoshop's and Bridge's raw image editor,it is not a crime to use it on JPG images tho. I guess some think that Camera Raw is only for raw image files,in other words 14-16 bit/channel images.Or so called deep color images. That means they can contain more colors as JPG images for example. JPGs are true color images,8 bits/channel that means 24bit/pixel images. Images come out from a digital camera in RGB color mode,that is why RGB is a device dependent color space. Monitors, displays work in RGB because they use light. That means we have three channels. So that is why 8 bits per channel = 24 bits/pixel. 3x8=24.The bits/channel define up to how many colors can be contain by an image. 8bits mean 2 on the 8th(8 times 2x2),what is equal with 256.That means 256 shades in each channel(Red,Green,Blue) so if we count all possibilities that is 256x256x256= a max of 16,777,216 colors in a JPG image.Obviously a raw image file can contain a lot more then that,no wonder they are called deep color images,more colors mean bigger file size but better quality because with more colors it can map fine details more accurately. When you convert a raw image to JPG it uses a color quantification algorithm to reduce the number of colors to a max of 16 million colors.
      Haven't you ever wondered why you never see the led of your TV remote control light up? It's wave length exceeds what our eyes can perceive. So it is in the imaginary colors range(because we can't see it).
But take a picture of it while you push a button and you will see how it lights up. My guess is that that is color quantification in action.(or maybe there is an other reason for that,hell I ain't a rocket scientist!).
As I was saying maybe some think Camera Raw can only be used on Raw images because by default whenever you try to open up a Raw image in Photoshop it opens it in Camera Raw first. We used to be able to change that in Photoshop's preferences dialog(cmd/ctrl+K)But in the newest version of Photoshop I haven't seen this option anymore,or maybe I need glasses.Camera Raw became so popular that they made a new software out of it,Photoshop Lightroom.It is a combination of Bridge and Camera Raw,that means the file managing abilities of Bridge and the editing power of Camera Raw in one. It became a specially designed software for photographers. It is an image editing tool so it can't be used for advanced image manipulation or graphic design.Editing done in Camera Raw and Lightroom can only be seen in bridge or the soft itself,respectively Photoshop in case you just hit done and don't export it as a JPG or other image file.That means your Windows picture and fax viewer won't or other image viewing tool you use notice no change on the image. That happens because we do not physically edit the pixel in the image,it only writes a set of rules on how the pixels in the image should be displayed on screen. The good thing about it is that everything we do is re-editable at anytime and it does not increase file size.

     Let's open up an image in Lightroom
 First you should hit the Import button at the bottom,it will open up a dialog box as predicted because we can se those three"..." after the word Import. That just means it will open up a dialog box.in the dialog locate your image then hit import again at the bottom of the dialog. We end up with our image in the library section(highlighted at the top).I want you to notice that in Lightroom we also have
a quick develop panel too. If you only need the adjustments you can find in the basics panel of Lightroom you don't need to switch from Library to Develop,you have them all there on the right side. You will need to click the small triangles on the right to expand all the sections but there you have all the adjustments.
It is not the best way to create black and white images,but it can be done from quick develop to.


First click on the triangle to expand the section,then change treatment from color to black and white. Then you can experiment with the other settings,some of them have confusing names like "Recovery","Clarity"
I will dedicate a whole post soon on explaining what all those are,in case some people are not familiar with these adjustments,but for now there is nothing wrong if you just experiment,you will figure out a few things on your own.

Now lets see a better way of creating b&w images in Lightroom.


Click on Develop(next to library).Collapse all other panels by clicking on the triangles next to their name(basic,tone curve)if they are open. Now expand the HSL/Color/B&W section. Click on B&W and now all you have to do is adjust the sliders to your liking to darken or lighten the colors that fall in the range of that specific slider.
If you feel you should reset some sliders you can double click on their triangle and it will jump back to zero. On the left side of the panel there is that small switch circled with red. You can use it to turn on and off the effect of that panel. But in this case if you turn of the effect the image will still remain black and white but
without the tonal changes we made with the help of the sliders. Why is that? If you go back to the basic panel,you will see that it has automatically changed the treatment from color to Black and white.

NOTE
If you looked at the histogram while converting to black and white it looks like it switched from showing the histogram of three channels to only one channel. It is not that,where all three channels overlap it shows up as gray in the histogram,now all of the histogram is gray. We can only have grays in an RGB image when R=G=B,remember?(read the previous post).

I hope I did not leave out anything essential for this post,giving the fact that Lightroom is a fairly complex tool,but lets move on to Camera raw now.

2.CAMERA RAW
Well if you have Photoshop,I'm not talking bout Lightroom,I mean big bad Photoshop then you have Camera Raw(tho I don't know since what version they introduced it) and also if you have Bridge,witch comes in a pack with just about any Adobe product I guess,such as Adobe Illustrator or InDesign and of course Photoshop,then you have Camera Raw.Those that mean we can have two instances of Camera Raw at the same time? Yes it does!
By the way,Camera Raw was created by Thomas Knoll,the same guy who created Photoshop back 21 years ago.But yeah,why would you want to run two instances of Camera Raw at the same time? Well you could have one of them do some batch processing while you could use the other one for other jobs.
So unless you try to open up a raw image file you will have to open up Bridge to use Camera Raw.By default it will first open it in Camera Raw hosted by Photoshop and once you click done it will jump to Photoshop preserving your Camera Raw settings.In case you don't know where your Bridge hides,I can only help Windows users,check your program files folder,there you will see an adobe folder and in that a bridge folder.


Once you open Adobe Bridge you can use the folder tab to locate your file or you can use the path bar located at the top.Click on the image or ctrl+click if you want to open more images up at the same time for batch-processing,then you can hit that small shutter looking button at the top to open images is in Camera Raw hosted by Bridge,or you can hit Ctrl+R for that or just right click and choose open with>Camera Raw.If you want to open an image up in Camera Raw hosted by Photoshop you will want to hold down ctrl+O,this will open both Photoshop and Camera Raw,and once you hit open image in Camera Raw it will import your work into Photoshop.However in version CS5 if you want to open up a JPG image it will just open it up in Photoshop skipping Camera Raw tho if I remember correctly,and I should because I'm not that old yet,in version CS3 it did first open your image in Camera Raw even if a JPG.Now you need a JPG that already has Camera Raw settings applied to it in order to open it up first in Camera Raw.(that would be cmd instead of ctrl in the above shortcuts if you use a Mac).

Once you open your image up,you can see the same basic adjustments we saw earlier in Lightroom.The HSL/Grayscale tab is the fourth tab located in the area marked with red.


After you hit the fourth tab you can see a new set of adjustment options,as seen in the image above.Hue/Saturation/Luminance tabs control the hue,the saturation or the lightness of each color range slider but the option we are interested in is the convert to grayscale check box.Once you check that we only have the Grayscale Mix sliders to adjust each colors lightness(to assign a shade of gray for each color) for a better looking B&W image.


 

 Point being said Lightroom and Camera Raw are user friendly apps so if you are planning on using soft only for retouch and restoration jobs you should consider using Lightroom and Photoshop Elements to help it out in case you want to combine more pictures because you can't do that in Lightroom.In case you want to use a free soft you can try the GIMP witch offers lots of advanced options.Once you will learn how to use it I bet you will be glad you downloaded it.
We also have some online solutions these days.You don't need to download and install nothing(just flash player in case you don't have it installed).You only need a net browser and an Internet connection. Go to www.aviary.com where you can find a whole bunch of editing tool from an advanced image editor to a vector based editor,sound mixer,effects creator,image mark-up tool.An other online image editing tool is SumoPaint.Go to www.sumopaint.com

Monday, May 9, 2011

Black and White Images(techniques)

     Before you start reading it,I just want to say thank you to Sebastian Craciun who spell checked and corrected the blog for me! Send him a big hug on Facebook;)
1. Grayscale mode
    Go to Image/mode/ Grayscale ,usually the result you end up with is not bad,but some more tweaking is always welcome I guess.Before I forget,if you take a look at the info panel(window/info),depending on where my pointer rests on the image it is reading a so called k value in percent,that's because we now only have one channel and it is called gray(window/channels)K stands for keying(as far as I know) and it reads the grayscale values in percentage,from white(0%) to black(100%).


    As I was saying,the result is not that bad,but some local adjustments will make it look better .My opinion is that nondestructive adjustments are the best way to work so I will create a levels adjustment layer(because it is easier to use than curves)

    As you can see in the image,if you don't know that already,you have to click on the circle that is half black half white at the bottom of the layers panel,it may not be located at the exact spot on screen as mine because it depends on how your workspace is set up but it will be at the bottom of the layers panel
and choose levels from the pop-up menu that appears on screen .The levels dialog will appear in your adjustments panel if you have version cs4 or cs5 as I have,or it will pop-up if you use cs3 or earlier .Then all you have to do is play around with the three triangles,the black ,white and gray triangles to adjust the contrast of the image.In the layers panel,that is our levels adjustment layer we just created(where the top arrow points at).You can double click its thumbnail to reopen the levels dialog and readjust settings .that is why it is a nondestructive adjustment,you can reedit setting or just delete the adjustment layer,because the settings don't get dropped directly on your image.
     So far we only made a global adjustment tho I was talking about some local adjustments,so lets get to it.
     1.a. Color Range
     A dialog box will pop up .White areas in the small preview window show parts of the image that are selected,that means will show parts of the image that get selected if you first click on an area of the image,color or in our case shade of gray. Shift+click(and or dragging) on other parts of the image it will add those to the selection and fuzziness controls the range of color or shades of gray that get selected.


      "The marching ants" represent our current active selection,but since I managed to accidentally select a part of the shadow I first want to get that part of the selection out of the way. That is why you see the lasso tool circled with red in the image .I can select that tool by clicking on it(obviously) or by hitting "L" on the keyboard .If you see an other of the nested tools there,the polygon or magnetic lasso tool,you have to hit shift+L a few times until you see the lasso looking thing.Holding down the alt key or option key if you use a Mac machine while you circle around the unwanted area will subtract from the selection,if you hold down shift you can add to selections .One thing that I forgot to say is you should make sure you select the background layer(in my case it is still called the background layer because I did not unlock it,the point is if you have an adjustment layer selected once you choose color range and hit OK it will turn that selection into the adjustment layers maskso make sure you select a normal layer by clicking on it .That is why you see that red arrow pointing to the highlighted background layer. And you should do that before you enter the color range command.Now with the selection in place you can create an other adjustment layer,levels or curves,to darken or lighten selected parts of the image .Since we have no color in our image that's all we can do to make it look better .Because of that selection you will now see that the new adjustment layer has a mask .The white areas in the mask represent the areas where the effect will be visible and black shows where the effect is masked,and it looks the exact way as it did in the Color Range dialog.And you can do that as many times as you need to,going back to Color Range,selecting different shades of gray.

     Just in case you might ask yourself why do we need to darken/lighten parts of an image,well lets say you have a picture with to apples,a red and a green one .If you just desaturate the image(we will be getting to this one soon) there wont be much of a difference between the shades of gray in the red and green apples .If I would want to represent red and green in shades of gray I would choose a darker gray for red and a lighter one for green .That is why we would want to do that .Or to put an accent on some parts of an image.
Before we get to the Desaturate command,and then the channel mixer and the black and white command(which is probably the best way to create B&W images) and probably I will show how to do it in Photoshop Lightroom and Camera Raw,I would like to show two other methods for local adjustments because even if you use the black and white command sometimes you may feel the need to locally adjust some areas to.
And before you ask me why is this post so long,I'm just hoping you will get more out of it this way,or you could just scroll down to the Black and White command.
     1.b. Burning and Dodging
     There are three ways that I know of that you could use to dodge and burn(darken/lighten) images .First of all with the use of the dodge and the burn tool,obviously,but you could do that with a new blank layer set to soft light and then you could paint with black/white to darken/lighten areas.
An other way would be the use of adjustment layers,just as we have seen in the example above in the section about color range,but you could skip the Color Range part and use just a brush for masking.
     1.b.a. The Burn tool and the Dodge tool
     Even if hard to use tools especially on colored images,tho since version cs4 we have the protect tones option,that is inactive if used on a grayscale image,because we have no color in our image,these tools may be just the thing you need .Tho I rarely use it and don't really recommend it.

     First of all you should hit cmd/ctrl+J to create a duplicate of our image,this way if you mess up you only have to delete that layer then duplicate again .The red box on the right shows our new layer named Layer 1.Then select from the toolbox the tool that is marked with red,well in my case it is the dodge tool but it could be the burn tool or the sponge tool because those tools are nested together. You can press "O" or "Shift+O" to circle trough them .By the way the sponge tool is used to saturate or desaturate areas of an image.
Up in the tool options area Range and Exposure are the options you should focus your attention on .Range defines the tones you want to affect,those can be either midtones ,highlights or shadows .Exposure defines the strength of the tool,so most of the time you want to keep that at a low setting then brush over an area more times if you want to lighten it more. That pop-up box on top of the image appears if you right click with the tool on the image .This is where you can adjust the size and the hardness of the brush .You can set these parameters from the tool options too but it is more handy this way in my opinion .There are some shortcuts for these options too,the left bracket key makes the brush smaller and the right one makes it bigger,shift+the left bracket key decreases the hardness of the brush,shift+the right bracket key increases the hardness. In my case hardness should be set to 0.When you dodge and burn it would be a pain to always have to go to the toolbar to change tools,instead of that just hold down the alt or option key while you are brushing .If you have the dodge tool selected it will switch to the burn tool or the opposite way if you have the burn tool selected.
     1.c. A dodge and burn layer
     
     Another way would be by simply creating a new blank layer by hitting the new layer button at the bottom of the layers panel,that will create our new layer tagged Layer 1.At the top of the layers panel set the blend mode to soft light by clicking the down pointing arrow in the area marked with red and choosing soft light from the menu that appears.Next take the Brush tool from the toolbox or by hitting "B" or "shift+B" in case you have an other tool selected from the tools nested with the Pixel Brush. Set its Opacity to a low value in the upper tool options area .Down at the bottom of the toolbox we have the foreground and background color swatches. We want that set to black and white. You can do that either by hitting "d" on your keyboard or by clicking on that smaller foreground/background symbol above it .To swap your foreground and background colors between each other you can click that small double pointing arrow next to it
or by hitting"X" on your keyboard .Why do we need this? if you paint with black on the new layer we created(make sure it is highlighted) you will see the image darken under the area you painted on .hit "x" that will make white your foreground,now you will see the image lighten where you painted over it.
    1.d. Adjustment Layers
   Create a Curves adjustment layer by clicking the adjustment layer button at the bottom of the layers panel. click on the middle of the line in the dialog that appears and drag the point you created on the line to the left or right to darken or lighten the image .Hit cmd/ctrl+I to invert its mask .Now the image reverts back to its original state because the effect is masked away .Those black rectangles next to the adjustment layers thumbnails represent its mask .When you create an adjustment layer its mask will b white,so your adjustment will b visible .Cmd/ctrl+I will invert it.Create another curves adjustment,set a point in the middle of the line,drag it to the opposite direction you dragged the first one .Hit cmd/ctrl+I .Now you only have to take the brush tool and paint with white to reveal the adjustments only on areas of the image you want them to appear .You should be careful at the edges .The beauty of this one is that the adjustments are re-editable so you can double click the thumbnail of each adjustment layer and tweak your settings again to your liking.

NOTE
     You cant use any color on an image that has been converted to Grayscale because it has only one channel that contains the gray value of each pixel .Converting that to RGB or LAB will fix this problem(image/mode/RGB)It will not magically turn your image into a colored image because the color information was lost when we converted to Grayscale but it will allow you to use color.
  
    For example I converted my grayscale image to an RGB(image/mode/RGB),created a new layer with the new layer button an sat its blend-mode to multiply .With a soft brush I painted red over my apple .Now it looks like crap but if you double click on the new layer(not the name not the thumbnail of it,somewhere on this empty space a dialog box pops up.
     At the advanced section of the dialog box we can see to bars with gradients from black to white each with a black and a white slider at its end .We focus now on the lower bar where it says underlying layer .If we drag the white slider to the left we are telling Photoshop we don't want our red color to show up on the lightest parts of the underlying image .At first you will end up with jagged edges but if you hold down alt and start dragging one of the edges of the white slider it will split it in two. the further you drag one side from another the smother the transition will be. The upper bar would make the selected layer's(the one we painted red on) lighter or darker shades disappear depending on witch slider you play with .But in this example it wouldn't do to much because we only have one solid color on our layer.
     This is a good example for colorizing black and white images in a convincing way .Just with a brush you would have a hard time trying to paint on all the details of the apple.

     2.THE DESATURATE COMMAND 
     Go to Image/Adjustments/Desaturate or you can just hit cmd\ctrl+shift+u and you have a desaturated image.You can see two images below with two different results tho I used the same desaturate command on them.I will explain why that happened in just a second.
                                          Desaturate in Lab
                                          Desaturate in RGB

     One of them was desaturated in LAB mode the other one in RGB .While RGB(and CMYK) are device dependent color modes,LAB is an independent mode and it works kind of in the way our eyes work.(At least that is what they say)LAB is also the only mode that has a separate channel just for the lightness of an image while in RGB they are sort of embedded in the three channels(red,green,blue) as we can see in the histograms below .

The histogramm shows the density of pixels in luminosity values from black(0) to white(255).In LAB color mode it only maps the lightness channel because that is the only one that stores the luminosity values of pixels in an image.That is the reason why in RGB mode correcting tones can cause color shifts. You will find yourself lots of time having to perform color corrections after tonal corrections in an RGB image .The differences between the color modes cause the desaturate command to work with different algorithms in different modes,that's why the different results .Lets take a look at the algorithms.
     2.a. DESATURATE IN RGB
   
      In RGB mode I placed a sample point with the eyedropper tool,shortcut "I",and shift clicked on an area of the image,or you can use the color sampler tool(shift+I) to place the point. In the info panel we can see the numeric values of the color sampled .In my example R=190,G=175,B=30 in the colored version while in the desaturated version this same area becomes R=G=B=110.In RGB mode whenever R=G=B it creates a shade of gray,so R=G=B=0 means black and R=G=B=255 means white,all the other possibilities between mean shades of gray.So how does Photoshop end up with this 110 value in my example? It takes the sum of the highest numerical and lowest numerical value and divides it by 2. In my example it would be (R190+B30)/2,so it just ignores the green channel .That is 220/2=110. Then makes all three values in a pixel equal with that number,we would have no gray if the three channel values are not equal.Sometimes it may be just what you need but you have to agree our apple looks like crap in RGB mode if you just desaturate it .Lets see a better way of doing it in RGB mode.
 
     
     As we see in the image above,first create a duplicate by hitting cmd/ctrl+J then hit shift+cmd/ctrl+u to desaturate the duplicate then set its blend mode to Color .Now we have a better result .Then you could use some local adjustments on it if you need to .So the color blend mode tries only to affect the color of the layer below so not the tones .If you want to affect only the tones you would use the blend mode luminosity .This would be an alternative to color corrections after tonal adjustments in RGB .They don't just work as a charm tho so if using luminosity you might find yourself having to saturate the colors in the image .You may have the same problem in LAB tho you only affect the lightness channel when you do tonal adjustments.Keep in mind that you can change the blend mode of an adjustment layer as well .Most of the time I just correct the colors tho without using the luminosity blend mode.
     2.b. DESATURATE IN LAB
     Go to Image\Mode\LAB.Lets place a sample point just like we did before,while the image is still in color and the desaturate it by hitting cmd\ctrl+U.



     As we can see in the image above L=71,a=-5 and b=68.L is the lightness channel and a and b contain the color information .After desaturation L=71,a=0,b=0.So obviously the algorithm is really simple in this case .It just turns the color information to zero and uses just the lightness channel to create our grayscale image. after this you could use some other global and local adjustments as seen in the examples above.
     Now lets see some more advanced tools photoshop has to offer to create black and white images.
   
    3.CHANNEL MIXER
     
     This one only works in RGB mode! You cant use the channel mixer while in LAB mode .Create an adjustment layer by choosing channel mixer this time .There isn't much I can say about the channel mixer,it just does what you may guess because of its name.I don't really use it only to create black and white images in case I am in the mood of using the channel mixer .The way it works is kind of like this,if you check the Monochrome check-box it will create a grayscale image .The Red ,Green and Blue sliders control how much of each channel you want to use to create the black and white image .If you take a look at your channels(window/channels)You will see by default your channels in grayscale by default .In the preferences dialog(cmd\ctrl+K) you may change that to color,then you will see your red channel in shades of red and the green and blue in green respectively blue shades but I don't see no reason you will ever want to do that.
In channels black means that that primary color is missing from those pixels,in the info panel it would show up as R or G or B=0,and white areas show that color at full intensity(255 in the info panel)Channels by their nature contain transparency. so black does mean transparency too. Whenever you create a mask it will create a new channel for it in the channels panel .This is how masks work .So dragging the red slider for example to the right will bring more red in the image,that means in the red channel the lighter areas will get even lighter so with monochrome checked the pixels that contained more red will start to get lighter .Drag it to much to the right all the image will start to get lighter as it start to add red to pixels that had no red originally.
That is why you should watch out that the total of the channels should be 100%.That's why that total is for under the three sliders .Obviously is the total is not 100% the lightness of the image will start to get messy,it will lighten or darken depending on the settings .I sometimes use the constant slider to compensate for that in case I like the image more when the total is not 100%.With monochrome unchecked you will notice that you can choose an output channel,Red,Green or Blue .And it will mix the other channels only into that channel .If you take a look at your channels while working in the channel mixer you will see that the channel chosen in the output is the only one affected. I never used the channel mixer on colored images so I don't know any reason why you would want to use that(Yes i am ashamed to admit that!).In monochrome all channels will get affected because we can only have gray in RGB while R=G=B.

    4.BLACK AND WHITE ADJUSTMENT
    This one only works in RGB mode too! There we have it! The easiest and most efficient way to create cool black and white images.
    Why these adjustments only work in RGB? My guess is that we can only use the color information of an image to manipulate the tones when we convert it to grayscale is if the lightness of the image is somehow nested in the color information as in RGB mode.So create a new adjustment layer,this time a Black and White adjustment layer .This was introduced in version cs3 so don't search for it if you have an earlier version of photoshop .We see a bunch of sliders in the panel .Red,green,blue and the complementary colors of R,G,B cyan,yellow and magenta .Depending on the direction you drag these sliders it will either darken or lighten pixels in the image that fall in the range of that slider.So in my case i darkened the reds and lightened the yellows.If you check the tint box you can ad a tint to your image .There you have one of the ways to create a sepia effect.

    How to do it in Photoshop Lightroom,Camera raw and the free to use soft,the GIMP,I will post that in a few days,so stay tuned if you want to read it!;)