opencv/modules/core/test
Kazuki Matsuda fa292c3d8d Implimentation "cv::Mat::forEach"
I propose forEach method for cv::Mat and cv::Mat_.
This is solution for the overhead of MatIterator_<_Tp>.

I runs a test that micro opecode runs all over the pixel of cv::Mat_<cv::Point3_<uint8_t>>.
And this implementation 40% faster than the simple pointer, 80% faster than iterator.
With OpenMP, 70% faster than simple pointer, 95% faster than iterator (Core i7 920).

Above all, code is more readable.

My test code is here.
    https://gist.github.com/kazuki-ma/8285876

Thanks.
2014-05-18 11:01:45 +09:00
..
ocl added cn>1 support to cv::norm (NORM_INF) 2014-04-30 14:59:37 +04:00
test_arithm.cpp Merge remote-tracking branch 'origin/2.4' into merge-2.4 2014-05-12 17:38:07 +04:00
test_countnonzero.cpp fixed slow down in getRectSubPix (original patch by Markus JR Mueller); removed some unused variables and functions 2014-04-08 17:54:08 +04:00
test_ds.cpp Merge remote-tracking branch 'origin/2.4' into merge-2.4 2014-03-03 13:45:22 +04:00
test_dxt.cpp cv::norm -> cvtest::norm in tests 2014-04-08 14:49:20 +04:00
test_eigen.cpp cv::norm -> cvtest::norm in tests 2014-04-08 14:49:20 +04:00
test_io.cpp cv::norm -> cvtest::norm in tests 2014-04-08 14:49:20 +04:00
test_ippasync.cpp fixed 2014-04-07 18:53:07 +04:00
test_main.cpp C4447 warning about main function format suppressed. 2013-08-21 07:24:46 -07:00
test_mat.cpp Implimentation "cv::Mat::forEach" 2014-05-18 11:01:45 +09:00
test_math.cpp cv::norm -> cvtest::norm in tests 2014-04-08 14:49:20 +04:00
test_misc.cpp added new perf tests to core 2013-12-27 20:02:12 +04:00
test_operations.cpp cv::norm -> cvtest::norm in tests 2014-04-08 14:49:20 +04:00
test_precomp.hpp cleaned-up UMat tests 2014-02-15 15:51:52 +04:00
test_ptr.cpp Added tests for Ptr. 2013-09-05 19:03:00 +04:00
test_rand.cpp cv::norm -> cvtest::norm in tests 2014-04-08 14:49:20 +04:00
test_rotatedrect.cpp addressed issues 2014-02-22 09:54:16 +05:30
test_umat.cpp cv::norm -> cvtest::norm in tests 2014-04-08 14:49:20 +04:00