Read in image and change it into a depth map

getdepthmap(path, cutoff = NULL)

Arguments

path

path of the image

cutoff

cutoff the grayscale, from 0 to 1. Set to NULL for continuous depth.

Value

cimg depth map with values between 0 and 1