Skip to content

Rotomap automark3 #496

@aevri

Description

@aevri

Please create a new sub-command "rotomap automark3", which works a bit like "rotomap guess-refine" in that it uses dinov2 features.

The command takes args "--reference" and "--target", which are both lists of paths to image files.

First we gather all the moles in the reference image list, and the appropriate representations.

Note that each reference mole may appear in multiple reference images. We should come up with an aggregation scheme for the representation, and make it easy to change our mind later.

Then for each target image, we iterate through each reference mole and find the best match location in the target image. If it passes a threshold then we record that as the location of the mole in the usual way.

Note that the reference mole might already exist in the target image. If so then we update the location if it is not already marked canonical. If it is already marked as canonical then we skip it.

The new json mole locations are saved in the usual way.

Please be sure to add something to the integration smoke test for the new command. Also add a new benchmark test alongside the existing benchmark on the reference data set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions