필터 지우기
필터 지우기

how to draw a line between two centroids

조회 수: 2 (최근 30일)
sai pavan
sai pavan 2016년 1월 6일
답변: Stalin Samuel 2016년 1월 6일
I want to join centroids of two objects in an image using a line

답변 (1개)

Stalin Samuel
Stalin Samuel 2016년 1월 6일
x=[x1,y1] % centroid of object 1
y=[x2,y2] % centroid of object 2
plot(x,y) % connecting two centroids using line

태그

Community Treasure Hunt

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

Start Hunting!

Translated by