i have a gray scale image.my codes are
V=(-1*diff(summ));%%gives the horizontal edges of the image
H=(-1*(diff(summ'))');%%gives the vertical edges of the image
HV=imadd(H,V);%%i want to see the both edges in same image. i'm very new for matlab.i dont know these codes are correct or not.is there any operation to convert the arithmatic results into image.thanks.