# Inspect Textures with Red Analyze Focused Supervised

Textures often have a pseudo-random character. They can be partially described by some basic characteristics (like the direction or width of the brush strokes). However, they also have a random character which changes from one sample to the next. The challenge is to accept these "normal" variations while still detecting small, yet visually disturbing, defects.

While the Red Analyze Tool – Unsupervised Mode is able to find anomalies in complex surfaces and textures, it requires that the anomalies are visually sufficiently salient to be separable from the background texture. If this is not the case, or essentially, if Red Analyze tool in Unsupervised Mode is not responding to certain anomalies or defects as required or expected, you need to switch to Red Analyze Tool – Supervised Mode.

The objective of this tutorial is understanding the difference between the Supervised and Unsupervised mode of the Red Analyze tool.

1. Add the images for the Textures tutorial.
2. Add a Red Analyze tool.
3. Use the default ROI size, and segment the images by clicking the Scissors icon.
4. Label all of the images as Good.
5. Use the to sort the images that contain the word "bad" in their file-name (type 'bad' into the Display field). Label those images as Bad.
6. Train the tool and review the results.
7. Note that the performance is very poor, with the tool reporting nearly all the images as intermediary.
8. Switch the tool to Red Analyze Focused Supervised.
9. In 20 of the "bad" images, label the defective areas with Regions.
10. Train the tool and review the results.
11. If necessary, label additional defective areas and retrain.