Merges previously identified modality candidates into list of overall best candidates.
Detailed Description
Gallery of references.
Note
The number of references in any ModalitiesGallery is limited by license. You can have more created galleries in your code. The number limits overall references in all galleries.
The ModalitiesGallery stores ModalitiesGalleryReference objects for later identification. Adding data to this gallery in higher-level language bindings is less efficient than in IndexedModalitiesGallery. This inefficiency arises because it creates objects derived from C++ interfaces while also maintaining references to the original high-level language objects.
These high-level language references are necessary because objects returned from the C++ implementation lose their original type information. To address this, the gallery remaps types based on the ID from ModalitiesGalleryReference. However, this approach consumes more memory, as it stores both the identification related data and a reference to the user object.
Despite the increased memory usage, this gallery is more convenient to use as IndexedModalitiesGallery. Since the entire user object is stored within the gallery, users do not need to manually map objects to their identifiers in their code or reload ModalitiesTemplate for consolidation. However, users should be mindful of their object size. The object itself is not required for IdentifyModalities, only the Index and ModalitiesTemplate provided by ModalitiesGalleryReference are used. The relevant identification data is copied from ModalitiesTemplate.
It creates list of unique candidates and verifies each of them with probe stored in ModalitiesCandidates. It uses 1 to 1 Modalities Verification. Once modalities scores are calculated it sorts candidates according to maximal score of all modalities scores.
Merges previously identified modality candidates into list of overall best candidates.
It create list of unique candidates and verify each of them with probe stored in ModalitiesCandidates. It uses 1 to 1 Modalities Verification. Once modalities scores are calculated it sorts candidates according to maximal score of all modalities scores.