Programming Parallel Computers 2019

Exercise IS: image segmentation

Overview

Find the best way to partition the given figure in two parts: a monochromatic rectangle and a monochromatic background. The objective is to minimize the sum of squared errors.

Examples

Input OutputOutput
Input OutputOutput
Input OutputOutput
Input OutputOutput
Input OutputOutput