[Part C] - Rather than calculate the Template Match using a simple On/Off pixel array, more sophisticated algorithms would use numbers for each pixel point. The values would indicate the

importance of the pixel with respect to matching the symbol. The best match is then determined by the absolute difference (magnitude subtraction) of the input and compare arrays.Example: Input: Output: Compare: Absolute Difference Generate a for-loop sequence of code for comparing the Input and Compare arrays to calculate the absolute difference into the Output A, B;int Input[9][6], Compare[9][6], Output[9][6];

Fig: 1

Fig: 2

Fig: 3

Fig: 4