Alexander Alekhin
f0df78b7e7
imgcodecs: ensure parameters are key-value pairs, fix HDR encoder
2022-11-20 13:08:46 +00:00
Alexander Alekhin
381d9bafdf
imgcodecs: disable OpenEXR in runtime for 3rdparty source code
...
- builtin OpenEXR source code is outdated
- external OpenEXR distributions are allowed
2021-12-23 10:41:18 +00:00
Harvey
ce68291d83
32bit rgb bmp file should not copy data as rgba
2021-10-21 16:47:27 +08:00
Alexander Alekhin
02bfd20760
imgcodecs(test): add OpenEXR I/O test
2019-06-08 21:30:26 +00:00
Alexander Alekhin
43c68d1864
imgcodecs: OPENCV_IO_ENABLE_JASPER runtime parameter
2019-03-14 21:43:24 +00:00
Alexander Alekhin
2f9b4439af
Merge pull request #11565 from alalek:issue_11545
2018-05-22 16:00:37 +00:00
Alexander Enaldiev
84584002f2
Merge pull request #11417 from Turim:imgcodecs_cmake_decoders_customize_formats
...
* 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
2018-05-22 15:10:15 +00:00
Alexander Alekhin
76ac7ab4ef
imgcodecs: added test for imwrite parameter types
...
issue 11545
2018-05-22 13:55:14 +03:00
Alexander Alekhin
a22ee76b45
imgcodecs: exclude rle8.bmp from GDAL tests
...
GDAL message:
- ERROR 1: The BMP file is probably corrupted or too large. Image width = 480
2018-04-09 13:18:33 +03:00
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- 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
2018-02-03 19:39:47 +00:00
Vinay Sharma
5aac909046
Merge pull request #10352 from vinay0410:write_pbm
...
* 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)
2017-12-28 17:28:34 +03:00
Alexander Alekhin
78a310630f
imgproc(test): add checks for remove() call
2017-08-16 18:56:42 +03:00
Maksim Shabunin
87b569d812
Rewritten some tests in videoio and imgcodecs modules
...
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
2017-06-20 18:20:41 +03:00
Alexander Alekhin
a92aed45a4
Merge pull request #7064 from DmtKats:pam
2016-09-06 16:56:27 +00:00
Dimitrios Katsaros
41431e11f5
Imgcodecs: Implemented simple tests for PAM format
2016-09-06 15:47:22 +02:00
Maksim Shabunin
a21b8ed92c
Merge pull request #7180 from mrquorr:add_dcm_test
2016-08-29 08:40:02 +00:00
mrquorr
a88bf4e5aa
test added, only if HAVE_GDCM is on
2016-08-26 13:27:55 +00:00
Patrick Spettel
84e1712659
Fix temporary file removal in imdecode for tiff
...
The TiffDecoder keeps an open file handle.
As a consequence the file cannot be removed
before the TiffDecoder closes the file.
2016-08-16 10:56:00 +02:00
micalan
0a306f8804
Camera orientation handling is added for jpeg files
2015-10-23 21:19:35 +03:00
Andreas Stührk
c9481b0fd7
Don't allocate lots of memory when reading TIFFs with infinite rows per strip.
...
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
2015-05-24 14:06:20 +02:00
Alexander Smorkalov
6e1a595342
GCC 4.8 warning array subscript is above array bounds fixed.
...
tiff test fixed
2015-05-24 13:31:01 +02:00
Ashod Nakashian
f75f2ffd48
Jpeg2k color to greyscale conversion on non-Windows is done post decoding because system libjasper segfaults when decoding color images as greyscale.
2015-04-03 21:01:45 -04:00
Ashod Nakashian
6fd2fdc2e6
Jasper unit-tests and removed a superfluous assertion.
2015-04-03 21:01:43 -04:00
Maksim Shabunin
036b13ee05
Fixed GDAL loader check
2015-01-21 14:01:21 +03:00
Vladislav Vinogradov
c120001178
fix -Wsign-compare warnings
2015-01-15 17:17:35 +03:00
Ashod Nakashian
473964806c
Added imread and imreadmulti regression tests.
2015-01-03 12:48:29 -05:00
Maksim Shabunin
e85ae5f2f0
Fixed imgcodecs tests
...
- Imgcodecs_Image, write_imageseq - assuming JPEG images have losses
- Imgcodecs_Drawing, c_regression - replaced assert calls
- Imgcodecs_Drawing - exact comparison with reference image
2014-10-23 12:38:42 +04:00
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
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
2014-08-13 15:21:35 +04:00
Vadim Pisarevsky
a782ee93de
Merge pull request #2992 from snikulov:upmerge_jpeg_tweak
2014-07-30 12:48:41 +00:00
Kobi Gurkan
6cac76bfe4
fixes tab indentation - replacing with 4 spaces
2014-07-27 17:14:54 +03:00
Kobi Gurkan
fc8f0e341b
adding support for 16-bit 4 channel tiffs
...
- when IMREAD_UNCHANGED is set in flags, the tiff is read with 4 channels
- adding test for read/write
2014-07-27 17:09:05 +03:00
Sergey Nikulov
9d107fb2d5
fixed test compilation
2014-07-21 19:26:26 +04:00
Sergey Nikulov
bd144cfa64
upmerged pull req #2974 to master - added more jpeg options to imgcodecs
2014-07-21 18:56:35 +04:00
vbystricky
d58f736935
Split highgui module to videoio and highgui
2014-07-14 23:16:47 +04:00
vbystricky
4286f60387
Extract imgcodecs module from highgui
2014-07-07 16:28:08 +04:00