图像亮度对比度 [英] image brightness contrast

查看:94
本文介绍了图像亮度对比度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友我需要帮助这部分。在我的项目中,用户可以将图片上传到网络服务器。

之后他可以查看并修改图片。

用户可以裁剪图像,他可以调整图像亮度和对比度。

但在这里我遇到了麻烦。因为我完成了使用jquery裁剪部分。

但是我不知道怎么做图像亮度和对比度的变化。

请你们帮助我

即时通讯使用asp.net。

解决方案

您好,



请查看 PixaStic ,一个JavaScript图像处理库。



问候,


这不是琐碎的许多人认为。实际上,如果您的色彩空间是RGB(最常见的情况),这甚至在此任务中都有歧义,因为,令人惊讶的是,这不是某些特定的颜色模型,因此结果将取决于您如何表示它,基于什么假设(sRGB,AdobeRGB)。这是一个非常复杂的问题。对于某些背景:

http://en.wikipedia.org/wiki/Color_space [ ^ ],

http://en.wikipedia.org/wiki/Color_space#Generic_color_models [ ^ ],

http://en.wikipedia.org/wiki/RGB_color_model [ ^ ],

http://en.wikipedia.org/ wiki / RGB_color_space [ ^ ]。



对于颜色转换,我建议使用着名的open -source .NET库AForge.NET:

http://en.wikipedia.org/wiki / Color_space#Generic_color_models [ ^ ],

http://www.aforgenet.com/ [ ^ ]。



您可以使用这些对比度过滤器:

http://www.aforgenet.com/framework /docs/html/63fb4582-5b21-3655-b306-c1bf5d3f8999.htm [ ^ ],

http://www.aforgenet.com/framework/docs/html/ e7e63ac5-7c1b-5dc2-40b2-8c80e217a946.htm [ ^ ]。



这一个用于亮度: http://www.aforgenet.com/framework/docs/html/2d369c5f-1c11-5607-7127-fddff34e0dff。 htm [ ^ ]。



使用该库非常简单,文档全面且方便。



祝你好运,

-SA


friends i need help for this part.In my project user can upload the pictures to web server.
after he can view it and modify image.
user can crop the image and he can adjust the image brightness and contrast.
but in here i'm in trouble.because im done up to crop part using jquery.
but i dont know how to do image brightness and contrast change.
please can u guys help me
im using asp.net.

解决方案

Hello,

Please have a look at PixaStic, a JavaScript image processing library.

Regards,


This is not as trivial as many think. Actually, if your color space is RGB (most usual case), this is even has ambiguity in this task, because, surprisingly, this is not some certain color model, so the result will depend on how you represent it, based on what assumption (sRGB, AdobeRGB). This is pretty complicated issue. For some background:
http://en.wikipedia.org/wiki/Color_space[^],
http://en.wikipedia.org/wiki/Color_space#Generic_color_models[^],
http://en.wikipedia.org/wiki/RGB_color_model[^],
http://en.wikipedia.org/wiki/RGB_color_space[^].

For color transformation, I would recommend using the famous open-source .NET library AForge.NET:
http://en.wikipedia.org/wiki/Color_space#Generic_color_models[^],
http://www.aforgenet.com/[^].

You can use these contrast filters:
http://www.aforgenet.com/framework/docs/html/63fb4582-5b21-3655-b306-c1bf5d3f8999.htm[^],
http://www.aforgenet.com/framework/docs/html/e7e63ac5-7c1b-5dc2-40b2-8c80e217a946.htm[^].

And this one for brightness: http://www.aforgenet.com/framework/docs/html/2d369c5f-1c11-5607-7127-fddff34e0dff.htm[^].

Using the library is quite easy, documentation is comprehensive and convenient.

Good luck,
—SA


这篇关于图像亮度对比度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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