Mask from blur

mask_from_blur(img, window, sigma = 0.3, thresh = 0.05, remove_max = TRUE)

Arguments

img

image

window

windowing effect

sigma

sigma

thresh

thresholf point

remove_max

remove maximum or not