GetNTotal

API definition

int GetNTotal() const;

Function

Queries the theoretical maximum number of feature vectors in the current feature database. If the inserted feature vector indices are continuous, ntotal is equal to the number of feature vectors.

Input

N/A

Output

int ntotal: theoretical maximum number of feature vectors (maximum vector index plus 1).

Return value

int: theoretical maximum number of feature vectors (maximum vector index plus 1).

Restrictions

N/A