JP2010141607A - Image processor, and image processing method for same - Google Patents

Image processor, and image processing method for same Download PDF

Info

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

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

【課題】中間調のドットを含む画像においても、解像度変換した画像に含まれる文字画像の形状を高解像度に保つことができる、画像処理装置、および画像処理装置の画像処理方法を提供する。
【解決手段】注目画素に隣接しかつ文字形状データが文字画素であることを示す画素のRGB画素データを文字画素のRGB画素データと判定し、RGB画素データが当該文字画素のRGB画素データでありかつ文字形状データが文字画素であることを示す画素の配置を表すマッチングパターンを生成し、生成したマッチングパターンが文字形状の画素の配置を示す所定のマッチングパターンと一致した場合、当該所定のマッチングパターンに含まれる注目画素に拡大処理を実行した場合の文字画素の配置に従って、拡大処理を実行した注目画素を、文字画素のRGB画素データで補間する。
【選択図】 図12
An image processing apparatus and an image processing method for an image processing apparatus are provided that can maintain the shape of a character image included in a resolution-converted image at a high resolution even in an image including halftone dots.
RGB pixel data of a pixel adjacent to a target pixel and indicating that character shape data is a character pixel is determined as RGB pixel data of the character pixel, and the RGB pixel data is RGB pixel data of the character pixel. In addition, when a matching pattern representing the arrangement of pixels indicating that the character shape data is a character pixel is generated, and the generated matching pattern matches a predetermined matching pattern indicating the arrangement of the character-shaped pixels, the predetermined matching pattern In accordance with the arrangement of the character pixels when the enlargement process is performed on the target pixel included in the pixel, the target pixel on which the enlargement process has been performed is interpolated with the RGB pixel data of the character pixel.
[Selection] FIG.

Description

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

レーザプリンタやデジタル複写機等においては、ビットマップ状の画像データを印字する際に、文字および画像の輪郭部の階段状の部分を補正して滑らかにするジャーキー補正が一般的に行われるようになっている。   In laser printers, digital copiers, etc., when printing bitmap image data, jerky correction is generally performed to correct and smooth the stepped portions of the outlines of characters and images. It has become.

例えば、特許文献1では、文字および図形の階段状の部分を滑らかにするジャーキー補正に加えて、トナー消費量を低減するための補正を行う画像データ処理装置を提案している。具体的には、特許文献1に記載の画像データ処理装置は、ビットマップ状に展開された画像データの注目ドットを中心とした所定範囲のドットを抽出してサンプリングし、サンプリングしたドットを基に注目ドットおよびその周囲の情報、特に、画像データの黒ドットと白ドットの境界の線分形状の特徴を認識し、その認識結果を定められたフォーマットのコード情報で表し、このコード情報を基に抽出したドットを補正する必要があるか否かを判断し、補正が必要であると判断した場合はこのコード情報をアドレスとしてジャーキー補正用のビデオデータを読み出すことにより、少ない記憶領域を用いてビットマップ状に展開された画像データの輪郭部を補正してジャーキーを無くしている。   For example, Patent Document 1 proposes an image data processing apparatus that performs correction for reducing toner consumption in addition to jerky correction for smoothing a staircase portion of characters and figures. Specifically, the image data processing device described in Patent Document 1 extracts and samples a predetermined range of dots centered on a target dot of image data developed in a bitmap shape, and based on the sampled dots Recognize the dot of interest and its surrounding information, in particular the characteristics of the line segment shape at the boundary between the black and white dots in the image data, and represent the recognition result as code information in a defined format. Based on this code information It is determined whether the extracted dots need to be corrected, and if it is determined that correction is necessary, the video data for jerky correction is read using this code information as an address, and a bit is stored using a small storage area. Jerky is eliminated by correcting the contour of the image data developed in a map.

特開平9−168086号公報Japanese Patent Laid-Open No. 9-168086

しかしながら、上記特許文献1に記載の画像データ処理装置では、画像データの黒ドットと白ドットの境界の線分形状に対してジャーキー補正を行うものであり、ディザリングなどが施された中間調のドットにはジャーキー補正を行うことができず、中間調のドットが含まれない白黒の画像データにしかジャーキー補正を行うことができない、という課題があった。   However, the image data processing apparatus described in Patent Document 1 performs jerky correction on the line segment shape at the boundary between black dots and white dots of the image data, and is a halftone with dithering or the like. There is a problem that jerky correction cannot be performed on dots, and jerky correction can be performed only on monochrome image data that does not include halftone dots.

本発明は、上記に鑑みてなされたものであって、中間調のドットを含む画像においても、解像度変換した画像に含まれる文字画像の形状を高解像度に保つことができる、画像処理装置、および画像処理装置の画像処理方法を提供することを目的とする。   The present invention has been made in view of the above, and an image processing apparatus capable of maintaining the shape of a character image included in a resolution-converted image at a high resolution even in an image including halftone dots, and An object is to provide an image processing method of an image processing apparatus.

上述した課題を解決し、目的を達成するために、請求項1にかかる発明は、文字画像を含む画像内の各画素の色画素データおよび各画素が前記文字画像に含まれる文字画素であるか否かを示す文字形状データを生成する描画手段と、生成した各画素の前記色画素データに拡大処理を実行する拡大手段と、生成した前記文字形状データおよび前記色画素データに基づいて、拡大処理を実行した注目画素に隣接しかつ前記文字形状データが前記文字画素であることを示す画素の前記色画素データを前記文字画素の色画素データと判定し、前記色画素データが前記文字画素の色画素データでありかつ前記文字形状データが前記文字画素であることを示す画素の配置を表すマッチングパターンを生成する判定手段と、前記文字画像に含まれる前記文字画素の配置を表す所定のマッチングパターンと、生成したマッチングパターンと、が一致した場合、当該所定のマッチングパターンに画素に拡大処理を実行した場合の前記文字画素の配置を表す配置データを生成する生成手段と、生成した前記配置データが表す前記文字画素の配置に従って、拡大処理を実行した前記注目画素を、前記文字画素の色画素データで補間する補間手段と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, the invention according to claim 1 is a color pixel data of each pixel in an image including a character image and whether each pixel is a character pixel included in the character image. Rendering means for generating character shape data indicating whether or not, enlargement means for executing enlargement processing on the color pixel data of each pixel generated, and enlargement processing based on the generated character shape data and color pixel data The color pixel data of a pixel that is adjacent to the target pixel that has executed and indicates that the character shape data is the character pixel is determined as the color pixel data of the character pixel, and the color pixel data is the color of the character pixel. Determination means for generating a matching pattern that is pixel data and that indicates an arrangement of pixels indicating that the character shape data is the character pixel; and the character included in the character image Generation that generates arrangement data representing the arrangement of the character pixels when the predetermined matching pattern representing the arrangement of the prime matches the generated matching pattern when the pixel is subjected to enlargement processing on the predetermined matching pattern And interpolation means for interpolating the pixel of interest subjected to enlargement processing with color pixel data of the character pixel according to the arrangement of the character pixel represented by the generated arrangement data.

また、請求項2にかかる発明は、請求項1にかかる発明において、生成した前記文字形状データのうち、第1ライン数分の前記文字形状データを記憶する第1記憶手段と、前記第1記憶手段から第1画素範囲の前記文字形状データを切り出す第1切出手段と、をさらに備え、前記判定手段は、前記色画素データが前記文字画素の色画素データでありかつ前記文字形状データが前記文字画素であることを示す画素の配置を示す前記第1画素範囲の前記マッチングパターンを生成することを特徴とする。   According to a second aspect of the present invention, in the first aspect of the invention according to the first aspect, the first storage means for storing the character shape data for the first number of lines among the generated character shape data, and the first storage. First cutout means for cutting out the character shape data in the first pixel range from the means, wherein the determination means is such that the color pixel data is color pixel data of the character pixel and the character shape data is the character shape data. The matching pattern of the first pixel range indicating the arrangement of pixels indicating character pixels is generated.

また、請求項3にかかる発明は、請求項1または2にかかる発明において、前記補間手段は、拡大処理を実行した前記注目画素が下地である場合に、拡大処理を実行した前記注目画素を、前記文字画素の色画素データで補間することを特徴とする。   The invention according to claim 3 is the invention according to claim 1 or 2, wherein, when the pixel of interest for which the enlargement processing has been performed is a background, the interpolation unit determines the pixel of interest for which the enlargement processing has been performed, Interpolation is performed using color pixel data of the character pixels.

また、請求項4にかかる発明は、請求項3にかかる発明において、前記補間手段は、前記色画素データが白を示す画素を下地と認識することを特徴とする。   The invention according to claim 4 is the invention according to claim 3, wherein the interpolation means recognizes a pixel in which the color pixel data indicates white as a background.

また、請求項5にかかる発明は、請求項1から4のいずれか一にかかる発明において、生成した前記色画素データのうち、第2ライン数分の前記色画素データを記憶する第2記憶手段と、前記第2記憶手段から第2画素範囲の前記色画素データを切り出す第2切出手段と、をさらに備え、前記判定手段は、生成した前記文字形状データおよび前記第2画素範囲の前記色画素データに基づいて、前記注目画素に隣接しかつ前記文字形状データが前記文字画素であることを示す画素の前記色画素データを前記文字画素の色画素データと判定することを特徴とする。   According to a fifth aspect of the present invention, in the invention according to any one of the first to fourth aspects, a second storage unit that stores the color pixel data for the second number of lines among the generated color pixel data. And second cutout means for cutting out the color pixel data of the second pixel range from the second storage means, and the determination means includes the generated character shape data and the color of the second pixel range. Based on pixel data, the color pixel data of a pixel adjacent to the target pixel and indicating that the character shape data is the character pixel is determined as the color pixel data of the character pixel.

また、請求項6にかかる発明は、請求項5にかかる発明において、前記第2画素範囲が前記第1画素範囲より狭いことを特徴とする。   The invention according to claim 6 is the invention according to claim 5, wherein the second pixel range is narrower than the first pixel range.

また、請求項7にかかる発明は、描画手段が、文字画像を含む画像内の各画素の色画素データおよび各画素が前記文字画像に含まれる文字画素であるか否かを示す文字形状データを生成する描画工程と、拡大手段が、生成した各画素の前記色画素データに拡大処理を実行する拡大工程と、判定手段が、生成した前記文字形状データおよび前記色画素データに基づいて、拡大処理を実行した注目画素に隣接しかつ前記文字形状データが前記文字画素であることを示す画素の前記色画素データを前記文字画素の色画素データと判定し、前記色画素データが前記文字画素の色画素データでありかつ前記文字形状データが前記文字画素であることを示す画素の配置を表すマッチングパターンを生成する判定工程と、生成手段が、前記文字画像に含まれる前記文字画素の配置を表す所定のマッチングパターンと、生成したマッチングパターンと、が一致した場合、当該所定のマッチングパターンに画素に拡大処理を実行した場合の前記文字画素の配置を表す配置データを生成する生成工程と、補間手段が、生成した前記配置データが表す前記文字画素の配置に従って、拡大処理を実行した前記注目画素を、前記文字画素の色画素データで補間する補間工程と、を有することを特徴とする。   According to a seventh aspect of the present invention, the drawing means includes color pixel data of each pixel in an image including a character image and character shape data indicating whether each pixel is a character pixel included in the character image. A drawing step to be generated, an enlargement step in which the enlargement unit executes an enlargement process on the color pixel data of each pixel generated, and an enlargement process based on the character shape data and the color pixel data generated by the determination unit The color pixel data of a pixel that is adjacent to the target pixel that has executed and indicates that the character shape data is the character pixel is determined as the color pixel data of the character pixel, and the color pixel data is the color of the character pixel. The character image includes a determination step for generating a matching pattern representing pixel arrangement indicating pixel data and the character shape data indicating the character pixel, and a generation unit. When the predetermined matching pattern representing the arrangement of the character pixels matches the generated matching pattern, the arrangement data representing the arrangement of the character pixels when the pixel is enlarged according to the predetermined matching pattern is generated. And an interpolation step in which the interpolation means interpolates the pixel of interest that has been subjected to the enlargement process with the color pixel data of the character pixel according to the arrangement of the character pixel represented by the generated arrangement data. It is characterized by.

本発明によれば、文字画像が中間調で表現される場合であっても、文字画像の輪郭部の階段状の部分を補間することができるので、中間調のドットを含む画像においても、解像度変換した画像に含まれる文字画像の形状を高解像度に保つことができる、という効果を奏する。   According to the present invention, even if the character image is expressed in halftone, the stepped portion of the contour portion of the character image can be interpolated, so even in an image including halftone dots, the resolution There is an effect that the shape of the character image included in the converted image can be maintained at a high resolution.

以下に添付図面を参照して、この発明にかかる画像処理装置、および画像処理装置の画像処理方法の最良な実施の形態を詳細に説明する。なお、本実施の形態では、この発明にかかる画像処理装置、および画像処理装置の画像処理方法をプリンタである多色画像形成装置に適用した例について説明するが、文字画像を含む画像に画像処理を施すものであれば、これに限定するものではない。例えば、複写機、ファクシミリ、複合機などの画像処理装置にも適用することができる。   Exemplary embodiments of an image processing apparatus and an image processing method of the image processing apparatus according to the present invention are explained in detail below with reference to the accompanying drawings. In the present embodiment, an example in which the image processing apparatus according to the present invention and the image processing method of the image processing apparatus are applied to a multicolor image forming apparatus that is a printer will be described. However, the present invention is not limited to this. For example, the present invention can be applied to an image processing apparatus such as a copying machine, a facsimile machine, and a multifunction machine.

図1は、本実施の形態にかかる多色画像形成装置の構成を示すブロック図である。本実施の形態にかかる多色画像形成装置において、符号1は像担持体であるベルト状の感光体であり、その感光体1は回転ローラ2、3により回動可能に支持され、その各回転ローラ2、3の駆動により矢示A方向に回動される。感光体1の外周部には、帯電手段である帯電装置4、除電ランプL、感光体1用のクリーニングブレード15Aが配置されている。帯電装置4の下流位置には、光書込手段であるレーザ書き込みユニット5より発せられるレーザ光が照射される光書き込み部がある。   FIG. 1 is a block diagram showing a configuration of a multicolor image forming apparatus according to the present embodiment. In the multicolor image forming apparatus according to the present embodiment, reference numeral 1 denotes a belt-like photoconductor that is an image carrier, and the photoconductor 1 is rotatably supported by rotating rollers 2 and 3, and each rotation thereof. The rollers 2 and 3 are driven to rotate in the direction of arrow A. On the outer periphery of the photoreceptor 1, a charging device 4 as a charging unit, a static elimination lamp L, and a 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より離間した位置に移動する。その移動は、カム45の回転により行なわれる。   Any one of these development units moves to a developable position in synchronization with the development timing of the corresponding color. The multicolor developing 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 45.

レーザ書き込みユニット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の表面に形成される静電潜像は、対応する現像ユニットからのトナーによって現像され、トナー画像が形成・保持される。中間転写ベルト10は、感光体1に隣接しており、回転ローラ11、12により矢示B方向に回動可能に支持されている。感光体1上のトナー画像は、中間転写ベルト10の裏側にある転写ブラシ(第1の転写手段)13により、その中間転写ベルト10の表面に転写される。   The electrostatic latent image formed on the surface of the photoreceptor 1 is developed with toner from the corresponding developing unit, and a toner image is formed and held. The intermediate transfer belt 10 is adjacent to the photoreceptor 1 and is supported by 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 10 by a transfer brush (first transfer means) 13 on the back side of the intermediate transfer belt 10.

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

用紙への転写に際しては、給紙装置(給紙カセット)17に収納されている用紙が給紙ローラ18によって繰り出されて搬送ローラ19により搬送され、レジストローラ対20に付き当てられた状態で一旦停止された後、トナー画像の転写位置が正規のものとなるようにタイミングがとられて中間転写ベルト10と転写ローラ(第2の転写手段)14のニップに再搬送される。そして、その用紙は転写ローラ14の作用により中間転写ベルト10上の複数色のトナー画像が一括転写された後、定着装置50に送られ、そこでトナー像が定着された後、排紙ローラ対51により本体フレーム9の上部の排紙スタック部52に排出される。   At the time of transfer onto the paper, the paper stored in the paper feeding device (paper feeding cassette) 17 is fed out by the 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 10 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 10 are collectively transferred by the action of the transfer roller 14, the sheet is sent to the fixing device 50, 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.

中間転写ベルト10には、回転ローラ11の部位に中間転写ベルト10用のクリーニング装置16が設けられ、クリーニングブレード16Aがクリーニングブレード接離用アーム16Cを介して接離自在の構成となっている。このクリーニングブレード16Aは、感光体1からトナー画像を受け取る工程では、中間転写ベルト10から離れ、中間転写ベルト10より用紙にトナー画像が転写された後に接触するようになっていて、用紙にトナー画像が転写された後の残留トナーをかきとる。クリーニングブレードは、すでに記したように、感光体1用と中間転写ベルト10用がある。これらブレードがかきとった廃トナーは、回収容器15に収納する。その回収容器15は適宜交換される。中間転写ベルト10用のクリーニング装置16の内部に設けられたオーガ16Bが、クリーニングブレード16Aでかきとられた廃トナーを搬送し、図示しない搬送手段で回収容器15に送るようになっている。   The intermediate transfer belt 10 is provided with a cleaning device 16 for the intermediate transfer belt 10 at a portion of the rotation roller 11 so that the cleaning blade 16A can be contacted and separated via a cleaning blade contacting / separating arm 16C. In the process of receiving the toner image from the photoreceptor 1, the cleaning blade 16A is separated from the intermediate transfer belt 10 and comes into contact after the toner image is transferred from the intermediate transfer belt 10 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 10. 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 10 conveys 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、中間転写ベルト10、クリーニング装置16、用紙搬送路を形成する搬送ガイド30などを一体に組み込み、寿命到来時に交換できるように構成されている。プロセスカートリッジ31の交換のほかに、多色現像装置6、ブラック現像ユニット7なども寿命到来時に交換するが、その交換性やジャム紙の処理を容易にするため、本体の一部の前フレーム8は支軸9Aを中心に開閉可能に回動できる構造にしてある。   Reference numeral 31 denotes a unitized process cartridge that incorporates the photosensitive member 1, the charging device 4, the intermediate transfer belt 10, the cleaning device 16, a conveyance guide 30 that forms a paper 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 and the black developing unit 7 are also replaced at the end of their service life. In order to facilitate the replacement and the handling of jammed paper, a part of the front frame 8 of the main body is replaced. Has a structure that can be opened and closed about the support shaft 9A.

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

図2は、多色画像形成装置の電装・制御装置のハードウェア構成の例を示す図である。図2の電装・制御装置60は、プリンタコントローラボード121が、ネットワークを介してPC(Personal Computer)120に対して接続され、また、プリンタエンジン122と接続される。   FIG. 2 is a diagram illustrating an example of the hardware configuration of the electrical / control apparatus of the multicolor image forming apparatus. 2 has a printer controller board 121 connected to a PC (Personal Computer) 120 via a network, and also connected to a printer engine 122.

プリンタコントローラボード121は、メモリコントローラ内蔵CPU(Central Processing Unit)115、画像処理ASIC(Application Specific Integrated Circuit)117、およびパネル制御ASIC118を有し、これらがバス116を介して接続されている。メモリコントローラ内蔵CPU115は、さらに、メインメモリ114およびROM(Read Only Memory)113と接続されている。   The printer controller board 121 includes a CPU (Central Processing Unit) 115 with a built-in memory controller, an image processing ASIC (Application Specific Integrated Circuit) 117, and a panel control ASIC 118, which are connected via a bus 116. The memory controller built-in CPU 115 is further connected to a main memory 114 and a ROM (Read Only Memory) 113.

メモリコントローラ内蔵CPU115は、CPU101、CPU I/F(Interface)102、メモリアービタ103、通信コントローラ107、描画装置105、メモリコントローラ104、及び、バスコントローラ106を有する。   The memory controller built-in CPU 115 includes a CPU 101, a CPU I / F (Interface) 102, a memory arbiter 103, a communication controller 107, a drawing device 105, a memory controller 104, and a bus controller 106.

CPU101は、多色画像形成装置の装置全体の制御を行う。CPU101は、また、PC120から伝送されるPDL(Page Description Language)を解析し、描画装置105に対する描画コマンドの出力、及び、画像処理ASIC117に対する画像処理パラメータの生成等を行う。CPU I/F102は、CPU101のインタフェースであり、メモリアービタ103を介してメインメモリ114及び他のコントローラ等に接続されている。   The CPU 101 controls the entire apparatus of the multicolor image forming apparatus. The CPU 101 also analyzes a PDL (Page Description Language) transmitted from the PC 120, outputs a drawing command to the drawing apparatus 105, generates an image processing parameter for the image processing ASIC 117, and the like. The CPU I / F 102 is an interface of the CPU 101 and is connected to the main memory 114 and other controllers via the memory arbiter 103.

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

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

描画装置105は、CPU101から入力された描画コマンドに従って、文字画像を含む画像をRGB空間で表した各画素のRGB画素データ、および各画素が文字画像に含まれる文字画素であるか否かを示す文字形状データを生成し、生成したRGB画素データおよび文字形状データをメインメモリ114に描画する。ここで、描画装置105により生成されるデータは、多色画像形成装置が画像を処理する単位の一である「バンド」単位のバンドデータである。   In accordance with a drawing command input from the CPU 101, the drawing device 105 indicates RGB pixel data of each pixel representing an image including a character image in an RGB space, and whether each pixel is a character pixel included in the character image. Character shape data is generated, and the generated RGB pixel data and character shape data are drawn in the main memory 114. Here, the data generated by the drawing apparatus 105 is band data in “band” units, which is one of the units in which the multicolor image forming apparatus processes an image.

ROM113は、CPU101が実行するコンピュータプログラムや、文字のフォント情報等を格納する。メインメモリ114は、描画装置105により生成されたRGB画素データや文字形状データ、それらのデータが圧縮された符号データ、及び、CPU101が実行するコンピュータプログラム等が格納される。   The ROM 113 stores computer programs executed by the CPU 101, character font information, and the like. The main memory 114 stores RGB pixel data and character shape data generated by the drawing device 105, code data obtained by compressing the data, computer programs executed by the CPU 101, and the like.

なお、本実施の形態の多色画像形成装置で実行されるプログラムは、ROM等に予め組み込まれて提供されるが、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   Note that the program executed by the multicolor image forming apparatus of the present embodiment is provided by being incorporated in advance in a ROM or the like. However, a CD-ROM, a flexible disk ( (FD), CD-R, DVD (Digital Versatile Disk), and the like may be recorded and provided on a computer-readable recording medium.

さらに、本実施の形態の多色画像形成装置で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、本実施の形態の多色画像形成装置で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   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.

画像処理ASIC117は、画像処理装置110、バスインタフェースI/F(Interface)108、及び、エンジンコントローラ109を有する。画像処理装置110は、CPU101により生成された画像処理パラメータが入力され、その画像処理パラメータに従う画像処理を行う。   The image processing ASIC 117 includes an image processing device 110, a bus interface I / F (Interface) 108, and an engine controller 109. The image processing apparatus 110 receives the image processing parameter generated by the CPU 101 and performs image processing according to the image processing parameter.

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

パネル制御ASIC118は、パネル119に接続され、CPU101からの制御コマンド等に従い、パネル119の制御を行う。パネル制御ASIC118は、パネルコントローラ112及びバスI/F111を有する。パネルコントローラ112は、パネル119に表示するデータの制御、及び、パネル119から入力される情報の取得等を行う。バスI/F111は、バスに接続され、メモリコントローラ内蔵CPU115からのデータの入出力を行う。   The panel control ASIC 118 is connected to the panel 119 and controls the panel 119 according to a control command from the CPU 101 or the like. The panel control ASIC 118 includes a panel controller 112 and a bus I / F 111. The panel controller 112 performs control of data displayed on the panel 119, acquisition of information input from the panel 119, and the like. The bus I / F 111 is connected to the bus and inputs / outputs data from the CPU 115 with a built-in memory controller.

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

プリンタエンジン122は、エンジンコントローラ109の制御により、画像を媒体上に形成する。PC120は、多色画像形成装置に出力させる画像のPDLを作成し、ネットワークを介してPDLを多色画像形成装置に対して出力する。   The printer engine 122 forms an image on a medium under the control of the engine controller 109. The PC 120 creates a PDL of 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では、入力されたPDLが解析され、画像処理された後、プリンタエンジン122に対して出力される。図3における処理は、PDL記憶ステップ(ステップS301)、PDL解析ステップ(ステップS302)、描画処理ステップ(ステップS303)、RGBバンド画像記憶ステップ(ステップS304)、文字形状バンド記憶ステップ(ステップS305)、画像処理ステップ(ステップS320)、階調処理後ページ画像記憶ステップ(ステップS309)、およびプリントアウトステップ(ステップS310)を有し、上記の順に各ステップの処理が実行される。   FIG. 3 is a flowchart showing an outline of processing in the multicolor image forming apparatus. In FIG. 3, the input PDL is analyzed, subjected to image processing, and then output to the printer engine 122. 3 includes a PDL storage step (step S301), a PDL analysis step (step S302), a drawing processing step (step S303), an RGB band image storage step (step S304), a character shape band storage step (step S305), It has an image processing step (step S320), a page image storage step after gradation processing (step S309), and a printout step (step S310), and the processing of each step is executed in the order described above.

PDL記憶ステップ(ステップS301)では、メインメモリ114が、PC120から入力されるPDLを格納する。PDL解析ステップ(ステップS302)では、CPU101が、コンピュータプログラムを実行することにより、メインメモリ114に格納されているPDLを解析して生成した描画コマンドを描画装置105に出力する。   In the PDL storage step (step S301), the main memory 114 stores the PDL input from the PC 120. In the PDL analysis step (step S302), the CPU 101 executes the computer program to output a drawing command generated by analyzing the PDL stored in the main memory 114 to the drawing device 105.

描画処理ステップ(ステップS303)では、描画装置105が、CPU101から入力された描画コマンドに従って、RGB画素データおよび文字形状データを生成してメインメモリ114に転送する。   In the drawing process step (step S303), the drawing device 105 generates RGB pixel data and character shape data in accordance with the drawing command input from the CPU 101, and transfers them to the main memory 114.

RGBバンド画像記憶ステップ(ステップS304)および文字形状バンド記憶ステップ(ステップS305)では、描画装置105から転送されたRGB画素データおよび文字形状データをバンド単位でメインメモリ114に記憶する。   In the RGB band image storage step (step S304) and the character shape band storage step (step S305), the RGB pixel data and the character shape data transferred from the drawing device 105 are stored in the main memory 114 in band units.

画像処理ステップ(ステップS320)は、解像度変換ステップ(ステップS306)、色変換処理ステップ(ステップS307)、および階調処理ステップ(ステップS308)を有する。解像度変換ステップ(ステップS306)では、メインメモリ114からRGB画素データおよび文字形状データを読み込み、RGB画素データの解像度を変換(例えば、600dpi→1200dpi)する。   The image processing step (step S320) includes a resolution conversion step (step S306), a color conversion processing step (step S307), and a gradation processing step (step S308). In the resolution conversion step (step S306), RGB pixel data and character shape data are read from the main memory 114, and the resolution of the RGB pixel data is converted (for example, 600 dpi → 1200 dpi).

色変換処理ステップ(ステップS307)では、ステップS306で解像度が変換されたRGB画素データおよびに対し、色空間変換処理が行われ、CMYK画素データが生成される。   In the color conversion processing step (step S307), color space conversion processing is performed on the RGB pixel data whose resolution has been converted in step S306, and CMYK pixel data is generated.

階調処理ステップS308では、ステップS307において色空間変換が行われたCMYK画素データに対し、ハーフトーン処理が行われる。   In the gradation processing step S308, halftone processing is performed on the CMYK pixel data subjected to the color space conversion in step S307.

階調処理後ページ画像記憶ステップ(ステップS309)では、メインメモリ114に、ステップS308のハーフトーン処理により得られたハーフトーン処理後データが格納される。ステップS309の処理の後、プリントアウトステップ(ステップS310)では、プリンタエンジン122がメインメモリ114に格納されたハーフトーン処理後データを印刷して出力する。   In the post-gradation processing page image storing step (step S309), the post-halftone processing data obtained by the halftone processing in step S308 is stored in the main memory 114. After the processing in step S309, in the printout step (step S310), the printer engine 122 prints and outputs the data after halftone processing stored in the main memory 114.

図4は、メインメモリの記憶領域を説明する図である。図5は、600dpiのRGB画素データの一例を示す図である。図6は、600dpiの文字形状データの一例を示す図である。メインメモリ114は、PDL格納メモリ領域、プログラム領域、RGBバンド画像メモリ格納領域、文字形状バンド画像メモリ格納領域、画像処理パラメータ領域、階調処理後ページメモリ格納領域、拡大補正メモリ格納領域、およびその他の領域を有する。   FIG. 4 is a diagram for explaining a storage area of the main memory. FIG. 5 is a diagram illustrating an example of 600 dpi RGB pixel data. FIG. 6 is a diagram illustrating an example of 600 dpi character shape data. Main memory 114 includes PDL storage memory area, program area, RGB band image memory storage area, character shape band image memory storage area, image processing parameter area, post-gradation page memory storage area, enlarged correction memory storage area, and others It has the area of.

PDL格納メモリ領域は、PC120から入力されたPDLを格納する。プログラム領域は、CPU101が実行するコンピュータプログラムを格納する。RGBバンド画像メモリ格納領域は、描画装置105により生成された画像のRGB画素データ(図5に示す)を、バンド単位に格納する。文字形状バンド画像メモリ格納領域は、描画装置105により生成された文字形状データ(図6に示す)を、バンド単位に格納する。   The PDL storage memory area stores the PDL input from the PC 120. The program area stores computer programs executed by the CPU 101. The RGB band image memory storage area stores RGB pixel data (shown in FIG. 5) of the image generated by the drawing device 105 in band units. The character shape band image memory storage area stores character shape data (shown in FIG. 6) generated by the drawing device 105 in band units.

画像処理パラメータ領域は、格子点データ格納領域、ガンマデータ格納領域、しきい値データ格納領域、およびDMA(Direct Memory Access)パラメータ格納領域を有する。格子点データ格納領域およびガンマデータ格納領域は、色変換処理ステップS306において色空間変換を行う際のパラメータを格納する。   The image processing parameter area includes a lattice point data storage area, a gamma data storage area, a threshold data storage area, and a DMA (Direct Memory Access) parameter 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 S306.

しきい値データ格納領域は、階調処理ステップS308において、ハーフトーン生成処理を行う際のしきい値テーブルを格納する。しきい値データ格納領域に格納されるしきい値テーブルは、ハーフトーン処理を行う画像データを構成する色コンポーネント毎に設けられてよい。   The threshold value data storage area stores a threshold value table used when halftone generation processing is performed in the gradation processing step S308. 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.

DMAパラメータ格納領域は、画像処理パラメータを読み込む際に用いたアドレス等のパラメータを格納する。   The DMA parameter storage area stores parameters such as an address used when reading image processing parameters.

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

拡大補正メモリ格納領域は、解像度変換ステップS306で解像度変換に用いる拡大補正パラメータを格納する。   The enlargement correction memory storage area stores enlargement correction parameters used for resolution conversion in the resolution conversion step S306.

図7は、本実施の形態にかかる画像処理全体の動作処理を示すフローチャートである。まず、CPU101はPDLを解析し、画像処理装置110の画像処理パラメータを生成し、メインメモリ114の画像処理装置パラメータ領域へ格納する(ステップS701)。続いて、画像処理装置110は、メインメモリ114の画像処理パラメータ領域から画像処理パラメータを読み込み、さらに拡大補正メモリ格納領域から拡大補正パラメータを読み込む(ステップS702)。描画装置105は、CPU101から入力された描画コマンドに従って、RGB画素データを生成し、RGBバンド画像メモリ格納領域に描画する(ステップS703)。この時、描画装置105は、RGB画素データが文字形状を含む場合には、文字形状データを生成し、生成した文字形状データを文字形状バンド画像メモリ格納領域に描画する。このステップS703の処理を1バンドが終了するまで繰り返し(ステップS704:No)実行する。上記1バンドの処理が終了すると(ステップS704:Yes)、画像処理装置110は、メインメモリ114のRGBバンド画像メモリ格納領域からRGB画素データを読み込み、さらに文字形状バンド画像メモリ格納領域から文字形状データを読み込んで画像処理を行い、画像処理結果をメインメモリ114の階調処理後ページメモリ格納領域へ転送する(ステップS705)。このステップS705の処理を1バンド終了するまで(ステップS706:No)繰り返し実行する(ステップS706:Yes)。このように、上記ステップS703〜S706の処理を1バンドについて終了するまで(ステップS707:No)実行する(ステップS707:Yes)。   FIG. 7 is a flowchart showing the operation processing of the entire image processing according to this embodiment. First, the CPU 101 analyzes the PDL, generates an image processing parameter of the image processing apparatus 110, and stores it in the image processing apparatus parameter area of the main memory 114 (step S701). Subsequently, the image processing apparatus 110 reads image processing parameters from the image processing parameter area of the main memory 114, and further reads enlargement correction parameters from the enlargement correction memory storage area (step S702). The drawing device 105 generates RGB pixel data in accordance with the drawing command input from the CPU 101 and draws it in the RGB band image memory storage area (step S703). At this time, if the RGB pixel data includes a character shape, the drawing device 105 generates character shape data and draws the generated character shape data in the character shape band image memory storage area. The processing in step S703 is repeated until one band is completed (step S704: No). When the processing for one band is completed (step S704: Yes), the image processing apparatus 110 reads RGB pixel data from the RGB band image memory storage area of the main memory 114, and further, character shape data from the character shape band image memory storage area. Is processed, and the image processing result is transferred to the page memory storage area after gradation processing in the main memory 114 (step S705). The process of step S705 is repeatedly executed (step S706: Yes) until the end of one band (step S706: No). As described above, the processes in steps S703 to S706 are executed until one band is finished (step S707: No) (step S707: Yes).

図8は、画像処理装置のハードウェア構成を説明する図である。図8の画像処理装置110は、RGB画素データアドレス生成装置811、RGB画素データ読み込み装置810、文字形状データアドレス生成装置813、文字形状データ読み込み装置812、解像度変換装置814、色変換処理装置815、ハーフトーン処理装置816、パラメータアドレス生成装置803、画像処理パラメータ読み込み装置802、DMAパラメータ記憶装置804、マッチングパターン記憶装置805、格子点データ記憶装置806、ガンマテーブル記憶装置807、ハーフトーンパラメータ記憶装置808、しきい値マトリックス記憶装置809、画像処理後画像アドレス生成装置818、画像処理後画像書き込み装置819、画像処理後画像バッファー装置817、およびバスアービタI/F801を有する。   FIG. 8 is a diagram illustrating the hardware configuration of the image processing apparatus. 8 includes an RGB pixel data address generation device 811, an RGB pixel data reading device 810, a character shape data address generation device 813, a character shape data reading device 812, a resolution conversion device 814, a color conversion processing device 815, Halftone processing device 816, parameter address generation device 803, image processing parameter reading device 802, DMA parameter storage device 804, matching pattern storage device 805, lattice point data storage device 806, gamma table storage device 807, halftone parameter storage device 808 , A threshold matrix storage device 809, an image processing image address generation device 818, an image processing image writing device 819, an image processing image buffer device 817, and a bus arbiter I / F 801.

バスアービタ−I/F801は、RGB画素データ読み込み装置810、文字形状データ読み込み装置812、画像処理パラメータ読み込み装置802、および画像処理後画像書き込み装置819のそれぞれが、バスI/F108を介してバス116に対してデータを入出力する際の調停を行う。   The bus arbiter I / F 801 includes an RGB pixel data reading device 810, a character shape data reading device 812, an image processing parameter reading device 802, and an image processing image writing device 819 that are connected to the bus 116 via the bus I / F 108. Mediation is performed when data is input / output.

パラメータアドレス生成装置803は、メインメモリ114上の画像処理パラメータ領域に格納されているパラメータのアドレスを生成する。画像処理パラメータ読み込み装置801は、パラメータアドレス生成装置803により生成されたアドレスにより、メインメモリ114に格納されている画像処理パラメータを読み出す。   The parameter address generation device 803 generates an address of a parameter stored in the image processing parameter area on the main memory 114. The image processing parameter reading device 801 reads the image processing parameters stored in the main memory 114 based on the address generated by the parameter address generation device 803.

DMAパラメータ記憶装置804は、画像処理パラメータ読み込み装置802が画像処理パラメータを読み込む際に用いたアドレス等のパラメータを、画像処理パラメータ読み込み装置802から受信して格納する。DMAパラメータ記憶装置804が格納するパラメータは、バンドの幅である多値RGBバンド幅、バンドの高さである多値RGBバンド高さ、バンドデータのメインメモリ114上の開始アドレスであるRGBバンドスタートアドレス、階調処理された後のバンドの幅と高さである階調処理後CMYKバンド幅及び階調処理後CMYKバンド高さ、並びに、C、M、Y、Kそれぞれの色コンポーネントのバンドデータをメインメモリ114上に格納する際のスタートアドレス等である。   The DMA parameter storage device 804 receives from the image processing parameter reading device 802 and stores parameters such as an address used when the image processing parameter reading device 802 reads the image processing parameters. The parameters stored in the DMA parameter storage device 804 are the multi-value RGB band width which is the band width, the multi-value RGB band height which is the band height, and the RGB band start which is the start address of the band data on the main memory 114. 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 on the main memory 114.

マッチングパターン記憶装置805は、解像度変換に必要なマッチングパターンデータなどを格納するものである。本実施の形態では、マッチングパターン記憶装置805は、拡大処理を実行する注目画素を中心とし、文字画像に含まれる文字画素の配置を表す所定のマッチングパターンと、当該所定のマッチングパターンが含む注目画素に拡大処理を実行した場合の文字画素の配置を表す配置データと、を対応付けて格納するものである。   The matching pattern storage device 805 stores matching pattern data necessary for resolution conversion. In the present embodiment, the matching pattern storage device 805 has a predetermined matching pattern representing the arrangement of character pixels included in the character image, and a target pixel included in the predetermined matching pattern, centered on the target pixel on which enlargement processing is performed. Are stored in association with the arrangement data representing the arrangement of the character pixels when the enlargement process is executed.

図9は、所定のマッチングパターンの一例を示す図である。図10は、配置データの一例を示す図である。図9に示す所定のマッチングパターンは、注目画素901を中心に、文字画素である黒の画素902、文字画素以外の白の画素903、および×で示すDon’t Careが配置されたマッチングパターンである。図10に示す配置データは、図9に示す所定のマッチングパターンに含まれる注目画素901に拡大処理を実行した場合の文字画素(黒の画素)1001を示すものである。   FIG. 9 is a diagram illustrating an example of a predetermined matching pattern. FIG. 10 is a diagram illustrating an example of arrangement data. The predetermined matching pattern shown in FIG. 9 is a matching pattern in which a black pixel 902 that is a character pixel, a white pixel 903 other than the character pixel, and a Don't Care indicated by x are arranged around the target pixel 901. is there. The arrangement data shown in FIG. 10 indicates the character pixel (black pixel) 1001 when the enlargement process is executed on the target pixel 901 included in the predetermined matching pattern shown in FIG.

さらに、マッチングパターン記憶装置805は、白の画素に拡大処理を実行した場合の文字形状データを格納するものとする。図11は、白の画素に拡大処理を実行した場合の配置データの一例を示す図である。図11に示す配置データは、白の画素に拡大処理を実行した場合の文字形状を示すものである。   Furthermore, it is assumed that the matching pattern storage device 805 stores character shape data when the enlargement process is executed on white pixels. FIG. 11 is a diagram illustrating an example of arrangement data when enlargement processing is performed on white pixels. The arrangement data shown in FIG. 11 shows the character shape when the enlargement process is executed on white pixels.

RGB画素データアドレス生成装置811は、メインメモリ114に記憶されたRGB画素データから、水平ライン毎にRGB画素データを読み出す際のアドレスを生成する。   The RGB pixel data address generation device 811 generates addresses for reading RGB pixel data for each horizontal line from the RGB pixel data stored in the main memory 114.

RGB画素データ読み込み装置810は、メインメモリ114上のRGBバンド画像メモリ格納領域から、RGB画素データアドレス生成装置811により生成された水平ライン毎のアドレスにより、メインメモリ114からRGB画素データを読み込む。   The RGB pixel data reading device 810 reads RGB pixel data from the main memory 114 from the RGB band image memory storage area on the main memory 114 using the horizontal line address generated by the RGB pixel data address generating device 811.

文字形状データアドレス生成装置813は、メインメモリ114に記憶された文字形状データから、水平ライン毎に文字形状データを読み出す際のアドレスを生成する。   The character shape data address generation device 813 generates an address for reading the character shape data for each horizontal line from the character shape data stored in the main memory 114.

文字形状データ読み込み装置812は、メインメモリ114上の文字形状バンド画像メモリ格納領域から、文字形状データアドレス生成装置813により生成されたアドレスにより、水平ライン毎に文字形状データを読み込む。   The character shape data reading device 812 reads character shape data for each horizontal line from the character shape band image memory storage area on the main memory 114 using the address generated by the character shape data address generating device 813.

解像度変換装置814は、マッチングパターン記憶装置805に格納されているマッチングパターンデータおよび文字形状データ読み込み装置812により読み込んだ文字形状データを用いて、RGB画素データ読み込み装置810により読み込だRGB画素データの解像度を、メインメモリ114上の拡大補正メモリ格納領域に格納された拡大補正パラメータが示す解像度に変換する(例えば、600dpi→1200dpi)。   The resolution conversion device 814 uses the matching pattern data stored in the matching pattern storage device 805 and the character shape data read by the character shape data reading device 812 to read the RGB pixel data read by the RGB pixel data reading device 810. The resolution is converted into the resolution indicated by the enlargement correction parameter stored in the enlargement correction memory storage area on the main memory 114 (for example, 600 dpi → 1200 dpi).

色変換処理装置815は、解像度変換装置814から入力されるRGB画素データの画素値に対し、色空間変換処理(BG/UCR処理)を行う。色変換処理装置815は、入力されるRGB画素データを、RGB色空間からCMYK色空間のCMYK画素データに変換する。   The color conversion processing device 815 performs color space conversion processing (BG / UCR processing) on the pixel values of the RGB pixel data input from the resolution conversion device 814. The color conversion processing device 815 converts input RGB pixel data from RGB color space to CMYK pixel data in the CMYK color space.

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

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

ハーフトーン処理装置816は、色変換処理装置815から入力されるCMYK画素データの色コンポーネント毎に、ハーフトーン処理を行う。ハーフトーン処理装置816は、ハーフトーン処理に必要なパラメータをハーフトーンパラメータ記憶装置808から読み出す。ハーフトーン処理装置816は、さらに、入力されるCMYK画素データの奇数画素と偶数画素とのそれぞれに対し、奇数閾値マトリックスに含まれる値と偶数閾値マトリックスに含まれる値とによる比較により、ハーフトーン処理を行う。ハーフトーン処理装置816は、ハーフトーン処理後のCMYK画素データを、メインメモリ114のワード単位にハーフトーン処理後データとして出力する。   The halftone processing device 816 performs halftone processing for each color component of CMYK pixel data input from the color conversion processing device 815. The halftone processing device 816 reads parameters necessary for the halftone processing from the halftone parameter storage device 808. The halftone processing device 816 further performs halftone processing for each of the odd and even pixels of the input CMYK pixel data by comparing the values included in the odd threshold matrix and the values included in the even threshold matrix. I do. The halftone processing device 816 outputs the CMYK pixel data after halftone processing as data after halftone processing in units of words in the main memory 114.

ハーフトーンパラメータ記憶装置808は、メインメモリ114から読み出されたハーフトーン処理装置816がハーフトーン処理する際のパラメータを記憶する。しきい値マトリックス記憶装置809は、それぞれ、CMYK画素データの水平ラインの位置に基づいて、奇数画素と偶数画素とに対応するハーフトーン処理のためのしきい値マトリックスを記憶する。   The halftone parameter storage device 808 stores parameters when the halftone processing device 816 read from the main memory 114 performs halftone processing. The threshold value matrix storage device 809 stores a threshold value matrix for halftone processing corresponding to odd-numbered pixels and even-numbered pixels, respectively, based on the position of the horizontal line of CMYK pixel data.

画像処理後画像バッファー装置817は、ハーフトーン処理装置816によりハーフトーン化されたCMYK画素データを保持する。画像処理後画像バッファー装置817は、メインメモリ114に書き込み処理を行う際の、バーストレングスに対応する数のハーフトーン化されたCMYK画素データを保持する。   The post-image processing image buffer device 817 holds CMYK pixel data halftoned by the halftone processing device 816. The post-image processing image buffer device 817 holds the CMYK pixel data having halftoned numbers corresponding to the burst length when the main memory 114 is written.

画像処理後画像書き込み装置819は、画像処理後画像バッファー装置817に格納されているハーフトーン化されたCMYK画素データを、バス116を介してメインメモリ114に対して出力する。画像処理後画像書き込み装置819は、メインメモリ114のワード単位で、CMYK画素データを出力する。   The post-image processing image writing device 819 outputs the halftoned CMYK pixel data stored in the post-image processing image buffer device 817 to the main memory 114 via the bus 116. The post-image processing image writing device 819 outputs CMYK pixel data in units of words in the main memory 114.

画像処理後画像アドレス生成装置818は、画像処理後画像書き込み装置819がCMYK画素データをメインメモリ114に格納させる際の、アドレスを生成する。画像処理後画像アドレス生成装置818は、DMAパラメータ記憶装置804に格納されているパラメータに基づいて、メインメモリ114上のアドレスを生成する。より詳細には、RGB画素データ読み込み装置810がRGB画素データを読み込む際と同様に、CMYK画素データの水平ラインのアドレスを生成する。   The post-image processing image address generation device 818 generates an address when the post-image processing image writing device 819 stores the CMYK pixel data in the main memory 114. The post-image processing image address generation device 818 generates an address on the main memory 114 based on the parameters stored in the DMA parameter storage device 804. More specifically, the horizontal line address of the CMYK pixel data is generated in the same manner as when the RGB pixel data reading device 810 reads the RGB pixel data.

図12は、解像度変換装置のハードウェア構成を説明する図である。図12の解像度変換装置814は、文字形状Mラインメモリ1201、文字形状N*Mマトリックス切り出し装置1202、RGB Bラインメモリ1203、RGB A*Bマトリックス切り出し装置1204、文字色判定装置1205、パターンアドレス生成装置1206、Delayメモリ1207、2*2拡大装置1208、下地認識装置1209、RGBラインメモリコントローラ1210、およびRGB1ラインメモリ1211を有する。   FIG. 12 is a diagram illustrating the hardware configuration of the resolution conversion apparatus. 12 includes a character shape M line memory 1201, a character shape N * M matrix cutout device 1202, an RGB B line memory 1203, an RGB A * B matrix cutout device 1204, a character color determination device 1205, and a pattern address generation. A device 1206, a delay memory 1207, a 2 * 2 enlargement device 1208, a background recognition device 1209, an RGB line memory controller 1210, and an RGB1 line memory 1211.

文字形状Mラインメモリ1201は、文字形状データ読み込み装置812により読み込まれたNライン分の文字形状データを記憶するものである。   The character shape M line memory 1201 stores character shape data for N lines read by the character shape data reading device 812.

文字形状N*Mマトリックス切り出し装置1202は、文字形状Mラインメモリ1201に記憶されたNライン分の文字形状データから、注目画素を中心とするN*Mマトリックス(第1画素範囲)の文字形状データを切り出すものである。なお、本実施の形態では、注目画素を中心とするN*Mマトリックスの文字形状データを切り出しているが、N*Mマトリックス内に注目画素が含まれていれば、これに限定するものではない。   The character shape N * M matrix cutout device 1202 reads character shape data of an N * M matrix (first pixel range) centered on the pixel of interest from character shape data for N lines stored in the character shape M line memory 1201. Is to cut out. In this embodiment, the character shape data of the N * M matrix centered on the target pixel is cut out. However, the present invention is not limited to this as long as the target pixel is included in the N * M matrix. .

RGB Bラインメモリ1203は、RGB画素データ読み込み装置810により読み込まれたBライン分のRGB画素データを記憶するものである。   The RGB B line memory 1203 stores RGB pixel data for B lines read by the RGB pixel data reading device 810.

RGB A*Bマトリックス切り出し装置1204は、RGB Bラインメモリ1203に記憶されたBライン分のRGB画素データから、文字形状N*Mマトリックス切り出し装置1202により切り出されるN*Mマトリックスと同じ、またはN*Mマトリックスよりも狭いA*Bマトリックス(第2画素範囲)のRGB画素データを切り出すものである。なお、本実施の形態では、注目画素を中心とするA*BマトリックスのRGB画素データを切り出しているが、A*Bマトリックス内に注目画素が含まれていれば、これに限定するものではない。   The RGB A * B matrix cutout device 1204 is the same as the N * M matrix cut out by the character shape N * M matrix cutout device 1202 from the RGB pixel data for B lines stored in the RGB B line memory 1203, or N * RGB pixel data in an A * B matrix (second pixel range) narrower than the M matrix is cut out. In this embodiment, the RGB pixel data of the A * B matrix centered on the target pixel is cut out, but the present invention is not limited to this as long as the target pixel is included in the A * B matrix. .

文字色判定装置1205は、文字形状N*Mマトリックス切り出し装置1202およびRGB A*Bマトリックス切り出し装置1204から、N*Mマトリックスの文字形状データおよびA*BマトリックスのRGB画素データを受け取り、注目画素に隣接しかつN*Mマトリックスの文字形状データが文字画素であることを示す画素のA*BマトリックスのRGB画素データを文字画素のRGB画素データと判定する。   The character color determination device 1205 receives the character shape data of the N * M matrix and the RGB pixel data of the A * B matrix from the character shape N * M matrix cutout device 1202 and the RGB A * B matrix cutout device 1204, and sets them as the target pixel. The RGB pixel data of the A * B matrix of a pixel that is adjacent and indicates that the character shape data of the N * M matrix is a character pixel is determined as the RGB pixel data of the character pixel.

そして、文字色判定装置1205は、A*BマトリックスのRGB画素データにおいて文字画素のRGB画素データを示し、かつN*Mマトリックスの文字形状データにおいて文字画素であることを示す画素の配置を表すN*Mマトリックスのマッチングパターンを生成する。   The character color determining device 1205 indicates N pixel arrangement indicating the RGB pixel data of the character pixel in the RGB pixel data of the A * B matrix and the character pixel in the character shape data of the N * M matrix. * Generate a matching pattern for the M matrix.

図13は、A*BマトリックスのRGB画素データの一例を示す図である。図14は、N*Mマトリックスの文字形状データの一例を示す図である。図13に示すA*BマトリックスのRGB画素データは、右上の2画素に赤(R)の画素1301、および注目画素1302に隣接する画素範囲1303に青(B)の画素1304を有する例である。図14に示すN*Mマトリックスの文字形状データは、図13に示す青(B)の画素1304が文字画素(黒の画素)1402であり、図13に示す赤(R)の画素1301が文字画素以外の画素(白の画素)1401)である例である。文字判定色装置1205は、図13に示すA*BマトリックスのRGB画素データおよび図14に示すN*Mマトリックスの文字形状データを受け取った場合、青(B)の画素1304が注目画素1302に隣接しかつ文字画素1402であることを示しているので、青(B)を文字画素のRGB画素データと判定する。   FIG. 13 is a diagram illustrating an example of RGB pixel data of an A * B matrix. FIG. 14 is a diagram illustrating an example of character shape data of an N * M matrix. The RGB pixel data of the A * B matrix shown in FIG. 13 is an example in which the upper right two pixels have red (R) pixels 1301 and the pixel range 1303 adjacent to the target pixel 1302 has blue (B) pixels 1304. . In the N * M matrix character shape data shown in FIG. 14, the blue (B) pixel 1304 shown in FIG. 13 is a character pixel (black pixel) 1402, and the red (R) pixel 1301 shown in FIG. This is an example of a pixel (white pixel) 1401) other than the pixel. When the character determination color device 1205 receives the RGB pixel data of the A * B matrix shown in FIG. 13 and the character shape data of the N * M matrix shown in FIG. 14, the blue (B) pixel 1304 is adjacent to the target pixel 1302. In addition, since it indicates that it is a character pixel 1402, blue (B) is determined as RGB pixel data of the character pixel.

そして、文字色判定装置1205は、図13に示すA*BマトリックスのRGB画素データにおいて青(B)を示し、かつ図14に示すN*Mマトリックスの文字形状データにおいて文字画素1402であることを示す画素の配置を表すマッチングパターンを生成する。なお、文字色判定装置1205は、図13に示すA*BマトリックスのRGB画素データおよび図14に示すN*Mマトリックスの文字形状データを受け取った場合、図14に示すN*Mマトリックスの文字形状データと同様のマッチングパターンを生成する。   Then, the character color determination device 1205 indicates blue (B) in the RGB pixel data of the A * B matrix shown in FIG. 13, and the character pixel 1402 in the character shape data of the N * M matrix shown in FIG. A matching pattern representing the arrangement of the indicated pixels is generated. When the character color determination device 1205 receives the RGB pixel data of the A * B matrix shown in FIG. 13 and the character shape data of the N * M matrix shown in FIG. 14, the character shape of the N * M matrix shown in FIG. A matching pattern similar to the data is generated.

図15は、A*BマトリックスのRGB画素データの他の例を示す図である。図16は、N*Mマトリックスの文字形状データの他の例を示す図である。図17は、生成されたマッチングパターンの一例を示す図である。図15に示すA*BマトリックスのRGB画素データは、赤(R)の画素1501および青(B)の画素1502をそれぞれ同じ数有し、注目画素1503に隣接する画素範囲1504では青(B)の画素1502が支配的である例である。図16に示すN*Mマトリックスの文字形状データは、図15に示す赤(R)の画素1501および青(B)の画素1502が共に文字画素1601である例である。   FIG. 15 is a diagram illustrating another example of RGB pixel data of an A * B matrix. FIG. 16 is a diagram illustrating another example of character shape data of an N * M matrix. FIG. 17 is a diagram illustrating an example of the generated matching pattern. The RGB pixel data of the A * B matrix shown in FIG. 15 has the same number of red (R) pixels 1501 and blue (B) pixels 1502, and blue (B) in the pixel range 1504 adjacent to the target pixel 1503. This is an example in which the pixel 1502 is dominant. The N * M matrix character shape data shown in FIG. 16 is an example in which the red (R) pixel 1501 and the blue (B) pixel 1502 shown in FIG.

ここで、文字色判定装置1205は、図15に示すA*BマトリックスのRGB画素データおよび図16に示すN*Mマトリックスの文字形状データを受け取った場合、赤(R)の画素1501および青(B)の画素1502が共に注目画素1503に隣接し、さらに赤(R)の画素1501および青(B)の画素1502が共に文字画素1601であることを示しているので、画素範囲1504で支配的な青(B)の画素1502が示す青(B)を文字画素のRGB画素データと判定する。   When the character color determination device 1205 receives the RGB pixel data of the A * B matrix shown in FIG. 15 and the character shape data of the N * M matrix shown in FIG. 16, the red (R) pixel 1501 and the blue ( The pixel 1502 of B) is adjacent to the target pixel 1503, and the red (R) pixel 1501 and the blue (B) pixel 1502 are both character pixels 1601, so that the pixel range 1504 is dominant. The blue (B) indicated by the blue (B) pixel 1502 is determined as the RGB pixel data of the character pixel.

そして、文字色判定装置1205は、図15に示すA*BマトリックスのRGB画素データにおいて青(B)を示し、かつ図16に示すN*Mマトリックスの文字形状データにおいて文字画素であることを示す画素の配置を表すマッチングパターン(図17に示す)を生成する。   The character color determination device 1205 indicates blue (B) in the RGB pixel data of the A * B matrix shown in FIG. 15, and indicates that it is a character pixel in the character shape data of the N * M matrix shown in FIG. A matching pattern (shown in FIG. 17) representing the pixel arrangement is generated.

パターンアドレス生成装置1206は、文字色判定装置1205で生成されたN*Mマトリックスのマッチングパターンを用いて、マッチングパターン記憶装置805から当該N*Mマトリックスと一致する所定のマッチングパターンを見つけ出す。そして、パターアドレス生成装置1206は、見つけ出した所定のマッチングパターンと対応付けて記憶される配置データのマッチングパターン記憶装置805上でのアドレスを求めて、求めたアドレスに記憶されている配置データをマッチングパターン記憶装置805から出力する。   The pattern address generation device 1206 uses the N * M matrix matching pattern generated by the character color determination device 1205 to find a predetermined matching pattern that matches the N * M matrix from the matching pattern storage device 805. Then, the pattern address generation device 1206 obtains an address on the matching pattern storage device 805 of the arrangement data stored in association with the found predetermined matching pattern, and matches the arrangement data stored in the obtained address. Output from the pattern storage device 805.

Delayメモリ1207は、マッチングパターン記憶装置805から出力される配置データに合せて、2*2拡大装置1208へのRGB画素データの入力を遅らせるものである。   The delay memory 1207 delays the input of RGB pixel data to the 2 * 2 enlargement device 1208 in accordance with the arrangement data output from the matching pattern storage device 805.

2*2拡大装置1208は、注目画素のRGB画素データを2*2倍して下地認識装置1209に入力するものである。   The 2 * 2 enlargement device 1208 multiplies the RGB pixel data of the pixel of interest by 2 * 2 and inputs it to the background recognition device 1209.

下地認識装置1209は、2*2拡大装置1208により2*2倍した注目画素が下地であるか否か(白の画素であるか否か)を認識し、下地である場合には、マッチングパターン記憶装置805から出力された配置データが表す文字画素の配置に従って、当該2*2倍した注目画素を、文字画素のRGB画素データで補間する。なお、本実施の形態では、注目画素が下地である場合にのみ、補間を行っているが、これに限定するものではなく、注目画素が下地でない場合であっても補間を行っても良い。   The background recognition device 1209 recognizes whether or not the pixel of interest multiplied by 2 * 2 by the 2 * 2 enlargement device 1208 is the background (whether it is a white pixel). The pixel of interest multiplied by 2 * 2 is interpolated with the RGB pixel data of the character pixel in accordance with the character pixel arrangement represented by the arrangement data output from the storage device 805. In this embodiment, the interpolation is performed only when the target pixel is the background. However, the interpolation is not limited to this, and the interpolation may be performed even when the target pixel is not the background.

ただし、注目画素が文字形状以外の他の形状に含まれている場合、当該注目画素の補間だけでは、RGB画素データを高解像度の画像に変換することができない。また、文字形状の周囲に様々な色が存在する場合、文字を高解像度にしても画質が向上せず、間違った画像が生成されることもある。そのため、注目画素が下地である場合にのみ、補間を行うことが好ましい。   However, when the target pixel is included in a shape other than the character shape, RGB pixel data cannot be converted into a high-resolution image only by interpolation of the target pixel. Also, when there are various colors around the character shape, even if the character has a high resolution, the image quality is not improved and an incorrect image may be generated. Therefore, it is preferable to perform interpolation only when the target pixel is the background.

図18は、補間後のA*BマトリックスのRGB画素データの一例を示す図である。文字色判定装置1205が図13に示すRGB画素データおよび図14に示す文字形状データを受け取った場合、下地認識装置1209は、図18に示すように、マッチングパターン記憶装置805から出力される図10に示す配置データが表す文字画素の配置に従って、図15に示すA*BマトリックスのRGB画素データに含まれる注目画素1503を2*2倍した画素を、文字画素のRGB画素データで補間する。   FIG. 18 is a diagram illustrating an example of RGB pixel data of the A * B matrix after interpolation. When the character color determination device 1205 receives the RGB pixel data shown in FIG. 13 and the character shape data shown in FIG. 14, the background recognition device 1209 outputs the FIG. 10 output from the matching pattern storage device 805 as shown in FIG. 15 is interpolated with the RGB pixel data of the character pixel by 2 * 2 times the pixel of interest 1503 included in the RGB pixel data of the A * B matrix shown in FIG.

一方、文字色判定装置1205が図15に示すA*BマトリックスのRGB画素データおよび図16に示すN*Mマトリックスの文字形状データを受け取った場合、下地認識装置1209は、マッチングパターン記憶装置805から出力される図11に示す配置データが文字形状を表さないので、補間を行わない。   On the other hand, when the character color determination device 1205 receives the RGB pixel data of the A * B matrix shown in FIG. 15 and the character shape data of the N * M matrix shown in FIG. 16, the background recognition device 1209 receives the matching pattern storage device 805. Since the output arrangement data shown in FIG. 11 does not represent a character shape, no interpolation is performed.

RGBラインメモリコントローラ1210は、下地認識装置1209により補間した2*2画素を受け取り、受け取った2*2画素の2*1画素をRGB1ラインメモリ1211に格納し、他の2*1画素を色変換処理装置815に転送する。   The RGB line memory controller 1210 receives the 2 * 2 pixels interpolated by the background recognition device 1209, stores the received 2 * 2 pixels 2 * 1 in the RGB1 line memory 1211, and performs color conversion on the other 2 * 1 pixels. Transfer to processor 815.

図19は、解像度変換処理の手順を示すフローチャートである。まず、文字形状データ読み込み装置812が、メインメモリ114上の文字形状バンド画像メモリ格納領域から水平ライン方向にNライン分の文字形状データを読み込み、文字形状Mラインメモリ1201に書き込む(ステップS1901)。さらに、RGB画素データ読み込み装置810が、メインメモリ114上のRGBバンド画像メモリ格納領域から、Bライン分のRGB画素データを読み込み、RGB Bラインメモリ1203に書き込む(ステップS1902)。   FIG. 19 is a flowchart showing the procedure of resolution conversion processing. First, the character shape data reading device 812 reads character shape data for N lines in the horizontal line direction from the character shape band image memory storage area on the main memory 114 and writes it to the character shape M line memory 1201 (step S1901). Further, the RGB pixel data reading device 810 reads RGB pixel data for B lines from the RGB band image memory storage area on the main memory 114, and writes it into the RGB B line memory 1203 (step S1902).

次に、文字形状N*Mマトリックス切り出し装置1202が、文字形状Mラインメモリ1201に記憶されたNライン分の文字形状データから、注目画素を中心とするN*Mマトリックスの文字形状データを切り出す(ステップS1903)。さらに、RGB A*Bマトリックス切り出し装置1204が、RGB Bラインメモリ1203に記憶されたBライン分のRGB画素データから、注目画素を中心とするA*BマトリックスのRGB画素データを切り出す(ステップS1904)。   Next, the character shape N * M matrix cutout device 1202 cuts out N * M matrix character shape data centered on the pixel of interest from the character shape data for N lines stored in the character shape M line memory 1201 ( Step S1903). Further, the RGB A * B matrix cutout device 1204 cuts out the RGB pixel data of the A * B matrix centering on the target pixel from the RGB pixel data for B lines stored in the RGB B line memory 1203 (step S1904). .

文字色判定装置1205は、N*Mマトリックスの文字形状データおよびA*BマトリックスのRGB画素データを受け取り、注目画素に隣接し、かつ文字形状データが文字画素である画素のRGB画素データを文字画素のRGB画素データと判定し、判定したRGB画素データと同じ色でありかつ文字画素であることを示す画素の配置を表すN*Mマトリックスのマッチングパターンを求める(ステップS1905)。   The character color determination device 1205 receives the character shape data of the N * M matrix and the RGB pixel data of the A * B matrix, and converts the RGB pixel data of the pixel adjacent to the target pixel and the character shape data to be the character pixel into the character pixel. N * M matrix matching pattern representing the arrangement of pixels that are the same color as the determined RGB pixel data and indicate character pixels is obtained (step S1905).

パターンアドレス生成装置1206は、生成されたN*Mマトリックスのマッチングパターンを用いて、マッチングパターン記憶装置805にアクセスし、当該N*Mマトリックスのマッチングパターンと一致する所定のマッチングパターンを見つけ出し、当該所定のマッチングパターンに含まれる注目画素を2*2倍したときの配置データを求める(ステップS1906)。   The pattern address generation device 1206 uses the generated matching pattern of the N * M matrix to access the matching pattern storage device 805, finds a predetermined matching pattern that matches the matching pattern of the N * M matrix, and The arrangement data when the target pixel included in the matching pattern is multiplied by 2 * 2 is obtained (step S1906).

2*2拡大装置1208は、注目画素のRGB画素データを2*2倍して下地認識装置1209に転送する(ステップS1907)。   The 2 * 2 enlargement device 1208 multiplies the RGB pixel data of the pixel of interest by 2 * 2 and transfers it to the background recognition device 1209 (step S1907).

下地認識装置1209は、2*2拡大装置1208により2*2倍した注目画素のRGB画素データが下地の白であるか判定し、白であれば2*2倍した注目画素を文字画素のRGB画素データで補間してRGBメモリコントローラ1210に転送し、白でなければ2*2倍した注目画素をそのままRGBメモリコントローラ1210に転送する(ステップS1908)。   The background recognition device 1209 determines whether the RGB pixel data of the pixel of interest 2 * 2 multiplied by the 2 * 2 enlargement device 1208 is white of the background, and if it is white, the pixel of interest 2 × 2 is converted to the RGB of the character pixel. The pixel of interest is interpolated and transferred to the RGB memory controller 1210. If it is not white, the pixel of interest multiplied by 2 * 2 is transferred to the RGB memory controller 1210 as it is (step S1908).

RGBメモリコントローラ1210は、注目画素を2*2倍した2*2画素を受け取り、下の2*1画素をRGB1ラインメモリ1211へ書き込み、上の2*1画素を色変換処理装置815に転送する(ステップS1909)。   The RGB memory controller 1210 receives 2 * 2 pixels obtained by multiplying the target pixel by 2 * 2, writes the lower 2 * 1 pixel to the RGB1 line memory 1211, and transfers the upper 2 * 1 pixel to the color conversion processing device 815. (Step S1909).

解像度変換装置814は、メインメモリ114上のRGBバンド画像メモリ格納領域に記憶されている1ライン分のRGB画素データに含まれる各画素の拡大処理が終了するまで上述の処理を繰り返す(ステップS1910:No)。   The resolution conversion device 814 repeats the above processing until the enlargement processing of each pixel included in the RGB pixel data for one line stored in the RGB band image memory storage area on the main memory 114 is completed (step S1910: No).

そして、1ライン分のRGB画素データに含まれる各画素の拡大処理が終了すると(ステップS1910:Yes)、RGBメモリコントローラ1210は、RGB1ラインメモリ1211から順次2*1画素を読み込み、色変換処理装置815に転送する(ステップS1911)。   When the enlargement processing of each pixel included in the RGB pixel data for one line is completed (step S1910: Yes), the RGB memory controller 1210 sequentially reads 2 * 1 pixels from the RGB1 line memory 1211, and the color conversion processing device The data is transferred to 815 (step S1911).

RGBメモリコントローラ1210は、RGB1ラインメモリ1211からの2*1画素の読み込みおよび色変換処理装置815への転送を1ライン分繰り返す(ステップS1912:No)。   The RGB memory controller 1210 repeats the reading of 2 * 1 pixels from the RGB1 line memory 1211 and the transfer to the color conversion processing device 815 for one line (step S1912: No).

そして、解像度変換装置814は、1ライン分の色変換処理装置815への転送が終了すると(ステップS1912:Yes)、1バンド分のRGB画素データの拡大処理が終了するまで、上述の処理を繰り返す(ステップS1913:No)。そして、解像度変換装置814は、1バンド分のRGB画素データの拡大処理が終了すると(ステップS1913:Yes)、1ページ分のRGB画素データの拡大処理が終了するまで、上述の処理を繰り返す(ステップS1914:No)。そして、解像度変換装置814は、1ページ分のRGB画素データの拡大処理が終了すると(ステップS1914:Yes)、拡大処理を終了する。   Then, when the transfer to the color conversion processing device 815 for one line is completed (step S1912: Yes), the resolution conversion device 814 repeats the above processing until the enlargement processing of the RGB pixel data for one band is completed. (Step S1913: No). When the resolution conversion apparatus 814 completes the enlargement process of the RGB pixel data for one band (step S1913: Yes), it repeats the above process until the enlargement process of the RGB pixel data for one page is completed (step S1913). S1914: No). Then, when the enlargement process of the RGB pixel data for one page is finished (step S1914: Yes), the resolution conversion apparatus 814 finishes the enlargement process.

図20は、解像度変換前のRGB画素データと解像度変換後のRGB画素データの一例を示す図である。本実施の形態にかかる解像度変換装置814によれば、図20に示すように、解像度変換前の画像に含まれる文字画像が白黒以外の中間調で表現されている場合であっても、解像度変換した画像に含まれる文字画像の階段状の部分を滑らかにすることができる。   FIG. 20 is a diagram illustrating an example of RGB pixel data before resolution conversion and RGB pixel data after resolution conversion. According to the resolution conversion apparatus 814 according to the present embodiment, as shown in FIG. 20, even when a character image included in an image before resolution conversion is expressed in halftones other than black and white, resolution conversion is performed. The stepped portion of the character image included in the processed image can be smoothed.

このように、本実施の形態にかかる多色画像形成装置によれば、注目画素に隣接しかつ文字形状データが文字画素であることを示す画素のRGB画素データを文字画素のRGB画素データと判定し、RGB画素データが当該文字画素のRGB画素データでありかつ文字形状データが文字画素であることを示す画素の配置を表すマッチングパターンを生成し、生成したマッチングパターンが所定のマッチングパターンと一致した場合、当該所定のマッチングパターンに含まれる注目画素に拡大処理を実行した場合の文字画素の配置に従って、拡大処理を実行した注目画素を、文字画素のRGB画素データで補間することにより、文字画像に含まれる画素の色が中間調である場合であっても、文字の輪郭部の階段状の部分を補間することができるので、中間調のドットを含む画像においても、当該画像に含まれる文字画像を高解像度な形状に保つことができる。   As described above, according to the multicolor image forming apparatus according to the present embodiment, the RGB pixel data of the pixel adjacent to the target pixel and indicating that the character shape data is the character pixel is determined as the RGB pixel data of the character pixel. Then, a matching pattern representing the pixel arrangement indicating that the RGB pixel data is the RGB pixel data of the character pixel and the character shape data is the character pixel is generated, and the generated matching pattern matches the predetermined matching pattern. In this case, according to the arrangement of the character pixel when the enlargement process is performed on the target pixel included in the predetermined matching pattern, the target pixel that has been subjected to the enlargement process is interpolated with the RGB pixel data of the character pixel, thereby obtaining a character image. Even if the color of the included pixels is halftone, it is possible to interpolate the stepped portion of the outline of the character In, even in an image including a halftone dot, it is possible to keep the character images included in the image in high resolution shape.

なお、本実施の形態では、RGB画素データに対して画像処理を行う例について説明したが、多値画像のデータであれば、これに限定されるものではなく、同様に画像処理を行うことができる。例えば、CMY,CMYK、L*a*b*などで表現される多値画像のデータや、CMYのC版のみなど、1つの版で表される多値画像のデータ、RGBのRのみの多値画像のデータなどにも同様に画像処理を行うことができる。   In this embodiment, an example in which image processing is performed on RGB pixel data has been described. However, the present invention is not limited to this as long as it is multi-valued image data, and image processing can be similarly performed. it can. For example, multi-value image data expressed in CMY, CMYK, L * a * b *, etc., multi-value image data expressed in one version, such as only CMY C version, RGB only R Image processing can be similarly performed on value image data and the like.

本実施の形態にかかる多色画像形成装置の構成を示すブロック図である。1 is a block diagram showing a configuration of a multicolor image forming apparatus according to an embodiment. 多色画像形成装置の電装・制御装置のハードウェア構成の例を示す図である。It is a figure which shows the example of the hardware constitutions of the electrical equipment and control apparatus of a multicolor image forming apparatus. 多色画像形成装置における処理の概略を示すフロー図である。It is a flowchart which shows the outline of the process in a multicolor image forming apparatus. メインメモリの記憶領域を説明する図である。It is a figure explaining the storage area of a main memory. 600dpiのRGB画素データの一例を示す図である。It is a figure which shows an example of RGB pixel data of 600 dpi. 600dpiの文字形状データの一例を示す図である。It is a figure which shows an example of the character shape data of 600 dpi. 本実施の形態にかかる画像処理全体の動作処理を示すフローチャートである。It is a flowchart which shows the operation | movement process of the whole image processing concerning this Embodiment. 画像処理装置のハードウェア構成を説明する図である。It is a figure explaining the hardware constitutions of an image processing apparatus. 所定のマッチングパターンの一例を示す図である。It is a figure which shows an example of a predetermined matching pattern. 配置データの一例を示す図である。It is a figure which shows an example of arrangement | positioning data. 白の画素に拡大処理を実行した場合の配置データの一例を示す図である。It is a figure which shows an example of arrangement | positioning data at the time of performing an expansion process to a white pixel. 解像度変換装置のハードウェア構成を説明する図である。It is a figure explaining the hardware constitutions of the resolution converter. A*BマトリックスのRGB画素データの一例を示す図である。It is a figure which shows an example of the RGB pixel data of an A * B matrix. N*Mマトリックスの文字形状データの一例を示す図である。It is a figure which shows an example of the character shape data of a N * M matrix. A*BマトリックスのRGB画素データの他の例を示す図である。It is a figure which shows the other example of the RGB pixel data of an A * B matrix. N*Mマトリックスの文字形状データの他の例を示す図である。It is a figure which shows the other example of the character shape data of a N * M matrix. 生成されたマッチングパターンの一例を示す図である。It is a figure which shows an example of the produced | generated matching pattern. 補間後のA*BマトリックスのRGB画素データの一例を示す図である。It is a figure which shows an example of the RGB pixel data of the A * B matrix after interpolation. 解像度変換処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the resolution conversion process. 解像度変換前のRGB画素データと解像度変換後のRGB画素データの一例を示す図である。It is a figure which shows an example of RGB pixel data before resolution conversion, and RGB pixel data after resolution conversion.

符号の説明Explanation of symbols

105 描画装置
110 画像処理装置
814 解像度変換装置
1201 文字形状Mラインメモリ
1202 文字形状N*Mマトリックス切り出し装置
1203 RGB Bラインメモリ
1204 RGB A*Bマトリックス切り出し装置
1205 文字色判定装置
1206 パターンアドレス生成装置
1208 2*2拡大装置
1209 下地認識装置
DESCRIPTION OF SYMBOLS 105 Drawing apparatus 110 Image processing apparatus 814 Resolution conversion apparatus 1201 Character shape M line memory 1202 Character shape N * M matrix extraction apparatus 1203 RGB B line memory 1204 RGB A * B matrix extraction apparatus 1205 Character color determination apparatus 1206 Pattern address generation apparatus 1208 2 * 2 enlargement device 1209 Ground recognition device

Claims (7)

文字画像を含む画像内の各画素の色画素データおよび各画素が前記文字画像に含まれる文字画素であるか否かを示す文字形状データを生成する描画手段と、
生成した各画素の前記色画素データに拡大処理を実行する拡大手段と、
生成した前記文字形状データおよび前記色画素データに基づいて、拡大処理を実行した注目画素に隣接しかつ前記文字形状データが前記文字画素であることを示す画素の前記色画素データを前記文字画素の色画素データと判定し、前記色画素データが前記文字画素の色画素データでありかつ前記文字形状データが前記文字画素であることを示す画素の配置を表すマッチングパターンを生成する判定手段と、
前記文字画像に含まれる前記文字画素の配置を表す所定のマッチングパターンと、生成したマッチングパターンと、が一致した場合、当該所定のマッチングパターンに画素に拡大処理を実行した場合の前記文字画素の配置を表す配置データを生成する生成手段と、
生成した前記配置データが表す前記文字画素の配置に従って、拡大処理を実行した前記注目画素を、前記文字画素の色画素データで補間する補間手段と、
を備えたことを特徴とする画像処理装置。
Drawing means for generating color pixel data of each pixel in an image including a character image and character shape data indicating whether each pixel is a character pixel included in the character image;
Enlargement means for executing enlargement processing on the color pixel data of each pixel generated;
Based on the generated character shape data and the color pixel data, the color pixel data of a pixel adjacent to the target pixel on which the enlargement process has been performed and indicating that the character shape data is the character pixel Determining means for determining color pixel data, and generating a matching pattern representing an arrangement of pixels indicating that the color pixel data is color pixel data of the character pixel and the character shape data is the character pixel;
When the predetermined matching pattern representing the arrangement of the character pixels included in the character image matches the generated matching pattern, the arrangement of the character pixels when the pixel is enlarged to the predetermined matching pattern Generating means for generating arrangement data representing
Interpolating means for interpolating the pixel of interest subjected to the enlargement processing with the color pixel data of the character pixel according to the arrangement of the character pixel represented by the generated arrangement data;
An image processing apparatus comprising:
生成した前記文字形状データのうち、第1ライン数分の前記文字形状データを記憶する第1記憶手段と、
前記第1記憶手段から第1画素範囲の前記文字形状データを切り出す第1切出手段と、をさらに備え、
前記判定手段は、前記色画素データが前記文字画素の色画素データでありかつ前記文字形状データが前記文字画素であることを示す画素の配置を示す前記第1画素範囲の前記マッチングパターンを生成することを特徴とする請求項1に記載の画像処理装置。
Of the generated character shape data, first storage means for storing the character shape data for the first number of lines;
First cutout means for cutting out the character shape data in the first pixel range from the first storage means,
The determination unit generates the matching pattern in the first pixel range indicating an arrangement of pixels indicating that the color pixel data is color pixel data of the character pixel and the character shape data is the character pixel. The image processing apparatus according to claim 1.
前記補間手段は、拡大処理を実行した前記注目画素が下地である場合に、拡大処理を実行した前記注目画素を、前記文字画素の色画素データで補間することを特徴とする請求項1または2に記載の画像処理装置。   The interpolating unit interpolates the target pixel on which the enlargement process has been performed with color pixel data of the character pixel when the target pixel on which the enlargement process has been performed is a background. The image processing apparatus according to 1. 前記補間手段は、前記色画素データが白を示す画素を下地と認識することを特徴とする請求項3に記載の画像処理装置。   The image processing apparatus according to claim 3, wherein the interpolation unit recognizes a pixel whose color pixel data indicates white as a background. 生成した前記色画素データのうち、第2ライン数分の前記色画素データを記憶する第2記憶手段と、
前記第2記憶手段から第2画素範囲の前記色画素データを切り出す第2切出手段と、をさらに備え、
前記判定手段は、生成した前記文字形状データおよび前記第2画素範囲の前記色画素データに基づいて、前記注目画素に隣接しかつ前記文字形状データが前記文字画素であることを示す画素の前記色画素データを前記文字画素の色画素データと判定することを特徴とする請求項1から4のいずれか一に記載の画像処理装置。
Second storage means for storing the color pixel data for the second number of lines among the generated color pixel data;
A second cutout unit that cuts out the color pixel data in the second pixel range from the second storage unit;
The determination unit is configured to determine the color of a pixel adjacent to the target pixel and indicating that the character shape data is the character pixel based on the generated character shape data and the color pixel data of the second pixel range. The image processing apparatus according to claim 1, wherein pixel data is determined as color pixel data of the character pixel.
前記第2画素範囲が前記第1画素範囲より狭いことを特徴とする請求項5に記載の画像処理装置。   The image processing apparatus according to claim 5, wherein the second pixel range is narrower than the first pixel range. 描画手段が、文字画像を含む画像内の各画素の色画素データおよび各画素が前記文字画像に含まれる文字画素であるか否かを示す文字形状データを生成する描画工程と、
拡大手段が、生成した各画素の前記色画素データに拡大処理を実行する拡大工程と、
判定手段が、生成した前記文字形状データおよび前記色画素データに基づいて、拡大処理を実行した注目画素に隣接しかつ前記文字形状データが前記文字画素であることを示す画素の前記色画素データを前記文字画素の色画素データと判定し、前記色画素データが前記文字画素の色画素データでありかつ前記文字形状データが前記文字画素であることを示す画素の配置を表すマッチングパターンを生成する判定工程と、
生成手段が、前記文字画像に含まれる前記文字画素の配置を表す所定のマッチングパターンと、生成したマッチングパターンと、が一致した場合、当該所定のマッチングパターンに画素に拡大処理を実行した場合の前記文字画素の配置を表す配置データを生成する生成工程と、
補間手段が、生成した前記配置データが表す前記文字画素の配置に従って、拡大処理を実行した前記注目画素を、前記文字画素の色画素データで補間する補間工程と、
を有することを特徴とする画像処理装置の画像処理方法。
A drawing step in which drawing means generates color pixel data of each pixel in an image including a character image and character shape data indicating whether each pixel is a character pixel included in the character image;
An enlarging step in which an enlarging unit executes an enlarging process on the color pixel data of each pixel generated
Based on the character shape data and the color pixel data generated by the determination unit, the color pixel data of a pixel adjacent to the target pixel on which the enlargement process has been performed and indicating that the character shape data is the character pixel is obtained. Determination to determine color pixel data of the character pixel, and to generate a matching pattern indicating an arrangement of pixels indicating that the color pixel data is the color pixel data of the character pixel and the character shape data is the character pixel Process,
When the predetermined matching pattern representing the arrangement of the character pixels included in the character image matches the generated matching pattern, the generation unit performs the enlargement process on the pixel according to the predetermined matching pattern. A generation step of generating arrangement data representing the arrangement of character pixels;
An interpolation step in which the interpolation means interpolates the pixel of interest subjected to the enlargement process with the color pixel data of the character pixel according to the arrangement of the character pixel represented by the generated arrangement data;
An image processing method for an image processing apparatus, comprising:
JP2008316083A 2008-12-11 2008-12-11 Image processor, and image processing method for same Pending JP2010141607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008316083A JP2010141607A (en) 2008-12-11 2008-12-11 Image processor, and image processing method for same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008316083A JP2010141607A (en) 2008-12-11 2008-12-11 Image processor, and image processing method for same

Publications (1)

Publication Number Publication Date
JP2010141607A true JP2010141607A (en) 2010-06-24

Family

ID=42351339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008316083A Pending JP2010141607A (en) 2008-12-11 2008-12-11 Image processor, and image processing method for same

Country Status (1)

Country Link
JP (1) JP2010141607A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699886A (en) * 2020-12-30 2021-04-23 广东德诚大数据科技有限公司 Character recognition method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699886A (en) * 2020-12-30 2021-04-23 广东德诚大数据科技有限公司 Character recognition method and device and electronic equipment
CN112699886B (en) * 2020-12-30 2024-06-11 广东德诚科教有限公司 Character recognition method and device and electronic equipment

Similar Documents

Publication Publication Date Title
JP4979357B2 (en) Image forming apparatus and control method thereof
JP2013084224A (en) Image forming apparatus
JP2007282240A (en) Bitmapped based trapping method and print system
US8786901B2 (en) Image processing apparatus, image processing method, and computer program product
JP2012100240A (en) Image processing device, and image processing method
JP2009290612A (en) Image processing device, image processing method and image forming apparatus
JP5404340B2 (en) Image forming apparatus, image forming method, and program
JP6630086B2 (en) Image processing apparatus, image processing method, and program
JP2010141607A (en) Image processor, and image processing method for same
CN114945060B (en) Image processing apparatus and image forming apparatus
JP7599878B2 (en) Image forming device
US20050286087A1 (en) Image outputting system, image outputting method, program for executing the method and a computer-readable information recording medium on which the program is recorded
JP2008147748A (en) Image processor and image processing method
US7460274B2 (en) Controlling apparatus for outputting processed image data
JP5419608B2 (en) Image forming apparatus and image forming 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
JP5644230B2 (en) Image processing apparatus and image processing method
JP5740991B2 (en) Image processing apparatus and image processing method
JP2009169727A (en) Image processing apparatus, image processing method, and program
JP2013164557A (en) Image forming control device, image forming control method, and image forming control program
US8149457B2 (en) Image forming apparatus, image forming method, and computer readable medium recording a printing data generation program
JP7516908B2 (en) Image forming apparatus, image forming method, and program
JP5459000B2 (en) Image processing apparatus and program
JP5262882B2 (en) Image processing apparatus and image processing method
JP4894588B2 (en) Image processing apparatus, printing apparatus, and image processing program