Borrar filtros
Borrar filtros

how can i get the horizontal and vertical pixel differences of the image

1 visualización (últimos 30 días)
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

Respuesta aceptada

Walter Roberson
Walter Roberson el 27 de Sept. de 2013
diff(double(TheImage))

Más respuestas (1)

Image Analyst
Image Analyst el 27 de Sept. de 2013
In the Image Processing Toolbox, you can use imgradient() with the 'Roberts' filter option.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by