C++
文章平均质量分 64
daijucug
这个作者很懒,什么都没留下…
展开
-
ios::nocreate和ios::noreplace
The ios::nocreate setting did not make it into the ISO 14882:1998 C++ standard. Too platform specific. You can simulate that behavior with: fstream foo("foo.txt", ios_base::in);原创 2012-04-04 20:43:23 · 6438 阅读 · 0 评论 -
【图像算法OpenCV】几何不变矩--Hu矩
一 原理 几何矩是由Hu(Visual pattern recognition by moment invariants)在1962年提出的,具有平移、旋转和尺度不变性。 定义如下:① (p+q)阶不变矩定义:② 对于数字图像,离散化,定义为: ③ 归一化中心矩定义: ④Hu矩定义 -----------------------原创 2012-05-04 16:19:23 · 4218 阅读 · 0 评论 -
关于main函数中的两个参数
关于main函数中的两个参数main函数中两个参数的用法MSDN6.0中写道:argc is An integer specifying how many arguments are passed to the program from the command line. Because the program name is considered an argumen转载 2012-05-23 10:18:34 · 398 阅读 · 0 评论