Maksim Shabunin
e0393f8557
Fixed some issues found by static analysis (4th round)
2017-06-30 12:26:53 +03:00
Maksim Shabunin
a769d69a9d
Fixed several issues found by static analysis
2017-06-28 18:06:18 +03:00
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
2017-06-27 14:30:26 +03:00
Alexander Alekhin
006966e629
trace: initial support for code trace
2017-06-26 17:07:13 +03:00
Vadim Pisarevsky
fa7e7e0ff9
Merge pull request #8900 from alalek:update_android_build
2017-06-23 10:58:53 +00:00
Maksim Shabunin
d27009c775
Merge pull request #8856 from mshabunin:media-tests-upgrade
2017-06-22 11:45:52 +00:00
Alexander Alekhin
3e3e2dd512
android: make optional "cpufeatures", build fixes for NDK r15
2017-06-21 13:34:19 +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
a9cc87636f
build: update modules descriptions
2017-06-20 15:45:23 +03:00
saskatchewancatch
e4cb8a6f09
issue 8723: Changed doc for cv::imwrite to reflect correct default flag used for png compression strategy.
2017-05-12 00:01:38 -06:00
Alexander Alekhin
a7e80f7c10
Merge pull request #8645 from brian-armstrong-discord:bugfix_inmemory_exif
2017-04-25 10:32:00 +00:00
Brian Armstrong
40dc0bcd63
fix ByteStreamBuffer
2017-04-24 18:07:47 -07:00
berak
cbda9b332b
imgcodecs: fix webp IMREAD_GRAYSCALE loading
2017-04-24 11:56:23 +02:00
brian-armstrong-discord
9e054d3880
Merge pull request #8492 from brian-armstrong-discord:exif_inmemory
...
autorotate in-memory jpegs (#8492 )
* autorotate in-memory jpegs
* correct indentation (4 spaces)
* imgcodecs: don't apply EXIF rotation for unloaded images
* videoio: don't try to rotate MJPEG stream
* imgcodecs: ByteStreamBuffer::seekoff support all seek "dir"
* imgcodecs: fix condition: "off == egptr() - eback()" is valid offset
2017-04-14 23:12:07 +03:00
Chaoshuai Lu
de7018539d
Fix UIImageToMat method by taking image scale information into account
2017-03-22 22:33:13 -07:00
Chaoshuai Lu
874fb7ae78
Fix MatToUIImage method crash when the step is not equal to cols * elemSize()
2017-03-22 22:04:27 -07:00
Alexander Alekhin
eaba0e6358
cmake: append '-framework UIKit' for videoio/imgcodecs module
2017-02-21 13:37:37 +03:00
Alexander Alekhin
1304ad1e12
Merge pull request #8160 from ilijapuaca:master
2017-02-14 13:03:09 +00:00
Alexander Alekhin
8633ef451e
cmake: cleanup unused defines
2017-02-10 15:18:29 +03:00
Ilija Puaca
1b842c4762
Updated version of libwebp to 0.6.0. Removed iOS from build exceptions for libwebp
2017-02-09 23:35:27 +01:00
StevenPuttemans
22d8a81a57
enable processing of 16, 32 and 64 bit 4 channel data using GDAL1.2
2017-02-07 15:51:45 +01:00
Raj Natarajan
b7a053b0e5
Issue-7310: Updated imwrite doc to correct default setting for IMWRITE_PNG_COMPRESSION and clarified existing doc a bit.
2016-12-26 00:44:43 -06:00
Alexander Alekhin
d0f883524e
cmake(osx): fix CoreImage error ( #7916 )
2016-12-23 11:30:17 +03:00
Maksim Shabunin
7d5fd6a800
Merge pull request #7812 from alalek:fix_putText
2016-12-15 13:33:56 +00:00
Alexander Alekhin
ee265962b2
test: move test_drawing into imgproc module
2016-12-07 22:04:25 +03:00
catree
c4d4158bd8
Add imread documentation note when EXIF orientation is embedded.
2016-12-07 18:08:18 +01:00
guoxuedong
e69253a4fb
Update exif.cpp
...
ExifReader::getExif may enter infinite loop with jpeg image which have no EOI.
For example, bytesToSkip may be set to 0 and fseek seems like fseek(f, -2 , SEEK_CUR) for image that end with RST7(FF D7) instead of EOI.
2016-11-24 11:08:11 +08:00
Alexander Alekhin
099be88f02
Merge pull request #7638 from ArkadiuszRaj:move-exif-from-jpeg-to-loadsave
2016-11-14 13:37:42 +00:00
Arkadiusz Raj
40778fa30a
Change name to minimize confusion
2016-11-10 15:31:34 +01:00
Arkadiusz Raj
4a9c84c570
Add static to local function
2016-11-10 15:04:28 +01:00
Arkadiusz Raj
f893ee5cec
Added IMREAD_IGNORE_ORIENTATION flag
2016-11-09 18:09:22 +01:00
Vitaly Tuzov
1d045f2731
Added test for drawing beyond 32768 column
2016-10-14 18:38:01 +03:00
ArkadiuszRaj
797030aa90
Solution to issue #7408
2016-10-07 21:29:08 +02:00
Alexander Alekhin
1c18b1d245
Merge pull request #7370 from souch55:Fixxn
2016-10-01 10:44:56 +00:00
sourin
a34fbf7bb1
Fixed identifiers warns
2016-09-30 15:16:29 +05:30
Maksim Shabunin
48af5e5579
Merge pull request #7202 from valeriyvan:fixUIImageToMat
2016-09-06 20:45:19 +00: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
Dimitrios Katsaros
4e513a3346
Imgcodecs: Fixed a bug with checkSignature in GdalDecoder
...
In cases where the signaure string contains a terminating character,
the std::string member function size returns a smaller value than the
allocated string. In these cases, if you then try to use substr,
you will get an out_of_range exception. This patch remedies the problem.
2016-09-06 15:47:22 +02:00
Dimitrios Katsaros
6172803012
imgcodecs: Implementation of PAM encoder/decoder
...
This patch implements the PAM image format as defined at:
http://netpbm.sourceforge.net/doc/pam.html
The PAM format provides a generic means for storing 2 dimensional information.
This is useful for opencv since there are cases where data gets translated into
non standardized formats, which makes it difficult to store and load this information.
2016-09-06 15:47:22 +02:00
Valeriy Van
464d289fa9
Gets rid of magic constant
2016-08-30 23:22:49 +03:00
Alexander Alekhin
4e8f8922e2
Merge pull request #7170 from alalek:fix_build
2016-08-29 10:15:58 +00: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
Alexander Alekhin
5383a625a7
fix Win build, change default WINNT macro to WinXP
...
Returning to Win2k value is possible via this CMake option:
cmake -DOPENCV_EXTRA_FLAGS="/D_WIN32_WINNT=0x0500" ...
2016-08-25 16:21:52 +03:00
Morrison
ca318e7099
handle images with alpha better
...
UIImages with alpha were ending up with garbage pixels in background (random memory values). Need to initialize matrix pixels before drawing UIImage with alpha on it.
Note: didn’t fix Grayscale image with alpha stripping alpha in UIImage -> Mat conversion.
2016-08-16 15:10:48 -07: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
Vadim Pisarevsky
1e17ffe9ac
Merge pull request #6839 from thierrylamarre:better_png_transparency
2016-07-18 18:24:34 +00:00
Vadim Pisarevsky
b6f21a6cac
Merge pull request #6813 from mshabunin:gdcm-cmake-search
2016-07-18 16:00:43 +00:00
thierry
ea911d34c6
remove 2-channel png encoder/decoder support
2016-07-14 14:58:05 +02:00