Engineering domain: Signal Processing

You are now working with polarization images. 
Given the Raw image is shaped 100x100
you decided to create the AoLP and DoLP images with the same resolution( 100x100 ) as the original raw frame  
However, after you gotten the frames, Degree0, Degree45, Degree90 and Degree135, Degree0 is corrupted, the pattern shown a checker board with alternating zeros.

You task is the following:
1, Given the array for Degree0.

Degree0 = [[229, 0, 195, 0, 209, 0, 199, 0, 193, 0, 194, 0, 201, 0, 188, 0, 203, 0, 181, 0, 195, 0, 187, 0, 135, 0, 79, 0, 35, 0, 22, 0, 14, 0, 10, 0, 43, 0, 58, 0, 73, 0, 72, 0, 75, 0, 105, 0, 137, 0], [0, 179, 0, 245, 0, 215, 0, 195, 0, 218, 0, 227, 0, 207, 0, 186, 0, 201, 0, 199, 0, 178, 0, 181, 0, 113, 0, 47, 0, 29, 0, 32, 0, 19, 0, 31, 0, 26, 0, 62, 0, 76, 0, 68, 0, 80, 0, 134, 0, 182], [197, 0, 191, 0, 211, 0, 222, 0, 197, 0, 195, 0, 188, 0, 227, 0, 177, 0, 199, 0, 211, 0, 227, 0, 158, 0, 59, 0, 22, 0, 30, 0, 23, 0, 31, 0, 18, 0, 50, 0, 56, 0, 89, 0, 69, 0, 113, 0, 160, 0], [0, 192, 0, 215, 0, 195, 0, 163, 0, 226, 0, 191, 0, 204, 0, 182, 0, 197, 0, 189, 0, 202, 0, 187, 0, 129, 0, 60, 0, 25, 0, 26, 0, 32, 0, 25, 0, 47, 0, 55, 0, 76, 0, 52, 0, 65, 0, 154, 0, 168], [182, 0, 187, 0, 211, 0, 207, 0, 198, 0, 211, 0, 193, 0, 197, 0, 220, 0, 183, 0, 213, 0, 171, 0, 131, 0, 88, 0, 34, 0, 29, 0, 15, 0, 26, 0, 30, 0, 44, 0, 73, 0, 51, 0, 36, 0, 120, 0, 156, 0], [0, 195, 0, 204, 0, 194, 0, 205, 0, 195, 0, 235, 0, 190, 0, 216, 0, 201, 0, 183, 0, 188, 0, 153, 0, 108, 0, 73, 0, 36, 0, 30, 0, 32, 0, 30, 0, 25, 0, 22, 0, 51, 0, 46, 0, 81, 0, 107, 0, 166], [199, 0, 200, 0, 194, 0, 209, 0, 216, 0, 216, 0, 195, 0, 197, 0, 198, 0, 215, 0, 193, 0, 174, 0, 112, 0, 93, 0, 56, 0, 21, 0, 25, 0, 25, 0, 23, 0, 21, 0, 22, 0, 36, 0, 78, 0, 103, 0, 134, 0], [0, 207, 0, 200, 0, 197, 0, 204, 0, 211, 0, 207, 0, 184, 0, 191, 0, 213, 0, 213, 0, 188, 0, 120, 0, 85, 0, 43, 0, 35, 0, 29, 0, 32, 0, 22, 0, 18, 0, 35, 0, 10, 0, 50, 0, 55, 0, 86, 0, 131], [186, 0, 220, 0, 214, 0, 204, 0, 195, 0, 209, 0, 210, 0, 201, 0, 188, 0, 183, 0, 207, 0, 187, 0, 113, 0, 85, 0, 43, 0, 34, 0, 39, 0, 13, 0, 28, 0, 27, 0, 55, 0, 23, 0, 40, 0, 62, 0, 101, 0], [0, 201, 0, 220, 0, 210, 0, 213, 0, 219, 0, 185, 0, 215, 0, 190, 0, 202, 0, 197, 0, 205, 0, 147, 0, 113, 0, 58, 0, 36, 0, 16, 0, 7, 0, 6, 0, 40, 0, 25, 0, 23, 0, 18, 0, 31, 0, 52, 0, 93], [189, 0, 182, 0, 193, 0, 186, 0, 201, 0, 222, 0, 195, 0, 203, 0, 193, 0, 197, 0, 207, 0, 185, 0, 139, 0, 88, 0, 36, 0, 25, 0, 17, 0, 6, 0, 19, 0, 28, 0, 13, 0, 15, 0, 13, 0, 58, 0, 92, 0], [0, 204, 0, 214, 0, 198, 0, 208, 0, 187, 0, 199, 0, 203, 0, 211, 0, 189, 0, 170, 0, 184, 0, 169, 0, 101, 0, 28, 0, 28, 0, 36, 0, 23, 0, 31, 0, 9, 0, 19, 0, 25, 0, 19, 0, 54, 0, 73, 0, 93], [217, 0, 209, 0, 206, 0, 181, 0, 202, 0, 210, 0, 193, 0, 183, 0, 188, 0, 174, 0, 184, 0, 175, 0, 135, 0, 86, 0, 36, 0, 47, 0, 46, 0, 24, 0, 21, 0, 13, 0, 27, 0, 44, 0, 43, 0, 67, 0, 77, 0], [0, 192, 0, 206, 0, 200, 0, 211, 0, 185, 0, 195, 0, 231, 0, 214, 0, 211, 0, 195, 0, 156, 0, 136, 0, 121, 0, 83, 0, 38, 0, 14, 0, 21, 0, 30, 0, 26, 0, 8, 0, 13, 0, 22, 0, 54, 0, 52, 0, 77], [207, 0, 204, 0, 216, 0, 192, 0, 226, 0, 184, 0, 216, 0, 206, 0, 186, 0, 198, 0, 200, 0, 147, 0, 147, 0, 115, 0, 77, 0, 28, 0, 6, 0, 23, 0, 36, 0, 40, 0, 31, 0, 22, 0, 26, 0, 46, 0, 67, 0], [0, 209, 0, 216, 0, 191, 0, 213, 0, 195, 0, 202, 0, 221, 0, 201, 0, 184, 0, 193, 0, 193, 0, 121, 0, 126, 0, 99, 0, 40, 0, 21, 0, 16, 0, 12, 0, 19, 0, 20, 0, 23, 0, 19, 0, 35, 0, 56, 0, 69], [213, 0, 215, 0, 204, 0, 217, 0, 204, 0, 203, 0, 216, 0, 208, 0, 202, 0, 172, 0, 189, 0, 129, 0, 134, 0, 118, 0, 52, 0, 31, 0, 15, 0, 11, 0, 15, 0, 15, 0, 29, 0, 11, 0, 39, 0, 54, 0, 47, 0], [0, 192, 0, 221, 0, 236, 0, 209, 0, 198, 0, 227, 0, 222, 0, 183, 0, 185, 0, 174, 0, 174, 0, 156, 0, 113, 0, 80, 0, 55, 0, 32, 0, 25, 0, 30, 0, 18, 0, 10, 0, 18, 0, 22, 0, 26, 0, 35, 0, 70], [223, 0, 206, 0, 204, 0, 195, 0, 172, 0, 221, 0, 205, 0, 188, 0, 209, 0, 192, 0, 202, 0, 185, 0, 170, 0, 109, 0, 67, 0, 30, 0, 23, 0, 25, 0, 14, 0, 35, 0, 27, 0, 25, 0, 25, 0, 31, 0, 56, 0], [0, 193, 0, 204, 0, 188, 0, 215, 0, 217, 0, 219, 0, 213, 0, 199, 0, 161, 0, 210, 0, 195, 0, 175, 0, 172, 0, 64, 0, 51, 0, 48, 0, 28, 0, 10, 0, 14, 0, 34, 0, 7, 0, 29, 0, 23, 0, 51, 0, 73], [206, 0, 195, 0, 208, 0, 191, 0, 232, 0, 208, 0, 171, 0, 221, 0, 184, 0, 213, 0, 201, 0, 183, 0, 178, 0, 144, 0, 81, 0, 51, 0, 42, 0, 14, 0, 21, 0, 25, 0, 18, 0, 13, 0, 34, 0, 30, 0, 63, 0], [0, 209, 0, 227, 0, 199, 0, 205, 0, 183, 0, 203, 0, 189, 0, 201, 0, 217, 0, 217, 0, 197, 0, 179, 0, 173, 0, 134, 0, 60, 0, 44, 0, 24, 0, 25, 0, 19, 0, 18, 0, 8, 0, 30, 0, 23, 0, 42, 0, 73], [255, 0, 224, 0, 211, 0, 194, 0, 201, 0, 215, 0, 222, 0, 213, 0, 195, 0, 205, 0, 211, 0, 185, 0, 193, 0, 163, 0, 99, 0, 60, 0, 34, 0, 32, 0, 28, 0, 23, 0, 18, 0, 19, 0, 35, 0, 29, 0, 44, 0], [0, 213, 0, 200, 0, 195, 0, 192, 0, 203, 0, 184, 0, 209, 0, 191, 0, 193, 0, 218, 0, 221, 0, 171, 0, 159, 0, 147, 0, 65, 0, 47, 0, 22, 0, 28, 0, 7, 0, 7, 0, 18, 0, 23, 0, 6, 0, 43, 0, 52], [194, 0, 217, 0, 190, 0, 227, 0, 209, 0, 195, 0, 211, 0, 193, 0, 190, 0, 237, 0, 204, 0, 207, 0, 175, 0, 172, 0, 147, 0, 80, 0, 25, 0, 28, 0, 14, 0, 18, 0, 16, 0, 28, 0, 27, 0, 18, 0, 32, 0], [0, 211, 0, 221, 0, 211, 0, 190, 0, 234, 0, 211, 0, 203, 0, 176, 0, 192, 0, 176, 0, 207, 0, 179, 0, 172, 0, 162, 0, 126, 0, 71, 0, 48, 0, 23, 0, 26, 0, 12, 0, 24, 0, 27, 0, 25, 0, 40, 0, 58], [197, 0, 205, 0, 219, 0, 211, 0, 211, 0, 225, 0, 204, 0, 226, 0, 227, 0, 205, 0, 185, 0, 185, 0, 178, 0, 195, 0, 178, 0, 109, 0, 32, 0, 25, 0, 30, 0, 15, 0, 11, 0, 22, 0, 17, 0, 40, 0, 70, 0], [0, 195, 0, 211, 0, 187, 0, 226, 0, 181, 0, 207, 0, 224, 0, 186, 0, 211, 0, 230, 0, 211, 0, 193, 0, 171, 0, 163, 0, 167, 0, 96, 0, 32, 0, 32, 0, 8, 0, 31, 0, 27, 0, 26, 0, 23, 0, 31, 0, 70], [215, 0, 224, 0, 216, 0, 211, 0, 203, 0, 216, 0, 205, 0, 203, 0, 208, 0, 219, 0, 204, 0, 204, 0, 175, 0, 197, 0, 172, 0, 141, 0, 58, 0, 46, 0, 23, 0, 24, 0, 21, 0, 19, 0, 17, 0, 22, 0, 48, 0], [0, 199, 0, 213, 0, 227, 0, 216, 0, 213, 0, 226, 0, 223, 0, 227, 0, 194, 0, 219, 0, 204, 0, 201, 0, 171, 0, 176, 0, 156, 0, 118, 0, 38, 0, 30, 0, 14, 0, 23, 0, 32, 0, 23, 0, 10, 0, 24, 0, 59], [202, 0, 205, 0, 191, 0, 213, 0, 194, 0, 208, 0, 220, 0, 213, 0, 204, 0, 203, 0, 208, 0, 200, 0, 197, 0, 195, 0, 181, 0, 163, 0, 92, 0, 43, 0, 23, 0, 20, 0, 9, 0, 23, 0, 16, 0, 20, 0, 36, 0], [0, 195, 0, 173, 0, 230, 0, 193, 0, 187, 0, 195, 0, 221, 0, 207, 0, 211, 0, 205, 0, 191, 0, 185, 0, 211, 0, 198, 0, 189, 0, 111, 0, 51, 0, 24, 0, 19, 0, 13, 0, 17, 0, 36, 0, 32, 0, 17, 0, 56], [187, 0, 215, 0, 214, 0, 194, 0, 202, 0, 234, 0, 187, 0, 219, 0, 200, 0, 217, 0, 224, 0, 218, 0, 203, 0, 193, 0, 167, 0, 150, 0, 56, 0, 29, 0, 13, 0, 26, 0, 24, 0, 26, 0, 10, 0, 13, 0, 38, 0], [0, 211, 0, 213, 0, 197, 0, 207, 0, 195, 0, 199, 0, 195, 0, 188, 0, 183, 0, 198, 0, 192, 0, 179, 0, 179, 0, 174, 0, 188, 0, 111, 0, 40, 0, 10, 0, 24, 0, 23, 0, 18, 0, 0, 0, 26, 0, 24, 0, 19], [216, 0, 211, 0, 197, 0, 206, 0, 220, 0, 202, 0, 195, 0, 193, 0, 205, 0, 222, 0, 202, 0, 188, 0, 189, 0, 181, 0, 168, 0, 137, 0, 99, 0, 35, 0, 21, 0, 32, 0, 17, 0, 23, 0, 15, 0, 25, 0, 13, 0], [0, 170, 0, 237, 0, 205, 0, 203, 0, 238, 0, 216, 0, 199, 0, 214, 0, 192, 0, 215, 0, 194, 0, 213, 0, 185, 0, 175, 0, 188, 0, 125, 0, 65, 0, 42, 0, 26, 0, 17, 0, 15, 0, 35, 0, 16, 0, 26, 0, 28], [197, 0, 207, 0, 230, 0, 187, 0, 191, 0, 195, 0, 198, 0, 195, 0, 192, 0, 206, 0, 199, 0, 183, 0, 221, 0, 179, 0, 171, 0, 161, 0, 96, 0, 60, 0, 35, 0, 18, 0, 27, 0, 13, 0, 27, 0, 14, 0, 23, 0], [0, 206, 0, 220, 0, 215, 0, 222, 0, 218, 0, 195, 0, 214, 0, 205, 0, 215, 0, 197, 0, 195, 0, 205, 0, 185, 0, 195, 0, 172, 0, 152, 0, 91, 0, 31, 0, 18, 0, 12, 0, 36, 0, 15, 0, 30, 0, 28, 0, 31], [219, 0, 234, 0, 224, 0, 188, 0, 211, 0, 195, 0, 188, 0, 178, 0, 185, 0, 205, 0, 225, 0, 216, 0, 221, 0, 195, 0, 175, 0, 179, 0, 146, 0, 64, 0, 31, 0, 28, 0, 25, 0, 27, 0, 14, 0, 3, 0, 36, 0], [0, 206, 0, 237, 0, 184, 0, 184, 0, 204, 0, 214, 0, 234, 0, 178, 0, 187, 0, 211, 0, 204, 0, 189, 0, 187, 0, 189, 0, 208, 0, 165, 0, 107, 0, 46, 0, 28, 0, 26, 0, 17, 0, 22, 0, 24, 0, 17, 0, 15], [218, 0, 195, 0, 210, 0, 199, 0, 188, 0, 203, 0, 200, 0, 221, 0, 201, 0, 179, 0, 189, 0, 189, 0, 187, 0, 170, 0, 187, 0, 163, 0, 146, 0, 69, 0, 39, 0, 10, 0, 13, 0, 10, 0, 17, 0, 22, 0, 31, 0], [0, 208, 0, 199, 0, 218, 0, 222, 0, 207, 0, 201, 0, 215, 0, 184, 0, 170, 0, 162, 0, 191, 0, 162, 0, 178, 0, 198, 0, 191, 0, 179, 0, 121, 0, 38, 0, 26, 0, 1, 0, 17, 0, 21, 0, 13, 0, 11, 0, 32], [229, 0, 184, 0, 203, 0, 186, 0, 194, 0, 203, 0, 207, 0, 208, 0, 195, 0, 170, 0, 197, 0, 149, 0, 168, 0, 157, 0, 162, 0, 176, 0, 147, 0, 60, 0, 17, 0, 18, 0, 12, 0, 24, 0, 13, 0, 30, 0, 19, 0], [0, 200, 0, 201, 0, 188, 0, 233, 0, 216, 0, 184, 0, 195, 0, 178, 0, 157, 0, 179, 0, 154, 0, 105, 0, 125, 0, 137, 0, 163, 0, 143, 0, 65, 0, 52, 0, 36, 0, 7, 0, 27, 0, 22, 0, 29, 0, 26, 0, 14], [227, 0, 195, 0, 211, 0, 201, 0, 199, 0, 195, 0, 199, 0, 176, 0, 151, 0, 147, 0, 162, 0, 129, 0, 121, 0, 113, 0, 117, 0, 116, 0, 131, 0, 62, 0, 19, 0, 24, 0, 27, 0, 18, 0, 40, 0, 16, 0, 12, 0], [0, 200, 0, 217, 0, 204, 0, 222, 0, 179, 0, 188, 0, 189, 0, 190, 0, 117, 0, 121, 0, 142, 0, 116, 0, 71, 0, 105, 0, 110, 0, 112, 0, 94, 0, 68, 0, 32, 0, 19, 0, 29, 0, 11, 0, 11, 0, 15, 0, 26], [220, 0, 163, 0, 190, 0, 224, 0, 209, 0, 203, 0, 165, 0, 203, 0, 160, 0, 119, 0, 121, 0, 123, 0, 75, 0, 109, 0, 84, 0, 80, 0, 83, 0, 63, 0, 21, 0, 29, 0, 23, 0, 23, 0, 15, 0, 10, 0, 19, 0], [0, 203, 0, 188, 0, 211, 0, 220, 0, 211, 0, 183, 0, 200, 0, 171, 0, 131, 0, 85, 0, 97, 0, 107, 0, 77, 0, 85, 0, 70, 0, 92, 0, 67, 0, 69, 0, 21, 0, 13, 0, 16, 0, 13, 0, 16, 0, 27, 0, 22], [199, 0, 198, 0, 209, 0, 216, 0, 189, 0, 171, 0, 193, 0, 185, 0, 139, 0, 99, 0, 59, 0, 84, 0, 63, 0, 60, 0, 62, 0, 73, 0, 63, 0, 51, 0, 52, 0, 22, 0, 0, 0, 23, 0, 25, 0, 21, 0, 13, 0], [0, 189, 0, 201, 0, 206, 0, 218, 0, 195, 0, 155, 0, 125, 0, 113, 0, 83, 0, 52, 0, 58, 0, 60, 0, 36, 0, 48, 0, 42, 0, 59, 0, 65, 0, 44, 0, 17, 0, 15, 0, 2, 0, 25, 0, 27, 0, 25, 0, 22]]

2, Design a mathematical kernel that mimics linear interpolation to fill the values that is zero for the Degree0, make sure the center of the kernel is 1

3, the Aolp and DoLP image will also be tested as a metrics to the kernel score