Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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 Ansichten (letzte 30 Tage)
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

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by