首页 | 本学科首页   官方微博 | 高级检索  
     

Visual C++中利用TGA文件实现透明图像
引用本文:冯旭哲,张玘,吴石林,虞峰.Visual C++中利用TGA文件实现透明图像[J].电子工程师,2004,30(7):34-36.
作者姓名:冯旭哲  张玘  吴石林  虞峰
作者单位:国防科技大学机电工程与自动化学院机电系,湖南省,长沙市,410073
摘    要:真彩图像文件格式(TGA-Targa)文件是一种带有alpha通道的图像存储格式,广泛应用于专业的图像处理设备和电视编辑设备中.TGA文件的格式中有一个独立于RGB通道的alpha通道,利用该通道可以调节整个图像的透明度.文中重点分析了TGA文件的结构,阐述了alpha通道的工作原理,提供了通过透明图像实现图像叠加的一种方法,最后,给出了使用Visual C 实现图像叠加的一个实例.

关 键 词:Visual  C    真彩图像文件格式(TGA)  alpha通道  图像  透明  叠加
修稿时间:2004年3月31日

The Realization of Transparent Image Using TGA File in Visual C++
Feng Xuzhe,Zhang Qi,Wu Shilin,Yu Feng.The Realization of Transparent Image Using TGA File in Visual C++[J].Electronic Engineer,2004,30(7):34-36.
Authors:Feng Xuzhe  Zhang Qi  Wu Shilin  Yu Feng
Abstract:TGA(Targa) file is an image storage format with alpha channel, which is mainly used in professional instrument for image processing and television program editing. Different from those image storage format, such as BMF, JPG, etc., there is a alpha channel independent from RGB in TGA file, by which the transparency of the whole image can be adjusted, thus transparent image and superimposed image are realized conveniently. This paper introduces the structure of TGA file, analyzes the operation principle of alpha channel, provides a method to get superimposition by using transparent image, gives an example that realizes image superimposition in Visual C++ finally.
Keywords:Visual C++  TGA(Targa)  alpha channel  image  transparency  superimposition
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号