how to avoid overlapping of 2 images

1 visualización (últimos 30 días)
Nisha Rajiv
Nisha Rajiv el 7 de Sept. de 2012
I have 2 images whose boundary are extracted.
I have them plotted.But they are overlapping
this is the code
how to correct it
if true
%Leveling Y axis
[ymin mindx] = max(Temp_boundary(:,1));
[ymax maxdx] = max(Protein1_boundary(:,1));
ydiff = ymin - ymax;
if(ydiff >0)
Temp_boundary(:,1) = Temp_boundary(:,1) - ydiff;
end
%Leveling X axis
[xmin mindx] = min(Temp_boundary(:,2));
[xmax maxdx] = max(Protein1_boundary(:,2));
xdiff = xmin - xmax;
Temp_boundary(:,2) = Temp_boundary(:,2) - (-xdiff);
end
  1 comentario
Image Analyst
Image Analyst el 7 de Sept. de 2012
Where did you upload your images? I need to see your original images and the overlapped results, and an image of how you'd like it to look.

Iniciar sesión para comentar.

Respuestas (0)

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