Publishers of technology books, eBooks, and videos for creative people

Home > Articles

Image Editing Basics

This chapter is from the book

Technically, all photography is "image editing." From the moment you compose a shot, you are editing—selecting a particular window onto your subject, manipulating the sense of depth in that window by choosing a focal length and camera position, emphasizing certain tones and colors through exposure. In other words: though photographs may appear realistic, they are a far cry from a truly accurate representation of reality, and represent one person's choice about what to capture and display.

Aside from these philosophical fine points, there are, of course, other, more direct edits and manipulations that the photographer can make. From choosing exposure, to shooting through filters, to dodging and burning, airbrushing, and compositing, photographers have long had the ability to manipulate images. Digital photographers have even more tools and options at their disposal, and unlike traditional darkroom techniques, digital tools don't require years of practice to master.

When you choose to shoot raw, you get one or two new editing and correction tools that aren't available in most image editing programs. For the most part, though, raw converter applications provide the same types of tools that you find in any image editor, but with one important difference: when you edit in a raw converter, you have much more image data to work with, which means that you can perform edits that are much more refined.

Before we jump into the specifics of Adobe's Camera Raw converter in Chapter 4, we'll cover the image editing basics that you need to understand to use your raw converter and to get the most out of your digital camera and your image editor.

You're not going to learn how to perform wacky touch-ups in this chapter. We won't be covering compositing or cloning or airbrushing or any of those types of corrections. Instead, you'll learn about the fundamental tonal and color corrections that you'll apply to just about every image that you shoot.

Color Information Theory

If you take this book into a windowless closet right now and close the door, you'll have a very difficult time reading this text. In a darkened closet, your eyes can't gather enough light to render a legible image. Similarly, if you take a walk in the park at night, although you may be able to navigate and see things just fine, you probably won't experience a glorious display of color. Again, this is simply because your eyes are not able to gather enough light to render a color scene.

Your digital camera converts light into ones and zeros: data. Just as your eye needs a fair amount of light to be able to see an image, and even more light to be able to see a color image, the amount of data that you collect with your camera determines the quality and nature of the image that your camera will produce.

A sculptor needs a good-quality piece of stone to create a good work, and as a digital photographer, you need good data and as much of it as you can possibly lay your hands on. Therefore, your goal when shooting is to gather as much image data as you can. An image with lots of data will not only look better straight out of the camera, but it will afford you much more editing latitude. You'll be able to push and pull your colors further if your image is data-rich.

It's essential to remember that the level of detail in an image is directly related to the amount of color information that you have. For example, Figure 3.1 shows an image that was overexposed; the brighter areas such as the chrome highlights around the headlight were "blown out" to complete white. Because they're a mostly uniform color, those areas show very little detail. Contrast and varying colors and tones are needed to render contour and detail in an image. If your image lacks data, it lacks the varying shadows and highlights that are needed to render fine detail.

03fig01.jpg

Figure 3.1 Because this image is overexposed, many of the bright highlights and brighter areas of the image have "blown out" to white.

Figure 3.2 shows the same image properly exposed. Now if you look at the chrome highlights, you should see a fine gradation composed of lots of subtly varying gray tones. Similarly, the yellow fender should have a little more contour and shape to it. The correlation is very simple: where there's data, there's image detail; where there's no data, there's no image detail. (Underexposing an image can lead to the same problem, but instead of producing fields of white pixels, an underexposed image will have shadow areas that are composed entirely of black pixels.)

03fig02.jpg

Figure 3.2 In a properly exposed image, the highlights are composed of varying shades of light tones, rather than complete white.

So how much is the right amount of color information? How do you keep track of it? How do you know if you've used it up? Fortunately, most image editors (and many cameras) provide a histogram, a simple tool that provides the answers to all of these questions. The histogram will quickly become your indispensable, irreplaceable, you-can-have-it-when-you-pry-it-from-my-cold-dead-fingers image editing tool.

Histogram 101

If you're not already familiar with an image editing histogram, then read this section very closely. Though it may seem to veer dangerously close to something mathlike, understanding a histogram is actually very simple.

Most image editors provide a histogram display of some kind. Photoshop and Photoshop Elements provide a Histogram palette, and some image editors employ a special Histogram dialog box. Still others display a histogram as part of their Levels control, a tool we'll explore in more detail later in this chapter.

A histogram is nothing more than a bar chart that graphs the distribution of tones in an image, with black at the left edge and white at the right and one vertical bar for every tone in between. In other words, for every gray value in the image, from 0 gray at the left to 255 gray at the right, the histogram shows a bar representing the number of pixels with that value. For a very simple image like the one in Figure 3.3 , the histogram contains only four lines: one at the extreme left edge, representing the black swatch, two in the middle for the two gray swatches, and one at the extreme right edge for the white swatch.

03fig03.gif

Figure 3.3 This simple four-tone image (top) yields a histogram (bottom) with four bars: one for each tone.

That's really all there is to a histogram. As an image becomes more complex, containing more tones, the histogram fills with more bars. Figure 3.4 shows a simple grayscale ramp and its corresponding histogram.

03fig04.gif

Figure 3.4 A histogram is simply a graph of the distribution of tones in an image. The histogram for this gray ramp shows a smooth distribution from black on the left of the histogram to white on the right.

Now consider some real-world examples. Figure 3.5 shows a well-exposed image and its histogram. (The gray ramp beneath the histogram in Photoshop is provided to help you see that the histogram charts black to white.) The histogram shows that this image has a fairly complete range of tones from black to white. The shape of the histogram is irrelevant—there's no "correct" shape that we're trying to achieve. Every image has a differently shaped histogram because every image has different amounts of different colors. One thing we can learn from the histogram, though, is that this image has a good range of contrast from complete black to complete white.

03fig05.jpg

Figure 3.5 This image is well-exposed and so has a histogram that contains a lot of data ranging from black to white. However, neither end of the histogram is clipped at the edge. Instead, both the shadows and highlights make smooth transitions to complete black and white.

Figure 3.6 shows an overexposed image. On the left side of the histogram, the data tapers off, dwindling to nothing by the time we reach the histogram's middle. On the other side, though, the image data slams into the right edge of the histogram, indicating overexposure, a situation referred to as highlight clipping. Remember: Where there's pure white, there is no contrast and no information—no image data—and therefore no detail. Because the histogram shows a preponderance of pure white, it's safe to say that the image is overexposed and, therefore, has lost detail.

03fig06.jpg

Figure 3.6 This image is plainly overexposed. Its histogram lacks data in the shadows and midtones, and the highlights are heavily clipped.

Figure 3.7 shows an underexposed image, and as you would expect, the results are pretty much the opposite of Figure 3.6. The histogram's data is clipped on the left side of the graph, indicating an undue number of pixels that have been reduced to featureless blobs of black. Although this image may not look so bad underexposed, there's no way to pull any detail back out of those solid-black shadow areas if you want to. Ideally, it's better to have a well-exposed image that you can darken later than to have a dark image (or an overly exposed bright image) with less editing flexibility.

03fig07.jpg

Figure 3.7 This underexposed image sports a histogram with the majority of its data crammed against the left, black side. Because the blacks are clipped, the shadows in this image are solid black, making it impossible to pull out any usable detail.

In addition to helping you spot overand underexposure, your histogram can help you analyze other image troubles.

Contrasty histograms

The human eye is much more sensitive to changes in luminance, or brightness, than it is to changes in color. Because of this, images that have more contrast are often more appealing ( Figure 3.8 ).

03fig08.jpg

Figure 3.8 In general, images with greater contrast, such as the right image here, are more pleasing to the eye.

Because an image with greater contrast usually has more tones and gradations, it delivers better detail and subtlety. I say "usually" because an image can have great contrast between its darkest and lightest tones without having a lot of other tones in between (consider a black-and-white checkerboard). The histogram makes it simple to determine how much contrast your image has and how much data there is between your lightest and darkest tones.

If we look at the histogram for the low-contrast image in Figure 3.8, we see that the image data neither extends all the way down to black nor all the way up to white—it's collected in the middle. In other words, there's not a lot of contrast between the darkest and lightest tones ( Figure 3.9 ).

03fig09.gif

Figure 3.9 Photoshop's histogram of the left image in Figure 3.8 shows that the image has no black or white tones. The distance from the darkest to the lightest tone is very short—showing low contrast.

By contrast (sorry!), Figure 3.10 shows a well-exposed image. Its histogram shows data that extends all the way to both ends, yielding an image with a good range of detail from black to white.

03fig10.jpg

Figure 3.10 This image was well exposed and has a good range of contrast. The histogram shows that the tonal range goes from black to white, without clipping on either end.

Another way of thinking about the histogram is to say that it shows how much information we've captured. The histogram in Figure 3.5 shows an image with a tremendous range of information (that is, gray levels), while the histogram in Figure 3.9 shows a much smaller quantity.

So tell me something I didn't know

So far you may be thinking, "What do I need a histogram for—I can see everything we're talking about just by looking at the image?"

While it may be obvious that an image is overexposed, the histogram gives you a little more information, which can be useful later in your raw conversion, as you'll see in the next chapter.

Also, most cameras these days let you view a histogram of any image that you've shot. As you'll see in Chapter 6, you can use your camera's histogram display to great advantage while shooting.

Perhaps the must useful application of the histogram, though, is in combination with other editing tools provided by your image editor, as you'll see in a moment.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020