机械外文翻译文献翻译原型基于颜色的图像检索与.doc
《机械外文翻译文献翻译原型基于颜色的图像检索与.doc》由会员分享,可在线阅读,更多相关《机械外文翻译文献翻译原型基于颜色的图像检索与.doc(14页珍藏版)》请在三一办公上搜索。
1、英文原文Prototyping Color-based Image Retrieval with MATLABAbstracContent-based retrieval of (image) databases has become more popular than before. Algorithm develop-ment for this purpose requires testing/simulation tools,but there are no suitable commercial tools on the market.A simulation environment
2、for retrieving images from database according histogram similarities is presented in this paper. This environment allows the use of different color spaces and numbers of bins. The algorithms are implemented with MATLAB. Each color system has its own m-files.The phases of the software building proces
3、s are pre-sented from system design to graphical user interface (GUI). The functionality is described with snapshots of GUI.1. IntroductionNowadays there are thousands or hundreds of thousands of digital images in an image database. If the user wants to find a suitable image for his/her purposes, he
4、/she has to go through the database until the correct image has been found or use a reference book or some “intelligent” program. Video on demand (VoD) services also requires an intelligent search system for end-users. VoD systems search methods differ slightly from image databases methods.A referen
5、ce book is a suitable option, if the images are arranged with a useful method, for example: 1)categories: animals, flags, etc, 2) names (requires a good naming technique) or 3) dates. An experienced user can use these systems as well as textual searches (keywords have to be inserted in a database) e
6、fficiently. There are situations when a multi-language system has to be used. There a language independent search systems best properties can be utilized. A tool which is based on the images properties can be madelanguage independent. These properties can be for example color, shape, texture, spatia
7、l location of shape etc.In the MuVi-project 1 this kind of tool is under construction. It will cover the properties presented above.Research work on content-based image retrieval has been done in 2 6. The system, which is presented in this paper, is a simulation environment, where MuVis color conten
8、t based retrieval has been developed and tested.2. System developmentMATLAB is an efficient program for vector and matrix data processing. It contains ready functions for matrix manipulations and image visualization and allows a program to have modular structure. Because of these facts MATLAB has be
9、en chosen as prototyping software.2.1 System designBefore any m-files have been written, the system designhas been done. A system design for the HSV (hue, saturation and value) color system based retrieval process is presented in Figure 1. Similar design has been done for all used color systems.Figu
10、re 1: Function chart for HSV color space with 27 bins histogram.Tesths27 is the main function for this color system and this number of bins. It calls other functions(hs27read, dif_hsv and image_pos) when needed. Eachcolor system has a main function of its own and variable number (2 3) of sub-functio
11、ns. If there is no need for color space conversion there are 2 functions,otherwise 3 functions on the first branch of the function chart.The function call of the main function is: matches=tesths27(imagen,directory,num)The variable imagen specifies the query images name and path. The directory is a p
12、ath of the image database and num is a desired number of retrieved images.2.2 FunctionsAt this moment there are functions implemented for four color spaces: HSV, L*a*b*, RGB and XYZ 7. Each color space has from 2 to 4 implementations for different numbers of bins. There are altogether 14 main functi
13、ons.For some color systems it is possible to make these functions dynamic, i.e. dynamic histogram calculation. Every color system / bin combination requires its own histograms and these can be made only with an exhaustive method (pixel by pixel). Histogram calculation takes - 5 minutes per image, ea
14、chapproximately 320240 pixels, depending on the complexity of the color space on 150 MHz Pentium. Thus it is not reasonable to let the user select a bin number freely, especially in the case of large databases.The functions have been named so that the names contain information of the color space use
15、d, the purpose of the functions and the number of used bins. Some functions, for example image_pos, have been used by many or all main functions and these functions have not been named as described above.The main function checks, if the function call is correct. If the query images name doesnt conta
16、in a path, the function assumes that the image is situated in the database directory. In addition to this, the main function checks, if the query image already has a histogram in the currently used database. If the required histogram is not there, the image read (for example hs27read) function is ca
17、lled. This function also normalizes pixel values and arranges image matrix data to a vector format. After that stage a color space conversion function (if needed) is called. Finally a quantization function builds the histogram with the correct number of bins.The histogram will then be saved into the
18、 database directory. If the histogram already exists there, the three previous steps will not be executed. Now the query image has been analyzed. Then the main function will go through all images in the database directory with an almost similar algorithm as in the case of the query image. The differ
19、ence is that now there will be ahistogram difference calculation between the query images and current images histogram. Finally the image_pos function will be used to put a query image and the desired number of best match images on the display.2.3 LinkingIt is not possible to use a program before th
20、e main function and sub-functions are connected to each other. The main function will be called from the command line or through the graphical user interface, which will be presented later in this paper. In both cases the function call will contain the same arguments. For multi-level search purposes
21、 separate main functions have been implemented, but it is possible to utilize “normal” functions and add one parameter, where the best matches array can be transferred for second a stage comparison function. The main function calls an image read function with the images name. The histogram will be r
22、eturned to the main function. If a color space conversion is needed, the conversion function will be called from the read function with r, g and b vectors. The histogram will be returned to the calling function. Finally the histogram build function will be called with converted color vectors. This f
23、unction returns a quantized histogram, which will go through all functions until it achieves the main function.The main function calls the histogram difference function with two histogram vectors and will get a difference value as a response. The difference function uses Euclidean-distance calculati
24、on, but it can be easily changed toanother algorithm due to the modularity of the program. If the difference is smaller than largest difference on a best match table, the current result will be written over the last result on the best match table. After that the table is arranged again in an ascendi
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 机械 外文 翻译 文献 原型 基于 颜色 图像 检索
链接地址:https://www.31ppt.com/p-4134659.html