Alexander Alekhin
a4a47b538c
build: detect Android via '__ANDROID__' macro
...
https://sourceforge.net/p/predef/wiki/OperatingSystems
7 years ago
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
8 years ago
Alexander Alekhin
ee265962b2
test: move test_drawing into imgproc module
8 years ago
Vitaly Tuzov
1d045f2731
Added test for drawing beyond 32768 column
8 years ago
Dimitrios Katsaros
41431e11f5
Imgcodecs: Implemented simple tests for PAM format
8 years ago
mrquorr
a88bf4e5aa
test added, only if HAVE_GDCM is on
8 years ago
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.
8 years ago
micalan
0a306f8804
Camera orientation handling is added for jpeg files
9 years ago
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
10 years ago
Alexander Smorkalov
6e1a595342
GCC 4.8 warning array subscript is above array bounds fixed.
...
tiff test fixed
10 years ago
Ahmatnurov Dinar
2358c79db2
move 3265 to 3.0;
10 years ago
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.
10 years ago
Ashod Nakashian
6fd2fdc2e6
Jasper unit-tests and removed a superfluous assertion.
10 years ago
Maksim Shabunin
036b13ee05
Fixed GDAL loader check
10 years ago
Vladislav Vinogradov
c120001178
fix -Wsign-compare warnings
10 years ago
Ashod Nakashian
473964806c
Added imread and imreadmulti regression tests.
10 years ago
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
10 years ago
Vadim Pisarevsky
e9729a9601
multiple yet minor fixes to make most of the tests pass on Mac with Iris graphics
10 years ago
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
10 years ago
Kobi Gurkan
6cac76bfe4
fixes tab indentation - replacing with 4 spaces
10 years ago
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
10 years ago
Sergey Nikulov
9d107fb2d5
fixed test compilation
10 years ago
Sergey Nikulov
bd144cfa64
upmerged pull req #2974 to master - added more jpeg options to imgcodecs
10 years ago
vbystricky
d58f736935
Split highgui module to videoio and highgui
10 years ago
vbystricky
4286f60387
Extract imgcodecs module from highgui
11 years ago