platform/upstream/opencv.git
6 years agoMerge pull request #11617 from alalek:ffmpeg_fix_time_base
Alexander Alekhin [Tue, 29 May 2018 15:19:13 +0000 (15:19 +0000)]
Merge pull request #11617 from alalek:ffmpeg_fix_time_base

6 years agoMerge pull request #11598 from catree:add_tutorial_features2d_java_python
Alexander Alekhin [Tue, 29 May 2018 15:18:44 +0000 (15:18 +0000)]
Merge pull request #11598 from catree:add_tutorial_features2d_java_python

6 years agoMerge pull request #11596 from alalek:videoio_priority_list
Alexander Alekhin [Tue, 29 May 2018 15:17:01 +0000 (15:17 +0000)]
Merge pull request #11596 from alalek:videoio_priority_list

6 years agovideoio: backends priority list
Alexander Alekhin [Mon, 21 May 2018 14:06:31 +0000 (14:06 +0000)]
videoio: backends priority list

6 years agovideoio(ffmpeg): specify stream->time_base
Alexander Alekhin [Tue, 29 May 2018 11:28:38 +0000 (11:28 +0000)]
videoio(ffmpeg): specify stream->time_base

Using codec->time_base is deprecated to specify muxer settings.
Resolves issue with FPS value for AVI files with FFmpeg 4.0.

Related FFmpeg commits:
- https://github.com/FFmpeg/FFmpeg/commit/194be1f43ea391eb986732707435176e579265aa
- https://github.com/FFmpeg/FFmpeg/commit/91736025b2807995e29bd0661807c1c84f515fef

6 years agoAdd Java and Python code for the following features2d tutorials: Harris corner detect...
catree [Sun, 27 May 2018 23:33:56 +0000 (01:33 +0200)]
Add Java and Python code for the following features2d tutorials: Harris corner detector, Shi-Tomasi corner detector, Creating your own corner detector, Detecting corners location in subpixels, Feature Detection, Feature Description, Feature Matching with FLANN, Features2D + Homography to find a known object. Use Lowe's ratio test to filter the matches.

6 years agoMerge pull request #11607 from dkurt:dnn_scale_shift_layer
Alexander Alekhin [Mon, 28 May 2018 18:19:22 +0000 (18:19 +0000)]
Merge pull request #11607 from dkurt:dnn_scale_shift_layer

6 years agoMerge pull request #11605 from alalek:fix_build_10963
Alexander Alekhin [Mon, 28 May 2018 18:18:40 +0000 (18:18 +0000)]
Merge pull request #11605 from alalek:fix_build_10963

6 years agoRemove Shift deep learning layer
Dmitry Kurtaev [Mon, 28 May 2018 15:13:32 +0000 (18:13 +0300)]
Remove Shift deep learning layer

6 years agobuild: workaround issues with C compilation mode
Alexander Alekhin [Mon, 28 May 2018 15:07:23 +0000 (18:07 +0300)]
build: workaround issues with C compilation mode

- cvdef.h + cvRound (double only)
- highgui_c.h

6 years agoMerge pull request #11591 from alalek:calib3d_chessboard_fix3
Alexander Alekhin [Mon, 28 May 2018 12:48:10 +0000 (12:48 +0000)]
Merge pull request #11591 from alalek:calib3d_chessboard_fix3

6 years agoMerge pull request #11590 from alalek:calib3d_chessboard_fix2
Alexander Alekhin [Mon, 28 May 2018 12:44:46 +0000 (12:44 +0000)]
Merge pull request #11590 from alalek:calib3d_chessboard_fix2

6 years agoMerge pull request #11589 from alalek:calib3d_chessboard_fix
Alexander Alekhin [Mon, 28 May 2018 10:13:42 +0000 (10:13 +0000)]
Merge pull request #11589 from alalek:calib3d_chessboard_fix

6 years agoMerge pull request #11592 from catree:remove_java_toBufferedImage
Alexander Alekhin [Sat, 26 May 2018 17:29:48 +0000 (17:29 +0000)]
Merge pull request #11592 from catree:remove_java_toBufferedImage

6 years agoMerge pull request #11576 from alalek:avoid_copyTo_with_getMat
Alexander Alekhin [Fri, 25 May 2018 16:52:58 +0000 (16:52 +0000)]
Merge pull request #11576 from alalek:avoid_copyTo_with_getMat

6 years agoUse directly HighGui.toBufferedImage().
catree [Fri, 25 May 2018 14:23:42 +0000 (16:23 +0200)]
Use directly HighGui.toBufferedImage().

6 years agocalib3d: chess board - perform full range (with 0) histogram smooth
Alexander Alekhin [Fri, 25 May 2018 12:35:36 +0000 (15:35 +0300)]
calib3d: chess board - perform full range (with 0) histogram smooth

6 years agocalib3d: chess board - properly detect/handle iCntMaxima=0 case
Alexander Alekhin [Fri, 25 May 2018 12:09:36 +0000 (15:09 +0300)]
calib3d: chess board - properly detect/handle iCntMaxima=0 case

6 years agocalib3d: chess board - avoid image modification via cvFindContours
Alexander Alekhin [Fri, 25 May 2018 12:01:34 +0000 (15:01 +0300)]
calib3d: chess board - avoid image modification via cvFindContours

6 years agoMerge pull request #11396 from terfendail:msmf_icapture
Alexander Alekhin [Thu, 24 May 2018 18:30:09 +0000 (18:30 +0000)]
Merge pull request #11396 from terfendail:msmf_icapture

6 years agoMerge pull request #11580 from dkurt:dnn_fix_tf_ssd
Alexander Alekhin [Thu, 24 May 2018 18:28:41 +0000 (18:28 +0000)]
Merge pull request #11580 from dkurt:dnn_fix_tf_ssd

6 years agoMerge pull request #11583 from catree:add_tutorial_imgproc_java_python2
Alexander Alekhin [Thu, 24 May 2018 18:28:14 +0000 (18:28 +0000)]
Merge pull request #11583 from catree:add_tutorial_imgproc_java_python2

6 years agoAdd Java and Python code for the following imgproc tutorials: Affine Transformations...
catree [Wed, 23 May 2018 17:44:27 +0000 (19:44 +0200)]
Add Java and Python code for the following imgproc tutorials: Affine Transformations, Histogram Equalization, Histogram Calculation, Histogram Comparison, Back Projection.

6 years agoMerge pull request #11582 from alalek:use_mat_empty_instead_of_size
Alexander Alekhin [Wed, 23 May 2018 20:43:36 +0000 (20:43 +0000)]
Merge pull request #11582 from alalek:use_mat_empty_instead_of_size

6 years agoMerge pull request #11108 from take1014:hough_4303
yuki takehara [Wed, 23 May 2018 20:42:12 +0000 (05:42 +0900)]
Merge pull request #11108 from take1014:hough_4303

* Added accumulator value to the output of HoughLines and HoughCircles

* imgproc: refactor Hough patch

- eliminate code duplication
- fix type handling, fix OpenCL code
- fix test data generation
- re-generated test data in debug mode via plain CPU code path

6 years agoMerge pull request #11551 from take1014:filter2d_10683
yuki takehara [Wed, 23 May 2018 20:25:11 +0000 (05:25 +0900)]
Merge pull request #11551 from take1014:filter2d_10683

* Add arguments to dftFilter2D

* test: add expected test values

6 years agoMerge pull request #11581 from mdfirman:rectify3Collinear_bugfix
Alexander Alekhin [Wed, 23 May 2018 20:19:11 +0000 (20:19 +0000)]
Merge pull request #11581 from mdfirman:rectify3Collinear_bugfix

6 years agoMerge pull request #11567 from alalek:code_quality
Alexander Alekhin [Wed, 23 May 2018 15:47:11 +0000 (15:47 +0000)]
Merge pull request #11567 from alalek:code_quality

6 years agointeractive-calibration: use empty() method instead of checking dimension size
Alexander Alekhin [Wed, 23 May 2018 15:26:21 +0000 (18:26 +0300)]
interactive-calibration: use empty() method instead of checking dimension size

6 years agoBugfix to allow adjust3rdMatrix to be run
Michael Firman [Wed, 23 May 2018 15:03:21 +0000 (16:03 +0100)]
Bugfix to allow adjust3rdMatrix to be run

6 years agoMerge pull request #11578 from alalek:build_warnings
Alexander Alekhin [Wed, 23 May 2018 15:02:32 +0000 (15:02 +0000)]
Merge pull request #11578 from alalek:build_warnings

6 years agoMerge pull request #11573 from mshabunin:fix-gst-leak
Alexander Alekhin [Wed, 23 May 2018 15:00:37 +0000 (15:00 +0000)]
Merge pull request #11573 from mshabunin:fix-gst-leak

6 years agoMSMF-based VideoCapture and VideoWriter backend changed to C++ interface
Vitaly Tuzov [Wed, 25 Apr 2018 15:19:14 +0000 (18:19 +0300)]
MSMF-based VideoCapture and VideoWriter backend changed to C++ interface

6 years agoFix batch normalization fusion from TensorFlow's SSDs
Dmitry Kurtaev [Wed, 23 May 2018 13:49:31 +0000 (16:49 +0300)]
Fix batch normalization fusion from TensorFlow's SSDs

6 years agofix build warnings
Alexander Alekhin [Wed, 23 May 2018 13:04:41 +0000 (16:04 +0300)]
fix build warnings

6 years agoMerge pull request #11575 from mshabunin:fix-ie-win
Alexander Alekhin [Wed, 23 May 2018 13:00:23 +0000 (13:00 +0000)]
Merge pull request #11575 from mshabunin:fix-ie-win

6 years agoavoid copyTo(outputarray.getMat()) pattern
Alexander Alekhin [Wed, 23 May 2018 10:56:34 +0000 (13:56 +0300)]
avoid copyTo(outputarray.getMat()) pattern

- leads to errors due 'const' modifier of getMat() method
- may be non-optimal with non-CPU data storage

6 years agodnn: fixed IE support on Windows
Maksim Shabunin [Wed, 23 May 2018 09:46:14 +0000 (12:46 +0300)]
dnn: fixed IE support on Windows

6 years agoMerge pull request #11572 from nglee:dev_fixNppStreamHandlerDtor
Alexander Alekhin [Wed, 23 May 2018 09:40:04 +0000 (09:40 +0000)]
Merge pull request #11572 from nglee:dev_fixNppStreamHandlerDtor

6 years agoGStreamer backend: fixed memory leak and version check
Maksim Shabunin [Wed, 23 May 2018 07:48:13 +0000 (10:48 +0300)]
GStreamer backend: fixed memory leak and version check

6 years agoNPP : NppStreamHandler fix
Namgoo Lee [Wed, 23 May 2018 06:54:39 +0000 (15:54 +0900)]
NPP : NppStreamHandler fix

6 years agoMerge pull request #11565 from alalek:issue_11545
Alexander Alekhin [Tue, 22 May 2018 16:00:37 +0000 (16:00 +0000)]
Merge pull request #11565 from alalek:issue_11545

6 years agoMerge pull request #11564 from alalek:ts_run_py_passthrough_test_args
Alexander Alekhin [Tue, 22 May 2018 15:58:51 +0000 (15:58 +0000)]
Merge pull request #11564 from alalek:ts_run_py_passthrough_test_args

6 years agoMerge pull request #11417 from Turim:imgcodecs_cmake_decoders_customize_formats
Alexander Enaldiev [Tue, 22 May 2018 15:10:15 +0000 (18:10 +0300)]
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

6 years agoMerge pull request #11558 from alalek:issue_11552
Alexander Alekhin [Tue, 22 May 2018 14:19:13 +0000 (14:19 +0000)]
Merge pull request #11558 from alalek:issue_11552

6 years agoMerge pull request #11566 from mshabunin:allow-ie-force
Alexander Alekhin [Tue, 22 May 2018 14:12:32 +0000 (14:12 +0000)]
Merge pull request #11566 from mshabunin:allow-ie-force

6 years agoimprove code quality
Alexander Alekhin [Tue, 22 May 2018 13:31:01 +0000 (16:31 +0300)]
improve code quality

- eliminate rand() calls
- non initialized members/ variables
- unused return values
- missing/useless NULL checks

6 years agoMerge pull request #11563 from alalek:dnn_text_test_threshold
Alexander Alekhin [Tue, 22 May 2018 13:05:23 +0000 (13:05 +0000)]
Merge pull request #11563 from alalek:dnn_text_test_threshold

6 years agoMerge pull request #11543 from catree:add_tutorial_imgproc_java_python
Alexander Alekhin [Tue, 22 May 2018 12:26:34 +0000 (12:26 +0000)]
Merge pull request #11543 from catree:add_tutorial_imgproc_java_python

6 years agodnn: support later IE versions
Maksim Shabunin [Tue, 22 May 2018 12:18:18 +0000 (15:18 +0300)]
dnn: support later IE versions

6 years agodnn: allow setting IE paths via command line
Maksim Shabunin [Tue, 22 May 2018 11:40:03 +0000 (14:40 +0300)]
dnn: allow setting IE paths via command line

6 years agoimgcodecs: fix imwrite handling of different OutputArray types
Alexander Alekhin [Tue, 22 May 2018 10:56:17 +0000 (13:56 +0300)]
imgcodecs: fix imwrite handling of different OutputArray types

6 years agoimgcodecs: added test for imwrite parameter types
Alexander Alekhin [Tue, 22 May 2018 10:55:14 +0000 (13:55 +0300)]
imgcodecs: added test for imwrite parameter types

issue 11545

6 years agots: run.py passthrough --test_* args "as is"
Alexander Alekhin [Tue, 22 May 2018 10:40:09 +0000 (13:40 +0300)]
ts: run.py passthrough --test_* args "as is"

to allow pass `--test_bigdata` via run.py

6 years agodnn(text): update check threshols
Alexander Alekhin [Tue, 22 May 2018 10:29:31 +0000 (13:29 +0300)]
dnn(text): update check threshols

- make green Linux debug/Linux32/Win32 builders

6 years agocmake: filter NVCC compiler flags (Wimplicit-fallthrough, OPENCV_CUDA_NVCC_FILTEROUT_...
Alexander Alekhin [Mon, 21 May 2018 14:54:11 +0000 (17:54 +0300)]
cmake: filter NVCC compiler flags (Wimplicit-fallthrough, OPENCV_CUDA_NVCC_FILTEROUT_OPTIONS)

issue 11552

6 years agoMerge pull request #11390 from dkurt:east_text_detection
Alexander Alekhin [Mon, 21 May 2018 13:02:29 +0000 (13:02 +0000)]
Merge pull request #11390 from dkurt:east_text_detection

6 years agoMerge pull request #11555 from alalek:fix_videocapture_frame_lifetime
Alexander Alekhin [Mon, 21 May 2018 10:35:36 +0000 (10:35 +0000)]
Merge pull request #11555 from alalek:fix_videocapture_frame_lifetime

6 years agovideoio: fix lifetime management of data of input frames
Alexander Alekhin [Mon, 21 May 2018 09:07:02 +0000 (12:07 +0300)]
videoio: fix lifetime management of data of input frames

6 years agoMerge pull request #11536 from catree:add_tutorial_highgui_trackbar_python_java
Alexander Alekhin [Mon, 21 May 2018 09:21:06 +0000 (09:21 +0000)]
Merge pull request #11536 from catree:add_tutorial_highgui_trackbar_python_java

6 years agoMerge pull request #11541 from lupustr3:pvlasov/icv_package_hotfix
Alexander Alekhin [Mon, 21 May 2018 08:03:52 +0000 (08:03 +0000)]
Merge pull request #11541 from lupustr3:pvlasov/icv_package_hotfix

6 years agoMerge pull request #11550 from tomoaki0705:fixCudaAsync
Alexander Alekhin [Sun, 20 May 2018 20:59:33 +0000 (20:59 +0000)]
Merge pull request #11550 from tomoaki0705:fixCudaAsync

6 years agoMerge pull request #11546 from shengyu7697:tab_to_space
Alexander Alekhin [Sun, 20 May 2018 20:58:51 +0000 (20:58 +0000)]
Merge pull request #11546 from shengyu7697:tab_to_space

6 years agofix the test failure of CUDA_Arithm/MeanStdDev
Tomoaki Teshima [Sun, 20 May 2018 10:38:02 +0000 (19:38 +0900)]
fix the test failure of CUDA_Arithm/MeanStdDev

6 years agofix wrong indentation on github page (tab to space)
shengyu [Sat, 19 May 2018 03:06:54 +0000 (11:06 +0800)]
fix wrong indentation on github page (tab to space)

6 years agoAdd Java and Python code for the following imgproc tutorials: Canny, Remap, threshold...
catree [Fri, 18 May 2018 17:51:34 +0000 (19:51 +0200)]
Add Java and Python code for the following imgproc tutorials: Canny, Remap, threshold and threshold inRange. Use HSV colorspace instead of RGB for inRange threshold tutorial.

6 years agoReturn a convex hull from rotatedRectangleIntersection
Dmitry Kurtaev [Mon, 30 Apr 2018 18:51:33 +0000 (21:51 +0300)]
Return a convex hull from rotatedRectangleIntersection

6 years agoMerge pull request #11531 from alalek:issue_11518
Alexander Alekhin [Fri, 18 May 2018 10:59:27 +0000 (10:59 +0000)]
Merge pull request #11531 from alalek:issue_11518

6 years agoMerge pull request #11537 from alalek:build_warnings
Alexander Alekhin [Fri, 18 May 2018 10:50:32 +0000 (10:50 +0000)]
Merge pull request #11537 from alalek:build_warnings

6 years agoHotfix packages with several fixes in IW code including:
Pavel Vlasov [Fri, 18 May 2018 09:08:22 +0000 (12:08 +0300)]
Hotfix packages with several fixes in IW code including:

    __STDCALL macro change to support IPP 2018u3+ external packages
    Memory leak fix in Gaussian filter
    Improved checkers for OpenMP supported features
    Improved declarations for atomic operations.

ICV binary and package version are the same.

6 years agoAdd Java and Python code for trackbar tutorial.
catree [Thu, 17 May 2018 12:19:08 +0000 (14:19 +0200)]
Add Java and Python code for trackbar tutorial.

6 years agofix build warnings
Alexander Alekhin [Thu, 17 May 2018 15:29:04 +0000 (18:29 +0300)]
fix build warnings

6 years agoMerge pull request #11520 from terfendail:ffmpeg_icapture
Alexander Alekhin [Thu, 17 May 2018 15:28:58 +0000 (15:28 +0000)]
Merge pull request #11520 from terfendail:ffmpeg_icapture

6 years agoMerge pull request #11523 from alalek:bigdata_tests
Alexander Alekhin [Thu, 17 May 2018 14:53:19 +0000 (14:53 +0000)]
Merge pull request #11523 from alalek:bigdata_tests

6 years agophoto: initialize cos() table with double type
Alexander Alekhin [Thu, 17 May 2018 12:30:11 +0000 (15:30 +0300)]
photo: initialize cos() table with double type

This avoids MSVC 19.14.26428.1 to call vectorized __vdecl_cosf4() function with less precision.

6 years agoMerge pull request #11529 from catree:add_tutorial_morphology_python_java
Alexander Alekhin [Wed, 16 May 2018 19:40:02 +0000 (19:40 +0000)]
Merge pull request #11529 from catree:add_tutorial_morphology_python_java

6 years agoMerge pull request #11397 from pengli:dnn_half
Alexander Alekhin [Wed, 16 May 2018 18:40:12 +0000 (18:40 +0000)]
Merge pull request #11397 from pengli:dnn_half

6 years agophoto(test): update test checks
Alexander Alekhin [Wed, 16 May 2018 14:58:16 +0000 (17:58 +0300)]
photo(test): update test checks

- allow 5% of changed pixels with intensity difference <= 1

6 years agoadd fp16 accuracy and perf test
Li Peng [Sat, 28 Apr 2018 15:50:37 +0000 (23:50 +0800)]
add fp16 accuracy and perf test

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agofp16 ocl support for more layers
Li Peng [Thu, 26 Apr 2018 11:36:19 +0000 (19:36 +0800)]
fp16 ocl support for more layers

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agofp16 ocl support for googlenet
Li Peng [Thu, 26 Apr 2018 11:22:29 +0000 (19:22 +0800)]
fp16 ocl support for googlenet

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agodnn fp16 support
Li Peng [Thu, 26 Apr 2018 11:20:16 +0000 (19:20 +0800)]
dnn fp16 support

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agoFFMPEG-based VideoCapture and VideoWriter backend changed to C++ interface
Vitaly Tuzov [Tue, 15 May 2018 12:12:49 +0000 (15:12 +0300)]
FFMPEG-based VideoCapture and VideoWriter backend changed to C++ interface

6 years agoMerge pull request #11494 from tomoaki0705:fixOpenCLDnn
Alexander Alekhin [Wed, 16 May 2018 14:11:36 +0000 (14:11 +0000)]
Merge pull request #11494 from tomoaki0705:fixOpenCLDnn

6 years agoAdd Java and Python code for morphology tutorials.
catree [Wed, 16 May 2018 12:05:39 +0000 (14:05 +0200)]
Add Java and Python code for morphology tutorials.

6 years agoMerge pull request #11528 from tomoaki0705:fixTabSpaceLibTiff
Alexander Alekhin [Wed, 16 May 2018 12:15:38 +0000 (12:15 +0000)]
Merge pull request #11528 from tomoaki0705:fixTabSpaceLibTiff

6 years agoMerge pull request #11525 from alalek:issue_11511
Alexander Alekhin [Wed, 16 May 2018 12:14:11 +0000 (12:14 +0000)]
Merge pull request #11525 from alalek:issue_11511

6 years agowork around of the test failure of opencv_test_dnn
Tomoaki Teshima [Wed, 16 May 2018 10:23:19 +0000 (19:23 +0900)]
work around of the test failure of opencv_test_dnn
  * let OpenCL kernel run only on Intel GPU
  * brush up the workaround based on 9a2b028 from alalek

6 years agoremove Tab
Tomoaki Teshima [Wed, 16 May 2018 09:56:23 +0000 (18:56 +0900)]
remove Tab

6 years agoMerge pull request #11526 from nglee:dev_cudaMeanStdDevFix
Alexander Alekhin [Wed, 16 May 2018 09:29:26 +0000 (09:29 +0000)]
Merge pull request #11526 from nglee:dev_cudaMeanStdDevFix

6 years agocuda_meanStdDev : bug fix
Namgoo Lee [Tue, 15 May 2018 18:31:47 +0000 (03:31 +0900)]
cuda_meanStdDev : bug fix

6 years agoMerge pull request #11519 from paroj:openni_color
Alexander Alekhin [Tue, 15 May 2018 16:54:24 +0000 (16:54 +0000)]
Merge pull request #11519 from paroj:openni_color

6 years agocuda: avoid unnecessary cudaStreamSynchronize() call
Alexander Alekhin [Tue, 15 May 2018 15:38:22 +0000 (18:38 +0300)]
cuda: avoid unnecessary cudaStreamSynchronize() call

resolves #11511

6 years agotests: add "bigdata" tests
Alexander Alekhin [Tue, 15 May 2018 12:56:26 +0000 (15:56 +0300)]
tests: add "bigdata" tests

6 years agots: add BigData tests category (skipped by default)
Alexander Alekhin [Tue, 15 May 2018 11:35:55 +0000 (14:35 +0300)]
ts: add BigData tests category (skipped by default)

Pass --test_bigdata to allow launching of "BigData" tests.

6 years agosamples: openni_capture - use COLORMAP_JET for depth visualization
Pavel Rojtberg [Tue, 15 May 2018 09:29:51 +0000 (11:29 +0200)]
samples: openni_capture - use COLORMAP_JET for depth visualization

instead of an ad-hoc implementation of it

6 years agoMerge pull request #11482 from allnes:gst_remove_container
Alexander Alekhin [Mon, 14 May 2018 16:14:10 +0000 (16:14 +0000)]
Merge pull request #11482 from allnes:gst_remove_container

6 years agoRemove command line argument related to container
Alexander Nesterov [Tue, 8 May 2018 20:41:05 +0000 (23:41 +0300)]
Remove command line argument related to container

6 years agohandle huge matrices correctly (#11505)
Vadim Pisarevsky [Mon, 14 May 2018 12:29:14 +0000 (15:29 +0300)]
handle huge matrices correctly (#11505)

* make sure that the matrix with more than INT_MAX elements is marked as non-continuous, and thus all the pixel-wise functions process it correctly (i.e. row-by-row, not as a single row, where integer overflow may occur when computing the total number of elements)

6 years agoMerge pull request #11497 from alalek:libjpeg-turbo
Alexander Alekhin [Mon, 14 May 2018 12:17:10 +0000 (12:17 +0000)]
Merge pull request #11497 from alalek:libjpeg-turbo