3
$\begingroup$

If we have one image from BSD (The Berkeley Segmentation Dataset and Benchmark) and for this images Ground truth, how to calculate PR?

PR is the ratio of true to false edges, and can be calculated by the formula:

PR = True Edges (Edge pixels identified as Edges)/False Edges (Non edge pixels identified as edges) + (Edge pixels identified as Non-Edge pixels)

How to find those arguments in formula?

$\endgroup$
1
  • $\begingroup$ Could you, please, review my answer? If it answers your question, could you mark it? $\endgroup$
    – Royi
    Commented Sep 24, 2022 at 17:21

1 Answer 1

0
$\begingroup$

When you segment an image you have boundaries between segments.
Those boundary pixels (Just between 2 different segments) are the edge pixels above.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.