|
|
1
2
编辑 correlation 测量值): Divide image into N x M grid
For each N,M cell in grid:
correlation = correlation_between(signal_pixels_of(N,M),
background_pixels_of(N,M)
);
if (correlation > threshold)
show_background_cell(N,M)
else
show_signal_cell(N,M)
这是顺序伪代码,但可以很容易地转换为HLSL着色器。简单地说,每个像素检测它属于哪个像素块,然后测量相应块之间的相关性。基于这种相关性显示或隐藏当前像素。 祝你好运! |
|
|
Bigeyes · 如何在MVVM模式中添加行? 9 年前 |
|
|
User9898 · 悬停回到原始颜色时为什么选择 10 年前 |
|
|
user3112242 · 在Silverlight中打印。缺少一些页面 10 年前 |
|
|
Huma Ali · WCF已完成事件中的异常处理 10 年前 |
|
|
Nerd in Training · 文件副本发布错误 11 年前 |