MeanshiftGrouping Bugfix (Bug #2685)
enabling sanity checks for warp and resize functions on Android
- add syntetic images generation function to ts
- use generated syntetic images
fixing build warnings
ocl::cvtColor support YUV and YCbCr formats
fix canny crash in bug #2279
make ocl module compile on VS2012
Fixed visualization by choosing the color appropriate to the detection

Fixed visualization by choosing the color appropriate to the detection
score.
Previously the example showed all detections with the same color
disregarding the confidence. This led to the impression that the object
detection did not work at all because there are many detections with low
confidences.

PR to master was
https://github.com/Itseez/opencv/pull/320
Merge pull request #321 from apavlenko:warp_sanity_check
Fix debug build of Java warppers
Merge pull request #330 from sromberg:2.4
fixed broken indentation
Merge pull request #331 from taka-no-me:fix_java_debug
Fix ocl build warnings
Merge pull request #332 from taka-no-me:fix_ocl_warnings
Merge pull request #305 from stephenfalken:2.4
Merge pull request #334 from asmaloney:2.4
Merge pull request #327 from bitwangyaoyao:2.4_vs2012
Merge pull request #325 from bitwangyaoyao:2.4_fixcanny
Merge pull request #324 from bitwangyaoyao:2.4_cvtcolor
Fixed a formula to calculate the relative error