基于VC++的数据库图像存取方法及实现  被引量:2

Methods of database image access on VC++

在线阅读下载全文

作  者:师惠萍[1] 程耀瑜[1] 王诗琴[1] 刘永林[1] 雷红淼[1] 

机构地区:[1]中北大学山西省现代无损检测工程技术研究中心,太原030051

出  处:《电子测试》2011年第8期96-99,共4页Electronic Test

摘  要:图像数据在数据库中的存取问题一直是数据库研究的热点。在建立数据库中经常会遇到对图像数据进行处理,但往往对图像数据的处理不同于其他普通数据那么简单,本文在VC++开发环境中,针对SQL Server 2000数据库关系表中图像(BLOB数据)的存取问题进行了初步探讨,选用直接将图像数据存储在数据库关系表中的方法,在VC++中采用AppendChunk和GetChunk函数实现图像数据的存取。最后,结合应用实例,介绍了图像存取的基本方法及实现过程,给出关键源代码及程序运行结果。Image data in the database access has been hotspot in database research.There often needs to deal with image data in the establishment of database.However,to deal with them is as easily as other common data.This paper has made some achievement on image (BLOB data) data's storage and extraction in SQL Server 2000 database relationship table with VC++ language.The article chose the directly method which image data stored in a database relation table,used AppendChunk and GetChunk function to realizes image data access in the VC++.At last,the paper introduced method of image access and the realization of process based on an application example,and included key source codes and program operation results.

关 键 词:BLOB数据 VC++ SQL SERVER数据库 图像存取 ADO 

分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象