intersection of multiple images
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hi chandra, what should i do if i want to display the intersection portion.
1 comentario
Image Analyst
el 6 de Dic. de 2011
There is no context for this question. You should reply to your other thread and delete this one, or at the very least, put in a link to the other thread that you split off from.
Respuesta aceptada
Chandra Kurniawan
el 6 de Dic. de 2011
Hello,
Sorry for waiting.
Here the code :
array = uint8(intersection);
for row = size(intersection,1) : -1 : 1
if ~any(find(intersection(row,:)))
array(row,:) = [];
end
end
for col = size(intersection,2) : -1 : 1
if ~any(find(intersection(:,col)))
array(:,col) = [];
end
end
imshow(array);
19 comentarios
Chandra Kurniawan
el 7 de Dic. de 2011
Hi, k
I think it is impossible.
You can only do matrix subtraction if both of dimension and size are same.
If we know about matrix concept, if we have matrix A [p x q] and B [r x s], subtraction matrix A with matrix B can be occur only is p == r and q == s.
So, you cannot perform it with different size of two matrices.
Más respuestas (1)
Chandra Kurniawan
el 7 de Dic. de 2011
I got little confused with your question.
Let me pick one picture.
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
Then which another picture will be intersected with that image??
3 comentarios
Ver también
Categorías
Más información sobre Feature Detection and Extraction 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!