Options - Measurement - Magic Wand |
|
The Options dialog box offers several preferences that apply to interactive measurement functions. In the Tools > Options > Measurement > Magic Wand dialog box, you define the settings for the Magic Wand measurement function. Alternatively, open the dialog box by clicking this button Default settings for measurements with the magic wandThe settings in the Tools > Options dialog box are default settings for all measurements that you make with the Magic Wand measurement function. Changes made to these settings have an immediate effect on all of the measurements that follow. For every single measurement with the magic wand, you can also change the settings. To do so, select the measurement object, and click your right mouse button, to open a context menu. Use the Magic Wand Properties... command, to open a dialog box in which you can change the settings. Description of the function groupsSee also Measurement Object - Magic Wand ToleranceUse the Tolerance slide control, to increase or decrease the size of the 2D object that was found. When you use the Magic Wand measurement function, select a typical color value in the object that you want to measure. Depending on which color space you use, your software will calculate a value for this object point, e.g., the intensity value. The value in the Tolerance field is added to, and subtracted from, the source point's intensity value. By doing this, it determines an intensity range. All of the neighboring pixels that lie within this intensity range belong to the 2D object. The tolerance value is, as a rule, the same for similar objects, so that you only need to set the tolerance for an image once. Setting the tolerance value in the imageWhen you define an object on an image with the magic wand, a small cross indicates the selected point in the object. Simultaneously, a small square will also be displayed in the image. The distance between the square and the cross is a measure for the size of the tolerance value.
You can alter the tolerance directly on the image with your mouse. To do so, select the measurement object, then, while keeping your left mouse button depressed, move the small square. The further the small square is from the cross, the greater is the tolerance value. In the image, you can observe what effect the changed settings have on the image. SmoothnessYou can have the image smoothened before you use the magic wand. When you do this, image defects are suppressed and the object becomes, e.g., rounder in shape. The Rank filter is used as a smoothing filter. Using it filters out noise and individual bright or dark pixels (shot noise). In the Smoothness field, enter the size of the Rank filter's surrounding area. When the value 0 is used, the smoothing filter is switched off. The larger the value, the greater is the effect of the smoothing. Color spaceThe four buttons are options with which you can specify the color space within which you define the tolerance. These buttons are only relevant for 24-bit true-color images. The RGB color space is preset for true-color images. With binary images, 8-bit gray-value images, 16-bit gray-value images and 8-bit pseudo-color images, the tolerance value determines, in all cases, the gray threshold value. RGBIn the RGB color space, the tolerance value is always added to or subtracted from the R, G, and B value of the source point. Using the RGB color space makes sense, when you have to detect one or more hues with very little difference in saturation. This is because in the RGB color space, other colors are detected before all of a color's saturation steps have been exhausted. HSVIn the HSV color space, the tolerance value is always added to or subtracted from the H, S, and I value of the source point. Using the HSV color space makes sense, when a complete hue is to be detected, in all saturation steps except black, white and gray. ColorIn the "Color" color space, within the HSV model, the tolerance value is always added to or subtracted from the source point's color value. Using the "Color", color space makes sense, when a complete hue is to be detected in all of its saturation steps. Even very low saturations of a color are detected. In the color circle, the saturation increases from the middle to the outer regions. The intensity is the same for all pixels. The color values run around a circle from H=0 (red) to H=360. The color circle shows the differences when different color spaces are used. IntensityIn the "Intensity" color space, within the HSV model, the tolerance value is added to, or subtracted from the source point's intensity value. Use this color space when the image is indeed, a true-color image, but contains very little color information. 4409 04052011 |