JP5262882B2 - Image processing apparatus and image processing method - Google Patents
Image processing apparatus and image processing method Download PDFInfo
- Publication number
- JP5262882B2 JP5262882B2 JP2009066436A JP2009066436A JP5262882B2 JP 5262882 B2 JP5262882 B2 JP 5262882B2 JP 2009066436 A JP2009066436 A JP 2009066436A JP 2009066436 A JP2009066436 A JP 2009066436A JP 5262882 B2 JP5262882 B2 JP 5262882B2
- Authority
- JP
- Japan
- Prior art keywords
- index
- color
- information
- color information
- value
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は、画像処理装置および画像処理方法に関する。 The present invention relates to an image processing apparatus and an image processing method.
従来、プリンタは、ネットワークから受け取ったPDLデータをバンド単位に階調処理した後のCMYKデータを用いて描画している。また、後でプリントアウトするため、JBIGなどの圧縮アルゴリズムにより画像データ(CMYKデータ)を符号化し、符号化後のデータをメモリに格納するものもある。近年では高画質化が求められ、高画質化に対応するため、ROP処理(論理演算処理)や半透明処理をRGBデータを用いて行うプリンタもある。 Conventionally, a printer renders PDL data received from a network using CMYK data after gradation processing for each band. In some cases, image data (CMYK data) is encoded by a compression algorithm such as JBIG and the encoded data is stored in a memory in order to be printed out later. In recent years, there has been a demand for higher image quality, and some printers perform ROP processing (logical operation processing) and translucent processing using RGB data in order to cope with higher image quality.
特許文献1では、RGB−>CMYKの色変換処理において、色変換ごとに、変換前の色と変換後の色をハッシュ関数値でワークメモリ上に登録し、色変換前に変換前の色をハッシュ関数値でワークメモリに登録されているか検索し、登録されていれば、その変換後の色値を使用することにより、色変換処理を高速化する技術が開示されている。 In Patent Document 1, in the color conversion process of RGB-> CMYK, for each color conversion, the color before conversion and the color after conversion are registered on the work memory with a hash function value, and the color before conversion is converted before color conversion. A technique for speeding up the color conversion processing by searching whether the hash function value is registered in the work memory and using the color value after the registration is disclosed is disclosed.
また、特許文献2では描画処理前にバンド単位に描画する色数をカウントし、バンド全体の色数が2色以下である場合、1bitのカラーパレットでバンドを描画し、バンド全体の色数が4色以下である場合、2bitのカラーパレットでバンドを描画するなど、バンドで使用する色数に応じてカラーパレットのBIT数を変更し、描画することにより、描画処理時間の軽減と、バンドメモリ量の軽減を行っている。 In Patent Document 2, the number of colors to be drawn for each band is counted before the drawing process. If the number of colors of the entire band is 2 or less, the band is drawn with a 1-bit color palette, and the number of colors of the entire band is If the number of colors is 4 or less, the drawing time is reduced by changing the number of BITs in the color palette according to the number of colors used in the band, such as drawing a band with a 2-bit color palette. The amount is reduced.
また、特許文献3では、画像の属性に応じた適切なデータ処理を実現するため、多値のカラー描画された結果を格納する画像用メモリとその画素単位に対応する属性メモリを有して、属性メモリには複数BITを使用し、属性値(文字/写真/図形など)を保持する形態と、多値のカラー描画された結果を格納する画像用メモリのみを有し、RGB値のBlueの8bitの下位3bitを属性値(文字/写真/図形など)用に使用することにより、メモリ容量を削減する形態が開示されている。 Further, in Patent Document 3, in order to realize appropriate data processing according to image attributes, an image memory for storing a multi-value color rendering result and an attribute memory corresponding to the pixel unit are provided. The attribute memory uses a plurality of BITs and has only a mode for storing attribute values (characters / photos / graphics, etc.) and an image memory for storing multi-valued color rendering results. A mode is disclosed in which the memory capacity is reduced by using the lower 3 bits of 8 bits for attribute values (character / photo / graphic, etc.).
しかしながら、特許文献2に開示された技術のようにバンド単位にカラーパレットのフォーマットを変更する場合、文字のみの文章では、確かに高速化可能であるが、グラフィックス画像や、写真画像が少しでも含まれるとそのバンドはサイズの大きなフォーマットになり、白地の部分もサイズの大きなフォーマットで描画する必要があり、圧縮率は悪くなり低速化する。また、カラーパレットを生成する時に描画する色とカラーパレットの色(256色)を順次比較しているが、このように、描画する度に毎回、256個のカラーパレットの比較を行うと処理スピードが遅くなる。 However, when the color palette format is changed in band units as in the technique disclosed in Patent Document 2, it is possible to increase the speed of text-only sentences, but graphics images and photographic images may be a little. If it is included, the band becomes a large format, and it is necessary to draw the white background portion in a large format, resulting in a poor compression rate and a low speed. In addition, the color to be drawn and the color palette color (256 colors) are sequentially compared when the color palette is generated. In this way, if 256 color palettes are compared each time drawing is performed, the processing speed is increased. Becomes slower.
これは特許文献1の技術のようにハッシュ関数を使用し、求めたキー値のアドレスのカラーパレットと比較すれば、問題は解決するが、ハッシュ関数は、カラーパレットとRGB全ての色とを1対1に対応させることはできないので、キーの衝突を起こしてしまう。特許文献1の色変換装置では、キーの衝突を起こした場合、再度その色は演算し直しているが、描画処理を考えた場合、特許文献2のようにカラーパレットのみのフォーマットでは、その部分だけをRGB値で描画するといったことはできない。また、特許文献2では、バンド内部に1つでもROP演算処理が含まれる場合は、そのバンドを全てRGBの24bitで描画する必要があり、処理速度を低下させる。 This is achieved by using a hash function as in the technique of Patent Document 1 and comparing it with the color palette of the obtained key value address. Since it cannot be made to correspond one-on-one, a key collision occurs. In the color conversion device of Patent Document 1, when a key collision occurs, the color is recalculated. However, when drawing processing is considered, in the format of only the color palette as in Patent Document 2, that part is calculated. It is not possible to draw only with RGB values. Further, in Patent Document 2, when even one ROP calculation process is included in the band, it is necessary to draw all the bands with RGB 24 bits, and the processing speed is reduced.
また、特許文献3の技術のように、画像の属性に応じた適切なデータ処理を実現するために、属性メモリを別途用意するのはコストアップにつながり、また、メモリ容量を削減するため、画像用メモリのみを有し、RGB値のBlueの8bitの下位3bitを属性値(文字/写真/図形など)用に使用するのでは、画質の低下へとつながり、高画質を保持できない。 In addition, as in the technique of Patent Document 3, it is necessary to prepare an attribute memory separately in order to realize appropriate data processing according to the attribute of the image, which leads to an increase in cost, and in order to reduce the memory capacity, If only the memory is used and the lower 3 bits of the 8-bit RGB value Blue are used for the attribute value (character / photo / graphic, etc.), the image quality is lowered and the image quality cannot be maintained.
本発明は、上記に鑑みてなされたものであって、描画処理を高速化し、高画質を保持できる画像処理装置および画像処理方法を提供するものである。 The present invention has been made in view of the above, and provides an image processing apparatus and an image processing method capable of speeding up a drawing process and maintaining high image quality.
上述した課題を解決し、目的を達成するために、本発明の画像処理装置は、入力情報を解析し、色情報を含む描画情報を生成する描画情報生成手段(302)と、生成された前記描画情報の色情報からハッシュ関数を用いてIndex番号を生成するIndex番号生成手段(305)と、前記Index番号生成手段により生成されたIndex番号が、未使用で有るか判定するIndex未使用判定手段(305)と、前記Index未使用判定手段により、前記Index番号が未使用と判定された場合に、Indexテーブルとして前記Index番号および前記色情報の組が格納されるIndexテーブル記憶手段(306)と、前記Index未使用判定手段により、前記Index番号が使用済みであると判定された場合に、前記Indexテーブル記憶手段に格納されたIndex番号に対応する色情報を取得し、該色情報が、前記描画情報の色情報と同一であるか判断するIndex色判断手段(307)と、前記Index色判断手段により、前記2つの色情報が同一であると判定された場合に、Index番号を描画するIndex番号描画手段(309)と、前記Index番号描画手段により描画されるIndex番号をIndexページのIndex値として記憶するIndexデータ記憶手段(311)と、前記Index色判断手段により、前記2つの色情報が異なると判定された場合に、Index番号として使用しない値であって描画する画像の属性を示す値を前記Indexページに描画する属性情報描画手段(309)と、前記Index色判断手段により、前記2つの色情報が異なると判定された場合に、前記描画情報の色情報が示す色値を描画する描画手段(308)と、前記描画手段により描画されるページからなる画像データを記憶する画像データ記憶手段(310)と、前記Indexデータ記憶手段に記憶されたIndex値と前記画像データ記憶手段に記憶された色情報とを画素毎に読み込み、読み込んだIndex値に基づいて、Index番号を示す値のIndex値に対しては前記IndexテーブルをアクセスすることによりIndex番号を色情報へ変換した変換後の色情報を用い、描画する画像の属性を示す値のIndex値に対しては前記画像データ記憶手段に記憶された色情報を用いて、該色情報からなる画像データを出力するIndex値変換手段(312,313)と、前記Index値変換手段からの画像データに画像処理を行う画像処理手段(314)とを有することを特徴とする。 In order to solve the above-described problems and achieve the object, an image processing apparatus of the present invention analyzes input information and generates drawing information generation means (302) for generating drawing information including color information, and the generated information Index number generation means (305) for generating an Index number from the color information of the drawing information using a hash function, and Index unused determination means for determining whether the Index number generated by the Index number generation means is unused. (305) and an index table storage unit (306) for storing the set of the index number and the color information as an index table when the index unused determination unit determines that the index number is unused. , When it is determined by the Index unused determination means that the Index number has been used, Index color determination means (307) for acquiring color information corresponding to the Index number stored in the Index table storage means and determining whether the color information is the same as the color information of the drawing information; and the Index color When it is determined by the determination means that the two color information are the same, the Index number drawing means (309) for drawing the Index number, and the Index number drawn by the Index number drawing means is set as the Index on the Index page. An index data storage means (311) for storing values and an index color determination means, when it is determined that the two color information are different, indicates an attribute of an image to be drawn that is a value that is not used as an index number. Attribute information rendering means (309) for rendering a value on the Index page, and the Inde An image comprising a drawing means (308) for drawing a color value indicated by the color information of the drawing information and a page drawn by the drawing means when the color determining means determines that the two color information are different. Image data storage means (310) for storing data, the Index value stored in the Index data storage means and the color information stored in the image data storage means are read for each pixel, and based on the read Index value For the index value indicating the index number, the converted color information obtained by converting the index number into color information by accessing the index table is used, and the index value indicating the attribute of the image to be rendered is used. Index value conversion for outputting image data composed of the color information using the color information stored in the image data storage means Means (312, 313) and image processing means (314) for performing image processing on the image data from the index value conversion means.
また、本発明の画像処理装置は、入力情報を解析し、色情報を含む描画情報を生成する描画情報生成手段と、生成された前記描画情報の色情報からハッシュ関数を用いてIndex番号を生成するIndex番号生成手段と、前記Index番号生成手段により生成されたIndex番号が、未使用で有るか判定するIndex未使用判定手段と、前記Index未使用判定手段により、前記Index番号が未使用と判定された場合に、Indexテーブルとして前記Index番号と描画する画像の属性情報を含めた前記色情報とからなる組が格納されるIndexテーブル記憶手段と、前記Index未使用判定手段により、前記Index番号が使用済みであると判定された場合に、前記Indexテーブル記憶手段に格納されたIndex番号に対応する色情報を取得し、該色情報の示す色が、前記描画情報の色情報の示す色と同一であるか判断するIndex色判断手段と、前記描画情報から、描画するオブジェクトが少ない色数で描画されるか否か判断し、描画する画素の属性を決定する描画属性判断手段(304)と、前記描画属性判断手段により、描画するオブジェクトが少ない色数で描画されるものであると判定され、かつ、前記Index色判断手段により、前記2つの色情報の示す色が同一であると判定された場合に、Index番号を描画するIndex番号描画手段と、前記Index番号描画手段により描画されるIndex番号をIndexページのIndex値として記憶するIndexデータ記憶手段と、前記Index色判断手段により、前記2つの色情報が異なると判定された場合に、Index番号として使用しない値であって描画する画像の属性を示す値を前記Indexページに描画する属性情報描画手段と、前記Index色判断手段により、前記2つの色情報が異なると判定された場合に、前記描画情報の色情報が示す色値を描画する描画手段と、前記描画手段により描画されるページからなる画像データを記憶する画像データ記憶手段と、前記Indexデータ記憶手段に記憶されたIndex値と前記画像データ記憶手段に記憶された色情報とを画素毎に読み込み、読み込んだIndex値に基づいて、Index番号を示す値のIndex値に対しては前記IndexテーブルをアクセスすることによりIndex番号を色情報へ変換した変換後の色情報を用い、描画する画像の属性を示す値のIndex値に対しては前記画像データ記憶手段に記憶された色情報を用いて、これらの色情報を用いた画像データと、前記描画属性判断手段により決定された属性情報とを出力するIndex値変換手段(1612)と、前記Index値変換手段からの画像データと属性情報を用いて、該属性情報に基づき前記画像データに画像処理を行う画像処理手段とを有することを特徴とする。 Also, the image processing apparatus of the present invention analyzes input information and generates drawing information generation means for generating drawing information including color information, and generates an index number using a hash function from the color information of the generated drawing information. Index number generating means for performing the index number generation, determining whether the index number generated by the index number generating means is unused, and determining whether the index number is unused by the index unused determining means. In this case, the Index table storage means for storing a set of the Index number and the color information including the attribute information of the image to be drawn as an Index table, and the Index unused determination means, the Index number is determined by the Index table storage means. When it is determined that it has been used, the I stored in the Index table storage means Color information corresponding to the dex number is acquired, Index color determination means for determining whether the color indicated by the color information is the same as the color indicated by the color information of the drawing information, and an object to be drawn is determined based on the drawing information. A drawing attribute determining unit (304) for determining whether or not to draw with a small number of colors and determining an attribute of a pixel to be drawn, and an object to be drawn is drawn with a small number of colors by the drawing attribute determining unit. When it is determined that there is an index number, and the Index color determination unit determines that the colors indicated by the two color information are the same, the Index number drawing unit for drawing an Index number and the Index number drawing unit and Index data storing means for storing the Index number to be drawn as Index value Index page, by the Index color determining means, When it is determined that the two pieces of color information are different from each other, the attribute information rendering unit that renders a value that is not used as the Index number and that indicates the attribute of the image to be rendered on the Index page, and the Index color determination unit When it is determined that the two color information are different from each other, an image data storage for storing image data composed of a drawing means for drawing a color value indicated by the color information of the drawing information and a page drawn by the drawing means And the index value stored in the index data storage unit and the color information stored in the image data storage unit are read for each pixel, and based on the read index value, an index value indicating an index number is obtained. On the other hand, the converted color information obtained by converting the Index number into color information by accessing the Index table is used. The index value of the value indicating the attribute of the image to be drawn is determined by the color information stored in the image data storage means, the image data using these color information, and the drawing attribute determination means. Index value conversion means (1612) for outputting the attribute information, and image processing means for performing image processing on the image data based on the attribute information using the image data and attribute information from the Index value conversion means. It is characterized by having.
また、本発明は、画像処理装置における画像処理方法であって、入力情報を解析し、色情報を含む描画情報を生成する描画情報生成工程と、生成された前記描画情報の色情報からハッシュ関数を用いてIndex番号を生成するIndex番号生成工程と、前記Index番号生成工程により生成されたIndex番号が、未使用で有るか判定するIndex未使用判定工程と、前記Index未使用判定工程により、前記Index番号が未使用と判定された場合に、Indexテーブルとして前記Index番号および前記色情報の組が格納されるIndexテーブル記憶手段に、該Index番号および前記色情報の組を格納するIndexテーブル記憶工程と、前記Index未使用判定工程により、前記Index番号が使用済みであると判定された場合に、前記Indexテーブル記憶手段に格納されたIndex番号に対応する色情報を取得し、該色情報が、前記描画情報の色情報と同一であるか判断するIndex色判断工程と、前記Index色判断工程により、前記2つの色情報が同一であると判定された場合に、Index番号を描画するIndex番号描画工程と、前記Index番号描画工程により描画されるIndex番号をIndexページのIndex値として記憶するIndexデータ記憶手段に、該IndexページのIndex値を記憶するIndexデータ記憶工程と、前記Index色判断工程により、前記2つの色情報が異なると判定された場合に、Index番号として使用しない値であって描画する画像の属性を示す値を前記Indexページに描画する属性情報描画工程と、前記Index色判断工程により、前記2つの色情報が異なると判定された場合に、前記描画情報の色情報が示す色値を描画する描画工程と、前記描画工程により描画されるページからなる画像データを記憶する画像データ記憶手段に、該画像データを記憶する画像データ記憶工程と、前記Indexデータ記憶手段に記憶されたIndex値と前記画像データ記憶手段に記憶された色情報とを画素毎に読み込み、読み込んだIndex値に基づいて、Index番号を示す値のIndex値に対しては前記IndexテーブルをアクセスすることによりIndex番号を色情報へ変換した変換後の色情報を用い、描画する画像の属性を示す値のIndex値に対しては前記画像データ記憶手段に記憶された色情報を用いて、該色情報からなる画像データを出力するIndex値変換工程と、前記Index値変換工程からの画像データに画像処理を行う画像処理工程とを含むことを特徴とする。 The present invention is also an image processing method in an image processing apparatus, comprising: a drawing information generating step of analyzing input information and generating drawing information including color information; and a hash function from the color information of the generated drawing information The Index number generation step for generating an Index number using the Index number, the Index number generation step for determining whether the Index number generated by the Index number generation step is unused, and the Index unused determination step, An index table storage step of storing the set of the index number and the color information in an index table storage means for storing the set of the index number and the color information as an index table when it is determined that the index number is unused And the Index number unused determination step, the Index number is already used. When it is determined that there is an index color determination step of acquiring color information corresponding to the Index number stored in the Index table storage means and determining whether the color information is the same as the color information of the drawing information When the Index color determination step determines that the two color information is the same, the Index number drawing step for drawing the Index number, and the Index number drawn by the Index number drawing step are displayed on the Index page. In the Index data storage means for storing the Index value of the Index page, when the Index data storage step for storing the Index value of the Index page and the Index color determination step determine that the two color information are different, the Index number A value indicating an attribute of an image to be drawn that is a value that is not used as a drawing step of drawing a color value indicated by the color information of the drawing information when the attribute information drawing step of drawing on the dex page and the index color determination step determine that the two color information are different; In the image data storage means for storing image data composed of pages rendered by the rendering process, the image data storage process for storing the image data, the Index value stored in the Index data storage means, and the image data storage means After the conversion in which the stored color information is read for each pixel and the Index number is converted into the color information by accessing the Index table for the Index value indicating the Index number based on the read Index value. The image data storage means for the index value of the value indicating the attribute of the image to be drawn An index value converting step of outputting image data composed of the color information using the color information stored in the image information, and an image processing step of performing image processing on the image data from the index value converting step. To do.
また、本発明は、画像処理装置における画像処理方法であって、入力情報を解析し、色情報を含む描画情報を生成する描画情報生成工程と、生成された前記描画情報の色情報からハッシュ関数を用いてIndex番号を生成するIndex番号生成工程と、前記Index番号生成工程により生成されたIndex番号が、未使用で有るか判定するIndex未使用判定工程と、前記Index未使用判定工程により、前記Index番号が未使用と判定された場合に、Indexテーブルとして前記Index番号と描画する画像の属性情報を含めた前記色情報とからなる組が格納されるIndexテーブル記憶手段に、該Index番号と描画する画像の属性情報を含めた前記色情報とからなる組を格納するIndexテーブル記憶工程と、前記Index未使用判定工程により、前記Index番号が使用済みであると判定された場合に、前記Indexテーブル記憶手段に格納されたIndex番号に対応する色情報を取得し、該色情報の示す色が、前記描画情報の色情報の示す色と同一であるか判断するIndex色判断工程と、前記描画情報から、描画するオブジェクトが少ない色数で描画されるか否か判断し、描画する画素の属性を決定する描画属性判断工程と、前記描画属性判断工程により、描画するオブジェクトが少ない色数で描画されるものであると判定され、かつ、前記Index色判断工程により、前記2つの色情報の示す色が同一であると判定された場合に、Index番号を描画するIndex番号描画工程と、前記Index番号描画工程により描画されるIndex番号をIndexページのIndex値として記憶するIndexデータ記憶工程と、前記Index色判断工程により、前記2つの色情報が異なると判定された場合に、Index番号として使用しない値であって描画する画像の属性を示す値を前記Indexページに描画する属性情報描画工程と、前記Index色判断工程により、前記2つの色情報が異なると判定された場合に、前記描画情報の色情報が示す色値を描画する描画工程と、前記描画工程により描画されるページからなる画像データを記憶する画像データ記憶手段に、該画像データを記憶する画像データ記憶工程と、前記Indexデータ記憶手段に記憶されたIndex値と前記画像データ記憶手段に記憶された色情報とを画素毎に読み込み、読み込んだIndex値に基づいて、Index番号を示す値のIndex値に対しては前記IndexテーブルをアクセスすることによりIndex番号を色情報へ変換した変換後の色情報を用い、描画する画像の属性を示す値のIndex値に対しては前記画像データ記憶手段に記憶された色情報を用いて、これらの色情報を用いた画像データと、前記描画属性判断工程により決定された属性情報とを出力するIndex値変換工程と、前記Index値変換工程からの画像データと属性情報を用いて、該属性情報に基づき前記画像データに画像処理を行う画像処理工程とを含むことを特徴とする。 The present invention is also an image processing method in an image processing apparatus, comprising: a drawing information generating step of analyzing input information and generating drawing information including color information; and a hash function from the color information of the generated drawing information The Index number generation step for generating an Index number using the Index number, the Index number generation step for determining whether the Index number generated by the Index number generation step is unused, and the Index unused determination step, When it is determined that the Index number is not used, the Index table storage means for storing a set of the Index number and the color information including the attribute information of the image to be drawn as an Index table is stored in the Index table storage means. Index table storage step for storing a set of color information including attribute information of an image to be stored When the Index unused determination step determines that the Index number has been used, the color information corresponding to the Index number stored in the Index table storage unit is acquired, and the color indicated by the color information Is determined to be the same as the color indicated by the color information of the drawing information, and from the drawing information, it is determined whether the object to be drawn is drawn with a small number of colors, and the pixel to be drawn is determined. The drawing attribute determining step for determining the attribute and the drawing attribute determining step determine that the object to be drawn is to be drawn with a small number of colors, and the Index color determining step determines the two color information When it is determined that the colors to be displayed are the same, the Index number drawing step for drawing the Index number and the Index number drawing step for drawing And Index data storage step of storing the Index number to be as Index value Index page, by the Index color judgment step, when the two color information is determined to be different, rendering a value not used as Index Number The color information indicated by the color information of the drawing information when the attribute information drawing step of drawing a value indicating the attribute of the image to be displayed on the Index page and the Index color determination step determine that the two color information are different. A drawing process for drawing a value; an image data storage means for storing image data composed of pages drawn in the drawing process; an image data storage process for storing the image data; and an index data storage means stored in the index data storage means Read index value and color information stored in the image data storage means for each pixel Based on the index value, for the index value indicating the index number, the converted color information obtained by converting the index number into color information by accessing the index table is used to change the attribute of the image to be rendered. For the Index value indicated, the color information stored in the image data storage means is used to output the image data using these color information and the attribute information determined in the drawing attribute determination step. An index value converting step; and an image processing step of performing image processing on the image data based on the attribute information using the image data and the attribute information from the index value converting step.
本発明によれば、Index値による描画と、必要な画素または領域のみにする描画情報の色情報を用いた描画を、Index値(Index番号または属性を表わす値)に応じて一方または両方行うことにより、描画処理を高速化し、かつ、高画質を保持できるという効果が得られる。 According to the present invention, drawing using an Index value and drawing using color information of drawing information for only a necessary pixel or region are performed in accordance with an Index value (an index number or a value representing an attribute). As a result, the effects of speeding up the drawing process and maintaining high image quality can be obtained.
以下に添付図面を参照して、この発明にかかる画像処理装置および画像処理方法の最良な実施の形態を詳細に説明する。 Exemplary embodiments of an image processing apparatus and an image processing method according to the present invention are explained in detail below with reference to the accompanying drawings.
(実施の形態)
以下、図面を参照して本発明の形態を説明する。図1は、本発明を実施した多色画像形成装置の機構部の構成例を示す図である。この多色画像形成装置(以降、画像形成装置と略す)において、符号1は像担持体であるベルト状の感光体であり、その感光体1は回転ローラ2、3により回動可能に支持され、その各回転ローラ2、3の駆動により矢印A方向に回動される。感光体1の外周部には、帯電手段である帯電装置4、除電ランプL、感光体1用のクリーニングブレード15Aが配置されている。帯電装置4の下流位置には、光書込手段であるレーザ書き込みユニット5より発せられるレーザ光が照射される光書き込み部がある。
(Embodiment)
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating a configuration example of a mechanism unit of a multicolor image forming apparatus embodying the present invention. In this multicolor image forming apparatus (hereinafter abbreviated as an image forming apparatus), reference numeral 1 denotes a belt-like photoconductor as an image carrier, and the photoconductor 1 is rotatably supported by rotating rollers 2 and 3. The rotary rollers 2 and 3 are driven to rotate in the direction of arrow A. On the outer periphery of the photoreceptor 1, a charging device 4 as a charging unit, a static elimination lamp L, and a
光書き込み部より下流位置には、複数の現像ユニット(現像手段)が切り換え自在に支持された多色現像装置6が配置されている。多色現像装置6は、収容するトナーの色毎に、イエロー現像ユニット、マゼンタ現像ユニット、シアン現像ユニットを備えている。多色現像装置6の上部には、黒色トナーを収容したブラック現像ユニット7が備えられている。
A multi-color developing
これらの各現像ユニットのいずれか1つが対応する色の現像タイミングに同期し、現像可能な位置に移動する。多色現像装置6は、円周上120度の回転によっていずれかの現像ユニットを選択する機能を有している。そして、これらの現像ユニットが稼動するときには、ブラック現像ユニット7は感光体1より離間した位置に移動する。その移動は、カム45の回転により行なわれる。
Any one of these development units moves to a developable position in synchronization with the development timing of the corresponding color. The multicolor developing
レーザ書き込みユニット5は、図示しないレーザ光源から複数色の画像形成信号(書き込み情報)に応じたレーザ光を順次発生させ、ポリゴンモータ5Aによって回転されるポリゴンミラー5Bを用いてそのレーザ光を周期的に偏向させ、fθレンズ5Cおよびミラー5Dなどを経て、帯電された感光体1の表面を走査してその表面に静電潜像を形成させる。
The
感光体1の表面に形成される静電潜像は、対応する現像ユニットからのトナーによって現像され、トナー画像が形成・保持される。中間転写ベルト10は、感光体1に隣接しており、回転ローラ11、12により矢印B方向に回動可能に支持されている。感光体1上のトナー画像は、中間転写ベルト10の裏側にある転写ブラシ(第1の転写手段)13により、その中間転写ベルト10の表面に転写される。
The electrostatic latent image formed on the surface of the photoreceptor 1 is developed with toner from the corresponding developing unit, and a toner image is formed and held. The
感光体1の表面は1色毎にクリーニングブレード15Aによりクリーニングされ、その表面に所定色のトナー画像が形成される。そして、その都度中間転写ベルト10の1回動毎にその表面の同じ位置に感光体1上のトナー画像が転写されて、中間転写ベルト10上に複数色のトナー画像が重ね合わせられて保持される。その後、そのトナー画像は用紙やプラスチック等の記録媒体に転写される。
The surface of the photoreceptor 1 is cleaned for each color by the
用紙への転写に際しては、給紙装置(給紙カセット)17に収納されている用紙が給紙ローラ18によって繰り出されて搬送ローラ19により搬送され、レジストローラ対20に付き当てられた状態で一旦停止された後、トナー画像の転写位置が正規のものとなるようにタイミングがとられて中間転写ベルト10と転写ローラ(第2の転写手段)14のニップに再搬送される。そして、その用紙は転写ローラ14の作用により中間転写ベルト10上の複数色のトナー画像が一括転写された後、定着装置50に送られ、そこでトナー像が定着された後、排紙ローラ対51により本体フレーム9の上部の排紙スタック部52に排出される。
At the time of transfer onto the paper, the paper stored in the paper feeding device (paper feeding cassette) 17 is fed out by the
中間転写ベルト10には、回転ローラ11の部位に中間転写ベルト10用のクリーニング装置16が設けられ、クリーニングブレード16Aがクリーニングブレード接離用アーム16Cを介して接離自在の構成となっている。このクリーニングブレード16Aは、感光体1からトナー画像を受け取る工程では、中間転写ベルト10から離れ、中間転写ベルト10より用紙にトナー画像が転写された後に接触するようになっていて、用紙にトナー画像が転写された後の残留トナーをかきとる。クリーニングブレード16Aは、すでに記したように、感光体1用と中間転写ベルト10用がある。これらブレードがかきとった廃トナーは、回収容器15に収納する。その回収容器15は適宜交換される。中間転写ベルト10用のクリーニング装置16の内部に設けられたオーガ16Bが、クリーニングブレード16Aでかきとられた廃トナーを搬送し、図示しない搬送手段で回収容器15に送るようになっている。
The
符号31はユニット化されたプロセスカートリッジで、感光体1、帯電装置4、中間転写ベルト10、クリーニング装置16、用紙搬送路を形成する搬送ガイド30などを一体に組み込み、寿命到来時に交換できるように構成されている。プロセスカートリッジ31の交換のほかに、多色現像装置6、ブラック現像ユニット7なども寿命到来時に交換するが、その交換性やジャム紙の処理を容易にするため、本体の一部の前フレーム8は支軸9Aを中心に開閉可能に回動できる構造にしてある。
Reference numeral 31 denotes a unitized process cartridge that incorporates the photosensitive member 1, the charging device 4, the
図1の左側には、電装・制御装置60が収納されている。その上方には、ファン58が備えられており、機内の温度過昇防止のために排風する。図の右側には、比較的小規模な別の給紙装置59が備えられている。なお、この実施形態では、中間転写体として中間転写ベルト10を使用したが、中間転写ドラムを使用することもできる。
On the left side of FIG. 1, an electrical /
次に、以上のように構成された画像形成装置の詳細な構成および動作について説明する。図2は、図1の画像形成装置100における電装・制御装置の構成を示すブロック図である。
Next, the detailed configuration and operation of the image forming apparatus configured as described above will be described. FIG. 2 is a block diagram showing the configuration of the electrical / control apparatus in the
CPU(Central Processing Unit)201は、画像形成装置100全体の制御を行う他、画像処理や、Indexテーブルの生成などを行う。CPU I/F202は、メモリアービター(メモリARB)203に接続され、CPU201とメモリアービター203間のI/Fを処理する。また、メモリアービター203は、CPU201や、下記の通信制御部209およびDMA制御部206などとメインメモリ205とのアクセスを制御する。メモリコントローラ204は、メインメモリ205を制御し、データの読み出し/書き込みを行う。メインメモリ205は、CPU201のプログラムやIndexテーブルや、Indexページデータ、CMYKページデータや、階調処理後CMYKページのデータなどの各種データなどを格納する。
A CPU (Central Processing Unit) 201 controls the entire
DMA制御部206は、画像形成を実施するプリンタエンジン208に同期して、メインメモリ205に格納された階調処理後のCMYKページの画像データを受け取り、エンジンコントローラ207へ転送する。エンジンコントローラ207は、画像形成のためプリンタエンジン208を制御する。また、通信制御部209は、ネットワークを介して接続されるPC(パーソナルコンピュータ)210からのPDLデータを受け取りメインメモリ205へ転送する。CPU201は、このPDLデータを解析し、得られた描画情報(描画コマンド)に従って、ASIC200を制御する。
The
次に、本発明の実施の形態にかかる画像処理の流れについて、図3を参照し説明する。 図3は、本発明の実施の形態にかかる画像処理の流れを示すブロック図である。 Next, the flow of image processing according to the embodiment of the present invention will be described with reference to FIG. FIG. 3 is a block diagram showing a flow of image processing according to the embodiment of the present invention.
(1)メインメモリ205のPDLデータ格納領域であるPDL記憶部301は、通信制御部209から送られたPDLデータを記憶する。
(1) The
(2)図3のPDL解析処理部302としてのCPU201は、上記PDL記憶部301からPDLデータを読み込み、それを解析して色情報(CMYK値;なお、CMYKはカラー値である。)を含む描画コマンドを生成する。
(2) The
(3)そして、生成した描画コマンドをメインメモリ205の描画コマンド格納領域である描画コマンド記憶部303に記憶する。
(3) The generated drawing command is stored in the drawing
(4)CPU201の描画部は描画コマンド記憶部303から描画コマンドを受け取り、後述の図8に示すフローのように、描画前処理部304による処理と描画処理部307による処理を実行し、CMYKページとIndexページを生成する。
(4) The drawing unit of the
(5)CPU201の描画前処理部304は、描画コマンド記憶部303から描画コマンドを受け取り、Index番号とIndexテーブルを生成し、描画処理部307へIndex番号を転送する。具体的には、CPU201のIndexテーブル生成処理部305が、描画コマンド記憶部303から描画コマンドを受け取り、後述の図9に示すフローようにIndex番号を生成し、CMYK描画処理部308とIndex描画処理部309へ転送する。
(5) The
(6)Indexテーブル記憶部306としてのメインメモリ205は、Indexテーブル生成処理部305から転送されてきたIndexテーブルを記憶する。このIndexテーブルは、図4に示すように、Index値とこのIndex値に対応する色情報(色値であるCMYK値と、本実施形態では属性情報Aをさらに含める)を対応付けるテーブルである。Index値としては、図6のIndexフォーマットのように、Index番号(0〜250)として使用しないIndex値の残りの値を、属性値として割り当てている。このようにすることで、使用できるIndex番号の数が少なくなってしまうといった問題を解決できる。
(6) The
(7)CPU201の描画処理部307は、描画コマンド記憶部303から描画コマンドを受け取り、描画前処理部304からIndex値を受け取り、後述する図6のIndexフォーマットでIndexページ画像記憶部311へ描画する。また、Index値がIndex番号(Indexテーブル番号)ではなく属性値であれば、後述する図7のCMYKフォーマットでCMYKページ画像記憶部310へ描画する。この描画処理を詳述する前に、メインメモリ205内のメモリ空間の構成と、IndexページとCMYKページのメインメモリ205におけるデータ格納形式について図5〜7を用いて説明する。図5は、メインメモリ205におけるメモリ空間の構成を示している。
(7) The
図5において、プログラム領域500は、CPU201が実行するプログラムを格納する。PDLデータ格納領域501は、PCから送られたPDLデータを格納する領域である。Indexテーブル格納領域502は、図3のIndexテーブル記憶部306に相当し、Indexテーブル生成処理部305で生成されたIndexテーブルを記憶する領域である。Indexページ格納領域(Indexメモリ)503は、図6に例示したデータ格納形式に基づき、ページのIndex値を格納する領域である。CMYKページ格納領域(CMYKメモリ)504は、図7に例示したデータ格納形式に基づき、カラー値(CMYK)のデータを格納する領域である。階調処理後CMYKページ格納領域505は、階調処理後のCMYKデータを格納する領域である。
In FIG. 5, a
図6は、Indexページのメインメモリ205におけるデータ格納形式(Indexフォーマット)を示している。このデータ格納形式では、8bitのIndex値を持ち、251を法としたMOD演算により、0〜250の値(Index番号)を有する。また、“255”、“254”、“253”という値は、Index番号としては使用せず属性情報として用いるものであり、その画素が、“255”の場合CMYKの写真画像であることを、“254”の場合CMYKの文字画像であることを、“253”の場合CMYKのグラフィックス画像であることを示すために使用している。
FIG. 6 shows a data storage format (Index format) in the
図7は、CMYKページのメインメモリ205におけるデータ格納形式(CMYKフォーマット)を示している。同図に示すようにC、M、Y、Kそれぞれ8bitからなる32bitのCMYK値が格納される形式となっている。なお、データの並びは任意に設計することができる。
FIG. 7 shows a data storage format (CMYK format) in the
ここから、CPU201の描画処理部307による描画処理について、図8〜12のフローチャートを参照し説明する。
From here, the drawing process by the
はじめに、図8を用いて説明する。まず、Indexテーブルの色情報、ダイレクト描画数および全体描画数を“0”に初期化する(ステップS801)。なお、Indexテーブルの色情報の初期値としては、色情報として使用されない数値を用いてもよい。 First, a description will be given with reference to FIG. First, the color information, the direct drawing number, and the total drawing number in the Index table are initialized to “0” (step S801). In addition, as an initial value of color information in the Index table, a numerical value that is not used as color information may be used.
続いて、ステップS802〜S804までのループ処理により、下記の描画前処理(ステップS802)および描画処理(ステップS803)を、全ての描画コマンドについて実行する。 Subsequently, the following pre-drawing processing (step S802) and drawing processing (step S803) are executed for all drawing commands by the loop processing from step S802 to S804.
(描画前処理)
上記ステップS802の描画前処理のフローを図9に示している。
(Drawing pre-processing)
FIG. 9 shows a flow of the drawing pre-processing in step S802.
はじめに、図3の描画コマンド記憶部303の描画コマンドを読み込む(ステップS901)。
First, the drawing command in the drawing
ステップS902の判断にて、描画コマンドが写真画像描画コマンドであると判定された場合、ステップS911へ移行し、Index番号を、前述のCMYKの写真画像であることを示す“255”にセットする。 If it is determined in step S902 that the drawing command is a photographic image drawing command, the process proceeds to step S911, and the Index number is set to “255” indicating that it is a CMYK photographic image.
一方、ステップS902の判断にて、描画コマンドが写真画像描画コマンドでないと判定された場合、図3の描画コマンド記憶部303から描画コマンドの色情報を読み込む(ステップS903)。
On the other hand, if it is determined in step S902 that the drawing command is not a photographic image drawing command, the color information of the drawing command is read from the drawing
次に、ハッシュ関数によりIndex番号を求める。具体的には、ステップS903で読み込んだ色情報を、Indexフォーマットで用いる8bitの最大値である255に近い素数“251”を法としたMOD演算(剰余演算)を行い、その剰余値をIndex値とする(ステップS904)。ここでの剰余演算は、(R*224+G*216+B*8+A)%251として行う。ただし、“*”は乗算の演算子、“%”は剰余(除算の余り)を求める演算子である。一般的にMOD演算(剰余演算)は複雑であるが、上記“251”の逆数を予め準備し、それをカラー情報値(R*224+G*216+B*8+A)に乗算しさらに整数化した値に、“251”を乗算し、その値とカラー情報値との差分を得ることで、剰余値が得られる。 Next, an index number is obtained by a hash function. Specifically, the color information read in step S903 is subjected to a MOD calculation (residue calculation) modulo a prime number “251” close to 255 which is the maximum value of 8 bits used in the Index format, and the remainder value is converted into an Index value. (Step S904). The remainder calculation here is performed as (R * 2 24 + G * 2 16 + B * 8 + A)% 251. However, “*” is an operator for multiplication, and “%” is an operator for calculating a remainder (remainder of division). In general, the MOD calculation (residue calculation) is complicated, but the reciprocal number of “251” is prepared in advance, and the color information value (R * 2 24 + G * 2 16 + B * 8 + A) is multiplied to obtain an integer. The remainder value is obtained by multiplying the converted value by “251” and obtaining the difference between the value and the color information value.
次に、ステップS905の判断で、求めたIndex番号がIndexテーブルのIndex番号欄に値が入っているかチェックする。Index番号が入っていないとの判断は、前述のステップS801(図8)で初期化された“0”値(もしくは色情報として使用されない数値)が入っているか(すなわち初期状態のままであるか)で行う。 Next, in step S905, it is checked whether the obtained index number has a value in the index number column of the index table. The determination that the Index number is not included is whether the “0” value (or a numerical value that is not used as color information) initialized in step S801 (FIG. 8) is included (that is, whether the index number remains in the initial state). ).
ステップS905の判断で、ステップS904で求めたIndex番号が、Indexテーブルで使用されていないと判定された場合、ステップS906へ移行し、IndexテーブルにS903で読み込んだ色情報をセットする。 If it is determined in step S905 that the index number obtained in step S904 is not used in the index table, the process proceeds to step S906, and the color information read in step S903 is set in the index table.
ステップS905の判断で、ステップS904で求めたIndex番号が、Indexテーブルで使用されていると判定された場合、ステップS907へ移行し、ステップS904で求めたIndex番号に対応するIndexテーブルの色情報が、描画コマンドで描画する色と同じか判断する。 If it is determined in step S905 that the index number obtained in step S904 is used in the index table, the process proceeds to step S907, and the color information in the index table corresponding to the index number obtained in step S904 is obtained. Determine whether the color is the same as the color drawn by the drawing command.
これらの色情報が同一であれば、この描画前処理を終了する。一方、これらの色情報が異なれば、ステップS908へ移行し、描画コマンドが文字の描画を指示するものか否か判断する。ここで描画コマンドが文字の描画を指示するコマンドであれば(ステップS908でYes)、Index番号を“254”にセットし(ステップS909)、そうでなければ(ステップS908でNo)、Index番号を“253”にセットし(ステップS910)、本描画前処理を終了する。なお、前述のように、“255”、“254”、“253”という値は、本来のIndex番号としては使用せず属性情報として用いるものであり、描画する画素または描画するオブジェクトが、“255”の場合CMYKの写真画像であることを、“254”の場合CMYKの文字画像であることを、“253”の場合CMYKのグラフィックス画像であることを示す。 If these pieces of color information are the same, the drawing preprocessing is terminated. On the other hand, if these pieces of color information are different, the process proceeds to step S908, and it is determined whether or not the drawing command is an instruction to draw a character. If the drawing command is a command for drawing a character (Yes in step S908), the index number is set to "254" (step S909). Otherwise (No in step S908), the index number is set. It is set to “253” (step S910), and this drawing pre-processing is terminated. As described above, the values “255”, “254”, and “253” are not used as the original index numbers but are used as attribute information. The pixel to be drawn or the object to be drawn is “255”. "" Indicates a CMYK photo image, "254" indicates a CMYK character image, and "253" indicates a CMYK graphics image.
(描画処理)
上記ステップS803の描画処理のフローを図10に示している。
(Drawing process)
FIG. 10 shows a flow of the drawing process in step S803.
本描画処理は、Index番号が“251”未満であるか否かで、異なる処理を行っている。具体的には、図10に示すように、Index番号が“251”未満である場合(ステップS1001でYes)は、下記の描画処理(ステップS1002)を行い、Index番号が“251”以上である場合(ステップS1001でNo)は、下記のIndex&CMYK描画処理(ステップS1003)を行う。 This drawing process is different depending on whether or not the Index number is less than “251”. Specifically, as shown in FIG. 10, when the Index number is less than “251” (Yes in Step S1001), the following drawing process (Step S1002) is performed, and the Index number is “251” or more. In the case (No in step S1001), the following Index & CMYK drawing process (step S1003) is performed.
(Index描画処理)
上記ステップS1002のIndex描画処理のフローを図11に示している。
(Index drawing process)
FIG. 11 shows a flow of the Index drawing process in step S1002.
図11に示すように、図5に示すIndexページ格納領域503に、すべての画素について、指定された描画コマンドでIndex値を書き込む(ステップS1101〜S1102)。
As shown in FIG. 11, the Index values are written to all the pixels in the Index
(Index&CMYK描画処理)
上記ステップS1003のIndex&CMYK描画処理のフローを図12に示している。
(Index & CMYK drawing process)
FIG. 12 shows a flow of the Index & CMYK drawing process in step S1003.
図12に示すように、図5に示すIndexページ格納領域503に、指定された描画コマンドでIndex値(描画コマンドに応じて、前述の255,254,253のいずれか)を書き込み、CMYKページ格納領域504に、指定された描画コマンドで色情報のCMYK値を書き込むことを、すべての画素について行う(ステップS1201〜S1203)。
As shown in FIG. 12, an Index value (any one of the above-mentioned 255, 254, or 253 according to the drawing command) is written to the Index
(8)ここで図3に戻る。上記におけるIndex値の描画処理は、図3のIndex描画処理部309としてのCPU201が実行する。Index描画処理部309は、描画コマンド記憶部303から描画コマンドを受け取り、図5のIndexページ格納領域503に、描画前処理部304によりセットされたIndex値を図6のIndexフォーマットで描画する。
(8) Returning now to FIG. The index value drawing processing described above is executed by the
(9)のCPU201のCMYK描画処理部308は、図12に示し上述したIndex&CMYK描画処理を実行する。描画コマンド記憶部303から写真描画コマンドと写真画像のソース画像(色情報(CMYK値))を受け取り、CMYKページ格納領域504に、図13、14の例のように、写真画像を描画する。なお、写真画像は基本的に多くの色が存在するため、Indexテーブルの生成処理は行われない。
The CMYK
(10)CMYKページ画像記憶部310としてのメインメモリ205のCMYKページ格納領域504は、CMYK描画処理部308により描画されたCMYKページ画像を記憶する。
(10) The CMYK
(11)Indexページ画像記憶部311としてのメインメモリ205のIndexページ格納領域503は、Index描画処理部309により描画されたIndexページ画像を記憶する。
(11) The Index
(12)Indexテーブル変換処理部312としてのCPU201は、Indexページ画像記憶部311からIndexページ画像を画素単位に読み込み、Index値を、図7のフォーマットでCMYK値へ変換し、切替処理部313へ転送する。
(12) The
(13)切替処理部313としてのCPU201は、Indexテーブル変換処理部312からのCMYK値とCMYKページ画像記憶部310から画素単位に読み込まれるCMYK値とを、上記(11)のIndexページ画像の内容で切り替える。この切替処理部313は、具体的には、IndexページのIndex値が、0〜250のIndex番号の場合は、Indexテーブル変換処理部312からの入力を出力し、Index値が“255”または“254”または“253”の場合は、CMYKページ画像記憶部310からの入力を出力する。
(13) The
(14)階調処理部314としてのCPU201は、切替処理部313からのデータに対し階調処理を行い、階調処理後CMYKページ画像記憶部315へ転送する。
(14) The
(15)階調処理後CMYKページ画像記憶部315としてのメインメモリ205の階調処理後CMYKページ格納領域505は、画像処理部にて上記(12)〜(14)の処理が施された階調処理後CMYKページ画像を記憶する。
(15) The post-gradation-processed CMYK
(16)DMA処理部316としての図2のDMA制御部206は、階調処理後CMYKページ画像記憶部315から、階調処理後CMYKページ画像データを読み込み、プリンタエンジン317(図2の208)へ転送する。
(16) The
(17)プリンタエンジン317で、階調処理後CMYKページ画像データに基づきプリントアウトする。
(17) The
ここで、図13、図14に描画例を示す。図13は、プリントアウトの結果である。図14に示すように、写真画像は基本的に色数が多いので、図7のCMYKフォーマットのカラー値でメインメモリ205のCMYKページ格納領域504に描画し、文字/グラフィックス部分は色数が少ないので、図6のIndexフォーマットでIndexページ格納領域503に描画している。また、描画コマンドの色情報が示す色とIndexテーブルに登録されている色情報の示す色が同一の場合、文字/グラフィックス部分をIndex値でのみ描画するので、描画するデータ量が小さく、描画処理の高速化をはかることができる。
Here, drawing examples are shown in FIGS. FIG. 13 shows the result of the printout. As shown in FIG. 14, since the photographic image basically has a large number of colors, the photographic image is drawn in the CMYK
(画像形成装置100における電装・制御装置の第2の構成)
次に、図1の画像形成装置100における電装・制御装置の第2の構成について図15、16を用いて説明する。図15は、図1の画像形成装置100における電装・制御装置の第2の構成を示すブロック図である。前述の第1の構成では、図3に示した画像処理部の機能をCPU201で実現していたが、本第2の構成では、ASIC211に、図3の画像処理部の機能を実現する画像処理部212を、DMA制御部206に代えて設けた点が異なっている。その他の構成要素は、図2に示したものと同一であり、同一の構成要素には同一の符号を付し、その説明を省略する。
(Second Configuration of Electrical / Control Device in Image Forming Apparatus 100)
Next, a second configuration of the electrical / control apparatus in the
図16に、図15に示すASIC211に追加された画像処理部212のハードウェア構成を示している。以下では、この図を参照し、この画像処理部212の構成について、図16を用いて説明する。
FIG. 16 shows a hardware configuration of the
メモリアービターI/F1601は、画像処理パラメータ読み込み部1602とIndex/CMYK画像読み込み部1608のメモリアービター(メモリARB)への要求の調停を行う。
The memory arbiter I /
画像処理パラメータ読み込み部1602は、メモリアービターI/F1601を介して、図15に示すメインメモリ205の画像処理パラメータ領域から各種のパラメータを読み込み、後述する符号1606、1607の各画像処理パラメータ記憶部へ転送する。パラメータアドレス生成部1603は、図15のメインメモリ205の画像処理パラメータ領域から各種のパラメータを読み込むためのアドレスを生成する。
The image processing
DMAパラメータ記憶部1604は、画像処理パラメータ読み込み部1602から受け取った、バンド幅、バンド高さ、バンドスタートアドレス、階調処理後CMYKバンド幅、階調処理後CMYKバンド高さ、C、M、Y、Kバンドスタートアドレスなどを格納する。Indexテーブル記憶部1605は、図3のIndexテーブル生成処理部305で生成された、Index値変換部1612に必要な図4に示すようなIndexテーブルを格納する。
The DMA
ハーフトンパラメータ記憶部1606は、画像処理パラメータ読み込み部1602から受け取った階調処理部1613に必要なハーフトンパラメータなどを格納する。しきい値マトリックス記憶部1607は、画像処理パラメータ読み込み部1602から受け取った、階調処理部1613に必要なしきい値マトリックスなどを格納する。
The halftone
Index/CMYK画像読み込み部1608は、メモリアービターI/F1601を介して、図15のメインメモリ205のIndexページ格納領域からIndexページのデータを読み込み、Indexバッファー部1609へ転送する。さらに、メインメモリ205のCMYKページ格納領域からCMYKページのデータを読み込み、CMYKバッファー部1610へ転送する。これは、CMYKページデータが必要である場合と不必要である場合があるが、その場合に応じて、IndexページデータとCMYK画像を順次読み込むのは効率が悪いので、IndexページデータとCMYKページデータの両方を同時に読み込み各バッファーへ格納している。
The Index / CMYK
Indexバッファー部1609は、Indexページデータを複数画素ごとに格納している。CMYKバッファー部1610は、CMYKページデータを複数画素ごとに格納している。Index/CMYK画像アドレス生成部1611は、DMAパラメータ記憶部1604に格納されたパラメータを基に、図15のメインメモリ205のIndexページ格納領域とCMYKページ格納領域からIndexページデータとCMYKページデータを読み込むためのアドレスを生成する。Index値変換部1612は、Indexバッファー部1609からIndexページデータを読み込み、さらにCMYKバッファー部1610からCMYKページデータを読み込む。そして、下記に示すように、Indexページデータに基づきCMYK値へ変換し階調処理部1613へ転送する。
The
ここで、図17に図16のIndex値変換部1612における処理フローを示し、その説明をする。
Here, FIG. 17 shows a processing flow in the Index
Indexバッファー部1609とCMYKバッファー部1610からそれぞれIndexページデータとCMYKページデータを画素ごとに読み込む(ステップS1701)。
Index page data and CMYK page data are read for each pixel from the
次に、画素単位に読み込まれたIndex値が“251”未満である場合(ステップS1702でYes)、ステップS1703へ移行し、そのIndex値でIndexテーブルをアクセスし、対応するCMYK値と属性情報Aを求め、階調処理部1613へ転送する。
Next, when the Index value read in pixel units is less than “251” (Yes in Step S1702), the process proceeds to Step S1703, the Index table is accessed with the Index value, and the corresponding CMYK value and attribute information A Is transferred to the
画素単位に読み込まれたIndex値が、“254”である場合(ステップS1702でNoかつステップS1704でYes)、ステップS1705へ移行し、ステップS1701で読み込んだその画素に対応するCMYK値を、その画素の色として、かつA=文字属性として使用し、文字属性とCMYK値を階調処理部1613へする。
When the Index value read in pixel units is “254” (No in Step S1702 and Yes in Step S1704), the process proceeds to Step S1705, and the CMYK value corresponding to the pixel read in Step S1701 is set to the pixel. And A = character attribute, and the character attribute and CMYK value are sent to the
画素単位に読み込まれたIndex値が、“253”である場合(ステップS1704でNoかつステップS1706でYes)、ステップS1707へ移行し、ステップS1701で読み込んだその画素に対応するCMYK値を、その画素の色として、かつA=グラフィック属性として使用し、グラフィック属性とCMYK値を階調処理部1613へ転送する。
When the Index value read in pixel units is “253” (No in Step S1704 and Yes in Step S1706), the process proceeds to Step S1707, and the CMYK value corresponding to the pixel read in Step S1701 is set to the pixel. And the graphic attribute and CMYK value are transferred to the
画素単位に読み込まれたIndex値が、“255”である場合(ステップS1706でNo)、ステップS1708へ移行し、ステップS1701で読み込んだその画素に対応するCMYK値を、その画素の色として、かつA=写真属性として使用し、写真属性とCMYK値を階調処理部1613へ転送する。
When the Index value read in pixel units is “255” (No in Step S1706), the process proceeds to Step S1708, and the CMYK value corresponding to the pixel read in Step S1701 is set as the color of the pixel, and A = Used as a photo attribute, and transfers the photo attribute and CMYK value to the
次に、全ての画素を処理したか判定し(ステップS1709)、未だ処理していない画素が存在する場合はステップS1701へ戻り、全ての画素が処理されるまで上記一連の処理を繰り返す。以上のように、Index値変換部1612による処理がなされる。
Next, it is determined whether all the pixels have been processed (step S1709). If there is a pixel that has not been processed yet, the process returns to step S1701, and the above series of processing is repeated until all the pixels are processed. As described above, the processing by the index
ここで、図16に戻り、その説明を続ける。階調処理部1613は、しきい値マトリックス記憶部1607からしきい値マトリックスを読み込み、Index値変換部1612からCMYKデータと属性情報(属性値)を受け取ることにより、階調処理(ハーフトーン処理)を実行し、メモリのワード単位に画像処理後画像バッファー部1614へ階調処理後のデータを転送する。画像処理後画像バッファー部1614は、階調処理部1613で処理された画像データを、複数の効率の良いバースト転送をするために複数のワードデータを一時格納する。そして、画像処理後画像バッファー部1614から、図15に示すエンジンコントローラ207に画像データを転送する。
Returning to FIG. 16, the description will be continued. The
以上で説明した例では、写真画像描画と文字/グラフィックス画像描画を分け、写真画像描画は無条件でCMYKフォーマットのカラー画像として扱ったが、写真画像においても、色数が少ないと判断できる場合は、グラフィックス画像描画で行ったIndexテーブルへの変換処理を行うようにしてもよい。また、ここでは、色情報として、CMYKについて記述しているが、CMY、RGB、Lab色でも同様に考えることができる。 In the example described above, the photographic image drawing and the character / graphics image drawing are separated, and the photographic image drawing is unconditionally treated as a color image in the CMYK format. However, even in the photographic image, it can be determined that the number of colors is small. In this case, the conversion processing to the Index table performed in the graphics image drawing may be performed. Here, CMYK is described as the color information, but CMY, RGB, and Lab colors can be similarly considered.
本実施形態では、画素のフォーマットを図6、7のように8bitのIndexフォーマットと32bitのCMYKフォーマットで表現している。描画領域は8bitごとのプレーンで構成され、Indexフォーマットによる描画では、8bit/PIXELで1つのプレーンのみ描画している、つまり、画像全体について32bitのCMYK値で描画するのではないので、処理スピードを速くすることが可能である。また、減色処理を必要としないので、高画質を保つことが可能である。 In the present embodiment, the pixel format is expressed in an 8-bit Index format and a 32-bit CMYK format as shown in FIGS. The drawing area is composed of 8-bit planes, and in drawing in the Index format, only one plane is drawn with 8 bits / PIXEL. In other words, the entire image is not drawn with a 32-bit CMYK value. It can be fast. In addition, since no color reduction processing is required, high image quality can be maintained.
また、特許文献2のように、Indexテーブルを作成時にIndexテーブルの値を順次、比較するのでは無く、ハッシュ関数を使用し、そのキーの値でIndexテーブルを作成するのでIndexテーブルの生成が高速である。また、描画する時に描画する色のキー(Index値)でIndexテーブルをアクセスし、Indexテーブルの色と描画する色が異なるキーの衝突が起きた場合、その色は32bitのカラー値(CMYK)で描画するので、キーの衝突が起きても、正しく描画することが可能であり、また、そのことは大きなスピードの低下にはつながらない。 In addition, as in Patent Document 2, when an Index table is created, the values of the Index table are not sequentially compared, but a hash function is used and the Index table is created with the key value, so the generation of the Index table is fast. It is. In addition, when the index table is accessed with a color key (index value) to be drawn at the time of drawing, and a collision occurs between the index table color and the key to be drawn, the color is a 32-bit color value (CMYK). Since drawing is performed, it is possible to draw correctly even if a key collision occurs, and this does not lead to a significant decrease in speed.
また、図18に属性情報をbit単位に割り当てたIndexフォーマットの例を示すが、属性情報用に2bitを割り当てた場合、このようにIndexテーブルが64個しか使用することができなくなってしまう。この場合、Indexテーブルが小さいために、ハッシュ関数を使用したキーの生成において、衝突が多く発生する。キーの衝突が起きた場合、その色は32bitのカラー値で描画することになるので、処理スピードの低下を起こしてしまう。 FIG. 18 shows an example of an Index format in which attribute information is assigned in bit units. When 2 bits are assigned for attribute information, only 64 Index tables can be used in this way. In this case, since the Index table is small, many collisions occur in key generation using a hash function. When a key collision occurs, the color is drawn with a 32-bit color value, resulting in a decrease in processing speed.
そこで、本発明の上記各実施形態では、属性値(属性情報)をbit単位で割り当てるのではなく、図6のIndexフォーマットのように、Index番号(Indexテーブル番号)として使用しない値を属性値として割り当てることにより、8bit値に多くのIndexテーブル番号を割り当てることができるようにしている。これにより、従来に比べ、ハッシュ関数のキーの衝突を少なくし、また、Indexフォーマットのみでの描画を多くすることができ高速化を計ることができる。 Therefore, in each of the embodiments of the present invention, an attribute value (attribute information) is not assigned in units of bits, but a value that is not used as an Index number (Index table number) is used as an attribute value, as in the Index format of FIG. By assigning, many index table numbers can be assigned to 8-bit values. Thereby, compared with the conventional case, the collision of the keys of the hash function can be reduced, and the drawing only in the Index format can be increased, so that the speed can be increased.
また、図4のIndexテーブルのように、Indexテーブルに、色値(CMYK値)のみでなく属性値(A)も登録し、色情報CMYKAとしてIndexテーブルに登録することで、Index値変換部1612により変換時に、Indexテーブルから得られる属性値を階調処理部1613に与えることで、Indexフォーマットにより描画された部分についても、属性値を用いて適切な階調処理を行うことができる。
Further, as in the Index table of FIG. 4, not only the color value (CMYK value) but also the attribute value (A) is registered in the Index table, and is registered in the Index table as the color information CMYKA, whereby the Index
なお、本実施形態の画像形成装置で実行される前述の処理フローを実現するプログラムは、ROM等に予め組み込んで提供するように構成されるが、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)、各種メモリカード等のコンピュータで読み取り可能な記録媒体に記録して提供することもできる。 The program for realizing the above-described processing flow executed by the image forming apparatus according to the present embodiment is configured to be provided by being incorporated in advance in a ROM or the like, but is a file in an installable or executable format. It can also be provided by being recorded on a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, a DVD (Digital Versatile Disk), and various memory cards.
また、本実施形態の画像形成装置で実行される上記プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。 Further, the program executed by the image forming apparatus according to the present embodiment may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network.
本実施の形態の画像形成装置で実行されるプログラムは、上述した各部(描画コマンド生成部、描画部、画像処理部)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記記憶媒体からプログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、描画コマンド生成部、描画部、画像処理部が主記憶装置であるメインメモリ上に生成されるようになっている。 A program executed by the image forming apparatus according to the present embodiment has a module configuration including the above-described units (a drawing command generation unit, a drawing unit, and an image processing unit), and a CPU (processor) as actual hardware. By reading and executing the program from the storage medium, each unit is loaded onto the main storage device, and the drawing command generation unit, the drawing unit, and the image processing unit are generated on the main memory that is the main storage device. It has become.
なお、上記実施の形態では、本発明の画像形成装置を、コピー機能、プリンタ機能、スキャナ機能およびファクシミリ機能のうち少なくとも2つの機能を有する複合機に適用した例を挙げて説明するが、複写機、プリンタ、スキャナ装置、ファクシミリ装置等の画像形成装置であればいずれにも適用することができる。 In the above embodiment, the image forming apparatus of the present invention will be described by taking an example in which the image forming apparatus is applied to a multifunction machine having at least two functions among a copy function, a printer function, a scanner function, and a facsimile function. The present invention can be applied to any image forming apparatus such as a printer, a scanner apparatus, and a facsimile apparatus.
100 画像形成装置
200,211 ASIC
201 CPU
202 CPU I/F
203 メモリARB
204 メモリコントローラ
205 メインメモリ
206 DMA制御部
207 エンジンコントローラ
208 プリンタエンジン
209 通信制御部
210 PC
212 画像処理部
301 PDL記憶部
302 PDL解析処理部
303 描画コマンド記憶部
304 描画前処理部
305 Indexテーブル生成処理部
306 Indexテーブル記憶部
307 描画処理部
308 CMYK描画処理部
309 Index描画処理部
310 CMYKページ画像記憶部
311 Indexページ画像記憶部
312 Indexテーブル変換処理部
313 切替処理部
314 階調処理部
315 階調処理後CMYKページ画像記憶部
316 DMA処理部
317 プリンタエンジン
100
201 CPU
202 CPU I / F
203 Memory ARB
204
212
Claims (6)
生成された前記描画情報の色情報からハッシュ関数を用いてIndex番号を生成するIndex番号生成手段と、
前記Index番号生成手段により生成されたIndex番号が、未使用で有るか判定するIndex未使用判定手段と、
前記Index未使用判定手段により、前記Index番号が未使用と判定された場合に、Indexテーブルとして前記Index番号および前記色情報の組が格納されるIndexテーブル記憶手段と、
前記Index未使用判定手段により、前記Index番号が使用済みであると判定された場合に、前記Indexテーブル記憶手段に格納されたIndex番号に対応する色情報を取得し、該色情報が、前記描画情報の色情報と同一であるか判断するIndex色判断手段と、
前記Index色判断手段により、前記2つの色情報が同一であると判定された場合に、Index番号を描画するIndex番号描画手段と、
前記Index番号描画手段により描画されるIndex番号をIndexページのIndex値として記憶するIndexデータ記憶手段と、
前記Index色判断手段により、前記2つの色情報が異なると判定された場合に、Index番号として使用しない値であって描画する画像の属性を示す値を前記Indexページに描画する属性情報描画手段と、
前記Index色判断手段により、前記2つの色情報が異なると判定された場合に、前記描画情報の色情報が示す色値を描画する描画手段と、
前記描画手段により描画されるページからなる画像データを記憶する画像データ記憶手段と、
前記Indexデータ記憶手段に記憶されたIndex値と前記画像データ記憶手段に記憶された色情報とを画素毎に読み込み、読み込んだIndex値に基づいて、Index番号を示す値のIndex値に対しては前記IndexテーブルをアクセスすることによりIndex番号を色情報へ変換した変換後の色情報を用い、描画する画像の属性を示す値のIndex値に対しては前記画像データ記憶手段に記憶された色情報を用いて、該色情報からなる画像データを出力するIndex値変換手段と、
前記Index値変換手段からの画像データに画像処理を行う画像処理手段と
を有することを特徴とする画像処理装置。 Drawing information generation means for analyzing input information and generating drawing information including color information;
Index number generation means for generating an Index number from the generated color information of the drawing information using a hash function;
Index unused determining means for determining whether the Index number generated by the Index number generating means is unused;
Index table storage means for storing a set of the Index number and the color information as an Index table when the Index unused determination means determines that the Index number is unused.
When the Index unused determination unit determines that the Index number has been used, the color information corresponding to the Index number stored in the Index table storage unit is acquired, and the color information is stored in the drawing Index color determining means for determining whether the color information is the same as the information color information,
Index number drawing means for drawing an Index number when the Index color determination means determines that the two color information are the same;
And Index data storing means for storing the Index number drawn by the Index number rendering means as Index value Index page,
Attribute information rendering means for rendering, on the Index page, a value indicating an attribute of an image to be rendered that is a value that is not used as an Index number when the Index color determination means determines that the two color information are different. ,
A drawing means for drawing a color value indicated by the color information of the drawing information when the Index color determining means determines that the two color information are different;
Image data storage means for storing image data composed of pages rendered by the rendering means;
The Index value stored in the Index data storage unit and the color information stored in the image data storage unit are read for each pixel. Based on the read Index value, the Index value of the value indicating the Index number is The color information stored in the image data storage means is used for the Index value of the value indicating the attribute of the image to be drawn, using the color information after conversion by converting the Index number into color information by accessing the Index table. Index value converting means for outputting image data composed of the color information using
An image processing apparatus comprising image processing means for performing image processing on the image data from the index value conversion means.
生成された前記描画情報の色情報からハッシュ関数を用いてIndex番号を生成するIndex番号生成手段と、
前記Index番号生成手段により生成されたIndex番号が、未使用で有るか判定するIndex未使用判定手段と、
前記Index未使用判定手段により、前記Index番号が未使用と判定された場合に、Indexテーブルとして前記Index番号と描画する画像の属性情報を含めた前記色情報とからなる組が格納されるIndexテーブル記憶手段と、
前記Index未使用判定手段により、前記Index番号が使用済みであると判定された場合に、前記Indexテーブル記憶手段に格納されたIndex番号に対応する色情報を取得し、該色情報の示す色が、前記描画情報の色情報の示す色と同一であるか判断するIndex色判断手段と、
前記描画情報から、描画するオブジェクトが少ない色数で描画されるか否か判断し、描画する画素の属性を決定する描画属性判断手段と、
前記描画属性判断手段により、描画するオブジェクトが少ない色数で描画されるものであると判定され、かつ、前記Index色判断手段により、前記2つの色情報の示す色が同一であると判定された場合に、Index番号を描画するIndex番号描画手段と、
前記Index番号描画手段により描画されるIndex番号をIndexページのIndex値として記憶するIndexデータ記憶手段と、
前記Index色判断手段により、前記2つの色情報が異なると判定された場合に、Index番号として使用しない値であって描画する画像の属性を示す値を前記Indexページに描画する属性情報描画手段と、
前記Index色判断手段により、前記2つの色情報が異なると判定された場合に、前記描画情報の色情報が示す色値を描画する描画手段と、
前記描画手段により描画されるページからなる画像データを記憶する画像データ記憶手段と、
前記Indexデータ記憶手段に記憶されたIndex値と前記画像データ記憶手段に記憶された色情報とを画素毎に読み込み、読み込んだIndex値に基づいて、Index番号を示す値のIndex値に対しては前記IndexテーブルをアクセスすることによりIndex番号を色情報へ変換した変換後の色情報を用い、描画する画像の属性を示す値のIndex値に対しては前記画像データ記憶手段に記憶された色情報を用いて、これらの色情報を用いた画像データと、前記描画属性判断手段により決定された属性情報とを出力するIndex値変換手段と、
前記Index値変換手段からの画像データと属性情報を用いて、該属性情報に基づき前記画像データに画像処理を行う画像処理手段と
を有することを特徴とする画像処理装置。 Drawing information generation means for analyzing input information and generating drawing information including color information;
Index number generation means for generating an Index number from the generated color information of the drawing information using a hash function;
Index unused determining means for determining whether the Index number generated by the Index number generating means is unused;
An Index table that stores a set of the Index number and the color information including the attribute information of the image to be rendered as an Index table when the Index unused determination unit determines that the Index number is unused. Storage means;
When the Index unused determination unit determines that the Index number has been used, color information corresponding to the Index number stored in the Index table storage unit is acquired, and the color indicated by the color information is Index color determining means for determining whether the color is the same as the color indicated by the color information of the drawing information;
Drawing attribute determining means for determining whether or not an object to be drawn is drawn with a small number of colors from the drawing information and determining an attribute of a pixel to be drawn;
The drawing attribute determining means determines that the object to be drawn is drawn with a small number of colors, and the Index color determining means determines that the colors indicated by the two color information are the same. An index number drawing means for drawing the index number,
And Index data storing means for storing the Index number drawn by the Index number rendering means as Index value Index page,
Attribute information rendering means for rendering, on the Index page, a value indicating an attribute of an image to be rendered that is a value that is not used as an Index number when the Index color determination means determines that the two color information are different. ,
A drawing means for drawing a color value indicated by the color information of the drawing information when the Index color determining means determines that the two color information are different;
Image data storage means for storing image data composed of pages rendered by the rendering means;
The Index value stored in the Index data storage unit and the color information stored in the image data storage unit are read for each pixel. Based on the read Index value, the Index value of the value indicating the Index number is The color information stored in the image data storage means is used for the Index value of the value indicating the attribute of the image to be drawn, using the color information after conversion by converting the Index number into color information by accessing the Index table. Index value conversion means for outputting the image data using these color information and the attribute information determined by the drawing attribute determination means,
An image processing apparatus comprising: image processing means for performing image processing on the image data based on the attribute information using the image data and the attribute information from the Index value conversion means.
入力情報を解析し、色情報を含む描画情報を生成する描画情報生成工程と、
生成された前記描画情報の色情報からハッシュ関数を用いてIndex番号を生成するIndex番号生成工程と、
前記Index番号生成工程により生成されたIndex番号が、未使用で有るか判定するIndex未使用判定工程と、
前記Index未使用判定工程により、前記Index番号が未使用と判定された場合に、Indexテーブルとして前記Index番号および前記色情報の組が格納されるIndexテーブル記憶手段に、該Index番号および前記色情報の組を格納するIndexテーブル記憶工程と、
前記Index未使用判定工程により、前記Index番号が使用済みであると判定された場合に、前記Indexテーブル記憶手段に格納されたIndex番号に対応する色情報を取得し、該色情報が、前記描画情報の色情報と同一であるか判断するIndex色判断工程と、
前記Index色判断工程により、前記2つの色情報が同一であると判定された場合に、Index番号を描画するIndex番号描画工程と、
前記Index番号描画工程により描画されるIndex番号をIndexページのIndex値として記憶するIndexデータ記憶手段に、該IndexページのIndex値を記憶するIndexデータ記憶工程と、
前記Index色判断工程により、前記2つの色情報が異なると判定された場合に、Index番号として使用しない値であって描画する画像の属性を示す値を前記Indexページに描画する属性情報描画工程と、
前記Index色判断工程により、前記2つの色情報が異なると判定された場合に、前記描画情報の色情報が示す色値を描画する描画工程と、
前記描画工程により描画されるページからなる画像データを記憶する画像データ記憶手段に、該画像データを記憶する画像データ記憶工程と、
前記Indexデータ記憶手段に記憶されたIndex値と前記画像データ記憶手段に記憶された色情報とを画素毎に読み込み、読み込んだIndex値に基づいて、Index番号を示す値のIndex値に対しては前記IndexテーブルをアクセスすることによりIndex番号を色情報へ変換した変換後の色情報を用い、描画する画像の属性を示す値のIndex値に対しては前記画像データ記憶手段に記憶された色情報を用いて、該色情報からなる画像データを出力するIndex値変換工程と、
前記Index値変換工程からの画像データに画像処理を行う画像処理工程と
を含むことを特徴とする画像処理方法。 An image processing method in an image processing apparatus,
A drawing information generation step of analyzing input information and generating drawing information including color information;
An index number generation step of generating an index number from the generated color information of the drawing information using a hash function;
An index unused determination step for determining whether the index number generated by the index number generation step is unused;
When the Index number is determined not to be used in the Index unused determination step, the Index number storage unit stores the Index number and the color information as an Index table. Index table storage step for storing a set of
When it is determined by the Index unused determination step that the Index number is already used, color information corresponding to the Index number stored in the Index table storage unit is acquired, and the color information is displayed in the drawing Index color determination step for determining whether the information is the same as the color information;
An Index number drawing step of drawing an Index number when it is determined by the Index color determination step that the two pieces of color information are the same;
The Index data storing means for storing the Index number drawn by the Index number drawing step as Index value Index page, and Index data storage step of storing the Index value of the Index page,
An attribute information drawing step of drawing, on the Index page, a value that is not used as an Index number and that indicates an attribute of an image to be drawn when the Index color determination step determines that the two color information are different. ,
A drawing step of drawing a color value indicated by the color information of the drawing information when the Index color determination step determines that the two color information are different;
An image data storage step for storing the image data in an image data storage means for storing image data composed of pages drawn by the drawing step;
The Index value stored in the Index data storage unit and the color information stored in the image data storage unit are read for each pixel. Based on the read Index value, the Index value of the value indicating the Index number is The color information stored in the image data storage means is used for the Index value of the value indicating the attribute of the image to be drawn, using the color information after conversion by converting the Index number into color information by accessing the Index table. Index value converting step for outputting image data composed of the color information using
And an image processing step of performing image processing on the image data from the Index value conversion step.
入力情報を解析し、色情報を含む描画情報を生成する描画情報生成工程と、
生成された前記描画情報の色情報からハッシュ関数を用いてIndex番号を生成するIndex番号生成工程と、
前記Index番号生成工程により生成されたIndex番号が、未使用で有るか判定するIndex未使用判定工程と、
前記Index未使用判定工程により、前記Index番号が未使用と判定された場合に、Indexテーブルとして前記Index番号と描画する画像の属性情報を含めた前記色情報とからなる組が格納されるIndexテーブル記憶手段に、該Index番号と描画する画像の属性情報を含めた前記色情報とからなる組を格納するIndexテーブル記憶工程と、
前記Index未使用判定工程により、前記Index番号が使用済みであると判定された場合に、前記Indexテーブル記憶手段に格納されたIndex番号に対応する色情報を取得し、該色情報の示す色が、前記描画情報の色情報の示す色と同一であるか判断するIndex色判断工程と、
前記描画情報から、描画するオブジェクトが少ない色数で描画されるか否か判断し、描画する画素の属性を決定する描画属性判断工程と、
前記描画属性判断工程により、描画するオブジェクトが少ない色数で描画されるものであると判定され、かつ、前記Index色判断工程により、前記2つの色情報の示す色が同一であると判定された場合に、Index番号を描画するIndex番号描画工程と、
前記Index番号描画工程により描画されるIndex番号をIndexページのIndex値として記憶するIndexデータ記憶工程と、
前記Index色判断工程により、前記2つの色情報が異なると判定された場合に、Index番号として使用しない値であって描画する画像の属性を示す値を前記Indexページに描画する属性情報描画工程と、
前記Index色判断工程により、前記2つの色情報が異なると判定された場合に、前記描画情報の色情報が示す色値を描画する描画工程と、
前記描画工程により描画されるページからなる画像データを記憶する画像データ記憶手段に、該画像データを記憶する画像データ記憶工程と、
前記Indexデータ記憶手段に記憶されたIndex値と前記画像データ記憶手段に記憶された色情報とを画素毎に読み込み、読み込んだIndex値に基づいて、Index番号を示す値のIndex値に対しては前記IndexテーブルをアクセスすることによりIndex番号を色情報へ変換した変換後の色情報を用い、描画する画像の属性を示す値のIndex値に対しては前記画像データ記憶手段に記憶された色情報を用いて、これらの色情報を用いた画像データと、前記描画属性判断工程により決定された属性情報とを出力するIndex値変換工程と、
前記Index値変換工程からの画像データと属性情報を用いて、該属性情報に基づき前記画像データに画像処理を行う画像処理工程と
を含むことを特徴とする画像処理方法。 An image processing method in an image processing apparatus,
A drawing information generation step of analyzing input information and generating drawing information including color information;
An index number generation step of generating an index number from the generated color information of the drawing information using a hash function;
An index unused determination step for determining whether the index number generated by the index number generation step is unused;
When the Index number is determined to be unused by the Index unused determination step, an Index table that stores a set of the Index number and the color information including the attribute information of the image to be rendered as an Index table. An index table storage step for storing a set of the index number and the color information including the attribute information of the image to be drawn in the storage means;
When it is determined by the Index unused determination step that the Index number is already used, color information corresponding to the Index number stored in the Index table storage unit is acquired, and the color indicated by the color information is Index color determination step for determining whether the color is the same as the color indicated by the color information of the drawing information;
A drawing attribute determining step of determining whether or not an object to be drawn is drawn with a small number of colors from the drawing information and determining an attribute of a pixel to be drawn;
The drawing attribute determining step determines that the object to be drawn is drawn with a small number of colors, and the Index color determining step determines that the colors indicated by the two color information are the same. An index number drawing step for drawing an index number,
And Index data storage step of storing the Index number drawn by the Index number drawing step as Index value Index page,
An attribute information drawing step of drawing, on the Index page, a value that is not used as an Index number and that indicates an attribute of an image to be drawn when the Index color determination step determines that the two color information are different. ,
A drawing step of drawing a color value indicated by the color information of the drawing information when the Index color determination step determines that the two color information are different;
An image data storage step for storing the image data in an image data storage means for storing image data composed of pages drawn by the drawing step;
The Index value stored in the Index data storage unit and the color information stored in the image data storage unit are read for each pixel. Based on the read Index value, the Index value of the value indicating the Index number is The color information stored in the image data storage means is used for the Index value of the value indicating the attribute of the image to be drawn, using the color information after conversion by converting the Index number into color information by accessing the Index table. Index value conversion step of outputting image data using these color information and attribute information determined by the drawing attribute determination step,
An image processing method comprising: an image processing step of performing image processing on the image data based on the attribute information using the image data and the attribute information from the Index value conversion step.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009066436A JP5262882B2 (en) | 2009-03-18 | 2009-03-18 | Image processing apparatus and image processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009066436A JP5262882B2 (en) | 2009-03-18 | 2009-03-18 | Image processing apparatus and image processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010220044A JP2010220044A (en) | 2010-09-30 |
| JP5262882B2 true JP5262882B2 (en) | 2013-08-14 |
Family
ID=42978367
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009066436A Expired - Fee Related JP5262882B2 (en) | 2009-03-18 | 2009-03-18 | Image processing apparatus and image processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5262882B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005197993A (en) * | 2004-01-07 | 2005-07-21 | Seiko Epson Corp | Image forming apparatus, image forming method, and program |
| JP4198087B2 (en) * | 2004-04-13 | 2008-12-17 | 株式会社ソニー・コンピュータエンタテインメント | Image generating apparatus and image generating method |
-
2009
- 2009-03-18 JP JP2009066436A patent/JP5262882B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010220044A (en) | 2010-09-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4950007B2 (en) | Image processing apparatus, image forming apparatus including the same, and image processing method | |
| JP4165706B2 (en) | Document reading apparatus and image forming apparatus | |
| US8274707B2 (en) | Image processing apparatus, image processing method, and program for determining or computing an extended region of a block region of image data or an input image | |
| JP2017122971A (en) | Image processing apparatus, image forming apparatus, image processing method, and program | |
| JP5767523B2 (en) | Image processing apparatus, control method therefor, and program | |
| JP5335751B2 (en) | Image forming apparatus | |
| JP5262882B2 (en) | Image processing apparatus and image processing method | |
| JP2009269341A (en) | Apparatus and method for processing image | |
| JP5740991B2 (en) | Image processing apparatus and image processing method | |
| JP3867888B2 (en) | Image information rotating method, rotating device, recording medium, image reading device, and image forming device | |
| JP3862637B2 (en) | Data compression method, apparatus, image processing apparatus, and image forming apparatus | |
| JP3963260B2 (en) | Image processing apparatus and image forming apparatus | |
| JP2006203584A (en) | Image processor and program | |
| JP2008023959A (en) | Image processing apparatus, image processing method, and program | |
| JP4172763B2 (en) | Drawing information processing method and apparatus, and image forming apparatus | |
| JP2003216365A (en) | Image processor and image forming device | |
| JP5440058B2 (en) | Image processing apparatus, image processing method, image processing program, and image processing system | |
| JP2009169727A (en) | Image processing apparatus, image processing method, and program | |
| JP2009147820A (en) | Image forming apparatus, image forming method, and program | |
| JP2010213203A (en) | Image processing apparatus, and image processing method | |
| US10511739B1 (en) | Image processing apparatus and image processing method for generating scaled image data | |
| JP4012833B2 (en) | Image rotation processing apparatus, image rotation processing method, and storage medium | |
| JP2003162382A (en) | Color image forming apparatus and color copying apparatus | |
| JP3922990B2 (en) | Image processing apparatus and image forming apparatus | |
| JP2010141607A (en) | Image processor, and image processing method for same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120228 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120621 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130130 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130205 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130311 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130402 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130415 |
|
| LAPS | Cancellation because of no payment of annual fees |