如何将9个灰色像素强度的网格编码为单个数字?
因此,我的正方形网格上有9个像素。每个都是0..255(灰色图像的阴影)。我想从中得到一种指纹。我有20个可能的选择,我想找到最接近给定图像的方法。
- 中心填充的4种类型,
- 6种填充类型,
- 2种倾斜填充类型,
- 4种类型的方向填充
- 4种类型的交叉填充
:
那么如何到达我当前的20个我当前的20之一给定图像最接近?
So I have 9 pixels on a square grid. Each one is 0..255 (a shade of grey image). I want to get a kind of fingerprint out from it. I have 20 possible options, and I want to find the closest to a given image.
- 4 types of center fill,
- 6 types of line fill,
- 2 types of angled fill,
- 4 types of direction fill
- 4 types of cross fill
like this:
So how to get to which one of 20 my current given image is the closest?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论