Adding secondary arguments to blur and thresholding