필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

I have extracted a boundary and plotted the boundary using bwtrace boundary function. now I need to use the coordinates to rotate the boundary when I give an angle.How should i code it in matlab

조회 수: 2 (최근 30일)
if true
Protein1_boundary = bwtraceboundary(Protein1_Binary, [Protein1_row, Protein1_col], 'N', connectivity, num_points);
imshow(Protein1_Binary);
Protein2_boundary = bwtraceboundary(Protein2_Binary, [Protein2_row, Protein2_col], 'N', connectivity, num_points);
imshow(Protein2_Binary);
%Making the Proteins Interact
Temp_boundary =Protein2_boundary;
Temp_boundary = Temp_boundary +230;
clf('reset');
hold on;
%Ploting the Interaction
plot(1000,1000,'g','LineWidth',2);
plot(Protein1_boundary(:,2),Protein1_boundary(:,1),'g','LineWidth',2);
plot(Temp_boundary(:,2),Temp_boundary(:,1),'g','LineWidth',2);
end
now keeping Protein1 constant I need to rotate the Temp_boundary when I give an angle and make sure that it doesnt overlap

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by