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

Relative Hausdorff distance #178

Open
Nosferican opened this issue Sep 18, 2020 · 3 comments
Open

Relative Hausdorff distance #178

Nosferican opened this issue Sep 18, 2020 · 3 comments

Comments

@Nosferican
Copy link

Relative Hausdorff distance. It is used in many applications including graphs. A linear time algorithm is available here.

@juliohm
Copy link
Contributor

juliohm commented Sep 18, 2020

It is good to check if the definition of the distance is more appropriate to a specific type like a graph or an image. For example, I have implemented the Hausdorff distance for images here as it doesn't make sense for general vectors of numbers: https://github.com/JuliaImages/ImageDistances.jl

Maybe the paper discusses a similar distance applied to graphs?

@Nosferican
Copy link
Author

Nosferican commented Sep 18, 2020

I will check the implementation in ImageDistances.jl (do you have a reference about its use for images?).

For graphs, it just takes two vectors with the degree distribution. The cumulative form is computed and uses linear interpolation for missing values over 1 to the highest number of degrees in either graph domain. The distance is computed based on those two AbstractVector{<:Real}.

@juliohm
Copy link
Contributor

juliohm commented Sep 18, 2020 via email

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