摘要: point1(x1,y1) A point2(x2,y2) B point3(x3,y3) Ccos(A) = (x2-x1)*(x3-x1) + (y2-y1)*(y3-y1) / sqrt([(x2-x1)*(x2-x1) + (y2-y1)*(y2-y1)]*[(x3-x1)*(x3-x1)+(y3-y1)*(y3-y1)]);在图像处理中检测图形时很有用 阅读全文
posted @ 2013-01-15 22:04 ying870510 阅读(1768) 评论(0) 推荐(0) 编辑