Error message for wrong kernel size was insufficient.
authorthemightyoarfish <rdiederichse@uos.de>
Mon, 28 Mar 2016 12:06:55 +0000 (14:06 +0200)
committerthemightyoarfish <rdiederichse@uos.de>
Mon, 28 Mar 2016 12:06:55 +0000 (14:06 +0200)
commit68d97502fe5f72660ebb1d36909d1534b6a53c43
tree7a93e7e8384a5fd64580a4497d1f4f1786f3b883
parent1e1dc1429f03d805587957dd903b3b18f4e47915
Error message for wrong kernel size was insufficient.

When setting a wrong kernel size, the error message only tells the user that it
must be odd, however the conditions for rejection include values > 7 which must
be communicated. Without that, the message would be incorrect and confusing if
the user is unaware that only values 3, 5, 7 are accepted.
modules/imgproc/src/canny.cpp