|
| enum | AlbumTagRelation {
NoMix = 0
, Union = 1
, Intersection = 2
, AlbumExclusive = 3
,
TagExclusive = 4
} |
| |
|
using | DuplicatesResultsMap = QMap< qlonglong, QPair< double, QList< qlonglong > > > |
| |
| enum | DuplicatesSearchRestrictions { None = 0
, SameAlbum = 1
, DifferentAlbum = 2
} |
| |
| enum class | RefImageSelMethod : unsigned int {
OlderOrLarger = 0
, PreferFolder = 1
, ExcludeFolder = 2
, NewerCreationDate = 3
,
NewerModificationDate = 4
} |
| | The RefImageSelMethod enum Selection method to determine which image will be the reference in the duplicate search. More...
|
| |
| enum | SketchType { ScannedSketch = 0
, HanddrawnSketch = 1
} |
| |
|
|
| HaarIface (const QSet< qlonglong > &images2Scan) |
| |
| QPair< double, QMap< qlonglong, double > > | bestMatchesForImageWithThreshold (const QString &imagePath, double requiredPercentage, double maximumPercentage, const QList< int > &targetAlbums, DuplicatesSearchRestrictions searchResultRestriction=DuplicatesSearchRestrictions::None, SketchType type=ScannedSketch) |
| | Searches the database for the best matches for the specified query image.
|
| |
| QPair< double, QMap< qlonglong, double > > | bestMatchesForImageWithThreshold (qlonglong imageid, double requiredPercentage, double maximumPercentage, const QList< int > &targetAlbums, DuplicatesSearchRestrictions searchResultRestriction=DuplicatesSearchRestrictions::None, SketchType type=ScannedSketch) |
| | Searches the database for the best matches for the specified query image.
|
| |
|
QMap< qlonglong, double > | bestMatchesForSignature (const QString &signature, const QList< int > &targetAlbums, int numberOfResults=20, SketchType type=ScannedSketch) |
| |
| DuplicatesResultsMap | findDuplicates (const QSet< qlonglong > &images2Scan, const QSet< qlonglong >::const_iterator &rangeBegin, const QSet< qlonglong >::const_iterator &rangeEnd, RefImageSelMethod refImageSelectionMethod, const QSet< qlonglong > &refs, double requiredPercentage, double maximumPercentage, DuplicatesSearchRestrictions searchResultRestriction=DuplicatesSearchRestrictions::None, HaarProgressObserver *const observer=nullptr) |
| | Fill a map of duplicates images found over a list of images to scan.
|
| |
|
bool | fulfillsRestrictions (qlonglong imageId, int albumId, qlonglong originalImageId, int originalAlbumId, const QList< int > &targetAlbums, DuplicatesSearchRestrictions searchResultRestriction) |
| | Checks whether the image with the given imageId fulfills all restrictions given in targetAlbums and in respect to searchResultRestriction.
|
| |
|
void | getBestAndWorstPossibleScore (Haar::SignatureData *const querySig, SketchType type, double *const lowestAndBestScore, double *const highestAndWorstScore) |
| | For a given signature, find out the highest and lowest possible score that any other signature could reach, compared to the given signature.
|
| |
|
bool | indexImage (const QString &filename) |
| | Adds an image to the index in the database.
|
| |
|
bool | indexImage (const QString &filename, const DImg &image) |
| |
|
bool | indexImage (const QString &filename, const QImage &image) |
| |
|
bool | indexImage (qlonglong imageid, const DImg &image) |
| |
|
bool | indexImage (qlonglong imageid, const QImage &image) |
| |
| QImage | loadQImage (const QString &filename) |
| | This method loads a QImage from the given filename.
|
| |
| bool | retrieveSignatureFromDB (qlonglong imageid, Haar::SignatureData &sig) |
| | Retrieve the Haar signature from database using image id.
|
| |
| void | setAlbumRootsToSearch (const QList< int > &albumRootIds) |
| | Give a list of albumRoots to which the search shall be limited.
|
| |
|
void | setAlbumRootsToSearch (const QSet< int > &albumRootIds) |
| |
| QString | signatureAsText (const QImage &image) |
| | Calculates the Haar signature, bring it in a form as stored in the DB, and encode it to Ascii data.
|
| |