[OpenCV][C++] convex hull defects 볼록 껍질 결함 찾기 - convexityDefects concave defect 오목 isContourConvex


[OpenCV][C++] convex hull defects 볼록 껍질 결함 찾기 - convexityDefects concave defect 오목 isContourConvex

지난 번에는 convex hull 알고리즘을 알아보고 C++로 직접 구현해봤습니다. https://m.blog.naver.com/dorergiverny/223155023979 [C++] Convex Hull 볼록 껍질 알고리즘 구현 총정리 - concave ccw 컨벡스헐 점들의 최외곽 컨투어 찾기 quickhull 지난번에는 허프 변환에 대해 C++로 구현해보고 구동 원리를 알아봤습니다. https://m.blog.naver.com/dor... blog.naver.com 이번에는 이 알고리즘을 OpenCV의 함수를 이용하여 사용해보도록 하겠습니다. points 입력되는 2D 좌표들, vector 또는 Mat 형태 hull std::vector<cv::Point> 형의 hull 결과 좌표 출력 clockwise true 일 경우 출력 좌표를 시계방향으로 출력, 기본값: false (반시계방향) returnPoints hull 출력 형식 결정, 기본값: true(좌표로 출력), fal...


#concave #수화인식 #볼록 #결함 #opencv #inRange #findContours #EVENT_MOUSTMOVE #EVENT_LBUTTONDOWN #EVENT_FLAG_CTRLKEY #drawContours #convexityDefects #convexhull #contourArea #오목

원문링크 : [OpenCV][C++] convex hull defects 볼록 껍질 결함 찾기 - convexityDefects concave defect 오목 isContourConvex