Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to understand the mean of the delta accuracyand completeness? #3

Closed
Liusandian opened this issue Dec 29, 2021 · 1 comment
Closed

Comments

@Liusandian
Copy link

we noticed that when compute the metric of mask boundry,the code in pytorch is "D_gt = ndimage.distance_transform_edt(1-gt.cpu())",how to understand the distance transform? And why we should use the 1-gt_edge as the input of compute the distance transform?

Looking forward your reply,thanks!

Liusandian

@tzole1155
Copy link
Collaborator

Hi Liusandian,

As mentioned in our paper, and also in the code, the boundary metrics and their implementation are based on the work proposed by Tobias Koch (https://openaccess.thecvf.com/content_ECCVW_2018/papers/11131/Koch_Evaluation_of_CNN-based_Single-Image_Depth_Estimation_Methods_ECCVW_2018_paper.pdf). There you can find more details and visual examples regarding these metrics.

As we are focusing on the closest distance to the boundary of each object for each pixel, and not to the background, we need to apply the image distance transform in the inverted edge image.

Hope this helps!

Best,

Giorgos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants