Made changes to allow ml module to work with big data.
Changed types of some variables from int64 back to int.
Also corrected some indexes to be size_t.
Smartek Giganetix Cameras support (Patch #2192) integrated.
Fixed dummy warning.
Fix setting of FPS after frame width and height with DShow cameras

Issue #2114
Remove unused vars
Fix subtle bug when src & dst agree on sparsity but have different dimensions
Remove unused var "total"
Declare vars as locally as possible
Mat tutorial - grammar and spelling fixes
Merge pull request #415 from asmaloney:cvCopyHist-fix
Merge pull request #414 from asmaloney:remove-unused-vars2
Check memory allocation
Initialize local variables
Check memory allocation
Declare vars as locally as possible
Remove unused constructor
Add checks for valid values
Fix wording on some errors
No need to check vector size before clear()
simplify the kernel logic when using rect kernel or without ROI
add setDeviceEx interface
simplify the logic of save binary
Merge pull request #395 from LeonidBeynenson:fix_ml_large_data_bug__2.4
Merge pull request #410 from taka-no-me:fix_cap_dshow_setfps
Merge pull request #421 from asmaloney:check-mem-alloc2
Merge pull request #424 from asmaloney:additional-checks