read in image and change them into a depth map

getdepthmap(path, cutoff = 0.5)

Arguments

path

path of the image

cutoff

cutoff the grayscale, from 0 to 1