Itseez/opencv — pull request #3407 by wangyan42164 (2014-11-10 07:43:34+00:00)
Title: Fix canny segment fault (Bug #3978)

Avoid too large size cause std::vector::resize() failed.
Please refer to http://code.opencv.org/issues/3978.