1. 04 2月, 2018 1 次提交
    • A
      ts: refactor OpenCV tests · 4a297a24
      Alexander Alekhin 提交于
      - removed tr1 usage (dropped in C++17)
      - moved includes of vector/map/iostream/limits into ts.hpp
      - require opencv_test + anonymous namespace (added compile check)
      - fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
      - added missing license headers
      4a297a24
  2. 12 12月, 2017 1 次提交
    • A
      core(test): refactor PCA test · d48d2d7f
      Alexander Alekhin 提交于
      - CV_L2 -> relative NORM_L2
      - eigenEps: 1e-6 ==> 1e-4
      - evalEps: 1e-6 ==> 1e-5
      - evecEps: 1e-3 ==> 5e-3
      - RNG seed: 12345
      - drop non-informative legacy test code (ts->printf, etc)
      d48d2d7f
  3. 11 10月, 2017 1 次提交
  4. 10 10月, 2017 1 次提交
    • T
      fix#9570: implement mat ptr for generic types · 6c1247b3
      tz70s 提交于
      The original template based mat ptr for indexing is not implemented,
      add the similar implementation as uchar type, but cast to
      user-defined type from the uchar pointer.
      6c1247b3
  5. 07 9月, 2017 1 次提交
  6. 02 9月, 2017 1 次提交
  7. 15 7月, 2017 1 次提交
    • V
      Merge pull request #9034 from sovrasov:mats_from_initializer_list · e5fbb4f5
      Vladislav Sovrasov 提交于
      Add constructors taking initializer_list for some of OpenCV data types (#9034)
      
      * Add a constructor taking initializer_list for Matx
      
      * Add a constructor taking initializer list for Mat and Mat_
      
      * Add one more method to initialize Mat to the corresponding tutorial
      
      * Add a note how to initialize Matx
      
      * CV_CXX_11->CV_CXX11
      e5fbb4f5
  8. 03 7月, 2017 1 次提交
  9. 23 5月, 2017 1 次提交
  10. 19 4月, 2017 1 次提交
  11. 24 3月, 2017 1 次提交
  12. 15 12月, 2016 1 次提交
    • A
      Added N-dim submat selection with vectors · eb04b2bf
      Addison Elliott 提交于
      Currently, to select a submatrix of a N-dimensional matrix, it requires
      two lines of code while only one line of code is required if using a 2D
      array.
      
      I added functionality to be able to select an N-dim submatrix using a
      vector list instead of a Range pointer. This allows initializer lists to
      be used for a one-line selection.
      eb04b2bf
  13. 07 9月, 2016 2 次提交
  14. 04 9月, 2016 1 次提交
  15. 19 7月, 2016 2 次提交
  16. 15 7月, 2016 1 次提交
  17. 14 7月, 2016 1 次提交
  18. 08 7月, 2016 1 次提交
  19. 26 1月, 2016 1 次提交
  20. 22 8月, 2015 1 次提交
  21. 08 7月, 2015 1 次提交
  22. 02 7月, 2015 2 次提交
  23. 30 6月, 2015 1 次提交
    • Y
      add unit test around Mat::push_back() · 790ef21a
      Youssef Kashef 提交于
      add template specialization Mat::push_back() for MatExpr paramters
      
      extend push_back MatExpr to mat in unit test
      
      cast to object instead of reference
      
      test with multi-row MatExpr input
      790ef21a
  24. 16 6月, 2015 1 次提交
  25. 15 5月, 2015 1 次提交
  26. 03 5月, 2015 2 次提交
  27. 02 5月, 2015 1 次提交
  28. 29 4月, 2015 1 次提交
  29. 13 8月, 2014 1 次提交
    • A
      Several type of formal refactoring: · 8a4a1bb0
      Adil Ibragimov 提交于
      1. someMatrix.data -> someMatrix.prt()
      2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
      3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
      4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
      8a4a1bb0
  30. 09 7月, 2014 1 次提交
  31. 18 5月, 2014 1 次提交
    • K
      Implimentation "cv::Mat::forEach" · fa292c3d
      Kazuki Matsuda 提交于
      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.
      fa292c3d
  32. 08 4月, 2014 1 次提交
  33. 18 1月, 2014 1 次提交
  34. 17 1月, 2014 1 次提交
  35. 06 9月, 2013 1 次提交
    • V
      Merge branch 'master' into gpu-cuda-rename · 0c7663eb
      Vladislav Vinogradov 提交于
      Conflicts:
      	modules/core/include/opencv2/core/cuda.hpp
      	modules/cudacodec/src/thread.cpp
      	modules/cudacodec/src/thread.hpp
      	modules/superres/perf/perf_superres.cpp
      	modules/superres/src/btv_l1_cuda.cpp
      	modules/superres/src/optical_flow.cpp
      	modules/videostab/src/global_motion.cpp
      	modules/videostab/src/inpainting.cpp
      	samples/cpp/stitching_detailed.cpp
      	samples/cpp/videostab.cpp
      	samples/gpu/stereo_multi.cpp
      0c7663eb
  36. 05 9月, 2013 1 次提交
    • R
      Boring changes - core. · 8200a95c
      Roman Donchenko 提交于
      This and several following commits contain the "boring" changes required
      to support the new Ptr. These are changes like:
      
      * new T -> makePtr<T> or .reset(new T) or Ptr<T>(new T)
        (depending on the situation)
      * p.empty() -> !p
      * delete_obj -> DefaultDeleter::operator()
      
      and similar changes that are numerous, but primitive.
      8200a95c