2014-11-18 9 views

답변

1

가장 쉬운 변환은 선형 변환이지만 수확기 공식을 시도 할 수 있습니다.

1

태그 centroid을 이미 사용했지만 한정 점 집합의 산술 평균으로 중심이 알려져 있습니다 (minimizes the sum of squared Euclidean distances between itself and each point in the set).

그래서

M.X = (A.X + B.X + C.X + D.X + E.X)/5 
M.Y = (A.Y + B.Y + C.Y + D.Y + E.Y)/5 
로 중심 좌표를 찾기 위해 충분