When a cluster is empty for KMeans, it's better to give it the point from another cluster j that is the furthest one from center j.
fixing bug #3345
Improved documentation for neural network
fixing bug #3345. don't use BORDER_ISOLATED alone. it should be combined with some border type
Fixed bug #3489: The code assumed that two global variables would be constructed in a particular order, but global variable initialization order is compiler-dependent.
Merge pull request #2171 from djetter99:fix_static_init_order
Viz initial backport, compilation fixes, moved viz/viz.hpp header according to 2.4 style
fixed documentation warnings
fix cross-compilation issue with Numpy
reorder the if's for clarity
split CUDA Hough sources
disable CUDA generalized Hough Transform
Merge pull request #2107 from nghiaho12:nn_doc
Merge pull request #2183 from jet47:cuda-hough-fix
All installed files marked with component names for install customization.
Initial Linux packages build rools for CPack.
fix GpuMat::copyTo method with mask:

fill destination matrix with zeros if it was reallocated
Merge pull request #2181 from asmorkalov:ocv_packaging
fix message sent to user during cross_compilation
Merge pull request #2175 from vrabaud:2.4