Error In Function Distancetransform Python Using Opencv 3 4 9

Error In Function Distancetransform Python Using Opencv 3 4 9