gpt4 book ai didi

ios - 检测照片的清晰度

转载 作者:可可西里 更新时间:2023-11-01 04:41:13 25 4
gpt4 key购买 nike

我正在寻找一个框架来帮助检测照片的清晰度。我读过this post这指出了这样做的方法。但我宁愿在图书馆工作也不愿亲自动手。

Apple 在 Core Image 的文档中说:

Core Image can analyze the quality of an image and provide a set of filters with optimal settings for adjusting such things as hue, contrast, and tone color, and for correcting for flash artifacts such as red eye. It does all this with one method call on your part.

我如何进行“分析图像质量”部分?我很想看看一些示例代码。

最佳答案

也许执行此操作的最佳方法是 Polar Edge Coherence 指标:

Baroncini, V., 等人。 "The polar edge coherence: a quasi blind metric for video quality assessment. "EUSIPCO 2009,格拉斯哥 (2009):564-568。

它对图像和视频同样有效。这直接测量边缘的锐度。如果您应用锐化过滤器,您可以比较之前和之后的值,如果过度锐化,值将再次开始下降。它需要使用论文中描述的复值内核进行几个卷积。

关于ios - 检测照片的清晰度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31830734/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com