_sx = ndimage.sobel(_img, axis=0, mode='reflect') - \
        ndimage.sobel(_rec, axis=0, mode='reflect')