-
OPENCV二值化图像内孔洞填充/小区域去除(含效果图)
对于二值化图像,去除孔洞时采用的方法实际上与去除小区域相同,因此完全可以用同一个函数进行。
这两个功能可以采取区域生长法来实现。须注意,去除小区域时为保存有用信息,可采用8邻域探测,去除孔洞时则4邻域即可,否则容易泄露,出现靠边缘的孔洞未去除的情况。
- 2022-04-12 19:14:53下载
- 积分:1
-
ASTM 标准路谱
应用背景
ASTM标准路谱用于运输包装测试。
里面包含:公路谱;铁路谱;航空谱。
关键技术
运输振动测试。
将路谱数据输入振动台,振动台将按照规定的能量等级进行随机振动。
- 2022-08-20 06:13:41下载
- 积分:1
-
一个以邮票分配方案为例的演示分治法算法的小程序
一个以邮票分配方案为例的演示分治法算法的小程序-a stamp distribution program as an example of the divide-and-conquer demonstration algorithm small program
- 2022-03-01 20:32:16下载
- 积分:1
-
利用Java实现的基本PSO
利用Java实现的基本PSO,读者要懂得基本的java语句,实现不难,供入门级学习参考使用
- 2022-03-11 15:43:29下载
- 积分:1
-
该程序用递归的方法产生格雷码序列,它需要一定的额外的空间....
该程序用递归的方法产生格雷码序列,它需要一定的额外的空间.-the procedures used recursive methods Gray code sequence, it needs the additional space.
- 2022-04-11 15:53:22下载
- 积分:1
-
mumford source coode
mumford source coode-mumford source coode........
- 2023-04-14 06:15:03下载
- 积分:1
-
better engineering calculation procedures more powerful calculation of the bridg...
较好的工程计算程序功能较强 计算桥梁的跨度等-better engineering calculation procedures more powerful calculation of the bridge span, etc.
- 2022-03-05 09:06:45下载
- 积分:1
-
格式操作
字符串格式,concat 字符串,长度的字符串,使用 vb 6.0,可以帮助程序员为计数,并知道字符串的长度
- 2022-07-15 12:01:40下载
- 积分:1
-
遗传算法
它显示了选择、交叉和变异。这是遗传算法的操作。该算法主要适用于自然选择过程“优胜劣汰”.
- 2022-09-22 15:05:02下载
- 积分:1
-
贝塞尔曲线示例
#include < iostream >
#include < 矢量 >
#include < math.h >
#include"BezierPoint.h"
使用命名空间 std ;
BezierPoint 贝塞尔 (方法 < BezierPoint > & pts,双 t) ;
双选择 (双 a,双 b) ;
双 factorial(double num) ;
int main(void) {
方法 < < BezierPoint >> 方法警校 ;
char endPointCount = 0;
双 inx ;
双 iny ;
int ptCount = 0;
int 终结点 ;
双 deltaT ;
cin >> ptCount >> deltaT ;
为 (int 我 = 0 ; 我 < ptCount; i + +) {
cin >> inx >> iny >> 终结点 ;
BezierPoint p iny inx) ;
如果 (endPointCount = = 0 & & 终结点 = = 1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
继续 ;
}
pts[pts.size()-1].push_back(p) ;
如果 (endPointCount! = 0 & & 终结点 = = 1 & & 我! = ptCount-1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
}
}
为 (std::s
- 2022-03-13 19:08:01下载
- 积分:1