platform/upstream/opencv.git
7 years agoLSTM layer for TensorFlow importer
Dmitry Kurtaev [Fri, 25 Aug 2017 11:45:03 +0000 (14:45 +0300)]
LSTM layer for TensorFlow importer

7 years agoMerge pull request #9690 from tomoaki0705:universalSmooth
Alexander Alekhin [Mon, 25 Sep 2017 19:42:05 +0000 (19:42 +0000)]
Merge pull request #9690 from tomoaki0705:universalSmooth

7 years agoMerge pull request #8833 from terfendail:resizenn_perftest
Alexander Alekhin [Mon, 25 Sep 2017 16:42:07 +0000 (16:42 +0000)]
Merge pull request #8833 from terfendail:resizenn_perftest

7 years agoMerge pull request #9676 from jrobble:fix_caffe_swaprb
Alexander Alekhin [Mon, 25 Sep 2017 16:05:11 +0000 (16:05 +0000)]
Merge pull request #9676 from jrobble:fix_caffe_swaprb

7 years agoMerge pull request #9466 from huningxin:js
Congxiang Pan [Mon, 25 Sep 2017 13:52:07 +0000 (21:52 +0800)]
Merge pull request #9466 from huningxin:js

GSoC 2017: Improve and Extend the JavaScript Bindings for OpenCV (#9466)

* Initial support for build with emscripten

mkdir build_js
cd build_js
cmake -D CMAKE_TOOLCHAIN_FILE=/path/to/emsdk/emsdk-portable/emscripten/master/cmake/Modules/Platform/Emscripten.cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..

* Add js module

The output is build/bin/opencv_js.js

* Fix opencv2/calib3d.hpp not found issue

* Add module name

Usage:
var cv = cv();

* Add total memory as 128MB and allow growth

* Add compilation flags for emscripten

* Use EMSCRIPTEN build target

* Disable js module for non emscripten build

* Bind the preload file path to root

Usage:
face_cascade.load('haarcascade_frontalface_default.xml');

* add test folder

* fix test files

* Copy js module test to bin

* Support to run tests on Node.js

Fix tests to import cv Module when runtime is node.
Add tests.js to use qunit to auto run tests.
Modify umd wrapper to support Module is not defined.

Usage:
node tests.js

* Support UMD and file system

Wrap the opencv_js.js to opencv.js by UMD wrapper

Use emscripten file system API to load files instead of generating data file or
embedding them. It supports both browser and node.js usages.

* Fix incorrect module name in tests

* Add package.json to add dependence of qunit

* Add js_tutorials folder and a intro page of opencv.js

Enable BUILD_DOCS in CMakeLists.txt.
Add new folder of js_tutorials in folder opencv/doc.
Imitate the tutorials of OpenCV-Python to create a intro page of opencv.js and a setup guide

* Import and use binding gen from opencvjs project

* Modify the embindgen.py to pass the build and test

* Add classes and functions white list

* Consolidate hdr_parser.py (#31)

Use hdr_parser.py of python module

Add js flag to support js binding generator.

* Use emscripten::vecFromJSArray for input vector param

Fix part of #23

* Fix test cases after #34

Fix #39

* Expose groupRectangles and CascadeClassifier.empty

* Add js highgui tutorials

add tutorials of imread&imshow and createTrackbar in doc/js_tutorials/js_gui folder
add interactive tutorial webpage for imread&imshow and createTrackbar in doc/js_tutorials/js_interactive_tutorials folder, and some images needed.
change doc/CMakeLists.txt to copy the interactive tutorial webpage and opencv.js to the tutorials' destination folder

* rm useless annotation in doc/CMakeLists.txt

* fix some nonstandard indentation and space

* add check if canvas is valid

* Expose BackgroundSubtractorMOG2

Fix #43

* Fix build of js doc

Limit copy_js_interactive_tutorials for doxygen build
Add dep to opencv.js

Fix #53

* Implement cv.imread & cv.imshow and insert interactive pages in tutorials (#55)

* add helper.js

* delete ALL in add target copy_js_interactive_tutorials to avoid dependence error

* Insert interactive pages in tutorials

insert the old interactive pages in markdown by using \htmlonly and \endhtmlonly command.
delete the useless interactive page
rename js_interactive_tutorials to js_assets to put some images needed in

* fix the depends of the target doxygen

add opencv.js to depends and delete the useless target of copy_js_assets

* change filename helper.js to helpers.js

* disable button or trankbar before opencv.js is ready

* Expose CV_64F

Fix #65

* improve cv.imshow to display different types as native imshow

* add utils.js to reuse functions and update tutorials

* Make doxygen depend on bin/opencv.js

* Fix memory issue of matFromArray

Fix #37

* Merge pull request from ganwenyao/tutorial_18

* Add notes for ganwenyao/tutorial_18

* Modifying for ganwenyao/tutorial_18

* Change Mat constructor with data to 5 parameters

* Mat supports constructor with Scalar

Fix #60

* update cv.imread cause the memory issue of matFromArray has been fixed

* fix canvas name and default input image

* Expose cv::Moments

Fix #85

* Add -Wno-missing-prototypes for emscripten build

* fix canvas name

* add tutorial of video input and output

* Expose enums as emscripten consts

Fix #72

* update the tutorial to use Mat constructor with Scalar and change lena.jpg

* Exclude cv::Mat for vecFromJSArray

Fix #82

* Add unit tests for cv.moments

* Fix the unit tests.

* add checkbox and stop button

* add adapter.js to make sure compatibility fo video tutorials

* Support default parameters with function overloading

* modify enums to constants

* Use https URL for MathJax.js

Fix #109

* Comment out the debug print in embindgen.py

* Expose RotatedRect

Fix #96

* replace enum with constants and improve onload function

* delete some useless paras cause #105 fixed this

* Modify const name

* Modify Contour Properties

* tutorials for imgprc2 and objdec

* Expose more functions for img proc tutorials

Fix #76

* Expose polylines for video analysis tutorial

Fix #121

* Expose constants for default parameters of img proc tutorials

Fix #122

* Fix wrong parameter types of Mat.copyTo

Fix #87

* Support default parameters of mat.convertTo

Fix #123

* Support default parameters for external constructors

Fix #131

* Revert "Expose polylines for video analysis tutorial"

This reverts commit 3ce7615652e510d30e3c0014706ac38c98883189.

Fix #121

* Support cv.minMaxLoc

Fix #127

* Expose cv.minEnclosingCircle

Fix #126

* Add video analysis tutorials

add three video tutorials, Meanshift and Camshift, Optical Flow Background Subtraction
add cup.mp4 and box.mp4 for demo in tutorials

* improve image processing tutorials

* repalce console.warn with throw to throw exception

* add try-catch to throw exception in code demo

* Change mat.size() return value to JS Array object

Fix #140

* add a note about different channels order between canvas and native opencv

* add a note about how to capture video from video files

* Binding cv.Scalar to JS array

Fix #147

* Add JS cv.Scalar object into helpers.js

* Update Install OpenCV-JavaScript tutorial page

Fix #44

* Update the OpenCV-JavaScript introduction page

Fix #44

* add cv.VideoCapture and read() function

* set the size of the hidden canvas same as the video

* Add Using OpenCV-JavaScript tutorial page

Fix #44

* fix some bad code style

* Update tutorials after 8/2 sync meeting

Changes include:
- Use OpenCV.js name instead of OpenCV-JavaScript
- Put using OpenCV.js ahead of build OpenCV.js
- Refine usage and introduction page
- Muted the video in tutorials

* Fix a typo in introduction page

* use cv.VideoCapture and its read() function to read video

* replace OpenCV-JavaScript with OpenCV.js

* Use onload of async script in js_usage tutorial

* add more info about mat.data

* Change Size to value_object

* Integrate Moh and Sajjad's editing into introduction page

* Change Point to value_object

* Change Rect to value_object with helper object

* Add helper objects for Point and Size

* Change RotatedRect to value_object with helpers

* Change MinMaxLoc and Circle to value_object

* Change TermCriteria to value_object

* Fix core_bindings.cpp for MinMaxLoc and Circle

* Remove unused types

* Change meanShift and CamShift to return Rect

* Change methods of RotatedRect to static

* Change mat.data from methods to property

Fix #75 and #77

* support img id and element in cv.imread

* Change mat.size to property and add mat.step

Fix #163

* Add matFromArray and matFromImageData as JS helpers

Fix #79, #78

* Lower camel case for Mat element getters

Fix #81

* Mat.getRoiRect and tests

Fix #86

* Support type for Mat.ptr

Fix #83

* Name changing of Mat element getters

'getUcharAt` -> 'ucharAt'

* fix code style and args names

* Fix helpers.js due to cv.Mat API update

* Fix opencv.js usage tutorial

* Fix a typo of js_setup

* Change Moments to value_object

* Add Range as value_object

Fix #171

* Support Mat.diag and Mat.isContinous

Fix #84 and #89

* Support Mat.setTo

Fix #88

* Apply edits to js_intro

* Apply edits to js_usage

* Apply edits to js_setup

* update tutorials to apply data type change

* Modify tutorials

* add core tutorials

* delete MatVector elements and delete useless set operation

* add tutorials_objdec_camera

* Add instructions for WebAssembly

* apply tech writer's feedbacks into tutorials

* Organize white list by modules

* Change size to method and bind to MatExpr.size()

Fix #177

* improve tutorials

* Modify core tutorials

* add params list and explanations for OpenCV.js functions

* remove face_profile from Face Detection in Video Capture

* Add demos link

* Change Gui to GUI

* Update js_intro based on Moh and Sajjad's edits

* Fixup for 3.3.0 rebase

* Update js_intro per Moh's suggestion

* Update contributors list per Moh's idea

* add adapter.js in video_display tutorial

* Change Mat.getRoiRect to Mat.roi

Fix #194

* Remove unnecessary files for test

Fix #192

* Licenses updated to UC BSD 3-Clause

* Apply OpenCV coding style for C++ files

* Add OpenCV license for python and js files

* Fix coding style issue in helpers.js

* Remove unused test_commons.js

* Fix coding style of test_imgproc.js

* Fix coding style of test_mat.js

* Fix space before semicolon

* Fix coding style of test_objdetect.js

* Fix coding style of tests.js

* Fix coding style of test_utils.js

* Fix coding style of test_video.js

* Fix failures of node.js tests

* Add eslint rule config and fix eslint errors

* Add eslint config for js/src and fix eslint errors

* Clean up the opencv.js dependencies

Fix #186

* Fix build issue for python generator

* Fix doxygen buildbot failure

* delete trailing whitespace, blank line at EOF and replace tab with space

* Fix tutorial_js_root reference issue for non opencv.js build

* replace the file with small size

* Initial commit of build_js.py

* Move the js build configurations to build script

* Add wasm build support

* Update OpenCV.js build tutorial by using script

* Fix global var issue in tests

* Add a README.md for build_js.py

* Copy the haar cascade files from data dir for tutorials

* Not use memory init file

* Disable debug print for modules/js/CMakeLists.txt

* Check files when build done

* Fix image name in js_gradients tutorial

* Fix image load issue in js_trackbar tutorial

* Find the opencv source directory via relative path by default

* Make the cmake args based on build_doc option

* Fix a typo in js_setup.markdown

* Fix make failure issue on config generated by build_js.py

* Eliminate js branch of hdr_parser.py

* Extract examples from js_basic_ops tutorial

* Fix coding style of utils.js

* Improve examples error handling

Handle:
1. opencv.js loading errors
2. script errors (Error)
3. cv::Exception

Fix #217

* Add enable_exception option into build_js.py

* Support print exception for exception catching disabled build

* Extract example from js_usage tutorial

* Avoid copying .eslintrc.json when building doc

Fix #223

* Revert to use onload as opencv.js ready event

* Use 4 spaces indention for js examples

* embed html in tutorials with iframe tag

* Revert to use onload as opencv.js ready event

* Extract examples from js_video_display tutorial

* Implement Utils object

* modify core imgprc and face_detection tutorials

* Fix examples of js_gui tutorials

* Fix coding style of utils.js

* Modify tutorials

* Extract example from js_face_detection_camera tutorial

* Disable new-cap check in eslint

* Extract examples from js_meanshift tutorial

* Extract examples from video tutorials

* Remove new-cap declaration and update grammer in comments

* Change textarea width to 100 to align with eslint config

* Fix printError issue when opencv.js loading fails

* Remove BUILD_opencv_js dependency for doc build

Fix #213

* Expose cv::getBuildInformation

* Dump opencv build info when opencv.js loaded for live examples

* Make the button to stand out in js live examples

Fix #235

* Style for disabled button

* Add js_imgproc_camera.html example

* Fix coding style of imgproc_camera example

* Add js_imgproc_camera tutorial

* Remove link to opencv.js demos

* doc: copy opencv.js on build, use absolute paths for assets

* doc: reuse existed file box.mp4

7 years agoMerge pull request #9505 from cbalint13:cuda
Alexander Alekhin [Mon, 25 Sep 2017 11:05:41 +0000 (14:05 +0300)]
Merge pull request #9505 from cbalint13:cuda

Enable CUDA_NVCC_FLAGS at arch detect step.

7 years agoMerge pull request #9706 from alalek:imgcodecs_tiff_drop_legacy_code
Vadim Pisarevsky [Mon, 25 Sep 2017 10:18:37 +0000 (10:18 +0000)]
Merge pull request #9706 from alalek:imgcodecs_tiff_drop_legacy_code

7 years agoimgcodecs(tiff): drop legacy code
Alexander Alekhin [Sun, 24 Sep 2017 22:28:36 +0000 (22:28 +0000)]
imgcodecs(tiff): drop legacy code

Drop code under *undefined* HAVE_TIFF
(violates several policies, like a way to turn off tiff support)

7 years agoreplace raw SSE2/NEON implementation with universal intrinsic
Tomoaki Teshima [Fri, 22 Sep 2017 14:43:05 +0000 (23:43 +0900)]
replace raw SSE2/NEON implementation with universal intrinsic

7 years agoMerge pull request #9618 from vipinanand4:goodFeaturesToTrack_added_gradiantSize
vipinanand4 [Fri, 22 Sep 2017 14:04:43 +0000 (19:34 +0530)]
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>
7 years agoMerge pull request #9686 from sturkmen72:patch-1
Suleyman TURKMEN [Fri, 22 Sep 2017 14:02:12 +0000 (17:02 +0300)]
Merge pull request #9686 from sturkmen72:patch-1

Update planar_tracking.cpp (#9686)

7 years agoSet swapRB to false in Caffe tests and examples.
jrobble [Tue, 19 Sep 2017 06:07:33 +0000 (02:07 -0400)]
Set swapRB to false in Caffe tests and examples.

7 years agoMerge pull request #9147 from sovrasov:phase_corr_fix
Vadim Pisarevsky [Fri, 22 Sep 2017 10:32:14 +0000 (10:32 +0000)]
Merge pull request #9147 from sovrasov:phase_corr_fix

7 years agoAdded performance test for nearest neighbor resize
Vitaly Tuzov [Wed, 31 May 2017 15:44:35 +0000 (18:44 +0300)]
Added performance test for nearest neighbor resize

7 years agoMerge pull request #9649 from dkurt:dnn_reshape_transpose
Vadim Pisarevsky [Thu, 21 Sep 2017 19:25:58 +0000 (19:25 +0000)]
Merge pull request #9649 from dkurt:dnn_reshape_transpose

7 years agoMerge pull request #9678 from tomoaki0705:universalFastScore
Vadim Pisarevsky [Thu, 21 Sep 2017 19:12:30 +0000 (19:12 +0000)]
Merge pull request #9678 from tomoaki0705:universalFastScore

7 years agoMerge pull request #9681 from jodrescher:master
Alexander Alekhin [Thu, 21 Sep 2017 15:58:48 +0000 (15:58 +0000)]
Merge pull request #9681 from jodrescher:master

Update OpenCVDownload.cmake unpack option

7 years agoMerge pull request #9684 from RaymondKirk:patch-1
Alexander Alekhin [Thu, 21 Sep 2017 15:57:44 +0000 (15:57 +0000)]
Merge pull request #9684 from RaymondKirk:patch-1

Fix 'directory does not exist' in windows tutorial

7 years agoFix 'directory does not exist' in windows tutorial
Raymond Kirk [Thu, 21 Sep 2017 15:46:58 +0000 (16:46 +0100)]
Fix 'directory does not exist' in windows tutorial

7 years agoRemove reorder_dims attribute of Reshape layer
Dmitry Kurtaev [Mon, 18 Sep 2017 10:04:43 +0000 (13:04 +0300)]
Remove reorder_dims attribute of Reshape layer

7 years agoUpdate OpenCVDownload.cmake unpack
jodrescher [Thu, 21 Sep 2017 12:00:43 +0000 (14:00 +0200)]
Update OpenCVDownload.cmake unpack

Added new "f" flag to the tar unpack, because without it doesn't complete, an compile fails

7 years agoBit-exact version of Luv2RGB_b (#9470)
Rostislav Vasilikhin [Thu, 21 Sep 2017 11:20:45 +0000 (14:20 +0300)]
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

7 years agoMerge pull request #9653 from dkurt:thresh_16u
Vadim Pisarevsky [Thu, 21 Sep 2017 10:57:46 +0000 (10:57 +0000)]
Merge pull request #9653 from dkurt:thresh_16u

7 years agoMerge pull request #9673 from dkurt:feature_dnn_tensorflow_defun
Vadim Pisarevsky [Thu, 21 Sep 2017 10:55:25 +0000 (10:55 +0000)]
Merge pull request #9673 from dkurt:feature_dnn_tensorflow_defun

7 years agoMerge pull request #9674 from alalek:cmake_cl2cpp_fix
Vadim Pisarevsky [Thu, 21 Sep 2017 10:54:39 +0000 (10:54 +0000)]
Merge pull request #9674 from alalek:cmake_cl2cpp_fix

7 years agouse universal intrinsic in FAST
Tomoaki Teshima [Thu, 21 Sep 2017 09:28:15 +0000 (18:28 +0900)]
use universal intrinsic in FAST

7 years agoMerge pull request #9669 from kraj:master
Alexander Alekhin [Wed, 20 Sep 2017 19:06:49 +0000 (19:06 +0000)]
Merge pull request #9669 from kraj:master

7 years agocmake: fix build process of OpenCL kernels
Alexander Alekhin [Wed, 20 Sep 2017 15:06:15 +0000 (18:06 +0300)]
cmake: fix build process of OpenCL kernels

7 years agoMerge pull request #9647 from alalek:cmake_ipp_absolute_path
Alexander Alekhin [Wed, 20 Sep 2017 12:56:33 +0000 (12:56 +0000)]
Merge pull request #9647 from alalek:cmake_ipp_absolute_path

7 years agoMerge pull request #8820 from woodychow:multithread_sift_findScaleSpaceExtrema
Vadim Pisarevsky [Wed, 20 Sep 2017 12:03:24 +0000 (12:03 +0000)]
Merge pull request #8820 from woodychow:multithread_sift_findScaleSpaceExtrema

7 years agoMerge pull request #9668 from Erotemic:msvc_version_warning
Alexander Alekhin [Wed, 20 Sep 2017 11:35:25 +0000 (11:35 +0000)]
Merge pull request #9668 from Erotemic:msvc_version_warning

7 years agoImport wrapped Dropout subgraphs from TensorFlow
Dmitry Kurtaev [Wed, 20 Sep 2017 10:30:25 +0000 (13:30 +0300)]
Import wrapped Dropout subgraphs from TensorFlow

7 years agoDo not enable asm with clang
Khem Raj [Wed, 20 Sep 2017 01:07:35 +0000 (18:07 -0700)]
Do not enable asm with clang

clang pretends to be gcc 4.2.0 which means we will
use inline asm for no reason, instead of builtins
on clang when possible.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years agoAdded warning when MSVC_VERSION is not recognized
joncrall [Tue, 19 Sep 2017 22:00:25 +0000 (18:00 -0400)]
Added warning when MSVC_VERSION is not recognized

7 years agoMerge pull request #9664 from tomoaki0705:fixBuildVS2013
Alexander Alekhin [Tue, 19 Sep 2017 12:25:18 +0000 (12:25 +0000)]
Merge pull request #9664 from tomoaki0705:fixBuildVS2013

7 years agoMerge pull request #9656 from bblanchon:RelWithDebInfo
Alexander Alekhin [Tue, 19 Sep 2017 11:12:58 +0000 (11:12 +0000)]
Merge pull request #9656 from bblanchon:RelWithDebInfo

7 years agoUsing environment variable to store capture options (#9292)
Adam Rankin [Tue, 19 Sep 2017 10:29:43 +0000 (06:29 -0400)]
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

7 years agoMerge pull request #9657 from alalek:ocl_global_size_adjustment
Vadim Pisarevsky [Tue, 19 Sep 2017 10:19:45 +0000 (10:19 +0000)]
Merge pull request #9657 from alalek:ocl_global_size_adjustment

7 years agoMerge pull request #9654 from savuor:seamlessclone
Vadim Pisarevsky [Tue, 19 Sep 2017 10:16:37 +0000 (10:16 +0000)]
Merge pull request #9654 from savuor:seamlessclone

7 years agofix build on Visual Studio 2013 and earlier
Tomoaki Teshima [Tue, 19 Sep 2017 10:08:23 +0000 (19:08 +0900)]
fix build on Visual Studio 2013 and earlier

7 years agoocl: update kernel global size adjustment
Alexander Alekhin [Mon, 18 Sep 2017 16:04:46 +0000 (19:04 +0300)]
ocl: update kernel global size adjustment

Prevents 10000x1 => 10000x8 transformation after getContinuousSize() call

7 years agocmake: map RelWithDebInfo and MinSizeRel configuration to Release
Benoit Blanchon [Mon, 18 Sep 2017 15:47:49 +0000 (17:47 +0200)]
cmake: map RelWithDebInfo and MinSizeRel configuration to Release

7 years agoUpdate 16UC thresholding
Dmitry Kurtaev [Mon, 18 Sep 2017 12:42:44 +0000 (15:42 +0300)]
Update 16UC thresholding

7 years agoAdded support for thresholding CV_16U images.
Arvid Piehl Lauritsen Böttiger [Mon, 18 Sep 2017 12:33:14 +0000 (15:33 +0300)]
Added support for thresholding CV_16U images.

7 years agoMerge pull request #9624 from nilaykumarpatel:Feature2d_getDefaultName
Vadim Pisarevsky [Mon, 18 Sep 2017 10:34:35 +0000 (10:34 +0000)]
Merge pull request #9624 from nilaykumarpatel:Feature2d_getDefaultName

7 years agoMerge pull request #9444 from hrnr:akaze_tutorial
Vadim Pisarevsky [Mon, 18 Sep 2017 10:27:07 +0000 (10:27 +0000)]
Merge pull request #9444 from hrnr:akaze_tutorial

7 years agoMerge pull request #9305 from dkurt:public_dnn_importer_is_deprecated
Vadim Pisarevsky [Mon, 18 Sep 2017 09:35:35 +0000 (09:35 +0000)]
Merge pull request #9305 from dkurt:public_dnn_importer_is_deprecated

7 years agoMerge pull request #9310 from r2d3:svm_parallel
Vadim Pisarevsky [Mon, 18 Sep 2017 09:32:41 +0000 (09:32 +0000)]
Merge pull request #9310 from r2d3:svm_parallel

7 years agoMerge pull request #9517 from dkurt:tf_mobilenet
Vadim Pisarevsky [Mon, 18 Sep 2017 09:31:19 +0000 (09:31 +0000)]
Merge pull request #9517 from dkurt:tf_mobilenet

7 years agoMerge pull request #9551 from ChristofKaufmann:MultiChannelMask
Vadim Pisarevsky [Mon, 18 Sep 2017 09:28:34 +0000 (09:28 +0000)]
Merge pull request #9551 from ChristofKaufmann:MultiChannelMask

7 years agoMerge pull request #9591 from dkurt:feature_dnn_caffe_importer_fp16
Vadim Pisarevsky [Mon, 18 Sep 2017 09:26:23 +0000 (09:26 +0000)]
Merge pull request #9591 from dkurt:feature_dnn_caffe_importer_fp16

7 years agoMerge pull request #9642 from saskatchewancatch:psnr-checks
Vadim Pisarevsky [Mon, 18 Sep 2017 09:24:03 +0000 (09:24 +0000)]
Merge pull request #9642 from saskatchewancatch:psnr-checks

7 years agoMake external cv::dnn::Importer usage is deprecated
Dmitry Kurtaev [Thu, 3 Aug 2017 14:43:52 +0000 (17:43 +0300)]
Make external cv::dnn::Importer usage is deprecated

7 years agocmake/IPP: use absolute path
Alexander Alekhin [Sun, 17 Sep 2017 20:12:59 +0000 (23:12 +0300)]
cmake/IPP: use absolute path

7 years agoMerge pull request #9599 from whizzzkid:master
Nishant Arora [Sun, 17 Sep 2017 19:24:43 +0000 (13:24 -0600)]
Merge pull request #9599 from whizzzkid:master

Incorrect Naming (#9599)

* Resolved #9544

* This is a better fix

* This should be good.

7 years agoRevert changes of mean and meanStdDev
Christof Kaufmann [Sun, 17 Sep 2017 19:00:28 +0000 (21:00 +0200)]
Revert changes of mean and meanStdDev

7 years agoRemoved unnecessary assertion
RAJ NATARAJAN [Sun, 17 Sep 2017 02:55:45 +0000 (19:55 -0700)]
Removed unnecessary assertion

7 years agoMerge pull request #9313 from dkurt:dnn_perf_test
Vadim Pisarevsky [Sat, 16 Sep 2017 19:39:23 +0000 (19:39 +0000)]
Merge pull request #9313 from dkurt:dnn_perf_test

7 years agoAdd some useful input assertions to PSNR function
RAJ NATARAJAN [Sat, 16 Sep 2017 05:36:58 +0000 (23:36 -0600)]
Add some useful input assertions to PSNR function

Input arrays must be depth CV_8U and of identical size.

7 years agoMerge pull request #9626 from T0ny0:fisheye_fix_
Alexander Alekhin [Fri, 15 Sep 2017 20:29:39 +0000 (20:29 +0000)]
Merge pull request #9626 from T0ny0:fisheye_fix_

7 years agoremove assignments in expressions
Tony0 [Fri, 15 Sep 2017 19:45:17 +0000 (22:45 +0300)]
remove assignments in expressions

7 years agoMerge pull request #9458 from csukuangfj:fix-doc
Alexander Alekhin [Fri, 15 Sep 2017 19:35:01 +0000 (19:35 +0000)]
Merge pull request #9458 from csukuangfj:fix-doc

7 years agoMerge pull request #9526 from sturkmen72:update_documentation
Alexander Alekhin [Fri, 15 Sep 2017 18:47:06 +0000 (18:47 +0000)]
Merge pull request #9526 from sturkmen72:update_documentation

7 years agoLayers for MobileNet from TensorFlow
Dmitry Kurtaev [Wed, 13 Sep 2017 19:18:02 +0000 (22:18 +0300)]
Layers for MobileNet from TensorFlow

7 years agoFP16 Caffe models import and export
Dmitry Kurtaev [Fri, 8 Sep 2017 10:31:29 +0000 (13:31 +0300)]
FP16 Caffe models import and export

7 years agoremoved unnecessary line
stalin18 [Sun, 18 Sep 2016 18:42:19 +0000 (00:12 +0530)]
removed unnecessary line

7 years agofixed unnecessary reconstruction in seamlessclone
stalin18 [Sun, 18 Sep 2016 13:11:02 +0000 (18:41 +0530)]
fixed unnecessary reconstruction in seamlessclone

fixed unnecessary reconstruction in seamlessclone by using only the
required rectangular area in input images

7 years agoMerge pull request #9384 from dkurt:torch_split
Vadim Pisarevsky [Fri, 15 Sep 2017 13:05:05 +0000 (13:05 +0000)]
Merge pull request #9384 from dkurt:torch_split

7 years agoMerge pull request #9301 from dkurt:dnn_npy
Vadim Pisarevsky [Fri, 15 Sep 2017 12:42:02 +0000 (12:42 +0000)]
Merge pull request #9301 from dkurt:dnn_npy

7 years agoMerge pull request #9524 from dkurt:dnn_torch_openface
Vadim Pisarevsky [Fri, 15 Sep 2017 12:38:11 +0000 (12:38 +0000)]
Merge pull request #9524 from dkurt:dnn_torch_openface

7 years agoMerge pull request #9560 from sovrasov:undistort_stop_criteria
Vadim Pisarevsky [Fri, 15 Sep 2017 12:34:16 +0000 (12:34 +0000)]
Merge pull request #9560 from sovrasov:undistort_stop_criteria

7 years agoMerge pull request #9633 from saskatchewancatch:psnr-doc
Vadim Pisarevsky [Fri, 15 Sep 2017 12:26:34 +0000 (12:26 +0000)]
Merge pull request #9633 from saskatchewancatch:psnr-doc

7 years agoMerge pull request #9616 from dkurt:feature_dnn_tf_importer_atrous_conv
Vadim Pisarevsky [Fri, 15 Sep 2017 10:24:05 +0000 (10:24 +0000)]
Merge pull request #9616 from dkurt:feature_dnn_tf_importer_atrous_conv

7 years agoMerge pull request #9623 from dkurt:hotfix_disable_ssd_cpu_halide_test
Vadim Pisarevsky [Fri, 15 Sep 2017 10:21:44 +0000 (10:21 +0000)]
Merge pull request #9623 from dkurt:hotfix_disable_ssd_cpu_halide_test

7 years agoi9629 - Added actual documentation for cv::PSNR function
saskatchewancatch [Fri, 15 Sep 2017 00:20:00 +0000 (18:20 -0600)]
i9629 - Added actual documentation for cv::PSNR function

7 years agoOverloading getDefaultName method for Feature2D and its child classes
Patel, Nilaykumar K [Thu, 14 Sep 2017 04:54:05 +0000 (10:24 +0530)]
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>
7 years agofisheye: fix initUndistortRectifyMap()
Tony0 [Thu, 14 Sep 2017 11:57:21 +0000 (14:57 +0300)]
fisheye: fix initUndistortRectifyMap()

7 years agoBit-exact version of RGB2Luv_b (#9226)
Rostislav Vasilikhin [Thu, 14 Sep 2017 11:51:27 +0000 (14:51 +0300)]
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

7 years agoimgproc: slightly change the signature of undistortPoints overload
Vladislav Sovrasov [Thu, 14 Sep 2017 08:13:36 +0000 (11:13 +0300)]
imgproc: slightly change the signature of undistortPoints overload

7 years agoimgproc: add stop criteria tuning in undistortPoints
Vladislav Sovrasov [Tue, 5 Sep 2017 13:05:13 +0000 (16:05 +0300)]
imgproc: add stop criteria tuning in undistortPoints

7 years agoTorch's Concat and ConcatTable doesn't use Split layer
Dmitry Kurtaev [Wed, 16 Aug 2017 18:11:59 +0000 (21:11 +0300)]
Torch's Concat and ConcatTable doesn't use Split layer

7 years agoLayers for OpenFace face recognition network
Dmitry Kurtaev [Mon, 28 Aug 2017 14:37:09 +0000 (17:37 +0300)]
Layers for OpenFace face recognition network

7 years agoDilated convolution import from TensorFlow
Dmitry Kurtaev [Tue, 12 Sep 2017 12:56:51 +0000 (15:56 +0300)]
Dilated convolution import from TensorFlow

7 years agoDisable SSD on CPU Halide test
Dmitry Kurtaev [Wed, 13 Sep 2017 15:15:23 +0000 (18:15 +0300)]
Disable SSD on CPU Halide test

7 years agoMerge pull request #9592 from alalek:issue_9589
Vadim Pisarevsky [Wed, 13 Sep 2017 14:57:49 +0000 (14:57 +0000)]
Merge pull request #9592 from alalek:issue_9589

7 years agoImprove README (#9243)
Faheel Ahmad [Wed, 13 Sep 2017 14:58:34 +0000 (20:28 +0530)]
Improve README (#9243)

7 years agoMerge pull request #9603 from alalek:ocl_device_extensions
Vadim Pisarevsky [Wed, 13 Sep 2017 14:43:36 +0000 (14:43 +0000)]
Merge pull request #9603 from alalek:ocl_device_extensions

7 years agoMerge pull request #9374 from savuor:test_lab_bit_exact
Vadim Pisarevsky [Wed, 13 Sep 2017 14:39:04 +0000 (14:39 +0000)]
Merge pull request #9374 from savuor:test_lab_bit_exact

7 years agodocumentation improvement
Suleyman TURKMEN [Thu, 31 Aug 2017 13:39:28 +0000 (16:39 +0300)]
documentation improvement

7 years agoRemoved hard-coded version from integration test. (#9335)
Kerry Billingham [Wed, 13 Sep 2017 14:19:16 +0000 (15:19 +0100)]
Removed hard-coded version from integration test. (#9335)

Documented how to change the version of Maven to match OpenCV core and modified bash scripts accordingly.

Extracted integration test module and placed into own profile.

Configured CMake Maven plugin to use native CMake by default.

Updated documentation.

7 years agoMerge pull request #9406 from Cartucho:update_core_tutorials
Vadim Pisarevsky [Wed, 13 Sep 2017 14:09:39 +0000 (14:09 +0000)]
Merge pull request #9406 from Cartucho:update_core_tutorials

7 years agoMerge pull request #9574 from saskatchewancatch:i9482
Vadim Pisarevsky [Wed, 13 Sep 2017 13:59:43 +0000 (13:59 +0000)]
Merge pull request #9574 from saskatchewancatch:i9482

7 years agoMerge pull request #9576 from dkurt:feature_dnn_tf_importer_fp16
Vadim Pisarevsky [Wed, 13 Sep 2017 13:57:38 +0000 (13:57 +0000)]
Merge pull request #9576 from dkurt:feature_dnn_tf_importer_fp16

7 years agoMerge pull request #9541 from sturkmen72:patch-15
Vadim Pisarevsky [Wed, 13 Sep 2017 13:47:26 +0000 (13:47 +0000)]
Merge pull request #9541 from sturkmen72:patch-15

7 years agoMerge pull request #9561 from dkurt:fix_8693
Vadim Pisarevsky [Wed, 13 Sep 2017 13:34:49 +0000 (13:34 +0000)]
Merge pull request #9561 from dkurt:fix_8693

7 years agoMerge pull request #9566 from alalek:python_signatures
Vadim Pisarevsky [Wed, 13 Sep 2017 13:32:05 +0000 (13:32 +0000)]
Merge pull request #9566 from alalek:python_signatures

7 years agoMerge pull request #9569 from dkurt:test_dnn_ssd_halide
Vadim Pisarevsky [Wed, 13 Sep 2017 13:29:50 +0000 (13:29 +0000)]
Merge pull request #9569 from dkurt:test_dnn_ssd_halide

7 years agoMerge pull request #9600 from StevenPuttemans:fix_9583
Vadim Pisarevsky [Wed, 13 Sep 2017 13:27:04 +0000 (13:27 +0000)]
Merge pull request #9600 from StevenPuttemans:fix_9583

7 years agoMerge pull request #9581 from sovrasov:rtree_disable_cv
Vadim Pisarevsky [Wed, 13 Sep 2017 13:20:52 +0000 (13:20 +0000)]
Merge pull request #9581 from sovrasov:rtree_disable_cv

7 years agoUpdate train_HOG.cpp
Suleyman TURKMEN [Sun, 26 Jun 2016 00:42:10 +0000 (03:42 +0300)]
Update train_HOG.cpp