MATLAB: How can i get the horizontal and vertical pixel differences of the image

digital image processingImage Processing Toolbox

how can i get the horizontal and vertical pixel differences of the image. after that how can i combine this two images of horizontal and vertical pixel differences. finally i want to see the horizontal and vertical edges in one image.how can i do this.can any one help me with codes

Best Answer

diff(double(TheImage))
Related Question