유기농코더 2011. 2. 14. 10:57
  • 목적

    원을 그린다.
     

  • 함수 원형
    void cvCircle(
    		CvArr* img,
    		CvPoint center,
    		int radius,
    		CvScalar color,
    		int thickness=1,
    		int lineType=8,
    		int shift=0);
    

       

  • 인자
    • img : 원이 그려질 이미지
    • center : 원의 중점
    • radius : 원의 반지름
    • color : 원의 색상
    • thickness : 원의 두께
    • lineType : 선의 종류
    • shift : Number of fractional bits in the center coordinates and radius value. The function draws a simple of filled circle with a given center and radius.(정확히 모르겠음)
       
  • 반환값

    void

       

  • 실행예시
     

    본래 이미지

       

    점 찍은 이미지(2px)