JP5740991B2 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP5740991B2
JP5740991B2 JP2011005173A JP2011005173A JP5740991B2 JP 5740991 B2 JP5740991 B2 JP 5740991B2 JP 2011005173 A JP2011005173 A JP 2011005173A JP 2011005173 A JP2011005173 A JP 2011005173A JP 5740991 B2 JP5740991 B2 JP 5740991B2
Authority
JP
Japan
Prior art keywords
pixel
pixel value
cmyk
rgb
image
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
Application number
JP2011005173A
Other languages
Japanese (ja)
Other versions
JP2012147330A (en
Inventor
白石 尚人
尚人 白石
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 JP2011005173A priority Critical patent/JP5740991B2/en
Publication of JP2012147330A publication Critical patent/JP2012147330A/en
Application granted granted Critical
Publication of JP5740991B2 publication Critical patent/JP5740991B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Record Information Processing For Printing (AREA)

Description

本発明は、画像処理装置および画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method.

カラープリンタにおいては、PDL(Page Description Language)を解析して、多値のバンド画像を描画し、描画したバンド画像の色変換、階調処理、および符号化を行い、1ページ分の符号を貯めた後に、復号して印字する。このような処理は、近年の半導体技術の発展によって、CPU(Central Processing Unit)で行われていた処理の一部をハードウェアで行うことが可能となっている。   A color printer analyzes PDL (Page Description Language), draws a multi-valued band image, performs color conversion, gradation processing, and encoding of the drawn band image, and stores the code for one page. After that, decrypt and print. Due to recent developments in semiconductor technology, such processing can be performed by hardware in part of processing performed by a CPU (Central Processing Unit).

例えば、特許文献1には、生成された多値のバンド画像に対する色変換処理を含むプレーン分割処理とハーフトーン処理(階調処理)とをハードウェアにより実現する技術が開示されている。また、特許文献2,3には、写真画像の描画部分をハードウェア化し、写真画像のソース画像の変倍処理とハーフトーン処理とを水平ライン毎にパイプライン処理することにより高速化を実現する技術が開示されている。さらに、特許文献4には、生成された多値のバンド画像を色変換処理装置で色変換し、その後、ハーフトーン処理装置で、ハーフトーン処理をパイプライン処理することにより、高速化を実現している。   For example, Patent Document 1 discloses a technology that implements plane division processing including color conversion processing for a generated multi-value band image and halftone processing (gradation processing) by hardware. In Patent Documents 2 and 3, the drawing portion of a photographic image is made into hardware, and the speed-up is realized by pipelining the scaling processing and halftone processing of the source image of the photographic image for each horizontal line. Technology is disclosed. Further, in Patent Document 4, the generated multi-value band image is color-converted by a color conversion processing device, and then the halftone processing is pipelined by the halftone processing device, thereby realizing high speed. ing.

また、近年の半導体プロセスの発達により、メインメモリのDRAM(Dynamic Random Access Memory)が高速化され、それに伴い、CPUとメモリコントローラ間の転送レートが高速化され、その設計に、多くのノウハウと多くのコストを必要とし始めた。そのため、汎用CPUを製造するメーカーは、メモリコントローラを内蔵した汎用CPUがプリンタコントローラに使用されている場合、汎用CPUの標準バスに画像処理ASICを接続することが考えられる。   In addition, with the recent development of semiconductor processes, the main memory DRAM (Dynamic Random Access Memory) has been speeded up, and accordingly, the transfer rate between the CPU and the memory controller has been speeded up. Began to require the cost of. Therefore, a manufacturer that manufactures a general-purpose CPU may connect an image processing ASIC to the standard bus of the general-purpose CPU when a general-purpose CPU incorporating a memory controller is used as a printer controller.

例えば、特許文献5には、色変換処理および階調処理などの画像処理をハードウェアで実現し、メインメモリのRGBのバンド画像をバスを介して読み込み、パイプライン処理により画像処理を行い、画像処理結果を、バスを介してメインメモリへ転送する技術が開示されている。   For example, in Patent Document 5, image processing such as color conversion processing and gradation processing is realized by hardware, an RGB band image of a main memory is read through a bus, image processing is performed by pipeline processing, and image processing is performed. A technique for transferring a processing result to a main memory via a bus is disclosed.

ところで、カラープリンタにおいて印字する画像は、下地の色の白色であり、グラフィックス画像等の多くの部分が、同じ色が続いていることが多い。しかしながら、従来のカラープリンタにおいては、バンド画像の1画素毎に、画像処理を行っているため、パイプライン処理を行ったとしても、画像処理を行うハードウェアは、1クロックにつき1画素しか処理することができない。   By the way, an image to be printed by a color printer is a white background color, and many portions of a graphics image or the like often have the same color. However, in conventional color printers, image processing is performed for each pixel of a band image, so even if pipeline processing is performed, hardware that performs image processing processes only one pixel per clock. I can't.

そのため、高解像度の画像を高速にプリントする要求に対応するためには、クロックの周波数を高くする必要がある。しかし、半導体プロセス技術においては、微細化が進んでトランジスタゲート間の間隔が狭くなると、貫通電流が大きくなり、クロックの周波数が高くなると、貫通電流による発熱が問題になる。そのため、画像処理を行うハードウェアの消費電流を抑えるためにも、高いクロックの周波数を使用することは、困難である。   Therefore, it is necessary to increase the clock frequency in order to meet the demand for printing a high-resolution image at high speed. However, in the semiconductor process technology, when the miniaturization advances and the distance between the transistor gates becomes narrower, the through current increases, and when the clock frequency increases, the heat generated by the through current becomes a problem. For this reason, it is difficult to use a high clock frequency in order to suppress current consumption of hardware that performs image processing.

また、複数のロジック回路によって画像処理を並列処理させることにより、処理の高速化を図る方法もあるが、階調処理用のメモリの容量が大きくなるとともに、半導体のLSIのサイズが大きくなり、コストが高くなる。具体的には、例えば、カラープリンタにおける色変換処理装置では、17*17*17(4,913)ワードのLUT(Look Up Table)を持つ必要がある。また、カラープリンタにおける階調処理装置では、32*32のディザサイズの閾値テーブルをCMYKのコンポーネントそれぞれに1枚ずつ計4枚必要である。さらに、階調処理のビット数が4値である場合に、閾値テーブルを3枚持つ構成とすると、32*32*4*3=12,288バイトのメモリが必要になる。これらの画像処理用のハードウェアと複数のメモリとをASICに搭載すると、ASICのサイズを大きくするとともに、コストアップにつながる。   In addition, there is a method of speeding up the processing by performing parallel image processing using a plurality of logic circuits, but the memory capacity for gradation processing increases, the size of the semiconductor LSI increases, and the cost increases. Becomes higher. Specifically, for example, a color conversion processing apparatus in a color printer needs to have a 17 * 17 * 17 (4,913) word LUT (Look Up Table). In the gradation processing apparatus in the color printer, a total of four 32 * 32 dither size threshold tables are required, one for each CMYK component. Further, when the number of bits for gradation processing is four values, a configuration having three threshold tables requires 32 * 32 * 4 * 3 = 12,288 bytes of memory. When these image processing hardware and a plurality of memories are mounted on the ASIC, the size of the ASIC is increased and the cost is increased.

そこで、特許文献6では、バンド画像に含まれる偶数の画素と奇数の画素とが同じ画素値である場合にのみ、偶数の画素の画素値に対して色空間変換処理を行って、色空間変換処理を行った画素値を、偶数の画素および奇数の画素それぞれの画素値とし、偶数の画素と奇数の画素に対して並列に階調処理を行う技術が開示されている。   Therefore, in Patent Document 6, color space conversion processing is performed on pixel values of even pixels only when even pixels and odd pixels included in the band image have the same pixel value. A technique is disclosed in which the processed pixel values are set as the pixel values of even-numbered pixels and odd-numbered pixels, and gradation processing is performed in parallel on even-numbered pixels and odd-numbered pixels.

しかしながら特許文献6に開示された技術によれば、偶数の画素と奇数の画素の画素値が同一である場合には、奇数の画素の色空間変換処理を行う必要がなくなり、画像処理の高速化を図ることができるが、写真画像のように色が細かく変化する画像やグラフィックスブラシパターンなどのように色が交互に変化する場合など、偶数の画素と奇数の画素の画素値が異なる場合には、偶数の画素と奇数の画素それぞれについて画像処理を行わなければならず、画像処理の高速化が望めない、という課題がある。   However, according to the technique disclosed in Patent Literature 6, when the pixel values of the even-numbered pixels and the odd-numbered pixels are the same, it is not necessary to perform the color space conversion processing of the odd-numbered pixels, and the image processing speed is increased. However, when the pixel values of even-numbered pixels and odd-numbered pixels are different, such as when the color changes alternately, such as an image where the color changes finely like a photographic image or a graphics brush pattern, etc. However, there is a problem that image processing must be performed for each of even-numbered pixels and odd-numbered pixels, and it is not possible to increase the speed of image processing.

本発明は、上記に鑑みてなされたものであって、画像処理を高速化することができる画像処理装置および画像処理方法を提供することを目的とする。   The present invention has been made in view of the above, and an object thereof is to provide an image processing apparatus and an image processing method capable of speeding up image processing.

上述した課題を解決し、目的を達成するために、本発明は、画像データに含まれる画素の画素値である第1画素値を記憶する第1記憶手段と、前記第1画素値に対して色空間変換処理を行った場合の第2画素値を記憶する第2記憶手段と、出力する画像データに含まれる画素の画素値を読み込む読込手段と、前記読み込んだ画素値が、前記第1記憶手段に記憶された複数の第1画素値それぞれと一致するか否かを一度に判定する判定手段と、前記読み込んだ画素値のうち前記第1画素値と一致しない画素値に色空間変換処理を行う色変換処理手段と、前記第2記憶手段に記憶された第2画素値のうち、前記読み込んだ画素値と一致した前記第1画素値に色空間変換処理を行った場合の第2画素値を、前記読み込んだ画素値に対して色空間変換処理を行った場合の画素値として選択する選択手段と、を備え、前記第1記憶手段および前記第2記憶手段は、前記第1画素値と、前記第2画素値と、を対応付けて記憶し、前記選択手段は、前記読み込んだ画素値と一致する前記第1画素値と対応付けて記憶された前記第2画素値を、前記読み込んだ画素値に対して色空間変換処理を行った場合の画素値として選択することを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention provides a first storage unit that stores a first pixel value that is a pixel value of a pixel included in image data, Second storage means for storing a second pixel value when color space conversion processing is performed, reading means for reading a pixel value of a pixel included in output image data, and the read pixel value are the first storage Determination means for determining at a time whether or not each of the plurality of first pixel values stored in the means matches, and color space conversion processing is performed on pixel values that do not match the first pixel value among the read pixel values. Color conversion processing means to be performed, and second pixel value when color space conversion processing is performed on the first pixel value that matches the read pixel value among the second pixel values stored in the second storage means Color space conversion for the read pixel value And a selection means for selecting a pixel value in the case of performing management, the first memory means and said second storage means, wherein the first pixel value, the second pixel value, the association with each other When the selection means performs a color space conversion process on the read pixel value, the second pixel value stored in association with the first pixel value that matches the read pixel value. The pixel value is selected .

また、本発明は、画像処理装置で実行される画像処理方法であって、前記画像処理装置は、画像データに含まれる画素の画素値である第1画素値を記憶する第1記憶手段と、前記第1画素値に対して色空間変換処理を行った場合の第2画素値を記憶する第2記憶手段と、を備え、前記第1記憶手段および前記第2記憶手段は、前記第1画素値と、前記第2画素値と、を対応付けて記憶し、読込手段が、出力する画像データに含まれる画素の画素値を読み込む工程と、判定手段が、前記読み込んだ画素値が、前記第1記憶手段に記憶された複数の第1画素値それぞれと一致するか否かを一度に判定する工程と、色変換処理手段が、前記読み込んだ画素値のうち前記第1画素値と一致しない画素値に色空間変換処理を行う工程と、選択手段が、前記第2記憶手段に記憶された第2画素値のうち、前記読み込んだ画素値と一致した前記第1画素値に色空間変換処理を行った場合の第2画素値であって、該第1画素値と対応付けて記憶された第2画素値を、前記読み込んだ画素値に対して色空間変換処理を行った場合の画素値として選択する工程と、を含むことを特徴とする。 The present invention is also an image processing method executed by an image processing apparatus, wherein the image processing apparatus stores a first pixel value that is a pixel value of a pixel included in image data; Second storage means for storing a second pixel value when a color space conversion process is performed on the first pixel value, wherein the first storage means and the second storage means are the first pixels. A value and the second pixel value are stored in association with each other, and the reading unit reads the pixel value of the pixel included in the image data to be output; and the determining unit reads the pixel value A step of determining at a time whether or not each of the plurality of first pixel values stored in one storage means matches, and a pixel in which the color conversion processing means does not match the first pixel value among the read pixel values The process of performing color space conversion processing on the value and the selection means Of the second pixel value stored in the second storage means, a second pixel value in the case of performing color space conversion processing on the first pixel value matched with the read pixel values, the first pixel Selecting a second pixel value stored in association with the value as a pixel value when color space conversion processing is performed on the read pixel value.

本発明によれば、画像データから読み込んだ画素の画素値が、以前に色空間変換処理を行った場合の画素値と一致した場合に、当該画像データから読み込んだ画素の画素値に対する色空間変換処理を行う必要がなくなるので、画像処理を高速化することができる、という効果を奏する。   According to the present invention, when the pixel value of the pixel read from the image data matches the pixel value when the color space conversion process has been performed previously, the color space conversion for the pixel value of the pixel read from the image data is performed. Since there is no need to perform processing, the image processing can be speeded up.

図1は、この発明にかかる画像処理装置および画像処理方法を適用した多色画像形成装置の機構部の構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of a mechanism unit of a multicolor image forming apparatus to which an image processing apparatus and an image processing method according to the present invention are applied. 図2は、本実施の形態にかかる多色画像形成装置の電装・制御部のハードウェア構成の例を示す図である。FIG. 2 is a diagram illustrating an example of the hardware configuration of the electrical / control unit of the multicolor image forming apparatus according to the present embodiment. 図3は、多色画像形成装置における処理の概略を示すフロー図である。FIG. 3 is a flowchart showing an outline of processing in the multicolor image forming apparatus. 図4は、メインメモリの記憶領域を説明する図である。FIG. 4 is a diagram for explaining a storage area of the main memory. 図5は、画像処理部のハードウェア構成を説明する図である。FIG. 5 is a diagram illustrating a hardware configuration of the image processing unit. 図6は、一致画素判定部の具体的な構成を示すブロック図である。FIG. 6 is a block diagram illustrating a specific configuration of the matching pixel determination unit. 図7は、色復元処理部の具体的な構成を示すブロック図である。FIG. 7 is a block diagram illustrating a specific configuration of the color restoration processing unit. 図8は、階調処理部の具体的な構成を示すブロック図である。FIG. 8 is a block diagram showing a specific configuration of the gradation processing unit. 図9は、画像データの構成例を示す図である。FIG. 9 is a diagram illustrating a configuration example of image data. 図10は、画像データの構成例を示す図である。FIG. 10 is a diagram illustrating a configuration example of image data. 図11は、閾値マトリックスの例を説明する図である。FIG. 11 is a diagram illustrating an example of a threshold matrix. 図12は、色空間変換処理およびハーフトーン処理の流れを示すフローチャートである。FIG. 12 is a flowchart showing the flow of color space conversion processing and halftone processing. 図13は、階調処理部による階調処理を説明するフローチャートである。FIG. 13 is a flowchart for explaining gradation processing by the gradation processing unit.

以下に添付図面を参照して、この発明にかかる画像処理装置および画像処理方法の最良な実施の形態を詳細に説明する。   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より発せられるレーザ光が照射される光書き込み部がある。   FIG. 1 is a diagram illustrating a configuration example of a mechanism unit of a multicolor image forming apparatus to which an image processing apparatus and an image processing method according to the present invention are applied. In this multicolor 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. It is rotated in the direction of arrow A by driving. On the outer periphery of the photoreceptor 1, a charging device 4 as a charging unit 4, a static elimination lamp L, and a cleaning blade 15 </ b> A for the photoreceptor 1 are arranged. At the downstream position of the charging device 4, there is an optical writing unit that is irradiated with laser light emitted from a laser writing unit 5 that is optical writing means.

光書き込み部より下流位置には、複数の現像ユニット(現像手段)が切り換え自在に支持された多色現像装置6が配置されている。多色現像装置6は、収容するトナーの色毎に、イエロー現像ユニット,マゼンタ現像ユニット,シアン現像ユニットを備えている。多色現像装置6の上部には、黒色トナーを収容したブラック現像ユニット7が備えられている。   A multi-color developing device 6 in which a plurality of developing units (developing means) are supported in a switchable manner is disposed downstream of the optical writing unit. The multicolor developing device 6 includes a yellow developing unit, a magenta developing unit, and a cyan developing unit for each color of toner to be accommodated. A black developing unit 7 containing black toner is provided at the top of the multicolor developing device 6.

これらの各現像ユニットのいずれか1つが対応する色の現像タイミングに同期し、現像可能な位置に移動する。多色現像装置6は、円周上120度の回転によっていずれかの現像ユニットを選択する機能を有している。そして、これらの現像ユニットが稼動するときには、ブラック現像ユニット7は感光体1より離間した位置に移動する。その移動は、カム22の回転により行なわれる。   Any one of these development units moves to a developable position in synchronization with the development timing of the corresponding color. The multicolor developing device 6 has a function of selecting any developing unit by rotating 120 degrees on the circumference. When these developing units operate, the black developing unit 7 moves to a position separated from the photoreceptor 1. The movement is performed by the rotation of the cam 22.

レーザ書き込みユニット5は、図示しないレーザ光源から複数色の画像形成信号(書き込み情報)に応じたレーザ光を順次発生させ、ポリゴンモータ5Aによって回転されるポリゴンミラー5Bを用いてそのレーザ光を周期的に偏向させ、fθレンズ5Cおよびミラー5Dなどを経て、帯電された感光体1の表面を走査してその表面に静電潜像を形成させる。   The laser writing unit 5 sequentially generates laser light according to image forming signals (writing information) of a plurality of colors from a laser light source (not shown), and periodically uses the polygon mirror 5B rotated by the polygon motor 5A. Then, the surface of the charged photoreceptor 1 is scanned through the fθ lens 5C and the mirror 5D, and an electrostatic latent image is formed on the surface.

感光体1の表面に形成される静電潜像は、対応する現像ユニットからのトナーによって現像され、トナー画像が形成・保持される。中間転写ベルト21は、感光体1に隣接しており、回転ローラ11,12により矢示B方向に回動可能に支持されている。感光体1上のトナー画像は、中間転写ベルト21の裏側にある転写ブラシ(第1の転写手段)13により、その中間転写ベルト21の表面に転写される。   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 intermediate transfer belt 21 is adjacent to the photoreceptor 1 and is supported by the rotating rollers 11 and 12 so as to be rotatable in the direction indicated by the arrow B. The toner image on the photoreceptor 1 is transferred onto the surface of the intermediate transfer belt 21 by a transfer brush (first transfer means) 13 on the back side of the intermediate transfer belt 21.

感光体1の表面は1色毎にクリーニングブレード15Aによりクリーニングされ、その表面に所定色のトナー画像が形成される。そして、その都度中間転写ベルト21の1回動毎にその表面の同じ位置に感光体1上のトナー画像が転写されて、中間転写ベルト21上に複数色のトナー画像が重ね合わせられて保持される。その後、そのトナー画像は用紙やプラスチック等の記録媒体に転写される。   The surface of the photoreceptor 1 is cleaned for each color by the cleaning blade 15A, and a toner image of a predetermined color is formed on the surface. Each time the intermediate transfer belt 21 is rotated, the toner image on the photoreceptor 1 is transferred to the same position on the surface, and the toner images of a plurality of colors are superimposed and held on the intermediate transfer belt 21. The Thereafter, the toner image is transferred to a recording medium such as paper or plastic.

用紙への転写に際しては、給紙装置(給紙カセット)17に収納されている用紙が給紙ローラ18によって繰り出されて搬送ローラ19により搬送され、レジストローラ対20に付き当てられた状態で一旦停止された後、トナー画像の転写位置が正規のものとなるようにタイミングがとられて中間転写ベルト21と転写ローラ(第2の転写手段)14のニップに再搬送される。そして、その用紙は転写ローラ14の作用により中間転写ベルト21上の複数色のトナー画像が一括転写された後、定着装置23に送られ、そこでトナー像が定着された後、排紙ローラ対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 paper feeding roller 18 and transported by the transporting roller 19, and is temporarily applied to the registration roller pair 20. After being stopped, the toner image is transferred to the nip between the intermediate transfer belt 21 and the transfer roller (second transfer means) 14 at a timing so that the transfer position of the toner image becomes normal. Then, after the toner images of a plurality of colors on the intermediate transfer belt 21 are collectively transferred by the action of the transfer roller 14, the sheet is sent to the fixing device 23, where the toner image is fixed, and then the paper discharge roller pair 51. As a result, the paper is discharged to the paper discharge stack 52 at the top of the main body frame 9.

中間転写ベルト21には、回転ローラ11の部位に中間転写ベルト21用のクリーニング装置16が設けられ、クリーニングブレード16Aがクリーニングブレード接離用アーム16Cを介して接離自在の構成となっている。このクリーニングブレード16Aは、感光体1からトナー画像を受け取る工程では、中間転写ベルト21から離れ、中間転写ベルト21より用紙にトナー画像が転写された後に接触するようになっていて、用紙にトナー画像が転写された後の残留トナーをかきとる。クリーニングブレードは、すでに記したように、感光体1用と中間転写ベルト21用がある。これらブレードがかきとった廃トナーは、回収容器15に収納する。その回収容器15は適宜交換される。中間転写ベルト21用のクリーニング装置16の内部に設けられたオーガ16Bが、クリーニングブレード16Aでかきとられた廃トナーを搬送し、図示しない搬送手段で回収容器15に送るようになっている。   The intermediate transfer belt 21 is provided with a cleaning device 16 for the intermediate transfer belt 21 at a portion of the rotating roller 11 so that the cleaning blade 16A can be contacted and separated via a cleaning blade contacting / separating arm 16C. In the step of receiving the toner image from the photoreceptor 1, the cleaning blade 16A is separated from the intermediate transfer belt 21 and comes into contact after the toner image is transferred from the intermediate transfer belt 21 to the paper. The residual toner after the toner is transferred is scraped off. As already described, there are cleaning blades for the photoreceptor 1 and the intermediate transfer belt 21. Waste toner scraped by these blades is stored in a collection container 15. The collection container 15 is replaced as appropriate. An auger 16B provided inside the cleaning device 16 for the intermediate transfer belt 21 conveys the waste toner scraped off by the cleaning blade 16A and sends it to the collection container 15 by a conveying means (not shown).

符号31はユニット化されたプロセスカートリッジで、感光体1,帯電装置4,中間転写ベルト21,クリーニング装置16,用紙搬送路を形成する搬送ガイド30などを一体に組み込み、寿命到来時に交換できるように構成されている。プロセスカートリッジ31の交換のほかに、多色現像装置6,ブラック現像ユニット7なども寿命到来時に交換するが、その交換性やジャム紙の処理を容易にするため、本体の一部の前フレーム8は支軸9Aを中心に開閉可能に回動できる構造にしてある。   Reference numeral 31 denotes a unitized process cartridge, which includes a photosensitive member 1, a charging device 4, an intermediate transfer belt 21, a cleaning device 16, a conveyance guide 30 that forms a sheet conveyance path, and the like so that they can be replaced when the end of their service life is reached. It is configured. In addition to the replacement of the process cartridge 31, the multi-color developing device 6, the black developing unit 7 and the like are also replaced at the end of their service life. However, in order to facilitate the exchange and handling of jammed paper, Has a structure that can be opened and closed about the support shaft 9A.

図1の左側には、電装・制御装置26が収納されている。その上方には、ファン24が備えられており、機内の温度過昇防止のために排風する。図の右側には、比較的小規模な別の給紙装置25が備えられている。なお、この実施形態では、中間転写体として中間転写ベルト21を使用したが、中間転写ドラムを使用することもできる。   On the left side of FIG. 1, an electrical / control device 26 is accommodated. Above that, a fan 24 is provided, which exhausts air to prevent excessive temperature rise in the machine. On the right side of the figure, another relatively small paper feeder 25 is provided. In this embodiment, the intermediate transfer belt 21 is used as an intermediate transfer member, but an intermediate transfer drum can also be used.

図2は、本実施の形態にかかる多色画像形成装置の電装・制御部のハードウェア構成の例を示す図である。図2の電装・制御部は、プリンタコントローラボード10が、ネットワークを介してパーソナルコンピュータ(以下、PCとする)90に対して接続され、また、プリンタエンジン700と接続される。   FIG. 2 is a diagram illustrating an example of the hardware configuration of the electrical / control unit of the multicolor image forming apparatus according to the present embodiment. 2, the printer controller board 10 is connected to a personal computer (hereinafter referred to as a PC) 90 via a network, and is also connected to a printer engine 700.

プリンタコントローラボード10は、メモリコントローラ内蔵CPU40、画像処理ASIC50、およびパネル制御ASIC80を有し、これらがバスを介して接続されている。メモリコントローラ内蔵CPU40は、さらに、メインメモリ60およびROM70と接続されている。   The printer controller board 10 includes a CPU 40 with a built-in memory controller, an image processing ASIC 50, and a panel control ASIC 80, which are connected via a bus. The memory controller built-in CPU 40 is further connected to the main memory 60 and the ROM 70.

メモリコントローラ内蔵CPU40は、CPU41、CPU インタフェース(以下、CPU I/Fとする)42、メモリアービタ43、通信コントローラ44、描画部45、メモリコントローラ46、およびバスコントローラ49を有する。   The CPU 40 with a built-in memory controller includes a CPU 41, a CPU interface (hereinafter referred to as CPU I / F) 42, a memory arbiter 43, a communication controller 44, a drawing unit 45, a memory controller 46, and a bus controller 49.

CPU41は、多色画像形成装置の装置全体の制御を行う。CPU41は、また、PC90から伝送されるPDLを解析し、描画部45に対する描画コマンドの出力、および画像処理ASIC50に対するパラメータの生成等を行う。CPU I/F42は、CPU41のインタフェースであり、メモリアービタ43を介してメインメモリ60および他のコントローラ等に接続されている。   The CPU 41 controls the entire multicolor image forming apparatus. The CPU 41 also analyzes the PDL transmitted from the PC 90, outputs a drawing command to the drawing unit 45, generates parameters for the image processing ASIC 50, and the like. The CPU I / F 42 is an interface of the CPU 41, and is connected to the main memory 60 and other controllers via the memory arbiter 43.

メモリアービタ43は、メモリコントローラ内蔵CPU40が有する各コントローラの、メインメモリ60に対するアクセスの調停を行う。メモリコントローラ46は、メインメモリ60の制御を行う。メモリコントローラ46は、メモリアービタ43を介して各コントローラと接続される。   The memory arbiter 43 arbitrates access to the main memory 60 of each controller included in the CPU 40 with built-in memory controller. The memory controller 46 controls the main memory 60. The memory controller 46 is connected to each controller via the memory arbiter 43.

バスコントローラ49は、バスに対してデータを入出力する各コントローラおよびバスの間の調停を行う。通信コントローラ44は、ネットワークに接続され、ネットワークを介して接続されたPC90等から送信される各データやコマンド等を受信する。また、通信コントローラ44は、メモリアービタ43を介して接続される各コントローラに対して受信したデータ等を出力し、各コントローラから入力されるデータ等を、PC90等に対して送信する。   The bus controller 49 performs arbitration between the controllers that input and output data to the bus and the bus. The communication controller 44 is connected to a network and receives data, commands, and the like transmitted from the PC 90 or the like connected via the network. Further, the communication controller 44 outputs received data and the like to each controller connected via the memory arbiter 43, and transmits data and the like input from each controller to the PC 90 and the like.

描画部45は、入力されたPDLが解析され生成された描画コマンドにより、画像データの描画を行う。描画部45は、描画される画像データを、メインメモリ60に格納させる。   The drawing unit 45 draws image data using a drawing command generated by analyzing the input PDL. The drawing unit 45 stores the image data to be drawn in the main memory 60.

ROM70は、CPU41が実行するコンピュータプログラムや、文字のフォント情報等を格納する。メインメモリ60は、画像データ、画像データが圧縮された符号データ、およびCPU41が実行するコンピュータプログラム等が格納される。メインメモリ60が格納する画像データは、PC90から入力される画像データ、およびプリンタエンジン700から出力される画像の画像データの他に、これらの画像データに対して所定の画像処理が行われたものでもよい。   The ROM 70 stores computer programs executed by the CPU 41, character font information, and the like. The main memory 60 stores image data, code data obtained by compressing image data, a computer program executed by the CPU 41, and the like. The image data stored in the main memory 60 is obtained by performing predetermined image processing on these image data in addition to the image data input from the PC 90 and the image data output from the printer engine 700. But you can.

画像処理ASIC50は、画像処理部500、バスインタフェース(以下、バスI/Fとする)58、およびエンジンコントローラ59を有する。画像処理部500は、CPU41により生成された画像処理のパラメータが入力され、そのパラメータに従う画像処理を行う。画像処理部500は、画像処理する画像データをメインメモリ60から読み込み、画像処理された画像データを、メインメモリ60の所定の領域に格納させる。   The image processing ASIC 50 includes an image processing unit 500, a bus interface (hereinafter referred to as a bus I / F) 58, and an engine controller 59. The image processing unit 500 receives image processing parameters generated by the CPU 41 and performs image processing according to the parameters. The image processing unit 500 reads image data to be image-processed from the main memory 60 and stores the image processed image data in a predetermined area of the main memory 60.

バスI/F58は、画像処理ASIC50がバスに接続される際のインタフェースである。エンジンコントローラ59は、プリンタエンジン700の制御を行う。   The bus I / F 58 is an interface when the image processing ASIC 50 is connected to the bus. The engine controller 59 controls the printer engine 700.

パネル制御ASIC80は、パネル81に接続され、CPU41からの制御コマンド等に従い、パネル81の制御を行う。パネル制御ASIC80は、パネルコントローラ89およびバスI/F88を有する。パネルコントローラ89は、パネル81に表示するデータの制御、およびパネル81から入力される情報の取得等を行う。バスI/F88は、バスに接続され、メモリコントローラ内蔵CPU40からのデータの入出力を行う。   The panel control ASIC 80 is connected to the panel 81 and controls the panel 81 in accordance with a control command from the CPU 41 or the like. The panel control ASIC 80 has a panel controller 89 and a bus I / F 88. The panel controller 89 performs control of data displayed on the panel 81, acquisition of information input from the panel 81, and the like. The bus I / F 88 is connected to the bus and inputs and outputs data from the CPU 40 with a built-in memory controller.

パネル81は、多色画像形成装置の状態の表示を行い、また、多色画像形成装置に対する操作者による指示を受け付ける。   The panel 81 displays the state of the multicolor image forming apparatus and receives instructions from the operator for the multicolor image forming apparatus.

プリンタエンジン700は、エンジンコントローラ59の制御により、画像を媒体上に形成する。PC90は、多色画像形成装置に出力させる画像のPDLを作成し、ネットワークを介してPDLを多色画像形成装置に対して出力する。   The printer engine 700 forms an image on a medium under the control of the engine controller 59. The PC 90 creates a PDL for an image to be output to the multicolor image forming apparatus, and outputs the PDL to the multicolor image forming apparatus via a network.

図3は、多色画像形成装置における処理の概略を示すフロー図である。図3では、入力された画像データが解析され、画像処理された後、プリンタエンジン700に対して出力される。図3における処理は、PDL記憶ステップS201、PDL解析ステップS202、描画処理ステップS203、RGBバンド画像記憶ステップS204、画像処理ステップS250、および階調処理後ページ画像記憶ステップS206を有し、上記の順に各ステップの処理が実行される。   FIG. 3 is a flowchart showing an outline of processing in the multicolor image forming apparatus. In FIG. 3, input image data is analyzed, subjected to image processing, and then output to the printer engine 700. 3 includes a PDL storage step S201, a PDL analysis step S202, a drawing processing step S203, an RGB band image storage step S204, an image processing step S250, and a post-gradation page image storage step S206 in the order described above. Processing of each step is executed.

PDL記憶ステップS201では、メインメモリ60が、PC90から入力されるPDLデータを格納する。PDL解析ステップS202では、CPU41が、コンピュータプログラムを実行することにより、メインメモリ60に格納されているPDLデータを解析する。   In the PDL storage step S201, the main memory 60 stores the PDL data input from the PC 90. In the PDL analysis step S202, the CPU 41 analyzes the PDL data stored in the main memory 60 by executing a computer program.

描画処理ステップS203では、CPU41が、メインメモリ60に格納されているPDLデータを解析して生成した描画コマンドにより、描画部45を介して、RGB色空間で表される画像データを描画し、メインメモリ60に転送する。ここで生成される画像データは、多色画像形成装置が画像を処理する単位である「バンド」単位のバンドデータである。RGBバンド画像記憶ステップS204では、メインメモリ60にバンドデータ(RGBデータ)が格納される。   In the rendering processing step S203, the CPU 41 renders image data represented in the RGB color space via the rendering unit 45 by a rendering command generated by analyzing the PDL data stored in the main memory 60, and the main processing is performed. Transfer to memory 60. The image data generated here is band data in “band” units, which are units in which the multicolor image forming apparatus processes images. In the RGB band image storage step S <b> 204, band data (RGB data) is stored in the main memory 60.

画像処理ステップS250は、画像読み込み処理ステップS251、色変換処理ステップS252、および階調処理ステップS253を有する。画像読み込み処理ステップS251では、RGBバンド画像記憶ステップS204において処理された画像データが読み込まれる。画像読み込み処理ステップS251では、画像データのうち、ラスタ順に連続する複数の画素が並列に読み込まれるとよい。次いで、画像読み込み処理ステップS251では、読み込んだ複数の画素の画素値(色情報)であるRGB値が、以前に色空間変換処理を行った画素の画素値(色情報)と一致するか否かを判定する。そして、画像読み込み処理ステップS251では、読み込んだ複数の画素のうち以前に色空間変換処理を行った画素の画素値と一致しなかった画素の画素値、および以前に色空間変換処理を行った画素の色と同じ色であるかの判定結果を出力する。   The image processing step S250 includes an image reading processing step S251, a color conversion processing step S252, and a gradation processing step S253. In the image reading processing step S251, the image data processed in the RGB band image storing step S204 is read. In the image reading processing step S251, a plurality of pixels that are continuous in raster order among the image data may be read in parallel. Next, in the image reading processing step S251, whether or not the RGB values that are the pixel values (color information) of the read pixels match the pixel values (color information) of the pixels that have been subjected to the color space conversion processing before. Determine. In the image reading processing step S251, the pixel value of the pixel that does not match the pixel value of the pixel that has been subjected to the color space conversion process before and the pixel that has been previously subjected to the color space conversion process among the plurality of read pixels. The result of determining whether the color is the same color as is output.

色変換処理ステップS252では、以前に色空間変換処理を行った画素の画素値と一致しなかった画素の画素値に対し、色空間変換処理が行われ、CMYK値が生成される。また、色変換処理ステップS252では、ステップS251で出力された判定結果が、以前に色空間変換処理を行った画素の画素値と同じであることを示している場合、以前に色空間変換処理を行った際に生成されたCMYK値を、読み込んだ画素の画素値に対して行った色空間変換処理の結果とする。   In color conversion processing step S252, color space conversion processing is performed on pixel values of pixels that did not match the pixel values of pixels that have been subjected to color space conversion processing previously, and CMYK values are generated. In color conversion processing step S252, if the determination result output in step S251 indicates that the pixel value of the pixel that has been subjected to color space conversion processing is the same as that previously, the color space conversion processing is performed previously. The CMYK value generated at the time of execution is taken as the result of the color space conversion process performed on the pixel value of the read pixel.

階調処理ステップS253では、色空間変換処理を行った際に生成されたCMYK値に対するハーフトーン処理および以前に色空間変換処理を行った際に生成されたCMYK値に対するハーフトーン処理(階調処理)を並行して行う。   In the gradation processing step S253, the halftone process for the CMYK value generated when the color space conversion process is performed and the halftone process (the gradation process for the CMYK value generated when the color space conversion process is performed previously). ) In parallel.

階調処理後ページ画像記憶ステップS206では、メインメモリ60に、ステップS253のハーフトーン処理により得られた画像データが格納される。ステップS206の処理の後、プリンタエンジン700が、メインメモリ60に格納された画像データを印刷して出力する。   In the post-gradation page image storage step S206, the image data obtained by the halftone process in step S253 is stored in the main memory 60. After the process of step S206, the printer engine 700 prints and outputs the image data stored in the main memory 60.

図4は、メインメモリの記憶領域を説明する図である。メインメモリ60は、PDL格納メモリ領域、プログラム領域、RGBバンド画像格納領域、画像処理部パラメータ領域、階調処理後ページメモリ格納領域、およびその他の領域を有する。   FIG. 4 is a diagram for explaining a storage area of the main memory. The main memory 60 has a PDL storage memory area, a program area, an RGB band image storage area, an image processing unit parameter area, a gradation processed page memory storage area, and other areas.

PDL格納メモリ領域は、PC90から入力されたPDLデータを格納する。プログラム領域は、CPU41が実行するコンピュータプログラムを格納する。RGBバンド画像格納領域は、描画部45により描画された画像のRGBデータを、バンド単位に格納する。   The PDL storage memory area stores PDL data input from the PC 90. The program area stores computer programs executed by the CPU 41. The RGB band image storage area stores the RGB data of the image drawn by the drawing unit 45 in band units.

画像処理部パラメータ領域は、格子点データ格納領域、ガンマデータ格納領域、および閾値データ格納領域を有する。格子点データ格納領域およびガンマデータ格納領域は、色変換処理ステップS252において色空間変換を行う際のパラメータを格納する。   The image processing unit parameter area has a lattice point data storage area, a gamma data storage area, and a threshold data storage area. The grid point data storage area and the gamma data storage area store parameters for performing color space conversion in the color conversion processing step S252.

閾値データ格納領域は、階調処理ステップS253において、ハーフトーン生成処理を行う際の閾値テーブルを格納する。閾値データ格納領域に格納される閾値テーブルは、ハーフトーン処理を行う画像データを構成する色コンポーネント毎に設けられてよい。   The threshold data storage area stores a threshold table used when halftone generation processing is performed in the gradation processing step S253. The threshold value table stored in the threshold value data storage area may be provided for each color component constituting the image data to be subjected to halftone processing.

階調処理後ページメモリ格納領域は、C版ページメモリ格納領域、M版ページメモリ格納領域、Y版ページメモリ格納領域、およびK版ページメモリ格納領域を有する。階調処理後ページメモリ格納領域が有す各格納領域は、階調処理された後の色コンポーネント毎に設けられるとよく、CMYK色空間の他に、例えば、RGB色空間の色コンポーネント毎に対応して設けられてもよい。   The post-gradation page memory storage area has a C-page memory area, an M-page memory area, a Y-page memory area, and a K-page memory area. Each storage area of the page memory storage area after gradation processing is preferably provided for each color component after gradation processing. For example, in addition to the CMYK color space, it corresponds to each color component in the RGB color space. May be provided.

図5は、画像処理部のハードウェア構成を説明する図である。図5の画像処理部500は、画像読み込み部510、色変換処理部520、階調処理部530、色復元処理部540、パラメータアドレス生成部541、画像処理パラメータ読み込み部542、DMAパラメータ記憶部543、格子点データ記憶部551、ガンマテーブル記憶部552、ハーフトーンパラメータ記憶部561、奇数閾値マトリックス記憶部562、偶数閾値マトリックス記憶部563、画像処理後画像アドレス生成部581、画像処理後画像書き込み部582、画像処理後画像バッファ部583、およびバスアービタインタフェース(以下、バスアービタI/Fとする)590を有する。   FIG. 5 is a diagram illustrating a hardware configuration of the image processing unit. 5 includes an image reading unit 510, a color conversion processing unit 520, a gradation processing unit 530, a color restoration processing unit 540, a parameter address generation unit 541, an image processing parameter reading unit 542, and a DMA parameter storage unit 543. , Lattice point data storage unit 551, gamma table storage unit 552, halftone parameter storage unit 561, odd threshold matrix storage unit 562, even threshold matrix storage unit 563, post image processing image address generation unit 581, post image processing image writing unit 582, a post-image processing image buffer 583, and a bus arbiter interface (hereinafter referred to as bus arbiter I / F) 590.

バスアービタI/F590は、画像読み込み部510、画像処理パラメータ読み込み部542、および画像処理後画像書き込み部582のそれぞれが、バスI/F58を介してバスに対してデータを入出力する際の調停を行う。   The bus arbiter I / F 590 performs arbitration when the image reading unit 510, the image processing parameter reading unit 542, and the post-image processing image writing unit 582 input / output data to / from the bus via the bus I / F 58. Do.

パラメータアドレス生成部541は、メインメモリ60上の画像処理部パラメータ領域に格納されている各種のパラメータのアドレスを生成する。画像処理パラメータ読み込み部542は、パラメータアドレス生成部541により生成されたアドレスにより、メインメモリ60に格納されている各種のパラメータを読み出す。   The parameter address generation unit 541 generates addresses of various parameters stored in the image processing unit parameter area on the main memory 60. The image processing parameter reading unit 542 reads out various parameters stored in the main memory 60 based on the address generated by the parameter address generation unit 541.

DMAパラメータ記憶部543は、画像処理パラメータ読み込み部542が画像処理パラメータを読み込む際に用いたアドレス等のパラメータを、画像処理パラメータ読み込み部542から受信して格納する。DMAパラメータ記憶部543が格納するパラメータは、バンドの幅である多値RGBバンド幅、バンドの高さである多値RGBバンド高さ、バンドデータのメインメモリ60上の開始アドレスであるRGBバンドスタートアドレス、階調処理された後のバンドの幅と高さである階調処理後CMYKバンド幅および階調処理後CMYKバンド高さ、並びに、C、M、Y、Kそれぞれの色コンポーネントのバンドデータをメインメモリ60上に格納する際のスタートアドレス等である。   The DMA parameter storage unit 543 receives parameters such as an address used when the image processing parameter reading unit 542 reads the image processing parameters from the image processing parameter reading unit 542 and stores them. The parameters stored in the DMA parameter storage unit 543 are a multi-value RGB band width that is a band width, a multi-value RGB band height that is a band height, and an RGB band start that is a start address of the band data on the main memory 60. Address, CMYK band width after gradation processing and CMYK band height after gradation processing, which are the width and height of the band after gradation processing, and band data of each color component of C, M, Y, and K Is a start address or the like when the data is stored in the main memory 60.

画像読み込み部510は、バンド画像アドレス生成部511、ワード単位のRGBバンド画像読み込み部512、RGBデータ切り出し部513、および一致画素判定部514を有する。   The image reading unit 510 includes a band image address generation unit 511, an RGB band image reading unit 512 in units of words, an RGB data cutout unit 513, and a matching pixel determination unit 514.

バンド画像アドレス生成部511は、メインメモリ60からバンドデータを読み出す際のアドレスを生成する。バンド画像アドレス生成部511は、メインメモリ60における画像データの水平ライン毎のアドレスにより、バンドデータを読み込むアドレスを生成する。   The band image address generation unit 511 generates an address when reading band data from the main memory 60. The band image address generation unit 511 generates an address for reading the band data based on the address for each horizontal line of the image data in the main memory 60.

ワード単位のRGBバンド画像読み込み部512は、メインメモリ60上のRGBバンド画像格納領域から、バンドデータ(RGBデータ)を読み込む。ワード単位のRGBバンド画像読み込み部512は、バンド画像アドレス生成部511により生成された水平ライン毎のアドレスと、メインメモリ60のワード単位のアドレスとにより、例えば、隣接する2画素分のバンドデータを同時に読み込む。より詳細には、水平ライン内のアドレスが奇数の画素と、偶数の画素とを、一の要求により読み込む。RGBA色空間による画像データがメインメモリ60のRGBバンド画像格納領域に格納されている場合、2画素分のバンドデータは、64bitとなる。   The word-unit RGB band image reading unit 512 reads band data (RGB data) from the RGB band image storage area on the main memory 60. The RGB band image reading unit 512 in units of words uses, for example, band data for two adjacent pixels based on the addresses for each horizontal line generated by the band image address generation unit 511 and the addresses in units of words in the main memory 60. Read at the same time. More specifically, the odd-numbered pixels and the even-numbered pixels in the horizontal line are read by one request. When image data in the RGBA color space is stored in the RGB band image storage area of the main memory 60, the band data for two pixels is 64 bits.

本実施の形態では、2画素分のバンドデータを読み込んでいるが、これに限定するものではなく、例えば、4画素分のバンドデータを読み込んでも良いし、その他の画素分のバンドデータを読み込んでも良い。なお、4画素分のバンドデータを読み込んだ場合には、4画素のうち1画素については、色空間変換処理を行い、その他の画素については、以前に色空間変換処理を行った場合の画素の画素値(記憶領域706(図7参照)に記憶されている画素値)を、当該その他の画素の画素値に対する色空間変換処理の結果とする。   In the present embodiment, band data for two pixels is read. However, the present invention is not limited to this. For example, band data for four pixels may be read, or band data for other pixels may be read. good. When band data for four pixels is read, color space conversion processing is performed for one of the four pixels, and the other pixels are obtained by performing color space conversion processing previously. The pixel value (the pixel value stored in the storage area 706 (see FIG. 7)) is set as the result of the color space conversion process for the pixel values of the other pixels.

RGBデータ切り出し部513は、ワード単位のRGBバンド画像読み出し部512により読み出されたバンドデータを、画素毎のデータに切り分ける。RGBデータ切り出し部513は、読み出された画素データが2画素、64bitの場合には、32bitの2つの画素(偶数画像データおよび奇数画像データ)に分ける。   The RGB data cutout unit 513 cuts the band data read by the RGB band image read unit 512 in units of words into data for each pixel. The RGB data cutout unit 513 divides the read pixel data into two 32-bit pixels (even-numbered image data and odd-numbered image data) when the read-out pixel data is two-pixel and 64-bit.

一致画素判定部514は、RGBデータ切り出し部513により切り出された2つの画素の画素値(色情報)であるRGB値が、以前に色空間変換処理を行った画素のRGB値(記憶領域608(図6参照)に記憶されたRGB値)と一致するか否かを判定する。本実施の形態では、一致画素判定部514は、RGBデータ切り出し部513により切り出された2つの画素のうち、偶数の画素(偶数RGB画素)はそのまま出力する。そして、一致画素判定部514は、RGBデータ切り出し部513により切り出された2つの画素のうち、奇数の画素(奇数RGB画素)のRGB値が、以前に色空間変換処理を行った画素とRGB値が一致するか否かを判定する。   The matching pixel determination unit 514 converts the RGB values (color information) of the two pixels cut out by the RGB data cutout unit 513 into the RGB values (storage area 608 ( It is determined whether or not it matches the RGB value stored in FIG. In the present embodiment, the matching pixel determination unit 514 outputs even pixels (even RGB pixels) out of the two pixels cut out by the RGB data cutout unit 513. Then, the matching pixel determination unit 514 determines that the RGB value of the odd pixel (odd RGB pixel) out of the two pixels cut out by the RGB data cutout unit 513 is the same as the pixel that has been subjected to the color space conversion process and the RGB value. It is determined whether or not.

図6は、一致画素判定部の具体的な構成を示すブロック図である。一致画素判定部514は、RGB_FIFO記憶処理部601、画素値比較部602、OR回路603、一致フラグレジスタ604、一致アドレス生成部605、一致アドレスレジスタ606、および偶数RGB画素レジスタ607を備えている。   FIG. 6 is a block diagram illustrating a specific configuration of the matching pixel determination unit. The matching pixel determination unit 514 includes an RGB_FIFO storage processing unit 601, a pixel value comparison unit 602, an OR circuit 603, a matching flag register 604, a matching address generation unit 605, a matching address register 606, and an even RGB pixel register 607.

RGB_FIFO記憶処理部601(第1記憶部)は、RGBデータ切り出し部513により切り出された2つの画素(偶数RGB画素および奇数RGB画素)の画素値(以前に色空間変換処理を行った画素の画素値)であるRGB値を、ワード単位のRGBバンド画像読み込み部512により読み込んだ順にFIFO(First In First Out)形式で記憶する。本実施の形態では、RGB_FIFO記憶処理部601は、「0」から「31」までのアドレスが付された記憶領域(FIFO)608を有し、RGBデータ切り出し部513によって2つの画素のうち、偶数RGB画素のRGB値を、偶数のアドレスが付された記憶領域608に記憶させ、奇数RGB画素のRGB値を、奇数のアドレスが付された記憶領域608に記憶させる。そして、RGB_FIFO記憶処理部601は、ワード単位のRGBバンド画像読み込み部512により読み込まれる毎に、偶数RGB画素のRGB値を、最も低い偶数のアドレス:「0」が付された記憶領域608から順に最も高い偶数のアドレス:「30」が付された記憶領域608に向かってシフトさせながら記憶する。また、RGB_FIFO記憶処理部601は、ワード単位のRGBバンド画像読み込み部512により読み込まれる毎に、奇数RGB画素のRGB値を、最も低い奇数のアドレス:「1」が付された記憶領域608から順に最も高い奇数のアドレス:「31」が付された記憶領域608に向かってシフトさせながら記憶する。   The RGB_FIFO storage processing unit 601 (first storage unit) is a pixel value of two pixels (even RGB pixels and odd RGB pixels) cut out by the RGB data cutout unit 513 (pixels that have been previously subjected to color space conversion processing) RGB values are stored in the FIFO (First In First Out) format in the order read by the RGB band image reading unit 512 in units of words. In the present embodiment, the RGB_FIFO storage processing unit 601 has a storage area (FIFO) 608 to which addresses from “0” to “31” are assigned, and the RGB data cutout unit 513 uses an even number of two pixels. The RGB values of the RGB pixels are stored in the storage area 608 with even addresses, and the RGB values of the odd RGB pixels are stored in the storage area 608 with odd addresses. The RGB_FIFO storage processing unit 601 sequentially reads the RGB values of the even RGB pixels from the storage area 608 assigned with the lowest even address: “0” every time the RGB band image reading unit 512 reads the word unit. The highest even address: Stored while shifting toward the storage area 608 to which “30” is attached. The RGB_FIFO storage processing unit 601 sequentially converts the RGB values of the odd RGB pixels from the storage area 608 to which the lowest odd address: “1” is assigned each time the word is read by the RGB band image reading unit 512 in units of words. The data is stored while being shifted toward the storage area 608 with the highest odd address: “31”.

画素値比較部602は、RGBデータ切り出し部513によって切り出された奇数RGB画素のRGB値と、RGB_FIFO記憶処理部601が有する全ての記憶領域608に記憶されたRGB値と、を比較する。   The pixel value comparison unit 602 compares the RGB values of the odd RGB pixels extracted by the RGB data extraction unit 513 with the RGB values stored in all the storage areas 608 included in the RGB_FIFO storage processing unit 601.

OR回路603は、画素値比較部602による比較結果に従って、奇数RGB画素のRGB値が、以前に色空間変換処理を行った画素のRGB値と同一であるか否かを示すフラグである一致フラグを出力する。具体的には、OR回路603は、RGBデータ切り出し部513によって切り出された奇数RGB画素のRGB値が、全ての記憶領域608に記憶されたRGB値のうち少なくとも1つのRGB値と一致した場合、一致フラグの値は、「1」であり、「ON」となる。一方、OR回路603は、RGBデータ切り出し部513によって切り出された奇数RGB画素のRGB値が、全ての記憶領域608に記憶されたRGB値と一致しなかった場合、一致フラグの値は、「0」であり、「OFF」となる。OR回路603から出力された一致フラグは、一致フラグレジスタ604によって保持される。   The OR circuit 603 is a match flag that indicates whether or not the RGB value of the odd RGB pixel is the same as the RGB value of the pixel that has been previously subjected to the color space conversion processing, according to the comparison result by the pixel value comparison unit 602. Is output. Specifically, the OR circuit 603, when the RGB values of the odd RGB pixels cut out by the RGB data cutout unit 513 match at least one RGB value among the RGB values stored in all the storage areas 608, The value of the match flag is “1”, which is “ON”. On the other hand, when the RGB values of the odd RGB pixels cut out by the RGB data cutout unit 513 do not match the RGB values stored in all the storage areas 608, the OR circuit 603 sets the value of the match flag to “0”. ”And“ OFF ”. The match flag output from the OR circuit 603 is held by the match flag register 604.

一致アドレス生成部605は、RGB_FIFO記憶処理部601が有する記憶領域608のうち、RGBデータ切り出し部513によって切り出された奇数RGB画素のRGB値と一致するRGB値を記憶した記憶領域608のアドレスである一致アドレスを生成する。そして、一致アドレス生成部605は、生成した一致アドレスを、一致アドレスレジスタ606に保持させる。   The coincidence address generation unit 605 is an address of the storage area 608 that stores RGB values that match the RGB values of the odd RGB pixels cut out by the RGB data cutout unit 513 in the storage area 608 of the RGB_FIFO storage processing unit 601. Generate a match address. The match address generation unit 605 holds the generated match address in the match address register 606.

一致画素判定部514は、RGBデータ切り出し部513によって切り出された偶数RGB画素に対しては処理を行わず、当該偶数RGB画素(RGB画像データ)を、偶数RGB画素レジスタ607に保持させる。   The matching pixel determination unit 514 does not perform processing on the even RGB pixels cut out by the RGB data cutout unit 513, and causes the even RGB pixel register 607 to hold the even RGB pixels (RGB image data).

図5に戻り、色変換処理部520は、一致画素判定部514から、偶数RGB画素(RGB画像データ)を受け取り、偶数RGB画素のRGB値に対し、RGBからCMYへの色空間変換処理およびBG/UCR処理を含む色空間変換処理を行う。これにより、色変換処理部520は、受け取った偶数RGB画素を、RGBA色空間からCMYK色空間の偶数CMYK画素(CMYK画像データ)に変換する。また、色変換処理部520は、一致画素判定部514から、一致フラグおよび一致アドレスを受け取り、受け取った一致フラグおよび一致アドレスを、色復元処理部540に転送する。   Returning to FIG. 5, the color conversion processing unit 520 receives even RGB pixels (RGB image data) from the matching pixel determination unit 514, and performs RGB to CMY color space conversion processing and BG for the RGB values of the even RGB pixels. / Color space conversion processing including UCR processing is performed. Accordingly, the color conversion processing unit 520 converts the received even RGB pixels from the RGBA color space to the even CMYK pixels (CMYK image data) in the CMYK color space. In addition, the color conversion processing unit 520 receives the matching flag and the matching address from the matching pixel determination unit 514, and transfers the received matching flag and matching address to the color restoration processing unit 540.

なお、色変換処理部520は、一致画素判定部514から受け取った一致フラグが、奇数RGB画素のRGB値と記憶領域608に記憶されたRGB値とが一致しなかったことを示している場合(つまり、一致フラグの値が「0」の場合)、一致画素判定部514から奇数RGB画素を受け取り、奇数RGB画素のRGB値に対し、色空間変換処理を行う。そして、色変換処理部520は、奇数RGB画素のRGB値に対して色空間変換処理を行って得られた奇数CMYK画素のCMYK値を、色復元処理部540を介して、階調処理部530に出力する。   Note that the color conversion processing unit 520 indicates that the match flag received from the match pixel determination unit 514 indicates that the RGB value of the odd RGB pixel does not match the RGB value stored in the storage area 608 ( That is, when the value of the match flag is “0”), odd RGB pixels are received from the match pixel determination unit 514, and color space conversion processing is performed on the RGB values of the odd RGB pixels. The color conversion processing unit 520 then converts the CMYK values of the odd CMYK pixels obtained by performing the color space conversion processing on the RGB values of the odd RGB pixels, via the color restoration processing unit 540, to the gradation processing unit 530. Output to.

また、色変換処理部520は、色空間変換の他に、下色除去、色補正等の処理を行う。色変換処理部520は、処理に用いるパラメータを格子点データ記憶部551およびガンマテーブル記憶部552から取得する。   The color conversion processing unit 520 performs processes such as under color removal and color correction in addition to color space conversion. The color conversion processing unit 520 acquires parameters used for processing from the lattice point data storage unit 551 and the gamma table storage unit 552.

なお、本実施の形態では、偶数RGB画素(または奇数RGB画素)のRGB値をCMYK値に色空間変換処理を行う例について説明するが、これに限定するものではなく、例えば、CMY値からCMYK値への色空間変換処理、RGB値からCMY値への色空間変換処理、Lab値からCMYK値への色空間変換処理を行うこともできる。   In the present embodiment, an example in which color space conversion processing is performed on RGB values of even RGB pixels (or odd RGB pixels) to CMYK values will be described. However, the present invention is not limited to this. Color space conversion processing to values, color space conversion processing from RGB values to CMY values, and color space conversion processing from Lab values to CMYK values can also be performed.

格子点データ記憶部551は、画像処理パラメータ読み込み部542から入力される格子点データを記憶する。ガンマテーブル記憶部552は、画像処理パラメータ読み込み部542から入力されるガンマ補正用のパラメータを含むガンマテーブルを記憶する。   The lattice point data storage unit 551 stores the lattice point data input from the image processing parameter reading unit 542. The gamma table storage unit 552 stores a gamma table including parameters for gamma correction input from the image processing parameter reading unit 542.

色復元処理部540は、色変換処理部520を介して、一致フラグおよび一致アドレスを受け取る。そして、色復元処理部540は、一致フラグが、奇数RGB画素のRGB値と記憶領域608に記憶されたRGB値とが一致したことを示している場合(つまり、一致フラグの値が「1」である場合)、記憶領域608に記憶されたRGB値のうち一致アドレスが付された記憶領域608に記憶されたRGB値に色空間変換処理を行った場合のCMYK値を、奇数RGB画素に色空間変換処理を行った場合の奇数CMYK画素の画素値であるCMYK値として選択する。また、色復元処理部540は、色変換処理部520から受け取った偶数CMYK画素のCMYK値(CMYK画像データ)を階調処理部530に転送する。   The color restoration processing unit 540 receives the match flag and the match address via the color conversion processing unit 520. Then, the color restoration processing unit 540 indicates that the match flag indicates that the RGB value of the odd RGB pixel matches the RGB value stored in the storage area 608 (that is, the value of the match flag is “1”). CMYK values when color space conversion processing is performed on the RGB values stored in the storage area 608 assigned with the coincidence address among the RGB values stored in the storage area 608, the color of the odd RGB pixels This is selected as a CMYK value, which is the pixel value of odd-numbered CMYK pixels when a spatial conversion process is performed. In addition, the color restoration processing unit 540 transfers the CMYK values (CMYK image data) of the even CMYK pixels received from the color conversion processing unit 520 to the gradation processing unit 530.

図7は、色復元処理部の具体的な構成を示すブロック図である。色復元処理部540は、CMYK_FIFO記憶処理部701、奇数画素生成部702、奇数CMYK画素レジスタ703、偶数CMYK画素レジスタ704、および一致フラグレジスタ705を備えている。   FIG. 7 is a block diagram illustrating a specific configuration of the color restoration processing unit. The color restoration processing unit 540 includes a CMYK_FIFO storage processing unit 701, an odd pixel generation unit 702, an odd CMYK pixel register 703, an even CMYK pixel register 704, and a match flag register 705.

CMYK_FIFO記憶処理部701(第2記憶部)は、色復元処理部520から受け取った偶数CMYK画素のCMYK値を、偶数CMYK画素レジスタ704に保持させる。   The CMYK_FIFO storage processing unit 701 (second storage unit) causes the even CMYK pixel register 704 to hold the CMYK values of the even CMYK pixels received from the color restoration processing unit 520.

さらに、CMYK_FIFO記憶処理部701は、色復元処理部520から受け取った偶数CMYK画素のCMYK値および後述する奇数画素生成部702により選択した奇数CMYK画素のCMYK値を、色空間変換処理を行った順にFIFO形式で記憶する。本実施の形態では、CMYK_FIFO記憶処理部701は、「0」から「31」までのアドレスが付された記憶領域(FIFO)706を有し、色変換処理部520から受け取った偶数CMYK画素のCMYK値を、偶数のアドレスが付された記憶領域706に記憶させ、選択した奇数CMYK画素のCMYK値を、奇数のアドレスが付された記憶領域706に記憶させる。そして、CMYK_FIFO記憶処理部701は、色復元処理部520から偶数CMYK画素を受け取る毎に(または、奇数CMYK画素のCMYK値が選択される毎に)、偶数CMYK画素のCMYK値を最も低い偶数のアドレス:「0」が付された記憶領域706から順に最も高い偶数のアドレス:「30」が付された記憶領域706に向かってシフトさせながら記憶する。また、CMYK_FIFO記憶処理部701は、色復元処理部520から偶数CMYK画素を受け取る毎に(または、奇数CMYK画素のCMYK値が選択される毎に)、奇数CMYK画素のCMYK値を、最も低い奇数のアドレス:「1」が付された記憶領域706から順に最も高い奇数のアドレス:「31」が付された記憶領域706に向かってシフトさせながら記憶する。   Further, the CMYK_FIFO storage processing unit 701 converts the CMYK values of the even CMYK pixels received from the color restoration processing unit 520 and the CMYK values of the odd CMYK pixels selected by the odd pixel generation unit 702, which will be described later, in the order in which the color space conversion processing is performed. Store in FIFO format. In the present embodiment, the CMYK_FIFO storage processing unit 701 has a storage area (FIFO) 706 to which addresses from “0” to “31” are attached, and CMYK of even CMYK pixels received from the color conversion processing unit 520. The value is stored in the storage area 706 to which the even-numbered address is assigned, and the CMYK value of the selected odd-numbered CMYK pixel is stored in the storage area 706 to which the odd-numbered address is assigned. The CMYK_FIFO storage processing unit 701 receives the even CMYK pixel from the color restoration processing unit 520 (or every time the CMYK value of the odd CMYK pixel is selected), and sets the CMYK value of the even CMYK pixel to the lowest even CMYK value. The data is stored while being shifted from the storage area 706 to which the address: “0” is assigned in order toward the storage area 706 to which the highest even-numbered address: “30” is assigned. Further, every time the CMYK_FIFO storage processing unit 701 receives even CMYK pixels from the color restoration processing unit 520 (or every time a CMYK value of odd CMYK pixels is selected), the CMYK value of odd CMYK pixels is set to the lowest odd number. The addresses are sequentially shifted from the storage area 706 assigned “1” to the storage area 706 assigned the highest odd address: “31”.

本実施の形態では、RGB_FIFO記憶処理部601に記憶された偶数RGB画素および奇数RGB画素のRGB値と、当該RGB値に色空間変換処理を行った場合の偶数CMYK画素および奇数CMYK画素のCMYK値と、を同じアドレスが付された記憶領域608,706に記憶させている。これにより、RGB_FIFO記憶処理部601に記憶された偶数RGB画素および奇数RGB画素のRGB値と、CMYK_FIFO記憶処理部701に記憶された偶数CMYK画素および奇数CMYK画素のCMYK値とを対応付けて記憶している。   In the present embodiment, the RGB values of even RGB pixels and odd RGB pixels stored in the RGB_FIFO storage processing unit 601 and the CMYK values of even CMYK pixels and odd CMYK pixels when color space conversion processing is performed on the RGB values. Are stored in storage areas 608 and 706 having the same address. Thereby, the RGB values of the even RGB pixels and the odd RGB pixels stored in the RGB_FIFO storage processing unit 601 are stored in association with the CMYK values of the even CMYK pixels and the odd CMYK pixels stored in the CMYK_FIFO storage processing unit 701. ing.

奇数画素生成部702は、色復元処理部540から受け取った一致アドレスと同じアドレスが付された記憶領域706から、CMYK値を読み出し、読み出したCMYK値を、奇数RGB画素に色空間変換処理を行った場合の奇数CMYK画素のCMYK値として生成(選択)する。そして、奇数画素生成部702は、選択したCMYK値を奇数CMYK画素レジスタ703に保持させる。   The odd pixel generation unit 702 reads the CMYK value from the storage area 706 assigned the same address as the matching address received from the color restoration processing unit 540, and performs a color space conversion process on the read CMYK value to the odd RGB pixel. Generated (selected) as CMYK values of odd CMYK pixels. Then, the odd pixel generation unit 702 holds the selected CMYK value in the odd CMYK pixel register 703.

色復元処理部540は、色変換処理部520から受け取った一致フラグ、一致フラグレジスタ705に保持させる。   The color restoration processing unit 540 holds the match flag and match flag register 705 received from the color conversion processing unit 520.

図5に戻り、階調処理部530は、色復元処理部540から受け取った一致フラグの値が「0」である場合、色変換処理部520から偶数CMYK画素のCMYK値(CMYK0画像データ)および奇数CMYK画素のCMYK値(CMYK1画像データ)を受け取るとともに、奇数閾値マトリックス記憶部562および偶数閾値マトリックス記憶部563から閾値マトリックスを読み込む。そして、階調処理部530は、受け取った偶数CMYK画素のCMYK値および奇数CMYK画素のCMYK値と、閾値マトリックスに含まれる所定の閾値とを比較することにより、ハーフトーン処理を行う。   Returning to FIG. 5, when the value of the match flag received from the color restoration processing unit 540 is “0”, the gradation processing unit 530 receives the CMYK value (CMYK0 image data) of the even CMYK pixels from the color conversion processing unit 520 and The CMYK values (CMYK1 image data) of the odd CMYK pixels are received, and the threshold matrix is read from the odd threshold matrix storage unit 562 and the even threshold matrix storage unit 563. Then, the gradation processing unit 530 performs halftone processing by comparing the received CMYK values of even CMYK pixels and CMYK values of odd CMYK pixels with predetermined threshold values included in the threshold value matrix.

一方、階調処理部530は、色復元処理部540から受け取った一致フラグの値が「1」である場合、色変換処理部520から偶数CMYK画素のCMYK値を受け取り、色復元処理部540において選択した奇数CMYK画素のCMYK値を受け取る。さらに、階調処理部530は、奇数閾値マトリックス記憶部562および偶数閾値マトリックス記憶部563から、閾値マトリックスを読み込む。そして、階調処理部530は、色変換処理部520から受け取った偶数CMYK画素のCMYK値および色復元処理部540において選択した奇数CMYK画素のCMYK値と、閾値マトリックスに含まれる所定の閾値とを比較することにより、ハーフトーン処理を行う。   On the other hand, when the value of the match flag received from the color restoration processing unit 540 is “1”, the gradation processing unit 530 receives the CMYK value of even CMYK pixels from the color conversion processing unit 520, and the color restoration processing unit 540 The CMYK value of the selected odd CMYK pixel is received. Further, the gradation processing unit 530 reads the threshold matrix from the odd threshold matrix storage unit 562 and the even threshold matrix storage unit 563. Then, the gradation processing unit 530 receives the CMYK value of the even CMYK pixel received from the color conversion processing unit 520, the CMYK value of the odd CMYK pixel selected by the color restoration processing unit 540, and a predetermined threshold value included in the threshold value matrix. A halftone process is performed by comparison.

そして、階調処理部530は、ハーフトーン処理後の複数の画素データ(偶数CMYK画素および奇数CMYK画素)である階調処理後ワードデータを、メインメモリ60のワード単位に出力する。なお、奇数閾値マトリックス記憶部562および偶数閾値マトリックス記憶部563は、それぞれ、画素データの水平ラインの位置に基づいて、奇数CMYK画素と偶数CMYK画素とに対応するハーフトーン処理のための閾値マトリックスを記憶する。   Then, the gradation processing unit 530 outputs gradation-processed word data, which is a plurality of pixel data (even CMYK pixels and odd CMYK pixels) after halftone processing, in units of words in the main memory 60. Note that the odd threshold matrix storage unit 562 and the even threshold matrix storage unit 563 respectively generate threshold matrices for halftone processing corresponding to odd CMYK pixels and even CMYK pixels based on the position of the horizontal line of the pixel data. Remember.

図8は、階調処理部の具体的な構成を示すブロック図である。階調処理部530は、奇数閾値マトリックス記憶部562および偶数閾値マトリックス記憶部563に接続される。階調処理部530は、閾値マトリックスアドレス生成部801、CMYK比較部802,803、固定長データ生成部804を有する。   FIG. 8 is a block diagram showing a specific configuration of the gradation processing unit. The gradation processing unit 530 is connected to the odd threshold matrix storage unit 562 and the even threshold matrix storage unit 563. The gradation processing unit 530 includes a threshold matrix address generation unit 801, CMYK comparison units 802 and 803, and a fixed length data generation unit 804.

閾値マトリックスアドレス生成部801は、奇数閾値マトリックス記憶部562および偶数閾値マトリックス記憶部563に格納されている閾値テーブル(閾値マトリックス)のうち、処理する画素(偶数CMYK画素および奇数CMYK画素)に対応する閾値のアドレスを生成する。   The threshold matrix address generation unit 801 corresponds to pixels to be processed (even CMYK pixels and odd CMYK pixels) in the threshold table (threshold matrix) stored in the odd threshold matrix storage unit 562 and the even threshold matrix storage unit 563. A threshold address is generated.

CMYK比較部803は、奇数閾値マトリックス記憶部562から取得した奇数位置の画素に対する閾値と、入力された奇数CMYK画素の画素値であるCMYK値との比較を行い、比較結果を出力する。これにより、ハーフトーンに対応する画素の値が得られる。   The CMYK comparison unit 803 compares the threshold value for the pixel at the odd position acquired from the odd threshold matrix storage unit 562 with the CMYK value that is the pixel value of the input odd CMYK pixel, and outputs the comparison result. Thereby, the pixel value corresponding to the halftone is obtained.

同様に、CMYK比較部802は、偶数閾値マトリックス記憶部563から取得した偶数位置の画素に対する閾値と、入力された偶数CMYK画素の画素値であるCMYK値との比較を行い、比較結果を出力する。これにより、ハーフトーンに対応する画素の画素値が得られる。   Similarly, the CMYK comparison unit 802 compares the threshold value for the pixel at the even position acquired from the even threshold value matrix storage unit 563 with the CMYK value that is the pixel value of the input even CMYK pixel, and outputs the comparison result. . Thereby, the pixel value of the pixel corresponding to a halftone is obtained.

固定長データ生成部804は、CMYK比較部802,803から出力される奇数CMYK画素のCMYK値(奇数CMYK比較結果)および偶数CMYK画素のCMYK値(偶数CMYK比較結果)を、32bitの固定長に変換する。   The fixed length data generation unit 804 converts the CMYK values of the odd CMYK pixels (odd CMYK comparison results) and the CMYK values of the even CMYK pixels (even CMYK comparison results) output from the CMYK comparison units 802 and 803 to a fixed length of 32 bits. Convert.

図9および図10は、画像データの構成例を示す図である。図9は、バンドデータの構成例を示す図であって、バンドの幅方向に6774個の画素が並び、バンドの高さ方向に256個のラインが並んでいる。図9では、幅方向のアドレスが奇数の画素が「奇数画素」(奇数RGB画素)であり、幅方向のアドレスが偶数の画素が「偶数画素」(偶数RGB画素)である。   9 and 10 are diagrams showing examples of the structure of image data. FIG. 9 is a diagram illustrating a configuration example of band data, in which 6774 pixels are arranged in the band width direction, and 256 lines are arranged in the band height direction. In FIG. 9, pixels with an odd address in the width direction are “odd pixels” (odd RGB pixels), and pixels with an even address in the width direction are “even pixels” (even RGB pixels).

図10は、メインメモリ60の1ワード分のデータの例を示す図である。図10では、2画素分、すなわち、64bitのデータの例が示されている。1ワード分のデータは、偶数画素と奇数画素との組である。そこで、ワード単位のRGBバンド画像読み込み部512は、1ワード分のデータを読み込むことにより、2画素分の画素データを一のアクセスにより読み込むことができる。   FIG. 10 is a diagram illustrating an example of data for one word in the main memory 60. FIG. 10 shows an example of data for two pixels, that is, 64 bits. One word of data is a set of even and odd pixels. Therefore, the RGB band image reading unit 512 in units of words can read pixel data for two pixels by one access by reading data for one word.

図11は、閾値マトリックスの例を説明する図である。図11(a)は、バンドデータの画素を説明する図である。図中、ラインのアドレスが「0」、水平ライン方向のアドレスが「1」の画素を「0−1」と表記する。   FIG. 11 is a diagram illustrating an example of a threshold matrix. FIG. 11A is a diagram illustrating the pixels of the band data. In the figure, a pixel whose line address is “0” and whose horizontal line direction address is “1” is expressed as “0-1”.

図11(b)は、縦横4画素分に対応する閾値マトリックスを説明する図である。縦横4画素分の閾値マトリックスを「4*4マトリックス」と表記する。図11(c)は、図11(b)の閾値マトリックスに対応する、奇数画素の閾値テーブルと偶数画素の閾値テーブルとを示す図である。   FIG. 11B is a diagram illustrating a threshold matrix corresponding to four pixels in the vertical and horizontal directions. A threshold matrix for four pixels in the vertical and horizontal directions is expressed as “4 * 4 matrix”. FIG. 11C is a diagram showing an odd pixel threshold table and an even pixel threshold table corresponding to the threshold matrix of FIG.

図11(c)の偶数画素の閾値マトリックスは、図11(b)のマトリックスの要素のうち、水平方向のアドレスが偶数の画素に対応する閾値が含まれている。また、図11(c)の奇数画素の閾値マトリックスは、図11(b)のマトリックスの要素のうち、水平方向のアドレスが奇数の画素に対応する閾値が含まれている。   The threshold value matrix of the even-numbered pixels in FIG. 11C includes threshold values corresponding to the pixels whose horizontal addresses are even among the elements of the matrix in FIG. In addition, the threshold value matrix for odd pixels in FIG. 11C includes threshold values corresponding to pixels whose addresses in the horizontal direction are odd among the elements of the matrix in FIG.

図5に戻り、ハーフトーンパラメータ記憶部561は、階調処理部530がハーフトーン処理する際に、メインメモリ60から読み出されたパラメータを記憶する。   Returning to FIG. 5, the halftone parameter storage unit 561 stores parameters read from the main memory 60 when the gradation processing unit 530 performs halftone processing.

画像処理後画像バッファ部583は、階調処理部530によりハーフトーン処理が行われた複数の画素データのバースト転送を効率良く行うために、階調処理部530によりハーフトーン処理が行われた画素データを保持する。   The post-image processing image buffer unit 583 is a pixel for which halftone processing has been performed by the gradation processing unit 530 in order to efficiently perform burst transfer of a plurality of pixel data subjected to halftone processing by the gradation processing unit 530. Retain data.

画像処理後画像書き込み部582は、画像処理後画像バッファ部583に一時的に格納されているハーフトーン処理が行われた複数の画素データを、バスアービタI/F590を介して、メインメモリ60の階調処理後ページメモリ格納領域に書き込む。その際、画素データのバースト転送を効率良く行うために、メインメモリ60において連続したアドレスに書き込まれる複数の画素データを転送するものとする。   The post-image processing image writing unit 582 stores the plurality of pieces of pixel data subjected to halftone processing temporarily stored in the post-image processing image buffer unit 583 through the bus arbiter I / F 590. Write to the page memory storage area after adjustment processing. At this time, in order to efficiently perform burst transfer of pixel data, a plurality of pieces of pixel data written at consecutive addresses in the main memory 60 are transferred.

画像処理後画像アドレス生成部581は、画像処理後画像書き込み部582が画素データをメインメモリ60に格納させる際の、アドレスを生成する。本実施の形態では、ワード単位のRGB画像読み込み部512が水平ライン単位でバンドデータを読み込むため、画像処理後画像アドレス生成部581は、画像処理後画像バッファ部583により書き込むハーフトーン処理後の画素データについても、水平ライン単位でアドレスを生成する。   The post-image processing image address generation unit 581 generates an address when the post-image processing image writing unit 582 stores the pixel data in the main memory 60. In this embodiment, since the RGB image reading unit 512 in units of words reads band data in units of horizontal lines, the post-image processing image address generation unit 581 uses the post-image processing image buffer unit 583 to perform post-halftone processing pixels. For data, an address is generated in units of horizontal lines.

図12は、色空間変換処理およびハーフトーン処理の流れを示すフローチャートである。図12では、2画素分のバンドデータに対し、色空間変換処理とハーフトーン処理とが行われる。まず、ワード単位のRGBバンド画像読み込み部512が、RGB色空間によるバンドデータのうち64ビットの2画素分のバンドデータを読み込む(ステップS101)。   FIG. 12 is a flowchart showing the flow of color space conversion processing and halftone processing. In FIG. 12, color space conversion processing and halftone processing are performed on band data for two pixels. First, the RGB band image reading unit 512 in units of words reads band data for two pixels of 64 bits out of band data in the RGB color space (step S101).

次いで、RGBデータ切り出し部513が、読み込んだ2画素分のバンドデータを、奇数RGB画素および偶数RGB画素に切り分ける(ステップS102)。次に、画素値比較部602が、切り分けられた奇数RGB画素のRGB値を、記憶領域608(FIFO)に記憶された全てのRGB値と比較するとともに、一致アドレス生成部605が、当該切り分けられた奇数RGB画素のRGB値と一致したRGB値を記憶している記憶領域608のアドレスである一致アドレスを求める(ステップS103)。   Next, the RGB data cutout unit 513 cuts the read band data for two pixels into an odd RGB pixel and an even RGB pixel (step S102). Next, the pixel value comparison unit 602 compares the RGB values of the separated odd RGB pixels with all the RGB values stored in the storage area 608 (FIFO), and the match address generation unit 605 performs the separation. The coincidence address, which is the address of the storage area 608 storing the RGB values that coincide with the RGB values of the odd RGB pixels, is obtained (step S103).

ここで、切り分けられた奇数RGB画素と同じRGB値が記憶領域608に記憶されていた場合(ステップS104:Yes)、色変換処理部520が、偶数RGB画素の色空間変換処理(RGBからCMYK)を行うとともに、色復元処理部540が、記憶領域706に記憶されたCMYK値のうち、一致アドレス生成部605が求めた一致アドレスの記憶領域706に記憶されたCMYK値を、奇数RGB画素に色空間変換処理を行った場合の奇数CMYK画素のCMYK値として選択する(ステップS105)。   Here, when the same RGB value as that of the separated odd RGB pixel is stored in the storage area 608 (step S104: Yes), the color conversion processing unit 520 performs the color space conversion process (RGB to CMYK) of the even RGB pixel. In addition, the color restoration processing unit 540 uses the CMYK values stored in the storage area 706 of the match address obtained by the match address generation unit 605 among the CMYK values stored in the storage area 706 to color the odd RGB pixels. The CMYK value of the odd CMYK pixel when the space conversion process is performed is selected (step S105).

さらに、RGB_FIFO記憶処理部601は、切り分けられた奇数RGB画素のRGB値を、アドレス:「1」の記憶領域608に記憶させるとともに、既に記憶されている奇数RGB画素のRGB値を一つ高い奇数のアドレスの記憶領域608にシフトさせる(ステップS106)。また、RGB_FIFO記憶処理部601は、切り分けられた偶数RGB画素のRGB値を、アドレス:「0」の記憶領域608に記憶させるとともに、既に記憶されている偶数RGB画素のRGB値を一つ高い偶数のアドレスの記憶領域608にシフトさせる(ステップS106)。   Further, the RGB_FIFO storage processing unit 601 stores the separated RGB values of the odd RGB pixels in the storage area 608 of the address “1”, and increases the already stored RGB values of the odd RGB pixels by one higher odd number. Shift to the storage area 608 of the address (step S106). In addition, the RGB_FIFO storage processing unit 601 stores the RGB values of the separated even RGB pixels in the storage area 608 of the address: “0”, and increases the already stored RGB values of the even RGB pixels by one higher Shift to the storage area 608 of the address (step S106).

次に、階調処理部530は、色空間変換処理後のCMYK0画像データ(偶数CMYK画素のCMYK値)に対して、閾値マトリックスを用いてハーフトーン処理(階調処理)を行って、偶数CMYK画素の階調処理後ワードデータを生成する(ステップS107)。さらに、階調処理部530は、色復元処理部540により選択された奇数CMYK画素のCMYK値(つまり、一致アドレスが示す記憶領域706に記憶されたCMYK値)に対して、閾値マトリックスを用いてハーフトーン処理(階調処理)を行って、奇数CMYK画素の階調処理後ワードデータを生成する(ステップS108)。   Next, the gradation processing unit 530 performs halftone processing (gradation processing) on the CMYK0 image data (CMYK values of even CMYK pixels) after the color space conversion processing using a threshold matrix, and thereby performs even CMYK. Word data is generated after pixel gradation processing (step S107). Further, the gradation processing unit 530 uses a threshold matrix for the CMYK values of the odd CMYK pixels selected by the color restoration processing unit 540 (that is, the CMYK values stored in the storage area 706 indicated by the coincidence address). Halftone processing (gradation processing) is performed to generate post-gradation word data for odd CMYK pixels (step S108).

さらに、CMYK_FIFO記憶処理部701は、色復元処理部540により選択した奇数CMYK画素のCMYK値を、アドレス:「1」の記憶領域706に記憶させるとともに、既に記憶されている奇数CMYK画素のCMYK値を一つ高い奇数のアドレスの記憶領域706にシフトさせる(ステップS109)。また、CMYK_FIFO記憶処理部701は、色空間変換処理後の偶数CMYK画素のCMYK値を、アドレス:「0」の記憶領域706に記憶させるとともに、既に記憶されている偶数CMYK画素のCMYK値を一つ高い偶数のアドレスの記憶領域706にシフトさせる(ステップS109)。   Further, the CMYK_FIFO storage processing unit 701 stores the CMYK value of the odd CMYK pixel selected by the color restoration processing unit 540 in the storage area 706 of the address: “1” and also stores the CMYK value of the odd CMYK pixel already stored. Is shifted to the storage area 706 of the odd address which is one higher (step S109). Further, the CMYK_FIFO storage processing unit 701 stores the CMYK values of the even CMYK pixels after the color space conversion processing in the storage area 706 of the address: “0”, and sets the already stored CMYK values of the even CMYK pixels. The storage area 706 of the next higher even address is shifted (step S109).

一方、切り分けられた奇数RGB画素と同じRGB値が記憶領域608に記憶されていなかった場合(ステップS104:No)、色変換処理部520は、偶数RGB画素の色空間変換処理(RGBからCMYK)を行う(ステップS110)。   On the other hand, if the same RGB value as that of the separated odd RGB pixel is not stored in the storage area 608 (step S104: No), the color conversion processing unit 520 performs color space conversion processing (RGB to CMYK) for even RGB pixels. Is performed (step S110).

さらに、RGB_FIFO記憶処理部601は、切り分けられた奇数RGB画素のRGB値を、アドレス:「1」の記憶領域608に記憶させるとともに、既に記憶されている奇数RGB画素のRGB値を一つ高い奇数のアドレスの記憶領域608にシフトさせる(ステップS111)。また、RGB_FIFO記憶処理部601は、切り分けられた偶数RGB画素のRGB値を、アドレス:「0」の記憶領域608に記憶させるとともに、既に記憶されている偶数RGB画素のRGB値を一つ高い偶数のアドレスの記憶領域608にシフトさせる(ステップS111)。   Further, the RGB_FIFO storage processing unit 601 stores the separated RGB values of the odd RGB pixels in the storage area 608 of the address “1”, and increases the already stored RGB values of the odd RGB pixels by one higher odd number. To the address storage area 608 (step S111). In addition, the RGB_FIFO storage processing unit 601 stores the RGB values of the separated even RGB pixels in the storage area 608 of the address: “0”, and increases the already stored RGB values of the even RGB pixels by one higher To the address storage area 608 (step S111).

次に、階調処理部530は、色空間変換処理後のCMYK0画像データ(偶数CMYK画素のCMYK値)に対して、閾値マトリックスを用いてハーフトーン処理(階調処理)を行って、偶数CMYK画素の階調処理後ワードデータを生成する(ステップS112)。   Next, the gradation processing unit 530 performs halftone processing (gradation processing) on the CMYK0 image data (CMYK values of even CMYK pixels) after the color space conversion processing using a threshold matrix, and thereby performs even CMYK. Word data is generated after pixel gradation processing (step S112).

次いで、色変換処理部520は、奇数RGB画素の色空間変換処理(RGBからCMYK)を行う(ステップS113)。次に、階調処理部530は、色空間変換処理後のCMYK1画像データ(奇数CMYK画素のCMYK値)に対して、閾値マトリックスを用いてハーフトーン処理(階調処理)を行って、奇数CMYK画素の階調処理後ワードデータを生成する(ステップS114)。   Next, the color conversion processing unit 520 performs color space conversion processing (RGB to CMYK) for odd RGB pixels (step S113). Next, the gradation processing unit 530 performs halftone processing (gradation processing) on the CMYK1 image data (CMYK values of the odd CMYK pixels) after the color space conversion processing using the threshold value matrix, and generates the odd CMYK. Word data is generated after pixel gradation processing (step S114).

その後、CMYK_FIFO記憶処理部701は、色空間変換処理後の奇数CMYK画素のCMYK値を、アドレス:「1」の記憶領域706に記憶させるとともに、既に記憶されている奇数CMYK画素のCMYK値を一つ高い奇数のアドレスの記憶領域706にシフトさせる(ステップS115)。また、CMYK_FIFO記憶処理部701は、色空間変換処理後の偶数CMYK画素のCMYK値を、アドレス:「0」の記憶領域706に記憶させるとともに、既に記憶されている偶数CMYK画素のCMYK値を一つ高い偶数のアドレスの記憶領域706にシフトさせる(ステップS115)。   Thereafter, the CMYK_FIFO storage processing unit 701 stores the CMYK values of the odd CMYK pixels after the color space conversion processing in the storage area 706 of the address: “1”, and sets the CMYK values of the odd CMYK pixels already stored. A shift is made to the storage area 706 of the next higher odd address (step S115). Further, the CMYK_FIFO storage processing unit 701 stores the CMYK values of the even CMYK pixels after the color space conversion processing in the storage area 706 of the address: “0”, and sets the already stored CMYK values of the even CMYK pixels. A shift is made to the storage area 706 of the next higher even address (step S115).

そして、画像処理後画像書き込み部582が、奇数CMYK画素および偶数CMYK画素の階調処理後ワードデータをメインメモリ60にワード単位で記憶させる(ステップS116)。画像処理部500は、ステップS103〜ステップS116までの処理を、1バンドのバンドデータに対して行われるまで繰り返す(ステップS117:No)。そして、1バンド分のバンドデータに対する処理が終了すると(ステップS117:Yes)、画像処理部500は、処理を終了する。   Then, the post-image processing image writing unit 582 stores the post-gradation word data of odd-numbered CMYK pixels and even-numbered CMYK pixels in the main memory 60 in units of words (step S116). The image processing unit 500 repeats the processing from step S103 to step S116 until it is performed on the band data of one band (step S117: No). When the process for the band data for one band is completed (step S117: Yes), the image processing unit 500 ends the process.

図13は、階調処理部による階調処理を説明するフローチャートである。図13では、入力された画像データ(CMYK0画像データおよびCMYK1画像データ)に対し、例えば、図11(c)の閾値マトリックスが適用される処理が行われる。   FIG. 13 is a flowchart for explaining gradation processing by the gradation processing unit. In FIG. 13, for example, the threshold matrix shown in FIG. 11C is applied to the input image data (CMYK0 image data and CMYK1 image data).

階調処理部530は、閾値マトリックスに対応する縦方向のアドレスを計算する(ステップS1301)。より詳細には、図11(b)に示す4*4マトリックスが用いられる場合には、縦方向のアドレスは、0ないし3の何れか一の整数となる。ここでは、閾値マトリックスに対応する縦方向のアドレスを、Yディザアドレス、横方向のアドレスを、Xディザアドレスという。   The gradation processing unit 530 calculates a vertical address corresponding to the threshold matrix (step S1301). More specifically, when the 4 * 4 matrix shown in FIG. 11B is used, the vertical address is an integer from 0 to 3. Here, the vertical address corresponding to the threshold matrix is called a Y dither address, and the horizontal address is called an X dither address.

そこで、Yディザアドレスは、処理している水平ラインのアドレス、すなわち、画像データ中のY座標を、Y方向のディザサイズで除した剰余となる。なお、ディザサイズとは、閾値マトリックスのサイズである。   Therefore, the Y dither address is a remainder obtained by dividing the address of the horizontal line being processed, that is, the Y coordinate in the image data by the dither size in the Y direction. The dither size is the size of the threshold matrix.

次に、階調処理部530は、Xディザアドレスを「0」に初期化する(ステップS1302)。Xディザアドレスは、閾値マトリックスの横方向のアドレスに対応する。   Next, the gradation processing unit 530 initializes the X dither address to “0” (step S1302). The X dither address corresponds to the horizontal address of the threshold matrix.

次いで、階調処理部530は、色変換処理部520および色復元処理部540から、CMYK1画像データとCMYK0画像データを受信する(ステップS1303)。そして、閾値マトリックスアドレス生成部801が、閾値マトリックスのアドレスを生成する(ステップS1304)。ここでは、次式(1)により、アドレスが計算される。
閾値マトリックスのアドレス=(Yディザアドレス)*(X方向のディザサイズ)+(Xディザアドレス)・・・(1)
Next, the gradation processing unit 530 receives CMYK1 image data and CMYK0 image data from the color conversion processing unit 520 and the color restoration processing unit 540 (step S1303). Then, the threshold matrix address generation unit 801 generates a threshold matrix address (step S1304). Here, the address is calculated by the following equation (1).
Threshold matrix address = (Y dither address) * (X dither size) + (X dither address) (1)

階調処理部530は、ステップS1304で生成された閾値マトリックスのアドレスに基づいて、奇数閾値マトリックス記憶部562および偶数閾値マトリックス記憶部563から閾値マトリックスである奇数閾値データと偶数閾値データとを読み込む(ステップS1305)。   The gradation processing unit 530 reads the odd threshold data and the even threshold data as the threshold matrix from the odd threshold matrix storage unit 562 and the even threshold matrix storage unit 563 based on the threshold matrix address generated in step S1304 ( Step S1305).

CMYK比較部802が、入力された偶数CMYK画素のCMYK0画像データと、偶数閾値データとの比較を行い、偶数CMYK比較結果を生成する(ステップS1306)。   The CMYK comparison unit 802 compares the input CMYK0 image data of the even CMYK pixels with the even threshold data, and generates an even CMYK comparison result (step S1306).

さらに、CMYK比較部803は、入力された偶数CMYK画素のCMYK値(色)と、入力された奇数CMYK画素のCMYK値(色)とが同一色であるか否かを判断する(ステップS1307)。そして、偶数CMYK画素の色と奇数CMYK画素の色とが同一色でない場合(ステップS1307:No)、CMYK比較部803は、入力された奇数CMYK画素のCMYK1画像データを受け取るとともに(ステップS1308)、入力された奇数CMYK画素のCMYK1画像データと、奇数閾値データとの比較を行い、奇数CMYK比較結果を生成する(ステップS1309)。   Further, the CMYK comparison unit 803 determines whether or not the input CMYK value (color) of the even CMYK pixel and the input odd CMYK pixel are the same color (step S1307). . If the color of the even CMYK pixel and the color of the odd CMYK pixel are not the same color (step S1307: No), the CMYK comparison unit 803 receives the input CMYK1 image data of the odd CMYK pixel (step S1308). The input CMYK1 image data of the odd CMYK pixels is compared with the odd threshold data to generate an odd CMYK comparison result (step S1309).

なお、偶数CMYK画素の色と奇数CMYK画素の色とが同一色であった場合(ステップS1307:Yes)、CMYK比較部803は、CMYK比較部802により生成された偶数CMYK比較結果を、奇数CMYK比較結果とする。これにより、偶数CMYK画素の色と奇数CMYK画素の色とが同一色であった場合に、奇数CMYK画素に対してハーフトーン処理を行う必要がなくなり、偶数CMYK画素と奇数CMYK画素に対するハーフトーン処理を並行して行うことができるので、階調処理部530における階調処理を高速化することができる。   When the color of the even CMYK pixel and the color of the odd CMYK pixel are the same color (step S1307: Yes), the CMYK comparison unit 803 converts the even CMYK comparison result generated by the CMYK comparison unit 802 into the odd CMYK comparison result. The comparison result. Accordingly, when the color of the even CMYK pixel and the color of the odd CMYK pixel are the same color, it is not necessary to perform the halftone process on the odd CMYK pixel, and the halftone process on the even CMYK pixel and the odd CMYK pixel. Therefore, the gradation processing in the gradation processing unit 530 can be speeded up.

次いで、固定長データ生成部804が、ステップS1306で生成された偶数CMYK比較結果、およびステップS1306又はステップS1309で生成された奇数CMYK比較結果を固定長データに追加させる(ステップS1310)。   Next, the fixed length data generation unit 804 adds the even CMYK comparison result generated in step S1306 and the odd CMYK comparison result generated in step S1306 or step S1309 to the fixed length data (step S1310).

さらに、固定長データ生成部804が、ステップS1310でCMYK比較結果が追加された固定長データが、所定の固定長であるか否かを判断する(ステップS1311)。所定の固定長である場合には(ステップS1311:Yes)、固定長データ生成部804は、固定長のデータを出力する(ステップS1312)。固定長のデータのビット長は、例えば、32ビットである。   Further, the fixed length data generation unit 804 determines whether or not the fixed length data to which the CMYK comparison result is added in step S1310 has a predetermined fixed length (step S1311). When it is a predetermined fixed length (step S1311: Yes), the fixed length data generation unit 804 outputs fixed length data (step S1312). The bit length of the fixed length data is, for example, 32 bits.

また、所定の固定長でない場合(ステップS1311:No)または固定長のデータが出力した場合、階調処理部530は、Xディザアドレスの値を1インクリメントする(ステップS1313)。そして、階調処理部530は、Xディザアドレスが、X方向のディザサイズより小さいか否かを判断する(ステップS1314)。XディザアドレスがX方向のディザサイズより小さくない場合には(ステップS1314:No)、階調処理部530は、Xディザアドレスの値を0に設定する(ステップS1315)。一方、XディザアドレスがX方向のディザサイズより小さい場合(ステップS1314:Yes)、階調処理部530は、水平ライン分の処理が終了したか否かの判断がなされる(ステップS1316)。終了している場合には(ステップS1316:Yes)、階調処理部530は、1バンド分のバンドデータの処理が終了したか否かの判断がなされる(ステップS1317)。終了している場合には(ステップS1317:Yes)、処理を終了する。終了していない場合には(ステップS1317:No)、ステップS1301に戻って処理を繰り返す。   If the predetermined fixed length is not reached (step S1311: No) or if fixed length data is output, the gradation processing unit 530 increments the value of the X dither address by 1 (step S1313). The gradation processing unit 530 determines whether or not the X dither address is smaller than the dither size in the X direction (step S1314). When the X dither address is not smaller than the dither size in the X direction (step S1314: NO), the gradation processing unit 530 sets the value of the X dither address to 0 (step S1315). On the other hand, when the X dither address is smaller than the dither size in the X direction (step S1314: Yes), the gradation processing unit 530 determines whether or not the processing for the horizontal line has been completed (step S1316). When the processing has been completed (step S1316: Yes), the gradation processing unit 530 determines whether or not processing of band data for one band has been completed (step S1317). If it has been completed (step S1317: Yes), the process is terminated. If not completed (step S1317: NO), the process returns to step S1301 and the process is repeated.

このように本実施の形態にかかる多色画像形成装置によれば、以前に色空間変換処理を行った画素の画素値であるRGB値を記憶するRGB_FIFO記憶処理部と、記憶したRGB値に対して色空間変換処理を行った場合の画素の画素値であるCMYK値を記憶するCMYK_FIFO記憶処理部と、を有し、バンドデータから切り出した画素のRGB値が、RGB_FIFO記憶処理部に記憶されたRGB値と一致するか否かを判定し、バンドデータから切り出した画素のRGB値のうちRGB_FIFO記憶処理部に記憶されたRGB値と一致しないRGB値に色空間変換処理を行い、CMYK_FIFO記憶処理部に記憶されたCMYK値のうち、バンドデータから切り出した画素のRGB値と一致したRGB値に対して色空間変換処理を行った場合のCMYK値を、バンドデータから切り出した画素に色空間変換処理を行った場合のCMYK値として選択することにより、バンドデータから切り出した画素のRGB値が、RGB_FIFO記憶処理部に記憶されたRGB値と一致した場合に、当該バンドデータから切り出した画素のRGB値に対する色空間変換処理を行う必要がなくなるので、画像処理を高速化することができる。   As described above, according to the multicolor image forming apparatus according to the present embodiment, the RGB_FIFO storage processing unit that stores the RGB value that is the pixel value of the pixel that has been previously subjected to the color space conversion process, and the stored RGB value A CMYK_FIFO storage processing unit that stores CMYK values that are pixel values of pixels when color space conversion processing is performed, and RGB values of pixels cut out from the band data are stored in the RGB_FIFO storage processing unit It is determined whether or not it matches the RGB value, and color space conversion processing is performed on the RGB value that does not match the RGB value stored in the RGB_FIFO storage processing unit among the RGB values of the pixels cut out from the band data, and the CMYK_FIFO storage processing unit Color space conversion for RGB values that match the RGB values of the pixels cut out from the band data among the CMYK values stored in By selecting the CMYK value when the processing is performed as the CMYK value when the color space conversion process is performed on the pixel cut out from the band data, the RGB value of the pixel cut out from the band data is stored in the RGB_FIFO storage processing unit. When the stored RGB values match, it is not necessary to perform color space conversion processing on the RGB values of the pixels cut out from the band data, so that the image processing can be speeded up.

なお、本実施の形態の多色画像形成装置で実行されるプログラムは、ROM70等に予め組み込まれて提供されるが、これに限定するものではなく、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   The program executed by the multicolor image forming apparatus of the present embodiment is provided by being incorporated in advance in the ROM 70 or the like, but is not limited to this, and is a file in an installable format or an executable format. May 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).

さらに、本実施の形態の多色画像形成装置で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、本実施の形態の多色画像形成装置で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   Furthermore, the program executed by the multicolor image forming apparatus of 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. The program executed by the multicolor image forming apparatus of the present embodiment may be provided or distributed via a network such as the Internet.

本実施の形態の多色画像形成装置で実行されるプログラムは、上述した各部(画像処理部500など)を含むモジュール構成となっており、実際のハードウェアとしてはCPU41が上記ROM70からプログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、画像処理部500などが主記憶装置上に生成されるように構成しても良い。   The program executed by the multicolor image forming apparatus according to the present embodiment has a module configuration including the above-described units (such as the image processing unit 500). As actual hardware, the CPU 41 reads the program from the ROM 70. By executing the above, the above-described units may be loaded onto the main storage device, and the image processing unit 500 or the like may be generated on the main storage device.

なお、上記実施の形態では、本発明の画像処理装置および画像処理方法を、コピー機能、プリンタ機能、スキャナ機能およびファクシミリ機能のうち少なくとも2つの機能を有する多色画像形成装置に適用した例を挙げて説明するが、複合機、複写機、プリンタ、スキャナ装置、ファクシミリ装置等の画像処理装置であればいずれにも適用することができる。   In the above embodiment, the image processing apparatus and the image processing method of the present invention are applied to a multicolor image forming apparatus having at least two functions among a copy function, a printer function, a scanner function, and a facsimile function. However, the present invention can be applied to any image processing apparatus such as a multifunction machine, a copying machine, a printer, a scanner device, and a facsimile machine.

10 プリンタコントローラボード
40 メモリコントローラ内蔵CPU
41 CPU
45 描画部
50 画像処理ASIC
60 メインメモリ
70 ROM
500 画像処理部
510 画像読み込み部
511 バンド画像アドレス生成部
512 ワード単位のRGBバンド画像読み込み部
513 RGBデータ切り出し部
514 一致画素判定部
520 色変換処理部
540 色復元処理部
601 RGB_FIFO記憶処理部
602 画素値比較部
603 OR回路
605 一致アドレス生成部
608,706 記憶領域
701 CMYK_FIFO記憶処理部
702 奇数画素生成部
10 Printer controller board 40 CPU with built-in memory controller
41 CPU
45 Drawing unit 50 Image processing ASIC
60 Main memory 70 ROM
500 Image processing unit 510 Image reading unit 511 Band image address generation unit 512 RGB band image reading unit in units of words 513 RGB data cutout unit 514 Matched pixel determination unit 520 Color conversion processing unit 540 Color restoration processing unit 601 RGB_FIFO storage processing unit 602 pixel Value comparison unit 603 OR circuit 605 match address generation unit 608, 706 storage area 701 CMYK_FIFO storage processing unit 702 odd pixel generation unit

特開2001−18455号公報JP 2001-18455 A 特開2003−208608号公報JP 2003-208608 A 特開2004−282239号公報JP 2004-282239 A 特開2004−242213号公報JP 2004-242213 A 特開2008−023959号公報JP 2008-023959 A 特開2010−074445号公報JP 2010-074445 A

Claims (3)

画像データに含まれる画素の画素値である第1画素値を記憶する第1記憶手段と、
前記第1画素値に対して色空間変換処理を行った場合の第2画素値を記憶する第2記憶手段と、
出力する画像データに含まれる画素の画素値を読み込む読込手段と、
前記読み込んだ画素値が、前記第1記憶手段に記憶された複数の第1画素値それぞれと一致するか否かを一度に判定する判定手段と、
前記読み込んだ画素値のうち前記第1画素値と一致しない画素値に色空間変換処理を行う色変換処理手段と、
前記第2記憶手段に記憶された第2画素値のうち、前記読み込んだ画素値と一致した前記第1画素値に色空間変換処理を行った場合の第2画素値を、前記読み込んだ画素値に対して色空間変換処理を行った場合の画素値として選択する選択手段と、
を備え
前記第1記憶手段および前記第2記憶手段は、前記第1画素値と、前記第2画素値と、を対応付けて記憶し、
前記選択手段は、前記読み込んだ画素値と一致する前記第1画素値と対応付けて記憶された前記第2画素値を、前記読み込んだ画素値に対して色空間変換処理を行った場合の画素値として選択することを特徴とする画像処理装置。
First storage means for storing a first pixel value that is a pixel value of a pixel included in the image data;
Second storage means for storing a second pixel value when color space conversion processing is performed on the first pixel value;
Reading means for reading pixel values of pixels included in image data to be output;
Determination means for determining at a time whether the read pixel value matches each of the plurality of first pixel values stored in the first storage means;
Color conversion processing means for performing color space conversion processing on pixel values that do not match the first pixel value among the read pixel values;
Of the second pixel values stored in the second storage means, the second pixel value obtained when color space conversion processing is performed on the first pixel value that matches the read pixel value is the read pixel value. Selecting means for selecting as a pixel value when color space conversion processing is performed on
Equipped with a,
The first storage unit and the second storage unit store the first pixel value and the second pixel value in association with each other,
The selection unit is a pixel when the second pixel value stored in association with the first pixel value that matches the read pixel value is subjected to color space conversion processing on the read pixel value. An image processing apparatus characterized by selecting as a value .
前記第1記憶手段は、前記読み込んだ画素値を、前記画像データから読み込んだ順に記憶し、
前記第2記憶手段は、前記色変換処理手段により色空間変換処理を行った画素値を、色空間変換処理を行った順に記憶することを特徴とする請求項に記載の画像処理装置。
The first storage means stores the read pixel values in the order read from the image data,
The image processing apparatus according to claim 1 , wherein the second storage unit stores pixel values subjected to color space conversion processing by the color conversion processing unit in an order in which the color space conversion processing is performed.
画像処理装置で実行される画像処理方法であって、
前記画像処理装置は、画像データに含まれる画素の画素値である第1画素値を記憶する第1記憶手段と、前記第1画素値に対して色空間変換処理を行った場合の第2画素値を記憶する第2記憶手段と、を備え、前記第1記憶手段および前記第2記憶手段は、前記第1画素値と、前記第2画素値と、を対応付けて記憶し、
読込手段が、出力する画像データに含まれる画素の画素値を読み込む工程と、
判定手段が、前記読み込んだ画素値が、前記第1記憶手段に記憶された複数の第1画素値それぞれと一致するか否かを一度に判定する工程と、
色変換処理手段が、前記読み込んだ画素値のうち前記第1画素値と一致しない画素値に色空間変換処理を行う工程と、
選択手段が、前記第2記憶手段に記憶された第2画素値のうち、前記読み込んだ画素値と一致した前記第1画素値に色空間変換処理を行った場合の第2画素値であって、該第1画素値と対応付けて記憶された第2画素値を、前記読み込んだ画素値に対して色空間変換処理を行った場合の画素値として選択する工程と、
を含むことを特徴とする画像処理方法。
An image processing method executed by an image processing apparatus,
The image processing apparatus includes: a first storage unit that stores a first pixel value that is a pixel value of a pixel included in image data; and a second pixel when a color space conversion process is performed on the first pixel value. Second storage means for storing values, wherein the first storage means and the second storage means store the first pixel value and the second pixel value in association with each other,
A step of reading a pixel value of a pixel included in image data to be output;
A step of determining at a time whether or not the read pixel value matches each of the plurality of first pixel values stored in the first storage unit;
A step of performing color space conversion processing on a pixel value that does not match the first pixel value among the read pixel values;
Selection means, among the second pixel values stored in said second storage means, a second pixel value in the case of performing color space conversion processing on the first pixel value matched with the read pixel values Selecting a second pixel value stored in association with the first pixel value as a pixel value when color space conversion processing is performed on the read pixel value;
An image processing method comprising:
JP2011005173A 2011-01-13 2011-01-13 Image processing apparatus and image processing method Expired - Fee Related JP5740991B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011005173A JP5740991B2 (en) 2011-01-13 2011-01-13 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011005173A JP5740991B2 (en) 2011-01-13 2011-01-13 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2012147330A JP2012147330A (en) 2012-08-02
JP5740991B2 true JP5740991B2 (en) 2015-07-01

Family

ID=46790420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011005173A Expired - Fee Related JP5740991B2 (en) 2011-01-13 2011-01-13 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP5740991B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7019848B1 (en) 2021-02-23 2022-02-15 勝也 広繁 Conductive circuit board formed by pressure welding of conductive connection, and its conductive connection method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134347B (en) * 2019-04-30 2022-08-16 深圳市雄帝科技股份有限公司 Image processing method, image processing device, computer equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3689620B2 (en) * 2000-08-31 2005-08-31 キヤノン株式会社 Image processing apparatus and method
JP2005053009A (en) * 2003-08-07 2005-03-03 Canon Inc Printing device
JP4641959B2 (en) * 2006-03-29 2011-03-02 京セラミタ株式会社 Image processing device
JP4645847B2 (en) * 2006-05-01 2011-03-09 富士ゼロックス株式会社 Image processing apparatus and image processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7019848B1 (en) 2021-02-23 2022-02-15 勝也 広繁 Conductive circuit board formed by pressure welding of conductive connection, and its conductive connection method

Also Published As

Publication number Publication date
JP2012147330A (en) 2012-08-02

Similar Documents

Publication Publication Date Title
JP4950007B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
US8964249B2 (en) Image test apparatus, image test system, and image test method for testing a print image based on master image data
US7859703B2 (en) Image forming apparatus, image forming method and recording medium having program recorded thereon
JP2017118448A (en) Image processing apparatus, image forming device, image processing method, and program
JP2013084224A (en) Image forming apparatus
JP2017122971A (en) Image processing apparatus, image forming apparatus, image processing method, and program
JP5014203B2 (en) Image processing apparatus and method
JP5768524B2 (en) Image processing apparatus, image processing method, and program
JP2006049991A (en) Image data processing circuit and image processing apparatus configured to include the same
JP5740991B2 (en) Image processing apparatus and image processing method
JP4485430B2 (en) Image processing apparatus, image processing method, and program causing computer to execute the method
JP2009269341A (en) Apparatus and method for processing image
JP4115294B2 (en) Image processing apparatus and method
US10578994B2 (en) Image forming apparatus that determines a fixing temperature for a fixing operation based on toner amounts of blocks of image data and related image forming method and storage medium
JP2008023959A (en) Image processor, image processing method and program
JP3867888B2 (en) Image information rotating method, rotating device, recording medium, image reading device, and image forming device
JP6828481B2 (en) Information processing equipment, image forming equipment, and programs
US8675244B2 (en) Rendering apparatus having a display list clip processing control method, rendering method, and storage medium
JP4816238B2 (en) Image forming apparatus, image forming method, and program
JP2009169727A (en) Image processing apparatus, image processing method and program
JP5262882B2 (en) Image processing apparatus and image processing method
JP7516908B2 (en) Image forming apparatus, image forming method, and program
JP5721963B2 (en) Print data processing apparatus, print data processing method, image forming apparatus, program, and recording medium
JP5883822B2 (en) Image processing device
JP2007313845A (en) Image processing apparatus, image processing method, and computer-readable recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131202

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141007

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141127

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: 20150331

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150413

R151 Written notification of patent or utility model registration

Ref document number: 5740991

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees