cvSet怎么用?
答案:2 悬赏:0 手机版
解决时间 2021-02-21 09:33
- 提问者网友:玫瑰园
- 2021-02-20 17:05
cvSet怎么用?
最佳答案
- 五星知识达人网友:刀戟声无边
- 2021-02-20 18:12
cvSet赋初值
可以方便地给一个对象全部元素赋值。
Set
Sets every element of array to given value
void cvSet( CvArr* arr, CvScalar value, const CvArr* mask=NULL );
arr
The destination array.
value
Fill value.
mask
Operation mask, 8-bit single channel array; specifies elements of destination array to be changed.
The function cvSet copies scalar value to every selected element of the destination array:
arr(I)=value if mask(I)!=0
If array arr is of IplImage type, then is ROI used, but COI must not be set.
可以方便地给一个对象全部元素赋值。
Set
Sets every element of array to given value
void cvSet( CvArr* arr, CvScalar value, const CvArr* mask=NULL );
arr
The destination array.
value
Fill value.
mask
Operation mask, 8-bit single channel array; specifies elements of destination array to be changed.
The function cvSet copies scalar value to every selected element of the destination array:
arr(I)=value if mask(I)!=0
If array arr is of IplImage type, then is ROI used, but COI must not be set.
全部回答
- 1楼网友:野慌
- 2021-02-20 18:54
搜一下:cvSet怎么用?
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯