Home > Articles

Selection Modes

This chapter is from the book

Hour 3: Selection Modes

Now you're making progress. You've learned how to bring images in and out of Photoshop. The next step is learning to work with images and edit them. To do this, you have to select a part of the picture on which you want to work. Selections are just what they seem to be—portions of the image that you have selected.

The Selection Tools

There are several ways to select a piece of a picture. You can use any of the Selection tools: Marquee Tools, Lasso Tools, or the Magic Wand. You have different kinds of Selection tools because you sometimes need to make selections in a particular way, such as punching a shape out of an image or selecting all of the sky. Photoshop's Selection tools give you the power to select the whole picture or a single pixel. Just to refresh your memory, Figure 3.1 shows the Selection tools. (The pop-out menus have been shifted so that you can see what's on them.) In Photoshop 7, the tools are spelled out by name, rather than relying on the icons for identity.

Figure 3.1 The Selection tools are at the top of the toolbox.

Rectangular and Elliptical Marquees

The Marquee tools, both Rectangular and Elliptical, are found in the upper-left corner of the toolbox. To select the Rectangular Marquee, just click it or press the letter M on your keyboard. To select the Elliptical Marquee (also known as the Oval Marquee), click and hold the Rectangular Marquee in the toolbox. When the pop-out menu appears, select the Elliptical Marquee. Use this method to select the Single Row or Column Marquee, too.

Assuming that the Rectangular Marquee is the currently selected tool, you can also press Shift+M to switch back and forth between the two. The Elliptical Marquee Tool works the same way as the Rectangular Marquee Tool. The icon will change accordingly on the Tool Options bar.

To experiment with its many uses, first create a new file (go back to Hour 1, "The Basics," if you can't remember how). Again, give yourself some room to work. Set the dimensions to the Photoshop default.

  1. Click the Marquee Tool in the toolbox.

  2. As you move the tool over the canvas, the cursor appears as a crosshair.

  3. While the cursor is over the canvas, click and hold the mouse button, and then drag out a marquee.

  4. Experiment with dragging out an elliptical marquee. Try to get a sense for how marquees appear. Try dragging from different directions.

If you press and hold the Shift key after you've made your first selection and before you click again, you can make additional selections. Take care to continue holding the Shift key while making additional selections. (You'll see a plus sign beneath the crosshair.) Where the selected areas overlap, they'll merge to form one larger selected shape. In Figure 3.2, I've shown both single marquee shapes and a combination of shapes making a selection somewhat resembling the Taj Mahal.

Figure 3.2 You can also combine square and round selections.

To draw a perfectly square box or round circle, select Constrained Aspect Ratio from the Style pop-up menu on the Tool Options bar, or press the Shift key as you drag the shape. Use Fixed Size to make multiple selections that are the same size.

To deselect an area inside another area (making what graphic artists call a knockout), press Option (Mac) or Alt (Windows) as you drag the inner shape. (You'll see a minus sign beneath the crosshair.) For instance, if you have a circle selected and drag another smaller circle inside it while pressing Option (Mac) or Alt (Windows), the selected shape is a donut.

The thin, horizontal (Single Row) and vertical (Single Column) marquees select a single row of pixels, either horizontally or vertically. They are often useful for cleaning up the edges of an object.

When you are dealing with selections, it is important to remember that, for good or bad, only the area within the confines of the marquee can be edited. It is the only active area of the canvas. Thus, after a selection is made, you can perform whatever action you want, but before you move on, the selection must be turned off, or deselected, by clicking outside the selected area with one of the Marquee tools or by pressing Command+D (Mac) or Control+D (Windows). Until you do so, you can only edit within the selection's boundaries. On the other hand, this restriction on editing can be extremely helpful if you need to draw a complex filled shape. Assemble the shape from multiple selections, as I have in Figure 3.2. Then you can pour paint into it, apply a gradient to it, or use the Paintbrush with no fear of coloring outside the lines. You can even use the selection to erase a piece of the picture. If I filled the page with color or with an image and selected a shape from within it, I could easily remove the active selected piece by pressing the Backspace/Delete key.

NOTE

If you copy or paste something onto your canvas, and then try to select a different part of the picture, you might find that the Marquee Tool doesn't work. You might also get a message saying "Could not complete your request because the selected area is empty." This is Photoshop's way of reminding you that you have added another layer to your picture by pasting into it, and the part you're trying to copy isn't on that layer. Look at the Layers palette, and click the layer on which you want to work. Clicking its icon will make it the active layer. You will learn all about working with layers in Hour 11, "Layers."

Lasso

As useful as the Marquee tools and their modifier keys are, there will come times when you have to select irregular shapes. Perhaps you might need to select a single flower from a bunch or, as in Figure 3.3, remove the headlight from the roadster.

Figure 3.3 Selecting an object with the Lasso.

Using the primary Lasso Tool to select an object in this way requires a steady hand and good hand-eye coordination, as well as a clean mouse and mousepad or trackball. As with the Marquee tools, you can add to your lassoed selection by holding the Shift key and selecting additional parts of the object.

TIP

I've found that when I am trying to make a very careful selection with the Lasso Tool, and when I am using Photoshop in general, it helps to slow my mouse down. You can adjust the speed of mouse reaction time in the Mouse section of your machine's Control Panel. Start by setting the slider just a little higher than the slowest setting. Experiment to see what works best for you.

To Do: Create a Selection with the Lasso Tool

To make a selection with the Lasso Tool, follow these steps:

  1. Select the Lasso Tool from the toolbox or press L.

  2. Click and carefully drag the Lasso Tool around the piece of the image you want to select. You see a solid line as you drag.

  3. When you're close to completely enclosing the selection, you can release the mouse button. The two ends of the selection marquee that you have drawn around the shape automatically join together, completing the marquee. If you release the mouse button before you have traced all the way around, the ends of the lasso line will still connect, even if it means drawing a line through the center of the object. If that happens, press and hold the Shift key and use the Lasso Tool again to finish drawing the shape.

The Polygonal Lasso Tool

The Polygonal Lasso Tool behaves in much the same way as the regular Lasso Tool. The difference is, as its name implies, it makes irregular geometric selections. It's actually easier to use when you need to make detailed selections because it can be controlled more easily. Instead of simply dragging a marquee line, as you do with the regular Lasso, you click the Polygonal Lasso to place points, and Photoshop inserts a straight-line marquee between the points. You can place as many points as you need, as close together or far apart as necessary. Figure 3.4 shows the tool in use.

Figure 3.4 The Polygonal Lasso Tool.

To Do: Create a Selection with the Polygonal Lasso Tool

To use the Polygonal Lasso Tool, follow these steps:

  1. Click the Lasso Tool and hold until you see the pop-out menu.

  2. Select the Polygonal Lasso Tool. (You can also do this by skipping step 1 and simply pressing Shift+L until you've selected the tool.)

  3. Click once in the canvas. Now move your mouse. Notice that a line follows your Polygonal Lasso wherever you move it.

  4. Click again. This draws the first line and sets another point from which you can drag. Place another line and click again.

  5. Now with two lines set, you have an option. You can either continue to select the image, or you can double-click. This automatically finishes the selection for you.

    When the cursor nears your starting point, notice that a small circle becomes appended to the cursor. This signals that, if you click, the selection will be completed.

  6. Click to complete your selection.

TIP

Many of Photoshop's tools, including the Selection tools, have additional options for their use. These are found on the Tool Options bar. Whenever you select a new tool, be sure to look at its options.

The Magnetic Lasso

The Magnetic Lasso is one of my most-used tools. As you drag it around any shape with a reasonably well-defined edge, it snaps to the edge. Select it and use it just as we did the Polygonal Lasso. Because it finds edges by looking for differences in contrast, the Magnetic Lasso is most effective on irregular objects that stand out from the background. You can use the Tool Options bar to set the parameters. Detection width refers to how close to the edge you must be to have the Lasso recognize it (see Figure 3.5). Edge contrast determines how different the pixels must be in brightness value for the Lasso to recognize them. Frequency determines how often the Lasso sets its anchor points. (Anchor points are the points indicated by boxes on a line. Drag them to adjust the line.)

Figure 3.5 Set the edge according to the contrast between the intended selection and what surrounds it.

Magic Wand

The software designers at Adobe Systems must not have been able to come up with a more descriptive name for this fantastic tool, choosing instead to let it, perhaps, speak for itself—the Magic Wand. Maybe it's better that way.

The Magic Wand is a different kind of Selection tool. So far we've looked at tools that select pixels based on their placement in the bitmap (the picture). The Magic Wand selects pixels somewhat differently; it selects them based on color values. This enables you to cut foreground objects, such as the lamp, out of the background. You might need to combine several selections by holding the Shift key, as we are doing in Figure 3.6, to select the entire object.

Figure 3.6 Selections being made with the Magic Wand.

As with the previously described tools, the Magic Wand can make and merge selections if you press the Shift key as you click the areas to select.

The Magic Wand selects adjacent pixels based on color similarities. Its tolerance can be set in the Tool Options bar. Tolerance, in this instance, refers to the Magic Wand's sensitivity to color differences.

The rule is easy to remember: The lower the Tolerance setting, the less tolerance the Magic Wand has for color differences. Thus, for example, if you set the Tolerance higher (it ranges from 0 to 255), it selects all variations of the color that you initially select.

Settings on the Tool Options bar allow you to select everything in the picture that matches the selected color or select only pixels that touch each other. If, for example, you have a picture with several yellow flowers and your Tolerance setting is high, you'll select as much and as many of the flowers as fits the tolerance. If you check Contiguous in the Options palette, you'll select only the parts of the flower you click on that are within the tolerance and have pixels that touch each other. In Figure 3.7, I've set the tolerance to 32, and clicked once on each screen. The screen on the left had Contiguous selected. The one on the right did not.

Figure 3.7 Selecting noncontiguous pixels can save you a lot of time.

The Magic Wand is best used for selecting objects that are primarily one color, such as the flower. It's ideal when you need to select the sky in a landscape. In a few minutes, you'll see exactly how to do this, but first, there are some other selection tricks to learn.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT 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 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 information@informit.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 InformIT. 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.informit.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