1. 16 Jan, 2018 1 commit
  2. 15 Dec, 2017 1 commit
  3. 01 Dec, 2017 7 commits
  4. 28 Nov, 2017 1 commit
    • Alexander Alekhin's avatar
      ocl: avoid unnecessary loading/initializing OpenCL subsystem · 0ed3209b
      Alexander Alekhin authored
      If there are no OpenCL/UMat methods calls from application.
      
      OpenCL subsystem is initialized:
      - haveOpenCL() is called from application
      - useOpenCL() is called from application
      - access to OpenCL allocator: UMat is created (empty UMat is ignored) or UMat <-> Mat conversions are called
      
      Don't call OpenCL functions if OPENCV_OPENCL_RUNTIME=disabled
      (independent from OpenCL linkage type)
      0ed3209b
  5. 23 Nov, 2017 1 commit
  6. 20 Nov, 2017 1 commit
  7. 17 Nov, 2017 1 commit
  8. 27 Oct, 2017 1 commit
  9. 28 Sep, 2017 1 commit
    • Tomoaki Teshima's avatar
      Merge pull request #9714 from tomoaki0705:universalBilateral · 139b3273
      Tomoaki Teshima authored
      imgproc: use universal intrinsic as much as possible (#9714)
      
      * use universal intrinsic as much as possible
        * make SSE3 part as common as possible with universal intrinsic implementation
        * put the reducing part out of the main loop
      
      * follow the comment
        * fix the typo
        * use v_reduce_sum4
      
      * follow the comment again
        * remove all CV_SSE3 part from smooth.cpp
      139b3273
  10. 22 Sep, 2017 1 commit
  11. 08 Sep, 2017 1 commit
  12. 23 Aug, 2017 1 commit
    • Pavel Vlasov's avatar
      ICV2017u3 package update; · a57718e1
      Pavel Vlasov authored
      - 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;
      a57718e1
  13. 01 Aug, 2017 1 commit
    • Jiri Horner's avatar
      Merge pull request #8951 from hrnr:akaze_part2 · bb6496d9
      Jiri Horner authored
      [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 ba81e2a711ae009ce3c5459775627b6423112669.
      bb6496d9
  14. 10 Jul, 2017 1 commit
  15. 28 Jun, 2017 1 commit
  16. 01 Jun, 2017 1 commit
  17. 31 May, 2017 1 commit
  18. 25 May, 2017 1 commit
  19. 23 May, 2017 1 commit
  20. 25 Apr, 2017 1 commit
    • Pavel Vlasov's avatar
      Update for IPP for OpenCV 2017u2 integration; · 11c2ffaf
      Pavel Vlasov authored
      Updated integrations for:
      cv::split
      cv::merge
      cv::insertChannel
      cv::extractChannel
      cv::Mat::convertTo - now with scaled conversions support
      cv::LUT - disabled due to performance issues
      Mat::copyTo
      Mat::setTo
      cv::flip
      cv::copyMakeBorder - currently disabled
      cv::polarToCart
      cv::pow - ipp pow function was removed due to performance issues
      cv::hal::magnitude32f/64f - disabled for <= SSE42, poor performance
      cv::countNonZero
      cv::minMaxIdx
      cv::norm
      cv::canny - new integration. Disabled for threaded;
      cv::cornerHarris
      cv::boxFilter
      cv::bilateralFilter
      cv::integral
      11c2ffaf
  21. 20 Apr, 2017 1 commit
  22. 11 Apr, 2017 2 commits
  23. 06 Apr, 2017 1 commit
  24. 28 Feb, 2017 1 commit
    • Jejos's avatar
      fix medianBlur accessviolation · 5169c799
      Jejos authored
      medianBlur called with "empty" source and ksize >= 7 crashes application with accessviolation. With this extra assert this is avoided and the application may normally catch the thrown exception.
      5169c799
  25. 21 Feb, 2017 1 commit
  26. 21 Dec, 2016 1 commit
    • Vitaly Tuzov's avatar
      Merge pull request #7802 from terfendail:ovxhal_wrappers_migration · be7d060e
      Vitaly Tuzov authored
      * OpenVX HAL updated to use generic OpenVX wrappers
      
      * vxErr class from OpenVX HAL replaced with ivx::WrapperError
      
      * reduced usage of vxImage class from OpenVX HAL replaced with ivx::Image
      
      * vxImage class rewritten as ivx::Image subclass that calls swapHandle prior release
      
      * Fix OpenVX HAL build
      
      * Fix for review comments
      be7d060e
  27. 14 Dec, 2016 1 commit
  28. 09 Dec, 2016 3 commits
  29. 06 Dec, 2016 1 commit
  30. 02 Dec, 2016 1 commit
  31. 30 Nov, 2016 1 commit