필터 지우기
필터 지우기

how to avoid overlapping of 2 images

조회 수: 2 (최근 30일)
Nisha Rajiv
Nisha Rajiv 2012년 9월 7일
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
Image Analyst
Image Analyst 2012년 9월 7일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modify Image Colors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by