# Configuring Features Parameters

Unlike other tools, when you use the Blue Locate, you need to configure the Features parameters and Sampling parameters before labeling Labeling is the process of annotating an image with "ground truth". Depending on the tool that you are using, labeling can take different forms. You label an image set for two reasons: to provide the information needed to train the tool and to allow you to measure and validate the performance of the trained tool against the ground truth. because these parameters affect the size and other properties of feature A feature is a visually distinguishable area in an image. Features typically represent something of interest for the application (a defect, an object, a particular component of an object). labels you place on each view A view of an image is a region of pixels in an image. Tool processing is limited to the pixels within the view. You can manually specify a view, or you can use the results of an upstream tool to generate a view..

### Oriented

The Oriented setting is manually configured by adjusting the orientation of the feature label graphic. Adjust the orientation of the feature label graphic by clicking on a handle of the label, and dragging it to the desired orientation. Ensure that you rotate each feature label so that it correctly labels the orientation of the feature.

1. Select Oriented in Features parameters.

2. Select a feature on Image Display Area. A red rotation toggle button will show up.

3. Select the toggle and drag it around to rotate the feature.

Note: If your application contains rotated features, teach the Blue Locate tool to properly handle rotation.

- Enable the Oriented parameter.
- Make sure that all of the various rotation variances are accurately labeled.

### Scaled

When Scaled is enabled, you label each feature with the feature's size. At runtime, you specify the range of feature sizes across which to search. With Scaled enabled, you set the Feature Size to indicate the feature size The subjective size of the image features that you feel are most important for analyzing image content. The feature size determines the size of the image region used for sampling. Only used with Blue Locate, Blue Read, and Legacy type tools. that is at 100% scale. The runtime scale range is the range of feature sizes returned relative to the base feature size. You may also select whether to enable Uniform or Non-Uniform scale.

Scaled Uniform

When Uniform scale is enabled, all of your feature labels will be the same shape, albeit with different sizes. When labeling each feature, you label each feature based on its size. During the runtime operation of the tool, you specify the range of feature sizes that you expect to encounter.

Note: Hold down the Ctrl key while dragging a region handle to center the resizing of the feature label graphic.

Scaled Non-Uniform

If Non-uniform scale (also referred to as aspect-ratio) is enabled, then you set the feature size to indicate the 100% scale of X and Y independently, and label each feature instance with a unique aspect ratio. This can be useful when training Training is the process that your tool, which is a neural network, is learning about the features (pixels) based on the labels you made. For example, a tool will learn the defect/normal pixels in each image based on the defect/normal labels you drew. The goal of the tool Training is learning enough to give the correct inspection results of whether an unseen image is defective or not. The key to training is to ensure that you include all possible variations within your training set, and that your images are accurately labeled. Training times vary by the application, tool setup and the GPU in the PC being used to train the network. a single tool to find a range of differently-shaped parts.

Note:

- Ensure that the Feature Size parameter setting matches your label's dimensions. This can either be set graphically, or you can manually set it based on your label (hover over the label to get the X and Y dimensions of the label).
- Hold down the Ctrl key while dragging a region handle will center the resizing of the feature label graphic based on the current location of the feature graphic.
- Hold down the Shift key while dragging a region handle to create a uniform scale of the feature graphic label.