Anna Prigarina
81b897c291
Merge pull request #20243 from APrigarina:fix_tracking_api
...
Tracking API: fix incorrect structure
* fix incorrect structure of best score id
* video(DaSiamRPN): specify sizes of scalar arrays
2021-06-08 15:46:57 +00:00
Anna Prigarina
478663b08c
Merge pull request #20036 from APrigarina:tracking_api
...
Tracking API: added DaSiamRPN tracker
* added dasiamrpn tracker
* dasiamrpn: add test, rewrite sample
* change python samples
* fix tests
* fix params
2021-05-31 20:23:37 +00:00
Alexander Alekhin
170bf6d7af
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-05-01 09:44:24 +00:00
Danny
1b844f8413
Merge pull request #19993 from danielenricocahall:fix-compute-ecc-issue
...
Fix unsigned int bug in computeECC
* address issue with unsigned ints in computeEcc
* remove additional logic checking firstOctave
* use swap instead of same src/dst
* simplify the unsigned check logic
2021-04-30 17:20:52 +00:00
Alexander Alekhin
81f0b0e0dc
cmake: fix tracking detail headers
2021-04-01 12:21:18 +00:00
Alexander Alekhin
0a6f216f83
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-02-21 20:14:09 +00:00
Sergey Krivohatskiy
af13f61a43
Merge pull request #19580 from SergeyKrivohatskiy:patch-1
...
* Fixed OCL implementation of pyrlk
If prevPts size is (N, 1) (which is a default layout for converting `vector<Point2f>` to `UMat`) the `prevPts.cols == 1` and optical flow will be calculated for the first point only.
Getting `prevPts.total()` as in line 1048 is the correct way to get points count.
* fixed compilation warning (size_t to int)
Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>
2021-02-21 15:57:18 +00:00
amir.tulegenov
cbb230fdfc
fix getDefaultName()
2021-02-15 19:21:53 +06:00
Alexander Alekhin
aab6362705
Merge pull request #18838 from alalek:video_tracking_api
...
Tracking API: move to video/tracking.hpp
* video(tracking): moved code from opencv_contrib/tracking module
- Tracker API
- MIL, GOTURN trackers
- applied clang-format
* video(tracking): cleanup unused code
* samples: add tracker.py sample
* video(tracking): avoid div by zero
* static analyzer
2020-11-18 11:04:15 +00:00
Alexander Alekhin
09799402f9
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-05-06 19:53:51 +00:00
QIU Xiaochen
cdfa58dde0
Merge pull request #17180 from PetWorm:3.4
...
* fix Scharr nomination
2020-04-29 09:55:59 +00:00
Alexander Alekhin
ca9756f6a1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-13 20:00:12 +00:00
Alexander Alekhin
f0ffc52435
fix files permissions
2020-04-13 04:29:55 +00:00
Brian Wignall
f9c514b391
Fix spelling typos
...
backport commit 659ffaddb4
2019-12-27 12:46:53 +00:00
Brian Wignall
659ffaddb4
Fix spelling typos
2019-12-26 06:45:03 -05:00
Alexander Alekhin
0d7f770996
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-11-04 09:58:29 +00:00
Ciprian Alexandru Pitis
d2e02779c4
Merge pull request #15799 from Cpitis:feature/parallelization
...
Parallelize pyrDown & calcSharrDeriv
* ::pyrDown has been parallelized
* CalcSharrDeriv parallelized
* Fixed whitespace
* Set granularity based on amount of threads enabled
* Granularity changed to cv::getNumThreads, now each thread should receive 1/n sized stripes
* imgproc: move PyrDownInvoker<CastOp>::operator() implementation
* imgproc(pyramid): remove syloopboundary()
* video: SharrDerivInvoker replace 'Mat*' => 'Mat&' fields
2019-10-31 23:38:49 +03:00
Vitaly Tuzov
cd7fa04985
Fixed out of bound reading in DIS optical flow evaluation implementation
2019-09-17 15:53:18 +03:00
Alexander Alekhin
1661e83939
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-08-30 16:22:42 +03:00
Chip Kerchner
30a60d396b
Merge pull request #15274 from ChipKerchner:lkpyramidToHal
...
* Convert lkpyramid from SSE SIMD to HAL - 90% faster on Power (VSX).
* Replace stores with reduce_sum. Rework to handle endianess correctly.
* Fix compiler warnings by casting values explicitly to shorts
* Switch to CV_SIMD128 compiler definition. Unroll loop to 8 elements since we've already loaded the data.
2019-08-28 18:56:48 +03:00
luz.paz
fcc7d8dd4e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
backporting of commit: ec43292e1e
2019-08-16 17:34:29 +03:00
luz.paz
ec43292e1e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
2019-08-15 18:02:09 -04:00
Alexander Alekhin
11b020b9f9
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-10 19:05:28 +00:00
Alexander Alekhin
1e9ad5476d
core(intrin): drop hasSIMD128 checks
...
- use compile-time checks instead (`#if CV_SIMD128`)
- runtime checks are useless
2019-06-08 19:20:20 +00:00
Alexander Alekhin
ddcf388270
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-07 19:02:55 +03:00
Ahmed Ashour
1aca1d582e
Fix some typos
2019-06-05 12:24:13 +02:00
Alexander Alekhin
53c771551c
Merge pull request #14473 from alalek:video_dis_update_opencl
...
video(DISOpticalFlow): update OpenCL implementation (#14473 )
* video(DIS): add code for profiling
* video(DIS): fix test parameters
* video(DIS): simplify OpenCL kernels
- parameters -> defines
- avoid float3
- const / local scope
- improve readability, replace Kernel::set() -> args()
* video(DIS): use CV_32FC2 buffers
2019-05-29 14:22:21 +03:00
Thang Tran
d1615ba11a
video:fixed DISOpticalFlow segfault from small img
2019-05-27 08:18:26 +02:00
Alexander Alekhin
04caf0549d
video(DIS): OpenCL workaround for AMDGPU
2019-05-03 19:01:14 +00:00
Alexander Alekhin
0e1dd63f5e
video(DIS): use OpenCL shared mem
...
- fix perf test iterations
2019-05-03 18:58:26 +00:00
Alexander Alekhin
c3cf35ab63
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-02-26 17:34:42 +03:00
AKAMath
4c94804bb0
Merge pull request #13837 from amithjkamath:test
...
New computeECC function, and updated findTransformECC function to make gaussian filtering optional (#13837 )
* fix for https://github.com/opencv/opencv/issues/12432 with doc and tests
* Added doc string for new parameter.
* Fixes suggested by Alalek for getting around ABI incompatibility.
* Update to docstring, to remove parameter that isn't relevant.
* More updates based on Alalek's usggestions.
2019-02-22 18:36:40 +03:00
Alexander Alekhin
f414c16c13
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-02-08 17:18:56 +00:00
AnastasiaaSenina
d7b1f28a90
fixed bug: added threshold for variables 'rotate_a', ' rotate_c'
2019-02-08 13:06:23 +03:00
Alexander Alekhin
fcec053d59
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-02-05 19:12:41 +03:00
winice
37a5af3673
Merge pull request #13737 from winice-test:master
...
* Optical Flow rework to use wide universal intrinsics
* remove if (useSIMD) check as review requested
2019-02-04 18:59:00 +03:00
Maksim Shabunin
ea3dc78986
Fixed warnings produced by clang-9.0.0
2019-01-30 14:05:32 +03:00
Alexander Alekhin
631b246881
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-01-22 18:00:34 +00:00
Namgoo Lee
4366c8734f
Fix Farneback Optical Flow Algorithm
...
- Before this PR, following tests failed on some platform.
CUDA_OptFlow/FarnebackOpticalFlow.Accuracy/19
CUDA_OptFlow/FarnebackOpticalFlow.Accuracy/23
- The algorithm now recognizes the OPTFLOW_USE_INITIAL_FLOW flag.
Previously, when the flag was set, it did not use the flow data
passed as input, instead used some garbage data in memory.
- More strict test limit.
2019-01-13 15:14:45 +00:00
Vitaly Tuzov
388ccda85d
Fixed static analyzer warnings in DISOpticalFlow
2018-12-04 12:57:14 +03:00
catree
c96850ba59
Fix missing intrin.hpp header in dis_flow.cpp.
...
Fix #ifdef CV_SIMD128, should be #if CV_SIMD128.
2018-11-11 23:34:04 +01:00
Alexander Alekhin
1913482cf5
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-11-10 20:50:26 +00:00
Vadim Pisarevsky
96bf26611e
Merge pull request #13084 from vpisarev:shuffle_optflow_algos
...
* moved DIS optical flow from opencv_contrib to opencv, moved TVL1 from opencv to opencv_contrib
* fixed compile warning
* TVL1 optical flow example moved to opencv_contrib
2018-11-09 17:52:06 +03:00
Vadim Pisarevsky
11eafca3e2
removed C API in the following modules: photo, video, imgcodecs, videoio ( #13060 )
...
* removed C API in the following modules: photo, video, imgcodecs, videoio
* trying to fix various compile errors and warnings on Windows and Linux
* continue to fix compile errors and warnings
* continue to fix compile errors, warnings, as well as the test failures
* trying to resolve compile warnings on Android
* Update cap_dc1394_v2.cpp
fix warning from the new GCC
2018-11-09 00:52:09 +03:00
tompollok
2da56d5af6
refactoring catching all exceptions as const ref
2018-11-08 19:59:47 +03:00
Alexander Alekhin
edacd91a27
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-10-15 20:15:42 +00:00
Alexander Alekhin
ab2c16b2e5
Merge pull request #12829 from tomoaki0705:fixTestVideoOpenCLPyrLK
2018-10-15 19:18:24 +00:00
Tomoaki Teshima
803f86b9ca
fix test failure of PyrLKOpticalFlow.Mat
...
* remove race condition
* upload _prevPts to OpenCL device explicitly before calling "sparse"
2018-10-15 22:57:08 +09:00
Alexander Alekhin
1cc3f7abbb
Merge pull request #12516 from seiko2plus:changeUnvMultiply16
2018-10-15 12:07:40 +00:00
Sayed Adel
5771fd693d
Change behaviour of 16-bit multiply operator
...
- redefine 16-bit multiply operator to perform saturating multiply
instead of non-saturating multiply
- implement 8-bit multiply operator to perform saturating multiply
- implement v_mul_wrap() for 8-bit, 16-bit non-saturating multiply
- improve performance of v_mul_hi() for VSX
- update intrin tests with new changes
- replace unv 16-bit multiplication operator with v_mul_wrap due behavior changes
- Several improvements depend on vpisarev review
* initial forward declarations for universal intrinsics
* move emulating SSE intrinsics into separate file
* implement v_mul_expand for 8-bit
* reimplement saturating multiply using v_mul_expand + v_pack
* map v_expand, v_load_expand, v_load_expand_q to sse4.1
* fix overflow avx2::v_pack(uint32)
* implement two universal intrinsics v_expand_low and v_expand_high
2018-10-11 04:35:39 +02:00