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.
how to intersect two images
2 次查看(过去 30 天)
显示 更早的评论
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 .......?
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!