文件名称:White-Patch
介绍说明--下载内容均来自于网络,请自行研究使用
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