# Blue Locate Tool – Creating a Layout Model

Once features have been labeled, a layout model can be created.

Note:

One limitation of the layout model interface is that a given region may specify which feature types are valid as well as the total number of features (Feature Count) that are required for the region to be valid. More complex types of validation expressions are not supported (for example, a single region that requires one instance of FeatureA, three instances of FeatureB and two instances of FeatureC).

To implement more complex validation expressions, you can "stack" regions by creating multiple regions with the same location and dimensions, but different validation criteria for each region. For example, Region1 would have FeatureA selected, and one instance of FeatureA; Region2 would have FeatureB selected, and three instances of FeatureB; and Region3 would have FeatureC selected, and two instances of FeatureC.

In order for the model to pass, all of the regions must pass.

1. From the Tool menu, select Edit Models.

2. In the Model Editor dialog, select Layout Model.

3. This will launch the layout model editor, where you can press the Add button to configure a region of interest that will define where to search for one or more features.

4. Configure the region of interest over the desired area of the image.

5. Select the region, and then select the feature(s) in the Feature Matching selector menu, and in the Feature Count field, set the number of instances for all of the features (i.e. the sum) within the region.

6. You can repeat steps 3 through 5 for each of the regions that should compose the model.

7. After closing the layout model (press the X button in the upper-right corner of the dialog), you will get feedback by the tool in the image/view.

   The check marks in the lower-left corner indicates if the region passed. If the features were not found, there will be an X instead of a check mark.