JP2005260872A - Image processor and image processing method, and computer-readable recording medium with program for allowing computer to execute image processing method recorded thereon - Google Patents

Image processor and image processing method, and computer-readable recording medium with program for allowing computer to execute image processing method recorded thereon Download PDF

Info

Publication number
JP2005260872A
JP2005260872A JP2004073333A JP2004073333A JP2005260872A JP 2005260872 A JP2005260872 A JP 2005260872A JP 2004073333 A JP2004073333 A JP 2004073333A JP 2004073333 A JP2004073333 A JP 2004073333A JP 2005260872 A JP2005260872 A JP 2005260872A
Authority
JP
Japan
Prior art keywords
image
value
color
data
encoding
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
JP2004073333A
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 JP2004073333A priority Critical patent/JP2005260872A/en
Publication of JP2005260872A publication Critical patent/JP2005260872A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To realize coding processing at high speed with a comparatively simple configuration by judging a color of pixels of each color block. <P>SOLUTION: An image processor includes: an image division means (not shown) for dividing generated image data into n×m blocks; two-dimensional DCT processing apparatuses 128, 134, 144 in each color for applying frequency decomposition to generated n×m images; quantization processing apparatuses 129, 135, 141 in each color for coding data after the frequency decomposition; entropy coders 130, 136, 142; single color value judgment means 131, 137, 143 for judging whether level values of color components of the n×m images are all the same; and single color data coders 132, 138, 144 for producing code data of a single color value when the level values of color components of the n×m images are all the same. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

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

従来、プリンタはネットワークから受け取ったPDL(ページ記述言語)をバンド単位に多値RGBデータで描画し、多値画像の圧縮アルゴリズム(JPEG:Joint Photographic Expers Groupなど)にしたがって符号化し、その符号をメモリに格納し、その後、プリント出力時に、各版ごと遅延させて、メモリから符号データを読み込む。さらに上記の圧縮アルゴリズムにしたがってRGBデータに復号化し、その後、色変換処理により、CMYKデータに変換後、階調処理により、2値、4値、8値などに変換し、階調処理後のC(シアン),M(マゼンタ),Y(イエロー),K(ブラック)の各版に対応するデータのみプリンタエンジンに転送し、各版専用の復号化装置と各版専用の画像処理装置を有することで印刷出力を実行していた。   2. Description of the Related Art Conventionally, a printer draws PDL (page description language) received from a network as multi-value RGB data in band units, encodes it according to a multi-value image compression algorithm (JPEG: Joint Photographic Experts Group, etc.), and the code is stored in memory. After that, at the time of print output, the code data is read from the memory with a delay for each plate. Further, it is decoded into RGB data in accordance with the above compression algorithm, then converted into CMYK data by color conversion processing, converted to binary, quaternary, 8-value, etc. by gradation processing, and C after gradation processing. (Cyan), M (magenta), Y (yellow), K (black) only data corresponding to each plate is transferred to the printer engine, and each plate has a dedicated decoding device and an image processing device dedicated to each plate. The print output was executed.

この圧縮方式としてはDCT(Discret Cosine Transform)などの直交変換によって画像データを周波数成分に変換し、その変換係数を量子化する方式があり、特にDCTを使用した多値画像を符号化する方式として、ITU−TとISOにより、標準化された上記JPEG方式が知られている。このJPEGのDCT演算式を数1に示す。   As this compression method, there is a method of transforming image data into frequency components by orthogonal transform such as DCT (Discrete Cosine Transform) and quantizing the transform coefficient, and particularly as a method of encoding a multi-value image using DCT. The JPEG method standardized by ITU-T and ISO is known. This JPEG DCT arithmetic expression is shown in Equation 1.

Figure 2005260872
Figure 2005260872

また、他の圧縮方式として画像データを水平周波数方向と垂直周波数方向に複数のブロックに分割すると共に低域周波数のブロックほど細かくするWavelet(ウェーブレット)変換が知られている。このWavelet変換は最近、自然階調の画像を効果的に圧縮する方法として注目されている。また、Wavelet変換は写真のような連続した階調を持った画像の圧縮に適していることが知られている。図18に分割例およびその演算式を示す。   As another compression method, there is known Wavelet conversion in which image data is divided into a plurality of blocks in the horizontal frequency direction and the vertical frequency direction, and the lower frequency blocks are made finer. The Wavelet transform has recently attracted attention as a method for effectively compressing natural gradation images. Wavelet conversion is known to be suitable for compression of an image having continuous gradation such as a photograph. FIG. 18 shows an example of division and an arithmetic expression thereof.

また、プリンタ画像200は、図17に示すようにグラフィックス画像部分201と、写真画像部分202に分かれる。グラフィックス画像部分201は同じ色が続くことが多く。周波数分解すると、DC値のみあるがAC値は"0"であることが多い。写真画像部分202は、JPEGの方式に適しており、周波数分解し、高周波数から量子化して行くことにより、かなりの圧縮率を求めることができる。   The printer image 200 is divided into a graphics image portion 201 and a photographic image portion 202 as shown in FIG. The graphics image portion 201 often has the same color. When the frequency decomposition is performed, only the DC value is present, but the AC value is often “0”. The photographic image portion 202 is suitable for the JPEG system, and a considerable compression rate can be obtained by performing frequency decomposition and quantizing from a high frequency.

また、コピー機器において、入力された画像データを圧縮すると、入力された画像をM×N画素のブロックへ分割し、そのブロック内の色をチェックし、全ての画素が白色であれば、その判定結果を算術符号方式で符号化し、白でなければ、DCT処理方式にて符号化することにより、符号化効率を上げる方式が開示されている(たとえば、特許文献1参照)。   Also, when the input image data is compressed in the copying machine, the input image is divided into blocks of M × N pixels, the colors in the block are checked, and if all the pixels are white, the determination is made. A method is disclosed in which the result is encoded by an arithmetic coding method, and if the result is not white, encoding is performed by a DCT processing method to increase the coding efficiency (see, for example, Patent Document 1).

また、DCTを使用した復号装置として、ハフマン復号後のDCT係数をチェックし、"0"である部分のDCT係数部分の逆DCT処理の演算を省くことにより、DCT演算の高速化を可能としている(たとえば、特許文献2、3参照)。   In addition, as a decoding apparatus using DCT, the DCT coefficient after Huffman decoding is checked, and the operation of inverse DCT processing of the DCT coefficient part of “0” is omitted, thereby enabling high-speed DCT calculation. (For example, refer to Patent Documents 2 and 3).

特許第3072776号公報Japanese Patent No. 3072776 特許第2839392号公報Japanese Patent No. 2839392 特許第2858774号公報Japanese Patent No. 2858774

上記のように従来は、グラフィックス画像部分と、写真画像部分を分割し、グラフィックス部分をDPCM(differential pulse code modulation)のような予測符号化方式や、算術符号化方式のような方式で圧縮し、写真画像をJPEG方式で圧縮することにより、高い圧縮率を求めている。しかしながら、このような従来の技術にあっては、2つの別方式を画像の特徴に対応して使用する場合は、ハードウエアが大規模になるとともに、その処理を複雑化させてしまうといった問題点があった。   Conventionally, as described above, the graphics image portion and the photographic image portion are divided, and the graphics portion is compressed by a predictive coding method such as DPCM (differential pulse code modulation) or a method such as an arithmetic coding method. However, a high compression rate is demanded by compressing a photographic image by the JPEG method. However, in such a conventional technique, when two different methods are used corresponding to the features of the image, the hardware becomes large and the processing becomes complicated. was there.

本発明は、上記に鑑みてなされたものであって、各色ブロックの画素の色を判定し、各ブロック独立に同じ色と判定された場合、その周波数変換処理とは別のパスの一色データ符号化装置を使用することにより、高速にかつ比較的簡単な構成での符号化処理を実現することを目的とする。   The present invention has been made in view of the above, and determines the color of the pixel of each color block, and when it is determined that each block independently has the same color, the one-color data code of a different path from the frequency conversion process An object of the present invention is to realize an encoding process at a high speed and with a relatively simple configuration by using an encoding device.

上述した課題を解決し、目的を達成するために、請求項1にかかる発明は、描画生成された画像データをプリンタエンジンに出力処理する画像処理装置において、前記生成された画像データをn×mのブロックに分割する画像分割手段と、前記画像分割手段により生成されたn×mの画像を周波数分解する周波数分解手段と、前記周波数分解後のデータを符号化する周波数分解後データ符号化手段と、前記n×mの画像の色成分のレベル値がすべて同じ値であるかを判定する一色値判定手段と、前記一色値判定手段によりn×mの画像の色成分のレベル値がすべて同じ値である場合、一色値の符号データを生成する一色値符号化手段と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, an invention according to claim 1 is an image processing apparatus that outputs image data generated by drawing to a printer engine, and outputs the generated image data to n × m. Image dividing means for dividing the image into blocks, frequency decomposition means for frequency-decomposing the n × m image generated by the image dividing means, and frequency-decomposed data encoding means for encoding the data after frequency decomposition One color value determining means for determining whether or not the level values of the color components of the n × m image are all the same, and the level values of the color components of the n × m image are all the same value by the single color value determining means. In this case, a single color value encoding means for generating code data of a single color value is provided.

この請求項1にかかる発明によれば、一色値判定手段でn×mの画像の色成分のレベル値がすべて同じ値であるかを判定し、n×mの画像の色成分のレベル値がすべて同じ値である場合に一色値の符号データを生成する一色値符号化手段による処理パスと、他の画像は周波数分解してその高周波数を量子化する処理パスの2つを設けることにより、たとえば単色で構成されるグラフィックス画像を一色値符号化手段で処理し、写真などの混色画像は通常の周波数分解後の符号化を実行することが可能になる。   According to the first aspect of the present invention, it is determined by the one color value determination means whether the level values of the color components of the n × m image are all the same value, and the level values of the color components of the n × m image are determined. By providing two processing paths, one is a color value encoding means for generating code data of one color value when all are the same value, and the other is a processing path for frequency-decomposing and quantizing the high frequency of other images, For example, a graphics image composed of a single color is processed by a one-color value encoding means, and a mixed color image such as a photograph can be encoded after normal frequency decomposition.

また、請求項2にかかる発明は、1つ前のブロックが前記一色値符号化手段を使用していたかを判定する前ブロック符号化フロー判定手段を備えたことを特徴とする。   According to a second aspect of the present invention, there is provided a previous block encoding flow determination unit that determines whether the previous block used the one-color value encoding unit.

この請求項2にかかる発明によれば、請求項1において、1つ前のブロックが一色値符号化手段を使用していたかを判定することにより、1つ前のDC値とDC値の差分による符号化処理を行って出力することが可能になる。   According to the second aspect of the invention, in the first aspect, by determining whether the previous block used the one-color value encoding means, the difference between the previous DC value and the DC value is determined. An encoding process can be performed and output.

また、請求項3にかかる発明は、1つ前のブロックが前記一色値符号化手段を使用しない場合、当該1つ前のブロックのDC成分値を用いて符号化するDC値を予測符号化するDC値予測符号化手段を備えたことを特徴とする。   The invention according to claim 3 predictively encodes a DC value to be encoded using the DC component value of the previous block when the previous block does not use the one-color value encoding means. DC value predictive encoding means is provided.

この請求項3にかかる発明によれば、請求項1において、1つ前のブロックが前記一色値符号化手段を使用しない場合、当該1つ前のブロックのDC成分値を用いて符号化するDC値を予測符号化することにより、1つ前のDC予測値による符号化処理を行なうことが可能になる。   According to the invention of claim 3, in claim 1, when the previous block does not use the one-color value encoding means, the DC is encoded using the DC component value of the previous block. By predictively encoding the value, it is possible to perform encoding processing using the previous DC predicted value.

また、請求項4にかかる発明は、1つ前のブロックが前記周波数分解後データ符号化手段を使用しない場合、当該1つ前のブロックのDC成分値を用いて符号化するDC値を予測符号化するDC値予測符号化手段を備えたことを特徴とする。   According to a fourth aspect of the present invention, when the previous block does not use the frequency-decomposed data encoding means, the DC value to be encoded using the DC component value of the previous block is predicted code. DC value predictive encoding means is provided.

この請求項4にかかる発明によれば、1つ前のブロックが前記周波数分解後データ符号化手段を使用しない場合、当該1つ前のブロックのDC成分値を用いて符号化するDC値を予測符号化することにより、1つ前のDC予測値による符号化処理を行なうことが可能になる。   According to the fourth aspect of the present invention, when the previous block does not use the post-frequency decomposition data encoding means, the DC value to be encoded is predicted using the DC component value of the previous block. Encoding makes it possible to perform encoding processing using the previous DC prediction value.

また、請求項5にかかる発明は、描画生成された画像データをプリンタエンジンに出力処理する画像処理装置において、前記生成された画像データをn×mのブロックに分割する画像分割手段と、前記画像分割手段により生成されたn×mの画像を周波数分解する周波数分解手段と、前記周波数分解後のデータを符号化する周波数分解後データ符号化手段と、前記n×mの画像の色成分のレベル値がすべて同じ値であるかを判定する一色値判定手段と、前記一色値判定手段によりn×mの画像の色成分のレベル値がすべて同じ値である場合、前記周波数分解手段を用いずに色成分のレベル値による周波数分解値を生成する一色値周波数分解データ生成手段と、を備えたことを特徴とする。   According to a fifth aspect of the present invention, there is provided an image processing apparatus that outputs image data generated by drawing to a printer engine, image dividing means for dividing the generated image data into n × m blocks, and the image Frequency resolving means for frequency-decomposing the n × m image generated by the dividing means, frequency-decomposed data encoding means for encoding the data after frequency decomposition, and levels of color components of the n × m image When the level values of the color components of the n × m image are all the same by the single color value determining unit that determines whether all the values are the same value, the frequency resolution unit is not used. One-color-value frequency-resolved data generation means for generating a frequency-resolved value based on the level value of the color component.

この請求項5にかかる発明によれば、一色値判定手段によりn×mの画像の色成分のレベル値がすべて同じ値である場合、周波数分解手段を用いずに色成分のレベル値による周波数分解値を生成することにより、単色の周波数分解値が効率的に生成可能になる。   According to the fifth aspect of the present invention, when the level values of the color components of the n × m image are all the same value by the single color value determination means, the frequency resolution based on the color component level values is used without using the frequency resolution means. By generating a value, it is possible to efficiently generate a monochromatic frequency decomposition value.

また、請求項6にかかる発明は、描画生成された画像データをプリンタエンジンに出力処理する画像処理方法において、前記生成された画像データをn×mのブロックに分割する画像分割工程と、前記画像分割工程により生成されたn×mの画像を周波数分解する周波数分解工程と、前記周波数分解後のデータを符号化する周波数分解後データ符号化工程と、前記n×mの画像の色成分のレベル値がすべて同じ値であるかを判定する一色値判定工程と、前記一色値判定工程によりn×mの画像の色成分のレベル値がすべて同じ値である場合、一色値の符号データを生成する一色値符号化工程と、を含むことを特徴とする。   According to a sixth aspect of the present invention, there is provided an image processing method for outputting drawing-generated image data to a printer engine, an image dividing step for dividing the generated image data into n × m blocks, and the image A frequency decomposition step for frequency-decomposing the n × m image generated by the division step, a frequency-decomposed data encoding step for encoding the data after the frequency decomposition, and a color component level of the n × m image If the color value determination step for determining whether all the values are the same and the level values of the color components of the n × m image are all the same by the one color value determination step, code data for the single color value is generated. And a single color value encoding step.

この請求項6にかかる発明によれば、一色値判定工程でn×mの画像の色成分のレベル値がすべて同じ値であるかを判定し、n×mの画像の色成分のレベル値がすべて同じ値である場合に一色値の符号データを生成する一色値符号化工程による処理パスと、他の画像は周波数分解してその高周波数を量子化する処理パスの2つを設けることにより、たとえば単色で構成されるグラフィックス画像を一色値符号化工程で処理し、写真などの混色画像は通常の周波数分解後の符号化を実行することが可能になる。   According to the sixth aspect of the present invention, it is determined in the one color value determination step whether the level values of the color components of the n × m image are all the same value, and the level values of the color components of the n × m image are determined. By providing two processing paths, one color value encoding process for generating code data of one color value when all are the same value, and a processing path for frequency-decomposing other images and quantizing the high frequency, For example, a graphics image composed of a single color is processed in a single color value encoding step, and a mixed color image such as a photograph can be encoded after normal frequency decomposition.

また、請求項7にかかる発明は、描画生成された画像データをプリンタエンジンに出力処理する画像処理方法において、前記生成された画像データをn×mのブロックに分割する画像分割工程と、前記画像分割工程により生成されたn×mの画像を周波数分解する周波数分解工程と、前記周波数分解後のデータを符号化する周波数分解後データ符号化工程と、前記n×mの画像の色成分のレベル値がすべて同じ値であるかを判定する一色値判定工程と、前記一色値判定工程によりn×mの画像の色成分のレベル値がすべて同じ値である場合、前記周波数分解工程を用いずに色成分のレベル値による周波数分解値を生成する一色値周波数分解データ生成工程と、を含むことを特徴とする。   According to a seventh aspect of the present invention, there is provided an image processing method for outputting image data generated by drawing to a printer engine, an image dividing step of dividing the generated image data into n × m blocks, and the image A frequency decomposition step for frequency-decomposing the n × m image generated by the division step, a frequency-decomposed data encoding step for encoding the data after the frequency decomposition, and a color component level of the n × m image If the color value determination step for determining whether all the values are the same value and the level values of the color components of the n × m image are all the same by the one color value determination step, the frequency decomposition step is not used. And a one-color-value frequency-resolved data generation step for generating a frequency-resolved value based on the level value of the color component.

この請求項7にかかる発明によれば、一色値判定工程によりn×mの画像の色成分のレベル値がすべて同じ値である場合、周波数分解工程によらずに色成分のレベル値による周波数分解値を生成することにより、単色の周波数分解値が効率的に生成可能になる。   According to the seventh aspect of the present invention, when the level values of the color components of the n × m image are all the same in the one color value determination step, the frequency decomposition based on the color component level value is performed without using the frequency decomposition step. By generating a value, it is possible to efficiently generate a monochromatic frequency decomposition value.

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

この請求項8にかかる発明によれば、請求項6または7に記載の画像処理方法を、プログラムとしてコンピュータ読み取り可能な記録媒体に記録することにより、コンピュータ上で請求項6または7に記載の画像処理方法に実行させることが可能になる。   According to the invention according to claim 8, the image processing method according to claim 6 or 7 is recorded on a computer-readable recording medium as a program, whereby the image according to claim 6 or 7 is recorded on a computer. The processing method can be executed.

本発明(請求項1)にかかる画像処理装置は、一色値判定手段でn×mの画像の色成分のレベル値がすべて同じ値であるかを判定し、n×mの画像の色成分のレベル値がすべて同じ値である場合に一色値の符号データを生成する一色値符号化手段による処理パスと、他の画像は周波数分解してその高周波数を量子化する処理パスの2つを設けることにより、たとえば単色で構成されるグラフィックス画像を一色値符号化手段で処理し、写真などの混色画像は通常の周波数分解後の符号化を実行することが可能になるため、高速にかつ比較的簡単な構成での符号化処理を行なうことができるという効果を奏する。   The image processing apparatus according to the present invention (Claim 1) determines whether the level values of the color components of the n × m image are all the same value by the one color value determination means, and determines the color component of the n × m image. Two processing paths are provided: one color value encoding means for generating code data of one color value when the level values are all the same, and a processing path for frequency-decomposing the other images and quantizing their high frequencies. Thus, for example, a graphics image composed of a single color can be processed by a single color value encoding means, and a mixed color image such as a photograph can be encoded after normal frequency decomposition, so that comparison can be performed at high speed. The encoding process can be performed with a simple configuration.

また、本発明(請求項2)にかかる画像処理装置は、請求項1において、1つ前のブロックが一色値符号化手段を使用していたかを判定するため、1つ前のDC値とDC値の差分による符号化処理を行って出力することができるという効果を奏する。   The image processing apparatus according to the present invention (Claim 2) is characterized in that, in Claim 1, in order to determine whether the previous block used the one-color value encoding means, the previous DC value and DC There is an effect that an encoding process based on a difference in values can be performed and output.

また、本発明(請求項3)にかかる画像処理装置は、請求項1において、1つ前のブロックが前記一色値符号化手段を使用しない場合、当該1つ前のブロックのDC成分値を用いて符号化するDC値を予測符号化するため、1つ前のDC予測値による符号化処理を行なうことができるという効果を奏する。   The image processing apparatus according to the present invention (Claim 3) uses the DC component value of the preceding block when the preceding block does not use the one-color value encoding means in Claim 1. Therefore, since the DC value to be encoded is predictively encoded, the encoding process using the previous DC predicted value can be performed.

また、本発明(請求項4)にかかる画像処理装置は、1つ前のブロックが前記周波数分解後データ符号化手段を使用しない場合、当該1つ前のブロックのDC成分値を用いて符号化するDC値を予測符号化するため、1つ前のDC予測値による符号化処理を行なうことができるという効果を奏する。   The image processing apparatus according to the present invention (Claim 4) encodes using the DC component value of the immediately preceding block when the immediately preceding block does not use the frequency-decomposed data encoding means. In order to predictively encode the DC value to be performed, there is an effect that it is possible to perform encoding processing using the previous DC predicted value.

また、本発明(請求項5)にかかる画像処理装置は、一色値判定手段によりn×mの画像の色成分のレベル値がすべて同じ値である場合、周波数分解手段を用いずに色成分のレベル値による周波数分解値を生成することにより、単色の周波数分解値が効率的に生成可能になるため、高速にかつ比較的簡単な構成での符号化処理を行なうことができるという効果を奏する。   Further, the image processing apparatus according to the present invention (Claim 5), when the level values of the color components of the n × m image are all the same value by the one color value judging means, the color component is determined without using the frequency resolving means. By generating the frequency resolution value based on the level value, it becomes possible to efficiently generate the frequency resolution value of a single color, so that the encoding process can be performed at a high speed and with a relatively simple configuration.

また、本発明(請求項6)にかかる画像処理方法は、一色値判定工程でn×mの画像の色成分のレベル値がすべて同じ値であるかを判定し、n×mの画像の色成分のレベル値がすべて同じ値である場合に一色値の符号データを生成する一色値符号化工程による処理パスと、他の画像は周波数分解してその高周波数を量子化する処理パスの2つを設けることにより、たとえば単色で構成されるグラフィックス画像を一色値符号化工程で処理し、写真などの混色画像は通常の周波数分解後の符号化を実行することが可能になるため、高速にかつ比較的簡単な構成での符号化処理を行なうことができるという効果を奏する。   In the image processing method according to the present invention (Claim 6), it is determined in the one color value determination step whether or not the level values of the color components of the n × m image are all the same, and the color of the n × m image is determined. There are two processing paths: one color value encoding process for generating code data of one color value when the component level values are all the same, and a processing path for frequency-decomposing other images and quantizing their high frequencies. For example, a graphics image composed of a single color is processed in a single color value encoding process, and a mixed color image such as a photograph can be encoded after normal frequency decomposition, so that it can be performed at high speed. In addition, the encoding process can be performed with a relatively simple configuration.

また、本発明(請求項7)にかかる画像処理方法は、一色値判定工程によりn×mの画像の色成分のレベル値がすべて同じ値である場合、周波数分解工程によらずに色成分のレベル値による周波数分解値を生成することにより、単色の周波数分解値が効率的に生成可能になる高速にかつ比較的簡単な構成での符号化処理を行なうことができるという効果を奏する。   Further, according to the image processing method of the present invention (Claim 7), when the level values of the color components of the n × m image are all the same value in the one color value determination step, the color component determination is performed without using the frequency decomposition step. By generating the frequency resolution value based on the level value, there is an effect that it is possible to perform encoding processing with a relatively simple configuration at a high speed that enables efficient generation of a monochrome frequency resolution value.

また、本発明(請求項8)にかかるコンピュータ読み取り可能な記録媒体は、請求項6または7に記載の画像処理方法を、プログラムとしてコンピュータ読み取り可能な記録媒体に記録することにより、コンピュータ上で請求項6または7に記載の画像処理方法に実行させることができるという効果を奏する。   A computer-readable recording medium according to the present invention (Claim 8) is a computer-readable recording medium recorded with the image processing method according to Claim 6 or 7 on a computer-readable recording medium as a program. The image processing method according to item 6 or 7 can be executed.

以下に添付図面を参照して、この発明にかかる画像処理装置および画像処理方法、並びに画像処理方法をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体の最良な実施の形態を詳細に説明する。   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 will be described below in detail with reference to the accompanying drawings. To do.

本発明は、プリンタ画像の圧縮方式として、DCT(離散コサイン変換)やWavelet(ウェーブレット)などの周波数変換を行なう圧縮方式を使用した場合にYUV(Y:輝度成分、U,V:色差成分)の各ブロックの画素の色を判定し、各ブロック独立に同じ色と判定された場合、その周波数変換処理とは別のパスの一色データ符号化装置を使用し高速に符号化処理を行なうことを可能とするものである。以下、具体的に説明する。   The present invention uses YUV (Y: luminance component, U, V: color difference component) when a compression method that performs frequency conversion such as DCT (Discrete Cosine Transform) or Wavelet (Wavelet) is used as a printer image compression method. If the pixel color of each block is determined and the same color is determined independently for each block, it is possible to perform high-speed encoding using a single-color data encoding device in a different path from the frequency conversion processing. It is what. This will be specifically described below.

(実施の形態)
まず、本発明による画像処理装置が搭載される画像形成装置(プリンタ)の構成および動作について説明する。図1は、本発明の実施の形態にかかる画像形成装置の機構部の構成例を示す説明図である。以下、図1の画像形成装置をカラープリンタと記述する。なお、この実施の形態ではレーザーカラープリンタを例にとるが、インクジェットプリンタなど他のカラープリンタであってもよい。
(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. 1 is an explanatory diagram illustrating a configuration example of a mechanism unit of an image forming apparatus according to an embodiment of the present invention. Hereinafter, the image forming apparatus of FIG. 1 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.

図1に示すカラープリンタ100は、レーザー光書込みおよび電子写真プロセスにしたがい、4色(Y(イエロー)、M(マゼンタ)、C(シアン)、K(ブラック))の画像をそれぞれ独立に配置された作像系1Y、1M、1C、1Kで形成し、この4色の画像を記録紙に順次重ね合わせて転写し合成する4ドラムタンデムエンジンタイプの画像形成装置である。   The color printer 100 shown in FIG. 1 has four colors (Y (yellow), M (magenta), C (cyan)), and K (black)) arranged independently according to the laser beam writing and the electrophotographic process. 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.

つぎに、以上のように構成されたカラープリンタにおける画像処理装置の構成および動作について説明する。図2は、図1における画像形成装置の電装・制御系の構成を示すブロック図である。この電装・制御系は、カラープリンタ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. 2 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のバンドを描画する描画装置105、メインメモリ104の2値バンドデータを符号化し、メインメモリ104へ符号を転送する符号化装置106、符号化装置106により符号化された符号を受け取り、各版を復号化し、C(シアン),M(マゼンタ),Y(イエロー)、K(ブラック)版のエンジンコントローラへ転送する復号化装置107、復号化装置107から画像データを受け取って各版のプリンタエンジン109に転送するエンジンコントローラ108、C,M,Y,K各版の画像を形成するプリンタエンジン109(図1参照)を備えている。   Also, a drawing device 105 that receives a drawing command from the CPU 101 and draws a band of the main memory 104, an encoding device 106 that encodes binary band data in the main memory 104, and transfers the code to the main memory 104, an encoding device 106 The decoding device 107, the decoding device 107, which receives the code encoded by, decodes each plate, and transfers it to the C (cyan), M (magenta), Y (yellow), and K (black) plate engine controllers. An engine controller 108 that receives image data from the printer engine 109 and transfers the image data to the printer engine 109 of each plate, and a printer engine 109 (see FIG. 1) that forms images of C, M, Y, and K plates.

また、ネットワークに接続されネットワークから各種データやコマンドなどを受け取ってメモリコントローラ103を介して各種のコントローラに接続されている通信コントローラ110、プリント出力する画像やCPU101の制御プログラムや各種データなどを格納するメインメモリ104、ROM112、パネルコントローラ113などと、CPU101、メインメモリ104とのインターフェイス制御を実行するローカルI/F111、文字などのフォント情報やCPU101の制御プログラムなどを格納するROM112、オペレーションパネル114を制御するパネルコントローラ113、ユーザーの入力操作をプリンタへ知らせるオペレーションパネル114を備えている。   Further, the communication controller 110 connected to the network, receiving various data and commands from the network, and connected to the various controllers via the memory controller 103, stores images to be printed, the control program of the CPU 101, various data, and the like. Controls main memory 104, ROM 112, panel controller 113, etc., CPU 101, local I / F 111 for executing interface control with main memory 104, ROM 112 for storing font information such as characters, control program for CPU 101, and operation panel 114 A panel controller 113 for controlling the user, and an operation panel 114 for notifying the printer of a user input operation.

図3は、図2における画像データに対する通常の画像処理の流れを示すブロック図である。図において、CPU101はPDL(ページ記述言語)を解析し、メインメモリ101のバンドメモリ領域104aへ多値RGBバンドのバンドメモリを作成する。メインメモリ104はCPU101により生成されたバンドデータをバンドメモリ領域104aに記憶する。符号化装置105は、メインメモリ104のバンドメモリ領域104aのバンドデータを読み込んで符号化し、メインメモリ104の符号ページメモリ領域104bへ符号を送る。メインメモリ104は、符号化装置105から符号を受け取り記憶する。   FIG. 3 is a block diagram showing the flow of normal image processing for the image data in FIG. In the figure, the CPU 101 analyzes PDL (page description language) and creates a multi-value RGB band memory in the band memory area 104 a of the main memory 101. The main memory 104 stores the band data generated by the CPU 101 in the band memory area 104a. The encoding device 105 reads and encodes the band data in the band memory area 104 a of the main memory 104, and sends the code to the code page memory area 104 b of the main memory 104. The main memory 104 receives the code from the encoding device 105 and stores it.

また、復号化装置106は、メインメモリ104の符号ページメモリ領域104bに記憶された各バンド毎の符号からなる1ページ分の符号を読み込んでこれを復号化して画像処理装置107へ転送する。画像処理装置107は、復号された画像データを受け取り、色変換処理や階調処理などの画像処理を行ない、エンジンコントローラ108へ転送し、プリンタエンジンがこの画像データにしたがってプリント出力する。   Also, the decoding device 106 reads a code for one page made up of the code for each band stored in the code page memory area 104 b of the main memory 104, decodes it, and transfers it to the image processing device 107. The image processing apparatus 107 receives the decoded image data, performs image processing such as color conversion processing and gradation processing, transfers the image processing to the engine controller 108, and the printer engine prints out according to the image data.

図4は、本発明の実施の形態にかかる画像処理の概念を示すブロック図である。図において、CPU101は、メインメモリ104へ多値RGBバンドデータを生成する。メインメモリ104は、バンドデータやページ符号やプログラムや各種のワークデータなどを記憶する。符号化装置105は、メインメモリ104のバンドメモリ領域104aへバンドを読み込み符号化し、メインメモリ104の符号ページメモリ領域104bへ符号を書き込む。復号化装置106は、プリンタエンジン109に同期してメインメモリ104の符号ページメモリ領域104bの符号を復号して画像処理装置107へ転送する。画像処理装置107は、復号化装置106により復号された画像データを受け取って色変換、階調処理などの画像処理を行ないエンジンコントローラ108へ転送する。エンジンコントローラ108は、画像処理装置107から受け取った階調処理後の画像データをプリンタエンジン109へ転送する。なお、図4の左側に、バンドメモリ領域104aの多値バンドメモリフォーマット例、符号ページメモリ領域104bの符号ページメモリフォーマット例を示す。   FIG. 4 is a block diagram showing the concept of image processing according to the embodiment of the present invention. In the figure, the CPU 101 generates multi-value RGB band data in the main memory 104. The main memory 104 stores band data, page codes, programs, various work data, and the like. The encoding device 105 reads and encodes the band into the band memory area 104 a of the main memory 104 and writes the code into the code page memory area 104 b of the main memory 104. The decoding device 106 decodes the code in the code page memory area 104 b of the main memory 104 in synchronization with the printer engine 109 and transfers the code to the image processing device 107. The image processing device 107 receives the image data decoded by the decoding device 106, performs image processing such as color conversion and gradation processing, and transfers the image data to the engine controller 108. The engine controller 108 transfers the image data after gradation processing received from the image processing apparatus 107 to the printer engine 109. The left side of FIG. 4 shows an example of a multilevel band memory format of the band memory area 104a and an example of a code page memory format of the code page memory area 104b.

図5は、メインメモリ104のフォーマットを示す。バンド格納領域104aは、多値RGBのバンドデータを格納する。符号ページメモリ領域104bは、符号化された1ページ分のバンドの符号データを複数ページ分格納する領域である。プログラム領域104pは、CPU101の各種のプログラムを格納する領域である。ワーク領域104wは、CPU101などの制御途中のワーキングメモリとして使用される。   FIG. 5 shows the format of the main memory 104. The band storage area 104a stores multi-value RGB band data. The code page memory area 104b is an area for storing a plurality of pages of encoded data of an encoded band for one page. The program area 104p is an area for storing various programs of the CPU 101. The work area 104w is used as a working memory during the control of the CPU 101 and the like.

図6は、本発明の実施の形態にかかる画像処理の全体の流れを示すブロック図である。図の矢印で示すように、CPUはメインメモリへ多値RGBバンドデータをPDL(ページ記述言語)を生成する。符号化装置105は、完成したバンドデータをメインメモリ104から読み込んで符号化を行ない、その符号化したバンドデータをメインメモリ104の符号ページメモリ領域104bへ送る。復号化装置106は、完成されたページ符号データをメインメモリ104から読み込んで復号化し、その復号化した画像データを画像処理装置107へ送る。画像処理装置107は色変換、階調処理などの画像処理を行なう。エンジンコントローラ108はプリンタエンジン109を制御しプリント出力を行なう。   FIG. 6 is a block diagram showing an overall flow of image processing according to the embodiment of the present invention. As shown by the arrows in the figure, the CPU generates PDL (page description language) multi-value RGB band data in the main memory. The encoding device 105 reads the completed band data from the main memory 104, performs encoding, and sends the encoded band data to the code page memory area 104b of the main memory 104. The decoding device 106 reads the completed page code data from the main memory 104 and decodes it, and sends the decoded image data to the image processing device 107. The image processing apparatus 107 performs image processing such as color conversion and gradation processing. The engine controller 108 controls the printer engine 109 to perform print output.

図7は、図2における符号化装置105の内部構成を示すブロック図である。図において、符号化装置105は、メモリコントローラI/F120、符号化処理装置121、書き込みメモリアドレス生成装置122、読み込みメモリアドレス生成装置123、コントローラ124を備えている。   FIG. 7 is a block diagram showing an internal configuration of encoding apparatus 105 in FIG. In the figure, the encoding device 105 includes a memory controller I / F 120, an encoding processing device 121, a write memory address generation device 122, a read memory address generation device 123, and a controller 124.

メモリコントローラI/F120は、メモリコントローラ104とのインターフェイス制御を実行する。符号化処理装置121は、メモリコントローラI/F120をかいして、メインメモリ104のバンドメモリ領域104aから8×8のRGBデータを読み込んで符号化し、メモリコントローラI/F120をかいしてメインメモリ104の符号ページメモリ領域104bへ転送する。書き込みメモリアドレス生成装置122は、符号化処理装置121が処理するメインメモリ104のバンドメモリ領域104aのアドレスを生成する。読み込みメモリアドレス生成装置123は、符号化処理装置121が処理した画像を格納するメインメモリ104の符号ページメモリ領域104bのアドレスを生成する。コントローラ124は、この符号化装置105全体を制御する。   The memory controller I / F 120 executes interface control with the memory controller 104. The encoding processor 121 reads the 8 × 8 RGB data from the band memory area 104a of the main memory 104 through the memory controller I / F 120 and encodes it, and passes through the memory controller I / F 120 to the main memory 104. To the code page memory area 104b. The write memory address generation device 122 generates an address of the band memory area 104a of the main memory 104 processed by the encoding processing device 121. The read memory address generation device 123 generates an address of the code page memory area 104b of the main memory 104 that stores the image processed by the encoding processing device 121. The controller 124 controls the entire encoding device 105.

図8は、図7における符号化処理装置121の構成を示すブロック図である。図に示すように、この符号化処理装置121は、RGBデータ8×8記憶装置125、RGB→YUV変換装置126、Yデータ8×8記憶装置127、Y2次元DCT処理装置128、Y量子化処理装置129、Yエントロピー符号化装置130、Y一色データ判定装置131、Y一色データ符号化装置132、Uデータ8×8記憶装置133、U2次元DCT処理装置134、U量子化処理装置135、Uエントロピー符号化装置136、U一色データ判定装置137、U一色データ符号化装置138、Vデータ8×8記憶装置139、V2次元DCT処理装置140、V量子化処理装置141、Vエントロピー符号化装置142、V一色データ判定装置143、V一色データ符号化装置144、符号フォーマット生成装置145、コントローラ146を備えている。   FIG. 8 is a block diagram showing a configuration of the encoding processing device 121 in FIG. As shown in the figure, the encoding processing device 121 includes an RGB data 8 × 8 storage device 125, an RGB → YUV conversion device 126, a Y data 8 × 8 storage device 127, a Y two-dimensional DCT processing device 128, a Y quantization process. Device 129, Y entropy encoding device 130, Y single color data determination device 131, Y single color data encoding device 132, U data 8 × 8 storage device 133, U two-dimensional DCT processing device 134, U quantization processing device 135, U entropy An encoding device 136, a U single color data determination device 137, a U single color data encoding device 138, a V data 8 × 8 storage device 139, a V2D DCT processing device 140, a V quantization processing device 141, a V entropy encoding device 142, V single color data determination device 143, V single color data encoding device 144, code format generation device 145, controller It has an over La 146.

RGBデータ8×8記憶装置125は、RGBの8×8画素ブロックを一時格納する。RGB→YUV変換装置126は、JPEGの規格にしたがって8×8画素のRGBをYUVへ変換し、Y成分(輝度信号)をYデータ8×8記憶装置127へ、U成分(色差信号Cb)をUデータ8×8記憶装置137へ、V成分(色差信号Cr)をVデータ8×8記憶装置139へ転送する。   The RGB data 8 × 8 storage device 125 temporarily stores RGB 8 × 8 pixel blocks. The RGB → YUV converter 126 converts RGB of 8 × 8 pixels into YUV according to the JPEG standard, converts the Y component (luminance signal) to the Y data 8 × 8 storage device 127, and the U component (color difference signal Cb). The V component (color difference signal Cr) is transferred to the V data 8 × 8 storage device 139 to the U data 8 × 8 storage device 137.

Yデータ8×8記憶装置127は、RGB→YUV変換装置126により生成されたY値を8×8のブロックについて記憶する。Y2次元DCT処理装置128は、Y成分をDCT(離散コサイン変換)処理し、Y量子化処理装置129へ転送する。Y量子化処理装置129は、Y2次元DCT処理装置128からのY成分のDCT処理後のデータを受け取って量子化し、Yエントロピー符号化装置130へ転送する。Yエントロピー符号化装置130は、Y量子化処理装置129からのY成分の量子化後のデータを受け取り、ハフマン符号化方式で符号化し、符号フォーマット生成装置145へ転送する。Y一色データ判定装置131は、Yデータ8×8記憶装置127により記憶された8×8のY値を読み込み全て同じ値であるかを判定し、コントローラ146へ知らせる。Y一色データ符号化装置132は、Y一色データ判定装置131から同じ値と判断された場合そのY値のみ、受け取り、符号化し、符号フォーマット生成装置145へ転送する。   The Y data 8 × 8 storage device 127 stores the Y value generated by the RGB → YUV conversion device 126 for the 8 × 8 block. The Y two-dimensional DCT processing device 128 performs DCT (discrete cosine transform) processing on the Y component and transfers the Y component to the Y quantization processing device 129. The Y quantization processing device 129 receives and quantizes the data after the DCT processing of the Y component from the Y two-dimensional DCT processing device 128 and transfers the data to the Y entropy encoding device 130. The Y entropy encoding device 130 receives the quantized data of the Y component from the Y quantization processing device 129, encodes it using the Huffman encoding method, and transfers the encoded data to the code format generation device 145. The Y one-color data determination device 131 reads the 8 × 8 Y values stored in the Y data 8 × 8 storage device 127, determines whether all the values are the same, and notifies the controller 146. The Y color data encoding device 132 receives, encodes, and transfers only the Y value when the Y color data determination device 131 determines that the values are the same, and transfers them to the code format generation device 145.

Uデータ8×8記憶装置133は、RGB→YUV変換装置126により生成されたU値を8×8のブロックについて記憶する。U2次元DCT処理装置134は、U成分をDCT(離散コサイン変換)処理し、U量子化処理装置135へ転送する。U量子化処理装置135は、U2次元DCT処理装置134からのU成分のDCT処理後のデータを受け取って量子化し、Uエントロピー符号化装置136へ転送する。Uエントロピー符号化装置136は、U量子化処理装置135からのU成分の量子化後のデータを受け取り、ハフマン符号化方式で符号化し、符号フォーマット生成装置145へ転送する。U一色データ判定装置137は、Uデータ8×8記憶装置133により記憶された8×8のU値を読み込み全て同じ値であるかを判定し、コントローラ146へ知らせる。U一色データ符号化装置138は、U一色データ判定装置137から同じ値と判断された場合そのU値のみ、受け取り、符号化し、符号フォーマット生成装置145へ転送する。   The U data 8 × 8 storage device 133 stores the U value generated by the RGB → YUV conversion device 126 for an 8 × 8 block. The U two-dimensional DCT processing device 134 performs DCT (discrete cosine transform) processing on the U component and transfers the U component to the U quantization processing device 135. The U quantization processing device 135 receives and quantizes the data after DCT processing of the U component from the U two-dimensional DCT processing device 134 and transfers the quantized data to the U entropy coding device 136. The U entropy encoding device 136 receives the quantized data of the U component from the U quantization processing device 135, encodes the data using the Huffman encoding method, and transfers the encoded data to the code format generation device 145. The U one-color data determination device 137 reads 8 × 8 U values stored in the U data 8 × 8 storage device 133, determines whether they are all the same value, and notifies the controller 146. The U color data encoding device 138 receives, encodes, and transfers only the U value to the code format generation device 145 when it is determined by the U color data determination device 137 that the values are the same.

Vデータ8×8記憶装置139は、RGB→YUV変換装置126により生成されたV値を8×8のブロックについて記憶する。U2次元DCT処理装置140は、U成分をDCT(離散コサイン変換)処理し、V量子化処理装置141へ転送する。V量子化処理装置141は、V2次元DCT処理装置140からのV成分のDCT処理後のデータを受け取って量子化し、Vエントロピー符号化装置142へ転送する。Vエントロピー符号化装置142は、V量子化処理装置144からのV成分の量子化後のデータを受け取り、ハフマン符号化方式で符号化し、符号フォーマット生成装置145へ転送する。V一色データ判定装置143は、Vデータ8×8記憶装置139により記憶された8×8のV値を読み込み全て同じ値であるかを判定し、コントローラ146へ知らせる。V一色データ符号化装置144は、V一色データ判定装置143から同じ値と判断された場合そのV値のみ、受け取り、符号化し、符号フォーマット生成装置145へ転送する。   The V data 8 × 8 storage device 139 stores the V value generated by the RGB → YUV conversion device 126 for an 8 × 8 block. The U two-dimensional DCT processing device 140 performs DCT (discrete cosine transform) processing on the U component and transfers the U component to the V quantization processing device 141. The V quantization processing device 141 receives and quantizes the V-component DCT-processed data from the V2-dimensional DCT processing device 140 and transfers the data to the V entropy coding device 142. The V entropy encoding device 142 receives the quantized data of the V component from the V quantization processing device 144, encodes the data using the Huffman encoding method, and transfers the encoded data to the code format generation device 145. The V single color data determination device 143 reads the 8 × 8 V values stored in the V data 8 × 8 storage device 139, determines whether all the values are the same, and notifies the controller 146 of them. The V single color data encoding device 144 receives only the V value when it is determined as the same value from the V single color data determination device 143, encodes it, and transfers it to the code format generation device 145.

図9は、図8のように構成された符号化処理装置121の処理動作を示すフローチャートである。この符号化処理装置121はコントローラ146によって実行される。図において、まず、8×8のRGBデータをRGBデータ8×8記憶装置125から読み込み(ステップS1)、RGB→YUV変換装置126により8×8ブロックのRGBデータを8×8のYUVデータに変換する(ステップS2)。続いて、この8×8のYUVデータは全て同じであるか否かを判断する(ステップS3)。ここで、8×8のYUVデータは全て同じである場合、Y値からDCT後のDC値へ変換し(ステップS4)、さらに1つ前のブロックはY値が全て同じ値であるか否かを判断する(ステップS5)。ここで、1つ前のブロックはY値が全て同じ値である場合には、Y一色データ符号化装置132の1つ前のDC値とDC値の差分を求め、さらにDCハフマンテーブルによりDCハフマン符号値とDCハフマン符号長を求め、符号フォーマット生成装置145へ転送する(ステップS6)。一方、ステップS5において1つ前のブロックはY値が全て同じ値ではない場合、Yエントロピー符号化装置130の1つ前のDC値とDC値の差分を求め、さらにDCハフマンテーブルによりDCハフマン符号値とDCハフマン符号長を求め、符号フォーマット生成装置145へ転送する(ステップS7)。このステップS6またはステップS7を実行した後、DCT変換後のAC値が全て“0”の場合の0ランレングスによるACハフマン符号値とACハフマン符号長を求め、符号フォーマット生成装置145へ転送する(ステップS8)。   FIG. 9 is a flowchart showing the processing operation of the encoding processing device 121 configured as shown in FIG. The encoding processing device 121 is executed by the controller 146. In the figure, first, 8 × 8 RGB data is read from the RGB data 8 × 8 storage device 125 (step S1), and the RGB → YUV conversion device 126 converts 8 × 8 block RGB data into 8 × 8 YUV data. (Step S2). Subsequently, it is determined whether or not all the 8 × 8 YUV data are the same (step S3). Here, if all the 8 × 8 YUV data are the same, the Y value is converted into a DC value after DCT (step S4), and whether or not the Y value is the same in the previous block. Is determined (step S5). Here, if the previous block has the same Y value, the difference between the previous DC value of the Y one-color data encoding device 132 and the DC value is obtained, and the DC Huffman table is used to determine the DC Huffman table. The code value and the DC Huffman code length are obtained and transferred to the code format generation device 145 (step S6). On the other hand, if all the Y values are not the same value in the previous block in step S5, the difference between the previous DC value and the DC value of the Y entropy encoding device 130 is obtained, and further the DC Huffman code is obtained from the DC Huffman table. The value and the DC Huffman code length are obtained and transferred to the code format generation device 145 (step S7). After executing Step S6 or Step S7, an AC Huffman code value and an AC Huffman code length with 0 run length when the AC values after DCT conversion are all “0” are obtained and transferred to the code format generation device 145 ( Step S8).

一方、ステップS3において8×8のYUVデータが全て同じではない場合、Y2次元DCT処理装置129により、8×8のYデータをDCT変換し(ステップS10)、さらにY量子化処理装置129により、8×8のDCT係数を量子化処理する(ステップS11)。続いて、1つ前のブロックはY値が全て同じ値であるか否かを判断する(ステップS12)。ここで、1つ前のブロックはY値が全て同じ値である場合には、Y一色データ符号化装置132の1つ前のDC値とDC値の差分を求め、さらにDCハフマンテーブルによりDCハフマン符号値とDCハフマン符号長を求め、符号フォーマット生成装置145へ転送する(ステップS13)。一方、ステップS12において1つ前のブロックはY値が全て同じ値ではない場合、Yエントロピー符号化装置130の1つ前のDC値とDC値の差分を求め、さらにDCハフマンテーブルによりDCハフマン符号値とDCハフマン符号長を求め、符号フォーマット生成装置145へ転送する(ステップS14)。このステップS13またはステップS14を実行した後、ACハフマンテーブルによりACハフマン符号値とACハフマン符号長を求め、符号フォーマット生成装置145へ転送する(ステップS15)。   On the other hand, if the 8 × 8 YUV data are not all the same in step S3, the Y2D DCT processing device 129 DCT-transforms the 8 × 8 Y data (step S10), and further the Y quantization processing device 129 The 8 × 8 DCT coefficients are quantized (step S11). Subsequently, it is determined whether or not the previous block has the same Y value (step S12). Here, if the previous block has the same Y value, the difference between the previous DC value of the Y one-color data encoding device 132 and the DC value is obtained, and the DC Huffman table is used to determine the DC Huffman table. The code value and the DC Huffman code length are obtained and transferred to the code format generation device 145 (step S13). On the other hand, if all the Y values of the previous block in step S12 are not the same value, a difference between the previous DC value and the DC value of the Y entropy encoding device 130 is obtained, and a DC Huffman code is obtained from the DC Huffman table. The value and the DC Huffman code length are obtained and transferred to the code format generation device 145 (step S14). After executing Step S13 or Step S14, an AC Huffman code value and an AC Huffman code length are obtained from the AC Huffman table and transferred to the code format generation device 145 (Step S15).

続いて、ステップS3において8×8のYUVデータが全て同じである場合には、上記ステップS4〜S8の処理を同様に、他方、ステップS3において8×8のYUVデータが全て同じではない場合には、ステップS10〜S15の処理を同様に実行し(ステップS9)、この処理を終了する。   Subsequently, when the 8 × 8 YUV data are all the same in step S3, the processing in steps S4 to S8 is performed in the same manner. On the other hand, when the 8 × 8 YUV data is not all the same in step S3. Performs the processing of steps S10 to S15 in the same manner (step S9), and ends this processing.

図10は、図8における各色の一色データ符号化装置132(138、144)の内部構成を示すブロック図である。なお、ここではY一色データ符号化装置132を例にとっているが、他のU,Vの一色データ符号化装置138、144についても同様に構成される。このY一色データ符号化装置132は、DC値生成装置150、MAX0ランレングスAC値符号生成装置151、DC値符号化装置152、符号フォーマット生成装置153を備えている。   FIG. 10 is a block diagram showing an internal configuration of the one-color data encoding device 132 (138, 144) of each color in FIG. Here, the Y one-color data encoding device 132 is taken as an example, but the other U and V one-color data encoding devices 138 and 144 are similarly configured. The Y one-color data encoding device 132 includes a DC value generating device 150, a MAX0 run-length AC value code generating device 151, a DC value encoding device 152, and a code format generating device 153.

DC値生成装置150は、一色データ判定装置からの一色データを受け取り図13のようなDC値を生成するDC値生成装置である。MAX0ランレングスAC値符号生成装置151は、図12に示すように周波数成分がないためにAC値の値が全て"0"であるために特定な符号とその符号長を符号フォーマット生成装置153へ転送する。DC値符号化装置152は、DC値生成装置150からのDC値と前ブロックのDC値から予測符号化する。符号フォーマット生成装置153は、MAX0ランレングスAC値符号生成装置151、DC値符号化装置152からAC、DCの符号を受け取り、符号を接続する。   The DC value generation device 150 is a DC value generation device that receives one color data from the one color data determination device and generates a DC value as shown in FIG. The MAX0 run-length AC value code generation device 151 does not have frequency components as shown in FIG. 12, and since the AC value values are all “0”, the specific code and its code length are sent to the code format generation device 153. Forward. The DC value encoding device 152 performs predictive encoding from the DC value from the DC value generating device 150 and the DC value of the previous block. The code format generation device 153 receives AC and DC codes from the MAX0 run-length AC value code generation device 151 and the DC value encoding device 152, and connects the codes.

図11は、図10におけるDC値符号化装置152の内部構成を示すブロック図である。このDC値符号化装置152は、DCレジスタ155、1つ前のレジスタ156、MUX(マルチプレクサ)157、減算装置158、ハフマンテーブル(DC)159を備えている。   FIG. 11 is a block diagram showing an internal configuration of DC value encoding apparatus 152 in FIG. The DC value encoding device 152 includes a DC register 155, a previous register 156, a MUX (multiplexer) 157, a subtraction device 158, and a Huffman table (DC) 159.

DCレジスタ155は、現在のブロックのDC値を記憶する。1つ前のレジスタ156は、1つ前にブロックのDC値を記憶する。MUX157は、1つ前のブロックが一色データ符号化装置(132、138,144)で符号化された場合、1つ前のレジスタ156の値を、違えばエントロピー符号化装置(130、136、142)の有する1つ前のDC値を減算装置158へ転送する。減算装置158は、1つ前のDC値との減算処理を行ない、DC差分データを生成する。ハフマンテーブル159は、減算装置158で生成されたDC差分データのハフマン符号とその符号長を記憶し、出力する。   The DC register 155 stores the DC value of the current block. The previous register 156 stores the DC value of the previous block. When the previous block is encoded by the one-color data encoding device (132, 138, 144), the MUX 157 changes the value of the previous register 156, if different, the entropy encoding device (130, 136, 142). ) Is transferred to the subtracting device 158. The subtracting device 158 performs a subtraction process with the previous DC value to generate DC difference data. The Huffman table 159 stores the Huffman code of the DC difference data generated by the subtractor 158 and its code length, and outputs it.

図14は、図8における各色のエントロピー符号化装置(103、136、142)の内部構成を示すブロック図である。このエントロピー符号化装置は、8×8DCT係数格納装置160、DC/AC値切り出し装置161、DC値符号化装置162、AC値符号化装置163、符号フォーマット生成装置164を備えている。   FIG. 14 is a block diagram showing an internal configuration of each color entropy encoding device (103, 136, 142) in FIG. The entropy encoding device includes an 8 × 8 DCT coefficient storage device 160, a DC / AC value clipping device 161, a DC value encoding device 162, an AC value encoding device 163, and a code format generation device 164.

8×8DCT係数格納装置160は、DCT処理後の8×8のDCT係数を格納する。DC/AC値切り出し装置161は、8×8DCT係数格納装置160からDC値とAC値をDC値を1つ、AC値を63個を切り出し、DC値をDC値符号化装置162へ、AC値をAC値符号化装置163へ転送する。DC値符号化装置162は、DC/AC値切り出し装置161から受け取ったDC値をDC値のハフマンテーブルによりDC符号とその符号長を求める。AC値符号化装置163は、DC/AC値切り出し装置161から受け取ったAC値をAC値のハフマンテーブルによりAC符号とその符号長を求める。符号フォーマット処理装置164は、でDC値符号化装置162,AC値符号化装置163からのDC,AC符号とその符号長を1つの符号と符号長にまとめる。   The 8 × 8 DCT coefficient storage device 160 stores 8 × 8 DCT coefficients after DCT processing. The DC / AC value cutout device 161 cuts out one DC value and 63 AC values from the 8 × 8 DCT coefficient storage device 160, cuts the DC value into the DC value encoding device 162, and outputs the AC value to the DC value encoding device 162. Is transferred to the AC value encoding device 163. The DC value encoding device 162 obtains the DC code and the code length of the DC value received from the DC / AC value clipping device 161 from the DC value Huffman table. The AC value encoding device 163 obtains the AC code and the code length of the AC value received from the DC / AC value clipping device 161 from the AC value Huffman table. The code format processing device 164 combines the DC and AC codes from the DC value encoding device 162 and the AC value encoding device 163 and their code lengths into one code and code length.

したがって、以上説明してきたように、プリンタ画像の圧縮方式として、DCTやWavelet変換などの周波数変換を行なう圧縮方式を使用した場合にYUVの各ブロックの画素の色を判定し、各ブロック独立に同じ色と判定された場合、その周波数変換処理とは別のパスの一色データ符号化装置を使用することにより、たとえば同じ色で構成されるグラフィックス画像を一色データ符号化装置で処理し、写真画像についてJPEGによる周波数分解による高周波数から量子化処理を行なう2つパスが実現するため、これらを高速に符号化処理を行なうことができる。   Therefore, as described above, when a compression method that performs frequency conversion such as DCT or Wavelet conversion is used as the compression method of the printer image, the pixel color of each block of YUV is determined, and the same for each block independently. If it is determined as a color, by using a one-color data encoding device of a different path from the frequency conversion processing, for example, a graphics image composed of the same color is processed by the one-color data encoding device, and a photographic image Since two passes for performing quantization processing from a high frequency by frequency decomposition by JPEG are realized, these can be encoded at high speed.

ところで、これまで説明してきた画像処理方法(動作)を、プログラム化し、コンピュータ読み取り可能な記録媒体に記録し、コンピュータ上で実行することもできる。また、画像処理方法の一部をネットワーク上に有し、通信回線を通して実現することもできる。   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.

すなわち、この実施の形態で説明した画像処理方法は、図15に示すように、あらかじめ用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータ(CPU30)で実行することにより実現される。このプログラムは、キーボード35の操作などにより、メモリ31、ハードディスク34、フレキシブルディスク37、CD−ROM(CompactT−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 T-Disc Read Only Memory) 36, an MO (Magneto Optical), a DVD (Digital Versatile Disc), etc. 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.

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

すなわち、このプログラムは、たとえばコンピュータに内蔵されている記録媒体としてのハードディスクに、あらかじめインストールした状態で提供することができる。プログラムは記録媒体に一時的あるいは永続的に格納し、コンピュータにユニットとして組み込んだり、あるいは着脱式の記録媒体として利用することで、パッケージソフトウェアとして提供することができる。   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. .

以上のように、本発明にかかる画像処理装置および画像処理方法、並びに画像処理方法をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体は、デジタル複写機やデジタルカメラ、各種のカラープリンタなどに有用であり、特に、プリンタ画像の圧縮方式として、DCTやウェーブレットなどの周波数変換を行なう圧縮方式を使用した場合にYUVの各ブロックの画素の色を判定し、各ブロック独立に同じ色と判定された場合、その周波数変換処理とは別のパスの一色データ符号化装置を使用することによって高速に符号化処理を行なうシステムに適している。   As described above, the image processing apparatus and the image processing method according to the present invention, and the computer-readable recording medium on which the program for causing the computer to execute the image processing method is recorded include a digital copying machine, a digital camera, and various color printers. In particular, when a compression system that performs frequency conversion, such as DCT or wavelet, is used as the printer image compression method, the pixel color of each block of YUV is determined, and the same color is determined independently for each block. In such a case, it is suitable for a system that performs high-speed encoding processing by using a single-color data encoding device that is different from the frequency conversion processing.

本発明の実施の形態にかかる画像形成装置の機構部の構成例を示す説明図である。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. 図1における画像形成装置の電装・制御系の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of an electrical / control system of the image forming apparatus in FIG. 1. 図2における画像データに対する通常の画像処理の流れを示すブロック図である。It is a block diagram which shows the flow of the normal image processing with respect to the image data in FIG. 本発明の実施の形態にかかる画像処理の概念を示すブロック図である。It is a block diagram which shows the concept of the image processing concerning embodiment of this invention. 図2におけるメインメモリのフォーマットを示す説明図である。It is explanatory drawing which shows the format of the main memory in FIG. 本発明の実施の形態にかかる画像処理の全体の流れを示すブロック図である。It is a block diagram which shows the whole flow of the image processing concerning embodiment of this invention. 図2における符号化装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the encoding apparatus in FIG. 図7における符号化処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the encoding processing apparatus in FIG. 図8のように構成された符号化処理装置の処理動作を示すフローチャートである。It is a flowchart which shows the processing operation of the encoding processing apparatus comprised as FIG. 図8における各色の一色データ符号化装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the one-color data encoding apparatus of each color in FIG. 図10におけるDC値符号化装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the DC value encoding apparatus in FIG. AC符号化の手順を示すマトリクス図である。It is a matrix figure which shows the procedure of AC encoding. DC符号化を示すマトリクス図である。It is a matrix figure which shows DC encoding. 図8における各色のエントロピー符号化装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the entropy encoding apparatus of each color 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. 画像出力処理の対象となるプリンタ画像例を示す説明図である。It is explanatory drawing which shows the example of a printer image used as the object of an image output process. 従来におけるウェーブレット変換の様子を示す説明図である。It is explanatory drawing which shows the mode of the wavelet transformation in the past.

符号の説明Explanation of symbols

100 カラープリンタ
101 CPU
103 メモリコントローラ
104 メインメモリ
104a バンドメモリ領域
104b 符号ページメモリ領域
106 復号化装置
107 画像処理装置
108 エンジンコントローラ
109 プリンタエンジン
121 符号化処理装置
125 RGBデータ8×8記憶装置
126 RGB→YUV変換装置
128 Y2次元DCT処理装置
129 Y量子化処理装置
130 Yエントロピー符号化装置
131 Y一色データ判定装置
132 Y一色データ符号化装置
134 U2次元DCT処理装置
135 U量子化処理装置
136 Uエントロピー符号化装置
137 U一色データ判定装置
138 U一色データ符号化装置
140 V2次元DCT処理装置
141 V量子化処理装置
142 Vエントロピー符号化装置
143 V一色データ判定装置
144 V一色データ符号化装置
152 DC値符号化装置
100 color printer 101 CPU
DESCRIPTION OF SYMBOLS 103 Memory controller 104 Main memory 104a Band memory area 104b Code page memory area 106 Decoding apparatus 107 Image processing apparatus 108 Engine controller 109 Printer engine 121 Encoding processing apparatus 125 RGB data 8 × 8 storage apparatus 126 RGB → YUV conversion apparatus 128 Y2 Dimensional DCT processing unit 129 Y quantization processing unit 130 Y entropy encoding unit 131 Y single color data determination unit 132 Y single color data encoding unit 134 U two-dimensional DCT processing unit 135 U quantization processing unit 136 U entropy encoding unit 137 U single color Data determination device 138 U single color data encoding device 140 V2D DCT processing device 141 V quantization processing device 142 V entropy encoding device 143 V single color data determination device 14 4 V single color data encoding device 152 DC value encoding device

Claims (8)

描画生成された画像データをプリンタエンジンに出力処理する画像処理装置において、
前記生成された画像データをn×mのブロックに分割する画像分割手段と、
前記画像分割手段により生成されたn×mの画像を周波数分解する周波数分解手段と、
前記周波数分解後のデータを符号化する周波数分解後データ符号化手段と、
前記n×mの画像の色成分のレベル値がすべて同じ値であるかを判定する一色値判定手段と、
前記一色値判定手段によりn×mの画像の色成分のレベル値がすべて同じ値である場合、一色値の符号データを生成する一色値符号化手段と、
を備えたことを特徴とする画像処理装置。
In an image processing apparatus that outputs image data generated by drawing to a printer engine,
Image dividing means for dividing the generated image data into n × m blocks;
Frequency resolving means for frequency resolving an n × m image generated by the image dividing means;
Frequency-decomposed data encoding means for encoding the frequency-decomposed data;
One color value determining means for determining whether or not the level values of the color components of the n × m image are all the same value;
When the level values of the color components of the n × m image are all the same value by the one color value determining means, one color value encoding means for generating one color value code data;
An image processing apparatus comprising:
1つ前のブロックが前記一色値符号化手段を使用していたかを判定する前ブロック符号化フロー判定手段を備えたことを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising a previous block coding flow determination unit that determines whether the previous block uses the one color value encoding unit. 1つ前のブロックが前記一色値符号化手段を使用しない場合、当該1つ前のブロックのDC成分値を用いて符号化するDC値を予測符号化するDC値予測符号化手段を備えたことを特徴とする請求項1に記載の画像処理装置。   When a previous block does not use the one color value encoding means, a DC value prediction encoding means for predictively encoding a DC value to be encoded using a DC component value of the previous block is provided. The image processing apparatus according to claim 1. 1つ前のブロックが前記周波数分解後データ符号化手段を使用しない場合、当該1つ前のブロックのDC成分値を用いて符号化するDC値を予測符号化するDC値予測符号化手段を備えたことを特徴とする請求項1に記載の画像処理装置。   When the previous block does not use the frequency-decomposed data encoding means, a DC value predictive encoding means for predictively encoding a DC value to be encoded using the DC component value of the previous block is provided. The image processing apparatus according to claim 1. 描画生成された画像データをプリンタエンジンに出力処理する画像処理装置において、
前記生成された画像データをn×mのブロックに分割する画像分割手段と、
前記画像分割手段により生成されたn×mの画像を周波数分解する周波数分解手段と、
前記周波数分解後のデータを符号化する周波数分解後データ符号化手段と、
前記n×mの画像の色成分のレベル値がすべて同じ値であるかを判定する一色値判定手段と、
前記一色値判定手段によりn×mの画像の色成分のレベル値がすべて同じ値である場合、前記周波数分解手段を用いずに色成分のレベル値による周波数分解値を生成する一色値周波数分解データ生成手段と、
を備えたことを特徴とする画像処理装置。
In an image processing apparatus that outputs image data generated by drawing to a printer engine,
Image dividing means for dividing the generated image data into n × m blocks;
Frequency resolving means for frequency resolving an n × m image generated by the image dividing means;
Frequency-decomposed data encoding means for encoding the frequency-decomposed data;
One color value determination means for determining whether or not the level values of the color components of the n × m image are all the same value;
When the level values of the color components of the n × m image are all the same value by the single color value determination unit, the single color value frequency decomposition data for generating the frequency decomposition value based on the color component level value without using the frequency decomposition unit Generating means;
An image processing apparatus comprising:
描画生成された画像データをプリンタエンジンに出力処理する画像処理方法において、
前記生成された画像データをn×mのブロックに分割する画像分割工程と、
前記画像分割工程により生成されたn×mの画像を周波数分解する周波数分解工程と、
前記周波数分解後のデータを符号化する周波数分解後データ符号化工程と、
前記n×mの画像の色成分のレベル値がすべて同じ値であるかを判定する一色値判定工程と、
前記一色値判定工程によりn×mの画像の色成分のレベル値がすべて同じ値である場合、一色値の符号データを生成する一色値符号化工程と、
を含むことを特徴とする画像処理方法。
In an image processing method for outputting image data generated by drawing to a printer engine,
An image dividing step of dividing the generated image data into n × m blocks;
A frequency decomposition step of frequency-resolving an n × m image generated by the image dividing step;
A frequency-decomposed data encoding step for encoding the frequency-decomposed data;
A color value determination step of determining whether or not the level values of the color components of the n × m image are all the same value;
When the level values of the color components of the n × m image are all the same value in the one color value determination step, a one color value encoding step for generating code data of one color value;
An image processing method comprising:
描画生成された画像データをプリンタエンジンに出力処理する画像処理方法において、
前記生成された画像データをn×mのブロックに分割する画像分割工程と、
前記画像分割工程により生成されたn×mの画像を周波数分解する周波数分解工程と、
前記周波数分解後のデータを符号化する周波数分解後データ符号化工程と、
前記n×mの画像の色成分のレベル値がすべて同じ値であるかを判定する一色値判定工程と、
前記一色値判定工程によりn×mの画像の色成分のレベル値がすべて同じ値である場合、前記周波数分解工程を用いずに色成分のレベル値による周波数分解値を生成する一色値周波数分解データ生成工程と、
を含むことを特徴とする画像処理方法。
In an image processing method for outputting image data generated by drawing to a printer engine,
An image dividing step of dividing the generated image data into n × m blocks;
A frequency decomposition step of frequency-resolving an n × m image generated by the image dividing step;
A frequency-decomposed data encoding step for encoding the frequency-decomposed data;
A color value determination step of determining whether or not the level values of the color components of the n × m image are all the same value;
If the level values of the color components of the n × m image are all the same in the single color value determination step, the single color value frequency decomposition data for generating the frequency decomposition value based on the color component level value without using the frequency decomposition step Generation process;
An image processing method comprising:
前記請求項6または7に記載の画像処理方法を、コンピュータに実行させるプログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium having recorded thereon a program for causing a computer to execute the image processing method according to claim 6 or 7.
JP2004073333A 2004-03-15 2004-03-15 Image processor and image processing method, and computer-readable recording medium with program for allowing computer to execute image processing method recorded thereon Pending JP2005260872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004073333A JP2005260872A (en) 2004-03-15 2004-03-15 Image processor and image processing method, and computer-readable recording medium with program for allowing computer to execute image processing method recorded thereon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004073333A JP2005260872A (en) 2004-03-15 2004-03-15 Image processor and image processing method, and computer-readable recording medium with program for allowing computer to execute image processing method recorded thereon

Publications (1)

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

Family

ID=35086135

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004073333A Pending JP2005260872A (en) 2004-03-15 2004-03-15 Image processor and image processing method, and computer-readable recording medium with program for allowing computer to execute image processing method recorded thereon

Country Status (1)

Country Link
JP (1) JP2005260872A (en)

Similar Documents

Publication Publication Date Title
JP5369982B2 (en) Image processing apparatus and image processing method
US8472042B2 (en) Image forming apparatus which forms an image based on print data described in a page description language
JP2005309865A (en) Image processing apparatus and method, and computer readable recording medium for recording program for causing computer to implement this method
US20040208379A1 (en) Image processing apparatus that adjusts image size to make image divisible into tiles
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
JP2004114605A (en) Image forming apparatus and image forming method
JP2004126635A (en) Image forming device and method
JP2005260872A (en) Image processor and image processing method, and computer-readable recording medium with program for allowing computer to execute image processing method recorded thereon
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
JP5201040B2 (en) Image processing apparatus, image processing method, and program
JP4868016B2 (en) Image processing apparatus, image forming apparatus, and program
JP2009169584A (en) Image processing apparatus, image processing method and program
JP2011019096A (en) Image processor and image processing method
JP2005252573A (en) Image processor and picture processing method
JP2013164557A (en) Image forming control device, image forming control method, and image forming control program
JP2010219777A (en) Apparatus and method for processing image, and program
JP6451221B2 (en) Image processing apparatus and image processing method
JP2005262624A (en) Image processing apparatus, image processing method, and computer readable recording medium having program for making computer execute image processing method recorded therein
JP6209913B2 (en) Image processing apparatus, image processing system, image processing method, and program
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
JP2005305873A (en) Image processor, method of processing image, and computer readable recording medium containing program for allowing computer to execute the method
JP2008044236A (en) Image processor, image processing method, and program for being executed by computer
JP2010219776A (en) Image processing apparatus and method, and program
JP2004236042A (en) Image processor and image processing method
JP2019216372A (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061129

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080904

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080916

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081117

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090106