是否可以通过编程方式检测图像的模糊,曝光,方向? [英] Is it possible to detect blur, exposure, orientation of an image programmatically?

查看:189
本文介绍了是否可以通过编程方式检测图像的模糊,曝光,方向?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要对大量照片进行排序,并删除模糊图像(由于相机抖动),曝光过度/不足,并检测图像是以横向还是纵向拍摄。这些事情可以使用图像处理库在图像上完成,还是超出了算法解决方案的范围?

I need to sort a huge number of photos, and remove the blurry images (due to camera shake), the over/under exposed ones and detect whether the image was shot in the landscape or portrait orientation. Can these things be done on an image using an image processing library or are they still beyond the realms of an algorithmic solution ?

推荐答案

让我们将您的问题看作三个单独的问题。

Let's look at your question as three separate question.

我能找到模糊图像吗?

有一些方法可以从以下位置查找模糊图像:

There are some methods for finding blurry images either from :


  1. 锐化图像并将其与原始图像进行比较

  2. 使用小波检测模糊( Link1

  3. Hough变换(链接

  1. Sharpening an image and comparing it to the original
  2. Using wavelets to detect blurring ( Link1 )
  3. Hough Transform ( Link )

我可以找到曝光不足或曝光过度的图片吗?

我能想到的唯一方法是你的整体亮度要么真高,要么真的很低。但问题是你会知道这张照片是在晚上还是在白天拍摄的。您可以创建图像的直方图,看看它是否真的偏向某种方式,这可能是曝光过度/不足的一些迹象。

The only way I can think of this is that your overall brightness is either really high or really low. But the problem is that you would have know if the picture was taken at night or day. You could create a histogram of your image and see if it is really skewed one way or the other and that might be some indication of over/under exposure.

我可以确定图像的方向吗?

有一些技术已被使用,例如 SVM 色彩时刻边缘方向直方图使用提示的贝叶斯框架

There are techniques that have been used such as SVM, Color Moments, Edge Direction Histograms, Bayesian Framework using cues.

这篇关于是否可以通过编程方式检测图像的模糊,曝光,方向?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆