1. 14 Mar, 2019 1 commit
  2. 13 Mar, 2019 1 commit
    • rpici's avatar
      Fix bug in test_tiff.cpp · 9cca066e
      rpici authored
      The big endian data in the tiff_sample_data array was never being tested.  This could be observed by e.g. changing the 9th byte in the big endian data from 0xde to something that should fail the test, e.g. 0xdd, and the test would still pass even though it should fail.
      9cca066e
  3. 01 Nov, 2018 1 commit
    • Ilari Venäläinen's avatar
      Merge pull request #12989 from venalil:fix_thresholded_tiff_read · e6c41f0d
      Ilari Venäläinen authored
      * Fix reading of black-and-white (thresholded) TIFF images
      
      I recently updated my local OpenCV version to 3.4.3 and found out that
      I could not read my TIFF images related to my project. After debugging I
      found out that there has been some static analysis fixes made
      that accidentally have broken reading those black-and-white TIFF images.
      
      Commit hash in which reading of mentioned TIFF images has been broken:
      cbb1e867
      
      Basically the fix is to revert back to the same functionality that has been there before,
      when black-and-white images are read bpp (bitspersample) is 1.
      Without the case 1: this TiffDecoder::readHeader() function always return false.
      
      * Added type and default error message
      
      * Added stdexcept include
      
      * Use CV_Error instead of throw std::runtime_error
      
      * imgcodecs(test): add TIFF B/W decoding tests
      e6c41f0d
  4. 31 Oct, 2018 1 commit
  5. 30 Aug, 2018 1 commit
    • Alexander Alekhin's avatar
      imgcodecs(webp): multiple fixes · 0515f930
      Alexander Alekhin authored
      - don't reallocate passed 'img' (test fixed - must use IMREAD_UNCHANGED / IMREAD_ANYCOLOR)
      - avoid memory DDOS
      - avoid reading of whole file during header processing
      - avoid data access after allocated buffer during header processing (missing checks)
      - use WebPFree() to free allocated buffers (libwebp >= 0.5.0)
      - drop unused & undefined `.close()` method
      - added checks for channels >= 5 in encoder
      0515f930
  6. 22 May, 2018 2 commits
  7. 09 Apr, 2018 1 commit
  8. 29 Mar, 2018 2 commits
  9. 20 Feb, 2018 1 commit
  10. 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
  11. 04 Jan, 2018 1 commit
  12. 28 Dec, 2017 1 commit
  13. 29 Aug, 2017 1 commit
  14. 16 Aug, 2017 1 commit
  15. 10 Jul, 2017 1 commit
  16. 20 Jun, 2017 1 commit
    • Maksim Shabunin's avatar
      Rewritten some tests in videoio and imgcodecs modules · 87b569d8
      Maksim Shabunin authored
      general:
      - all iterative tests have been replaced with parameterized tests
      - old-style try..catch tests have been modified to use EXPECT_/ASSERT_ gtest macros
      - added temporary files cleanup
      - modified MatComparator error message formatting
      
      imgcodecs:
      - test_grfmt.cpp split to test_jpg.cpp, test_png.cpp, test_tiff.cpp, etc.
      
      videoio:
      - added public HAVE_VIDEO_INPUT, HAVE_VIDEO_OUTPUT definitions to cvconfig.h
      - built-in MotionJPEG codec could not be tested on some platforms (read_write test was disabled if ffmpeg is off, encoding/decoding was handled by ffmpeg otherwise).
      - image-related tests moved to imgcodecs (Videoio_Image)
      - several property get/set tests have been combined into one
      - added MotionJPEG test video to opencv_extra
      87b569d8
  17. 07 Dec, 2016 1 commit
  18. 14 Oct, 2016 1 commit
  19. 06 Sep, 2016 1 commit
  20. 26 Aug, 2016 1 commit
  21. 16 Aug, 2016 1 commit
  22. 23 Oct, 2015 1 commit
  23. 24 May, 2015 2 commits
  24. 16 Apr, 2015 1 commit
  25. 04 Apr, 2015 2 commits
  26. 21 Jan, 2015 1 commit
  27. 15 Jan, 2015 1 commit
  28. 03 Jan, 2015 1 commit
  29. 23 Oct, 2014 1 commit
    • Maksim Shabunin's avatar
      Fixed imgcodecs tests · e85ae5f2
      Maksim Shabunin authored
      - Imgcodecs_Image, write_imageseq - assuming JPEG images have losses
      - Imgcodecs_Drawing, c_regression - replaced assert calls
      - Imgcodecs_Drawing - exact comparison with reference image
      e85ae5f2
  30. 15 Aug, 2014 1 commit
  31. 13 Aug, 2014 1 commit
    • Adil Ibragimov's avatar
      Several type of formal refactoring: · 8a4a1bb0
      Adil Ibragimov authored
      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
  32. 27 Jul, 2014 2 commits
  33. 21 Jul, 2014 2 commits
  34. 14 Jul, 2014 1 commit