Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
016359f4
O
Opencv
项目概览
Greenplum
/
Opencv
大约 1 年 前同步成功
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
Opencv
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
016359f4
编写于
10月 12, 2016
作者:
A
Alexander Alekhin
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #7442 from catree:morphology_additional_information
上级
6373e24b
5e8486f6
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
25 addition
and
1 deletion
+25
-1
doc/tutorials/imgproc/erosion_dilatation/erosion_dilatation.markdown
...ls/imgproc/erosion_dilatation/erosion_dilatation.markdown
+15
-0
doc/tutorials/imgproc/erosion_dilatation/images/Morphology_1_Tutorial_Theory_Dilatation_2.png
...tion/images/Morphology_1_Tutorial_Theory_Dilatation_2.png
+0
-0
doc/tutorials/imgproc/erosion_dilatation/images/Morphology_1_Tutorial_Theory_Erosion_2.png
...atation/images/Morphology_1_Tutorial_Theory_Erosion_2.png
+0
-0
doc/tutorials/imgproc/opening_closing_hats/images/Morphology_2_Tutorial_Theory_Closing_2.png
...ng_hats/images/Morphology_2_Tutorial_Theory_Closing_2.png
+0
-0
doc/tutorials/imgproc/opening_closing_hats/images/Morphology_2_Tutorial_Theory_Opening_2.png
...ng_hats/images/Morphology_2_Tutorial_Theory_Opening_2.png
+0
-0
doc/tutorials/imgproc/opening_closing_hats/opening_closing_hats.markdown
...mgproc/opening_closing_hats/opening_closing_hats.markdown
+10
-1
未找到文件。
doc/tutorials/imgproc/erosion_dilatation/erosion_dilatation.markdown
浏览文件 @
016359f4
...
...
@@ -44,6 +44,14 @@ Morphological Operations
The background (bright) dilates around the black regions of the letter.
To better grasp the idea and avoid possible confusion, in this another example we have inverted the original
image such as the object in white is now the letter. We have performed two dilatations with a rectangular
structuring element of size
`3x3`
.
![
Left image: original image inverted, right image: resulting dilatation
](
images/Morphology_1_Tutorial_Theory_Dilatation_2.png
)
The dilatation makes the object in white bigger.
### Erosion
-
This operation is the sister of dilation. What this does is to compute a local minimum over the
...
...
@@ -56,6 +64,13 @@ The background (bright) dilates around the black regions of the letter.
![](images/Morphology_1_Tutorial_Theory_Erosion.png)
In the same manner, the corresponding image resulting of the erosion operation on the inverted original image (two erosions
with a rectangular structuring element of size
`3x3`
):
![
Left image: original image inverted, right image: resulting erosion
](
images/Morphology_1_Tutorial_Theory_Erosion_2.png
)
The erosion makes the object in white smaller.
Code
----
...
...
doc/tutorials/imgproc/erosion_dilatation/images/Morphology_1_Tutorial_Theory_Dilatation_2.png
0 → 100644
浏览文件 @
016359f4
此差异由.gitattributes 抑制。
doc/tutorials/imgproc/erosion_dilatation/images/Morphology_1_Tutorial_Theory_Erosion_2.png
0 → 100644
浏览文件 @
016359f4
此差异由.gitattributes 抑制。
doc/tutorials/imgproc/opening_closing_hats/images/Morphology_2_Tutorial_Theory_Closing_2.png
0 → 100644
浏览文件 @
016359f4
此差异由.gitattributes 抑制。
doc/tutorials/imgproc/opening_closing_hats/images/Morphology_2_Tutorial_Theory_Opening_2.png
0 → 100644
浏览文件 @
016359f4
此差异由.gitattributes 抑制。
doc/tutorials/imgproc/opening_closing_hats/opening_closing_hats.markdown
浏览文件 @
016359f4
...
...
@@ -24,7 +24,7 @@ In the previous tutorial we covered two basic Morphology operations:
-
Dilation.
Based on these two we can effectuate more sophisticated transformations to our images. Here we
discuss briefly
0
5 operations offered by OpenCV:
discuss briefly 5 operations offered by OpenCV:
### Opening
...
...
@@ -40,6 +40,11 @@ discuss briefly 05 operations offered by OpenCV:
![](images/Morphology_2_Tutorial_Theory_Opening.png)
For the sake of clarity, we have performed the opening operation (
`7x7`
rectangular structuring element)
on the same original image but inverted such as the object in white is now the letter.
![
Left image: original image inverted, right image: resulting opening
](
images/Morphology_2_Tutorial_Theory_Opening_2.png
)
### Closing
-
It is obtained by the dilation of an image followed by an erosion.
...
...
@@ -50,6 +55,10 @@ discuss briefly 05 operations offered by OpenCV:
![](images/Morphology_2_Tutorial_Theory_Closing.png)
On the inverted image, we have performed the closing operation (
`7x7`
rectangular structuring element):
![
Left image: original image inverted, right image: resulting closing
](
images/Morphology_2_Tutorial_Theory_Closing_2.png
)
### Morphological Gradient
-
It is the difference between the dilation and the erosion of an image.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录