Hello, I have 2 questions
1) If we calculate the Euclidian distance between two points from the open cv function, would it be able to know the gradient of the straight line?
2) If I have a centroid inside an image below, what would be the best method to draw a straight line inside the thresholded image from the point to the other? will the max and min coordinates of the straight line can be calculated?
thanks