convert photo1.jpg \( -clone 0 -convolve "-1,0,1,-1,0,1,-1,0,1" -fx "abs(u)" \) \( -clone 0 -convolve "1,1,1,0,0,0,-1,-1,-1" -fx "abs(v)" \) -compose plus -composite edge3.jpg
First you only have one image for each convolve, so abs(v) should be abs(u). Second, it appears that you are trying to generate an approximation to a gradient edge operator. However, unless you are in HDRI mode, -fx "abs(u)" will do nothing, since non-HDRI compiles will not allow negative values. Generally one will use -bias 50% before doing this and then compensate later. see
viewtopic.php?f=1&t=16158&hilit=sobel and the links within it.
See
http://www.imagemagick.org/Usage/convolve/#edgedet as IM has some built in edge detectors.
You can try my script, gradient, at the link below. It has both one-sided and two sided gradients for non-HDRI mode. The one-sided gradient should work as a two sided gradient if you are in HDRI mode, but I have not tested that. You can look at the bottom of my script for the code I used in both cases.