Stage 1

After its initialization, the host agent splits the input image of size (m × n) into (m × n) elementary images.

Host Agent Worker Agent

Stage 2

The host agent deploys a set of size (m × n) of the classification agents and encapsulates an elementary image for each one.

Stage 3

The classification agents perform the classification on their data and send the results to the host agent.

Stage 4

The host agent assembles the final results and displays the c output segmented images where c corresponds to the class number.