Selecting Areas Based on Color

Selecting Areas Based on Color

Selecting Areas Based on Color

You can use the Wand tool and the Color Range command to select pixels in an image according to color.

To Select a Contiguous Area of Similarly Colored Pixels:

Use the Wand tool.

To Select All Pixels of a Particular Color:

Use the Color Range command.

To Use the Wand Tool:

  1. Select the Wand tool. 
  2. Point to the object you want to edit. If the paint object is not in Edit mode, the pointer becomes a hand. Click the object to put the image in Edit mode. The pointer becomes a wand.

    You can identify whether you are in Image Edit mode by the Status bar.

  3. Click the color area you want to select.
    • To add to a selectionShift-click the Wand in the image. The pointer displays a ‘+’ to show that it adds to the current selection.
    • To subtract from a selectionCommand-click the Wand in the image. The pointer displays a wand with a ‘-’ to show that it subtracts from the current selection.
    • To inverse a selection: Choose Image | Select | Inverse or Edit | Invert Selection.

To Adjust the Tolerance of the Wand Tool:

You can broaden or narrow the range of colors the Wand tool selects by adjusting its tolerance; e.g., a tolerance of zero selects pixels that exactly match the color of the pixel you click.

To Configure the Wand Tool:

Use the settings in the Properties bar. In the Tolerance field, enter a tolerance value from zero to 255. The Select throughout image option lets you select the chosen color in the entire image. To smooth the edges of the selection, turn on the Anti-Aliased option.

Selecting a Color Range

You can use the Color Range command to select all areas of similar color in an image. The command creates a grayscale selection mask similar to an alpha channel.

You can use the Load and Save buttons in the dialog box to work with color range selection files. The file format that Canvas X Draw uses for these files is compatible with Photoshop Color Range files. On Windows, these files use the extension AXT.

To Select a Color Range Interactively:

  1. With a paint object in Edit mode, choose Image | Select | Color Range.
  2. In the Color Range dialog box, choose Sampled Colors in the Select menu.
  3. Adjust the Fuzziness setting. To select pixels of exactly the same color, set the Fuzziness to zero. Increase the Fuzziness to widen the range of colors to be selected.
  4. Click a color in the preview image in the dialog box. Canvas X Draw selects a range of similarly colored pixels, depending on the Fuzziness setting.
    • To add colors to the selection, click the ‘+’ dropper icon, then click a color in the image in the dialog box.
    • To subtract colors from the selection, click the ‘-’ dropper icon, then click in the image in the dialog box.
  5. To view the selected pixels, click the Selection option. Gray areas indicate pixels that the Color Range command selects at a reduced opacity. Filters and painting tools affect these areas to a lesser degree than areas that are 100 percent selected. Click OK to apply the selection to the image.

Color Range Options

Use this dialog box to select image areas based on color.

Select

In the menu, choose the color (red, green, blue, cyan, magenta, yellow), or tonal range (shadows, midtones, highlights) you want to select.

To select a color interactively by clicking in the preview window, choose Sampled Colors.

Fuzziness

When using the Sampled Colors option, enter a low value to select a narrow color range; enter a higher value to select a wider range.

Selection

Choose Selection to preview the selection, with white representing selected pixels, in the preview window.

Image

Choose Image to see the actual image so you can sample colors with the dropper.

Dropper

With Sampled Colors chosen, click the dropper in the preview window to select colors. Use the ‘+’ dropper to add to the selection; use the ‘-’ dropper to subtract from it.

Selection Preview

Choose an option to preview the selection in the image itself, (or choose None for no preview). Grayscale shows the selection as it would appear in a channel, with white for selected pixels and black showing non-selected areas.

The Matte and Mask options show the original colors in selected areas. In non-selected areas, Black Matte shows black, White matte shows white, and Mask shows transparent red.

Selecting Unselected Areas

Use the Inverse command to simultaneously select all pixels not in the current selection while deselecting the current selection.

To Select Areas Not Included in the Current Selection:

Choose Image | Select | Inverse.

A moving dashed edge surrounds the background, a selected area

When the selection is inversed, the cup and its contents are selected

Expanding Selections with Grow and Similar

The Grow and Similar commands let you expand selections to include similar colors in an image. These commands compare the colors outside a selection to the colors in the selection. Colors that are in a specified range of similar colors are added to the selection.

The range of colors selected by Grow and Similar is based on the Tolerance setting in the Wand dialog box.

The Grow command selects similar colors that are adjacent to the current selection. The Similar command selects similar colors throughout the image.

The Grow and Similar commands are available for all image modes except Black & White.

To Use the Grow Command:

  1. Ensure the image is in Image Edit mode.
  2. To select similar colors throughout an image, you can also use the Select throughout image checkbox in the Wand dialog box.

  3. Select the Wand tool and click it on the area that you want to select.
  4. Choose Image | Select | Grow and similar colors that are adjacent to the current selection will be selected.

To Use the Similar Command:

  1. Ensure the image is in Image Edit mode.
  2. Select the Wand tool and click it on the area that you want to select.
  3. Choose Image | Select | Similar and similar colors throughout the image will be selected.

Original image

Image after tapping Magic Wand on the indicated area and choosing Image | Select | Grow

Image after choosing Image | Select | Similar

You can repeat the Grow and Similar commands to continue expanding a selection. As more colors are added to the selection, more colors are in the range of colors similar to the selection. Therefore, even though the Tolerance doesn’t change, repeating Grow or Similar can expand a selection incrementally.

Grow and Similar can help you isolate elements in an image, such as dark objects against a light background. Select part of one dark object with the Marquee tool. Choose Grow to expand the selection to the entire object. Choose Similar to expand the selection to all similar colors in the image.

    • Related Articles

    • Selecting Areas Based on Color

      Selecting Areas Based on Color You can use the Wand tool and the Color Range command to select pixels in an image according to color. To Select a Contiguous Area of Similarly Colored Pixels: Use the Wand tool. To Select All Pixels of a Particular ...
    • Selecting Areas Based on Color

      Selecting Areas Based on Color You can use the Wand tool and the Color Range command to select pixels in an image according to color. To Select a Contiguous Area of Similarly Colored Pixels: Use the Wand tool. To Select All Pixels of a Particular ...
    • Selecting Areas Based on Color

      Selecting Areas Based on Color You can use the Wand tool and the Color Range command to select pixels in an image according to color. To Select a Contiguous Area of Similarly Colored Pixels: Use the Wand tool. To Select All Pixels of a Particular ...
    • Selecting Pixels in Images

      Selecting Pixels in Images When a paint object is in Edit mode, any filters, commands, and painting tools that you apply can affect the entire image. When you have selected pixels in the image, the effect of a tool, filter, or other adjustment is ...
    • Selecting Pixels in Images

      Selecting Pixels in Images When a paint object is in Edit mode, any filters, commands, and painting tools that you apply can affect the entire image. When you have selected pixels in the image, the effect of a tool, filter, or other adjustment is ...