文件名称:White-Patch
-
所属分类:
- 标签属性:
- 上传时间:2017-02-23
-
文件大小:792byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
White-Patch算法需要图片中有纯白或着近似白色的部分,且这个部分不能太小,该算法认为白色物体表面能够对入射光线进行全反射,因此红、绿、蓝三个基本颜色通道的最大值应该是白色像素点,可以被认为是图片的光照颜色[6]。
White-Patch 算法的基本思想是,首先遍历整幅图片中每个像素点关于红、绿、蓝三个基本颜色分量的值并从高到低排序,求取R、G、B三分量的累加概率,记概率大于百分之九十五的像素点作为“参考白”,将其设置为255,根据“参考白”对其他像素点进行相应地调整。
-White-Patch algorithm needs to have a picture with the white or nearly white part, and this part can not be too small, the algorithm is that the white surface of the incident light can be totally reflected, so the red, green, blue three basic color channels Max should be white pixels, can be considered a color picture of light [6]. White-Patch basic idea of the algorithm is to first loop through each pixel values for red, green, blue three basic color components of the whole picture and descending sort, to strike a cumulative R, G, B three components probability, probability is greater than recorded pixels Ninety-five percent as a " reference white" , set it to 255, adjust according to the " reference white" to other pixel points.
White-Patch 算法的基本思想是,首先遍历整幅图片中每个像素点关于红、绿、蓝三个基本颜色分量的值并从高到低排序,求取R、G、B三分量的累加概率,记概率大于百分之九十五的像素点作为“参考白”,将其设置为255,根据“参考白”对其他像素点进行相应地调整。
-White-Patch algorithm needs to have a picture with the white or nearly white part, and this part can not be too small, the algorithm is that the white surface of the incident light can be totally reflected, so the red, green, blue three basic color channels Max should be white pixels, can be considered a color picture of light [6]. White-Patch basic idea of the algorithm is to first loop through each pixel values for red, green, blue three basic color components of the whole picture and descending sort, to strike a cumulative R, G, B three components probability, probability is greater than recorded pixels Ninety-five percent as a " reference white" , set it to 255, adjust according to the " reference white" to other pixel points.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
White-Patch 算法.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.