Itseez/opencv — pull request #3215 by dmitrygribanov (2014-09-12 16:03:10+00:00)
Title: Feature based stitching's wave correction bugfix.

When we have similar matrices in input, then algorithm returns matrices
with NaN values.

So we fix possibility of division by zero.