how to intersect two images

1 visualización (últimos 30 días)
DB
DB el 30 de En. de 2017
Respondida: Walter Roberson el 30 de En. de 2017
a=imread('lathink.jpg'); b=imread('sobelthink.jpg'); c=bitand(a,b);
subplot(2,2,2), image(uint8(c)), title('Intersection'); subplot(2,2,3), image(uint8(a)), title('sobel'); subplot(2,2,4), image(uint8(b)), title('laplacian');
im writing this code but there is no proper working , can any one help me to intersect the two binary images .......?

Respuestas (1)

Walter Roberson
Walter Roberson el 30 de En. de 2017
Jpeg cannot represent binary images. You probably have a color image that uses 0 and 255 and which probably also uses values between because jpeg blurs straight lines. You should avoid using jpeg to store images you want to analyze.

Categorías

Más información sobre Images 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