NIST Fingerprint Image Quality 2
NIST reference implementation fingerprint image quality analyzer.
nfiq2_timer.hpp
Go to the documentation of this file.
1 #ifndef NFIQ2_TIMER_HPP_
2 #define NFIQ2_TIMER_HPP_
3 
4 #include <chrono>
5 
6 namespace NFIQ2 {
7 
9 class Timer {
10  public:
17  void start();
18 
26  double getElapsedTime();
27 
35  double stop();
36 
37  private:
39  std::chrono::steady_clock::time_point startTime {};
41  std::chrono::steady_clock::time_point endTime {};
42 };
43 } // namespace NFIQ
44 
45 #endif /* NFIQ2_TIMER_HPP_ */
Used to calculate speed of internal operations.
Definition: nfiq2_timer.hpp:9
double stop()
Stop the timer.
double getElapsedTime()
Obtain the elapsed time.
void start()
Start the timer.
Classes and functions that contribute to the calculation of NFIQ2 scores.
Definition: nfiq2.hpp:25