JP2005258650A - Image processor and image processing method and computer-readable recording medium for recording program for making computer perform image processing method - Google Patents

Image processor and image processing method and computer-readable recording medium for recording program for making computer perform image processing method Download PDF

Info

Publication number
JP2005258650A
JP2005258650A JP2004067299A JP2004067299A JP2005258650A JP 2005258650 A JP2005258650 A JP 2005258650A JP 2004067299 A JP2004067299 A JP 2004067299A JP 2004067299 A JP2004067299 A JP 2004067299A JP 2005258650 A JP2005258650 A JP 2005258650A
Authority
JP
Japan
Prior art keywords
image processing
attribute
area
image
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004067299A
Other languages
Japanese (ja)
Inventor
Naohito Shiraishi
尚人 白石
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2004067299A priority Critical patent/JP2005258650A/en
Publication of JP2005258650A publication Critical patent/JP2005258650A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To realize high-speed processing while maintaining high quality by determining an attribute region configuring the image information of a processing object, and switching and processing the attributes of the pixels. <P>SOLUTION: This image processor for inputting image information such as pictures, graphics and characters, and for performing predetermined image processing to the image information is provided with a drawing means(CPU101) for generating multi-value band data from the image information, a multi-value band memory region 104a for storing the multi-value band data and an image processor 110 for determining a plurality of attributes configuring the image information from the multi-value band data stored in the multi-value band memory 104a, and for performing image processing for every attribute. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、カラープリンタ、カラー複写機、カラーMFP機などの画像形成装置に搭載される画像処理装置および画像処理方法、並びに画像処理方法をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体に関するものである。   The present invention relates to an image processing apparatus and an image processing method mounted on an image forming apparatus such as a color printer, a color copying machine, and a color MFP, and a computer-readable recording medium on which a program for causing a computer to execute the image processing method is recorded. It is about.

従来より、カラー印刷、カラーテレビ、カラー複写機などの分野においては、色変換について数多くの方法が提案されている。その1つとして、テーブルメモリを用いて入力の色空間、たとえばRGB系から出力の色空間、たとえばCMYK系へ直接変換する方法がある。しかし、RGB系などの3色信号を必要とする濃度段階の分解能でそれぞれにデジタル信号に変換したときの情報量は非常に多くなる。したがってテーブルメモリの容量が膨大になり、コストが非常に高くなる。たとえば、入力RGB各色に対し8BITを割り当て、出力CMYK各色が8BITで出力されるとすると、224×4バイトのメモリが必要になるため、実用的ではない。 Conventionally, many methods for color conversion have been proposed in the fields of color printing, color televisions, color copying machines, and the like. As one of them, there is a method of directly converting from an input color space, such as an RGB system, to an output color space, such as a CMYK system, using a table memory. However, the amount of information becomes very large when three-color signals such as RGB are converted into digital signals at resolutions of density steps that require them. Therefore, the capacity of the table memory becomes enormous and the cost becomes very high. For example, if 8 bits are assigned to each input RGB color, and each output CMYK color is output in 8 bits, a memory of 2 24 × 4 bytes is required, which is not practical.

そこで、テーブルメモリを用いて色変換を行う場合のメモリ容量削減の方法として従来は補間を用いる方法が主に検討されていた。すなわち、入力信号の上位BITをアドレスとした色補正メモリを用いることによってメモリ容量を削減し、粗くなった分を、下位BITを用いた補間回路によって補正処理する方法が開示されている(たとえば、特許文献1,2参照)。   Therefore, conventionally, a method using interpolation has been mainly studied as a method for reducing the memory capacity when color conversion is performed using a table memory. That is, a method is disclosed in which a memory capacity is reduced by using a color correction memory with the higher-order BIT of the input signal as an address, and the coarser portion is corrected by an interpolation circuit using the lower-order BIT (for example, (See Patent Documents 1 and 2).

この上位4BITにより、16分割された色空間の例を図43に示す。そして、四面体への分割例を図44に示す。さらに、表1に上記四面体の判定と補間係数の一覧を示す。   FIG. 43 shows an example of a color space divided into 16 parts by the upper 4 bits. An example of division into tetrahedrons is shown in FIG. Table 1 shows a list of tetrahedron determinations and interpolation coefficients.

Figure 2005258650
Figure 2005258650

また、上記の方法をCPUのソフトウエアで実現する方式として、画像を入力する入力部と、入力部により、入力された画像を構成する画素の色を認識する認識部と、認識部により認識された色を色単位で他の色に変換する色単位変換部と、認識部により認識された色と色単位変換部により変換された色との対応を記憶する記憶部と画像を構成する画素の色を記憶部と、画像を構成する画素の色を記憶部に記憶された色の対応して画素単位で他の色に変換する画素単位変換部と、を有し、入力RGBデータを色変換処理後に作成されたCMYKデータを入力RGBデータと対応する出力するCMYKデータを保存し、変換前に、対応表をチェックすることにより、計算量を省くものが開示されている(たとえば、特許文献3参照)。   In addition, as a method for realizing the above method by software of the CPU, an input unit for inputting an image, a recognition unit for recognizing the color of a pixel constituting the input image by the input unit, and a recognition unit. A color unit conversion unit that converts each color into another color, a storage unit that stores the correspondence between the color recognized by the recognition unit and the color converted by the color unit conversion unit, and the pixels constituting the image Color conversion of input RGB data having a storage unit for color and a pixel unit conversion unit for converting the color of pixels constituting an image into another color corresponding to the color stored in the storage unit There is disclosed a method that saves the amount of calculation by storing CMYK data output after processing corresponding to input RGB data and saving CMYK data and checking a correspondence table before conversion (for example, Patent Document 3). reference).

図45に従来のカラープリンタなどに搭載される画像処理装置の構成を示す。この画像処理装置は、描画処理装置50、色変換処理装置51、諧調処理装置52、2値バンドメモリ53を備えている。この構成において、描画処理装置50によりオブジェクトの描画処理後に、そのオブジェクトの色変換処理を色変換処理装置51で行い、その後、そのオブジェクトの階調処理を諧調処理装置52により行い、1バンド内の全てのオブジェクトが終了すると、2値のバンドメモリを作成するものである。   FIG. 45 shows the configuration of an image processing apparatus mounted on a conventional color printer or the like. The image processing apparatus includes a drawing processing device 50, a color conversion processing device 51, a gradation processing device 52, and a binary band memory 53. In this configuration, after drawing an object by the drawing processing device 50, the color conversion processing of the object is performed by the color conversion processing device 51, and thereafter, the gradation processing of the object is performed by the gradation processing device 52, and within one band. When all objects are finished, a binary band memory is created.

ところが、上記の図45に示すような画像処理装置においては、CMYK4プレーンのイメージデータを生成するための論理演算において画質の劣化が問題となっていた。そこで、これを解決するために、多値のCMYのバンドメモリを構成し、多値CMYバンド上で論理演算を行うものが開示されている(たとえば、特許文献4参照)。   However, in the image processing apparatus as shown in FIG. 45 described above, degradation of image quality has been a problem in the logical operation for generating CMYK 4-plane image data. In order to solve this problem, a multi-valued CMY band memory is configured to perform a logical operation on the multi-valued CMY band (see, for example, Patent Document 4).

また、1ページに複数の異なる特性を持つ画像要素に対してそれぞれの画像要素の持つ特性に最適な画像処理を施すために画像の画素を記憶する画像メモリの他に画像メモリの画素に対応する属性を格納するタグメモリを有して実現している(たとえば、特許文献5参照)。   In addition to an image memory that stores image pixels, in order to perform image processing that is optimal for the characteristics of each image element for a plurality of image elements having different characteristics on one page, it corresponds to the pixels of the image memory. This is realized by including a tag memory for storing attributes (see, for example, Patent Document 5).

同様に、オブジェクトの種類に対応した色処理を行うことにより出力画像における色再現性を向上させるために、画像を格納するバンドメモリとは別に、バンドメモリの画素に対応する属性情報を格納するフラグメモリを有し、色処理装置は、バンドメモリとフラグメモリの両方を読み込み、フラグメモリの属性により、バンドメモリの内容を画素ごと異なる色処理を実現している(たとえば、特許文献6参照)。   Similarly, in order to improve color reproducibility in the output image by performing color processing corresponding to the type of object, a flag for storing attribute information corresponding to the pixels of the band memory, in addition to the band memory for storing the image The color processing apparatus has a memory, reads both the band memory and the flag memory, and realizes color processing in which the contents of the band memory are different for each pixel according to the attribute of the flag memory (see, for example, Patent Document 6).

なお、2値画像の圧縮方法として圧縮方式としては、2値画像符号化方式の国際標準であるJBIG(Joint Bi−level Image Experts Group)が知られている。   As a compression method for binary images, JBIG (Joint Bi-level Image Experts Group), which is an international standard for binary image coding, is known.

特公昭58−16180号公報Japanese Patent Publication No.58-16180 特開平2−1887374号公報Japanese Patent Laid-Open No. 2-1887374 特開平9−224160号公報JP-A-9-224160 特開2001−18455号公報JP 2001-18455 A 特許第2830690号公報Japanese Patent No. 2830690 特開平10−51653号公報JP-A-10-51653

しかしながら、上記に示されるような従来の技術にあっては、以下に示すような問題点があった。まず、特許文献1,2に開示される方式は、全てのテーブルメモリを有するよりもメモリ容量を削減することが可能であるが、精度を上げる場合には、大きなメモリ容量を必要とする。たとえば、処理画像の上位4BITを使用した16分割の色変換テーブルであれば、2^12×8BIT×4のメモリを必要とする。   However, the conventional techniques as described above have the following problems. First, the methods disclosed in Patent Documents 1 and 2 can reduce the memory capacity as compared with the case where all the table memories are provided, but a large memory capacity is required to increase accuracy. For example, in the case of a 16-division color conversion table using the upper 4 BITs of the processed image, 2、212 × 8 BIT × 4 memory is required.

また、特許文献3の場合には、CPUのソフトウエアではよい方法であるが、ハードウエアで構成される場合は、演算よりも、メモリからのデータの読み込みが重要であるために、演算量を減らすよりも、メモリアクセスを低減させる方が望ましい。また、特許文献4の場合には、色変換後のCMYデータにてバンドメモリを構成し、その後、UCR処理により、K版を生成し、CMYKデータを生成しているが、RGBデータからCMYデータを生成し、その後、CMYKデータを生成する方法は、CMYデータからCMYKデータの生成する方法が理論的というよりも、経験的な手法であり、RGBデータからCMYKデータを生成する方法のほうが、理論的にも画質がよくなる。   In the case of Patent Document 3, the CPU software is a good method. However, in the case of hardware, it is more important to read the data from the memory than the calculation. It is more desirable to reduce memory access than to reduce it. In the case of Patent Document 4, a band memory is configured with CMY data after color conversion, and then a K version is generated by UCR processing to generate CMYK data. And then the CMYK data is generated by an empirical method rather than the theoretical method of generating the CMYK data from the CMY data, and the method of generating the CMYK data from the RGB data is more theoretical. The image quality is improved.

また、特許文献5,6においては、画像の画素ごとに属性を格納するメモリを有するために大きな容量のメモリを使用し、大きなコストを必要とする。特に何もオブジェクトが存在しない領域でも、同様に画素は属性を格納する領域を有していることはメモリの無駄となる。また、属性を格納するメモリを半導体内部に格納することが難しいために、外部にメモリを持つために処理効率の向上を阻害することになる。   In Patent Documents 5 and 6, since a memory for storing attributes for each pixel of an image is used, a large capacity memory is used, and a large cost is required. In particular, even in an area where no object exists, it is a waste of memory that the pixel similarly has an area for storing attributes. In addition, since it is difficult to store the memory for storing the attribute inside the semiconductor, since the memory is provided outside, improvement in processing efficiency is hindered.

本発明は、上記に鑑みてなされたものであって、処理対象の画像情報を構成する属性領域を判断し、当該画素の属性を切り替えて処理することにより、高画質を維持しながら高速処理を実現することを目的とする。   The present invention has been made in view of the above, and by determining the attribute area constituting the image information to be processed and switching the attribute of the pixel to perform processing, high-speed processing is performed while maintaining high image quality. It aims to be realized.

上述した課題を解決し、目的を達成するために、請求項1にかかる発明は、写真、グラフィックス、文字などを含む画像情報を入力し、この画像情報に対して所定の画像処理を実行する画像処理装置において、前記画像情報から多値バンドデータを生成する描画手段と、前記多値バンドデータを記憶する多値バンドデータ記憶手段と、前記多値バンドデータ記憶手段に記憶された多値バンドデータから、前記画像情報を構成する複数の属性を判断し、当該属性毎に画像処理を行なう画像処理手段と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, the invention according to claim 1 inputs image information including photographs, graphics, characters, etc., and executes predetermined image processing on the image information. In the image processing apparatus, a drawing means for generating multi-value band data from the image information, a multi-value band data storage means for storing the multi-value band data, and a multi-value band stored in the multi-value band data storage means And image processing means for determining a plurality of attributes constituting the image information from the data and performing image processing for each of the attributes.

この請求項1にかかる発明によれば、バンドやページ単位に異なる属性(写真、グラフィックス、文字など)が混在した画像情報に対し、当該領域内の画素が属性の対象であるかを判断して所定の画像処理(色変換、階調処理など)を実行することにより、従来のRGB1画素に1対1で対応する処理装置に比べてメモリ容量を削減することが可能になる。   According to the first aspect of the present invention, for image information in which different attributes (photographs, graphics, characters, etc.) are mixed in band or page units, it is determined whether the pixels in the area are the target of the attribute. By executing predetermined image processing (color conversion, gradation processing, etc.), it is possible to reduce the memory capacity compared to a conventional processing device that corresponds one-to-one with one RGB pixel.

また、請求項2にかかる発明は、前記画像処理手段は、処理中の画素の属性を複数の方形領域の属性情報から生成する画素属性生成手段を備えたことを特徴とする。   According to a second aspect of the present invention, the image processing means includes pixel attribute generation means for generating attributes of a pixel being processed from attribute information of a plurality of rectangular areas.

この請求項2にかかる発明によれば、請求項1において、画素属性生成手段によって処理中の画素の属性を、複数の方形領域の属性情報から生成することにより、画像のバンドやページの画素毎に属性を記録する属性メモリを必要とせずに、属性を示す方形領域にのみ各画素が処理対象/非対象であるかを判断することが可能になる。   According to the second aspect of the present invention, in the first aspect, by generating the attribute of the pixel being processed by the pixel attribute generating means from the attribute information of a plurality of rectangular areas, the image band or the pixel of the page Therefore, it is possible to determine whether each pixel is a processing target / non-target only in a square area indicating the attribute without requiring an attribute memory for recording the attribute.

また、請求項3にかかる発明は、前記画像処理手段は、方形領域内における画素毎の属性対象の有無を示すフラグ情報を記憶するフラグ情報記憶手段を備えたことを特徴とする。   Further, the invention according to claim 3 is characterized in that the image processing means includes flag information storage means for storing flag information indicating presence / absence of an attribute object for each pixel in the rectangular region.

この請求項3にかかる発明によれば、請求項1において、フラグ情報記憶手段が方形領域内における画素毎の属性対象の有無を示すフラグ情報を記憶することにより、方形領域全体が属性を記憶し、各画素はフラグ情報を持つ必要がなくなる。   According to the invention of claim 3, in claim 1, the flag information storage means stores flag information indicating the presence or absence of the attribute object for each pixel in the square area, so that the entire square area stores the attribute. Each pixel need not have flag information.

また、請求項4にかかる発明は、前記画素属性生成手段は、複数の方形領域の属性情報を記憶する方形領域属性情報記憶手段と、処理中の画素がバンド毎に設定された複数の方形領域に含まれるかを判断する領域判定手段と、を備えたことを特徴とする。   According to a fourth aspect of the present invention, the pixel attribute generation means includes a rectangular area attribute information storage means for storing attribute information of a plurality of rectangular areas, and a plurality of rectangular areas in which pixels being processed are set for each band. And an area determination means for determining whether the area is included.

この請求項4にかかる発明によれば、請求項2において、バンド毎の各領域を示す方形情報とその方形領域の属性情報(写真、文字、グラフィックスなど)とその方形領域の重なりから優先順位を決定することが可能になる。   According to the fourth aspect of the present invention, in the second aspect, the priority order is determined based on the rectangular information indicating each area for each band, the attribute information (photo, character, graphics, etc.) of the rectangular area and the overlap of the rectangular area. Can be determined.

また、請求項5にかかる発明は、前記画素属性生成手段は、前記方形領域属性情報記憶手段により得られた複数の領域情報と処理画素の座標から前記フラグ情報記憶手段のアドレスを求めるフラグ情報アドレス生成手段を備えたことを特徴とする。   According to a fifth aspect of the present invention, the pixel attribute generation means obtains an address of the flag information storage means from a plurality of area information obtained by the square area attribute information storage means and the coordinates of the processing pixel. A generation means is provided.

この請求項5にかかる発明によれば、請求項4において、方形領域属性情報記憶手段で得られた複数の領域情報と処理画素の座標からフラグ情報記憶手段のアドレスをフラグ情報アドレス生成手段が求めることにより、その方形領域の属性情報を特定することが可能になる。   According to the fifth aspect of the present invention, in the fourth aspect, the flag information address generation means obtains the address of the flag information storage means from the plurality of area information obtained by the square area attribute information storage means and the coordinates of the processing pixel. This makes it possible to specify the attribute information of the rectangular area.

また、請求項6にかかる発明は、前記方形領域属性情報記憶手段は、複数の方形領域を示す座標値を記憶する座標記憶手段と、前記座標記憶手段に記憶された複数の方形領域の数を記憶する有効数記憶手段と、を備えたことを特徴とする。   According to a sixth aspect of the present invention, the rectangular area attribute information storage means includes coordinate storage means for storing coordinate values indicating a plurality of rectangular areas, and the number of the plurality of rectangular areas stored in the coordinate storage means. And an effective number storage means for storing.

この請求項6にかかる発明によれば、請求項4において、方形領域属性情報記憶手段が、複数の方形領域を示す座標値を記憶する座標記憶手段と、この座標記憶手段に記憶された複数の方形領域の数を記憶する有効数記憶手段とを備え、複数の方形領域を座標値で記憶し、その方形領域の有効数を記憶することにより、方形領域での属性の有無が判断可能になる。   According to the invention of claim 6, in claim 4, the square area attribute information storage means stores the coordinate storage means for storing coordinate values indicating a plurality of square areas, and the plurality of pieces stored in the coordinate storage means. An effective number storage means for storing the number of rectangular areas, storing a plurality of rectangular areas as coordinate values, and storing the effective number of the rectangular areas, thereby making it possible to determine the presence or absence of an attribute in the rectangular area .

また、請求項7にかかる発明は、前記方形領域属性情報記憶手段は、複数の属性を有する方形領域が重なる場合における優先順位を記憶することを特徴とする。   Further, the invention according to claim 7 is characterized in that the square area attribute information storage means stores a priority order when square areas having a plurality of attributes overlap.

この請求項7にかかる発明によれば、請求項4において、複数の属性を有する方形領域が重なる場合における優先順位を記憶することにより、方形領域内に異なる属性が重なる場合における優先順位が明確になる。   According to the invention of claim 7, in claim 4, by storing the priority order when square areas having a plurality of attributes overlap, the priority order when different attributes overlap in the square area is clearly defined. Become.

また、請求項8にかかる発明は、前記方形領域属性情報記憶手段は、複数の属性を有する方形領域が、方形領域内における画素毎の属性対象を示すフラグであるかを示すフレームタイプを記憶することを特徴とする。   In the invention according to claim 8, the rectangular area attribute information storage means stores a frame type indicating whether the rectangular area having a plurality of attributes is a flag indicating an attribute object for each pixel in the rectangular area. It is characterized by that.

この請求項8にかかる発明によれば、請求項4において、複数の属性を有する方形領域が、画素毎の属性対象を示すフラグであるかを示すフレームタイプを記憶することにより、フレームタイプによって方形領域の重なりの優先順位とフラグを有しているかが分かる。   According to the invention according to claim 8, in claim 4, by storing the frame type indicating whether the square area having a plurality of attributes is a flag indicating the attribute object for each pixel, It can be seen whether the region overlap priority and flag are provided.

また、請求項9にかかる発明は、前記画像処理手段は、さらに、複数の属性の異なる方形領域に対する色変換テーブルを記憶する色変換テーブル記憶手段を備えたことを特徴とする。   The invention according to claim 9 is characterized in that the image processing means further comprises a color conversion table storage means for storing a color conversion table for a plurality of rectangular regions having different attributes.

この請求項9にかかる発明によれば、請求項1において、複数の属性の異なる方形領域に対する色変換テーブルを記憶する色変換テーブル記憶手段を備えることにより、属性毎の色変換を行なうことが可能になる。   According to the ninth aspect of the invention, in the first aspect, the color conversion table storage means for storing the color conversion table for a plurality of square areas having different attributes is provided, whereby color conversion for each attribute can be performed. become.

また、請求項10にかかる発明は、前記画像処理手段は、処理中の画素がバンド毎に設定された複数の方形領域それぞれに対して、異なる色変換テーブルを選択することを特徴とする。   The invention according to claim 10 is characterized in that the image processing means selects a different color conversion table for each of a plurality of rectangular regions in which pixels being processed are set for each band.

この請求項10にかかる発明によれば、請求項9において、バンドやページ単位に複数の属性の異なる領域を、処理する画素毎に含まれるかをリアルタイムに判定し、この結果にしたがって色変換テーブルを選択することにより、色再現性に優れた色変換処理が実現する。   According to the invention of claim 10, in claim 9, it is determined in real time whether a plurality of regions having different attributes are included for each pixel to be processed in band or page units, and a color conversion table is determined according to the result. By selecting, color conversion processing with excellent color reproducibility is realized.

また、請求項11にかかる発明は、前記画像処理手段は、さらに、複数の属性の異なる方形領域に対するしきい値テーブルを記憶するしきい値テーブル記憶手段を備えたことを特徴とする。   The invention according to claim 11 is characterized in that the image processing means further includes a threshold value table storage means for storing a threshold value table for a plurality of rectangular regions having different attributes.

この請求項11にかかる発明によれば、請求項1において、複数の属性の異なる方形領域に対するしきい値テーブルを記憶するしきい値テーブル記憶手段を備えることにより、属性毎の階調処理を行なうことが可能になる。   According to the invention according to claim 11, gradation processing for each attribute is performed by providing threshold value table storage means for storing a threshold value table for a plurality of square areas having different attributes. It becomes possible.

また、請求項12にかかる発明は、前記画像処理手段は、処理中の画素がバンド毎に設定された複数の方形領域それぞれに対して、異なるしきい値テーブルを選択することを特徴とする。   The invention according to claim 12 is characterized in that the image processing means selects a different threshold value table for each of a plurality of rectangular regions in which pixels being processed are set for each band.

この請求項12にかかる発明によれば、請求項11において、バンドやページ単位に複数の属性の異なる領域を、処理する画素毎に含まれるかをリアルタイムに判定し、この結果にしたがってしきい値テーブルを選択することにより、再現性に優れた階調処理が実現する。   According to the twelfth aspect of the present invention, in the twelfth aspect, it is determined in real time whether a plurality of regions having different attributes are included in each band or page for each pixel to be processed, and a threshold value is determined according to the result. By selecting a table, gradation processing with excellent reproducibility is realized.

また、請求項13にかかる発明は、写真、グラフィックス、文字などを含む画像情報を入力し、この画像情報に対して所定の画像処理を実行する画像処理方法において、前記画像情報から多値バンドデータを生成する描画工程と、前記多値バンドデータを記憶する多値バンドデータ記憶工程と、前記多値バンドデータ記憶手段に記憶された多値バンドデータから、前記画像情報を構成する複数の属性を判断し、当該属性毎に画像処理を行なう画像処理工程と、を含むことを特徴とする。   According to a thirteenth aspect of the present invention, there is provided an image processing method for inputting image information including photographs, graphics, characters, etc., and executing predetermined image processing on the image information. A plurality of attributes constituting the image information from a drawing step for generating data, a multi-value band data storage step for storing the multi-value band data, and multi-value band data stored in the multi-value band data storage means And an image processing step of performing image processing for each attribute.

この請求項13にかかる発明によれば、バンドやページ単位に異なる属性(写真、グラフィックス、文字など)が混在した画像情報に対し、当該領域内の画素が属性の対象であるかを判断して所定の画像処理(色変換、階調処理など)を実行することにより、従来のRGB1画素に1対1で対応する処理方法に比べてメモリ容量を削減することが可能になる。   According to the thirteenth aspect of the present invention, for image information in which different attributes (photographs, graphics, characters, etc.) are mixed in band or page units, it is determined whether the pixels in the area are the target of the attribute. By executing predetermined image processing (color conversion, gradation processing, etc.), it is possible to reduce the memory capacity as compared with the conventional processing method corresponding to one RGB pixel one-to-one.

また、請求項14にかかる発明は、前記請求項13に記載の画像処理方法を、コンピュータに実行させるプログラムを記録したことを特徴とする。   The invention according to claim 14 is characterized in that a program for causing a computer to execute the image processing method according to claim 13 is recorded.

この請求項14にかかる発明によれば、請求項13に記載の画像処理方法を、コンピュータに実行させるプログラムを記録したことにより、コンピュータ上において請求項13に記載の画像処理動作を行なうことが可能になる。   According to the fourteenth aspect of the present invention, the image processing method according to the thirteenth aspect can be performed on the computer by recording the program that causes the computer to execute the image processing method according to the thirteenth aspect. become.

本発明(請求項1)にかかる画像処理装置は、バンドやページ単位に異なる属性(写真、グラフィックス、文字など)が混在した画像情報に対し、当該領域内の画素が属性の対象であるかを判断して所定の画像処理(色変換、階調処理など)を実行することにより、従来のRGB1画素に1対1で対応する処理装置に比べてメモリ容量を削減することが可能になるため、少ないメモリ容量による高速処理が実現すると共に、属性領域毎に処理を行なうことで高画質の画像出力の画像処理装置を提供することができるという効果を奏する。   In the image processing apparatus according to the present invention (Claim 1), whether or not the pixel in the area is a target of attribute for image information in which different attributes (photos, graphics, characters, etc.) are mixed in band or page units. Therefore, by executing predetermined image processing (color conversion, gradation processing, etc.), it is possible to reduce the memory capacity compared to a conventional processing device that corresponds one-to-one with one RGB pixel. In addition to realizing high-speed processing with a small memory capacity, it is possible to provide an image processing apparatus that outputs high-quality images by performing processing for each attribute region.

また、本発明(請求項2)にかかる画像処理装置は、請求項1において、画素属性生成手段によって処理中の画素の属性を、複数の方形領域の属性情報から生成することにより、画像のバンドやページの画素毎に属性を記録する属性メモリを必要とせずに、属性を示す方形領域にのみ各画素が処理対象/非対象であるかを判断することが可能になるため、使用するメモリの容量を削減することができるという効果を奏する。   According to a second aspect of the present invention, there is provided an image processing apparatus according to the first aspect, wherein the pixel attribute being processed by the pixel attribute generation means is generated from the attribute information of a plurality of rectangular areas, thereby generating an image band. It is possible to determine whether each pixel is a processing target / non-target only in a square area indicating the attribute without requiring an attribute memory for recording the attribute for each pixel of the page. There is an effect that the capacity can be reduced.

また、本発明(請求項3)にかかる画像処理装置は、請求項1において、フラグ情報記憶手段が方形領域内における画素毎の属性対象の有無を示すフラグ情報を記憶することにより、方形領域全体が属性を記憶し、各画素はフラグ情報を持つ必要がなくなるため、少ないメモリ容量で属性領域毎の処理を行なうことができるという効果を奏する。   An image processing apparatus according to a third aspect of the present invention is the image processing apparatus according to the first aspect, wherein the flag information storage unit stores flag information indicating the presence / absence of an attribute object for each pixel in the square region. Stores the attribute, and each pixel does not need to have flag information, so that it is possible to perform processing for each attribute area with a small memory capacity.

また、本発明(請求項4)にかかる画像処理装置は、請求項2において、バンド毎の各領域を示す方形情報とその方形領域の属性情報(写真、文字、グラフィックスなど)とその方形領域の重なりから優先順位を決定することが可能になるため、同一の方形領域に重なる属性の画像を優先して処理することができるという効果を奏する。   The image processing apparatus according to the present invention (Claim 4) is characterized in that, in Claim 2, the square information indicating each area for each band, the attribute information (photo, character, graphics, etc.) of the square area, and the square area Since the priority order can be determined from the overlap of the images, it is possible to preferentially process the images having the attribute overlapping the same square region.

また、本発明(請求項5)にかかる画像処理装置は、請求項4において、方形領域属性情報記憶手段で得られた複数の領域情報と処理画素の座標からフラグ情報記憶手段のアドレスをフラグ情報アドレス生成手段が求めることにより、その方形領域の属性情報を特定することが可能になるため、細かな属性を指定することができるという効果を奏する。   The image processing apparatus according to the present invention (Claim 5) is the flag information of the flag information storage means according to Claim 4 from the plurality of area information obtained by the square area attribute information storage means and the coordinates of the processing pixels. By obtaining the address generation means, it becomes possible to specify the attribute information of the rectangular area, so that it is possible to specify a fine attribute.

また、本発明(請求項6)にかかる画像処理装置は、請求項4において、方形領域属性情報記憶手段が、複数の方形領域を示す座標値を記憶する座標記憶手段と、この座標記憶手段に記憶された複数の方形領域の数を記憶する有効数記憶手段とを備え、複数の方形領域を座標値で記憶し、その方形領域の有効数を記憶することにより、方形領域での属性の有無が判断可能になるため、方形領域内の属性の有無が明確になり、その処理効率が向上するという効果を奏する。   The image processing apparatus according to the present invention (Claim 6) is characterized in that, in Claim 4, the square area attribute information storage means stores coordinate values indicating coordinate values indicating a plurality of square areas, and the coordinate storage means. Effective number storage means for storing the number of stored square areas, storing the plurality of square areas as coordinate values, and storing the effective number of the square areas, thereby determining whether or not there is an attribute in the square area Therefore, the presence / absence of the attribute in the rectangular area is clarified, and the processing efficiency is improved.

また、本発明(請求項7)にかかる画像処理装置は、請求項4において、複数の属性を有する方形領域が重なる場合における優先順位を記憶することにより、方形領域内に異なる属性が重なる場合における優先順位が明確になるため、その処理効率が向上するという効果を奏する。   An image processing apparatus according to a seventh aspect of the present invention is the image processing apparatus according to the fourth aspect, wherein the priority order in the case where the square areas having a plurality of attributes overlap is stored, whereby different attributes overlap in the square area. Since the priority is clarified, the processing efficiency is improved.

また、本発明(請求項8)にかかる画像処理装置は、請求項4において、複数の属性を有する方形領域が、方形領域内における画素毎の属性対象を示すフラグであるかを示すフレームタイプを記憶することにより、フレームタイプによって方形領域の重なりの優先順位とフラグを有しているかが分かるため、細かな処理および効率的な処理が実現するという効果を奏する。   The image processing apparatus according to the present invention (Claim 8) is characterized in that, in Claim 4, the frame type indicating whether the square area having a plurality of attributes is a flag indicating an attribute object for each pixel in the square area. By storing, it can be seen whether the frame type has the priority order of overlapping of the rectangular areas and the flag, and therefore, there is an effect that fine processing and efficient processing are realized.

また、本発明(請求項9)にかかる画像処理装置は、請求項1において、複数の属性の異なる方形領域に対する色変換テーブルを記憶する色変換テーブル記憶手段を備えることにより、属性毎の色変換を行なうことが可能になるため、属性毎に対応した色変換が実現するという効果を奏する。   The image processing apparatus according to the present invention (Claim 9) further comprises color conversion table storage means for storing a color conversion table for a plurality of square regions having different attributes, thereby providing color conversion for each attribute. Therefore, color conversion corresponding to each attribute is realized.

また、本発明(請求項10)にかかる画像処理装置は、請求項9において、バンドやページ単位に複数の属性の異なる領域を、処理する画素毎に含まれるかをリアルタイムに判定し、この結果にしたがって色変換テーブルを選択するため、色再現性に優れた色変換処理を行なうことができるという効果を奏する。   In addition, the image processing apparatus according to the present invention (Claim 10) determines in real time whether or not a plurality of regions having different attributes in each band or page are included in each pixel to be processed. Since the color conversion table is selected according to the above, there is an effect that color conversion processing with excellent color reproducibility can be performed.

また、本発明(請求項11)にかかる画像処理装置は、請求項1において、複数の属性の異なる方形領域に対するしきい値テーブルを記憶するしきい値テーブル記憶手段を備えることにより、属性毎の階調処理を行なうことが可能になるため、属性毎に対応した階調処理が実現するという効果を奏する。   The image processing apparatus according to the present invention (claim 11) is the image processing apparatus according to claim 1, further comprising threshold value table storage means for storing a threshold value table for a plurality of square areas having different attributes. Since gradation processing can be performed, there is an effect that gradation processing corresponding to each attribute is realized.

また、本発明(請求項12)にかかる画像処理装置は、請求項11において、バンドやページ単位に複数の属性の異なる領域を、処理する画素毎に含まれるかをリアルタイムに判定し、この結果にしたがってしきい値テーブルを選択するため、再現性に優れた階調処理が実現するという効果を奏する。   The image processing apparatus according to the present invention (Claim 12) determines in real time whether or not a plurality of regions having different attributes in each band or page are included in each pixel to be processed. Since the threshold value table is selected according to the above, there is an effect that gradation processing with excellent reproducibility is realized.

また、本発明(請求項13)にかかる画像処理方法は、バンドやページ単位に異なる属性(写真、グラフィックス、文字など)が混在した画像情報に対し、当該領域内の画素が属性の対象であるかを判断して所定の画像処理(色変換、階調処理など)を実行することにより、従来のRGB1画素に1対1で対応する処理装置に比べてメモリ容量を削減することが可能になるため、少ないメモリ容量による高速処理が実現すると共に、属性領域毎に処理を行なうことで高画質の画像出力の画像処理方法を提供することができるという効果を奏する。   In addition, in the image processing method according to the present invention (claim 13), pixels in the area are targeted for the attribute with respect to image information in which different attributes (photos, graphics, characters, etc.) are mixed for each band or page. By determining whether it is present and executing predetermined image processing (color conversion, gradation processing, etc.), it is possible to reduce the memory capacity as compared with a conventional processing device that corresponds one-to-one with one RGB pixel. Therefore, high-speed processing with a small memory capacity is realized, and an image processing method for high-quality image output can be provided by performing processing for each attribute region.

また、本発明(請求項14)にかかるコンピュータ読み取り可能な記録媒体は、請求項13に記載の画像処理方法を、コンピュータに実行させるプログラムを記録したので、コンピュータ上において請求項13に記載の画像処理動作を行なうことができるという効果を奏する。   Moreover, since the computer-readable recording medium concerning this invention (Claim 14) recorded the program which makes a computer perform the image processing method of Claim 13, it recorded the image of Claim 13 on a computer. There is an effect that the processing operation can be performed.

以下、本発明にかかる画像処理装置および画像処理方法、並びに画像処理方法をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体の最良な実施の形態について添付図面を参照し、詳細に説明する。なお、本発明はこの実施の形態に限定されるものではない。   DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Exemplary embodiments of an image processing apparatus, an image processing method, and a computer-readable recording medium storing a program for causing a computer to execute the image processing method according to the present invention will be described below in detail with reference to the accompanying drawings. . The present invention is not limited to this embodiment.

(発明の概要)
本発明は、図1〜図4に示すようにプリンタで多値RGBでバンドごと描画を行うときに多値RGBデータ以外に各画素が写真画像のRGBであるか、グラフィックス画像のRGBであるか、文字画像のRGBであるかの属性情報を付加するものである。
(Summary of Invention)
In the present invention, as shown in FIGS. 1 to 4, each pixel is RGB of a photographic image or RGB of a graphics image in addition to the multi-value RGB data when the printer draws each band with multi-value RGB. Or attribute information indicating whether the character image is RGB.

一般的に、多値RGBのバンドデータと同様に各RGB画素に1対1に対応する属性情報を持っている。これに対して、本発明は、まず、属性情報としては、画素ごと持たずに、XS,XE,YS,YEで囲んだ方形情報として持っている。これにより、一般的な写真画像は方形であるために方形領域による処理が可能となる。そして、文字、グラフィックス画像は方形でないために図1〜図4に示すように、文字領域を囲むXS,XE,YS,YEの方形情報として、文字属性を持たせ、その方形に対応する1BITのFLAGBITで各画素が属性の対象/非対象であるかを判断し、複雑な外形画像にも対応している。   Generally, each RGB pixel has attribute information corresponding to one-to-one like multi-value RGB band data. On the other hand, according to the present invention, first, as attribute information, not every pixel but as square information enclosed by XS, XE, YS, and YE. Thereby, since a general photographic image is a square, processing by a square area becomes possible. Since characters and graphics images are not square, as shown in FIGS. 1 to 4, character information is given as square information of XS, XE, YS, and YE surrounding the character area, and 1 BIT corresponding to the square is obtained. FLAGBIT determines whether each pixel is a target / non-target of an attribute, and supports a complicated outer shape image.

たとえば、図1に示すように、1ページをバンド0〜7に分割すると、その中に写真画像領域P1,P2,P3、文字領域T1,T2、グラフィックス領域G1が混在する画像情報をバンドごとに画像処理する場合が多い。ここで、各領域を座標XS,XE,YS,YEで囲む方形領域で指定する。図2は、この図1のバンド5における各領域の属性を示すものであり、図3は後述する多値バンドメモリ領域の画像を示し、図4はFLAGBITメモリのデータを示している。   For example, as shown in FIG. 1, when one page is divided into bands 0 to 7, image information including photographic image areas P1, P2, P3, character areas T1, T2, and graphics area G1 is mixed for each band. In many cases, image processing is performed. Here, each area is designated by a rectangular area surrounded by coordinates XS, XE, YS, and YE. FIG. 2 shows attributes of each area in band 5 of FIG. 1, FIG. 3 shows an image of a multi-value band memory area described later, and FIG. 4 shows data in the FLAGBIT memory.

図2に示す領域“3”のように領域“0”の中にある領域の属性を設定するために各領域に優先順位を持たせている。これにより、重なる方形領域は優先順位の高い領域がその画素の属性を決めることとし、図2に示す例では、領域“3”が領域“0”よりも優先順位が高く、領域“3”の画素は文字領域となる。そして、領域“3”はFLAGBITを有しているために、FLAGBITが“1”である領域は文字であり、“0”である領域は、つぎの優先順位の属性を持たせ、領域“0”の写真画像の属性を持つことになる。   In order to set the attribute of the area in the area “0” like the area “3” shown in FIG. 2, each area is given a priority. As a result, in the overlapping rectangular area, the area of higher priority determines the attribute of the pixel. In the example shown in FIG. 2, the area “3” has higher priority than the area “0”, and the area “3” A pixel becomes a character area. Since the area “3” has FLAGBIT, the area where FLAGBIT is “1” is a character, and the area where “0” is given the attribute of the next priority, and the area “0” It has a picture image attribute.

すなわち、図2の5番目のバンドに注目すると、図2に示すように領域"0"の写真画像をXS0,XE0,YS0,YE0で囲む方形領域として写真画像の属性を記憶し、領域"1"の文字領域では、XS1,XE1,YS1,YE1で囲む方形領域に文字領域の属性を持たせ、このとき、領域"1"の画素ごとに、この領域の属性の対象/非対象を示すFLAGBITを図4に示すように持ちこの領域"1"のFLAGBITは"1"である画素は属性の対象であるが、"0"である画素は対象でない。領域"2"はグラフィックス領域であるため、方形領域で表現できないために図4のようにグラフィックス画像の外形を持ったFLAGBITを有している。   That is, paying attention to the fifth band in FIG. 2, as shown in FIG. 2, the attribute of the photographic image is stored as a rectangular area surrounding the photographic image in the area “0” with XS0, XE0, YS0, and YE0. In the character area “, the square area enclosed by XS1, XE1, YS1, and YE1 has the attribute of the character area. At this time, for each pixel of the area“ 1 ”, FLAGBIT indicating the target / non-target of the attribute of this area As shown in FIG. 4, a pixel whose flag flag is “1” in this region “1” is a target of an attribute, but a pixel whose flag is “0” is not a target. Since the area “2” is a graphics area and cannot be expressed in a rectangular area, it has a FLAGBIT having an outer shape of a graphics image as shown in FIG.

また、領域"3"では、領域"0"の写真画像の中にある。このような場合に対応するために各領域に優先順位を持たせ、複数の領域にかかる画素はその領域の優先順位が高い領域の属性にしたがうようにする。そのため、領域"3"の優先順位は領域"0"の優先順位より高く設定する。そして、このように重なっている場合の上位の領域がFLAGBITを有する場合は、FLAGBITが"0"である画素はつぎの優先順位の領域の属性を持つことになる。このように処理することにより、領域"3"の文字部分の画素は文字の属性を有し、文字でない部分の画素は写真画像の属性を有して画像処理を行うことが可能である。上記領域に対する属性、優先順位などの関係を表2に示す。   In addition, the area “3” is in the photographic image of the area “0”. In order to cope with such a case, priority is given to each region, and pixels in a plurality of regions are made to follow the attribute of the region having a high priority of the region. Therefore, the priority of the area “3” is set higher than the priority of the area “0”. In the case where the upper region in the case of overlapping as described above has FLAGBIT, the pixel having FLAGBIT of “0” has the attribute of the next priority region. By performing the processing in this manner, it is possible to perform image processing with the pixel of the character portion in the region “3” having the character attribute and the pixel of the non-character portion having the attribute of the photographic image. Table 2 shows the relationship of attributes, priorities, etc. to the above areas.

Figure 2005258650
Figure 2005258650

この方式は、従来のものに対し、属性を格納するメモリ容量が小さくなる。特にバンド画像上に何もオブジェクトのない領域には、FLAGBITは使用されない。また、FLAGBITは1BITであり、基本的に属性情報を持つものではなく、属性情報はXS,XE,YS,YEの方形情報が有している。   This method has a smaller memory capacity for storing attributes than the conventional one. In particular, FLAGBIT is not used in a region where no object is present on the band image. Further, FLAGBIT is 1 BIT and basically does not have attribute information, and the attribute information has square information of XS, XE, YS, and YE.

バンドやページ単位に複数の属性の異なる複数の方形領域を画像処理装置が処理する画素ごとに各領域に含まれるかをリアルタイムに判定して色変換テーブルを選択し、色変換処理を行い、しきい値マトリックスを選択し階調処理を行い、プリンタの画像処理の高速化と高画質化を実現し、また、文字やグラフィックス属性を持つオブジェクトは方形領域では表現できないために方形領域ごとその属性を有する画素であるかを表現するFLAGBITを有し、細かな属性を指定することを可能とするものである。以下、具体的に説明する。   The color conversion table is selected by determining in real time whether or not a plurality of rectangular areas having different attributes for each band or page are included in each area for each pixel processed by the image processing apparatus, and color conversion processing is performed. Selects a threshold matrix and performs gradation processing to achieve high-speed printer image processing and high image quality. Also, since objects with text and graphics attributes cannot be represented in the square area, the attributes for each square area It has a FLAGBIT that expresses whether it is a pixel having, and makes it possible to specify a fine attribute. This will be specifically described below.

(実施の形態)
まず、本発明による画像処理装置が搭載される画像形成装置(プリンタ)の構成および動作について説明する。図5は、本発明の実施の形態にかかる画像形成装置の機構部の構成例を示す説明図である。以下、図5の画像形成装置をカラープリンタと記述する。なお、この実施の形態ではレーザーカラープリンタを例にとるが、インクジェットプリンタなど他のカラープリンタであってもよい。
(Embodiment)
First, the configuration and operation of an image forming apparatus (printer) in which the image processing apparatus according to the present invention is mounted will be described. FIG. 5 is an explanatory diagram illustrating a configuration example of a mechanism unit of the image forming apparatus according to the embodiment of the present invention. Hereinafter, the image forming apparatus in FIG. 5 is described as a color printer. In this embodiment, a laser color printer is taken as an example, but another color printer such as an ink jet printer may be used.

図5に示すカラープリンタ100は、レーザー光書込みおよび電子写真プロセスにしたがい、4色(Y(イエロー)、M(マゼンタ)、C(シアン)、K(ブラック))の画像をそれぞれ独立に配置された作像系1Y、1M、1C、1Kで形成し、この4色の画像を記録紙に順次重ね合わせて転写し合成する4ドラムタンデムエンジンタイプの画像形成装置である。   The color printer 100 shown in FIG. 5 has four color images (Y (yellow), M (magenta), C (cyan), K (black))) arranged independently according to laser light writing and electrophotographic processes. This is a four-drum tandem engine type image forming apparatus that forms the image forming systems 1Y, 1M, 1C, and 1K, and sequentially superimposes and transfers these four color images on a recording sheet.

各作像系1Y、1M、1C、1Kは、像担持体としての感光体、たとえば小径のOPC(有機感光体)ドラム2Y、2M、2C、2Kを有し、このOPCドラム2Y、2M、2C、2Kを取り囲むように作像の上流側から帯電手段としての帯電ローラ3Y、3M、3C、3Kと、OPCドラム2Y、2M、2C、2K上の静電潜像をそれぞれ現像剤で現像してY、M、C、K各色のトナー像とする現像装置4Y、4M、4C、4Kと、クリーニング装置5Y、5M、5C、5Kと、除電装置6Y、6M、6C、6Kなどが配置されている。   Each of the image forming systems 1Y, 1M, 1C, and 1K includes a photoconductor as an image carrier, for example, small-diameter OPC (organic photoconductor) drums 2Y, 2M, 2C, and 2K, and the OPC drums 2Y, 2M, and 2C. The electrostatic latent images on the charging rollers 3Y, 3M, 3C, and 3K as charging means and the OPC drums 2Y, 2M, 2C, and 2K are developed with a developer from the upstream side of image formation so as to surround 2K. Developing devices 4Y, 4M, 4C, and 4K that generate toner images of Y, M, C, and K colors, cleaning devices 5Y, 5M, 5C, and 5K, and static eliminating devices 6Y, 6M, 6C, and 6K are arranged. .

各現像装置4Y、4M、4C、4Kの脇には、Yトナー、Mトナー、Cトナー、Kトナーをそれぞれ現像装置4Y、4M、4C、4Kへ所定の色のトナーを補給するトナーボトルユニット7Y、7M、7C、7Kが配置されている。また、各作像系1Y、1M、1C、1Kはそれぞれ独立に配置されたレーザーによる光書き込み装置8Y、8M、8C、8Kが配置され、この光書き込み装置8Y、8M、8C、8Kはレーザー光源としてのレーザーダイオード(LD)光源9Y、9M、9C、9Kや、コリメートレンズ10Y、10M、10C、10K、fθレンズ11Y、11M、11C、11K、といった光学部品、偏向走査手段としてのポリゴンミラー12Y、12M、12C、12K、折り返しミラー13Y、13M、13C、13K、14Y、14M、14C、14Kなどを有する。   Beside each developing device 4Y, 4M, 4C, and 4K, a toner bottle unit 7Y that supplies toner of a predetermined color to the developing devices 4Y, 4M, 4C, and 4K with Y toner, M toner, C toner, and K toner, respectively. , 7M, 7C, 7K are arranged. In addition, each of the image forming systems 1Y, 1M, 1C, and 1K is provided with laser-based optical writing devices 8Y, 8M, 8C, and 8K. The optical writing devices 8Y, 8M, 8C, and 8K are laser light sources. Laser diode (LD) light sources 9Y, 9M, 9C, and 9K, collimating lenses 10Y, 10M, 10C, and 10K, fθ lenses 11Y, 11M, 11C, and 11K, polygon mirrors 12Y as deflection scanning means, 12M, 12C, and 12K, and folding mirrors 13Y, 13M, 13C, 13K, 14Y, 14M, 14C, and 14K.

各作像系1Y、1M、1C、1Kは垂直に配列され、その右側には転写ベルトユニット15がOPCドラム2Y、2M、2C、2Kに接する形で配置される。転写ベルトユニット15は、転写ベルト16がローラ17〜20に張架されて駆動源(不図示)により回転駆動される。装置下側には転写材としての記録紙が収納された給紙トレイ21が配置され、装置上部に熱定着ローラと加圧ローラを有する定着装置22、排紙ローラ23および排紙トレイ24が配設されている。   The image forming systems 1Y, 1M, 1C, and 1K are arranged vertically, and the transfer belt unit 15 is arranged on the right side so as to be in contact with the OPC drums 2Y, 2M, 2C, and 2K. The transfer belt unit 15 is rotationally driven by a drive source (not shown) with the transfer belt 16 stretched around rollers 17 to 20. A paper feed tray 21 storing recording paper as a transfer material is disposed on the lower side of the apparatus, and a fixing device 22 having a heat fixing roller and a pressure roller, a paper discharge roller 23, and a paper discharge tray 24 are arranged at the top of the apparatus. It is installed.

作像時には、各作像系1Y、1M、1C、1Kにおいて、それぞれ、OPCドラム2Y、2M、2C、2Kが駆動源(不図示)により回転駆動され、帯電ローラ3Y、3M、3C、3KによりOPCドラム2Y、2M、2C、2Kが一様に帯電されて光書き込み装置8Y、8M、8C、8Kが各色の画像データに基づきレーザーダイオードを変調し、そのレーザー光を偏向走査してOPCドラム2Y、2M、2C、2Kに光書込みを行うことによって、OPCドラム2Y、2M、2C、2K上に静電潜像が形成される。   At the time of image formation, in each image forming system 1Y, 1M, 1C, 1K, the OPC drums 2Y, 2M, 2C, 2K are rotationally driven by a driving source (not shown), and are charged by charging rollers 3Y, 3M, 3C, 3K. The OPC drums 2Y, 2M, 2C, and 2K are uniformly charged, and the optical writing devices 8Y, 8M, 8C, and 8K modulate the laser diode based on the image data of each color, and deflect and scan the laser light to scan the OPC drum 2Y. By performing optical writing on 2M, 2C, and 2K, electrostatic latent images are formed on the OPC drums 2Y, 2M, 2C, and 2K.

このOPCドラム2Y、2M、2C、2K上の静電潜像はそれぞれ現像装置4Y、4M、4C、4Kにより現像されてY、M、C、K各色のトナー像となり、一方、給紙トレイ21から給紙ローラ25により転写紙が水平方向に給紙されて搬送系により作像系1Y、1M、1C、1K方向へ垂直に搬送される。この記録紙は、転写ベルト16に静電的に吸着保持されて転写ベルト16により搬送され、転写バイアス印加手段(不図示)により転写バイアスが印加されてOPCドラム2Y、2M、2C、2K上のY、M、C、K各色のトナー像を順次に重ねて合わせて記録紙に転写することでフルカラー画像が記録紙上に形成される。このフルカラー画像が形成された記録紙は、定着装置22によりフルカラーのトナー画像が熱および圧力の作用によって定着されて排紙ローラ23により排紙トレイ24へ排出される。   The electrostatic latent images on the OPC drums 2Y, 2M, 2C, and 2K are developed by developing devices 4Y, 4M, 4C, and 4K, respectively, to become toner images of colors Y, M, C, and K, while the paper feed tray 21 Then, the transfer paper is fed in the horizontal direction from the paper feed roller 25 and is conveyed vertically in the image forming systems 1Y, 1M, 1C and 1K by the transport system. This recording paper is electrostatically attracted and held on the transfer belt 16 and conveyed by the transfer belt 16, and a transfer bias is applied by a transfer bias applying means (not shown) so as to be on the OPC drums 2Y, 2M, 2C and 2K. A full color image is formed on the recording paper by sequentially superimposing and transferring the toner images of each color Y, M, C, and K onto the recording paper. The recording paper on which the full-color image is formed is fixed by the fixing device 22 to the full-color toner image by the action of heat and pressure, and is discharged to the discharge tray 24 by the discharge roller 23.

つぎに、以上のように構成されたカラープリンタにおける画像処理装置の構成および動作について説明する。図6は、図5における画像形成装置の電装・制御系の構成を示すブロック図である。この電装・制御系は、カラープリンタ100全体の制御を行なうCPU101、メモリコントローラ103に接続されCPU101とメモリコントローラ103間のインターフェイス制御を実行するCPUI/F102、メインメモリ104を制御しCPU101のローカルバス、復号化装置、画像処理装置、符号化装置とメインメモリとの転送を制御するメモリコントローラ103を備えている。   Next, the configuration and operation of the image processing apparatus in the color printer configured as described above will be described. FIG. 6 is a block diagram showing the configuration of the electrical / control system of the image forming apparatus in FIG. This electrical / control system is a CPU 101 that controls the entire color printer 100, a CPU I / F 102 that is connected to the memory controller 103 and executes interface control between the CPU 101 and the memory controller 103, a main memory 104, and a local bus of the CPU 101. A memory controller 103 that controls transfer between the decoding device, the image processing device, the encoding device, and the main memory is provided.

また、プリント出力する画像やCPU101の制御プログラムや各種データなどを格納するメインメモリ104、ROM106、パネルコントローラ107などと、CPU101、メインメモリ104とのインターフェイス制御を実行するローカルI/F105、文字などのフォント情報やCPU101の制御プログラムなどを格納するROM106、オペレーションパネル108を制御するパネルコントローラ107、ユーザーの入力操作をプリンタへ知らせるオペレーションパネル108、ネットワークに接続されネットワークから各種データやコマンドなどを受け取ってメモリコントローラ103を介して各種のコントローラに接続されている通信コントローラ109、CPU101により描画されたバンドの画像データに対して色変換処理や階調処理を行い、2値データになった画像データをメインメモリ104へ転送する画像処理装置110、メインメモリ104の2値バンドデータを符号化し、メインメモリ104へ符号を転送する符号化装置111、符号化装置111により符号化された符号を受け取り、各版を復号化し、C(シアン),M(マゼンタ),Y(イエロー)、K(ブラック)版のエンジンコントローラへ転送する復号化装置112、各復号化処理装置から画像データを受け取り、各版のプリンタエンジン114に転送するエンジンコントローラ113、C,M,Y,K各版の画像を形成するプリンタエンジン114(図5参照)を備えている。   Also, the main memory 104, ROM 106, panel controller 107, etc. for storing images to be printed, CPU 101 control programs, various data, etc., and the local I / F 105 for executing interface control with the CPU 101, main memory 104, characters, etc. ROM 106 for storing font information and control program for CPU 101, panel controller 107 for controlling operation panel 108, operation panel 108 for notifying the printer of user input operations, memory for receiving various data and commands connected to the network The communication controller 109 connected to various controllers via the controller 103 and the color change for the band image data drawn by the CPU 101. An image processing apparatus 110 that performs processing and gradation processing and transfers the image data that has been converted into binary data to the main memory 104, and encodes the binary band data in the main memory 104 and transfers the code to the main memory 104 Decoding device 111, receiving code encoded by encoding device 111, decoding each plate, and transferring to C (cyan), M (magenta), Y (yellow), K (black) plate engine controller An engine controller 113 that receives image data from each decoding processing device and transfers it to each version of the printer engine 114; and a printer engine 114 (see FIG. 5) that forms C, M, Y, and K version images. I have.

復号化装置112は、C版復号化処理装置112C、M版復号化処理装置112M、Y版復号化処理装置112Y、K版復号化処理装置112Kを備えている。エンジンコントローラ113は、C版エンジンコントローラ113C、M版エンジンコントローラ113M、Y版エンジンコントローラ113Y、K版エンジンコントローラ113Kを備えている。プリンタエンジン114は、C版プリンタエンジン114C、M版プリンタエンジン114M、Y版プリンタエンジン114Y、K版プリンタエンジン114Kを備えている。   The decoding device 112 includes a C version decoding processing device 112C, an M version decoding processing device 112M, a Y version decoding processing device 112Y, and a K version decoding processing device 112K. The engine controller 113 includes a C version engine controller 113C, an M version engine controller 113M, a Y version engine controller 113Y, and a K version engine controller 113K. The printer engine 114 includes a C plate printer engine 114C, an M plate printer engine 114M, a Y plate printer engine 114Y, and a K plate printer engine 114K.

図7は、本発明の実施の形態にかかる画像データの概略的な処理系統を示すブロック図である。この図において、CPU101により多値RGBバンドを生成し、この生成された多値RGBバンドデータをメインメモリ104の多値RGBバンドメモリ104aに記憶する。画像処理装置110の色変換処理装置120により、多値RGBバンドメモリ104aに記憶された多値RGBバンドデータを色変換する。画像処理装置110の階調処理装置121により、色変換処理装置120で色変換処理された多値CMYKデータに対して階調処理を行い、C,M,Y,K毎の2値CMYKバンドデータ122をメモリ領域に記憶する。符号化装置111によりメインメモリ104に記憶されたC,M,Y,Kの2値バンドデータを符号化し、符号ページメモリ領域に1ページ格納する。符号化装置111により符号化されたデータを復号化処理装置112で版ごとの符号を復号化し、2値CMYKページデータ124としてエンジンコントローラ113に転送する。これら詳細について以下に記述する。   FIG. 7 is a block diagram showing a schematic processing system of image data according to the embodiment of the present invention. In this figure, a multi-value RGB band is generated by the CPU 101, and the generated multi-value RGB band data is stored in the multi-value RGB band memory 104 a of the main memory 104. The color conversion processing device 120 of the image processing device 110 performs color conversion on the multi-value RGB band data stored in the multi-value RGB band memory 104a. The gradation processing device 121 of the image processing device 110 performs gradation processing on the multivalued CMYK data color-converted by the color conversion processing device 120, and binary CMYK band data for each of C, M, Y, and K. 122 is stored in the memory area. The encoding device 111 encodes C, M, Y, K binary band data stored in the main memory 104 and stores one page in the code page memory area. The data encoded by the encoding device 111 is decoded by the decoding processing device 112 for each version, and transferred to the engine controller 113 as binary CMYK page data 124. These details are described below.

図8は、本発明の実施の形態にかかる画像データの処理を行なう機能ブロック図である。また、図9は、メインメモリ104のフォーマットを示す説明図である。これらの図に示すように、このフォーマットは、多値のRGBのデータを1バンド分格納する領域である多値バンドメモリ領域104a、多値バンドメモリ領域の画素に対応するFLAGBITメモリ領域104b、画像処理された2値、4値、16値化された複数の各版のバンド情報を格納する領域であるC,M,Y,K各版の2値バンドメモリ格納領域104c,104m,104y,104k、各版の2値バンドメモリデータを版ごと符号化された符号のページメモリ領域であるC,M,Y,K各版の符号ページメモリ領域104cc,104cm,104cy,104ck、CPU101の制御プログラムを格納するプログラム領域104pが用意されている。   FIG. 8 is a functional block diagram for processing image data according to the embodiment of the present invention. FIG. 9 is an explanatory diagram showing the format of the main memory 104. As shown in these figures, this format includes a multi-value band memory area 104a that is an area for storing multi-value RGB data for one band, a FLAGBIT memory area 104b corresponding to pixels in the multi-value band memory area, an image Binary band memory storage areas 104c, 104m, 104y, and 104k for C, M, Y, and K versions, which are areas for storing the processed binary, quaternary, and 16-value band information for each version. The C, M, Y, and K code page memory areas 104cc, 104cm, 104cy, 104ck, and the control program for the CPU 101, which are the page memory areas of the codes obtained by encoding the binary band memory data of each version for each version, A program area 104p for storage is prepared.

図8において、CPU101は多値バンドメモリ領域104aに多値RGBデータのバンドを描画する。画像処理装置110により多値バンドメモリ領域104aの多値RGBデータのバンドデータとFLAGBITメモリ領域104bのFLAGBITデータを読み込み、色変換処理や階調処理などを行い、階調処理後の画像を各版の2値バンドメモリ領域(104m〜104k)へ転送する。多値のRGBデータのバンドデータとFLAGBITデータと符号化装置111により求めたバンドごとの符号などを符号ページメモリ領域(104cc〜104ck)に格納する。符号化装置111により各版の2値バンドメモリ領域のデータを符号化し、メインメモリ104の各版の符号ページメモリ領域(104cc〜104ck)へ書き込む。各版の復号化装置112により、各版の符号ページメモリ領域(104cc〜104ck)から符号を読み込んで復号化し、各版のエンジンコントローラ113へ転送する。この画像にしたがって各プリンタエンジン114によって各色の画像形成を行なう。   In FIG. 8, the CPU 101 draws a band of multi-value RGB data in the multi-value band memory area 104a. The image processing device 110 reads the multi-value RGB data band data in the multi-value band memory area 104a and the FLAGBIT data in the FLAGBIT memory area 104b, and performs color conversion processing, gradation processing, etc. To the binary band memory area (104m to 104k). The band data of multi-value RGB data, FLAGBIT data, codes for each band obtained by the encoding device 111, and the like are stored in the code page memory area (104cc to 104ck). The data in the binary band memory area of each version is encoded by the encoding device 111 and written to the code page memory area (104 cc to 104 ck) of each version of the main memory 104. The decoding device 112 of each version reads the code from the code page memory area (104 cc to 104 ck) of each version, decodes it, and transfers it to the engine controller 113 of each version. Each printer engine 114 forms an image of each color according to this image.

図10は、本発明の実施の形態にかかる多値バンドデータの生成の様子を示すブロック図である。図10の矢印に示すように、CPU101はCPUI/F102、メモリコントローラ103を介してメインメモリ104にRGBバンドとFLAGBITデータを生成する。   FIG. 10 is a block diagram showing how multi-value band data is generated according to the embodiment of the present invention. As shown by the arrows in FIG. 10, the CPU 101 generates RGB bands and FLAGBIT data in the main memory 104 via the CPU I / F 102 and the memory controller 103.

図11は、本発明の実施の形態にかかる画像処理の様子を示すブロック図である。図11の矢印に示すように、CPU101は図1に示すような画像をプリントする場合、バンドごとに画像処理装置110の領域判定装置へ表2に示すようにバンド毎の各の領域を示す方形情報とその方形領域の属性情報(写真画像、文字、グラフィックスなど)と、その方形領域の重なりの優先順位とその方形情報がFLAGBITを有しているかを示すフレームタイプとFLAGBITを有している場合のFLAGBITメモリ領域104b上のベースアドレスであるFLAGBITBASEアドレスなどを送る。画像処理装置110はメインメモリ104の多値バンドメモリ領域104aから多値RGBを読み込み画像処理を行う。このとき、画像処理装置110は画像処理を行う画素が、前述の表2のように設定された方形領域情報にかかるかを判断し、かかる場合、その属性を求め2値バンドメモリ領域104c〜104kへ転送する。   FIG. 11 is a block diagram showing a state of image processing according to the embodiment of the present invention. As shown by the arrows in FIG. 11, when printing the image as shown in FIG. 1, the CPU 101 sends a square indicating each area for each band as shown in Table 2 to the area determination device of the image processing apparatus 110 for each band. Information and attribute information of the rectangular area (photograph image, character, graphics, etc.), priority of overlapping of the rectangular areas, and a frame type and FLAGBIT indicating whether the rectangular information has FLAGBIT The FLAGBITBASE address, which is the base address on the FLAGBIT memory area 104b, is sent. The image processing apparatus 110 reads multi-value RGB from the multi-value band memory area 104 a of the main memory 104 and performs image processing. At this time, the image processing apparatus 110 determines whether the pixel to be subjected to image processing is related to the rectangular area information set as shown in Table 2 above. In such a case, the attribute is obtained to obtain the binary band memory areas 104c to 104k. Forward to.

図12は、本発明の実施の形態にかかる符号化処理の様子を示すブロック図である。図12の矢印に示すように、符号化装置111は、メインメモリ104の各版2値バンドメモリ領域104c〜104kから階調処理後の画像を読み込み符号化する。符号化装置111は符号化されたデータをメインメモリ104の各版符号ページメモリ領域104cc〜104ckへ転送する。   FIG. 12 is a block diagram showing a state of the encoding process according to the embodiment of the present invention. As indicated by the arrows in FIG. 12, the encoding device 111 reads and encodes the gradation-processed images from the plate binary band memory areas 104c to 104k of the main memory 104. The encoding device 111 transfers the encoded data to the plate code page memory areas 104 cc to 104 ck of the main memory 104.

図13は、本発明の実施の形態にかかるプリント出力処理の様子を示すブロック図である。図13の矢印に示すように、各版の復号化処理装置112は、プリンタエンジン114に同期し、メインメモリ104の各版の符号ページメモリ領域104cc〜104ckから符号を読み込み復号化する。復号化処理装置112は各版の復号化された階調後のデータを各版のエンジンコントローラ113へ転送する。各版のエンジンコントローラ113は各版のプリンタエンジン114に同期し、データを各版のプリンタエンジン114へ転送する。   FIG. 13 is a block diagram showing a print output process according to the embodiment of the present invention. As indicated by the arrows in FIG. 13, each version of the decoding processor 112 reads and decodes the code from the code page memory areas 104 cc to 104 ck of each version of the main memory 104 in synchronization with the printer engine 114. The decryption processing device 112 transfers the decrypted gradation data of each version to the engine controller 113 of each version. Each version of the engine controller 113 transfers data to each version of the printer engine 114 in synchronization with each version of the printer engine 114.

つぎに、上述した各機能ブロックの詳細な構成および動作について説明する。図14は、本発明の実施の形態にかかる画像処理装置110の構成を示すブロック図である。図示するように、この画像処理装置110は、メモリコントローラI/F125、RGBデータを一時格納するBUF(バッファ)126、FLAGBITデータを一時格納するBUF(バッファ)127、色変換処理装置128、階調処理装置129、2値CMYKプレーンデータを一時格納するBUF(バッファ)130、DELAY(ディレイバッファ)131、画素属性生成装置132、メモリアドレス生成装置133、コントローラ134を備えている。   Next, the detailed configuration and operation of each functional block described above will be described. FIG. 14 is a block diagram showing a configuration of the image processing apparatus 110 according to the embodiment of the present invention. As illustrated, the image processing apparatus 110 includes a memory controller I / F 125, a BUF (buffer) 126 for temporarily storing RGB data, a BUF (buffer) 127 for temporarily storing FLAGBIT data, a color conversion processing apparatus 128, a gradation. The processing device 129 includes a BUF (buffer) 130, a DELAY (delay buffer) 131, a pixel attribute generation device 132, a memory address generation device 133, and a controller 134 that temporarily store binary CMYK plane data.

メモリコントローラI/F125は、メインメモリ104の多値バンドメモリ領域104aから画像データを受け取り、色変換処理装置128と階調処理装置129へ転送し、階調処理後のデータをメインメモリ104の各版の2値バンドメモリ領域104c〜104kへ転送する。また、画素属性生成装置132からアドレスを受け取り、メインメモリ104のFLAGBITメモリ領域104bからFLAGBITデータを読み込み画素属性生成装置132へ転送する。BUF126はメモリコントローラI/F125から受け取った多値バンドの画像データを一時格納する。BUF127はメモリコントローラI/F125から受け取ったFLAGBITデータを一時格納する。   The memory controller I / F 125 receives image data from the multilevel band memory area 104 a of the main memory 104, transfers the image data to the color conversion processing device 128 and the gradation processing device 129, and the data after gradation processing is stored in each main memory 104. Transfer to the binary band memory areas 104c to 104k of the plate. The address is received from the pixel attribute generation device 132, and FLAGBIT data is read from the FLAGBIT memory area 104 b of the main memory 104 and transferred to the pixel attribute generation device 132. The BUF 126 temporarily stores the multi-value band image data received from the memory controller I / F 125. The BUF 127 temporarily stores the FLAGBIT data received from the memory controller I / F 125.

色変換処理装置128は、メインメモリ104の多値バンドメモリ領域104aから順次、画像データを読み込んで色変換処理を行い、階調処理装置129へ転送する。この色変換処理装置128の詳細について後述する。階調処理装置129は、色変換処理装置128からの色変換処理後のデータを受け取って階調処理を行い、BUF30へ転送する。この階調処理装置129の詳細について後述する。   The color conversion processing device 128 sequentially reads image data from the multi-value band memory area 104 a of the main memory 104, performs color conversion processing, and transfers the image data to the gradation processing device 129. Details of the color conversion processing device 128 will be described later. The gradation processing device 129 receives the data after color conversion processing from the color conversion processing device 128, performs gradation processing, and transfers the data to the BUF 30. Details of the gradation processing device 129 will be described later.

BUF130は、階調処理装置129から受け取った階調処理後データを一時 格納する。DLAY(ディレイバッファ)131は、画素属性生成装置132からの画素属性FLAGを色変換処理装置128のパイプライン分だけデイレイさせる。画素属性生成装置132は、CPU101からの表2に示すようなコマンドを受け取り、色変換処理装置128、階調処理装置129が処理する画素の属性を生成する。メモリアドレス生成装置133は、メインメモリ104の多値バンドメモリ領域104aのアドレスと、各版の2値バンドメモリ領域104c〜104kのアドレスを生成する。コントローラ134は、画像処理装置110の全体を制御する。   The BUF 130 temporarily stores the data after gradation processing received from the gradation processing device 129. The DRAY (delay buffer) 131 delays the pixel attribute FLAG from the pixel attribute generation device 132 by the pipeline of the color conversion processing device 128. The pixel attribute generation device 132 receives a command as shown in Table 2 from the CPU 101 and generates an attribute of a pixel to be processed by the color conversion processing device 128 and the gradation processing device 129. The memory address generation device 133 generates an address of the multi-level band memory area 104a of the main memory 104 and addresses of the binary band memory areas 104c to 104k of the respective versions. The controller 134 controls the entire image processing apparatus 110.

図15は、図14における画像処理装置110の画素属性生成装置132の構成を示すブロック図である。この画素属性生成装置132は、水平画素カウント装置135、垂直画素カウント装置136、方形情報記憶装置137、領域判定装置138、FLAGBITアドレス生成装置139、コントローラ140を備えている。   FIG. 15 is a block diagram illustrating a configuration of the pixel attribute generation device 132 of the image processing device 110 in FIG. The pixel attribute generation device 132 includes a horizontal pixel count device 135, a vertical pixel count device 136, a rectangular information storage device 137, an area determination device 138, a FLAGBIT address generation device 139, and a controller 140.

水平画素カウント装置135は、色変換処理装置128が処理する画素の水平画素値をカウントして水平画素数を出力する。垂直画素カウント装置136は、色変換処理装置128が処理する画素の垂直画素値をカウントして垂直画素数を出力する。方形情報記憶装置137は、表2に示すようにバンドの各の領域を示す方形情報とその方形領域の属性情報(写真画像、文字、グラフィックスなど)と、その方形領域の重なりの優先順位とその方形情報がFLAGBITを有しているかを示すフレームタイプとFLAGBITを有している場合のFLAGBITメモリ領域104b上のベースアドレスであるFLAGBITBASEアドレスなどを格納する。この方形情報記憶装置137の詳細については後述する。   The horizontal pixel counting device 135 counts the horizontal pixel value of the pixel processed by the color conversion processing device 128 and outputs the number of horizontal pixels. The vertical pixel counting device 136 counts the vertical pixel values of the pixels processed by the color conversion processing device 128 and outputs the number of vertical pixels. As shown in Table 2, the square information storage device 137 has rectangular information indicating each area of the band, attribute information (photo image, character, graphics, etc.) of the rectangular area, and priority of overlapping of the rectangular areas. A frame type indicating whether the square information has FLAGBIT, a FLAGBITBASE address which is a base address on the FLAGBIT memory area 104b in the case of having FLAGBIT, and the like are stored. Details of the rectangular information storage device 137 will be described later.

領域判定装置138は、水平画素カウント装置135から水平画素数を、垂直画素カウント装置136から垂直画素数を受け取り、現在の処理中の画素が、方形情報記憶装置137からの各属性の領域を示す方形情報とその優先順位とから処理する画素のかかる領域の最上位(複数領域が重なる場合は優先順位が最も高い)の領域の属性とつぎの領域(最上位の領域に対して、優先順位が1つ低い領域)の属性を求め、もし、最上位の領域がFLAGBITを有する領域であれば、FLAGBITアドレス生成装置139へ最上位領域番号を送って処理する画素に対応するFLAGBITデータを読み込み、FLAGBITデータの値により、最上位の属性か、次の属性であるかを判断し、色変換処理装置は画素の属性情報を送る。この領域判定装置138の詳細については後述する。   The area determination device 138 receives the number of horizontal pixels from the horizontal pixel counting device 135 and the number of vertical pixels from the vertical pixel counting device 136, and the pixel currently being processed indicates an area of each attribute from the rectangular information storage device 137. From the rectangular information and its priority, the attribute of the highest area of the area to be processed (the highest priority is given when multiple areas overlap) and the next area (the priority is higher than the highest area). If the uppermost area has FLAGBIT, the FLAGBIT data corresponding to the pixel to be processed is read by sending the uppermost area number to the FLAGBIT address generator 139, and FLAGBIT is read. Based on the data value, it is determined whether the attribute is the highest attribute or the next attribute, and the color conversion processing device sends pixel attribute information. Details of the area determination device 138 will be described later.

FLAGBITアドレス生成装置139は、水平画素カウント装置135から水平画素数を、垂直画素カウント装置136から垂直画素数を受け取り、現在の処理中の画素が、方形情報記憶装置137からの各属性の領域を示す方形情報とメインメモリ104のFLAGBITメモリ領域104bの各方形領域のFLAGBITのベースアドレスを受け取り、領域判定装置138から最上位の領域番号を受け取り、現在処理中における画素のFLAGBITメモリ領域104bのアドレスを生成し、メモリコントローラI/F125に送る。このFLAGBITアドレス生成装置139の詳細については後述する。コントローラ140は、この画素属性生成装置132を制御する。   The FLAGBIT address generation device 139 receives the number of horizontal pixels from the horizontal pixel counting device 135 and the number of vertical pixels from the vertical pixel counting device 136, and the currently processed pixel stores the area of each attribute from the rectangular information storage device 137. The square information shown and the FLAGBIT base address of each square area of the FLAGBIT memory area 104b of the main memory 104 are received, the highest area number is received from the area determination device 138, and the address of the FLAGBIT memory area 104b of the pixel currently being processed is received. It is generated and sent to the memory controller I / F 125. Details of the FLAGBIT address generation device 139 will be described later. The controller 140 controls the pixel attribute generation device 132.

つぎに、以上のように構成された画素属性生成装置132の動作について図16のフローチャートを参照し、説明する。この動作はコントローラ140によって制御される。また、画像および処理例として前述した図1〜図4および表2を例にとる。まず、水平画素カウント装置135および垂直画素カウント装置136の各画素数を初期化し(ステップS1)、多値バンド内の複数の写真画像領域、文字領域、グラフィックス領域の方形領域を設定する(ステップS2)。続いて、細部の領域が方形でない文字領域、グラフィックス領域の細部を示すために方形内のFLAGBITをFLAGBIT領域へ設定する(ステップS3)。さらに水平画素数を0とし(ステップS4)、領域判定装置138により、設定された複数の方形領域に多値バンドの位置を示す水平画素数、垂直画素数が含む領域番号を求め(ステップS5)、この領域番号の中で最も優先順位の高い領域番号である最上位領域番号と次の優先順位である下位領域番号を求める(ステップS6)。   Next, the operation of the pixel attribute generation device 132 configured as described above will be described with reference to the flowchart of FIG. This operation is controlled by the controller 140. Further, as an example of the image and the processing example, FIGS. 1 to 4 and Table 2 described above are taken as examples. First, the numbers of pixels of the horizontal pixel counting device 135 and the vertical pixel counting device 136 are initialized (step S1), and a plurality of photographic image areas, character areas, and graphics areas in the multi-value band are set (step S1). S2). Subsequently, the FLAGBIT in the square is set to the FLAGBIT area in order to show the details of the character area and the graphics area where the detail area is not square (step S3). Further, the number of horizontal pixels is set to 0 (step S4), and the region determination device 138 obtains the region number included in the number of horizontal pixels and the number of vertical pixels indicating the position of the multi-value band in the set square regions (step S5). In this area number, the highest area number which is the highest priority area number and the lower priority area number which is the next priority are obtained (step S6).

続いて、この最上位領域番号の領域はFLAGBITを有する領域であるか否かを判断する(ステップS7)。ここで、最上位領域番号の領域がFLAGBITを有する領域であると判断した場合、FLAGBIT領域のアドレスを求めメインメモリ104のFLAGBIT領域からFLAGBITデータを読み込む(ステップS8)。一方、最上位領域番号の領域がFLAGBITを有する領域ではないと判断した場合、最上位領域の属性をその画素の属性とし(ステップS9)、ステップS13に進む。   Subsequently, it is determined whether or not the region having the highest region number is a region having FLAGBIT (step S7). If it is determined that the area with the highest area number is an area having FLAGBIT, the address of the FLAGBIT area is obtained and the FLAGBIT data is read from the FLAGBIT area of the main memory 104 (step S8). On the other hand, if it is determined that the region with the highest region number is not a region having FLAGBIT, the attribute of the highest region is set as the attribute of the pixel (step S9), and the process proceeds to step S13.

ステップS8の処理を実行した後、さらにFLAGBITデータは1であるか否かを判断する(ステップS10)。ここで、FLAGBITデータ=1であれば、最上位領域の属性をその画素の属性とし(ステップS11)、一方、FLAGBITデータが1でなければ、下位領域の属性をその画素の属性とする(ステップS12).このステップS11あるいはステップS12を実行した後、水平画素数を1つ進ませ(ステップS13)、その水平画素数が多値バンド水平幅になったか否かを判断する(ステップS14)。ここで、水平画素数=多値バンド水平幅であれば、垂直画素数を1つ進ませ(ステップS15)、その垂直画素数が多値バンド垂直幅になったか否かを判断する(ステップS16)。ここで、垂直画素数=多値バンド垂直幅であればこの処理を終了する。また、ステップS14において水平画素数が多値バンド水平幅になっていない場合にはステップS5に戻り、ステップS16において垂直画素数が多値バンド垂直幅になっていない場合にはステップS5に戻る。   After executing the process of step S8, it is further determined whether or not the FLAGBIT data is 1 (step S10). If FLAGBIT data = 1, the attribute of the uppermost area is set as the attribute of the pixel (step S11). On the other hand, if FLAGBIT data is not 1, the attribute of the lower area is set as the attribute of the pixel (step S11). S12). After executing step S11 or step S12, the number of horizontal pixels is incremented by one (step S13), and it is determined whether or not the number of horizontal pixels has reached the multi-value band horizontal width (step S14). Here, if the number of horizontal pixels = the multi-value band horizontal width, the number of vertical pixels is incremented by one (step S15), and it is determined whether or not the number of vertical pixels has reached the multi-value band vertical width (step S16). ). Here, if the number of vertical pixels = the multi-value band vertical width, this process is terminated. If the number of horizontal pixels is not the multi-value band horizontal width in step S14, the process returns to step S5. If the number of vertical pixels is not the multi-value band vertical width in step S16, the process returns to step S5.

図17は、図15における方形情報記憶装置137の構成を示すブロック図である。この方形情報記憶装置137は、デコーダ141、方形情報格納レジスタ142,143,144,145,146、レジスタ147を備えている。   FIG. 17 is a block diagram showing a configuration of the rectangular information storage device 137 in FIG. This rectangular information storage device 137 includes a decoder 141, rectangular information storage registers 142, 143, 144, 145, 146, and a register 147.

デコーダ141は、CPU101からのアドレスをデコードし、方形情報格納レジスタ142,143,144,145,146を選択する。方形情報格納レジスタ142は、0番目の方形情報を格納する。このレジスタは、図2に示すように各領域をXS,YSが領域の左上を示し、XE,YEが領域の右下を示す。すなわち、XS,YSは各領域のX座標の左/右端を示し、YS,YEはY座標の上/下を示す。属性情報は0番目のXS,XE,YS,YEの示す方形領域内の属性情報(写真画像、文字、グラフィックス画像など)を示す。(表2に図2のバンドでの例を示す。)   The decoder 141 decodes the address from the CPU 101 and selects the square information storage registers 142, 143, 144, 145, and 146. The square information storage register 142 stores the 0th square information. In this register, as shown in FIG. 2, XS and YS indicate the upper left of each area, and XE and YE indicate the lower right of the area. That is, XS and YS indicate the left / right ends of the X coordinate of each region, and YS and YE indicate the top / bottom of the Y coordinate. The attribute information indicates attribute information (photo image, character, graphics image, etc.) in the square area indicated by the 0th XS, XE, YS, YE. (Table 2 shows an example of the band in FIG. 2)

フレームタイプは、0番目のXS,XE,YS,YEの示す方形領域がFLAGBITデータを有するかを示す。図4にFLAGBITメモリのデータの例を示す。(表2に図2のバンドでの例を示す。この例では文字、グラフィックス属性を持つ領域はフレームタイプが"1"であり、FLAGBITデータを有する。)   The frame type indicates whether the square area indicated by the 0th XS, XE, YS, or YE has FLAGBIT data. FIG. 4 shows an example of data in the FLAGBIT memory. (Table 2 shows an example of the band in FIG. 2. In this example, the area having the character and graphics attributes has the frame type “1” and has FLAGBIT data.)

優先順位は0番目のXS,XE,YS,YEの示す方形領域の優先順位である。(図2のバンドの例では領域"0"の中に領域"3"があり、表2に示すように領域"3"は領域"1"より、優先順位が高い。)FLAGBITBASEアドレスは0番目のXS,XE,YS,YEの示す方形領域がFLAGBITデータを有する場合にFLAGBITメモリの図4に示すようなFLAGBITデータのベースアドレスである。   The priority order is the priority order of the square areas indicated by the 0th XS, XE, YS, and YE. (In the example of the band in FIG. 2, there is a region “3” in the region “0”, and the region “3” has a higher priority than the region “1” as shown in Table 2.) FLAGBITBASE address is 0th When the rectangular area indicated by XS, XE, YS, YE has FLAGBIT data, it is the base address of the FLAGBIT data as shown in FIG. 4 of the FLAGBIT memory.

方形情報格納レジスタ143は、1番目の方形情報を格納する。方形情報格納レジスタ144は、2番目の方形情報を格納する。方形情報格納レジスタ145は、3番目の方形情報を格納する。方形情報格納レジスタ146は、n番目の方形情報を格納する。有効数を格納するレジスタ147は、たとえば"1"であれば、方形情報格納レジスタの0番目までに情報が入っていることを示し、たとえば"3"であれば、方形情報格納レジスタの0,1,2番目までに情報が入っていることを示し、たとえば"0"であれば、領域がないことを示す。   The square information storage register 143 stores the first square information. The square information storage register 144 stores the second square information. The square information storage register 145 stores the third square information. The square information storage register 146 stores the nth square information. For example, if the register 147 for storing the effective number is “1”, it indicates that information is contained in the square information storage register by the 0th position. If “3”, for example, 0, 1 and 2 indicate that information is contained. For example, “0” indicates that there is no area.

図18は、図15における領域判定装置138の構成を示すブロック図である。この領域判定装置138は、方形領域判定処理装置150,151,152、優先順位判定装置153、画素属性判定装置154を備えている。   FIG. 18 is a block diagram showing the configuration of the area determination device 138 in FIG. The area determination device 138 includes square area determination processing devices 150, 151, and 152, a priority order determination device 153, and a pixel attribute determination device 154.

0番目の領域判定処理装置150は、方形情報記憶装置137から0番目の領域情報と、その有効数と、処理する画素の水平、垂直画素値を受け取り、0番目の領域に処理画素が入るかを判断し、判定結果とその優先順位を優先順位判定装置153へ転送する。1番目の領域判定処理装置151は、方形情報記憶装置137から1番目の領域情報と、その有効数と、処理する画素の水平、垂直画素値を受け取り、1番目の領域に処理画素が入るかを判断し、判定結果とその優先順位を優先順位判定装置153へ転送する。n番目の領域判定処理装置152は、方形情報記憶装置137から7番目の領域情報と、その有効数と、処理する画素の水平、垂直画素値を受け取り、n番目の領域に処理画素が入るかを判断し、判定結果とその優先順位を優先順位判定装置153へ転送する。   The 0th area determination processing device 150 receives the 0th area information, its effective number, the horizontal and vertical pixel values of the pixel to be processed from the square information storage device 137, and determines whether the processing pixel enters the 0th area. And the determination result and its priority are transferred to the priority determination device 153. The first region determination processing device 151 receives the first region information, the effective number thereof, and the horizontal and vertical pixel values of the pixel to be processed from the rectangular information storage device 137, and determines whether the processing pixel enters the first region. And the determination result and its priority are transferred to the priority determination device 153. The nth region determination processing device 152 receives the seventh region information, its effective number, the horizontal and vertical pixel values of the pixel to be processed from the square information storage device 137, and determines whether the processing pixel enters the nth region. And the determination result and its priority are transferred to the priority determination device 153.

優先順位判定装置153は、方形領域判定処理装置150〜152からの判定結果とその優先順位を受け取り最上位領域番号とその属性(最上位属性)とそのフレームタイプ(最上位フレームタイプ)、領域が重なる場合に最上位の次の属性(次の属性)を求め、画素属性判定装置154へ転送し、最上位領域番号をFLAGBITアドレス生成装置139へ転送する。   The priority determination device 153 receives the determination results from the rectangular region determination processing devices 150 to 152 and their priorities, and receives the highest region number, its attribute (most attribute), its frame type (highest frame type), and region. If they overlap, the highest next attribute (next attribute) is obtained and transferred to the pixel attribute determination device 154, and the highest region number is transferred to the FLAGBIT address generation device 139.

画素属性判定装置154は、優先順位判定装置153から最上位属性と次の属性と最上位フレームタイプとを受け取り、FLAGBITアドレス生成装置139により、アドレス指定されたメインメモリ104の図4に示すようなFLAGBITデータから、処理する画素のFLAGBITデータを受け取って画素の属性を求め、色変換処理装置128へ転送する。   The pixel attribute determination device 154 receives the highest attribute, the next attribute, and the highest frame type from the priority determination device 153, and the FLAGBIT address generation device 139 stores the addressed main memory 104 as shown in FIG. The FLAGBIT data of the pixel to be processed is received from the FLAGBIT data, the attribute of the pixel is obtained, and transferred to the color conversion processing device 128.

図19は、図18における方形流域判定処理装置150〜152の構成を示すブロック図である。この方形領域判定処理装置150〜152は、XSと水平画素数とを比較する比較装置155、水平画素数とXEとを比較する比較装置156、YSと垂直画素数とを比較する比較装置157、垂直画素数とYEとを比較する比較装置158、方形番号と有効数とを比較する比較装置159、これら比較装置156〜159の比較結果からAND処理を行ない領域判定結果を出力するAND装置160を備えている。   FIG. 19 is a block diagram illustrating the configuration of the rectangular basin determination processing devices 150 to 152 in FIG. 18. The rectangular area determination processing devices 150 to 152 include a comparison device 155 that compares XS and the number of horizontal pixels, a comparison device 156 that compares the number of horizontal pixels and XE, and a comparison device 157 that compares YS and the number of vertical pixels. A comparison device 158 that compares the number of vertical pixels with YE, a comparison device 159 that compares a square number with an effective number, an AND device 160 that performs AND processing from the comparison results of these comparison devices 156 to 159 and outputs a region determination result I have.

すなわち、比較装置155,156は、処理する画素の水平画素値が領域に入っているかを判定する。比較装置157,158は、処理する画素の垂直画素値が領域に入っているかを判定する。比較装置159は、方形領域判定処理装置150〜152の処理する情報が有効であるかを判定する。AND装置160は、比較装置156〜159の判定結果が全てOKであれば、この領域に処理する画素が入っていることになる。   That is, the comparison devices 155 and 156 determine whether or not the horizontal pixel value of the pixel to be processed falls within the area. The comparison devices 157 and 158 determine whether the vertical pixel value of the pixel to be processed falls within the area. The comparison device 159 determines whether the information processed by the square area determination processing devices 150 to 152 is valid. If the determination results of the comparison devices 156 to 159 are all OK, the AND device 160 has a pixel to be processed in this area.

図20は、図18における優先順位判定装置153の構成を示すブロック図である。この優先順位判定装置153は、MUX(マルチプレクサ)161〜163、優先順位比較装置164、MUX(マルチプレクサ)165〜167を備えている。   FIG. 20 is a block diagram showing the configuration of the priority determination device 153 in FIG. The priority order determination device 153 includes MUXs (multiplexers) 161 to 163, a priority order comparison device 164, and MUXs (multiplexers) 165 to 167.

MUX161は、方形領域判定処理装置150からの領域判定結果に基づいて、領域内であれば、方形領域判定処理装置150からの優先順位を優先順位比較装置164へ転送し、領域外であれば、最低の優先順位値を転送する。MUX162は、方形領域判定処理装置151からの領域判定結果に基づいて、領域内であれば、方形領域判定処理装置151からの優先順位を優先順位比較装置164へ転送し、領域外であれば、最低の優先順位値を転送する。MUX163は、方形領域判定処理装置153からの領域判定結果に基づいて、領域内であれば、方形領域判定処理装置153からの優先順位を優先順位比較装置164へ転送し、領域外であれば、最低の優先順位値を転送する。   Based on the area determination result from the square area determination processing device 150, the MUX 161 transfers the priority from the rectangular area determination processing device 150 to the priority comparison device 164 if it is within the area, and if it is outside the area, Transfer the lowest priority value. Based on the area determination result from the square area determination processing device 151, the MUX 162 transfers the priority from the rectangular area determination processing device 151 to the priority comparison device 164 if it is within the area, and if it is out of the area, Transfer the lowest priority value. Based on the area determination result from the square area determination processing device 153, the MUX 163 transfers the priority from the rectangular area determination processing device 153 to the priority comparison device 164 if it is within the region, and if it is outside the region, Transfer the lowest priority value.

優先順位比較装置164は、方形領域判定処理装置150,151,152からの優先順位から、最上位の優先順位の領域番号と次の優先順位の領域番号を求める。MUX165は、優先順位比較装置164からの最上位領域番号により、方形領域判定装置150,151,152からの各領域の属性値から最上位属性を選択する。MUX166は、優先順位比較装置164からの次の領域番号により、方形領域判定装置からの各領域の属性値から次の属性を選択する。MUX167は、優先順位比較装置164からの最上位領域番号により、方形領域判定装置150,151,152からの各領域のフレームタイプ値から最上位フレームタイプを選択する。   The priority comparison device 164 obtains the region number of the highest priority and the region number of the next priority from the priorities from the square region determination processing devices 150, 151, and 152. The MUX 165 selects the highest attribute from the attribute values of each area from the rectangular area determination devices 150, 151, and 152 based on the highest area number from the priority comparison device 164. The MUX 166 selects the next attribute from the attribute value of each area from the rectangular area determination device based on the next area number from the priority order comparison device 164. The MUX 167 selects the highest frame type from the frame type values of the respective areas from the rectangular area determination devices 150, 151, and 152 based on the highest region number from the priority comparison device 164.

図21は、図18における画素属性判定装置154の構成を示すブロック図である。この画素属性判定装置154は、レジスタ168、インバータ169、レジスタ170〜171、AND装置172、MUX(マルチプレクサ)173を備えている。   FIG. 21 is a block diagram showing a configuration of the pixel attribute determination device 154 in FIG. The pixel attribute determination device 154 includes a register 168, an inverter 169, registers 170 to 171, an AND device 172, and a MUX (multiplexer) 173.

レジスタ168は、優先順位判定装置153からの最上位フレームタイプ値を一時格納する。インバータ169は、レジスタ168に格納されたの最上位フレームタイプ値を反転する。レジスタ170は、優先順位判定装置153からの最上位属性値を一時格納する。レジスタ171は、優先順位判定装置153からの次の属性値を一時格納する。AND装置172は、最上位フレームが"0"(最上位の領域はFLAGBITデータを持たない)であるか、最上位フレームが"1"(最上位の領域はFLAGBITデータを持つ)でかつFLAGBITデータ値が"1"(最上位属性を持つ)である場合はMUX173により、最上位の属性を選択し、最上位フレームが"1"でかつFLAGBITデータ値が"0"(次の優先順位の領域の属性を持つ)である場合はMUX173により次の属性を選択させる。MUX173は、AND回路172からの制御信号によりレジスタ値を選択する。   The register 168 temporarily stores the highest frame type value from the priority determination device 153. Inverter 169 inverts the most significant frame type value stored in register 168. The register 170 temporarily stores the highest attribute value from the priority determination device 153. The register 171 temporarily stores the next attribute value from the priority determination device 153. The AND device 172 determines whether the most significant frame is “0” (the most significant area has no FLAGBIT data) or the most significant frame is “1” (the most significant area has FLAGBIT data) and FLAGBIT data. When the value is “1” (having the highest attribute), the highest attribute is selected by MUX 173, the highest frame is “1”, and the FLAGBIT data value is “0” (the next priority area) The next attribute is selected by the MUX 173. The MUX 173 selects a register value based on a control signal from the AND circuit 172.

図22は、図15におけるFLAGBITアドレス生成装置139の構成を示すブロック図である。このFLAGBITアドレス生成装置139は、MUX(マルチプレクサ)174、FLAGBITアドレス処理装置175を備えている。   FIG. 22 is a block diagram showing a configuration of the FLAGBIT address generation device 139 in FIG. The FLAGBIT address generation device 139 includes a MUX (multiplexer) 174 and a FLAGBIT address processing device 175.

MUX174は、領域判定装置138からの最上位領域番号により、方形情報記憶装置137からの各領域のXS,XE,YS,YEの方形領域情報とメインメモリ104のFLAGBITメモリ領域の各方形領域のFLAGBITBASEアドレスを選択し、最上位のXS,XE,YS,YEの方形領域情報とFLAGBITBASEアドレスを選択する。FLAGBITアドレス処理装置175は、図15に示した水平画素カウント装置135の水平画素、垂直画素カウント装置136の垂直画素の値とMUX174からの最上位領域のXS,XE,YS,YEの方形領域情報とFLAGBITBASEアドレスから、図23に示すような演算を行い、処理する画素のFLAGBITメモリのアドレスを求める。   The MUX 174 determines the XS, XE, YS, and YE square area information from the square information storage device 137 and the FLAGBITBASE of each square area of the FLAGBIT memory area of the main memory 104 based on the highest area number from the area determination device 138. The address is selected, and the uppermost XS, XE, YS, YE square area information and the FLAGBITBASE address are selected. The FLAGBIT address processing unit 175 has the horizontal pixel value of the horizontal pixel counting unit 135 and the vertical pixel value of the vertical pixel counting unit 136 shown in FIG. 15 and the XS, XE, YS, YE square area information of the uppermost area from the MUX 174. And the FLAGBITBASE address, an operation as shown in FIG. 23 is performed to obtain the FLAGBIT memory address of the pixel to be processed.

図24は、図22におけるFLAGBITアドレス処理装置175の構成を示すブロック図である。このFLAGBITアドレス処理装置175は、減算器176〜178、乗算器179、加算器180,181を備えている。   FIG. 24 is a block diagram showing the configuration of the FLAGBIT address processing device 175 in FIG. The FLAGBIT address processing device 175 includes subtracters 176 to 178, a multiplier 179, and adders 180 and 181.

減算器176は、図23に示すようにFLAGBITメモリの指定領域における水平方向のX幅を求める。減算器177は、図23に示すようにFLAGBITメモリの指定領域における垂直方向の画素のY幅を求める。減算器178は、図23に示すようにFLAGBITメモリの指定領域における水平方向の画素のX幅を求める。乗算器179は、減算器176と減算器177の出力を乗算する。加算器180は、図23に示すようにFLAGBITメモリのベースアドレスからの相対的な画素のアドレスを求める。加算器181は、図23に示すように加算器180で求めた相対アドレスにFLAGBITメモリ上の領域のFLAGBITベースアドレスを加算し、画素のFLAGBITメモリ上の絶対アドレスであるFLAGBITアドレスを求める。   The subtractor 176 obtains the horizontal X width in the specified area of the FLAGBIT memory as shown in FIG. As shown in FIG. 23, the subtractor 177 obtains the Y width of the pixel in the vertical direction in the designated area of the FLAGBIT memory. The subtractor 178 obtains the X width of the horizontal pixel in the specified area of the FLAGBIT memory as shown in FIG. Multiplier 179 multiplies the outputs of subtracter 176 and subtractor 177. The adder 180 obtains the relative pixel address from the base address of the FLAGBIT memory as shown in FIG. As shown in FIG. 23, the adder 181 adds the FLAGBIT base address of the area on the FLAGBIT memory to the relative address obtained by the adder 180, and obtains the FLAGBIT address which is the absolute address on the FLAGBIT memory of the pixel.

図25は、図14における色変換処理装置128の構成を示すブロック図である。この色変換処理装置128は、格子点選択装置182、格子点補間処理装置183、色変換テーブルメモリ184、格子点アドレス生成装置185、データ切り出し装置186を備えている。   FIG. 25 is a block diagram showing the configuration of the color conversion processing device 128 in FIG. The color conversion processing device 128 includes a lattice point selection device 182, a lattice point interpolation processing device 183, a color conversion table memory 184, a lattice point address generation device 185, and a data cutout device 186.

格子点選択装置182は、CPU101から画像(RGB)データを受け取り、各R,G,B成分を上位NBIT,下位8−NBITに分割し、それぞれをHR,G,BDR,G,Bとし、8個の格子点からなる立方体の6個の四面体のどの四面体に相当するかを判断し、TYPEとし、格子点アドレス生成装置185と格子点補間処理装置183へ転送する。   The lattice point selection device 182 receives image (RGB) data from the CPU 101, divides each R, G, B component into upper NBIT and lower 8-NBIT, which are designated as HR, G, BDR, G, B, 8 It is determined which of the six tetrahedrons of a cube made up of a number of grid points corresponds to TYPE, and is transferred to the grid point address generation unit 185 and the grid point interpolation processing unit 183.

格子点補間処理装置183は、データ切り出し装置186からの補間する四面体の4点の格子点におけるC,M,Y,K値とから格子点選択装置182のDR,DG,DBで補間し、C,M,Y,Kデータを求める。色変換テーブルメモリ184は、格子点情報を後述する図34のフォーマットで格納し、格子点アドレス生成装置185は、アドレスを受け取り、格子点情報をデータ切り出し装置186へ転送する。図35に各格子点データのフォーマットを示す。   The lattice point interpolation processing device 183 interpolates with the DR, DG, DB of the lattice point selection device 182 from the C, M, Y, K values at the four lattice points of the tetrahedron to be interpolated from the data cutout device 186, Obtain C, M, Y, K data. The color conversion table memory 184 stores the grid point information in the format shown in FIG. 34 described later, and the grid point address generation device 185 receives the address and transfers the grid point information to the data cutout device 186. FIG. 35 shows the format of each grid point data.

格子点アドレス生成装置185は、格子点選択装置182からのHR,G,BとHRU,GU,BUとTYPEと画素属性生成装置132(図14参照)からの画素属性から、色変換テーブルメモリ184の格子点アドレスを求める。データ切り出し装置186は、色変換テーブルメモリ184から受け取った格子点データを格子点補間処理装置183で補間するための4つのパラメータを切り出す。   The grid point address generation device 185 uses the HR, G, B and HRU, GU, BU, and TYPE from the grid point selection device 182 and the pixel attribute from the pixel attribute generation device 132 (see FIG. 14), and the color conversion table memory 184. Find the grid point address. The data cutout device 186 cuts out four parameters for interpolating the lattice point data received from the color conversion table memory 184 by the lattice point interpolation processing device 183.

図26は、図25の色変換処理装置128の動作を示すフローチャートであり、コントローラ134により実行される。まず、格子点選択装置182により入力された画像(RGB)データを上位NBITをHR,G,Bへ下位(8−N)BITをDR,G,Bへ変換する(ステップS21)。続いて、格子点選択装置182により、求めたHR,G,BからTYPEを求める(ステップS22)。さらに格子点アドレス生成装置185により格子点アドレスを求める(ステップS23)。続いて、色変換テーブルメモリ184から格子点データを読み込み(ステップS24)、格子点補間処理装置183により格子点データ間の補間処理を行いC,M,Y,Kデータを求める(ステップS25)。   FIG. 26 is a flowchart showing the operation of the color conversion processing device 128 of FIG. First, the image (RGB) data input by the lattice point selection device 182 is converted from upper NBIT to HR, G, B and lower (8-N) BIT to DR, G, B (step S21). Subsequently, TYPE is obtained from the obtained HR, G, B by the lattice point selection device 182 (step S22). Further, a lattice point address is obtained by the lattice point address generation device 185 (step S23). Subsequently, the grid point data is read from the color conversion table memory 184 (step S24), and the grid point interpolation processor 183 performs an interpolation process between the grid point data to obtain C, M, Y, K data (step S25).

図27は、図25における格子点選択装置182の構成を示すブロック図である。この格子点選択装置182は、図31のフローチャートに示すようなステップS61〜ステップS74を実行する。   FIG. 27 is a block diagram showing a configuration of the lattice point selection device 182 in FIG. The lattice point selection device 182 executes steps S61 to S74 as shown in the flowchart of FIG.

図28は、図25における格子点補間処理装置183の構成を示すブロック図である。この格子点補間処理装置183は、色変換テーブルメモリ184からの補間する四面体における4点の格子点のC,M,Y,KとTYPEの値により差分データを生成する差分データ生成装置186と、差分データ生成装置186で求めた差分データと格子点選択装置182からのDR,G,Bデータから補間処理を行う補間装置187とを備えている。   FIG. 28 is a block diagram showing the configuration of the lattice point interpolation processing device 183 in FIG. This lattice point interpolation processing device 183 includes a difference data generation device 186 that generates difference data based on the values of C, M, Y, K, and TYPE of the four lattice points in the tetrahedron to be interpolated from the color conversion table memory 184. And an interpolation device 187 for performing interpolation processing from the difference data obtained by the difference data generation device 186 and the DR, G, B data from the grid point selection device 182.

図29−1〜図29−2は、図28における補間装置187の構成を示すブロック図であり、C,M,Y,K毎のブロックに分けて示している。この補間装置187は、C色の補間処理を行なう乗算器191〜193、加算器194〜196と、M色の補間を行なう乗算器197〜199、加算器200〜202と、Y色の補間を行なう乗算器204〜206、加算器207〜209と、K色の補間を行なう乗算器210〜212、加算器213〜215と、を備えている。   29A to 29B are block diagrams illustrating the configuration of the interpolating device 187 in FIG. 28, which are divided into C, M, Y, and K blocks. This interpolation device 187 includes multipliers 191 to 193 and adders 194 to 196 that perform C color interpolation processing, multipliers 197 to 199 that perform M color interpolation, and adders 200 to 202, and Y color interpolation. Multipliers 204 to 206 to be performed, adders 207 to 209, multipliers 210 to 212 to perform K color interpolation, and adders 213 to 215 are provided.

これらの図において、乗算器191〜193は、格子点選択装置182からのDR,G,Bデータと差分データの格子点差分1,2,3Cをそれぞれ乗算する。加算器194〜196は、乗算器191〜193の乗算結果と格子点データ00Cと加算する。乗算器197〜199は、格子点選択装置182からのDR,G,Bデータと差分データの格子点差分1,2,3Mをそれぞれ乗算する。加算器200〜202は、乗算器197〜199の乗算結果と格子点データ00Mと加算する。乗算器204〜206は、格子点選択装置182からのDR,G,Bデータと差分データの格子点差分1,2,3Yをそれぞれ乗算する。加算器207〜209は、乗算器204〜206の乗算結果と格子点データ00Yと加算する。乗算器210〜212は、格子点選択装置182からのDR,G,Bデータと差分データの格子点差分1,2,3Kをそれぞれ乗算する。加算器213〜215は、乗算器210〜212の乗算結果と格子点データ00Kと加算する。   In these figures, multipliers 191 to 193 multiply the DR, G, B data from the lattice point selection device 182 and the lattice point differences 1, 2, 3C of the difference data, respectively. Adders 194 to 196 add the multiplication results of multipliers 191 to 193 and grid point data 00C. Multipliers 197 to 199 multiply the DR, G, B data from the grid point selection device 182 by the grid point differences 1, 2, 3M of the difference data, respectively. Adders 200 to 202 add the multiplication results of multipliers 197 to 199 and grid point data 00M. Multipliers 204 to 206 multiply the DR, G, B data from the grid point selection device 182 and the grid point differences 1, 2, 3Y of the difference data, respectively. Adders 207 to 209 add the multiplication results of multipliers 204 to 206 and grid point data 00Y. Multipliers 210 to 212 multiply the DR, G, B data from the grid point selection device 182 by the grid point differences 1, 2, 3K of the difference data, respectively. Adders 213 to 215 add the multiplication results of multipliers 210 to 212 and lattice point data 00K.

図30−1〜図30−2は、図28における差分データ生成装置186の処理を示すフローチャートである。この差分データ生成装置186の処理は、前述の表1で示した四面体判例と補間係数の一覧にしたがってTIPE1〜6を判断し、このTYPE毎の演算を実行する。すなわち、格子点データを入力し(ステップS31)、TYPE4の場合(ステップS32、判断Yes)にステップS33,S34,S35を実行する。また、TYPE3の場合(ステップS36、判断Yes)にステップS37,S38,S39を実行する。また、TYPE2の場合(ステップS40、判断Yes)にステップS41,S42,S43を実行する。また、TYPE1の場合(ステップS44、判断Yes)にステップS45,S46,S47を実行する。また、TYPE6の場合(ステップS48、判断Yes)にステップS49,S50,S51を実行する。また、TYPE5の場合(ステップS52、判断Yes)にステップS53,S54,S55を実行する。   30-1 to 30-2 are flowcharts illustrating the processing of the difference data generation device 186 in FIG. In the processing of the difference data generation device 186, TIPE 1 to 6 are determined according to the tetrahedron case and the list of interpolation coefficients shown in Table 1 above, and the calculation for each TYPE is executed. That is, grid point data is input (step S31), and in the case of TYPE4 (step S32, determination Yes), steps S33, S34, and S35 are executed. In the case of TYPE3 (step S36, determination Yes), steps S37, S38, and S39 are executed. In the case of TYPE2 (step S40, determination Yes), steps S41, S42, and S43 are executed. In the case of TYPE1 (step S44, determination Yes), steps S45, S46, and S47 are executed. In the case of TYPE 6 (step S48, determination Yes), steps S49, S50, and S51 are executed. In the case of TYPE5 (step S52, determination Yes), steps S53, S54, and S55 are executed.

図32は、図25における格子点アドレス生成装置185の構成を示すブロック図である。この格子点アドレス生成装置185は、乗算器216,217、加算器218,219、乗算器220,222,224、MUX(マルチプレクサ)221、色変換テーブルアドレレス記憶装置223を備えている。   FIG. 32 is a block diagram showing a configuration of the lattice point address generation device 185 in FIG. The lattice point address generation device 185 includes multipliers 216 and 217, adders 218 and 219, multipliers 220, 222, and 224, a MUX (multiplexer) 221, and a color conversion table address storage device 223.

この格子点アドレス生成装置185は、図35に示すようなデータフォーマットのアドレスを作成する。本例では、HR,G,Bは4BITの例であるために、乗算器216,217、加算器218,219により、HR,G,Bをつなげた12BITを作成する処理を行なう。乗算器220は、図35に示すデータフォーマットの1ブロックの8ワードを乗算する。MUX221は、図35の各タイプ共通のデータである0番目のP0,P7を読み込むときに、"0"を出力し、各タイプをアクセスするときは"TYPE"を選択する。色変換テーブルアドレレス記憶装置223は、FLAGの色変換テーブル番号ごとに図34に示す色変換テーブルの先頭アドレスを格納する記憶装置である。加算器224は、図34に示す色変換テーブルのアドレスを生成する。   The lattice point address generation device 185 creates an address in a data format as shown in FIG. In this example, since HR, G, and B are examples of 4 BITs, the multipliers 216, 217, and adders 218, 219 perform processing for creating 12 BITs that connect HR, G, and B. Multiplier 220 multiplies 8 words in one block of the data format shown in FIG. The MUX 221 outputs “0” when reading the 0th P0 and P7, which are data common to each type in FIG. 35, and selects “TYPE” when accessing each type. The color conversion table address storage device 223 is a storage device that stores the start address of the color conversion table shown in FIG. 34 for each FLAG color conversion table number. The adder 224 generates an address of the color conversion table shown in FIG.

図33は、図25におけるデータ切り出し装置186の構成を示すブロック図である。このデータ切り出し装置186は、レジスタ225〜228を備え、図34に示すような、色変換テーブルから、図35に示すような格子点データを受け取りC,M,Y,Kごとに分離して出力する。   FIG. 33 is a block diagram showing the configuration of the data cutout device 186 in FIG. This data cutout device 186 includes registers 225 to 228, receives grid point data as shown in FIG. 35 from the color conversion table as shown in FIG. 34, and outputs it by separating it for each of C, M, Y, and K. To do.

図36は、図14における諧調処理装置129の構成を示すブロック図である。この諧調処理装置129は、グラフィックス用しきい値テーブル記憶装置230、写真用しきい値テーブル記憶装置231、文字用しきい値テーブル記憶装置232、テーブルしきい値マトリックス記憶装置アドレス生成装置233、MUX(マルチプレクサ)234、比較装置235〜238、C,M,Y,K毎の固定長データ生成装置239〜243、C,M,Y,K毎のバッファ244〜247、MUX(マルチプレクサ)248、コントローラ249を備えている。   FIG. 36 is a block diagram showing the configuration of the gradation processing device 129 in FIG. The gradation processing device 129 includes a graphics threshold table storage device 230, a photo threshold table storage device 231, a character threshold table storage device 232, a table threshold matrix storage device address generation device 233, MUX (multiplexer) 234, comparison devices 235 to 238, fixed length data generation devices 239 to 243 for C, M, Y, and K, buffers 244 to 247 for C, M, Y, and K, MUX (multiplexer) 248, A controller 249 is provided.

しきい値マトリックス記憶装置アドレス生成装置233は、グラフィックス用しきい値テーブル記憶装置230、写真用しきい値テーブル記憶装置231、文字用しきい値テーブル記憶装置232それぞれのアドレスを生成する。MUX234は、図14に示すディレイバッファ131からの属性データにより、しきい値テーブル記憶装置それぞれの出力を選択する。比較装置235〜238は、MUX234で選択されたしきい値C,M,Y,Kデータと色変換処理装置128からのC,M,Y,Kデータと比較し、2値データを生成する。C,M,Y,K毎の固定長データ生成装置239〜243は、比較装置235〜238により生成された2値データを固定長にまとめる。C,M,Y,K毎のバッファ244〜247はFIFO(First−In First−Out)で構成され、C,M,Y,K毎の固定長データ生成装置239〜243により固定長化されたデータを受け取り、FIFOに蓄積していく。   The threshold matrix storage device address generation device 233 generates addresses for the graphics threshold table storage device 230, the photo threshold table storage device 231, and the character threshold table storage device 232. The MUX 234 selects the output of each threshold table storage device based on the attribute data from the delay buffer 131 shown in FIG. The comparison devices 235 to 238 compare the threshold C, M, Y, K data selected by the MUX 234 with the C, M, Y, K data from the color conversion processing device 128 and generate binary data. The fixed length data generation devices 239 to 243 for each of C, M, Y, and K collect the binary data generated by the comparison devices 235 to 238 into a fixed length. The buffers 244 to 247 for each of C, M, Y, and K are configured by FIFO (First-In First-Out), and are fixed-length by the fixed-length data generators 239 to 243 for each of C, M, Y, and K. Data is received and accumulated in the FIFO.

図37は、図36における諧調処理装置129の動作を示すフローチャートである。この動作はコントローラ249によって実行される。まず、しきい値マトリックス記憶装置アドレス生成装置233により水平しきい値マトリックスのアドレスを求め(ステップS81)、さらにその水平マトリックス中のアドレスを求める(ステップS82)。続いて、しきい値(C,M,Y,K)データを読み込み(ステップS83)、このしきい値(C,M,Y,K)データとC,M,Y,Kデータとを比較装置235〜238により比較し(ステップS84)、2値化(C,M,Y,K)データを固定長データに追加する(ステップS85)。続いて、上記データが固定長まで成長したか否かを判断し(ステップS86)、成長したならばC,M,Y,Kの固定長データをC,M,Y,K毎のバッファ(FIFO)244〜247に書き込む(ステップS87)。ステップS86で固定長までデータが成長していない場合、またはステップS87を実行した後、さらに水平方向に全て終了したか否かを判断し(ステップS88)、全て終了したならば、さらに垂直方向に全て終了した否かを判断し(ステップS89),水平および垂直方向の全てが終了したならばこの動作を終了し、全て終了していなければステップS81に戻る。   FIG. 37 is a flowchart showing the operation of the gradation processing device 129 in FIG. This operation is executed by the controller 249. First, the threshold matrix storage device address generation device 233 obtains the address of the horizontal threshold matrix (step S81), and further obtains the address in the horizontal matrix (step S82). Subsequently, threshold value (C, M, Y, K) data is read (step S83), and the threshold value (C, M, Y, K) data is compared with the C, M, Y, K data. 235 to 238 (step S84), and binarized (C, M, Y, K) data is added to the fixed length data (step S85). Subsequently, it is determined whether or not the data has grown to a fixed length (step S86). If the data has grown, the fixed length data of C, M, Y, and K is buffered for each C, M, Y, and K (FIFO). ) Write to 244 to 247 (step S87). If the data has not grown to the fixed length in step S86, or after executing step S87, it is further determined whether or not all of the data has been completed in the horizontal direction (step S88). It is determined whether or not all have been completed (step S89). If all the horizontal and vertical directions have been completed, this operation is terminated. If all have not been completed, the process returns to step S81.

図38は、図36におけるC,M,Y,K毎の固定長データ生成装置239〜243の構成を示すブロック図である。この固定長データ生成装置239〜243は、シフタ250、OR装置251、レジスタ252,253、加算器254、シフト値レジスタ255を備えている。   FIG. 38 is a block diagram showing a configuration of fixed-length data generation devices 239 to 243 for each of C, M, Y, and K in FIG. Each of the fixed-length data generation devices 239 to 243 includes a shifter 250, an OR device 251, registers 252 and 253, an adder 254, and a shift value register 255.

シフタ250は、比較装置235(〜238)からの2値データを受け取り、シフト値レジスタ2556の値だけシフトしてOR装置251へ転送する。OR装置251は、上記シフトした2値データをOR処理し、レジスタ252へ送る。レジスタ253は、OR装置251でOR処理され、追加された2値データを格納する。レジスタ252は、固定長に達したデータを格納する。加算器254は、比較装置235(〜238)から2値データを受けるごと"1"を加算していく。レジスタ255は、シフト値を格納する。   The shifter 250 receives the binary data from the comparison device 235 (˜238), shifts it by the value of the shift value register 2556, and transfers it to the OR device 251. The OR device 251 performs OR processing on the shifted binary data and sends it to the register 252. The register 253 stores the added binary data that is ORed by the OR device 251. The register 252 stores data that has reached a fixed length. The adder 254 adds “1” every time binary data is received from the comparison device 235 (˜238). The register 255 stores the shift value.

図39は、図6における符号化装置111の構成を示すブロック図である。この符号化装置111は、メモリコントローラI/F260、BUF(バッファ)261、JBIG符号化装置262、BUF(バッファ)263、メモリアドレス生成装置264、コントローラ265を備えている。   FIG. 39 is a block diagram showing the configuration of the encoding device 111 in FIG. The encoding device 111 includes a memory controller I / F 260, a BUF (buffer) 261, a JBIG encoding device 262, a BUF (buffer) 263, a memory address generation device 264, and a controller 265.

メモリコントローラI/F260は、メモリコントローラ103から画像データを受け取り、JBIG符号化装置262へ転送し、JBIG符号化装置262から符号化された符号データを受け取りメモリコントローラ103へ転送する。また、メモリアドレス生成装置264からアドレスを受け取り、メモリコントローラ103へ転送する。BUF261は、メモリコントローラI/F103から受け取った画像データを一時格納する。JBIG符号化装置262は、各版の2値バンドメモリ領域から順次、符号化しバンドごと符号を作成する。BUF263は、JBIG符号化装置262から受け取った符号データを一時格納する。メモリアドレス生成装置264は、メインメモリ104における各版の2値バンドメモリ領域のアドレスと、各版の符号ページメモリのアドレスを生成する。コントローラ265は、符号化装置の全体を制御する。   The memory controller I / F 260 receives the image data from the memory controller 103, transfers it to the JBIG encoding device 262, receives the encoded data from the JBIG encoding device 262, and transfers it to the memory controller 103. Also, the address is received from the memory address generation device 264 and transferred to the memory controller 103. The BUF 261 temporarily stores the image data received from the memory controller I / F 103. The JBIG encoding device 262 sequentially encodes from the binary band memory area of each version and creates a code for each band. The BUF 263 temporarily stores the code data received from the JBIG encoding device 262. The memory address generation device 264 generates the address of the binary band memory area of each version in the main memory 104 and the address of the code page memory of each version. The controller 265 controls the entire encoding device.

図40は、図6におけるC版復号化処理装置112Cの構成を示すブロック図である。なお、この構成は他の版においても同一の構成となる。C版復号化処理装置112Cは、メモリコントローラI/F266、BUF(バッファ)267、JBIG復号化装置268、C版ラインメモリ269、読み込みメモリアドレス生成装置270、コントローラ271を備えている。   FIG. 40 is a block diagram showing the configuration of the C version decoding processing device 112C in FIG. This configuration is the same in other versions. The C version decoding processing device 112C includes a memory controller I / F 266, a BUF (buffer) 267, a JBIG decoding device 268, a C version line memory 269, a read memory address generation device 270, and a controller 271.

メモリコントローラI/F266は、C版の符号ページメモリ領域から階調処理後の画像を受け取り、JBIG復号化装置のバッファへ転送する。BUF(バッファ)267は、JBIG復号化装置268へ符号データを転送する。JBIG復号化装置268は、メインメモリ104の符号ページメモリ領域から符号を読み込み復号化し、C版ラインメモリ269へ転送する。C版ラインメモリ269は、JBIG復号化装置260により復号化された階調処理後の画素を格納する。読み込みメモリアドレス生成装置270は、メインメモリ104のC版における符号ページメモリ領域のアドレスを生成する。コントローラ271は、このC復号化処理装置112Cの全体を制御する。   The memory controller I / F 266 receives the image after gradation processing from the C-page code page memory area, and transfers the image to the buffer of the JBIG decoding apparatus. The BUF (buffer) 267 transfers the code data to the JBIG decoding device 268. The JBIG decoding device 268 reads and decodes the code from the code page memory area of the main memory 104 and transfers the code to the C plane line memory 269. The C plane line memory 269 stores the gradation-processed pixels decoded by the JBIG decoding device 260. The read memory address generation device 270 generates an address of a code page memory area in the C version of the main memory 104. The controller 271 controls the entire C decoding processing device 112C.

したがって、以上説明してきた実施の形態の画像処理装置(方法)によれば、バンドやページ単位に複数の異なる領域が、処理する画素毎に各領域に含まれるかをリアルタイムに判定し、この判定結果にしたがって色変換テーブルを選択して色変換処理を行ない、さらにしきい値マトリックスを選択して階調処理を行なうことにより、画像のバンドやページの画素毎に属性を記憶する属性メモリを必要とせずに、文字、グラフィックス領域を示す方形領域にのみ、その領域内の画素が属性の対象であるかを示すBITのみを有するため、メモリ容量が少なくなる。また、写真画像、グラフィックス画像毎の色変換処理、階調処理を切り替えることが可能なため、色再現性に優れ、また、写真画像内部での文字においても文字の各画素毎が文字として属性を有するため、色再現性が向上する。   Therefore, according to the image processing apparatus (method) of the embodiment described above, it is determined in real time whether a plurality of different areas are included in each area for each pixel to be processed in units of bands or pages. Select the color conversion table according to the result, perform color conversion processing, and select the threshold matrix to perform gradation processing, thereby requiring an attribute memory to store attributes for each pixel of the image band and page Instead, only the rectangular area indicating the character and graphics area has only the BIT indicating whether the pixel in the area is the target of the attribute, so the memory capacity is reduced. In addition, since color conversion processing and gradation processing for each photographic image and graphics image can be switched, the color reproducibility is excellent, and each pixel of the character is also attributed as a character in the character inside the photographic image. Therefore, color reproducibility is improved.

ところで、これまで説明してきた画像処理方法(動作)を、プログラム化し、コンピュータ読み取り可能な記録媒体に記録し、コンピュータ上で実行することもできる。また、画像処理方法の一部をネットワーク上に有し、通信回線を通して実現することもできる。   By the way, the image processing method (operation) described so far can be programmed, recorded on a computer-readable recording medium, and executed on the computer. Further, a part of the image processing method can be provided on a network and realized through a communication line.

すなわち、この実施の形態で説明した画像処理方法は、図41に示すように、あらかじめ用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータ(CPU30)で実行することにより実現される。このプログラムは、キーボード35の操作などにより、メモリ31、ハードディスク34、フレキシブルディスク37、CD−ROM(Compact−Disc Read Only Memory)36、MO(Magneto Optical)、DVD(Digital Versatile Disc)などのコンピュータで読み取り可能な記録媒体に記録され、コンピュータ(CPU30)によって記録媒体から読み出し、必要に応じて表示装置33に表示することによって実行される。また、必要に応じてこの画像処理方法のデータを通信装置32から外部装置に送受信することも可能である。   That is, the image processing method described in this embodiment is realized by executing a program prepared in advance on a computer (CPU 30) such as a personal computer or a workstation as shown in FIG. This program is operated by a computer such as a memory 31, a hard disk 34, a flexible disk 37, a CD-ROM (Compact-Disc Read Only Memory) 36, an MO (Magneto Optical), a DVD (Digital Versatile Disc) by operating the keyboard 35. The program is recorded on a readable recording medium, read from the recording medium by a computer (CPU 30), and displayed on the display device 33 as necessary. In addition, data of this image processing method can be transmitted and received from the communication device 32 to an external device as necessary.

また、このプログラムは、図42に示すように、上記記録媒体を介して、インターネット30などのネットワークによってパーソナルコンピュータなどの装置41〜43に配布することができる。   Further, as shown in FIG. 42, this program can be distributed to devices 41 to 43 such as a personal computer via the recording medium via a network such as the Internet 30.

すなわち、このプログラムは、たとえばコンピュータに内蔵されている記録媒体としてのハードディスクに、あらかじめインストールした状態で提供することができる。プログラムは記録媒体に一時的あるいは永続的に格納し、コンピュータにユニットとして組み込んだり、あるいは着脱式の記録媒体として利用することで、パッケージソフトウェアとして提供することができる。   That is, this program can be provided in a state of being installed in advance on a hard disk as a recording medium built in the computer, for example. The program can be temporarily or permanently stored in a recording medium, and can be provided as packaged software by being incorporated in a computer as a unit or being used as a removable recording medium.

記録媒体としては、たとえば、フレキシブルディスク、CD−ROM、MOディスク、DVD、磁気ディスク、半導体メモリなどが利用できる。   As the recording medium, for example, a flexible disk, a CD-ROM, an MO disk, a DVD, a magnetic disk, a semiconductor memory, and the like can be used.

プログラムは、ダウンロードサイトから、LAN(Local Area Network)やインターネットといったネットワークを介して、有線または無線でコンピュータに転送し、そのコンピュータにおいて、内蔵するハードディスクなどの記憶装置にダウンロードさせるようにすることができる。   The program can be transferred from a download site to a computer wired or wirelessly via a network such as a LAN (Local Area Network) or the Internet, and downloaded to a storage device such as a built-in hard disk in the computer. .

以上のように、本発明にかかる画像処理装置および画像処理方法、並びに画像処理方法をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体は、所定の色空間で表現される画素値を異なる色空間で表現される画素値に変換する画像処理に有用であり、特に、カラープリンタ、カラー複写機などの画像形成装置などの画像処理システムに適している。   As described above, the image processing apparatus and the image processing method according to the present invention, and the computer-readable recording medium recording the program for causing the computer to execute the image processing method have different pixel values expressed in a predetermined color space. This is useful for image processing that converts pixel values expressed in a color space, and is particularly suitable for image processing systems such as image forming apparatuses such as color printers and color copying machines.

本発明の実施の形態にかかる画像処理の画像例を示す説明図である。It is explanatory drawing which shows the example of an image of the image process concerning embodiment of this invention. 図1におけるバンドの各領域の属性例を示す説明図である。It is explanatory drawing which shows the example of an attribute of each area | region of the band in FIG. 図1における多値バンドメモリ領域の画像を示す説明図である。It is explanatory drawing which shows the image of the multi-value band memory area | region in FIG. 図1におけるバンドの各領域に対応するFLAGBITメモリのデータを示す説明図である。It is explanatory drawing which shows the data of the FLAGBIT memory corresponding to each area | region of the band in FIG. 本発明の実施の形態にかかる画像形成装置の機構部の構成例を示す説明図である。3 is an explanatory diagram illustrating a configuration example of a mechanism unit of the image forming apparatus according to the embodiment of the present invention. 図5における画像形成装置の電装・制御系の構成を示すブロック図である。FIG. 6 is a block diagram illustrating a configuration of an electrical / control system of the image forming apparatus in FIG. 5. 本発明の実施の形態にかかる画像データの概略的な処理系統を示すブロック図である。It is a block diagram which shows the schematic processing system of the image data concerning embodiment of this invention. 本発明の実施の形態にかかる画像データの処理を行なう機能ブロック図である。It is a functional block diagram which processes the image data concerning embodiment of this invention. 図6におけるメインメモリのフォーマットを示す説明図である。It is explanatory drawing which shows the format of the main memory in FIG. 本発明の実施の形態にかかる多値バンドデータの生成の様子を示すブロック図である。It is a block diagram which shows the mode of the production | generation of the multi-value band data concerning embodiment of this invention. 本発明の実施の形態にかかる画像処理の様子を示すブロック図である。It is a block diagram which shows the mode of the image processing concerning embodiment of this invention. 本発明の実施の形態にかかる符号化処理の様子を示すブロック図である。It is a block diagram which shows the mode of the encoding process concerning embodiment of this invention. 本発明の実施の形態にかかるプリント出力処理の様子を示すブロック図である。It is a block diagram which shows the mode of the print output process concerning embodiment of this invention. 本発明の実施の形態にかかる画像処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image processing apparatus concerning embodiment of this invention. 図14における画像処理装置の画素属性生成装置の構成を示すブロック図である。It is a block diagram which shows the structure of the pixel attribute production | generation apparatus of the image processing apparatus in FIG. 図14の画素属性生成装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the pixel attribute production | generation apparatus of FIG. 図15における方形情報記憶装置の構成を示すブロック図である。It is a block diagram which shows the structure of the square information storage device in FIG. 図15における領域判定装置の構成を示すブロック図である。It is a block diagram which shows the structure of the area | region determination apparatus in FIG. 図18における方形流域判定処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the square basin determination processing apparatus in FIG. 図18における優先順位判定装置の構成を示すブロック図である。It is a block diagram which shows the structure of the priority determination apparatus in FIG. 、図18における画素属性判定装置の構成を示すブロック図である。FIG. 19 is a block diagram illustrating a configuration of the pixel attribute determination device in FIG. 18. 図15におけるFLAGBITアドレス生成装置の構成を示すブロック図である。It is a block diagram which shows the structure of the FLAGBIT address generation apparatus in FIG. FLAGBITアドレスの計算方法を示す説明図である。It is explanatory drawing which shows the calculation method of a FLAGBIT address. 図22におけるFLAGBITアドレス処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the FLAGBIT address processing apparatus in FIG. 図14における色変換処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the color conversion processing apparatus in FIG. 図25の色変換処理装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the color conversion processing apparatus of FIG. 図25における格子点選択装置の構成を示すブロック図である。It is a block diagram which shows the structure of the lattice point selection apparatus in FIG. 図25における格子点補間処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the lattice point interpolation processing apparatus in FIG. 図28における補間装置(C,M)の構成を示すブロック図である。It is a block diagram which shows the structure of the interpolation apparatus (C, M) in FIG. 図28における補間装置(Y,K)の構成を示すブロック図である。It is a block diagram which shows the structure of the interpolation apparatus (Y, K) in FIG. 図28における差分データ生成装置の処理(1)を示すフローチャートである。It is a flowchart which shows the process (1) of the difference data generation apparatus in FIG. 図28における差分データ生成装置の処理(2)を示すフローチャートである。It is a flowchart which shows the process (2) of the difference data generation apparatus in FIG. 図25における格子点選択装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the lattice point selection apparatus in FIG. 図25における格子点アドレス生成装置の構成を示すブロック図である。It is a block diagram which shows the structure of the lattice point address generation apparatus in FIG. 図25におけるデータ切り出し装置の構成を示すブロック図である。It is a block diagram which shows the structure of the data cut-out apparatus in FIG. 色変換テーブルメモリのデータフォーマットを示す説明図である。It is explanatory drawing which shows the data format of a color conversion table memory. 格子点データフォーマットを示す説明図である。It is explanatory drawing which shows a lattice point data format. 図14における諧調処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the gradation processing apparatus in FIG. 図36における諧調処理装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the gradation processing apparatus in FIG. 図36におけるC,M,Y,K毎の固定長データ生成装置の構成を示すブロック図である。It is a block diagram which shows the structure of the fixed length data generation apparatus for every C, M, Y, K in FIG. 図6における符号化装置の構成を示すブロック図である。It is a block diagram which shows the structure of the encoding apparatus in FIG. 図6におけるC版復号化処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the C version decoding processing apparatus in FIG. 本発明の実施の形態にかかる画像処理方法をコンピュータに実行させる例を示すブロック図である。It is a block diagram which shows the example which makes a computer perform the image processing method concerning embodiment of this invention. 本発明の実施の形態にかかる画像処理方法をネットワーク上からダウンロードして実行させる例を示すブロック図である。It is a block diagram which shows the example which downloads and performs the image processing method concerning embodiment of this invention from a network. 上位4BITにより16分割された色空間の例を示す説明図である。It is explanatory drawing which shows the example of the color space divided into 16 by upper 4BIT. 図43における四面体への分割形態を示す説明図である。It is explanatory drawing which shows the division | segmentation form to the tetrahedron in FIG. 従来における画像処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the conventional image processing apparatus.

符号の説明Explanation of symbols

100 カラープリンタ
101 CPU
103 メモリコントローラ
104 メインメモリ
104a 多値バンドメモリ領域
104b FLAGBITメモリ領域
110 画像処理装置
111 符号化装置
112 復号化処理装置
113 エンジンコントローラ
114 プリンタエンジン
128 色変換装置
129 諧調処理装置
132 画素属性生成装置
135 水平画素カウント装置
136 垂直が素カウント装置
137 方形情報記憶装置
138 領域判定装置
139 FLAGBITアドレス生成装置
150,151,152 方形領域判定処理装置
153 優先順位判定装置
154 画素属性判定装置
184 色変換テーブルメモリ
230 グラフィックス用しきい値テーブル記憶装置
231 写真用しきい値テーブル記憶装置
232 文字用しきい値テーブル記憶装置
233 しきい値マトリックス記憶装置アドレス生成装置
234 MUX(マルチプレクサ)
100 color printer 101 CPU
DESCRIPTION OF SYMBOLS 103 Memory controller 104 Main memory 104a Multi-valued band memory area 104b FLAGBIT memory area 110 Image processing apparatus 111 Coding apparatus 112 Decoding processing apparatus 113 Engine controller 114 Printer engine 128 Color conversion apparatus 129 Gradation processing apparatus 132 Pixel attribute generation apparatus 135 Horizontal Pixel counting device 136 Vertical prime counting device 137 Square information storage device 138 Area determination device 139 FLAGBIT address generation device 150, 151, 152 Square region determination processing device 153 Priority determination device 154 Pixel attribute determination device 184 Color conversion table memory 230 Graphic Threshold table storage device 231 Photo threshold table storage device 232 Character threshold table storage device 233 Trix memory address generator 234 MUX (multiplexer)

Claims (14)

写真、グラフィックス、文字などを含む画像情報を入力し、この画像情報に対して所定の画像処理を実行する画像処理装置において、
前記画像情報から多値バンドデータを生成する描画手段と、
前記多値バンドデータを記憶する多値バンドデータ記憶手段と、
前記多値バンドデータ記憶手段に記憶された多値バンドデータから、前記画像情報を構成する複数の属性を判断し、当該属性毎に画像処理を行なう画像処理手段と、
を備えたことを特徴とする画像処理装置。
In an image processing apparatus that inputs image information including photographs, graphics, characters, etc., and executes predetermined image processing on the image information.
Drawing means for generating multi-value band data from the image information;
Multi-value band data storage means for storing the multi-value band data;
Image processing means for determining a plurality of attributes constituting the image information from the multi-value band data stored in the multi-value band data storage means, and performing image processing for each attribute;
An image processing apparatus comprising:
前記画像処理手段は、処理中の画素の属性を複数の方形領域の属性情報から生成する画素属性生成手段を備えたことを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the image processing unit includes a pixel attribute generation unit configured to generate an attribute of a pixel being processed from attribute information of a plurality of rectangular regions. 前記画像処理手段は、方形領域内における画素毎の属性対象の有無を示すフラグ情報を記憶するフラグ情報記憶手段を備えたことを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the image processing means includes flag information storage means for storing flag information indicating presence / absence of an attribute target for each pixel in a square area. 前記画素属性生成手段は、
複数の方形領域の属性情報を記憶する方形領域属性情報記憶手段と、
処理中の画素がバンド毎に設定された複数の方形領域に含まれるかを判断する領域判定手段と、
を備えたことを特徴とする請求項2に記載の画像処理装置。
The pixel attribute generation means includes
Square area attribute information storage means for storing attribute information of a plurality of square areas;
Area determination means for determining whether the pixel being processed is included in a plurality of rectangular areas set for each band;
The image processing apparatus according to claim 2, further comprising:
前記画素属性生成手段は、前記方形領域属性情報記憶手段により得られた複数の領域情報と処理画素の座標から前記フラグ情報記憶手段のアドレスを求めるフラグ情報アドレス生成手段を備えたことを特徴とする請求項4に記載の画像処理装置。   The pixel attribute generation means includes flag information address generation means for obtaining an address of the flag information storage means from a plurality of area information obtained by the square area attribute information storage means and the coordinates of the processing pixel. The image processing apparatus according to claim 4. 前記方形領域属性情報記憶手段は、
複数の方形領域を示す座標値を記憶する座標記憶手段と、
前記座標記憶手段に記憶された複数の方形領域の数を記憶する有効数記憶手段と、
を備えたことを特徴とする請求項4に記載の画像処理装置。
The rectangular area attribute information storage means includes
Coordinate storage means for storing coordinate values indicating a plurality of rectangular regions;
Effective number storage means for storing the number of a plurality of rectangular regions stored in the coordinate storage means;
The image processing apparatus according to claim 4, further comprising:
前記方形領域属性情報記憶手段は、複数の属性を有する方形領域が重なる場合における優先順位を記憶することを特徴とする請求項4に記載の画像処理装置。   The image processing apparatus according to claim 4, wherein the square area attribute information storage unit stores a priority in a case where square areas having a plurality of attributes overlap. 前記方形領域属性情報記憶手段は、複数の属性を有する方形領域が、画素毎の属性対象を示すフラグであるかを示すフレームタイプを記憶することを特徴とする請求項4に記載の画像処理装置。   The image processing apparatus according to claim 4, wherein the square area attribute information storage unit stores a frame type indicating whether the square area having a plurality of attributes is a flag indicating an attribute object for each pixel. . 前記画像処理手段は、さらに、複数の属性の異なる方形領域に対する色変換テーブルを記憶する色変換テーブル記憶手段を備えたことを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the image processing unit further includes a color conversion table storage unit that stores a color conversion table for a plurality of square regions having different attributes. 前記画像処理手段は、処理中の画素がバンド毎に設定された複数の方形領域それぞれに対して、異なる色変換テーブルを選択することを特徴とする請求項9に記載の画像処理装置。   The image processing apparatus according to claim 9, wherein the image processing unit selects a different color conversion table for each of a plurality of rectangular regions in which pixels being processed are set for each band. 前記画像処理手段は、さらに、複数の属性の異なる方形領域に対するしきい値テーブルを記憶するしきい値テーブル記憶手段を備えたことを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the image processing unit further includes a threshold value table storage unit that stores a threshold value table for a plurality of square regions having different attributes. 前記画像処理手段は、処理中の画素がバンド毎に設定された複数の方形領域それぞれに対して、異なるしきい値テーブルを選択することを特徴とする請求項11に記載の画像処理装置。   The image processing apparatus according to claim 11, wherein the image processing unit selects a different threshold value table for each of a plurality of rectangular regions in which pixels being processed are set for each band. 写真、グラフィックス、文字などを含む画像情報を入力し、この画像情報に対して所定の画像処理を実行する画像処理方法において、
前記画像情報から多値バンドデータを生成する描画工程と、
前記多値バンドデータを記憶する多値バンドデータ記憶工程と、
前記多値バンドデータ記憶手段に記憶された多値バンドデータから、前記画像情報を構成する複数の属性を判断し、当該属性毎に画像処理を行なう画像処理工程と、
を含むことを特徴とする画像処理方法。
In an image processing method for inputting image information including photographs, graphics, characters, etc., and executing predetermined image processing on the image information,
A drawing step of generating multi-value band data from the image information;
A multi-value band data storage step for storing the multi-value band data;
An image processing step of determining a plurality of attributes constituting the image information from the multi-value band data stored in the multi-value band data storage means, and performing image processing for each attribute;
An image processing method comprising:
前記請求項13に記載の画像処理方法を、コンピュータに実行させるプログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium having recorded thereon a program for causing a computer to execute the image processing method according to claim 13.
JP2004067299A 2004-03-10 2004-03-10 Image processor and image processing method and computer-readable recording medium for recording program for making computer perform image processing method Pending JP2005258650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004067299A JP2005258650A (en) 2004-03-10 2004-03-10 Image processor and image processing method and computer-readable recording medium for recording program for making computer perform image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004067299A JP2005258650A (en) 2004-03-10 2004-03-10 Image processor and image processing method and computer-readable recording medium for recording program for making computer perform image processing method

Publications (1)

Publication Number Publication Date
JP2005258650A true JP2005258650A (en) 2005-09-22

Family

ID=35084323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004067299A Pending JP2005258650A (en) 2004-03-10 2004-03-10 Image processor and image processing method and computer-readable recording medium for recording program for making computer perform image processing method

Country Status (1)

Country Link
JP (1) JP2005258650A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008023959A (en) * 2006-07-25 2008-02-07 Ricoh Co Ltd Image processor, image processing method and program
WO2014050576A1 (en) * 2012-09-27 2014-04-03 コニカミノルタ株式会社 Color conversion device, image forming device, and color conversion method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008023959A (en) * 2006-07-25 2008-02-07 Ricoh Co Ltd Image processor, image processing method and program
WO2014050576A1 (en) * 2012-09-27 2014-04-03 コニカミノルタ株式会社 Color conversion device, image forming device, and color conversion method
JPWO2014050576A1 (en) * 2012-09-27 2016-08-22 コニカミノルタ株式会社 Color conversion apparatus, image forming apparatus, and color conversion method
US9672789B2 (en) 2012-09-27 2017-06-06 Konica Minolta, Inc. Color conversion device, image forming device, and color conversion method

Similar Documents

Publication Publication Date Title
JP5369982B2 (en) Image processing apparatus and image processing method
JP4950007B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP6639247B2 (en) Image processing apparatus, image processing method, and program
US7009622B2 (en) Image processing apparatus, image processing method, and image processing program
JP5264412B2 (en) Image processing apparatus and image processing method
JP4628984B2 (en) Image processing device
JP4568685B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing a program for causing a computer to execute the image processing method
JP4115294B2 (en) Image processing apparatus and method
JP2005258650A (en) Image processor and image processing method and computer-readable recording medium for recording program for making computer perform image processing method
JP4490783B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing a program for causing a computer to execute the image processing method
JP5344231B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2004080109A (en) Apparatus and method for forming image, and image forming program for making computer perform the method
JP2009169584A (en) Image processing apparatus, image processing method and program
JP2007072468A (en) Color image forming apparatus and image forming method
JP2009177307A (en) Image forming apparatus and method for generating thumbnail image
JP2008023959A (en) Image processor, image processing method and program
JP5603613B2 (en) Image processing apparatus and image processing method
JP7339774B2 (en) IMAGE FORMING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM
JP2004236042A (en) Image processor and image processing method
JP5201040B2 (en) Image processing apparatus, image processing method, and program
JP2005094126A (en) Image processing apparatus, image processing method, and image processing program executable by computer
JP2005262624A (en) Image processing apparatus, image processing method, and computer readable recording medium having program for making computer execute image processing method recorded therein
JP4450651B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing a program for causing a computer to execute the image processing method
JP5004735B2 (en) Image forming apparatus, image forming apparatus control method, and image forming apparatus control program
JP2007088968A (en) Output system