1 | initial version |
Don't measure elapsed time with getTickCount! It gives you the processor ticks (operations), and your processor can make several operations in parallel.
Use clock_gettime() function to measure precisely elapsed time.
And don't measure image loading time in the filtering, as disk operations can be slow.