Alexander Alekhin
78a310630f
imgproc(test): add checks for remove() call
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
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
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
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
11 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
11 years ago
Sergey Nikulov
9d107fb2d5
fixed test compilation
11 years ago
Sergey Nikulov
bd144cfa64
upmerged pull req #2974 to master - added more jpeg options to imgcodecs
11 years ago
vbystricky
d58f736935
Split highgui module to videoio and highgui
11 years ago
vbystricky
4286f60387
Extract imgcodecs module from highgui
11 years ago
Ilya Lavrenov
aa5326c231
cv::norm -> cvtest::norm in tests
...
Conflicts:
modules/core/src/stat.cpp
11 years ago
Nicolas Gryman
da34f1d58c
added jpeg with optimized coding support.
11 years ago
Nicolas Gryman
b211e1d989
added jpeg progressive support.
11 years ago
Alexander Smorkalov
dbb7aa7856
Highgui_Tiff.decode_tile16384x16384 disabled for Android.
...
Last changes in test leads to SIGKILL on Android.
SIGKILL is called by out of memory killer.
11 years ago
Matti Picus
dc50dc7254
fix merge
11 years ago
Matti Picus
46d128e073
add test (needs updated opencv_extra repo)
11 years ago
Stuart Cunningham
8bbce0a2a2
Fix reading of 16-bit TIFF images on big endian host.
...
Use correct integer types for arguments to TIFFGetField to avoid corruption
of values and failed loads of TIFF file when using cv::imread().
Added test where both big and little endian TIFF files are read using imread().
Fixed build of 3rdparty libtiff on big endian hosts.
Reduced memory required during decode_tile16384x16384 test by not converting
large grayscale test image to color image during read.
11 years ago
Fedor Morozov
c9ace38897
Docs updated, added InputArray, fixes for makePtr,...
11 years ago
Alexander Shishkov
e354fa3fd1
fixed test data in highgui test for HDR
11 years ago
Hanusz Leszek
32635a6834
using unsigned char instead of uint8_t to compile under windows
11 years ago
Hanusz Leszek
cf39ba5801
Allow to read PNG image of color_type PNG_COLOR_TYPE_PALETTE with alpha channel
...
Correct reading PNG color type palette with or without alpha imread flags -1 or 1
Better not using pnginfo.h, using png_get_tRNS instead
11 years ago
Fedor Morozov
302bf23f82
All hdr functions as Algorithms
12 years ago
Fedor Morozov
703cf8cef7
Calibration, various changes
12 years ago
Alexander Shishkov
a29ce401d5
minore changes in test on HDR fromat
12 years ago
andrey.morozov
e4e0862c2e
added support image with alpha channel
12 years ago
andrey.morozov
8d0452ed59
added test to save image with webp with alpha channel
12 years ago
Fedor Morozov
84ea0c9a97
Tests and rgbe fix
12 years ago
Andrey Kamaev
0738ea7d0f
Make highgui.hpp independent from C API
12 years ago
AoD314
7d0c600504
improved test of webp
12 years ago
Andrey Kamaev
ad5cddc007
Main module headers are moved 1 level up
...
e.g. <opencv2/core/core.hpp> become <opencv2/core.hpp>
Also renamed <opencv2/core/opengl_interop.hpp> to <opencv2/core/opengl.hpp>
12 years ago
AoD314
eb012a5993
added tests for WebP
12 years ago
Andrey Kamaev
2a6fb2867e
Remove all using directives for STL namespace and members
...
Made all STL usages explicit to be able automatically find all usages of
particular class or function.
12 years ago
kobigurk
18a5b8dfc6
fixed tab indent
12 years ago
kobigurk
88e0127f44
API of TiffDecoder back to what it was - normalizeChannelsNumber moved to protected
...
test code unified - channels number is tested for other formats as well
12 years ago
kobigurk
109e047a28
* img_test is now tested for channel numbers instead of img
...
* fixed indentation to use spaces and trailing spaces
12 years ago
kobigurk
9f80c6c989
added test for 4 channel tiff
12 years ago
Andrey Kamaev
55b90d7bae
Modify decode_tile16384x16384 test to not fail when available memory is not enough for test
12 years ago
Andrey Kamaev
11871528ce
Solve conflict between tiff.h and opencv2/core/types_c.h
...
Сonflict exists between some versions of libtiff and opencv headers
12 years ago
Andrey Kamaev
b4d0dff4c5
Added minimal support for tiff encoder parameters and test for issue #2161
12 years ago