# High Detail Mode

When using the Red Analyze tool in High Detail Mode, follow these steps:

1. If a pose from a Blue Locate tool is being used to transform the orientation of the View being used as an input to the Red Analyze tool, process the images (press the Scissors icon) before opening the Red Analyze tool.

2. If necessary, adjust the Region of Interest (ROI). Within the Display Area, right-click and select Edit ROI from the menu.

   1. After adjusting the ROI, press the Apply button and the adjusted ROI will be applied to all of the images.
   2. Press the Close button on the toolbar to continue.
3. If there is extraneous information in the image, add appropriate masks to exclude those areas of the image. Within the Display Area, right-click and select Edit Mask from the menu.

   1. From the Mask toolbar, select and edit the appropriate masks.

   2. After adding the necessary mask(s), press the Apply button and the mask will be applied to the current image.

      If you click Apply All and click Yes button on the ensuing Apply Mask dialog after adding the necessary masks, the same mask will be applied on all the images. If you click No on the dialog, the mask will not be applied and you go back to the Edit Mask window.

   3. Press the Close button on the toolbar to continue.
4. Go through all of the images and label the defects in the images.
5. Make sure that all of the images have been labeled.
6. Prior to training, you need to set parameters in Tool Parameters. You can configure Training and Perturbation parameters or just use the default values of these.
   1. Red Analyze High Detail mode doesn't have Sampling parameters as it doesn't use feature-based sampler but it samples from the entire pixel of each view. For the details of training and perturbation parameters, refer to Red Analyze High Detail Mode Tool Parameters.
7. Train the tool by pressing the Brain icon.
   1. For Red Analyze High Detail mode, you can check the training status by monitoring Validation Loss with Loss Inspector.
8. After training, review the results.
   1. Go through all of the images and determine whether or not the tool correctly marked the defects in the image.
      1. If the tool has correctly marked the features, right-click the image and select Accept View.
      2. If the tool has incorrectly marked the defects, or failed to identify a present defect:
         1. Right-click the image again and select Clear Markings and Labels.
         2. Manually label the defective pixels.
      3. If you want to tune the result by affecting the processing, you can manipulate Processing parameters and re-process by clicking Magnifier icon to get the changed results. For example, to change the decision boundary which is determined by T1 and T2, you can manipulate the Threshold parameter.
   2. If you encountered the scenario in (a.), you are ready to use the tool. If you encountered the scenario in (b.), you will need to retrain the tool and repeat steps 7 and 8.