当我们以c#或javascript或jquery上传任何图像时,我需要检查图像的清晰度 [英] I need to check the clarity of the images when we upload any images either in c# or javascript or jquery

查看:65
本文介绍了当我们以c#或javascript或jquery上传任何图像时,我需要检查图像的清晰度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们使用webform中的文件上传器上传任何文件时,有人可以帮我检查图像的质量吗?

Can someone please help me to check the quality of the images when we upload any file using file uploader in webform.?

推荐答案

有没有可靠的方法来确定图像是否模糊?不,这取决于图像和预期的主题以及预期的聚焦。



如果图像具有锐利的前景主体,占用的帧数不到一半,背景故意模糊不清?



您使用的算法必须有某种阈值来确定您愿意接受的模糊程度。没有什么可以替代你自己看看每个图像。



各种算法都有大量的例子这篇文章 [ ^ ]。
Is there a reliable method to determine if an image is blurry? No, it depends on the image and the intended subject and intended focusing.

What if the image has a sharp foreground subject, takes up less than half the frame, and the background is intentionally heavily blurred?

The algorithm(s) you use has to have some kind of threshold to determine the level of blurriness that you're willing to accept. Nothing is going to replace looking at each image yourself though.

There's a ton of examples on various algorithms here in this post[^].


唯一的方法是找到第三方控件。 Native .net没有用于检查你想要的库。
The only way to do that is to find a 3rd party control. Native .net does not have a library to check what you want.


这篇关于当我们以c#或javascript或jquery上传任何图像时,我需要检查图像的清晰度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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