convol_imagecalculates the correlation between the input imageImageand an arbitrary linear filter mask. The used filter mask, which is given inFilterMask, can be either loaded from a file or passed as a tuple. Several options for the treatment at the image's borders can be chosen (Margin):...