distance_pc — Calculate the distance between a point and one contour.
The operator distance_pc calculates the distance between one or several points and a single contour. As input the coordinates of the points (Row,Column) and the contour (Contour) are expected. The parameters DistanceMin and DistanceMax return the result of the calculation. Note that the result corresponds to the distances between the points and the segments of the contour and not the distances between the points and the base points of the contour (see also distance_contours_xld).
Row coordinate of the point.
Column coordinate of the point.
Minimum distance between the point and the contour.
Maximum distance between the point and the contour.
distance_pc returns 2 (H_MSG_TRUE).
distance_lc, distance_sc, distance_cc, distance_cc_min
distance_pr, distance_lr, distance_sr, hamming_distance, select_xld_point, test_xld_point