Java 언어로 된 convexitydefect()
함수에 대한 정보가 필요합니다. convexityDefects의 구조체가Imgproc.convexityDefects(); Eclipse + java + opencv에서
MatOfInt4 convexityDefects;
++ :
Imgproc.convexityDefects(MatOfPoint contour, MatOfInt convexhull, MatOfInt4 convexityDefects)
결과는 convexityDefects 변수에 :
이
는 기능입니다CvPoint* start; // point of the contour where the defect begins
CvPoint* end; // point of the contour where the defect ends
CvPoint* depth_point; // the farthest from the convex hull point within the defect
float depth;
그러나 자바는 4 retunrs int for row! Java에서 시작, 끝, 깊이 _ 점, 깊이에 대한 정보를 어떻게 얻을 수 있습니까?