文件名称:Gray
-
所属分类:
- 标签属性:
- 上传时间:2014-06-05
-
文件大小:55.09kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
C++图象特效示例——灰度转换,使用F1~F4控制转换灰度的方式,F5为增加图象的对比度。F1=平均值法转换,F2=最大值法转换,F3=加权平均值法转换,F4=恢复彩色。ConvertToGrayScale灰度转换函数是本程序的关键,函数参数:Method为转换灰度的方式,值可设置为:
MAXIMUM_GRAY=最大值法,MEAN_GRAY=平均值法
WEIGHT_GRAY=加权平均值法
Color目前只能为8即只能处理8位调色板方式-Example C++ image effects- Grayscale conversion, use F1 ~ F4 control to convert grayscale way, F5 to increase the image contrast. F1 = the average of the conversion law, F2 = maximum method conversion, F3 = weighted average of the conversion law, F4 = restore color. ConvertToGrayScale grayscale conversion function is the key function parameters of this procedure: Method to convert grayscale way, value can be set to:
MAXIMUM_GRAY = max method, MEAN_GRAY = average of Law
WEIGHT_GRAY = weighted average of the Act
Color currently only eight palettes that can only handle eight ways
MAXIMUM_GRAY=最大值法,MEAN_GRAY=平均值法
WEIGHT_GRAY=加权平均值法
Color目前只能为8即只能处理8位调色板方式-Example C++ image effects- Grayscale conversion, use F1 ~ F4 control to convert grayscale way, F5 to increase the image contrast. F1 = the average of the conversion law, F2 = maximum method conversion, F3 = weighted average of the conversion law, F4 = restore color. ConvertToGrayScale grayscale conversion function is the key function parameters of this procedure: Method to convert grayscale way, value can be set to:
MAXIMUM_GRAY = max method, MEAN_GRAY = average of Law
WEIGHT_GRAY = weighted average of the Act
Color currently only eight palettes that can only handle eight ways
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Gray/back.bmp
Gray/Gray.cpp
Gray/Gray.exe
Gray
Gray/Gray.cpp
Gray/Gray.exe
Gray
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.