Excise 3.2 Matric Operation

来源:互联网 发布:嵌入式linux编程 pdf 编辑:程序博客网 时间:2024/06/06 02:43

Excise 3.2 

2010-07-27

2. Th is exercise will accustom you to the idea of many functions taking matrix types.Create a two-dimensional matrix with three channels of type byte with data size100-by-100. Set all the values to 0.

a. Draw a circle in the matrix using void cvCircle( CvArr* img, CvPoint center,intradius, CvScalar color, int thickness=1, int line_type=8, int shift=0 ).

b. Display this image using methods described in Chapter 2.

 

原创粉丝点击