OpenCV 之 RNG rng(12345)

此类用于产生随机数ios rng.uniform(1, 3);     在[1,3)区间,随机生成一个整数ui #include "stdafx.h" #include<iostream> #include "opencv2/highgui/highgui.hpp" using namespace cv; using namespace std; RNG rng(1234); //构造方法设定
相关文章
相关标签/搜索