Pick centers in KMeans++ with a probability proportional to their distance^2, instead of simple distance, to previous centers
Apply to KMeansIndex KMeanspp the same modification as in HierarchicalClusteringIndex
As some processed distances are already ^2, use template to select whether or not we have to ^2 in KMeanspp
Move templates in dist.h in order to share them between KMeansIndex and HierarchicalClusteringIndex classes.
New KNN code -should compile now
function code
some fixes
Optimizations to OpenCL bilateral filter.
Python typdef fixed. Reverted the example to MOG2. Not time to make the command line switch for now.
Prototype OCL version of gaussian blur with integer arithmetic
perf report: summary.py: added custom --regressions map
Added integer arithmetic to sepFilter2D
Small refactoring
Enabled integer arithmetic for row_filter_C1_D0
Enabled integer arithmetic for filterSepSinglePass
Update crop_face.py

I propose some changes, to automate file cropping
fix condition in CV_OperationsTest::operations1()
Fix typos in old python wrapper documentation(Bug #3628)

Fixed spelling of CV_INTER_LINEAR flag in geometric_transformations.rst
Added cloud shading support - additional normals array is used
Corrected bug #1437. Corrected the cast of two short values from an lParam. lParam contains two signed-short, the position can be negative when another mouse event happens with a mouse_move (mouse_click, etc.)
The Microsoft documentation specifies NOT to use LOWORD and HIWORD macros to extract the x/y positions as it won't work correctly with multiple monitors. See http://msdn.microsoft.com/en-us/library/windows/desktop/ms645607(v=vs.85).aspx.