Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
AccAOI
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 169fa747
由
LN
编写于
2019-08-28 11:41:34 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
斑点分析和颜色抽取可以使用椭圆
1 个父辈
5d4eff10
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
8 行增加
和
6 行删除
AccAOI/control/ABaseControl.Designer.cs
AccAOI/control/AoiBlobControl.cs
AccAOI/control/AoiRgbControl.cs
AccAOI/control/ABaseControl.Designer.cs
查看文件 @
169fa74
...
@@ -47,16 +47,16 @@ namespace AccAOI.control
...
@@ -47,16 +47,16 @@ namespace AccAOI.control
// btnSetArea
// btnSetArea
//
//
this
.
btnSetArea
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))));
this
.
btnSetArea
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))));
this
.
btnSetArea
.
Enabled
=
false
;
this
.
btnSetArea
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
9F
);
this
.
btnSetArea
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
9F
);
this
.
btnSetArea
.
ImageSize
=
new
System
.
Drawing
.
Size
(
0
,
0
);
this
.
btnSetArea
.
ImageSize
=
new
System
.
Drawing
.
Size
(
0
,
0
);
this
.
btnSetArea
.
Inside
=
false
;
this
.
btnSetArea
.
Inside
=
false
;
this
.
btnSetArea
.
Location
=
new
System
.
Drawing
.
Point
(
124
,
30
);
this
.
btnSetArea
.
Location
=
new
System
.
Drawing
.
Point
(
124
,
30
);
this
.
btnSetArea
.
Name
=
"btnSetArea"
;
this
.
btnSetArea
.
Name
=
"btnSetArea"
;
this
.
btnSetArea
.
Size
=
new
System
.
Drawing
.
Size
(
8
3
,
30
);
this
.
btnSetArea
.
Size
=
new
System
.
Drawing
.
Size
(
8
8
,
30
);
this
.
btnSetArea
.
StateColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))));
this
.
btnSetArea
.
StateColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))));
this
.
btnSetArea
.
TabIndex
=
7
;
this
.
btnSetArea
.
TabIndex
=
7
;
this
.
btnSetArea
.
Text
=
"椭圆"
;
this
.
btnSetArea
.
Text
=
"椭圆"
;
this
.
btnSetArea
.
Visible
=
false
;
this
.
btnSetArea
.
Click
+=
new
System
.
EventHandler
(
this
.
btnSetArea_Click
);
this
.
btnSetArea
.
Click
+=
new
System
.
EventHandler
(
this
.
btnSetArea_Click
);
//
//
// btnClearArea
// btnClearArea
...
@@ -65,9 +65,9 @@ namespace AccAOI.control
...
@@ -65,9 +65,9 @@ namespace AccAOI.control
this
.
btnClearArea
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
9F
);
this
.
btnClearArea
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
9F
);
this
.
btnClearArea
.
ImageSize
=
new
System
.
Drawing
.
Size
(
0
,
0
);
this
.
btnClearArea
.
ImageSize
=
new
System
.
Drawing
.
Size
(
0
,
0
);
this
.
btnClearArea
.
Inside
=
false
;
this
.
btnClearArea
.
Inside
=
false
;
this
.
btnClearArea
.
Location
=
new
System
.
Drawing
.
Point
(
16
3
,
30
);
this
.
btnClearArea
.
Location
=
new
System
.
Drawing
.
Point
(
21
3
,
30
);
this
.
btnClearArea
.
Name
=
"btnClearArea"
;
this
.
btnClearArea
.
Name
=
"btnClearArea"
;
this
.
btnClearArea
.
Size
=
new
System
.
Drawing
.
Size
(
119
,
30
);
this
.
btnClearArea
.
Size
=
new
System
.
Drawing
.
Size
(
74
,
30
);
this
.
btnClearArea
.
StateColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))));
this
.
btnClearArea
.
StateColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))));
this
.
btnClearArea
.
TabIndex
=
6
;
this
.
btnClearArea
.
TabIndex
=
6
;
this
.
btnClearArea
.
Text
=
"清除"
;
this
.
btnClearArea
.
Text
=
"清除"
;
...
@@ -121,7 +121,7 @@ namespace AccAOI.control
...
@@ -121,7 +121,7 @@ namespace AccAOI.control
this
.
btnImgType
.
Inside
=
false
;
this
.
btnImgType
.
Inside
=
false
;
this
.
btnImgType
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
30
);
this
.
btnImgType
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
30
);
this
.
btnImgType
.
Name
=
"btnImgType"
;
this
.
btnImgType
.
Name
=
"btnImgType"
;
this
.
btnImgType
.
Size
=
new
System
.
Drawing
.
Size
(
1
51
,
30
);
this
.
btnImgType
.
Size
=
new
System
.
Drawing
.
Size
(
1
17
,
30
);
this
.
btnImgType
.
StateColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))));
this
.
btnImgType
.
StateColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))),
((
int
)(((
byte
)(
30
)))));
this
.
btnImgType
.
TabIndex
=
8
;
this
.
btnImgType
.
TabIndex
=
8
;
this
.
btnImgType
.
Text
=
"原图"
;
this
.
btnImgType
.
Text
=
"原图"
;
...
@@ -187,11 +187,11 @@ namespace AccAOI.control
...
@@ -187,11 +187,11 @@ namespace AccAOI.control
private
Asa
.
Theme
.
FlatPanel
panAreaImage
;
private
Asa
.
Theme
.
FlatPanel
panAreaImage
;
private
Asa
.
Theme
.
FlatPanel
panAreaSet
;
private
Asa
.
Theme
.
FlatPanel
panAreaSet
;
private
Asa
.
Theme
.
FlatButton
btnClearArea
;
private
Asa
.
Theme
.
FlatButton
btnClearArea
;
private
Asa
.
Theme
.
FlatButton
btnSetArea
;
protected
Asa
.
Theme
.
FlatPanel
panParam
;
protected
Asa
.
Theme
.
FlatPanel
panParam
;
protected
Asa
.
Theme
.
FlatPanel
panResult
;
protected
Asa
.
Theme
.
FlatPanel
panResult
;
public
ImageBox
aoiImage
;
public
ImageBox
aoiImage
;
private
Asa
.
Theme
.
FlatButton
btnImgType
;
private
Asa
.
Theme
.
FlatButton
btnImgType
;
private
Asa
.
Theme
.
FlatPanel
panControl
;
private
Asa
.
Theme
.
FlatPanel
panControl
;
protected
Asa
.
Theme
.
FlatButton
btnSetArea
;
}
}
}
}
AccAOI/control/AoiBlobControl.cs
查看文件 @
169fa74
...
@@ -18,6 +18,7 @@ namespace AccAOI.control
...
@@ -18,6 +18,7 @@ namespace AccAOI.control
public
AoiBlobControl
()
public
AoiBlobControl
()
{
{
InitializeComponent
();
InitializeComponent
();
btnSetArea
.
Enabled
=
true
;
}
}
private
void
trackBarThresh_ValueChanged
(
object
sender
,
EventArgs
e
)
private
void
trackBarThresh_ValueChanged
(
object
sender
,
EventArgs
e
)
...
...
AccAOI/control/AoiRgbControl.cs
查看文件 @
169fa74
...
@@ -18,6 +18,7 @@ namespace AccAOI.control
...
@@ -18,6 +18,7 @@ namespace AccAOI.control
public
AoiRgbControl
()
public
AoiRgbControl
()
{
{
InitializeComponent
();
InitializeComponent
();
btnSetArea
.
Enabled
=
true
;
}
}
private
AoiMethodRgb
methodRgb
=
null
;
private
AoiMethodRgb
methodRgb
=
null
;
public
override
void
ShowAoiInfo
()
public
override
void
ShowAoiInfo
()
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论