You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: