Integral image application example (original) (raw)
Integral image application example Example of the use of an integral image (2) of an order-6 magic square (1) to find the sum of a subrectangle of values by CMG Lee. Each spot shows the sum of the values inside the rectangle bounded by dashed/dotted lines of the same colour. 1. 3 1 4 1 5 9 2 6 5 3 5 8 9 7 9 3 2 3 8 4 6 2 6 4 3 3 8 3 2 7 9 5 0 2 8 8 2. 3 4 8 9 14 23 5 12 21 25 35 52 14 28 46 53 65 85 22 40 64 73 91 115 25 46 78 90 110 141 34 60 92 106 134 173 6 + 2 + 6 + 8 + 3 + 2 = 28 110 65 46 + − − = 27