Figure 4:
Flowchart for preprocessing images.