1. 15 May, 2018 1 commit
  2. 28 Mar, 2018 1 commit
    • LaurentBerger's avatar
      Solves #11156 (#11160) · 03eb463f
      LaurentBerger authored
      * Solves #11156
      
      * Check file size for all file format. Disable APPEND if file is empty
      
      * Add test for APPEND mode
      03eb463f
  3. 18 Feb, 2018 1 commit
  4. 03 Feb, 2018 1 commit
    • Alexander Alekhin's avatar
      ts: refactor OpenCV tests · 4a297a24
      Alexander Alekhin authored
      - 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
  5. 13 Dec, 2017 1 commit
  6. 12 Dec, 2017 1 commit
  7. 31 Aug, 2017 1 commit
  8. 07 Aug, 2017 2 commits
  9. 26 Jul, 2017 1 commit
  10. 25 Jul, 2017 1 commit
  11. 20 Jul, 2017 1 commit
  12. 26 Apr, 2017 1 commit
    • Alexander Alekhin's avatar
      core: fix persistence bug in RAW I/O code · 75f28245
      Alexander Alekhin authored
      - persistence.cpp code expects special sizeof value for passed structures
      - this assumption is lead to memory corruption problems
      - fixed/workarounded test to prevent memory corruption on Linux 32-bit systems
      75f28245
  13. 21 Apr, 2017 1 commit
  14. 03 Mar, 2017 2 commits
  15. 01 Mar, 2017 1 commit
  16. 17 Jan, 2017 1 commit
  17. 16 Nov, 2016 1 commit
  18. 02 Nov, 2016 1 commit
  19. 25 Oct, 2016 1 commit
  20. 24 Aug, 2016 1 commit
    • MYLS's avatar
      Add two tests. · 47f2e618
      MYLS authored
      - one test for type_id;
      - another for comments in JSON;
      47f2e618
  21. 10 Aug, 2016 1 commit
    • MYLS's avatar
      Add JSON support. · 8596e82d
      MYLS authored
      a JSON emitter, a parser, tests and some basic doc.
      8596e82d
  22. 21 Jul, 2016 1 commit
  23. 19 Jul, 2016 2 commits
  24. 08 Jul, 2016 1 commit
  25. 24 Jun, 2016 4 commits
    • MYLS's avatar
      build again for OpenCL. · df5a7c8e
      MYLS authored
      I could not find the cause of the error:
      
      ```
      C:\builds_ocv\precommit_opencl\opencv\modules\ts\src\ts_perf.cpp(361):
      error: The difference between expect_max and actual_max is
      8445966.0000002384, which exceeds eps, where
      
      expect_max evaluates to 0.9999997615814209,
      
      actual_max evaluates to 8445967, and
      
      eps evaluates to 1.0000000000000001e-005.
      
      Argument "dst0" has unexpected maximal value
      ```
      
      Hope this is a false alarm.
      df5a7c8e
    • MYLS's avatar
      fixed an error in the test... · 677d4d20
      MYLS authored
      677d4d20
    • MYLS's avatar
      solve warnings and errors in test. · 959002fb
      MYLS authored
      959002fb
    • MYLS's avatar
      Split `cvWriteRawData_Base64` into three functions · 7c92ee2e
      MYLS authored
      The three new functions:
      
      ```cpp
      void cvStartWriteRawData_Base64(::CvFileStorage * fs, const char* name,
      int len, const char* dt);
      void cvWriteRawData_Base64(::CvFileStorage *
      fs, const void* _data, int len);
      void
      cvEndWriteRawData_Base64(::CvFileStorage * fs);
      ```
      
      Test is also updated. (And it's remarkable that there is a bug in
      `cvWriteReadData`.)
      7c92ee2e
  26. 20 Jun, 2016 1 commit
    • MYLS's avatar
      change the parameter to `CvMat` and `CvMatND` · 29921d05
      MYLS authored
      ```cpp
      cvWriteMat_Base64(::cv::FileStorage & fs, ::cv::String const & name,
      ::cv::Mat const & mat)
      ```
      becomes:
      ```cpp
      CV_EXPORTS void cvWriteMat_Base64(::CvFileStorage* fs, const char* name,
      const ::CvMat* mat);
      CV_EXPORTS void
      cvWriteMatND_Base64(::CvFileStorage* fs, const char* name, const
      ::CvMatND* mat);
      ```
      29921d05
  27. 18 Jun, 2016 4 commits
    • MYLS's avatar
      Solve warnings, and adjusted the test case. · 958263d2
      MYLS authored
      958263d2
    • MYLS's avatar
      fix errors from test. · 882e4221
      MYLS authored
      Two other test are still needed.
      
      1. Verify the Base64 data.
      2. Read an old YML file for compatibility test.
      882e4221
    • MYLS's avatar
      Add Base64 support for FileStorage · 7b1f7c8d
      MYLS authored
      1. Add Base64 support for reading and writing XML\YML file.
      
      The two new functions for writing:
      
      ```cpp
      void cvWriteRawData_Base64(cv::FileStorage & fs, const void* _data, int
      len, const char* dt);
      void cvWriteMat_Base64(cv::FileStorage & fs, cv::String const & name,
      cv::Mat const & mat);
      ```
      
      2. Change YML file header form `YAML:1.0` to `YAML 1.0`. (standard
      format)
      
      3. Add test for Base64 part.
      7b1f7c8d
    • MYLS's avatar
      Add Base64 support for FileStorage · ecd827fc
      MYLS authored
      [GSoC] FileStorage:
      Add base64 support for reading and writting XML\YML file.
      The two new functions:
      ```
      void cvWriteRawData_Base64(cv::FileStorage & fs, const void* _data, int
      len, const char* dt);
      void cvWriteMat_Base64(cv::FileStorage & fs, cv::String const & name,
      cv::Mat const & mat);
      ```
      ecd827fc
  28. 11 Apr, 2016 2 commits
  29. 25 Apr, 2015 1 commit
    • Mansour Moufid's avatar
      Cast some image coordinates and sizes to double. · b99f7a29
      Mansour Moufid authored
      Conflicts:
      	modules/gpu/perf/perf_imgproc.cpp
      
      Cast a long integer to double explicitly.
      
      Conflicts:
      	modules/python/src2/cv2.cpp
      
      Cast some matrix sizes to type int.
      
      Change some vector mask types to unsigned.
      
      Conflicts:
      	modules/core/src/arithm.cpp
      b99f7a29
  30. 24 Feb, 2015 1 commit