31 #ifndef __ORIENTATION__H_
32 #define __ORIENTATION__H_
41 #include <opencv2/opencv.hpp>
45 double length(CvPoint *pnt1, CvPoint *pnt2);
48 int deltaline(CvPoint *pnt1, CvPoint *pnt2,
char ch);
52 int difference(CvPoint *pnt1, CvPoint *pnt2, CvPoint *pnt3, CvPoint *pnt4,
char ch);
55 void fillarray(CvSeq *result);
61 CvPoint centralpoint(CvPoint pnt1, CvPoint pnt2);
64 CvPoint getcentralpoint(IplImage *
image, CvSeq *res);
68 float getorientation(CvPoint pnt1, CvPoint pnt2);