-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from shelllet/dev
Dev
- Loading branch information
Showing
71 changed files
with
515 additions
and
252 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# 颜色统计 | ||
该动作可以统计某一颜色在图像当中所占的比例。 | ||
|
||
![ColorPercentage](./images/04.png ':size=90%') | ||
|
||
|
||
## 子流程 | ||
|
||
> 不支持 | ||
|
||
## 运行参数 | ||
|
||
* 图像 | ||
> 要进行颜色统计的图像,通常可以选择一个区域进行统计。 | ||
* 颜色 | ||
> 所要统计的颜色。 由于 *HSV* 颜色空间更符合人的主观视觉感知, 通常使用 *HSV* 颜色空间。 | ||
* 误差 | ||
> 包含近似颜色的差值。 | ||
## 输出 | ||
|
||
> 所要统计的颜色所占的百分比,参考:[Number](../types/Number.md)。 | ||
|
||
## 脚本调用 | ||
|
||
```python | ||
import simple; | ||
|
||
``` | ||
|
||
## 资源 | ||
|
||
例子:https://github.com/shelllet/WinUi/blob/main/algorithm/ColorPercentage.simple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# 图像差值 | ||
这个动作可以比较两个图像,并返回一个显示相似性的度量。结果越低,匹配越好。即使图像旋转、缩放也不会对该比较产生太大影响。 | ||
|
||
* 为了获得更高的准确性,请使用二值图像 | ||
* 要找到的对象应该是白色的,背景应该是黑色的。 | ||
|
||
![ImageDifference](./images/03.png ':size=90%') | ||
|
||
## 子流程 | ||
> 不支持 | ||
|
||
## 运行参数 | ||
|
||
* 源图像 | ||
> 源图像,二值化后的单通道图像,如果为非单通道图像,则会转换成灰度图像。 | ||
* 目标 | ||
> 目标图像,二值化后的单通道图像,如果为非单通道图像,则会转换成灰度图像。 | ||
## 输出 | ||
|
||
> 相似性的指标(小数)。越低,表示匹配越好。*0*:表示完全匹配,参考: [Number](../types/Number.md) | ||
|
||
## 脚本调用 | ||
|
||
```python | ||
import simple; | ||
|
||
``` | ||
|
||
## 资源 | ||
|
||
例子:https://github.com/shelllet/WinUi/blob/main/algorithm/ImageDifference.simple |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.