chickadee » leptonica » pix-abs-difference

pix-abs-difference pix-1 pix-2procedure

Returns pointer to new image which is formed by taking the pixel-wise absolute difference between pix-1 and pix-2. The two source images must have identical dimensions and colour depth. #f is returned on an error.