颜色正确

作者:Shunsuke Aihara-http://argmax.jp

日期:February 2012

说明:Imprement some of color correction algorithms

要求:python2.6 or later

numpy

Pillow

安装:% python setup.py build

% python setup.py install

弹劾算法:gray world

colorcorrect.algorithm.gray_world

usage: image

max white

colorcorrect.algorithm.max_white

usage: image

stretch

colorcorrect.algorithm.stretch

usage: image

retinex

colorcorrect.algorithm.retinex

usage: image

retinex with adjust

colorcorrect.algorithm.retinex_with_adjust

usage: image

standard deviation weighted grey world

colorcorrect.algorithm.standard_deviation_weighted_grey_world

usage: image,subblock width(default:20), subblock height(default:20)

standard deviation and luminance weighted gray world

colorcorrect.algorithm.standard_deviation_and_luminance_weighted_gray_world

usage: image,subblock width(default:20), subblock height(default:20)

luminance weighted gray world

colorcorrect.algorithm.luminance_weighted_gray_world

usage: image,subblock width(default:20), subblock height(default:20)

automatic color equalization

colorcorrect.algorithm.automatic_color_equalization

usage: image,slope(default:10),limit(default:1000)

示例用法:>>> import Image

>>> import colorcorrect.algorithm as cca

>>> from colorcorrect.util import from_pil, to_pil

>>> img = Image.open('/path/to/image')

>>> to_pil(cca.stretch(from_pil(img))).show()

参考文献:Denis. Nikitenko, M. Wirth and K. Trudel, "Applicability Of White-Balancing Algorithms to Restoring Faded Colour Slides: An Empirical Evaluation.", Journal of Multimedia, vol. 3, no. 5, 2008.

HK. Lam, OC. Au and CW. Wong, "Automatic white balancing using luminance component and standard deviation of RGB components", in Proc. ICASSP, 2004.

A. Rizzi, C. Gatta and D. Marini, "A new algorithm for unsupervised global and local color correction.", Pattern Recognition Letters, vol. 24, no. 11, 2003.

欢迎加入QQ群-->: 979659372

推荐PyPI第三方库

python import color用法_Python colorcorrect包_程序模块 - PyPI - Python中文网相关推荐

  1. python queue模块安装_Python queue包_程序模块 - PyPI - Python中文网

    沃特?另一个消息队列? 考虑到消息队列的激增,人们可能倾向于相信 发明更多不是答案.使用现有的解决方案是 多次尝试与大多数现有的消息队列产品. 其他的失败(对于我们的用例). queuey是用来处理大 ...

  2. python cmd下载模块_Python cmd包_程序模块 - PyPI - Python中文网

    CMDY 从python运行命令的一个方便的包 安装# latest version pip install git+https://github.com/pwwang/cmdy # released ...

  3. python ssh登陆模块_Python sshh包_程序模块 - PyPI - Python中文网

    sshh是一个ssh帮助工具,用于在ssh代理中批量注册ssh私钥. sshh的主要目的是避免在 在ssh代理中注册的密钥数超过一定数量.当 当服务器设置私钥上限时,超过了密钥尝试的上限 严格的尝试. ...

  4. python json模块下载_Python ijson包_程序模块 - PyPI - Python中文网

    使用量 所有使用示例都将使用描述地理位置的json文档 对象:{ "earth": { "europe": [ {"name": " ...

  5. python游戏csgo开挂_Python csgo-menu-maker包_程序模块 - PyPI - Python中文网

    csgo菜单生成器 从不是Github的地方来这里?查看Quick-Start Guide! 关于 源(TM)引擎有一个控制台命令系统,当正确使用时,该系统非常强大.我用它创建了一个菜单和小部件系统, ...

  6. python settings模块安装_Python settings-helper包_程序模块 - PyPI - Python中文网

    在包中设置 在的模块目录中创建默认的/samplesettings.ini文件 您的包,带有一个[default]节和任何其他[sections] 您需要(即应用程序环境)[default] some ...

  7. python开发mbus程序_Python pywmbus包_程序模块 - PyPI - Python中文网

    #WIP WM总线在Python中的实现 本项目实施了无线m-bus标准的部分内容,定义见din en 13757-1及以下. 目前,只支持未加密的短帧(即ci 0x7a).欢迎拉取请求. ##安装 ...

  8. python app开发模块_Python pytkapp包_程序模块 - PyPI - Python中文网

    用于开发应用程序的python包 多文档/单文档界面 利用tkinter库和附加tkinter集 小部件. 查看可用演示: pytkapp/demo/run_ptapoptionsdemo.py-为选 ...

  9. python安装email模块_Python byemail包_程序模块 - PyPI - Python中文网

    这是什么? byemail是个人邮件系统的完整堆栈,包括smtp接收器.发送者.webmail, 邮件列表等.只安装一个工具来管理它们. 电子邮件在今天仍然是一种流行的交流方式.我们使用电子邮件在公司 ...

最新文章

  1. Linux (Ubuntu/deepin等)终端命令安装Lamp
  2. 如何基于tomcat构建web站点
  3. PHP系列(一)PHP流程控制结构
  4. 卸载exchange后注意事项
  5. Mapxtreme Java 地图缩放,平移操作的原理和实现
  6. 强化学习:7基于直接策略搜索的强化学习⽅法 之 策略梯度
  7. Saruman's Army (POJ 3069)
  8. 虚控件在GUI编程中的应用
  9. websphere7 mysql_websphere7
  10. 五险一金 ,即将毕业的每个人都看看吧
  11. (转载) Android RecyclerView 使用完全解析 体验艺术般的控件
  12. location属性和prototype属性介绍
  13. pythonarray去除inf_Python中的inf与nan
  14. [数图] 实验四 图像的滤波处理与图像空间变换
  15. 浩辰CAD 2019 v190128官方免费版
  16. 如何开启bios虚拟化
  17. oppo手机文件共享媒体服务器,网件:ReadyNAS特色功能之媒体服务器
  18. day03.2-寻址方式
  19. 无验证码不扫码拼多多微信批量登陆思路
  20. linux中write的实例,Linux内核 down_write()

热门文章

  1. 阿里2021届实习生招聘
  2. python爬虫入门:搜索和批量下载图片
  3. PDA上面安装.NET Compact Framework 3.5
  4. Java:计算机编程语言Java的简介、安装(编程环境/工具)、学习路线(如何学习Java以及几十项代码编程案例分析)之详细攻略
  5. 三国志14计算机中丢失,三国志14无法正常游戏的常见问题和解决办法
  6. MD5加密介绍、工具类的使用
  7. chrome108 版本跨域问题
  8. 中级软件设计师必考题及解题技巧
  9. 如何在线将XPS转成Word
  10. 使用XCode打包ipa