这两个黑白图像的更好图像相似性度量是什么?

发布于 2025-01-26 05:15:32 字数 430 浏览 1 评论 0原文

因此,我有一个CGAN模型,可以生成如下图像的随机图像。使用Python的SSIM指标,我正在尝试生成一个与左侧的图像至少80%相似的图像。我已经产生了20,000张图像,我看到的最大相似性是76%。下面的图像获得了76%的相似性。

是否有一个相似的度量标准,可以更适合此目的:我想比较图像中的黑色结构,而不一定是其在太空中的位置。例如,如果我生成的图像看起来完全像左图(相同的孔和位置,结构的概述相同),但它位于64x128像素空间中,我希望至少它是90%的相似性。有这样的指标吗?

谢谢。

So, I have a cGAN model that generates random images like the ones below. Using python's ssim metric, I'm trying to generate an image that is at least 80% similar to the one on the left. I have generated bout 20,000 images and the maximum similarity I've seen is 76%. The images below received 76% similarity.

Is there a similarity metric that would be better suited for this purpose: I'd like to compare the black structure in the image and not necessarily its location in space. For instance, if I generated an image that looked exactly like the left image (same size and location of holes, same outline of the structure) but it was located higher or lower in the 64x128 pixel space, I would want that to be at least 90% similarity. Is there a metric like this?

Thanks.

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文