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

Home > Articles > Digital Photography

This chapter is from the book

Individual Qualifier Controls

This section presents the typical onscreen controls you'll find in most HSL Qualifiers. When used together, each control contributes to a highly selective chroma key, letting you quickly sample a range of colors and refine the resulting key for the best possible effect. When used separately, these controls allow you to perform single-qualifier secondary color correction, isolating portions of an image based on individual characteristics of your image as interpreted using the HSL color model.

Eyedroppers and Color Pickers

Most HSL keyers have an eyedropper tool (Figure 4.5) with which you can click on or drag an image to choose an initial value or range of values to begin creating your key. It's a great way to start out if you're unsure exactly which range of values you need to select (which can be tricky with subtle ranges of color), even if you plan on immediately switching to manual adjustment of the qualifiers after you've found your starting point.

Figure 4.5

Figure 4.5 The eyedropper found in Apple Color.

Some applications have just one color sampling tool, with keyboard modifiers enabling you to use the same tool to add to or subtract from the key by scrubbing different pixels of the image. Nucoda Film Master and Colorista II both use bounding-box sampling. Draw a box over the region of picture you want to sample, and the matte is started.

Other applications, such as DaVinci Resolve, have separate onscreen controls for explicitly sampling a primary value, expanding and subtracting from the range of values, and expanding or narrowing the range of softness (tolerance) of the matte (Figure 4.6).

Figure 4.6

Figure 4.6 The Color Picker options presented by DaVinci Resolve. From left to right: center color selection, add to matte, subtract from matte, add softness, and remove softness.

However your controls are set up, once you click or drag with your application's eyedropper/color sampling tool, you should see the Hue, Saturation, and Luma qualifiers expand or contract to reflect the color vales of the pixels you're sampling.

Choosing an initial value or range of values with which to begin your key can be a tricky business. The noise, grain, and variation in detail inherent to any image will produce a range of color, even from pixel to pixel. That means that even if you think you've just clicked on a light part of the image, you might have inadvertently clicked on the one dark pixel of noise in that area, giving you a disappointing result. Don't worry, this is bound to happen, just sample other pixels until you find one that gives you the best initial result.

Here are two general tips for choosing a good initial value:

  • Choose a color value that's right in between the lightest and darkest values you're trying to key, starting at the middle and working your way outward.
  • If the subject you're trying to key has an uneven border with another subject—for example the sky against the horizon—and you're trying to key the sky, choosing a value that's near the border at the horizon is a good way to start building the best part of your key where it's most important.

Viewing the Mask While You Work

Most color correction applications provide you with three different ways of viewing the key you're creating as you work. This is essential to creating high-quality keys. If you only view the final result, is can be difficult to see problem areas like unwanted holes in the matte, excessive noise, or chattering edges. These three modes are as follows:

  • A high-contrast grayscale matte-only view (Figure 4.7). I find this to be the most useful preview of the matte I'm creating, as it's drop-dead obvious to see the quality of the white areas that represent the keyed area (the inside of the correction), and the black areas that represent the unkeyed area (the outside of the correction).
    Figure 4.7

    Figure 4.7 A high-contrast matte, as seen in nearly any color correction application capable of HSL Qualification.

  • The keyed area in color against the unkeyed area in grayscale or solid color (Figure 4.8). This can be a useful view for seeing how your key is shaping up, while also seeing which parts of the inside or outside of a key correspond to shadows or highlights in the subject you're isolating that you may or may not want to include in your key. The high-contrast mode can make these kinds of judgments difficult if you don't remember the image's details.
    Figure 4.8

    Figure 4.8 A saturated vs. matte mode, as seen in DaVinci Resolve, that shows you exactly which parts of the image are being included in the key. Other applications show the unkeyed area as simple grayscale, rather than a flat matte.

  • The final effect. For some applications this mode is redundant, as the matte and final effect are viewed simultaneously on different onscreen portions of the UI. However, if you're viewing the key matte on your output display, you'll need to switch to this viewing mode to go back to making the correction once you've finished refining the key.

Ideally, it's good to create and adjust your key while simultaneously viewing the matte you're creating in your application's canvas or preview window, or even output to your broadcast monitor. Surprisingly, I've found that clients love watching these mattes being made, so monitor output isn't a bad thing.

The Individual Qualifiers

Once you've sampled an initial range of values to get your key's starting point, the next step in the process is to fine-tune the matte using the qualifier controls. As seen previously, these controls typically follow some common conventions across different applications. In general, each color component has a set of handles and parameters that allow you to adjust one of two sets of values:

  • Range handles let you enclose a base set of values that contribute to the hardest, whitest part of the key.
  • Tolerance (or softening) handles let you include an additional set of values that add a gradual falloff around the edge of the key, which appears as a range of gradually diminishing grayscale values surrounding the hardest part of the key. Widening the tolerance yields softer edges and a more inclusive key, and narrowing them yields harder edges and a more restrictive key. If the edges of the key are gentle enough due to the softening that tolerance provides, you may not need to blur the resulting matte.
  • Enable/Disable checkboxes let you manually decide which qualifiers you want to use for a particular keying operation (Figure 4.9).
    Figure 4.9

    Figure 4.9 The GUI of a typical qualifier control, as seen in Apple Color. Each set of controls typically corresponds to one or two control panel knobs.

Additionally, there are two general methods used for manipulating controls. The methods used depend primarily on how these controls are mapped to the rotary knobs on a control surface.

  • Centered controls work using three knobs per color component. The first knob moves the center point of both pairs of range and tolerance handles all together to the left or right, a second knob expands and contracts the range and tolerance relative to the center, and a third knob expands and contracts the tolerance relative to the current position of the range handles.
  • Asymmetrical controls use four knobs to move the left- and right-hand sets of controls of each qualifier separately. Two knobs for Low and Low Soft adjust the left-hand range and tolerance, while two more for High and High Soft adjust the right-hand range and tolerance separately.

If you're using a GUI rather than a control surface, you might actually be able to manipulate the qualifiers in either of these ways, using keyboard modifiers while dragging the appropriate handles.

Hue Control

The Hue qualifier lets you select a portion of the color spectrum to isolate a range of color within an image. The spectrum is continuous, wrapping seamlessly from the left of the control to the right of the control (Figure 4.10).

Figure 4.10

Figure 4.10 The Hue qualifier graph as seen in DaVinci Resolve.

If you turn on the Hue control without turning on the Saturation control, you'll select all color values within a particular range of hues without regard to intensity or lightness.

Saturation Control

The Saturation qualifier lets you select a range of saturation, or color intensity, within the image. The black or colored end of the ramp represents 100 percent saturation; the white or gray portion of the ramp indicates 0 percent saturation (Figure 4.11).

Figure 4.11

Figure 4.11 The Saturation qualifier graph as seen in DaVinci Resolve.

If you turn on the Saturation control without turning on the Hue control, you'll select all color values within a particular range of saturation without regard for the actual colors themselves.

Luma Control

In a keyer, this qualifier lets you isolate a range of luma, the lightness component of an image (the Y' in Y'CbCr). The black end of the ramp represents 0 percent luma; the white end of the ramp indicates 100 percent luma. In some implementations, there's an additional region of this control that represents the super-white range from 100 to 110 percent (Figure 4.12).

Figure 4.12

Figure 4.12 The Luma qualifier graph as seen in DaVinci Resolve.

If you turn on the Luma control without turning on the Hue or Saturation controls, you'll select all areas of an image within a particular range of lightness, without regard to the color, similar to creating a luma key. This frequently yields the greatest amount of edge detail with highly compressed media, and it is a commonly used technique for segmenting an image that we'll see later in this chapter.

Post-Key Mask Utilities—Blur and Edge Manipulation

Once a key has been pulled using the eyedropper/color sampling and qualifier controls, the result is a grayscale image. Most HSL keyers provide additional filtering operations that you can use to manipulate this image to make it more usable in situations where a key was difficult to pull, or when the key has noise, chatter, or other undesirable artifacts that would give the resulting correction away.

Although these operations lend themselves to quick fixes, make sure that you've exhausted the possibilities of the qualifier controls to pull the best possible key, and be careful not to use settings that are too aggressive. If you overdo these types of operations, you may wind up with halos or other problems that might actually be worse than the artifacts you're trying to avoid.

Blur/Softening/Feathering

Softening simply blurs the keyed matte. This function is useful for eliminating spurious areas of keyed detail that you don't want affecting the final correction, as well as for minimizing the visible effect of animated buzz and noise in the matte (Figure 4.13).

Figure 4.13

Figure 4.13 A matte, before and after adding blur to soften the edges and minimize marginal portions of the key.

Oversoftening the matte and then creating a correction could result in the same correction being applied to an area surrounding the intended subject, producing an unwanted glow where the correction spills onto the over-feathered area (unless you're intentionally using a secondary to create a glow operation, a process covered in Chapter 10).

Shrink

Some applications also have a Shrink parameter (or whatever the corresponding control in your application is named). This is usually an averaging control similar to the matte choke function found in compositing applications (Figure 4.14).

Figure 4.14

Figure 4.14 Left, the original mask; center, the matte after using the Shrink parameter to expand it, filling out holes; right, the matte after using the Shrink parameter to contract it, eliminating unwanted marginal areas of the matte. These mattes were created in DaVinci Resolve.

As seen in Figure 4.14, this control expands or contracts the edges of the matte:

  • Expanding the edges of a matte is useful for filling in small holes appearing in a troublesome matte.
  • Contracting the edges of a matte is useful for eliminating spurious pixels and unwanted details in the matte, as well as for shrinking the overall matte.

Using shrink all by itself can sometimes result in blockier edges, which is seldom desirable. In these cases, adding some blur will smooth out the result (Figure 4.15).

Figure 4.15

Figure 4.15 A shrunken matte that's been blurred to address the blocky edges.

Inverting the Key

Color correction applications deal with whether corrections apply to the white portion (inside) or black portion (outside) of a matte in one of two different ways:

  • Applications such as DaVinci Resolve and Assimilate Scratch let you invert the keyed matte, switching which part of the image a correction affects.
  • Applications including Autodesk Lustre, FilmLight Baselight, and Apple Color let you explicitly set whether a correction affects the "Inside" or "Outside" portion of the matte.
  • DaVinci Resolve's node-based correction interface also lets you create an "outside node" that you can use to grade the opposite portion of a key relative to the original node you created.

Inverting a key is an ideal approach if the subject to be excluded from a color correction operation is uniform enough in color and lightness to be selected with an application's Limit Effect controls, and you want to apply the secondary color correction to everything else.

For example, if we wanted to adjust everything within the frame except for the dress, we can still pull our key off of the dress since it's the easiest thing to do (Figure 4.16).

Figure 4.16

Figure 4.16 At left, the original key pulled off of the woman's dress. At right, the inverted matte, useful for adjusting everything except for the dress.

Then, using whatever control inverts the matte, you can reverse the black and white regions, so now the dress becomes the area that won't be affected by the secondary correction, while the rest of the image is now set up for the correction you want to make.

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