Alexander Alekhin
08b5dc64af
imgcodecs(tiff): drop legacy code
...
Drop code under *undefined* HAVE_TIFF
(violates several policies, like a way to turn off tiff support)
2017-09-24 22:36:17 +00:00
Tomoaki Teshima
e932160a8d
replace raw SSE2/NEON implementation with universal intrinsic
2017-09-22 23:43:05 +09:00
vipinanand4
39e742765a
Merge pull request #9618 from vipinanand4:goodFeaturesToTrack_added_gradiantSize
...
Added gradiantSize param into goodFeaturesToTrack API (#9618 )
* Added gradiantSize param into goodFeaturesToTrack API
Removed hardcode value 3 in goodFeaturesToTrack API, and
added new param 'gradinatSize' in this API so that user can
pass any gradiant size as 3, 5 or 7.
Signed-off-by: Vipin Anand <anand.vipin@gmail.com>
Signed-off-by: Nilaykumar Patel<nilay.nilpat@gmail.com>
Signed-off-by: Prashanth Voora <prashanthx85@gmail.com>
* fixed compilation error for java test
Signed-off-by: Vipin Anand <anand.vipin@gmail.com>
* Modifying code for previous binary compatibility and fixing other warnings
fixed ABI break issue
resolved merged conflict
compilation error fix
Signed-off-by: Vipin Anand <anand.vipin@gmail.com>
Signed-off-by: Patel, Nilaykumar K <nilay.nilpat@gmail.com>
2017-09-22 14:04:43 +00:00
jrobble
c67ad49378
Set swapRB to false in Caffe tests and examples.
2017-09-22 09:58:48 -04:00
Alexander Alekhin
b8af7c5f86
ts: update perf test
...
- use GTest tuple definitions instead of std::tr1
- use "const static" for cv::Size contants to reduce generated binary code
- PERF_TEST_P() violates TEST_P() original semantic. Added PERF_TEST_P_() macro
2017-09-22 14:43:27 +03:00
Vadim Pisarevsky
3f794cd951
Merge pull request #9147 from sovrasov:phase_corr_fix
2017-09-22 10:32:16 +00:00
Dmitry Kurtaev
222149b9c6
Refactored Padding layer
2017-09-22 12:39:00 +03:00
Vitaly Tuzov
22fcbaed64
Added performance test for nearest neighbor resize
2017-09-22 12:34:58 +03:00
Vadim Pisarevsky
a0d3d11470
Merge pull request #9649 from dkurt:dnn_reshape_transpose
2017-09-21 19:25:58 +00:00
Vadim Pisarevsky
f1695bdc38
Merge pull request #9678 from tomoaki0705:universalFastScore
2017-09-21 19:12:30 +00:00
Vitaly Tuzov
9a70fd0123
Disabling reset of 'weights' array for reject level mode of groupRectangles function.
2017-09-21 18:21:50 +03:00
Dmitry Kurtaev
17a85b16fc
Remove reorder_dims attribute of Reshape layer
2017-09-21 16:42:03 +03:00
Rostislav Vasilikhin
cc547e8260
Bit-exact version of Luv2RGB_b ( #9470 )
...
* lab_tetra squashed
* initial version is almost written
* unfinished work
* compilation fixed, to be debugged
* Lab test removed
* more fixes
* Luv2RGBinteger: channels order fixed
* Lab structs removed
* good trilinear interpolation added
* several fixes
* removed Luv2RGB interpolations, XYZ tables; 8-cell LUT added
* no_interpolate made 8-cell
* interpolations rewritten to 8-cell, minor fixes
* packed interpolation added for RGB2Luv
* tetra implemented
* removing unnecessary code
* LUT building merged
* changes ported to color.cpp
* minor fixes; try to suppress warnings
* fixed v range of Luv
* fixed incorrect src channel number
* minor fixes
* preliminary version of Luv2RGBinteger is done
* Luv2RGB_b is in progress
* XYZ color constants converted to softfloat
* Luv test: precision fixed
* Luv bit-exactness test added
* warnings fixed
* compilation fixed, error message fixed
* Luv check is limited to [0-2,0-2,0-2] by XYZ
* L->Y generation moved to LUT
* LUTs added for up and vp of Luv2RGB_b
* still works
* fixed-point is done, works at maxerr 2
* vectorized code is done, 2x slower than original
* perf improved by 10%
* extra comments removed
* code moved to color.cpp
* test_lab.cpp updated
* minor refactoring
* test added for Luv2RGB
* OCL Luv2RGB_b: XYZ are limited to [0, 2]; docs updated
* Luv2RGB_b rewritten to universal intrinsics
* test_lab.cpp moved to luv_tetra branch
2017-09-21 14:20:45 +03:00
Vadim Pisarevsky
bb679f978d
Merge pull request #9653 from dkurt:thresh_16u
2017-09-21 10:57:46 +00:00
Vadim Pisarevsky
2ad27f5757
Merge pull request #9673 from dkurt:feature_dnn_tensorflow_defun
2017-09-21 10:55:25 +00:00
Tomoaki Teshima
bf718b0865
use universal intrinsic in FAST
2017-09-21 18:28:15 +09:00
Vadim Pisarevsky
e70b75b51a
Merge pull request #8820 from woodychow:multithread_sift_findScaleSpaceExtrema
2017-09-20 12:03:25 +00:00
Dmitry Kurtaev
bdd8cc697a
Import wrapped Dropout subgraphs from TensorFlow
2017-09-20 13:30:25 +03:00
Alexander Alekhin
e5890fc92a
ocl: fix build
2017-09-19 15:34:36 +03:00
Alexander Alekhin
1283d62e49
ocl: Kernel::runProfiling()
2017-09-19 15:34:35 +03:00
Alexander Alekhin
d9ab31490c
ocl: profiling queue
2017-09-19 15:32:15 +03:00
Alexander Alekhin
6a5298a532
Merge pull request #9664 from tomoaki0705:fixBuildVS2013
2017-09-19 12:25:18 +00:00
Adam Rankin
fb8143d55d
Using environment variable to store capture options ( #9292 )
...
* Using environment variable to store options parsed by av_dict_parse_string(ENV{OPENCV_FFMPEG_CAPTURE_OPTIONS}, ";", "|")
* Adding missing mandatory flags parameter
* Guarding against missing function via LIBAVUTIL version
* Code review fixes
Copy/paste error due to coder mistake reverted
Proper version checking for LIBAVUTIL_BUILD
2017-09-19 13:29:43 +03:00
Vadim Pisarevsky
fd20529686
Merge pull request #9657 from alalek:ocl_global_size_adjustment
2017-09-19 10:19:45 +00:00
Vadim Pisarevsky
92deccbf41
Merge pull request #9654 from savuor:seamlessclone
2017-09-19 10:16:37 +00:00
Tomoaki Teshima
48c4bea57c
fix build on Visual Studio 2013 and earlier
2017-09-19 19:08:23 +09:00
Alexander Alekhin
2e68f89225
ocl: update kernel global size adjustment
...
Prevents 10000x1 => 10000x8 transformation after getContinuousSize() call
2017-09-18 19:04:46 +03:00
Dmitry Kurtaev
fa109b94d9
Update 16UC thresholding
2017-09-18 18:34:45 +03:00
Arvid Piehl Lauritsen Böttiger
ca245e995a
Added support for thresholding CV_16U images.
2017-09-18 15:34:37 +03:00
Vadim Pisarevsky
0624411875
Merge pull request #9624 from nilaykumarpatel:Feature2d_getDefaultName
2017-09-18 10:34:35 +00:00
Vadim Pisarevsky
f7df5dd32c
Merge pull request #9305 from dkurt:public_dnn_importer_is_deprecated
2017-09-18 09:35:35 +00:00
Vadim Pisarevsky
70c5d69640
Merge pull request #9310 from r2d3:svm_parallel
2017-09-18 09:32:41 +00:00
Vadim Pisarevsky
e012ccda4a
Merge pull request #9517 from dkurt:tf_mobilenet
2017-09-18 09:31:19 +00:00
Vadim Pisarevsky
f4136679ea
Merge pull request #9551 from ChristofKaufmann:MultiChannelMask
2017-09-18 09:28:34 +00:00
Vadim Pisarevsky
3358b8910b
Merge pull request #9591 from dkurt:feature_dnn_caffe_importer_fp16
2017-09-18 09:26:23 +00:00
Vadim Pisarevsky
73298ea875
Merge pull request #9642 from saskatchewancatch:psnr-checks
2017-09-18 09:24:03 +00:00
Dmitry Kurtaev
bd8e6b7e14
Make external cv::dnn::Importer usage is deprecated
2017-09-18 08:52:36 +03:00
Nishant Arora
37ba1d6f2d
Merge pull request #9599 from whizzzkid:master
...
Incorrect Naming (#9599 )
* Resolved #9544
* This is a better fix
* This should be good.
2017-09-17 19:24:43 +00:00
Christof Kaufmann
7ec59fc097
Revert changes of mean and meanStdDev
2017-09-17 21:00:28 +02:00
RAJ NATARAJAN
0e44ad5543
Removed unnecessary assertion
2017-09-16 19:55:45 -07:00
Vadim Pisarevsky
4196543cd5
Merge pull request #9313 from dkurt:dnn_perf_test
2017-09-16 19:39:23 +00:00
RAJ NATARAJAN
6da62f56fa
Add some useful input assertions to PSNR function
...
Input arrays must be depth CV_8U and of identical size.
2017-09-15 23:36:58 -06:00
Alexander Alekhin
99fae8146f
Merge pull request #9626 from T0ny0:fisheye_fix_
2017-09-15 20:29:39 +00:00
Tony0
2f0036c918
remove assignments in expressions
2017-09-15 22:45:17 +03:00
Alexander Alekhin
9dea296241
Merge pull request #9458 from csukuangfj:fix-doc
2017-09-15 19:35:01 +00:00
Alexander Alekhin
2566ef3515
Merge pull request #9526 from sturkmen72:update_documentation
2017-09-15 18:47:06 +00:00
Dmitry Kurtaev
d891e9b1d8
Layers for MobileNet from TensorFlow
2017-09-15 20:17:30 +03:00
Dmitry Kurtaev
8646d5fb84
FP16 Caffe models import and export
2017-09-15 18:06:34 +03:00
stalin18
d343a58580
removed unnecessary line
2017-09-15 17:09:21 +03:00
stalin18
ed3d2cd122
fixed unnecessary reconstruction in seamlessclone
...
fixed unnecessary reconstruction in seamlessclone by using only the
required rectangular area in input images
2017-09-15 17:09:21 +03:00
Vadim Pisarevsky
6bf8fe815d
Merge pull request #9384 from dkurt:torch_split
2017-09-15 13:05:05 +00:00
Vadim Pisarevsky
a391871cce
Merge pull request #9301 from dkurt:dnn_npy
2017-09-15 12:42:02 +00:00
Vadim Pisarevsky
41b23fde9f
Merge pull request #9524 from dkurt:dnn_torch_openface
2017-09-15 12:38:12 +00:00
Vadim Pisarevsky
48cc1b351d
Merge pull request #9560 from sovrasov:undistort_stop_criteria
2017-09-15 12:34:16 +00:00
Vadim Pisarevsky
5707304777
Merge pull request #9633 from saskatchewancatch:psnr-doc
2017-09-15 12:26:34 +00:00
Vadim Pisarevsky
cb0d695984
Merge pull request #9616 from dkurt:feature_dnn_tf_importer_atrous_conv
2017-09-15 10:24:05 +00:00
Vadim Pisarevsky
d60de63fa0
Merge pull request #9623 from dkurt:hotfix_disable_ssd_cpu_halide_test
2017-09-15 10:21:44 +00:00
saskatchewancatch
a90a93b454
i9629 - Added actual documentation for cv::PSNR function
2017-09-14 18:20:00 -06:00
Patel, Nilaykumar K
6857870412
Overloading getDefaultName method for Feature2D and its child classes
...
Signed-off-by: Vipin Anand <anand.vipin@gmail.com>
Signed-off-by: Prashanth Voora <prashanthx85@gmail.com>
Signed-off-by: Patel, Nilaykumar K <nilay.nilpat@gmail.com>
2017-09-14 23:22:18 +05:30
dtmoodie
3c229aa2eb
async bugfix
...
upload winsize and iters as members to prevent async out of scope issues
2017-09-14 14:48:49 +00:00
Tony0
62df5e8c8b
fisheye: fix initUndistortRectifyMap()
2017-09-14 14:57:21 +03:00
Rostislav Vasilikhin
4435ec5f26
Bit-exact version of RGB2Luv_b ( #9226 )
...
* Imgproc_ColorLab_Full.accuracy test fixed
* Lab and Luv tests: rewritten, constants explained
* CV_ColorCvtBaseTest: added methods for 8u implementations
* Lab2RGB_b: bit-exactness enabled for all modes; non-vectorized code fixed to comply with vectorized
* srgb support added
* XYZ constants made softdouble
* bit-exact tests written for Lab
* ColorLab_full test fixed
* reverted: no 8u convertors for CV_ColorCvtBaseTest
* added checksum-based test for Lab bit-exactness
* extra declarations removed
* Lab test fix: stop at first mismatch
* test info output improved
* error message fixed
* lab_tetra squashed
* initial version is almost written
* unfinished work
* compilation fixed, to be debugged
* Lab test removed
* more fixes
* Luv2RGBinteger: channels order fixed
* Lab structs removed
* good trilinear interpolation added
* several fixes
* removed Luv2RGB interpolations, XYZ tables; 8-cell LUT added
* no_interpolate made 8-cell
* interpolations rewritten to 8-cell, minor fixes
* packed interpolation added for RGB2Luv
* tetra implemented
* removing unnecessary code
* LUT building merged
* changes ported to color.cpp
* minor fixes; try to suppress warnings
* fixed v range of Luv
* fixed incorrect src channel number
* minor fixes
* preliminary version of Luv2RGBinteger is done
* Luv2RGB_b is in progress
* XYZ color constants converted to softfloat
* Luv test: precision fixed
* Luv bit-exactness test added
* warnings fixed
* compilation fixed, error message fixed
* test_lab.cpp removed
2017-09-14 14:51:27 +03:00
Vladislav Sovrasov
b421ebef86
imgproc: slightly change the signature of undistortPoints overload
2017-09-14 12:19:40 +03:00
Vladislav Sovrasov
701c7e5685
imgproc: add stop criteria tuning in undistortPoints
2017-09-14 11:43:54 +03:00
Dmitry Kurtaev
0ce7c33bc8
Torch's Concat and ConcatTable doesn't use Split layer
2017-09-14 09:26:57 +03:00
Dmitry Kurtaev
7dc6b1d7d4
Layers for OpenFace face recognition network
2017-09-14 09:11:31 +03:00
Dmitry Kurtaev
58b890b9f7
Dilated convolution import from TensorFlow
2017-09-13 18:44:14 +03:00
Dmitry Kurtaev
6639348c5e
Disable SSD on CPU Halide test
2017-09-13 18:19:54 +03:00
Vadim Pisarevsky
9640bbe76d
Merge pull request #9592 from alalek:issue_9589
2017-09-13 14:57:49 +00:00
Vadim Pisarevsky
32bb71d686
Merge pull request #9603 from alalek:ocl_device_extensions
2017-09-13 14:43:36 +00:00
Vadim Pisarevsky
822d33d64b
Merge pull request #9374 from savuor:test_lab_bit_exact
2017-09-13 14:39:04 +00:00
Suleyman TURKMEN
d547c6b1a2
documentation improvement
2017-09-13 17:24:59 +03:00
Vadim Pisarevsky
f1aa180a40
Merge pull request #9574 from saskatchewancatch:i9482
2017-09-13 13:59:43 +00:00
Vadim Pisarevsky
8c7f19850f
Merge pull request #9576 from dkurt:feature_dnn_tf_importer_fp16
2017-09-13 13:57:38 +00:00
Vadim Pisarevsky
622318aeae
Merge pull request #9561 from dkurt:fix_8693
2017-09-13 13:34:49 +00:00
Vadim Pisarevsky
b8b5d83ad0
Merge pull request #9566 from alalek:python_signatures
2017-09-13 13:32:05 +00:00
Vadim Pisarevsky
93c3f20deb
Merge pull request #9569 from dkurt:test_dnn_ssd_halide
2017-09-13 13:29:50 +00:00
Vadim Pisarevsky
258b13f2e0
Merge pull request #9600 from StevenPuttemans:fix_9583
2017-09-13 13:27:04 +00:00
Vadim Pisarevsky
42cd061af0
Merge pull request #9581 from sovrasov:rtree_disable_cv
2017-09-13 13:20:52 +00:00
Rostislav Vasilikhin
18ca3d1e62
error message fixed
2017-09-12 20:05:58 +03:00
Rostislav Vasilikhin
2457bfc1e3
test info output improved
2017-09-12 17:16:30 +03:00
Rostislav Vasilikhin
f6a165d10f
Lab test fix: stop at first mismatch
2017-09-12 17:16:30 +03:00
Rostislav Vasilikhin
92093a6e6c
extra declarations removed
2017-09-12 17:16:30 +03:00
Rostislav Vasilikhin
f1e8aa70a0
added checksum-based test for Lab bit-exactness
2017-09-12 17:16:30 +03:00
Rostislav Vasilikhin
d25344c257
reverted: no 8u convertors for CV_ColorCvtBaseTest
2017-09-12 17:16:30 +03:00
Rostislav Vasilikhin
62ee92e3e2
ColorLab_full test fixed
2017-09-12 17:16:30 +03:00
Rostislav Vasilikhin
375ec5ed7e
bit-exact tests written for Lab
2017-09-12 17:16:30 +03:00
Rostislav Vasilikhin
758f914249
XYZ constants made softdouble
2017-09-12 17:16:30 +03:00
Rostislav Vasilikhin
121fa04906
srgb support added
2017-09-12 17:16:30 +03:00
Rostislav Vasilikhin
5ea1c72291
Lab2RGB_b: bit-exactness enabled for all modes; non-vectorized code fixed to comply with vectorized
2017-09-12 17:16:30 +03:00
Rostislav Vasilikhin
f5dff87242
CV_ColorCvtBaseTest: added methods for 8u implementations
2017-09-12 17:16:30 +03:00
Rostislav Vasilikhin
f0ef7bd149
Lab and Luv tests: rewritten, constants explained
2017-09-12 17:16:30 +03:00
Rostislav Vasilikhin
0e6c335077
Imgproc_ColorLab_Full.accuracy test fixed
2017-09-12 17:16:30 +03:00
Dmitry Kurtaev
ce41a15437
Import and convert FP16 weights from TensorFlow
2017-09-12 09:50:55 +03:00
Vladislav Sovrasov
32bf712102
cmake: disable implicit-fallthrough by default
2017-09-11 16:04:00 +03:00
Steven Puttemans
98e0d13f99
fixing issue 9583 - issue in cascadeclassifier code clipObjects
2017-09-11 09:15:04 +02:00
saskatchewancatch
c9d3c0f206
More whitespace fixes
2017-09-10 19:03:56 -06:00
Alexander Alekhin
9e381d0782
ts: dump OpenCL device extensions
2017-09-10 20:32:30 +00:00
Alexander Alekhin
169add5aa6
ocl: added cv::ocl::Device::isExtensionSupported() method
2017-09-10 20:32:30 +00:00
Alexander Alekhin
597b3f4456
Merge pull request #9580 from mshabunin:fix-static-6
2017-09-09 19:31:21 +00:00
Alexander Alekhin
26ad229bd6
Merge pull request #9590 from alalek:ocl_runtime_fix
2017-09-09 19:30:07 +00:00
saskatchewancatch
30ff197f78
Fix whitespace issues
2017-09-08 20:27:03 -06:00
saskatchewancatch
8877e3aedb
Adjustmenbts
2017-09-08 19:55:19 -06:00
Alexander Alekhin
9c973144d8
Merge pull request #9595 from paroj:imreadmulti_py
2017-09-08 14:03:03 +00:00
Alexander Alekhin
576a85368d
Merge pull request #9582 from sovrasov:fix_gcc7_macro_warning
2017-09-08 13:31:27 +00:00
Pavel Rojtberg
2d34443834
python: imreadmulti - add CV_OUT so it is correctly wrapped
2017-09-08 15:09:25 +02:00
Alexander Alekhin
d63f698cbe
cudafilters: don't modify "const" data
2017-09-08 14:19:09 +03:00
Alexander Alekhin
44b75eb116
core: fix OpenCL runtime compilation with HAVE_OPENCL_STATIC
2017-09-08 12:43:33 +03:00
Maksim Shabunin
248e2c7d47
Fixed some issues found by static analysis
2017-09-08 12:22:12 +03:00
Pavel Vlasov
37ab318657
Compatibility improvement with old IPP versions (tested on 9.0.1);
...
Manual IPP dispatcher simplification;
2017-09-08 11:08:24 +03:00
Dmitry Kurtaev
cad7c4d51d
MobileNet-SSD and VGG-SSD topologies in Halide
2017-09-08 09:55:53 +03:00
saskatchewancatch
fda1e76776
Feedback.
...
Still need to remove the descriptions of these flags from cv::norm
2017-09-07 22:43:55 -06:00
Vladislav Sovrasov
eeba5c3603
core: fix gcc7 warning about empty VA_ARGS in Assert macro
2017-09-07 16:20:38 +03:00
Vladislav Sovrasov
3eb9a655c7
ml: disable not implemented k-fold validation in RTrees
2017-09-07 15:49:46 +03:00
Vadim Pisarevsky
d25cbaaba8
Merge pull request #9293 from sovrasov:assert_improvement
2017-09-07 11:17:42 +00:00
Vadim Pisarevsky
4970a56341
Merge pull request #9577 from mshabunin:const-foreach
2017-09-07 11:12:45 +00:00
Vadim Pisarevsky
f080d9390a
Merge pull request #9578 from sovrasov:objdet_build_fix
2017-09-07 11:11:30 +00:00
Vladislav Sovrasov
f2105419fa
objdetect: fix wrong cxx11 features check
2017-09-07 12:49:49 +03:00
Alexander Alekhin
89bb028bfc
imgproc(ocl): don't use doubles to process float data
2017-09-07 12:42:20 +03:00
Maksim Shabunin
c92c99ed0b
Enabled forEach for const Mats
2017-09-07 11:35:14 +03:00
saskatchewancatch
570083fb9f
i9482:
...
Removing description for cv::NormTypes that's already in cv::norm
Masking out NORM_TYPE_MASK from docs since it's not intended to be exposed to user
2017-09-06 22:42:01 -06:00
saskatchewancatch
b32685c714
i9482: Improve documentation concerning norm functionality.
...
Added forkfour Latex command to math js support.
Split cv::norm documentation between the cv::norm and its overload, to make things clearer
Corrected some typos and cleaned up grammar.
Result is clearer documentation for the norms.
Work pending...
2017-09-06 22:35:39 -06:00
Maksim Shabunin
2ac57a2b1f
Merge pull request #9457 from alalek:type_traits_issue_7599
2017-09-06 13:34:29 +00:00
Alexander Alekhin
572a7bf6ce
python: add special targets gen_opencv_python2(3)
2017-09-06 08:23:04 +03:00
Alexander Alekhin
200c8a0d3a
python: generate pyopencv_signatures.json file
2017-09-06 08:23:04 +03:00
saskatchewancatch
4832c24ef7
Allow TIFF min=white PHOTOMETRIC interpretation images to be read unchanged
2017-09-05 21:43:33 -06:00
Dmitry Kurtaev
8b094755fa
Fix https://github.com/opencv/opencv/issues/8693
2017-09-05 23:33:18 +03:00
Lewis B
1caca2112b
Merge pull request #8934 from lewisjb:python-classes
...
* Refactor Python Classes
2017-09-05 05:38:17 +00:00
Alexander Alekhin
42fbbfecc6
Merge pull request #9522 from terfendail:resize_move
2017-09-05 05:33:07 +00:00
Christof Kaufmann
46a668c565
Add multi-channel mask support to mean, meanStdDev and setTo
...
This adds the possibility to use multi-channel masks for the functions
cv::mean, cv::meanStdDev and the method Mat::setTo. The tests have now a
probability to use multi-channel masks for operations that support them.
This also includes Mat::copyTo, which supported multi-channel masks
before, but there was no test confirming this.
2017-09-04 19:40:27 +02:00
Alexander Alekhin
164a41b399
fix CUDA build
...
CUDA implementation wants to convert std::vector<KeyPoint> <-> GpuMat.
There is no direct mapping from KeyPoint (mix of int/float fields)
into cv::Mat element type, so this conversion must be avoided.
Legacy mode is turned back for CUDA builds.
2017-09-04 14:41:29 +03:00
Maksim Shabunin
791a11f949
Merge pull request #9548 from alalek:python_tests
2017-09-04 10:14:13 +00:00
Maksim Shabunin
334241d82e
Merge pull request #9546 from sturkmen72:GrammaTech
2017-09-04 09:51:22 +00:00
Alexander Alekhin
7791839f22
python(test): tests filtering
2017-09-03 18:26:24 +00:00
Alexander Alekhin
2f94637899
python(test): refactor test.py, move test code outside from test.py
2017-09-03 18:26:09 +00:00
Alexander Alekhin
936234d5b1
python(test): enable pylint checks for tests
2017-09-03 18:19:17 +00:00
Alexander Alekhin
3df41b3263
Merge pull request #9426 from borisfom:dispatch
2017-09-03 09:24:59 +00:00
Alexander Alekhin
7b4f323b8b
Merge pull request #9498 from saskatchewancatch:i9403
2017-09-03 09:15:15 +00:00
Suleyman TURKMEN
ee6aacee9c
Update window_gtk.cpp
...
Update miniflann.cpp
Update test_stereomatching.cpp
2017-09-03 04:06:45 +03:00
Alexander Alekhin
62c6656130
Merge pull request #9533 from alalek:regression_test_9507
2017-09-02 06:44:47 +00:00
Alexander Alekhin
4acdcfd008
Merge pull request #9527 from mshabunin:mediasdk-fix
2017-09-01 19:25:12 +00:00
Alexander Alekhin
f7a273cfb3
core(test): regression test for 9507
2017-09-01 21:08:58 +03:00
Alexander Alekhin
d57321f7c1
Merge pull request #9528 from berak:fix_bfmatcher_hamming2
2017-09-01 18:07:57 +00:00
saskatchewancatch
cc17400849
i9403: Removing checks from trackbar min/max set functions.
...
Removing unnecessary range checks for QT backend support's setTrackbarMin and setTrackbarMax fucntions
Fixes
2017-08-31 17:52:29 -06:00
Alexander Alekhin
0451629e22
core(persistence): resolve DMatch/KeyPoint problem
2017-08-31 19:35:48 +03:00
Alexander Alekhin
86b55b3923
core: eliminate CV_ELEM_SIZE()
2017-08-31 19:35:48 +03:00
Alexander Alekhin
01519313d7
dnn: invalid bindings
2017-08-31 19:35:48 +03:00
Alexander Alekhin
7e12c879c2
core: extend traits::Type / traits::Depth for compatible types
...
DMatch and Keypoint are not compatible types (mixed float/int fields)
2017-08-31 19:35:48 +03:00
berak
da208216ee
features2d: fix BFMatcher.radiusMatch with HAMMING2
2017-08-31 17:24:02 +02:00
Maksim Shabunin
235b00b6ee
Fixed MediaSDK tests and build warnings
2017-08-31 16:50:42 +03:00
Vitaly Tuzov
e8caa9b5c0
removed unused interpolateLinear
2017-08-31 15:34:27 +03:00
Alexander Alekhin
72f789bf34
core: fix type traits
2017-08-31 15:05:46 +03:00
Vitaly Tuzov
b1f46b6d69
Move resize implementation to separate file
2017-08-31 14:36:19 +03:00
Alexander Alekhin
5c572ffa1f
Merge pull request #9509 from borisfom:cuda9-shfl
2017-08-31 09:20:12 +00:00
Alexander Alekhin
cae467cda0
Merge pull request #9521 from saskatchewancatch:i9489
2017-08-31 09:19:28 +00:00
saskatchewancatch
33ba7867f6
Don't truncate label for tracknbar name (Qt)
...
Setting truncate option for QString leftJustified method to false fixes 10 character truncation issue noted in issue 9489
2017-08-31 00:40:51 -06:00
Alexander Alekhin
80519a0278
Merge pull request #9326 from sovrasov:video_cap_new_check
2017-08-30 14:29:48 +00:00
Vadim Pisarevsky
d743a4c969
Merge pull request #9506 from alalek:ocl_fix_canny_ub_9496
2017-08-30 13:37:44 +00:00
Alexander Alekhin
7067c1597d
flann: std::vector<size_t> can't be converted into cv::Mat properly
...
size_t is not supported cv::Mat type
2017-08-30 13:16:00 +03:00
Boris Fomitchev
dde04d5d3e
Addressing CUDA9 shfl deprecation
2017-08-29 13:27:21 -07:00
Alexander Alekhin
91ef0b9537
Merge pull request #9507 from delftrobotics-forks:restrict-initializer-list-constructor
2017-08-29 18:09:11 +00:00
Alexander Alekhin
964dda2ef2
Merge pull request #9503 from sovrasov:convex_hull_disable_inplace
2017-08-29 16:41:55 +00:00
Alexander Alekhin
e3b12bdb59
imgproc(ocl): eliminate div by zero in Canny
2017-08-29 19:29:53 +03:00
Maarten de Vries
3571e8f263
Restrict std::initializer_list constructors to arithmetic types.
2017-08-29 16:37:20 +02:00
Vladislav Sovrasov
91e56abcf1
imgproc: disable buggy inplace processing in convexHull
2017-08-29 15:28:34 +03:00
Alexander Alekhin
4ee3034496
Merge pull request #9504 from alalek:regression_9376
2017-08-29 12:13:18 +00:00
Alexander Alekhin
034aaa7a70
Merge pull request #9465 from tomoaki0705:fixJetsonTK1Build
2017-08-29 11:46:10 +00:00
Alexander Alekhin
8f05126619
imgcodecs: fix regression 9376
2017-08-29 13:31:26 +03:00
Tomoaki Teshima
6531fd142c
fix build error on Jetson TK1
...
* guard correctly in header file
* guard correctly in cmake file
2017-08-29 19:05:13 +09:00
Vadim Pisarevsky
518c6ae8c6
Merge pull request #9327 from sovrasov:fs_free_on_error_fix
2017-08-28 20:25:34 +00:00
Vadim Pisarevsky
048feeb3f0
Merge pull request #9416 from eruffaldi:f_9411_mingw_videoio
2017-08-28 20:22:56 +00:00
Vadim Pisarevsky
b00dff83de
Merge pull request #9456 from adishavit:issue_8840/CorrectlyRestoreWindowPosOnMultipleMonitors
2017-08-28 20:15:12 +00:00
Vadim Pisarevsky
4a81492b68
Merge pull request #9474 from miqlas:haiku_support
2017-08-28 20:11:59 +00:00
Vadim Pisarevsky
d861c03366
Merge pull request #9479 from alalek:issue_9477
2017-08-28 20:10:32 +00:00
Alexander Alekhin
52a60526f1
Merge pull request #9492 from paroj:ximea_serial
2017-08-28 19:33:54 +00:00
Pavel Rojtberg
01acb08c7b
videoio: ximea - allow opening capture by serial number
2017-08-28 16:58:22 +02:00
KUANG Fangjun
11fa0094ff
Improve the documentation.
...
Add demo code for cv::reduce, cv::merge and cv::split.
2017-08-28 12:36:23 +02:00
Dmitry Kurtaev
5c43a394c5
Added performance test for Caffe framework
2017-08-27 19:40:58 +03:00
Adi Shavit
183081ccd3
Changes window position only if BOTH top corners are outside ALL monitors.
2017-08-27 13:47:20 +03:00
Alexander Alekhin
897b071b97
videoio(v4l): move MJPEG/JPEG to the end of probe list
2017-08-27 10:26:05 +03:00
Zoltán Mizsei
6258ff36bc
Haiku build fix
2017-08-26 11:37:59 +02:00
Alexander Alekhin
8ffa29473f
Merge pull request #9467 from sovrasov:stereo_calib_fix_td
2017-08-25 14:32:57 +00:00
Vladislav Sovrasov
e0ff5106d3
calib3d: fix warning from gcc7
2017-08-25 16:29:59 +03:00
Alexander Alekhin
603fa03ac6
Merge pull request #9441 from wzw-intel:delete_program
2017-08-25 12:03:27 +00:00
Adi Shavit
8a094a5f54
Merge pull request #9445 from adishavit:master
...
* Adds cv::resizeWindow() overload taking a single cv::Size argument.
* Replaces copied documentaion with Doxygen @overload command.
2017-08-25 11:37:50 +00:00
Vladislav Sovrasov
ef7833a271
calib3d: add CALIB_FIX_TANGENT_DIST flag to stereoCalibrate
2017-08-25 13:05:16 +03:00
Wu Zhiwen
da3da84a20
ocl: Add a function to unload a run-time cached program
...
This function is the counterpart of "Context::getProg".
With this function, users have chance to unload a program
from global run-time cached programs, and save resource.
2017-08-25 08:42:11 +08:00
Alexander Alekhin
b18983a005
test(hal): properly dispatch FP16 test
2017-08-24 20:54:17 +00:00
Alexander Alekhin
91f680aff6
Merge pull request #9448 from alalek:issue_9443
2017-08-24 16:05:08 +00:00
Alexander Alekhin
3202bbe17c
Merge pull request #9349 from dkurt:tf_deconv
2017-08-24 15:58:38 +00:00
Alexander Alekhin
bc3280d64d
Merge pull request #9414 from gadcam:HOGDescriptor-winSigma
2017-08-24 15:57:18 +00:00
Alexander Alekhin
8e7e24ac80
Merge pull request #9394 from dkurt:fix_halide_wrapper
2017-08-24 15:56:54 +00:00
Alexander Alekhin
cc5da83474
Merge pull request #9252 from jbms:fix/tiff-in-memory
2017-08-24 15:33:48 +00:00
Alexander Alekhin
c515e878ab
build: eliminate Win32 warnings
2017-08-24 16:07:12 +03:00
Alexander Alekhin
9c14a2f0aa
Merge pull request #9395 from lupustr3:pvlasov/icv2017u3_update
2017-08-24 11:48:53 +00:00
Alexander Alekhin
25a4559565
Merge pull request #9294 from arrybn:layers_perf
2017-08-24 09:37:49 +00:00
Alexander Alekhin
63cd581d75
Merge pull request #9451 from alalek:fix_warning_self_assign
2017-08-24 08:46:40 +00:00
Boris Fomitchev
c48807c383
Merge pull request #9418 from borisfom:cuda9
...
CUDA9 build fixed, added detection (#9418 )
* CUDA9 build fixed, added detection
* Replacing deprecated __shfl_xxx with __shfl_sync, fixing bogus CUDA9 warnings
2017-08-24 07:11:44 +00:00
Alexander Alekhin
d0509f6702
Merge pull request #9449 from ribalda:ocv
2017-08-23 19:40:36 +00:00
Alexander Alekhin
8285924cf3
ts: eliminate build warning '-Wself-assign'
2017-08-23 19:08:55 +03:00
Ricardo Ribalda Delgado
6fc5697950
ocl: Fix OpenCL library detection in Linux
...
OpenCL runtime does not require OpenCL development file (libOpenCL.so),
just the "run" library (so.1).
This patch searches for the run library (so.1) if the dev library (.so)
is not found.
Web search shows that this error has been present since at least 2015
http://answers.opencv.org/question/80532/haveopencl-return-false/
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
2017-08-23 16:38:06 +02:00
Alexander Alekhin
aacae20657
imgcodesc: fix code problems with integer overflow / address arithmetic / UB
2017-08-23 17:27:27 +03:00
Alexander Alekhin
c9fe702671
Merge pull request #9447 from dkurt:qt_windows
2017-08-23 14:19:45 +00:00
Dmitry Kurtaev
7123d9c376
Added 1ms delay to let system decorate Qt windows
2017-08-23 15:48:52 +03:00
Alexander Alekhin
a893b147dc
Merge pull request #9428 from csukuangfj:fix-commandline-parser
2017-08-23 12:48:28 +00:00
Pavel Vlasov
a57718e1ac
ICV2017u3 package update;
...
- Optimizations set change. Now IPP integrations will provide code for SSE42, AVX2 and AVX512 (SKX) CPUs only. For HW below SSE42 IPP code is disabled.
- Performance regressions fixes for IPP code paths;
- cv::boxFilter integration improvement;
- cv::filter2D integration improvement;
2017-08-23 14:24:43 +03:00
Aleksandr Rybnikov
8b1146deb2
Added function to get timings for layers
2017-08-23 13:40:05 +03:00
KUANG Fangjun
97ec91ad67
fix cv::CommandLineParser.
...
It should handle bool value not only of "true" but also of "TRUE" and "True".
2017-08-23 11:38:58 +02:00
Alexander Alekhin
a710317aa0
Merge pull request #9421 from csukuangfj:fix-doc
2017-08-22 20:51:49 +00:00
Alexander Alekhin
f0fb665407
Merge pull request #9376 from alalek:imgcodecs_refactoring
2017-08-22 16:32:47 +00:00
Dmitry Kurtaev
e74c475162
Removed 3rdparty serialized NumPy arrays parser
2017-08-22 18:14:32 +03:00
Alexander Alekhin
af09cb2834
Merge pull request #9347 from kschwan:fix-docs
...
Fix doxygen comment in BFMatcher
2017-08-22 13:55:03 +00:00
Alexander Alekhin
5adc0bf3a7
Merge pull request #9434 from alalek:fix_numpy_warning
2017-08-22 13:44:47 +00:00
Alexander Alekhin
ea6fe71a50
python: eliminate -Wundef warning about NPY_INTERNAL_BUILD
...
numpy 1.13.0+
2017-08-22 11:56:55 +03:00
Boris Fomitchev
76f7fb5231
Extending CPU dispatch to the tests; fixing a typo
2017-08-21 20:58:12 -07:00
Dmitry Kurtaev
54f0616a13
Deconvolution layer from TensorFlow
2017-08-21 21:38:07 +03:00
Steven Puttemans
9b173e2db1
fix description of setTrackbarMin
2017-08-21 12:47:04 +02:00
KUANG Fangjun
336996152a
Improve the documentation.
2017-08-20 17:21:39 +02:00
Emanuele Ruffaldi
588ca5d126
videoio for mingw32: added STRSAFE_NO_DEPRECATE and realpath
2017-08-19 23:51:02 +02:00
Alexander Alekhin
8c84763ed3
vtk: eliminate 'override' build warning
2017-08-19 16:05:52 +00:00
Alexander Alekhin
87a98e4562
cmake: CMP0026 NEW
2017-08-19 15:15:05 +00:00
Alexander Alekhin
b6949c5088
cmake: CMP0022 NEW
2017-08-19 15:15:05 +00:00
Camille Barneaud
d5e64f4eb2
Avoid HOGDescriptor with sigma = 0
...
Solve #9307 .
2017-08-19 15:03:16 +02:00
Vladislav Sovrasov
2b8f888ea4
videoio: remove throw lists since they are deprecated in cxx11 (and gcc7 produces a warning)
2017-08-18 12:07:24 +03:00
Alexander Alekhin
316fb26f5b
Merge pull request #9397 from alalek:memcpy_null_guard
2017-08-18 08:47:17 +00:00
Alexander Alekhin
a835517049
Merge pull request #9369 from alalek:cpp_refactor_gtk
2017-08-17 20:05:56 +00:00
Alexander Alekhin
5c325466e0
Merge pull request #8847 from Cartucho:java_highgui
2017-08-17 20:04:33 +00:00
Nishant Arora
98db804541
Merge pull request #9210 from whizzzkid/fixing-cuda
...
Fixing explicitly call download method for cuda::GpuMat object
2017-08-17 16:32:53 +00:00
Alexander Alekhin
71e1889825
core: fix memcpy with zero size
2017-08-17 18:30:31 +03:00
Dmitry Kurtaev
4e28c00e7b
Fix Halide buffer behavior in case of OpenCL device memory allocation
2017-08-17 13:27:54 +03:00
Jiri Horner
a5b5684670
Merge pull request #9330 from hrnr:akaze_ocl
...
[GSOC] Enable OCL for AKAZE (#9330 )
* revert e0489cb
- reenable OCL for AKAZE
* deal with conversion internally in AKAZE
* pass InputArray directly to AKAZE to allow distiguishing input Mat/UMat. deal with conversion there
* ensure that keypoints orientations are always computed. prevents misuse of internal AKAZE class.
* covert internal AKAZE functions to use InputArray/OutputArray
* make internal functions private in AKAZE
* split OCL and CPU paths in AKAZE
* create 2 separate pyramids, 1 for OCL and 1 for CPU
* template functions that use temporaries to always store them as correct type (UMat/Mat)
* remove variable used only in OCL path
causes unused variable warning
* update AKAZE documentation
* run ocl version only when ocl is enabled
* add tests for OCL path in AKAZE
* relax condition for keypoints angle
2017-08-16 16:46:11 +00:00
Alexander Alekhin
78a310630f
imgproc(test): add checks for remove() call
2017-08-16 18:56:42 +03:00
Alexander Alekhin
999f41fb4f
imgcodecs: refactoring, improve code quality
2017-08-16 18:56:41 +03:00
Alexander Alekhin
0d854db361
build: workaround GCC 7.1.1 compilation issue with sanitize flags
...
Version: gcc (GCC) 7.1.1 20170622 (Red Hat 7.1.1-3)
Flags: -fsanitize=address,undefined
2017-08-16 14:06:30 +03:00
Alexander Alekhin
fdb3d4ff60
Merge pull request #9379 from berak:imgproc_hanning
2017-08-16 10:28:19 +00:00
berak
e7b9cfa8f2
imgproc:fix winSize in createHanningWindow()
2017-08-16 08:53:45 +02:00
Alexander Alekhin
1d4a29f149
Merge pull request #9366 from martinsey:brisk-detection-parameter-extension
2017-08-15 10:48:11 +00:00
Martin Seyferth
e5f129424c
brisk add detection threshold for custom sampling pattern
2017-08-15 11:41:04 +02:00
Rostislav Vasilikhin
66b0651607
Merge pull request #9329 from savuor:softfloat_sincos
...
SoftFloat: added sin, cos and docs (#9329 )
* softfloat: comparison operators made inline, min() max() eps() isSubnormal() added
* softfloat: get/set sign/exp
* softfloat: get/set frac
* softfloat: tests rewritten with new tools
* softfloat: added pi(), sin(), cos()
* softfloat: more comments
* softfloat: updated sincos arg reduction
* softfloat: initial tests for sincos added
* softfloat: test works, code cleanup is pending
* softfloat: sincos argreduce rewritten
* softfloat: sincos refactored and simplified
* softfloat sincos: epsilons calibrated
* softfloat: junk code removed from tests
* softfloat: docs added
* inline comparisons undone; warning fixed
2017-08-15 09:23:26 +00:00
Alexander Alekhin
803274e207
Merge pull request #9358 from azatsman:master
2017-08-15 09:16:45 +00:00
Alexander Alekhin
9e239c7a1e
highgui: refactor GTK backend
...
- eliminate legacy C code, used fields
- fix mutex synchronization issues
- set trackbar min/max without unnecessary truncation; allow negative values
2017-08-14 19:33:00 +00:00
Alexander Alekhin
6b2510d312
Merge pull request #9317 from sturkmen72:warpPerspective_demo
2017-08-14 13:15:48 +00:00
Alexander Alekhin
a048cb9f0d
Merge pull request #9338 from dkurt:fix_ocl
2017-08-14 12:56:07 +00:00
Alexander Alekhin
87598c8749
Merge pull request #9365 from alalek:build_fix_parallel
2017-08-14 10:28:53 +00:00
Alexander Alekhin
ca9a88785e
core(build): fix compilation of parallel.cpp (OpenMP configuration)
2017-08-14 11:42:49 +03:00
Alexander Alekhin
2072168a1c
Merge pull request #9360 from tomoaki0705:suppressCalib3dWarning
2017-08-14 08:10:58 +00:00
Tomoaki Teshima
800f656402
suppress warning message
2017-08-14 08:26:06 +09:00
Alex Zatsman
e2bfd1a036
Changed NORM_RELATIVE_INF, NORM_RELATIVE_L1 and NORM_RELATIVE_L2 to
...
NORM_RELATIVE | NORM_INF, NORM_RELATIVE | NORM_L1 and NORM_RELATIVE | NORM_L2
respectively in the documentation for cv::norm and cv::NormTypes
2017-08-13 11:55:35 -04:00
Kim Lindberg Schwaner
7f9fe6f1f2
Fix doxy comment for BFMatcher::create()
...
A missing asterisk caused doxygen to not generate documentation for the
BFMatcher::create() method.
2017-08-11 14:18:53 +02:00
Alexander Alekhin
ef2b73043d
Merge pull request #9342 from alalek:fix_parallel_for
2017-08-10 20:22:44 +00:00
Suleyman TURKMEN
8bb3863f52
New example - warpPerspective_demo.cpp
...
An example program shows using cv::findHomography and cv::warpPerspective for image warping
2017-08-10 15:08:13 +03:00
Alexander Alekhin
fa288af58b
Merge pull request #9343 from PhilLab:patch-4
2017-08-10 10:25:36 +00:00
Alexander Alekhin
0e7edca7e3
Merge pull request #9340 from paroj:stereocalib_cpp
2017-08-10 10:24:29 +00:00
Alexander Alekhin
9e5a8ba9f5
Merge pull request #9339 from johnhany:Fix-SyntaxError-check-tests-py
2017-08-10 10:20:05 +00:00
Philipp Hasper
2c7a15b195
Clarified documentation cv::RotatedRect::points
2017-08-10 11:06:40 +02:00
Alexander Alekhin
0ebabe17df
core: fix flag processing for nested regions in cv::parallel_for_()
2017-08-10 08:37:47 +00:00
Pavel Rojtberg
5ada462773
calib3d: use cpp functions in cvStereoCalibrate to make it more readable
2017-08-09 17:21:14 +02:00
John Hany
69e19b88c2
Fix SyntaxError with print
2017-08-09 21:25:16 +08:00
Dmitry Kurtaev
41519d3ac0
Fixed some OpenCL interface bugs
2017-08-09 11:54:55 +03:00
Vladislav Sovrasov
9a10bdbae5
core: use new assert in matmul.cpp
2017-08-08 23:00:11 +03:00
KUANG, Fangjun
4bbe67451d
fix some typos in the documentation.
2017-08-08 17:32:04 +02:00
Vladislav Sovrasov
651a1d2869
videoio: don't pass zero fps to 3rd-party codecs
2017-08-08 15:17:42 +03:00
David Geldreich
7c334f45c6
trainAuto: uses parallel_for_ to dispatch all parameters combination to test
2017-08-08 13:27:02 +02:00
Vladislav Sovrasov
5e68b28ad3
core: fix file not closed when exception in FS
2017-08-07 21:03:59 +03:00
Vladislav Sovrasov
aa54acd54d
core: add a test to reproduce #9312
2017-08-07 16:16:14 +03:00
Alexander Alekhin
87c27a074d
Merge tag '3.3.0'
...
OpenCV 3.3.0
2017-08-04 00:00:18 +00:00
Alexander Alekhin
4af3ca4e4d
OpenCV version++
...
OpenCV 3.3.0
2017-08-03 23:58:23 +00:00
Alexander Alekhin
94dbc35d92
features2d(test): more AKAZE tests
2017-08-03 22:54:45 +00:00
Alexander Alekhin
ad2e864a9a
akaze: more fixes
...
- boundary checks
- div by zero guard
- fixed bilinear interpolation (another case)
- reduce memory allocation
2017-08-03 21:45:35 +00:00
Alexander Alekhin
e0489cb4a6
akaze: fix T-API interfaces, disable OpenCL code
...
- OpenCL kernels don't handle matrices properly. Assumptions are not checked.
- OpenCL/T-API integration is not correct.
2017-08-03 20:35:06 +00:00
Alexander Alekhin
922ac1a1ec
Merge pull request #9303 from alalek:akaze_update
2017-08-03 17:17:03 +00:00
Alexander Alekhin
c95a97389d
Merge pull request #9235 from sturkmen72:patch-3
2017-08-03 17:04:28 +00:00
Alexander Alekhin
2a8322ddbb
akaze: uninitialized field
2017-08-03 20:04:21 +03:00
Alexander Alekhin
cfb964834c
stitching(perf): increase test check tolerance
2017-08-03 19:51:46 +03:00
Alexander Alekhin
73c3d14a66
akaze: fRound -> cvRound, fix bilinear interpolation
2017-08-03 19:51:46 +03:00
Alexander Alekhin
f6ceeaa2e5
akaze: getAngle() -> fastAtan2()
2017-08-03 19:51:46 +03:00
Alexander Alekhin
6847cc9f1c
akaze: remove usage of int8_t / uint8_t
2017-08-03 19:51:46 +03:00
Alexander Alekhin
411d36ff13
features2d(test): update descriptor regression test
2017-08-03 19:51:46 +03:00
Alexander Alekhin
63ae5f00b1
features2d(test): enable debug messages
2017-08-03 19:51:46 +03:00
Alexander Alekhin
43e0912516
akaze: resolve issue with using of uninitialized memory
2017-08-03 19:51:45 +03:00
Alexander Alekhin
64533009b3
akaze: optimize allocations
2017-08-03 19:51:45 +03:00
Alexander Alekhin
8aca8d90d6
akaze: replace ceil()
...
- integer division => divUp()
- cast to 'int' => cvCeil()
2017-08-03 19:51:45 +03:00
Alexander Alekhin
9ca39821c8
core: divUp function
2017-08-03 19:51:45 +03:00
Alexander Alekhin
dcc63d7408
Merge pull request #9248 from alalek:alloc_refactoring
2017-08-03 16:25:29 +00:00
Vladislav Sovrasov
5375a77f84
core: add multi-argument CV_Assert
2017-08-03 15:31:05 +03:00
Alexander Alekhin
2f4a3e40eb
Merge pull request #9287 from dkurt:tensorflow_unit_tests
2017-08-03 12:21:23 +00:00
Alexander Alekhin
15aa0df23c
Merge pull request #9297 from alalek:akaze_remove_rand
2017-08-03 09:21:22 +00:00
Jiri Horner
3166d0c667
Merge pull request #9249 from hrnr:akaze_part3
...
[GSOC] Speeding-up AKAZE, part #3 (#9249 )
* use finding of scale extremas from fast_akaze
* incorporade finding of extremas and subpixel refinement from Hideaki Suzuki's fast_akaze (https://github.com/h2suzuki/fast_akaze )
* use opencv parallel framework
* do not search for keypoints near the border, where we can't compute sensible descriptors (bugs fixed in ffd9ad99f4
, 2c5389594b
), but the descriptors were not 100% correct. this is a better solution
this version produces less keypoints with the same treshold. It is more effective in pruning similar keypoints (which do not bring any new information), so we have less keypoints, but with high quality. Accuracy is about the same.
* incorporate bugfix from upstream
* fix bug in subpixel refinement
* see commit db3dc22981e856ca8111f2f7fe57d9c2e0286efc in Pablo's repo
* rework finding of scale space extremas
* store just keypoints positions
* store positions in uchar mask for effective spatial search for neighbours
* construct keypoints structs at the very end
* lower inlier threshold in test
* win32 has lower accuracy
2017-08-03 08:35:07 +00:00
dkurt
339793143c
Unit tests for TensorFlow importer
2017-08-03 11:29:48 +03:00
Alexander Alekhin
8be1ba708e
features2d: don't use rand(), because it is not thread-safe
...
Results are not stable with srand()
2017-08-02 23:48:54 +03:00
Alexander Alekhin
0bd357e7ec
Merge pull request #9296 from dkurt:halide_device_interface
2017-08-02 20:26:30 +00:00
Alexander Alekhin
d8c70e2e73
Merge pull request #9286 from alalek:rect_size_empty
2017-08-02 20:20:16 +00:00
dkurt
b1ef44b1ac
Replace halide_opencl_device_interface
2017-08-02 20:38:30 +03:00
Aleksandr Rybnikov
8d6b8b45b6
Added ELU and test for it
2017-08-02 11:13:59 +03:00
Alexander Alekhin
321c0ec533
core: empty() for Rect/Size templates
...
Check for empty objects via .area() is not a good practice due overflows
2017-08-01 17:19:18 +03:00
Alexander Alekhin
4ad45af53f
Merge pull request #9253 from jbms:fix/image-decoding-tempfile
2017-08-01 13:47:15 +00:00
Alexander Alekhin
37a7e08b38
Merge pull request #9097 from piotr-semenov:fix/cv_rect_monoid_identity
2017-08-01 13:06:37 +00:00
Alexander Alekhin
bab4bc0968
Merge pull request #9284 from ipuustin:dnn-opencl-fixes
2017-08-01 13:06:01 +00:00
Alexander Alekhin
f6c4901b8f
Merge pull request #9279 from alalek:ocl_fix_program_cache
2017-08-01 13:05:43 +00:00
Jiri Horner
bb6496d9e5
Merge pull request #8951 from hrnr:akaze_part2
...
[GSOC] Speeding-up AKAZE, part #2 (#8951 )
* feature2d: instrument more functions used in AKAZE
* rework Compute_Determinant_Hessian_Response
* this takes 84% of time of Feature_Detection
* run everything in parallel
* compute Scharr kernels just once
* compute sigma more efficiently
* allocate all matrices in evolution without zeroing
* features2d: add one bigger image to tests
* now test have images: 600x768, 900x600 and 1385x700 to cover different resolutions
* explicitly zero Lx and Ly
* add Lflow and Lstep to evolution as in original AKAZE code
* reworked computing keypoints orientation
integrated faster function from https://github.com/h2suzuki/fast_akaze
* use standard fastAtan2 instead of getAngle
* compute keypoints orientation in parallel
* fix visual studio warnings
* replace some wrapped functions with direct calls to OpenCV functions
* improved readability for people familiar with opencv
* do not same image twice in base level
* rework diffusity stencil
* use one pass stencil for diffusity from https://github.com/h2suzuki/fast_akaze
* improve locality in Create_Scale_Space
* always compute determinat od hessian and spacial derivatives
* this needs to be computed always as we need derivatives while computing descriptors
* fixed tests of AKAZE with KAZE descriptors which have been affected by this
Currently it computes all first and second order derivatives together and the determiant of the hessian. For descriptors it would be enough to compute just first order derivates, but it is not probably worth it optimize for scenario where descriptors and keypoints are computed separately, since it is already very inefficient. When computing keypoint and descriptors together it is faster to do it the current way (preserves locality).
* parallelize non linear diffusion computation
* do multiplication right in the nlp diffusity kernel
* rework kfactor computation
* get rid of sharing buffers when creating scale space pyramid, the performace impact is neglegible
* features2d: initialize TBB scheduler in perf tests
* ensures more stable output
* more reasonable profiles, since the first call of parallel_for_ is not getting big performace hit
* compute_kfactor: interleave finding of maximum and computing distance
* no need to go twice through the data
* start to use UMats in AKAZE to leverage OpenCl in the future
* fixed bug that prevented computing determinant for scale pyramid of size 1 (just the base image)
* all descriptors now support writing to uninitialized memory
* use InputArray and OutputArray for input image and descriptors, allows to make use UMAt that user passes to us
* enable use of all existing ocl paths in AKAZE
* all parts that uses ocl-enabled functions should use ocl by now
* imgproc: fix dispatching of IPP version when OCL is disabled
* when OCL is disabled IPP version should be always prefered (even when the dst is UMat)
* get rid of copy in DeterminantHessian response
* this slows CPU version considerably
* do no run in parallel when running with OCL
* store derivations as UMat in pyramid
* enables OCL path computing of determint hessian
* will allow to compute descriptors on GPU in the future
* port diffusivity to OCL
* diffusivity itself is not a blocker, but this saves us downloading and uploading derivations
* implement kernel for nonlinear scalar diffusion step
* download the pyramid from GPU just once
we don't want to downlaod matrices ad hoc from gpu when the function in AKAZE needs it. There is a HUGE mapping overhead and without shared memory support a LOT of unnecessary transfers.
This maps/downloads matrices just once.
* fix bug with uninitialized values in non linear diffusion
* this was causing spurious segfaults in stitching tests due to propagation of NaNs
* added new test, which checks for NaNs (added new debug asserts for NaNs)
* valgrind now says everything is ok
* add nonlinear diffusion step OCL implementation
* Lt in pyramid changed to UMat, it will be downlaoded from GPU along with Lx, Ly
* fix bug in pm_g2 kernel. OpenCV mangles dimensions passed to OpenCL, so we need to check for boundaries in each OCL kernel.
* port computing of determinant to OCL
* computing of determinant is not a blocker, but with this change we don't need to download all spatial derivatives to CPU, we only download determinant
* make Ldet in the pyramid UMat, download it from CPU together with the other parts of the pyramid
* add profiling macros
* fix visual studio warning
* instrument non_linear_diffusion
* remove changes I have made to TEvolution
* TEvolution is used only in KAZE now
* Revert "features2d: initialize TBB scheduler in perf tests"
This reverts commit ba81e2a711
.
2017-08-01 12:46:01 +00:00
Ismo Puustinen
c2de5cf735
dnn: force floating point literals to be float.
...
In OpenCL code in activations.cl, make the type of floating point
literals to be float. Otherwise the values will be interpreted as
doubles, causing Beignet to have type conversion issues.
2017-08-01 15:02:24 +03:00
Alexander Alekhin
2959e7aba9
Merge pull request #9188 from arrybn:mobilenet_ssd_sample
2017-08-01 11:12:54 +00:00
Aleksandr Rybnikov
ce1cc352d9
MobileNet SSD sample
2017-08-01 12:30:27 +03:00
Jeremy Maitin-Shepard
350d483a70
grfmt_tiff: support in-memory TIFF encoding and decoding
...
Previously, only file-based encoding and decoding were supported with
the libtiff library, leading to the possible use of temporary files.
This fixes issue #8483 .
2017-07-31 10:22:11 -07:00
Alexander Alekhin
d34eec3ab3
Merge pull request #9278 from alalek:ts_perf_threads
2017-07-31 16:21:51 +00:00
Jeremy Maitin-Shepard
2be955a0ef
loadsave: check for errors when using temp file
...
Previously, the return value of fwrite and fclose were not properly
checked, leading to possible silent truncation of the data if writing
failed, e.g. due to lack of disk space.
Fixes issue #9251 .
2017-07-31 09:02:42 -07:00
Alexander Alekhin
16fb74425e
ocl: fix program cache key
2017-07-31 17:24:08 +03:00
Alexander Alekhin
3786d30320
Merge pull request #9225 from paroj:reproject_cpp
2017-07-31 14:11:37 +00:00
Alexander Alekhin
50b9a5afa9
ts(perf): initialize ThreadPool
2017-07-31 16:51:08 +03:00
Alexander Alekhin
06a9c16961
Merge pull request #9275 from alalek:cmake_protobuf_optional
2017-07-31 12:03:54 +00:00
Alexander Alekhin
d22506092e
Merge pull request #9274 from alalek:ipp_meanstddev
2017-07-31 12:02:59 +00:00
Alexander Alekhin
728bd68977
Merge pull request #9272 from tomoaki0705:fixCudaBuild
2017-07-31 12:02:40 +00:00
Alexander Alekhin
cbced23de4
cmake: don't include protobuf on disabled DNN module
2017-07-31 14:18:59 +03:00
Alexander Alekhin
e58a778bd5
core(stat): disable IPP optimization in meanStdDev (cn > 1)
2017-07-31 14:09:18 +03:00
Tomoaki Teshima
1c49796e8e
guad for CUDA correctly
2017-07-31 18:42:36 +09:00
Alexander Alekhin
46f05f2db6
python: disable assertion in NumpyAllocator
2017-07-30 14:44:11 +03:00
Alexander Alekhin
15a6586062
python: stitching simple test
2017-07-30 14:44:10 +03:00
Alexander Alekhin
fffd0f5b68
Merge pull request #9241 from alalek:tlsSlotsSize
2017-07-30 09:53:39 +00:00
Suleyman TURKMEN
89480801b8
some improvements on tutorials
2017-07-29 20:08:19 +03:00
Alexander Alekhin
b46e741c95
core(alloc): drop unused code, use memalign() functions instead of hacks
...
valgrind provides better detection without memory buffer hacks
2017-07-27 18:10:41 +03:00
Alexander Alekhin
34f9c039c5
Merge pull request #9238 from alalek:valgrind_fixes
2017-07-27 14:33:01 +00:00
Alexander Alekhin
d35422b523
core(tls): hide assertions from Thread Sanitizer
2017-07-27 17:31:51 +03:00
Alexander Alekhin
68ef903a7c
core(tls): don't use tlsSlots without synchronization
2017-07-26 22:45:55 +03:00
Alexander Alekhin
06407b4d14
Merge pull request #9233 from LaurentBerger:dnndoc
2017-07-26 16:25:28 +00:00
Alexander Alekhin
12213f9985
flann: fix out of buffer access
2017-07-26 18:17:03 +03:00
Alexander Alekhin
caa5e3b4c5
imgproc: fix vectorized code of accumulate
2017-07-26 17:21:46 +03:00
Alexander Alekhin
2e17251160
calib3d: fix invalid memory access
2017-07-26 17:21:46 +03:00
Alexander Alekhin
3f102e5d3a
dnn: protobuf shutdown
2017-07-26 17:21:46 +03:00
Alexander Alekhin
aad6d28e13
ts: don't run large videoio test (valgrind)
2017-07-26 17:21:46 +03:00
Alexander Alekhin
1650c664bc
ts: don't run imgcodecs tests on large images (valgrind)
2017-07-26 17:21:46 +03:00
Alexander Alekhin
d17b099994
ts: don't run DNN tests with large models (valgrind)
2017-07-26 17:21:46 +03:00
Alexander Alekhin
bf0173bf38
ts: update valgrind suppressions
2017-07-26 17:21:45 +03:00
Alexander Alekhin
b4e300b78b
Merge pull request #9236 from dkurt:fix_json_bool
2017-07-26 13:08:13 +00:00
Alexander Alekhin
402a77e7f7
Merge pull request #9237 from alalek:fix_winrt_build
2017-07-26 10:42:49 +00:00
Alexander Alekhin
2ca561f104
Merge pull request #9217 from alalek:cleanup_3rdparty
2017-07-26 10:38:28 +00:00
dkurt
583b327523
Fix JSON booleans without quotes
2017-07-26 12:51:06 +03:00
LaurentBerger
69fd57bc96
update tutorial link for dnn
2017-07-25 19:32:17 +02:00
Alexander Alekhin
c512bf6c66
Merge pull request #9232 from dkurt:json_named_nodes
2017-07-25 15:56:03 +00:00
Alexander Alekhin
bcff9fd067
Merge pull request #9229 from alalek:dnn_torch_memory_leaks
2017-07-25 13:23:18 +00:00
dkurt
3515f6ec33
Missed NAMED bit of JSON nodes tag
2017-07-25 13:39:32 +03:00
Alexander Alekhin
602f047fe8
build: replace WIN32 => _WIN32
2017-07-25 13:30:48 +03:00
Alexander Alekhin
7f3eea6325
core: fix Mat/UMat cleanup on exceptions in deallocate()
2017-07-25 12:27:30 +03:00
Alexander Alekhin
878a6906cc
dnn: fix torch importer memory leaks
2017-07-25 12:20:55 +03:00
Pavel Rojtberg
94fdd45b75
calib3d: rewrite reprojectImageTo3D using Matx expressions
...
about the same speed, but significatly more readable
2017-07-24 17:36:31 +02:00
dkurt
70ff3804e9
Fix SqueezeNet Halide performance test
2017-07-24 10:45:04 +03:00
Alexander Alekhin
432d0fd707
Merge pull request #9213 from tomoaki0705:fixDnnBaseline
2017-07-21 13:34:47 +00:00
Alexander Alekhin
e45d5446f2
cleanup unused 3rdparty files
2017-07-21 15:20:13 +03:00
Tomoaki Teshima
0f91faddae
fix linker error when trying CPU_BASELINE=AVX
2017-07-21 21:13:47 +09:00
Alexander Alekhin
bc3c7e80a6
Merge pull request #9209 from alalek:fix_persistence_format
2017-07-21 10:55:40 +00:00
Alexander Alekhin
544eb4be1f
IPP: update minMaxIdx, disable some AVX optimizations with mask
2017-07-21 12:56:36 +03:00