This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level.

15.16 - Color Wand


The Color Wand area selection mode allows you to select areas in the image that are similar in color to the area you clicked on.

This is similar to a flood fill operation in paint programs, but with 24 bits you need to specify a variance because in many cases, colors change so subtly that you can't see the change — but the area fill engine can. The specified variance will tell F/x the amount of difference that is allowed between the selected color and surrounding colors for extendinging the area selection.

The variance values can be specified for RGB, HSL or Radial Tolerance by right clicking on the Color Wand icon in the tool box, or by selecting the Color Wand Controls... Command from the Area menu. This will present you a set of RGB, HSL and Radial variance sliders. Once you have selected the desired color space and the associated variance(s), select OK to close the dialog. The fill region will then be selected based on the Hue or RGB values of the selected color, the specified variance values, and the three wand options, which are detailed next.


15.16.1 - Wand Options

15.16.1.1 - Fill Mode

The 8-way wand option causes the wand to extend the selection not just left, right, up and down, but also up and left, up and right, down and left, down and right. This can make quite a difference in how a selection extends when regions are contained by single pixel lines if those lines don't actually make overlapping corners, as demonstrated in the wand examples just below. If in doubt, try your fill both ways.


Four-way green fill
from center

Eight-way green fill
from center

15.16.1.2 - Soft

The Soft wand option adjusts the selection's opacity to reflect how different from the sampled color each pixel in the selection is.

 Tip:

Normal selections are solidly "on" in the interior regions. That's not true when you use the wand with the soft option. So feathering, which normally you would expect to soften the edges of your selection, will also soften the interior of the selection.

This produces a very nice, smooth selection - the combination of the soft wand and the feather is unique and interesting, and well worth your time to explore.

15.16.1.3 - Resample

The Resample wand option, when checked, resamples the color to be compared against at each pixel it works with. This has two notable consequences:

  1. First, and most importantly, most selections will extend much further with the same tolerance settings.
  2. Secondly, it will no longer matter where you initially click for any particular region, as the differences between pixels are the same no matter what order they are processed. If this option is not checked, only the sample directly under the cursor is used to make the decision of how far to extend the selection.

15.16.1.4 - Copy Sample Range

The Copy button will take the variance settings that are in the wand dialog and transfer them to the Sample dialog.

15.16.1.5 - Paste Sample Range

The Paste button will take the variance settings that are in the Sample dialog and transfer them to the controls in the Color Wand dialog. This is useful in that you can take a sample, open the wand, press Paste, and the variance for RGB, HSL and Tolerance will all be set according to what was found during the sample.

15.16.1.6 - Default Settings for the Wand Dialog

Pressing the Default button will set all sliders and settings to the factory default.

15.16.2 - Combining Selections

F/x also allows you to add and subtract flood regions with previous selected flood regions and other area selections. This is particularly useful in the Draw First Method for selecting complex regions in an image for the application of single or multiple effects.

As an example, the Draw First Working Method area is selected, and then an effect or filter is selected for application to that region. The area that has been selected appears as a dashed outline. In the case of the Color Wand tool, the area of similar colors will be outlined with the dashed marquee.

You could then apply any operation that you like to that area by left clicking on the operation icon. This will cause F/x to carry out the operation in the highlighted region using the current operation settings. These operation settings can be changed by right clicking on the operation icon. This will bring up the operation control dialog. You could at this point alter the settings, and then apply the effect to the selected region by left clicking on the operation icon.

An area can be added to the first color wand area by holding down SHIFT and then left clicking on the color in the image that you would like to add. This can be done an unlimited number of times to add many portions of the image to the area selection.

F/x also gives you the option of removing areas from the area selection by holding down CTRL, and then left clicking on the region you would like to remove. Once an area has been removed, no effect will happen in that portion of the image.

See Also: Area Tools

Keyboard Navigation
, Previous Page . Next Page t TOC i Index o Operators g Glossary
WinImages F/x, Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions
WinImages F/x Manual Version 7, Revision 6, Level A

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7
Page 59