文件名称:TrueColor2SingleBand
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:6.32kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
VC/C++源码,图形处理,图像转换
VC实现真彩色图像转换为8位图像,RGB三个波段的灰度通过一个线性变换式计算为单波段灰度。
关于代码:
DWORD _width1 = WIDTHBYTES(width*8) //保存的8bits位图保存宽度
DWORD bytesCount1 = _width0*height //存储该真彩色位图数据段所用的字节数,不是像素数
DWORD bytesCount2 = _width1*height //存储8bits位图数据段所用字节数
// stdafx.obj will contain the pre-compiled type information-stdafx.cpp : source file that includes just the standard includes
TrueColor2SingleBand.pch will be the pre-compiled header
stdafx.obj will contain the pre-compiled type information
VC实现真彩色图像转换为8位图像,RGB三个波段的灰度通过一个线性变换式计算为单波段灰度。
关于代码:
DWORD _width1 = WIDTHBYTES(width*8) //保存的8bits位图保存宽度
DWORD bytesCount1 = _width0*height //存储该真彩色位图数据段所用的字节数,不是像素数
DWORD bytesCount2 = _width1*height //存储8bits位图数据段所用字节数
// stdafx.obj will contain the pre-compiled type information-stdafx.cpp : source file that includes just the standard includes
TrueColor2SingleBand.pch will be the pre-compiled header
stdafx.obj will contain the pre-compiled type information
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TrueColor2SingleBand/ReadMe.txt
TrueColor2SingleBand/Resource.h
TrueColor2SingleBand/StdAfx.cpp
TrueColor2SingleBand/StdAfx.h
TrueColor2SingleBand/TrueColor2SingleBand.clw
TrueColor2SingleBand/TrueColor2SingleBand.cpp
TrueColor2SingleBand/TrueColor2SingleBand.dsp
TrueColor2SingleBand/TrueColor2SingleBand.dsw
TrueColor2SingleBand/TrueColor2SingleBand.h
TrueColor2SingleBand/TrueColor2SingleBand.rc
TrueColor2SingleBand
TrueColor2SingleBand/Resource.h
TrueColor2SingleBand/StdAfx.cpp
TrueColor2SingleBand/StdAfx.h
TrueColor2SingleBand/TrueColor2SingleBand.clw
TrueColor2SingleBand/TrueColor2SingleBand.cpp
TrueColor2SingleBand/TrueColor2SingleBand.dsp
TrueColor2SingleBand/TrueColor2SingleBand.dsw
TrueColor2SingleBand/TrueColor2SingleBand.h
TrueColor2SingleBand/TrueColor2SingleBand.rc
TrueColor2SingleBand
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.