contour 를 찾는 함수..
여기에 seq 와 storage 의 개념이 아직 부족하다.. 다시 한번 봐야되는데.
CvMemStorage* storage_con = cvCreateMemStorage(0);
CvSeq* seq = NULL;
CvSeq* seq_dp = NULL;
int number_of_contour = cvFindContours(gray, storage_con, &seq, sizeof(CvContour), 2, 2);
if(number_of_contour !=0)
{
cvDrawContours(image, seq_dp, color_ex1, color_in, CV_FILLED, 3);
}
'Programming > OpenCV' 카테고리의 다른 글
OpenCV 를 이용하여 동영상 재생하기. (0) | 2013.04.26 |
---|---|
Haar Face Detection (0) | 2013.04.02 |
Duglas Puecker 외곽선 근사화 (0) | 2013.04.02 |
[Function] Dialog 창에 IplImage 출력하기 (0) | 2013.04.02 |
[Function] Convex Hull 최외곽선 검출하기 (3) | 2013.04.02 |