Itseez/opencv — pull request #2188 by jet47 (2014-01-22 06:41:15+00:00)
Title: Fix GpuMat::copyTo method with mask

Fill destination matrix with zeros if it was reallocated