Skip to content

Hausdorff Loss #146

Closed
Closed
@Dale-Black

Description

@Dale-Black

I would like to add a simple Hausdorff Loss as proposed in (DOI: 10.1109/TMI.2019.2930068)

It approximates the Hausdorff distance to allow for direct minimization of the HD during training

function hd_loss(ŷ, y, ŷ_dtm, y_dtm)
    M =.- y) .^ 2 .* (ŷ_dtm .^ 2 .+ y_dtm .^ 2)
    loss = mean(M)
end

Should I open a PR for this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions