Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberCN1103477 C
Publication typeGrant
Application numberCN 94112921
Publication date19 Mar 2003
Filing date8 Dec 1994
Priority date8 Dec 1994
Also published asCN1124385A
Publication number94112921.7, CN 1103477 C, CN 1103477C, CN 94112921, CN-C-1103477, CN1103477 C, CN1103477C, CN94112921, CN94112921.7
Inventors曹兴诚
Applicant联华电子股份有限公司
Export CitationBiBTeX, EndNote, RefMan
External Links: SIPO, Espacenet
Image synthetic method and its apparatus with mosaic effect treatment
CN 1103477 C
Abstract  translated from Chinese
一种马赛克效果处理的图像合成法及其装置,与电脑系统的存有图形、索引或图形控制数据的内存相连,经二维转换步骤,使屏幕各点的座标转换为图形座标,再经马赛克效果处理,以设定马赛克效果形式将图形座标适当位设定为0或1,据此处理后的图形座标读取内存装置的索引数据,由该图形座标与(或)索引数据,读取内存的图形数据,经色码选取及合成步骤,送出色码数据以便于后续处理,以使马赛克效果图像具有可任意放大、缩小、旋转等功效。 Image synthesis method and apparatus for processing a mosaic effect, and there are graphics computer systems, index or graphical control data memory connected via a two-dimensional conversion steps to convert screen coordinates of each point of the graphic coordinates, and then processed by a mosaic effect, to set the graphic form a mosaic effect coordinates appropriate bit is set to 0 or 1, the graphics processing coordinate accordingly after reading the index data memory device by the graphic coordinates and (or) Index data, read the memory of the graphics data, the color code selection and synthesis steps, sending good code data for subsequent processing to make mosaic image with arbitrary zoom, rotation and other effects.
Claims(17)  translated from Chinese
1.一种马赛克效果处理的图像合成法,其特征在于该方法在电脑系统中的马赛克效果处理的图像合成装置中进行,该图像合成装置包括:一二维转换装置,一马赛克效果处理装置,一索引数读取装置,一图形读取装置,一时序发生器和一溢位产生装置,该图像合成方法的步骤如下:在电脑系统的内存装置中存入图形数据、索引数据或其他控制数据;由所述二维转换装置将屏幕座标转换为图形座标,以相对于屏幕每一图点送出一图形图点座标,该二维转换装置在进行二维转换时还进行图形水平、垂直座标合成,以分别产生图形水平、垂直座标;依据所述二维转换装置产生的水平、垂直图形座标,由所述马赛克效果处理装置,送出转换后的水平、垂直图形座标,所述马赛克效果处理装置进行马赛克效果处理时包括以下步骤:依据马赛克效果控制信号,决定马赛克效果的区块大小;和将所述区块的图形座标的特定位设为0或1,以所述选定区块内任一图点的颜色值做为整个区域的颜色,继而送出处理后的水平、垂直图形座标;依据所述马赛克效果处理装置产生的水平、垂直图形座标,由所述索引读取装置读取电脑系统内存中的索引数据;依据所述马赛克效果处理装置产生的水平、垂直图形座标与和/或由电脑系统内存装置读出的所述索引数据合成为地址信号,由所述图形读取装置读取电脑系统内存装置内图形数据;及依据颜色模式及图形座标,由所述图形读取装置中的色码选取装置和色码合成装置选取内存中的图形数据并与调色盘数据合成为色码输出。 A mosaic image synthesis processing, wherein the image synthesis means of the method in a computer system mosaic processing is carried out, the image synthesizing apparatus comprising: a two-dimensional conversion means, a mosaic effect processing means, One index number reading means, a pattern reading unit, a timing generator and an overflow bit generating means, the image synthesis step are as follows: the pattern data stored in the memory device of the computer system, index data or other control data ; by the two-dimensional coordinate conversion device converts the graphics screen coordinates relative to the screen for each map point sent a graphic map point coordinates, the D converter to convert during the two-dimensional graphics Shihai level Synthesis vertical coordinate, respectively to generate graphics horizontal, vertical coordinate; D converting means based on the level of the generated graphics vertical coordinate, from the mosaic processing means sends the converted horizontal and vertical coordinates of the graphics, The mosaic effect processing means processing a mosaic effect comprising the steps of: based on a mosaic effect control signal, determines the effect of the mosaic block size; and a specific bit pattern of said block is set to 0 or a coordinate, to the to any point within the block diagram of a color value selected as the color of the entire area, and then sends the horizontal processing and the vertical coordinate graphics; mosaic effect based on the level of the processing means, the vertical figure coordinate, by the index reading means reads the computer system memory index data; mosaic effect based on the level of the processing means, the vertical coordinate with graphics and / or the index data read out by the computer system memory address signal synthesizing means, read by said reading means within the computer graphics system graphics data memory means; and based on the color mode and the graphic coordinate, by the graphics device reads the color code in the color code extracting means and synthesizing means extracts the pattern data memory and the palette for color code output data synthesis.
2.根据权利要求1所述的马赛克效果处理的图像合成法,其特征在于:若设定为绘图模式时,所述图形读取装置直接依据所述图形座标读取电脑系统内存中的图形数据。 The mosaic effect 1, wherein the image synthesis process as claimed in claim wherein: if the drawing mode is set, the pattern reading means in accordance with said graphical coordinate system memory read directly computer graphics data.
3.根据权利要求1所述的马赛克效果处理的图像合成法,其特征在于:所述二维转换装置在不需有屏幕座标输入的状态下,相应于各屏幕座标以一相应的图形座标输出。 The mosaic effect 1, wherein the image synthesis process as claimed in claim wherein: said converting means in two dimensional screen coordinate input need not have a state, corresponding to each screen coordinates to a corresponding graphic coordinate output.
4.根据权利要求1所述的马赛克效果处理的图像合成法,其特征在于:可由所述时序发生器产生所需的控制时序信号。 4. The effect of a mosaic of the image synthesis processing method as claimed in claim wherein: said timing generator may generate the required control timing signals.
5.根据权利要求1所述的马赛克效果处理的图像合成法,其特征在于:可由所述溢位产生装置接收所述马赛克效果处理装置的图形座标,以在所述图形座标超出图形大小时,产生一溢位信号,控制影像的输出。 According to any one of the mosaic image synthesis processing method as claimed in claim wherein: by the overflow generating means for receiving said mosaic processing graphics device coordinates in said graphic figure coordinate exceeds large hours, generating a overflow signal, the control output of the image.
6.根据权利要求1所述的马赛克效果处理的图像合成法,其特征在于:电脑系统的内存也可以时分方式供多数读取通道进行数据读取。 The mosaic image synthesis processing method according to claim 1, wherein: the computer system's memory and to be available for most of the time division manner the read channel to read data.
7.一种马赛克效果处理的图像合成装置,其特征在于:该合成装置通过地址总线和数据总线与电脑系统的存有图形数据,索引数据或其它控制数据的内存装置相连,所述图像合成装置包括:一二维转换装置,将屏幕座标转换为图形座标,以相对于屏幕每一图点送出一图形图点座标,该二维转换装置还包括有图形水平、垂直座标合成装置,以分别产生图形水平、垂直座标;一马赛克效果处理装置,对所述二维转换装置产生的水平、垂直图形座标,根据设定的区块大小,将所述图形座标转换为马赛克效果处理后的座标,所述马赛克效果处理装置,包括一逻辑电路,可依据马赛克效果控制信号设定的所述区块大小,将所述二维转换装置送入的相应于所述区块位置水平、垂直图形座标的特定位设为1或0状态,而送出马赛克效果处理后的水平、垂直图形座标,借以使设定的各马赛克效果区块内的各图点的颜色相同,并为选自所述区块内任一图点的颜色值;一索引读取装置,依据所述马赛克效果处理装置产生的水平、垂直图形座标,读取电脑系统内存索引数据;一图形读取装置,依据所述马赛克效果处理装置产生的水平、垂直图形座标与和/或由电脑系统内存读出的索引数据合成为地址信号,以读取电脑系统内存内图形数据,并由其色码选取及合成装置,选取所述图形数据并合成为色码数据。 An image synthesizing apparatus mosaic effect treatment, characterized in that: there is connected to the synthesizing means by the graphical address bus and data bus of the computer system data, index data, or other control data memory means, the image synthesis means comprising: a two-dimensional conversion means converts the coordinates of the graphic screen coordinates, with respect to each screen dot sends a graphic diagram FIG point coordinates, the conversion means further comprises a two-dimensional graphical horizontal, vertical coordinate synthesizing means , respectively to generate graphics horizontal, vertical coordinate; a mosaic effect processing means, said level converting means generates the two-dimensional, vertical figure coordinate, according to the setting of the block size, the figure coordinate converting Mosaic coordinate after effects processing, the mosaic effect processing means, comprising a logic circuit, a control signal can be set according to a mosaic effect of the block size, the two-dimensional conversion means into the block corresponding to horizontal position, vertical position-specific graphical coordinates set to 1 or 0 state, and sends the mosaic effect levels after treatment, vertical graphical coordinates, whereby the color of each point of each mosaic map set within the same block, and map for any point within the block is selected from the color values; an index reading device, according to the level of the mosaic processing means, the vertical coordinate graphics, read the computer system memory index data; read a graphic means, based on the level of the mosaic processing means, the vertical coordinate with graphics and / or index data synthesized by the computer system memory read address signals to read the graphics data within a computer system memory, by its color code selection and synthesis device, select the graphic data synthesized into color-coded data.
8.根据权利要求7所述的马赛克效果处理的图像合成装置,其特征在于:所述二维转换装置在不需有屏幕座标输入的状态下,相应于各屏幕座标以一相应的所述图形座标输出。 The image synthesizing apparatus mosaic effect process according to claim 7, wherein: said converting means in two dimensional screen coordinate input need not have a state, the screen corresponding to each of the coordinates to a corresponding The figure coordinate reference output.
9.根据权利要求7所述的马赛克效果处理的图像合成装置,其特征在于:还包括有一时序发生器,以产生所需的控制时序信号。 The image synthesizing apparatus mosaic effect process according to claim 7, characterized in that: further comprising a timing generator, to produce the desired control timing signals.
10.根据权利要求7所述的马赛克效果处理的图像合成装置,其特征在于:还包括有一溢位产生器,可接收所述马赛克效果处理装置的图形座标,以在所述图形座标超出图形大小时,产生一溢位信号,控制影像的输出。 10. The image synthesizing apparatus according to claim 7, wherein the mosaic processing, characterized by: further comprising an overflow generator, may receive the mosaic effect graphic processing device coordinates in said graphical coordinate exceeds Graphic size, generates a signal overflow control output image.
11.根据权利要求7所述的马赛克效果处理的图像合成装置,其特征在于:电脑系统内存也可以时分方式供多数读取通道进行数据读取。 Image synthesizing means 11. The mosaic effect process according to claim 7, characterized in that: the computer system memory may be a time division manner for most read channel to read data.
12.根据权利要求7所述的马赛克效果处理的图像合成装置,其特征在于:所述索引读取装置包括有:一索引地址产生装置,依据所述马赛克效果处理装置送入的图形座标、外部输入图形大小、字形大小等数据,合成为一索引地址数据,以读取电脑系统内存中索引地址的索引数据;及一寄存装置,用以寄存由电脑系统内存送出的所述索引数据。 12. The image synthesizing apparatus mosaic effect process according to claim 7, characterized in that: said index reading apparatus comprising: an index address generating means, based on the mosaic processing means fed figure coordinate, external input graph size, font size and other data, is a synthetic index address data in order to read the index data indexing computer system memory address; and a storage device for registering the index data sent by the computer system memory.
13.根据权利要求12所述的马赛克效果处理的图像合装置,其特征在于:所述由电脑系统内存读出的索引数据包括:一索引,用以表示字形在图形表PGT中的位置值;一调色盘,表示字形所使用的调色盘;一水平镜射,用以控制图形读取,使整个字形具有水平镜射效果;和一垂直镜射,用以控制图形读取,使整个字形具有垂直镜射效果。 Image synthesis apparatus mosaic effect process according to claim 12, characterized in that: said index data read out from the memory of the computer system comprising: a index to represent the value in the graphic glyph positions of the table PGT; A palette represents glyph palette used; a horizontal mirror to control the pattern reading, the whole shape with a horizontal mirror effect; and a vertical mirror to control the pattern reading, so that the whole shape with a vertical mirror effect.
14.根据权利要求7所述的马赛克效果处理的图像合成装置,其特征在于:所述图形读取装置包括:一图形地址产生装置,依据所述索引、水平镜射、垂直镜射、所述马赛克效果处理装置产生的图形座标、图形大小、字形大小等数据,合成为一图形地址信号,以读取电脑系统内存相应地址的图形数据;及一寄存装置,用以寄存由电脑系统内存读取的所述图形数据。 14. The image synthesizing apparatus mosaic effect process according to claim 7, wherein: said pattern reading apparatus comprising: a graphics address generating means, based on said index, horizontal mirror, vertical mirror, said mosaic effect generated graphics processing unit coordinates, graph size, font size and other data, the synthesis of a graphics address signal to read the graphics computer system memory address of the corresponding data; and a storage device for storage by the computer system memory read the graphics data taken.
15.根据权利要求14所述的马赛克效果处理的图像合成装置,其特征在于:所述图形地址产生装置,设置在绘图模式时,仅依据所述马赛克效果处理装置的图形座标及图形大小数据,直接合成为一读取地址信号,以读取电脑系统内存的图形数据。 Image synthesizing means 15. The mosaic effect process according to claim 14, wherein: said graphics address generating means, disposed at the drawing mode, based only on the mosaic pattern processing apparatus and image size coordinate data direct synthesis of a read address signal, the computer system memory to read graphical data.
16.根据权利要求7所述的马赛克效果处理的图像合成装置,其特征在于:所述色码选取及合成装置,为依据颜色模式及所述图形座标,由图形数据中选取图形数据并与调色盘数据合成为色码输出数据。 16. The image synthesizing apparatus mosaic effect process according to claim 7, wherein: said color code selecting and synthesizing means, based on the color mode and the graphic coordinate, graphic data selected by the graphic data and with Data synthesis palette for color code output data.
17.根据权利要求16所述的马赛克效果处理的图像合成法,其特征在于:所述色码选取及合成装置还可包括一透明色判断装置,依不同颜色模式决定透明色的指示信号。 According to claim 16, wherein the mosaic image synthesis processing method, wherein: said color code selecting and synthesizing apparatus may further comprise a transparent color determination means determines the transparent color indication signal depending on the color mode.
Description  translated from Chinese
马赛克效果处理的图像合成法及其装置 Image synthesis method and apparatus for processing a mosaic effect

本发明涉及一种马赛克效果处理的图像合成法及其装置,尤指一种以像素(PIXEL)为处理单位的具有马赛克效果处理效果的图像合成法及装置,在其像素单位的设计下,使马赛克效果图像具有任意放大、缩小、旋转等功效,为一具有应用价值的图像合成方式。 The present invention relates to an image synthesis method and apparatus for processing a mosaic effect, especially one in pixels (PIXEL) for image synthesis method and apparatus, having the effect of treatment effect mosaic processing units at its pixel unit design, the making mosaic image with an arbitrary zoom, rotation and other effects, image synthesis methods for applications with a value.

目前一般图像处理器(GRAPHIC PROCESSOR),是专供图像的处理及产生,以分担中央处理单元的负荷,并可使图像具有快速显示的效果,如欲使图像具有马赛克效果的图形模糊化效果,则需通过软件方式达到,而最佳的马赛克效果是使欲模糊化的区块的所有图点的颜色予以平均,以获得一代表此区块的颜色,这样不仅极为浪费处理时间,且对于价格低廉的电视游戏机而言,有处理过于复杂而不符经济效果的缺点,另外现今如日本任天堂游戏机(FAMICOM)、日本的SEGA游戏机、日本NEC游戏机(PCENGINE)、申请人公司的掌上型游戏机(GAMATE)内部虽有前述专门用于图像产生的图像处理器,但上述各式游戏机使用的图像处理器,由于无需对图像进行放大缩小或其他处理,故其图形处理方式均以“字形”(FONT)为处理单元(以多数像素(PIXEL)组合而成便是所称的字形),亦即为一次读取多个像素所代表的字形(FONT)数据,基于其图像处理单位的限制下,无法达到图像的缩放或旋转的功能,也使马赛克效果无法获得此种缩放、旋转的作用,如果欲达到上述功效时,便必须以像素(PIXEL)为处理单元,使相对于屏幕的各个点均转换为图形座标(通过二维转换装置达到),并进行马赛克效果处理。 The general image processor (GRAPHIC PROCESSOR), is designed for image processing and production, to share the load of a central processing unit, and can have the effect of fast image display, image graphics To blur effect with a mosaic effect, you need to achieve in software, and the best color mosaic effect is so vague desire of the block diagram of all the points to be averaged to obtain a representative color of the block, so that not only extremely wasteful processing time, and for the price cheap video game, there are too complex to deal with the shortcomings inconsistent economic effects, in addition to today as the Japanese Nintendo (FAMICOM), SEGA console in Japan, the Japanese NEC consoles (PCENGINE), the applicant company's handheld game consoles (GAMATE) Notwithstanding the foregoing internal image processor dedicated to image generation, but the image processor to use these kinds of game machines, eliminating the need for image zoom or other treatment, so are its graphics processing mode " glyphs "(FONT) for processing units (in most pixels (PIXEL) combination is called glyphs), that is represented by a plurality of pixels read font (FONT) data, based on its image processing unit Under the restrictions, can not achieve scale or rotate the image function, but also to obtain such a mosaic effect can not zoom, rotate the role, if I want to achieve this effect, it must, in pixels (PIXEL) for the processing unit, the phase for the screen each point coordinates are converted to a graphic (achieved by two-dimensional conversion means), and mosaic effect processing.

因此,本发明为使马赛克效果图像具有较佳变化性及实际使用的灵活性变化效果,提供了一种可对马赛克效果图像进行放大、缩小、旋转等作业的以像素为处理单位的图像合成方法及装置,且其马赛克效果处理方式也只选用区块中的任一图点为代表整个区域的颜色,从而具有处理方便及快速的优点。 Accordingly, the present invention has the flexibility to make changes in image mosaic was better variability and actual use, provided a mosaic effect on the image to zoom, in pixels, of the image processing unit synthesis method rotation jobs and equipment, and its mosaic approach also uses only one block any point as the representative color map of the entire region, which has the advantages of easy handling and fast.

本发明的主要目的在于:提供一种马赛克效果处理的图像合成法。 The main object of the present invention is: to provide a mosaic effect processing image synthesis.

本发明的次一目的在于:提供一种马赛克效果处理的图像合成装置。 A second object of the present invention is to: provide an image synthesizing apparatus processing a mosaic effect.

本发明的又一目的在于:提供一种马赛克效果处理的图像合成法及其装置,其中还包括可支持多种图形大小、多种颜色模式,及提供绘图模式及文字模式,在绘图模式下,无需进行索引数据读取步骤,只由经二维转换及马赛克效果处理后的图形座标、颜色模式及图形大小,来决定图形数据存放的地址便可读取图形数据,而文字模式则需进行索引数据读取步骤,而后由经二维转换及马赛克效果处理后的图形座标,颜色模式,字形大小,图形大小和索引数据来读取图形数据。 Yet another object of the invention is to: provide an image synthesis method and apparatus for processing a mosaic effect, which also includes support for multiple graphics sizes, multiple color modes, and provide graphics mode and text mode. In drawing mode, index data without reading step, only by a two-dimensional graphics conversion and after treatment mosaic effect coordinates, colors, patterns and graphic size, to determine the address of the graphics data stored data can be read graphics, and text mode you need to make index data reading step, and then converted by a two-dimensional graphics and mosaic effect after treatment coordinate, color mode, font size, image size and the index data to read graphics data.

本发明的再一目的在于:提供一种马赛克效果处理的图像合成法及其装置,其字形大小有88及1616两种,而颜色区分为2、4、16及256色等颜色模式。 A further object of the present invention is: to provide a mosaic effect processing and image synthesis means, which has a font size of 8 8 and 16 16 are two, and divided into 2,4,16 colors and 256 colors and other colors mode.

本发明的技术方案在于:提供一种马赛克效果处理的图像合成法,该方法在电脑系统中的马赛克效果处理的图像合成装置中进行,该图像合成装置包括:一二维转换装置,一马赛克效果处理装置,一索引数读取装置,一图形读取装置,一时序发生器和一溢位产生装置,该图像合成方法的步骤如下:在电脑系统的内存装置中存入图形数据、索引数据或其他控制数据;由所述二维转换装置将屏幕座标转换为图形座标,以相对于屏幕每一图点送出一图形图点座标,该二维转换装置在进行二维转换时还进行图形水平、垂直座标合成步骤,以分别产生图形水平、垂直座标;;依据所述二维转换装置产生的水平、垂直图形座标,由所述马赛克效果处理装置,送出转换后的水平、垂直图形座标,所述马赛克效果处理装置进行马赛克效果处理时包括以下步骤:依据马赛克效果控制信号决定马赛克效果的区块大小;将所述区块的图形座标的特定位设为0或1,以选定区块内其一图点的颜色值做为整个区域的颜色,继而送出处理后的水平、垂直图形座标;依据所述马赛克效果处理装置产生的水平、垂直图形座标,由所述索引读取装置读取电脑系统内存中的索引数据;依据所述马赛克效果处理装置产生的水平、垂直图形座标与(或)由电脑系统内存装置读出的所述索引数据合成为地址信号,由所述图形读取装置读取电脑系统内存装置内图形数据;及依据颜色模式及图形座标,由所述图形读取装置中的色码选取装置和色码合成装置选取内存中的图形数据并与调色盘数据合成为色码输出。 Aspect of the present invention is: to provide a mosaic image synthesis processing method, the image synthesizing apparatus of this method in a computer system mosaic processing is carried out, the image synthesizing apparatus comprising: a two-dimensional conversion means, a mosaic effect processing means, an index number reading means, a pattern reading unit, a timing generator and an overflow bit generating means, the image synthesis step are as follows: the pattern data stored in the memory device of the computer system, index data or other control data; by the two-dimensional coordinate conversion device converts the graphics screen coordinates relative to the screen every map point sent a graphical map point coordinates, the two-dimensional conversion devices were performing two-dimensional conversion Shihai graphic horizontal, vertical coordinate synthesis step, to generate a graphical level, based on the two-dimensional vertical coordinate ;; converting means for generating the horizontal and vertical coordinates of the graphics by the mosaic processing means sends the converted level, vertical figure coordinate the mosaic mosaic effect processing device processing includes the following steps: a mosaic effect control signal based on the decision mosaic block size; the specific bit patterns of the block coordinates set to 0 or 1, the color values in the block diagram of the selected point as one of the color of the entire area, and then sends the horizontal processing and the vertical figure coordinate; in accordance with the level of the mosaic processing means, the vertical graphic coordinates, by the said reading means reads the index in the computer system memory index data; based on the level of the mosaic processing means, the vertical coordinate with the graphics (or) the index data read out by the computer synthesis system memory means to address signals read by the graphics device in the computer system memory device to read graphics data; and based on the color mode and graphical coordinates, read by the graphics device in device color code selection and color code synthesis device selected graphics memory data and data synthesized with a palette for color code output.

前述的马赛克效果处理的图像合成法,若设定为绘图模式时,所述图形读取装置直接依据图形座标读取内存中的图形数据。 The foregoing mosaic effect processing image synthesis method, if the drawing mode is set, the graphics memory reading means reads the graphical data directly based graphical coordinates.

前述的马赛克效果处理的图像合成法,二维转换装置在不需有屏幕座标输入的状态下,相应于各屏幕座标以一相应的图形座标输出。 Aforementioned mosaic effect processed image synthesis method, two-dimensional conversion means need not have a screen in the coordinate input state, corresponding to the respective coordinates to screen coordinates of a corresponding graphic output.

前述的马赛克效果处理的图像合成法,可由一时序发生器产生所需的控制时序信号。 The foregoing mosaic effect processing image synthesis method, by a timing generator generates timing signals required for control.

前述的马赛克效果处理的图像合成法,可由一溢位产生装置,接收马赛克效果处理装置的图形座标,以在图形座标超出图形大小时,产生一溢位信号,控制影像的输出。 The foregoing mosaic effect processed image synthesis, produced by an overflow device for receiving the graphics processing unit mosaic effect coordinates to coordinate beyond the graphic when the graphic size, generates a signal overflow control video output.

前述的马赛克效果处理的图像合成法,电脑系统的内存也可以时分方式供多数读取通道进行数据读取。 The foregoing mosaic effect processing image synthesis method, the computer system's memory can also be time-division manner most read channel for data read.

本发明的技术方案另在于提供一种马赛克效果处理的图像合成装置,该合成装置通过地址总线和数据总线与电脑系统的存有图形数据,索引数据或其它控制数据的内存装置相连,所述图像合成装置包括:一二维转换装置,将屏幕座标转换为图形座标,以相对于屏幕每一图点送出一图形图点座标,该二维转换装置还包括有图形水平、垂直座标合成装置,以分别产生图形水平、垂直座标;一马赛克效果处理装置,对所述二维转换装置产生的水平、垂直图形座标,根据设定的区块大小,将所述图形座标转换为马赛克效果处理后的座标,该马赛克效果处理装置包括一逻辑电路,可依据马赛克效果控制信号设定的区块大小,将二维转换装置送入的相应于该区块位置水平、垂直图形座标的特定位设为1或0状态,而送出马赛克效果处理后的水平、垂直图形座标,借以使设定的各马赛克效果区块内的各图点的颜色相同,并为选自区块内任一图点的颜色值; Another aspect of the present invention is to provide an image synthesizing apparatus mosaic effect treatment, there is connected to the synthesizing means by the graphical address bus and data bus of the computer system data, index data, or other control data memory means, said image synthesizing means comprises: a two-dimensional conversion means converts the coordinates of the graphic screen coordinates, with respect to each screen dot sends a graphic diagram FIG point coordinates, the conversion means further comprises a two-dimensional graphical horizontal, vertical coordinate synthesizing means to generate graphics horizontal, vertical coordinate; a mosaic effect processing means, said level converting means generates the two-dimensional, vertical figure coordinate, according to the setting of the block size, the figure coordinate conversion To coordinate mosaic effect after treatment, the mosaic effect processing device includes a logic circuit, a control signal can be based on a mosaic effect setting the block size, the two-dimensional conversion device into the position corresponding to the block level, vertical graphics coordinates to a specific location or 0 state, and sends the mosaic effect level after treatment, vertical graphical coordinates, whereby the color of each point of each mosaic map set within the same block, and is selected from the block any color values within a point of the map;

一索引读取装置,依据所述马赛克效果处理装置产生的水平、垂直图形座标,读取电脑系统内存索引数据;一图形读取装置,依据所述马赛克效果处理装置产生的水平、垂直图形座标与(或)由电脑系统内存读出的索引数据合成为地址信号,以读取电脑系统内存内图形数据,并由其色码选取及合成装置,选取所述图形数据并合成为色码数据。 An index reading device, according to the level of the mosaic processing means, the vertical coordinate graphics, read the computer system memory index data; a pattern reading device according to the level of the mosaic processing means, the vertical graphical seat Landmarks and (or) index data synthesized by the computer system memory read address signals to read graphical data within a computer system memory, and its selection by color code and synthesis device, select the graphic data synthesized into color-coded data .

前述的马赛克效果处理的图像合成装置中,二维转换装置在不需有屏幕座标输入的状态下,相应于各屏幕座标以一相应的图形座标输出。 The aforementioned image composing apparatus mosaic processing, in a two-dimensional conversion means need not have a screen coordinate input state, corresponding to the respective coordinates to screen coordinates of a corresponding graphic output.

前述的马赛克效果处理的图像合成装置,还包括有一时序发生器,以产生所需的控制时序信号。 Image synthesis means aforementioned mosaic effect treatment, further comprising a timing generator, to produce the desired control timing signals.

前述的马赛克效果处理的图像合成装置,还包括有一溢位产生装置,可接收马赛克效果处理装置的图形座标,以在图形座标超出图形大小时,产生一溢位信号,控制影像的输出。 Image synthesis means aforementioned mosaic effect treatment, further comprising a overflow bit generating means may receive graphics mosaic processing apparatus coordinates to the graphics when the size exceeds the figure coordinate, generating a overflow signal, the output of the control image.

前述的马赛克效果处理的图像合成装置,电脑系统内存也可以时分方式供多数读取通道进行数据读取。 Image synthesis means aforementioned mosaic effect processing, computer system memory may also supply a time division manner most read channel to read data.

前述的马赛克效果处理的图像合成装置中,索引读取装置还包括有:一索引地址产生装置,依据马赛克效果处理装置送入的图形座标、外部输入图形大小、字形大小等数据,合成为一索引地址数据,以读取电脑系统内存中相应索引地址的索引数据;及寄存装置,用以寄存由电脑系统内存送出的索引数据。 The aforementioned image composition processing apparatus mosaic effect, the index reading device further comprising: a index address generating means, according to a mosaic effect processing means fed figure coordinate, the external input pattern size, font size and other data, for a synthetic index address data to the computer system reads the index data in the memory address of the corresponding index; and storage means for storage index data sent by the computer system memory.

前述的马赛克效果处理的图像合成装置,由电脑系统内存读出的索引数据包括:一索引,用以表示字形在图形表PGT中的位置值; Image synthesis means aforementioned mosaic effect processing by the computer system memory index data read out comprising: a index, the value in the graphic glyph position table to indicate the PGT;

一调色盘,表示字形所使用的调色盘;一水平镜射,用以控制图形读取,使整个字形具有水平镜射效果;和一垂直镜射,用以控制图形读取,使整个字形具有垂直镜射效果。 A palette represents glyph palette used; a horizontal mirror to control the pattern reading, the whole shape with a horizontal mirror effect; and a vertical mirror to control the pattern reading, so that the whole shape with a vertical mirror effect.

前述的马赛克效果处理的图像合成装置中,图形读取装置包括:一图形地址产生装置,依据索引、水平镜射、垂直镜射、马赛克效果处理装置产生的图形座标、图形大小、字形大小等数据,合成为一图形地址信号,以读取电脑系统内存相应地址的图形数据;及寄存装置,用以寄存由电脑系统内存读出的图形数据。 The aforementioned image synthesis device mosaic processing, pattern reading apparatus comprising: a graphical address generating means, according to the index, the level of mirror, vertical mirror, mosaic effect generated graphics processing unit coordinates, graph size, font size, etc. data, synthesized as a graphic address signal, to read the corresponding graphics computer system memory address of the data; and storage means for storage by the computer system reads out the graphic data memory.

前述的马赛克效果处理的图像合成装置中,图形地址产生装置,设置在绘图模式时,仅依据马赛克效果处理装置的图形座标及图形大小数据,直接合成为一读取地址信号,以读取电脑系统内存的图形数据。 The aforementioned image composing apparatus mosaic processing, graphics address generating means, disposed at the drawing mode, based only on the graphics processing apparatus mosaic size data and graphics coordinate, direct synthesis of a read address signal, to read a computer Graphics system memory data.

前述的马赛克效果处理的图像合成装置中,色码选取及合成装置,为依据颜色模式及图形座标,由图形数据中选取图形数据并与调色盘数据合成为色码输出数据。 Image synthesis means aforementioned mosaic effect processing, color code selection and synthesis means, based on the color mode and the graphic coordinate, graphic data selected by the graphic data and the color palette data for color code output synthesized data.

前述的马赛克效果处理的图像合成装置中,色码选取及合成装置还可包括一透明色判断装置,依不同颜色模式决定透明色的指示信号。 Image synthesis means aforementioned mosaic effect processing, color code selection and synthesis apparatus may further include a transparent color determination means determines transparent color depending on the color mode indication signal.

本发明提供一种可供后续进行马赛克效果图像缩放、旋转作用的以像素为单位进行处理的图像合成方法及装置,是一种新颖且具实际应用价值的新发明。 The present invention provides a follow-up to carry out a mosaic effect for image scaling, image composition method and apparatus for processing pixels rotation effect, a new invention is a novel and having practical value.

以下结合附图进一步说明本发明的具体结构特征及目的。 Further described below in conjunction with the accompanying drawings of the present invention is characterized by a specific structure and purpose.

附图简要说明:图1是本发明的马赛克效果处理的图像合成装置的结构图。 Brief Description: Figure 1 is a configuration diagram of the image compositing apparatus of the present invention mosaic effect processing.

图2是本发明的索引数据格式。 Figure 2 is an index of the data format of the invention.

图3是本发明的图形名称表PNT与图形表PGT的对应关系图。 Figure 3 is a graphical name of the present invention and a graphical table table PNT PGT corresponding diagram.

图4是本发明的文字模式的图形名称表地址的格式。 Figure 4 is a format text mode of the present invention addresses the graphic name of the table.

图5是本发明的文字模式的图形表地址的格式。 Figure 5 is a text mode of the present invention, the format pattern table address.

图6是本发明的绘图模式的图形表地址的格式。 Figure 6 is a drawing mode format graphical representation of the present invention addresses.

图7是本发明的马赛克效果处理前后的座标示意图。 Figure 7 is a schematic view of a mosaic effect coordinates before and after treatment of the present invention.

图8是本发明的马赛克效果处理前后的实施例图。 Figure 8 is an embodiment of the present invention FIG mosaic effect before and after treatment.

图9、10是本发明的马赛克效果颜色对映的实施例图。 Figures 9 and 10 of the present invention is a color mosaic of the embodiment of FIG antipodal.

如图1所示,本发明的马赛克效果处理的图像合成装置,通过地址总线44和数据总线46,再经一双向缓冲器12,由地址总线40和数据总线42与电脑系统的内存装置10相连,包括一如虚线外框所示的索引读取装置14、图形读取装置20、时序产生器8、二维转换装置28、一马赛克效果处理装置5及溢位产生装置6,其中:电脑系统的内存装置10中存放有图形(PATTERN)数据、索引(INDEX)或其他控制图形数据,若需获得快速访问效果,可设为静态内存(STATIC RAM),此内存装置10经地址总线40与数据总线42,经一双向缓冲器12与图像合成装置的地址总线44及数据总线46连接,则此内存装置10也可与多数具有读取电路的结构连接,以时分方式共享内存的数据。 Shown, the image synthesis apparatus of the present invention mosaic processing shown in Figure 1, 12, connected by an address bus 40 and data bus 42 to the computer system's memory device 10 via address bus 44 and data bus 46, and then through a bidirectional buffer , including the outer frame as shown in broken line index reading apparatus 14, pattern reading unit 20, the timing generator 8, a two-dimensional conversion means 28, a mosaic effect processing means 5 and the overflow generating means 6, wherein: the computer system The memory device 10 storing graphics (PATTERN) data, the index (INDEX) or other control pattern data, For fast access to the effect obtained, can be set to a static memory (STATIC RAM), the memory device 10 via address bus 40 and data bus 42, via address bus 12 and a bi-directional buffer 44 and image synthesis apparatus 46 is connected to the data bus, this memory device 10 may also have a read circuit with the majority of the structure is connected, in a time division manner the shared data memory.

二维转换装置28,其内部可包括有图形水平、垂直座标合成装置,以将每一屏幕图点座标转换为相应的水平、垂直图形座标(X′、Y′)送入马赛克效果处理装置5,将一根据马赛克效果控制信号形成的同一颜色的区块大小,经逻辑门电路将该水平、垂直图形座标(X′、Y′)的适当的位设为1或0状态,转换为处理后的图形座标(X、Y),其后,则经输出线48、50送至过引读取装置14及图形读取装置20内,以供应各个读取装置14、20所需的图形座标信号。 D converting means 28, which may include graphic internal horizontal, vertical coordinate synthesizing means, to each point of the screen in FIG converted to the corresponding horizontal coordinate, vertical coordinate graphics (X ', Y') into a mosaic effect processing means 5, according to the control of a same color mosaic block size of the signal formed by the logic gate level, vertical figure coordinate (X ', Y') of the appropriate status bit is set to 1 or 0, converting the processed graphics coordinate (X, Y), thereafter, the supplied via the output lines 48, 50 through the reading device 14 and the lead pattern reading means 20, reading means 14, 20 to supply each of the The figure coordinate signals required.

二维转换装置28在不需有屏幕座标输入的状态下,相应于各屏幕座标以一相应的图形座标输出。 D conversion means 28 need not have a screen in the coordinate input state, corresponding to the respective coordinates to screen coordinates of a corresponding graphic output.

索引读取装置14是由一索引地址产生装置16及一可寄存由内存装置10读出的索引数据的寄存装置18所组成;可由索引地址产生装置16依据马赛克效果处理装置5送入的图形座标(X、Y)及外部送入的供设定图框大小(PAGE SIZE)PS及字形大小(FONTSIZE)FS的信号后,送出可供取出内存装置10索引数据的索引地址信号,使内存装置10送出的索引数据可寄存在寄存装置18内,内存装置10送出的索引数据格式如图2所示,包括四位的调色盘PAL(PALLETE)数据、一位的水平镜射H数据、一位的垂直镜射V数据及十位的索引INDEX数据,其中该调色盘PAL数据指示字形FONT的调色盘为何种,而该索引值表示字形FONT名称在图形表(PATTERN GENERATION TABLE)PGT的所在位置(字形名称储存在图形名称表(PATTERN NAME TABLE)PNT中,而实际的图形是储存在图形表(PATTERN GENERATION TABLE)PGT中,相应关系如图3),水平及垂直镜射H、V两信号表示整个字形是否水平及垂直镜射效果,此索引格式的表示字形色调的调色盘PAL数据及表示字形在图形表位置的索引数据分别送入至图1下方的图形读取装置20内,以分别供合成色码(COLOR CODE)及供读取内存装置10的图形数据。 Index reading device 14 is composed of a device 16 and an index address register can be read out from the memory means 10 the index data register means 18 generates a composed; index address generating means 16 may be based on mosaic pattern processing apparatus 5 into the seat mark (X, Y) and external fed for setting frame size (PAGE SIZE) PS and font size (FONTSIZE) FS signal after removing the memory device 10 for sending the index data index address signal to the memory device 10 sends the index data can be registered in the register means 18, the index memory means 10 sends the data format shown in Figure 2, including four palettes PAL (PALLETE) data, a horizontal mirror data of H, a vertical mirror V bit and 10-bit index data INDEX data, where the data indicates the glyph palette PAL FONT palette for what, and the index value indicates FONT font name in the graphic form (PATTERN GENERATION TABLE) PGT's Location (font name is stored in the graphic name of the table (PATTERN NAME TABLE) PNT, whereas the actual graphics are stored in a graphical form (PATTERN GENERATION TABLE) PGT, the corresponding relationship shown in Figure 3), the horizontal and vertical mirror H, V Two signal indicates whether the entire shape of horizontal and vertical mirror effect, indicating that the tone of this index glyph palette PAL format data and index data in a graphical representation font table into position to a reading device within the graphic below 20 respectively , respectively for the synthesis of color codes (COLOR CODE) and for reading the graphic data memory device 10.

图形读取装置20包括有一图形地址产生装置22、一可供寄存内存装置10送入的图形数据的图形寄存器24与色码选取/合成装置26、30所组成,此图形地址产生装置22依据送入的水平、垂直图形座标(X、Y)信号、外部设定的图框大小PS、字形大小FS及先前由内存装置10读出的图形索引数据(经线路56送入),使其产生图形地址信号,以供读取内存装置10的图形数据,并寄存在图形寄存器24内,两依序串接在该图形寄存器24后方的色码选取/合成装置26、30,在前述诸多信号送入后进行色码选取及合成出色码,而由色码合成装置30的输出端送出色码数据,以供后续处理,且在此电路中亦可包括有透明色判断构造,可依不同颜色模式决定透明色。 Pattern reading unit 20 includes a graphics address generating means 22, a graphics memory means 10 for storage of the graphics data into the register 24 and color code selection / synthesis apparatus composed of 26, 30, 22 according to this figure addresses generated transmission means into horizontal and vertical graphic coordinates (X, Y) signal, an external set of frame size PS, font size FS and previously read out from the memory means 10 pattern index data (fed via line 56), to produce color code pattern address signal, means for reading the pattern data memory 10, and registered in the pattern register 24, 24 in series with two sequentially rearward of the pattern register selection / synthesis means 26, 30, many signal transmission in the aforementioned performed after the color code selection and synthesis excellent code, while the output of the color code composing means 30 send excellent code data, for subsequent processing, and also in this circuit structure comprising a transparent color is determined, according to different color modes determine the transparent color.

溢位产生装置6,是连接在马赛克效果处理装置5的图形座标(X、Y)输出端,可在检测出图形座标已超过图形大小时,产生一溢位输出信号,以控制影像的输出。 Overflow generating means 6, is connected to the mosaic processing means 5 of figure coordinate (X, Y) output terminal, can be detected when the coordinates of the graphic over the graph size, generates an overflow output signal, for controlling the image output.

从前述整个马赛克效果处理的图像合成装置的结构来看,基本上以二维转换装置28及马赛克效果处理装置5送出处理后的代表屏幕座标的图形座标而经一索引读取装置14产生一索引地址信号,以读取内存装置10中的索引数据、调色盘、水平/垂直镜射数据,再将数据送入至图形读取装置20,合成为图形地址信号,以读取图形数据,并将读出的各项数据经色码选取/合成装置26、30合成为色码输出信号,提供一种以像素为单位的图像合成装置,可送出符合马赛克效果图形缩放、旋转等作用的信号型式。 From the foregoing structure the whole mosaic processing image compositing apparatus, basically a two-dimensional conversion means 28 and mosaic processing apparatus 5 sends the processed representative screen coordinates and coordinates of the graphics by a reading device 14 generates an index index address signals, the memory device 10 to read the index data, palette, horizontal / vertical mirror data, then the data is fed to a pattern reading unit 20, the graphic address signal for the synthesis, to read graphic data, and the data read out by the color code selection / synthesis means 26, 30 for synthesizing the output signal of a color code, providing a mosaic effect in line graphics scaling, rotation and so on of a signal in pixels of the image compositing apparatus units can send type.

在绘图模式(GRAPHIC MODE)或文字模式(TEXT MODE)下,由于两种模式的基本差别,其数据处理过程也存在差别。 In the drawing mode (GRAPHIC MODE) or text mode (TEXT MODE) lower, due to the basic difference between the two modes, the data processing are also differences. 在绘图模式下,图形数据是以位对映(BIT MAP)方式存放在内存装置10中,故只需经过前述马赛克效果处理装置送出的图形座标,配合颜色模式、图形大小,便可决定图形数据的存放位置,故实际上无需利用索引数据再对映产生,故在绘图模式下,该图形读取装置20无需使用索引数据,便可直接合成为图形读取地址信号,以读出内存装置10中的图形;而文字模式则由于文字及图形采用“间接对映”型态(即图3的PNT与PGT的对映关系),故需经过两次读取作业:即先读取索引数据再读取图形数据,以读取正确的文字图形。 In drawing mode, the graphics data is bit enantiomers (BIT MAP) mode is stored in the memory device 10, it is only after the previous mosaic graphics processing unit sends the coordinates, with the color mode, image size, you can decide graphics the storage of data, it is actually no need to use the index data and then generate enantiomers, so the drawing mode, the graphic reading device 20 without the use of index data, you can direct the synthesis of the graphic read address signal for reading out the memory device 10 graphics; and text mode text and graphics due to the use of "indirect enantiomer" patterns (ie Figure 3 PNT and PGT enantiomeric relationship), it takes twice the read operation: the first reading the index data then reads graphics data, to read the correct character pattern. 在文字模式下,不同字形(FONT)大小、图框(PAGE SIZE)大小的图形名称表PNT的地址表示方式如图4所示,图5则显示文字模式下,在不同字形(1616、88)及十六色状态下,图形表PGT地址为通过索引值INDEX表示的型态,图6显示在绘图模式下,不同颜色模式(256、16、4、2色)供读取内存装置10的图形表PGT的地址信号的型态,而此图中显示只有图形表地址信号及图形座标(X、Y)信号。 In text mode, different font (FONT) size, frame (PAGE SIZE) the size of the pattern name table PNT address representation shown in Figure 4, Figure 5 displays text mode in different shape (16 16, Under the 8 8) and 16 color state, graphics table PGT address to the value represented by the index INDEX patterns, Figure 6 shows the drawing mode, different color modes (256,16,4,2 color) for reading memory means graphics table PGT 10 patterns of the address signal, and this figure shows only the graphics table address signal and the graphic coordinates (X, Y) signals.

本发明的马赛克效果处理装置5将二维转换装置28产生的图形座标(X′、Y′)再予以转换为马赛克效果处理的图形座标(X、Y)的实施例,如图7的经马赛克效果控制信号设定为44方块大小的图形座标格式所示,即在图中以上、下分别为处理前及处理后的X、Y座标内容,亦即分别使X、Y座标的最低两位(位1、位0)位置,经逻辑电路将其维持在“0”状态(亦可设定为“1”状态),故可使该相应的区块呈现同一颜色,且该颜色值也可通过前述使该位设在不同“0”或“1”的状态,使马赛克效果的区块可选用区块内任一图点颜色值为代表,亦即如图9、10所示,可将图面上方44图点区域内各不同颜色的图点,选择任一图点的颜色值作为整个44区域的同一颜色,而实际运用在图形上的效果如图8所示,图面左侧为未经马赛克效果处理的图形,右侧位置是以图面分割的区块大小为处理单位,选定各区块其一图点的颜色值的表示。 Mosaic processing means 5 of the present invention the two-dimensional graphic coordinate conversion means 28 generates the (X ', Y') and then be converted to the mosaic coordinate graphics processing (X, Y) of the embodiment, FIG. 7 After the control signal is set to mosaic effect 4 4 block size as shown in figure coordinate format, i.e. in the figure above, respectively, under the X, Y coordinates of the content after pre-treatment and processing, i.e., respectively, so that X, Y minimum two coordinates (bit 1, bit 0) position, by a logic circuit which is maintained at "0" state (may also be set to "1" state), so that the corresponding block can exhibit the same color, and The color values can also be set up in a different place so that "0" or "1" state, so that the effect of mosaic tile can be used by any of the aforementioned color chart is representative point within the block, that is shown in Figure 9, 10 shown, can be different colors within each drawing sheet in Figure 4 4 point regional map point, select any map point color values of the same color as the entire area of 4 4, and the practical application of the effect on the graph in Figure 8, the figure on the left side of the graphics processing without the mosaic effect, the right position is drawing segmentation processing unit block size for the selected color value of each block represents one map points.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
JP6197247A * Title not available
US4782388 *24 Oct 19861 Nov 1988The Grass Valley Group, Inc.Method and apparatus for providing video mosaic effects
US4888643 *14 Mar 198819 Dec 1989Sony CorporationSpecial effect apparatus
US5164825 *29 Mar 198817 Nov 1992Canon Kabushiki KaishaImage processing method and apparatus for mosaic or similar processing therefor
Classifications
International ClassificationG06T3/00
Legal Events
DateCodeEventDescription
3 Apr 1996C10Request of examination as to substance
12 Jun 1996C06Publication
19 Mar 2003C14Granted
14 Jan 2015C17Cessation of patent right