# High Detail Mode Perturbation Parameters

High Detail mode provides 13 perturbation options. Use only the perturbation options which can actually be acquired at production lines.

Note: All Train images can be applied to perturbation. Every train image has 50% chance to be augmented to every checked options independently.
By the law of large numbers, all perturbation options can be applied equally and trained by increasing the number of epochs.

Perturbation | Description
--- | ---
Horizontal Flip | It performs flipping in horizontal direction. You may use in most cases where object location and angles are not strictly fixed.
Vertical Flip | It performs flipping in vertical direction. You may use in most cases where object location and angles are not strictly fixed.
Rotation 90° | It performs only +90° rotation. If you check three options ‘Horizontal Flip’, ‘Vertical Flip’, ‘Rotation 90°', it performs 0°, 90°, 180°, and 270° rotations probabilistically.
Rotation | It performs rotation between 0° to 45°. So, applying four options 'Rotation 90°', 'Rotation', 'Horizontal Flip' and 'Vertical Flip' is same with randomly rotating between 0° to 360°.
Contrast | It adjusts contrast by multiplying a random value for all channels. The random value follows the uniform distribution within a range of 0 to 2. You can use this option when the images are obtained with inconstant contrast because of the irregular lighting environment
Luminance | It adjusts luminance by adding a random value for all channels. The random value follows the uniform distribution within a range of - 255 to 255. You can use this option when the images are obtained with inconstant luminance because of the irregular lighting environment.
Colorwise | It adjusts color by multiplying and/or adding different random values per channels. It should be used with Contrast and/or Luminance option. The colorwise option is applied by changing the way of Contrast and Luminance option applied form applying same value for all channels to different random values for each channel. You can use this option when the images are obtained with inconstant color tone because of the irregular lighting environment.
Gradation | It randomly adjust the gradation. You can use this option when the images are obtained with inconstant gradation because of the irregular lighting environment.
Zoom-In | It randomly zooms in the views from the center. The maximum of zooming is 5/6 of original view size. The random variable follows the uniform distribution. You can use this option when the defect to be detected has an irregular product size.
Sharpen | It randomly sharpens the views by image filtering within a range of 0 to 2. You can use this option when the focus issues the image too blurry.
Blur | It randomly applies Gaussian Blur to the views. The random variable follows to the Gaussian Sigma Distribution within a range of 0 to 2. You can use this option when the focus issues the image too sharp.
Distortion | It applies a distortion to the views by picking the points in the views and moving them. The number of points is same or less than 6. You can use this option when the images are distorted due to the deterioration of the optical equipment.
Noise | It applies the noise by multiplying a random value per pixel for all channels. The random value follows the uniform distribution within a range of 0 to 2. You can use this option when the images are distorted or contaminated by dust due to the deterioration of the optical equipment.