Fig 3. The calculation of the similarity measure BLD.
First, the minimum “forward” distance between the point and the contour is determined, here marked as (1). Second, among all the points q on with a “inverse” minimum distance , those are selected whose minimal distance is found at the point p. Here, q and are the candidates, with the corresponding distances denoted by (2) and (3). Then, the maximum distance among the candidates, in this case (2), is chosen as . Finally, is defined as the maximum between and , in this example (2). For more details see [30].