Question: Create a dynamic 2-D array named input with size 6x6 and initialize it with random values between 100-199 using above initialize2D function. Create another

Create a dynamic 2-D array named "input" with size 6x6 and initialize it with random values between 100-199 using above initialize2D function. Create another 2-D dynamic array named "kernel" of size 3x3 with following values; "Convolution" 0 -2 -2 5 0 -2 31 1 28 4 10 7 32 6 0 -2 0 23 511 3 1 4 1 26 5 321 37 2 9 26 25 1 Original image 6x6 10-1 10-1 10-1 Filter 3x3 = Output 4x4 Result of the element-wise product and sum of the filter matrix and the orginal image Find the output matrix by moving kernel array on input matrix horizontally and vertically.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
