- 14 Mar, 2019 1 commit
-
-
Alexander Alekhin authored
-
- 13 Mar, 2019 1 commit
-
-
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.
-
- 01 Nov, 2018 1 commit
-
-
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
-
- 31 Oct, 2018 1 commit
-
-
Suleyman TURKMEN authored
* Update imgproc.hpp * update color conversion codes
-
- 30 Aug, 2018 1 commit
-
-
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
-
- 22 May, 2018 2 commits
-
-
Alexander Enaldiev authored
* imgcodecs cmake: the option to customize supported formats list (WITH_IMGCODEC_HDR, WITH_IMGCODEC_SUNRASTER, WITH_IMGCODEC_PXM) * imgcodecs: fixes - fixed CMake scripts (=OFF doesn't really work) - restore dropped GDCM block - added _IMGCODEC_ prefix - fixed tests - include PAM format under WITH_IMGCODEC_PXM option
-
Alexander Alekhin authored
issue 11545
-
- 09 Apr, 2018 1 commit
-
-
Alexander Alekhin authored
GDAL message: - ERROR 1: The BMP file is probably corrupted or too large. Image width = 480
-
- 29 Mar, 2018 2 commits
-
-
catree authored
-
RAJKIRAN NATARAJAN authored
* fix cv::imwrite to allow cv::UMat and vectors of it to be written * cv::imwrite failure handling improvements * Unit test for regression testing imwrite support for and fix whitespace
-
- 20 Feb, 2018 1 commit
-
-
Rostislav Vasilikhin authored
-
- 03 Feb, 2018 1 commit
-
-
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
-
- 04 Jan, 2018 1 commit
-
-
Coralie RACHEX authored
* Load and save tiff images in CV_32FC1 format (1 channel of floats). * Add test * Fix error handling and resources leak. Improve test.
-
- 28 Dec, 2017 1 commit
-
-
Vinay Sharma authored
* added write as pbm * add tests for pbm * imgcodecs: PBM support - drop additional PBM parameters - write: fix P1/P4 mode (no maxval 255 value after width/height) - write: invert values for P1/P4 - write: P1: compact ASCII mode (no spaces) - simplify pbm test - drop .pxm extension (http://netpbm.sourceforge.net/doc/ doesn't know such extension)
-
- 29 Aug, 2017 1 commit
-
-
Alexander Alekhin authored
-
- 16 Aug, 2017 1 commit
-
-
Alexander Alekhin authored
-
- 10 Jul, 2017 1 commit
-
-
- 20 Jun, 2017 1 commit
-
-
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
-
- 07 Dec, 2016 1 commit
-
-
Alexander Alekhin authored
-
- 14 Oct, 2016 1 commit
-
-
Vitaly Tuzov authored
-
- 06 Sep, 2016 1 commit
-
-
Dimitrios Katsaros authored
-
- 26 Aug, 2016 1 commit
-
-
mrquorr authored
-
- 16 Aug, 2016 1 commit
-
-
Patrick Spettel authored
The TiffDecoder keeps an open file handle. As a consequence the file cannot be removed before the TiffDecoder closes the file.
-
- 23 Oct, 2015 1 commit
-
-
micalan authored
-
- 24 May, 2015 2 commits
-
-
Andreas Stührk authored
Some TIFF images consist of only one strip. The magic value 2**32-1 for the "rows per strip" tag reflects that fact, effectively meaning "infinite". Conflicts: modules/highgui/src/grfmt_tiff.cpp modules/highgui/test/test_grfmt.cpp fix whitespace fix compile error
-
Alexander Smorkalov authored
tiff test fixed
-
- 16 Apr, 2015 1 commit
-
-
Ahmatnurov Dinar authored
-
- 04 Apr, 2015 2 commits
-
-
Ashod Nakashian authored
Jpeg2k color to greyscale conversion on non-Windows is done post decoding because system libjasper segfaults when decoding color images as greyscale.
-
Ashod Nakashian authored
-
- 21 Jan, 2015 1 commit
-
-
Maksim Shabunin authored
-
- 15 Jan, 2015 1 commit
-
-
Vladislav Vinogradov authored
-
- 03 Jan, 2015 1 commit
-
-
Ashod Nakashian authored
-
- 23 Oct, 2014 1 commit
-
-
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
-
- 15 Aug, 2014 1 commit
-
-
Vadim Pisarevsky authored
-
- 13 Aug, 2014 1 commit
-
-
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
-
- 27 Jul, 2014 2 commits
-
-
Kobi Gurkan authored
-
Kobi Gurkan authored
- when IMREAD_UNCHANGED is set in flags, the tiff is read with 4 channels - adding test for read/write
-
- 21 Jul, 2014 2 commits
-
-
Sergey Nikulov authored
-
Sergey Nikulov authored
-
- 14 Jul, 2014 1 commit
-
-
vbystricky authored
-