diff options
author | 2022-09-25 21:40:50 -0400 | |
---|---|---|
committer | 2022-09-25 21:40:50 -0400 | |
commit | c65b59662e0fb16969eea5cf0ce7a69610e4cadd (patch) | |
tree | 2a8bae20a75084e51e04ffba8aa838daeffd0a26 /qdeduper/sigdb_qt.cpp | |
parent | 9ea7dc1800497d6807b4a14ca301551539078162 (diff) | |
download | deduper-c65b59662e0fb16969eea5cf0ce7a69610e4cadd.tar.xz |
Implement mark all within directory.
Diffstat (limited to 'qdeduper/sigdb_qt.cpp')
-rw-r--r-- | qdeduper/sigdb_qt.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qdeduper/sigdb_qt.cpp b/qdeduper/sigdb_qt.cpp index 4bcc7af..4609245 100644 --- a/qdeduper/sigdb_qt.cpp +++ b/qdeduper/sigdb_qt.cpp @@ -145,6 +145,14 @@ std::map<std::pair<size_t, size_t>, double> SignatureDB::group_distances(size_t return ret; } +std::vector<size_t> SignatureDB::get_image_ids() +{ + std::vector<size_t> ret; + for (auto &f : fmap) + ret.push_back(f.first); + return ret; +} + fs::path SignatureDB::get_image_path(size_t id) { if (fmap.find(id) == fmap.end()) |