mage </td></tr>
    <tr><td class="paramname">N2</td><td>size of the second dimension of the image </td></tr>
    <tr><td class="paramname">K</td><td>number of channels </td></tr>
    <tr><td class="paramname">i1</td><td>first dimension index of the first pixel to compare </td></tr>
    <tr><td class="paramname">i2</td><td>second dimension of the first pixel </td></tr>
    <tr><td class="paramname">j1</td><td>index of the second pixel to compare </td></tr>
    <tr><td class="paramname">j2</td><td>second dim