add kmeans
Bugfix for an overlapping size of image and template for matchTemplate.

Example: img of size 10x10 and templ of size 11x9.
In subsequent code this will results in either width or height of
corrSize to be zero (0).
Line 261 will call crossCorr which will then have a zero size of either
blocksize.width or blocksize.height resulting in a division by zero
crach in lines 137 or 138.
remove the redundant function
Fixed issue 3130 (http://code.opencv.org/issues/3130), where one argument of the BRISK-call was ignored. Previously it was not possible to use BRISK without creating descriptors.
Now it behaves like ORB (and how it is documented), and you can call BRISK to just generate feature points and no descriptors.
fix the function name
fixing working with test data and a small fix for init code
- set init value for `numsdev` to prevent use of uninitialized value
- stop use of 'workdir' and files from samples
- forcing use of 'opencv_extra' instead
Note: set OPENCV_TEST_DATA_PATH to full path to 'opencv_extra/testdata' (gitolite@code.opencv.org:opencv_extra.git) before running the test!
Merge pull request #1097 from apavlenko:ocl_tests_fixes
V4L and V4L2 based Video capture bug fix (Bugfix #3144).
Merge pull request #1099 from asmorkalov:linux_vcap_fix
setting version to 2.4.6.1 (hot-fix release for Linux camera support)
Merge pull request #1103 from apavlenko:ver_2.4.6.1
Merge pull request #1080 from hhofbaue:matchTemplate_bugfix
Merge pull request #1088 from apacha:brisk_noDescriptors_fix
Merge pull request #1077 from bitwangyaoyao:2.4_kmeans
Merge pull request #1 from Itseez/2.4

Add calculating integral image using IPP