please note, that there are also Canny() versions, which take seperate dy, dy
input parameters, so i think, you got the wrong one above (also look at c++ error msg !).
however, i got no idea, where it got the signature wrong (and no java to debug here).
maybe add more params like int apertureSize, boolean L2gradient
and see, where / if it picks up the correct one ?