[go: up one dir, main page]

JP2009033541A - Image processing system - Google Patents

Image processing system Download PDF

Info

Publication number
JP2009033541A
JP2009033541A JP2007196153A JP2007196153A JP2009033541A JP 2009033541 A JP2009033541 A JP 2009033541A JP 2007196153 A JP2007196153 A JP 2007196153A JP 2007196153 A JP2007196153 A JP 2007196153A JP 2009033541 A JP2009033541 A JP 2009033541A
Authority
JP
Japan
Prior art keywords
image
color
tile
image data
vector
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
JP2007196153A
Other languages
Japanese (ja)
Inventor
Masahiro Takizawa
昌弘 滝澤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2007196153A priority Critical patent/JP2009033541A/en
Publication of JP2009033541A publication Critical patent/JP2009033541A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To obtain an image processing apparatus which does not cause a difference (color shift) between a color of paper data of an original, and a color on an image of internal data processed in the image processing apparatus. <P>SOLUTION: An image processing apparatus comprises a means for registering beforehand image data not to cause the color shift and a color, a means for retrieving specific image data, and a means for replacing a color of the retrieved image with the color registered beforehand, wherein a color of an image of which the color or the shape is similar to that of the image not to cause the color shift is replaced with a color of the image registered beforehand. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は色再現性が求められる画像処理装置、特に紙原稿の電子化を行うカラースキャナおよびカラーMFP(Multi Function Peripheral)に関する。   The present invention relates to an image processing apparatus that requires color reproducibility, and more particularly to a color scanner and a color MFP (Multi Function Peripheral) that digitize a paper document.

図12に本発明の従来例を説明するためのMFPのコントローラ100を示す。コントローラ100はシステムバスブリッジ(SBB)101によりCPU102、メモリコントローラ(MC)103、汎用バス105、画像処理部110、画像データ展開部(RIP)113が接続されている。   FIG. 12 shows an MFP controller 100 for explaining a conventional example of the present invention. The controller 100 is connected to a CPU 102, a memory controller (MC) 103, a general-purpose bus 105, an image processing unit 110, and an image data development unit (RIP) 113 by a system bus bridge (SBB) 101.

汎用バス105にはハードディスクコントローラ(HDDCont)106及びLANI/F109が接続されており、ネットワーク108からページベクタ形式(PDL(ページ記述言語)、PDF、SVG等)の画像データが転送される。   A hard disk controller (HDDCont) 106 and a LAN I / F 109 are connected to the general-purpose bus 105, and image data in a page vector format (PDL (page description language), PDF, SVG, etc.) is transferred from the network 108.

HDDCont106の先にはHDD107が接続されており、画像データの記憶媒体として使われる。同様にMC103の先には、システムメモリ(Memory)104が接続されており、画像データを一時記憶するための媒体として使われる。システムメモリ104には、一般的にはDIMMが用いられる。   An HDD 107 is connected to the end of the HDDCont 106 and is used as a storage medium for image data. Similarly, a system memory (Memory) 104 is connected to the tip of the MC 103, and is used as a medium for temporarily storing image data. Generally, a DIMM is used for the system memory 104.

画像処理部110にはスキャナ111及びプリンタ112が接続されている。スキャナから入力された画像データは画像処理部110によって所定の画像処理が実施された後、コントローラへ入力され、またコントローラ内に記憶されている画像データは画像処理部108によって所定の画像処理が実施され、プリンタ112へ出力される。   A scanner 111 and a printer 112 are connected to the image processing unit 110. The image data input from the scanner is subjected to predetermined image processing by the image processing unit 110 and then input to the controller, and the image data stored in the controller is subjected to predetermined image processing by the image processing unit 108. And output to the printer 112.

コントローラ100でハンドリングされる画像データは、ネットワーク経由での外部機器との入出力はページベクタ(PDLやPDF、SVG等)、スキャナやプリンタとの入出力はラスターデータ形式でインターフェースされる。外部機器から入力されたページベクタはCPU102により、プリミティブなオブジェクトにインタプリットされ、DL(DisplayList)と呼ばれる中間データに変換されてから、RIPに入力される。   The image data handled by the controller 100 is interfaced with a page vector (PDL, PDF, SVG, etc.) for input / output with an external device via a network, and with a raster data format for input / output with a scanner or printer. A page vector input from an external device is interpreted into a primitive object by the CPU 102, converted into intermediate data called DL (DisplayList), and input to the RIP.

これらの画像データはコントローラ100の内部のシステムメモリ104に一旦記憶されるため、システムメモリ104上には、ラスターデータ、ページベクタデータ(PDL等)、DLデータなど多種類のデータが存在する。   Since these image data are temporarily stored in the system memory 104 inside the controller 100, there are various types of data such as raster data, page vector data (PDL, etc.), DL data, etc. on the system memory 104.

HDD105には、画像データとしてスキャナから入力された画像データとRIP113でレンダリングされたラスタ画像データが記憶される。特許文献1を参照。
特開2006−309671
The HDD 105 stores image data input from the scanner as image data and raster image data rendered by the RIP 113. See US Pat.
JP 2006-309671 A

しかしながら、会社のロゴやマークの色など、PANTONEを初めとする特色系インクで印刷された画像を含んだ原稿をスキャンした場合、MFP内で記憶する画像データは、特色系インクより狭い色空間であることが一般的なため、色ズレが発生して原稿色を厳密に再現できないことがありうるという問題がある。   However, if you scan a document that includes an image printed with a special color ink such as PANTONE, such as a company logo or mark color, the image data stored in the MFP is in a narrower color space than the special color ink. In some cases, there is a problem that color deviation may occur and the original color may not be accurately reproduced.

上記課題を解決するために、本発明のMFPは以下のような要件で構成される。   In order to solve the above problems, the MFP of the present invention is configured with the following requirements.

・色ズレを起こしたくない画像データと色を予め登録する手段
・特定の画像データを検索する手段
・検索された色ズレを起こしたくない画像の色を予め登録された色に置き換える手段
Means for pre-registering image data and color that does not cause color misregistration Means for retrieving specific image data Means for replacing the color of the searched image that does not cause color misregistration with a pre-registered color

予め登録された画像データと似た画像データの色を予め登録された画像データの色に置き換える事で、色ズレの少ない画像処理装置を実現する事が出来る。その際、画像を予め類似色でしぼってから、比較する事で比較対象の画像が少なくなり、検索時間を短縮することにより高速な色補正処理が可能となる。   By replacing the color of the image data similar to the pre-registered image data with the color of the pre-registered image data, an image processing apparatus with little color misregistration can be realized. At that time, the images are preliminarily squeezed with similar colors and then compared to reduce the number of images to be compared, and the search time is shortened to enable high-speed color correction processing.

次に、本発明の詳細を実施例の記述に従って説明する。
[第1の実施形態]
本発明の第一の実施例のシステム構成は、従来例 図12と同様であるが、図12の画像処理部110の一部に色ズレを削減する画像処理機能が追加される。図12のスキャナ111から入力された画像データは画像処理部110において、所定の画像処理が実施された後、コントローラのメモリ104またはHDD107に記憶される。その後、メモリ104またはHDD107から画像データを読み出し、画像処理部110の中で色ズレを削減する画像処理が実施され、再びメモリ104またはHDD107に画像データが記憶される。
Next, details of the present invention will be described in accordance with the description of the embodiments.
[First Embodiment]
The system configuration of the first embodiment of the present invention is the same as that of the conventional example of FIG. 12, but an image processing function for reducing color misregistration is added to a part of the image processing unit 110 of FIG. Image data input from the scanner 111 in FIG. 12 is subjected to predetermined image processing in the image processing unit 110 and then stored in the memory 104 or the HDD 107 of the controller. Thereafter, image data is read from the memory 104 or the HDD 107, image processing for reducing color misregistration is performed in the image processing unit 110, and the image data is stored in the memory 104 or the HDD 107 again.

本発明の第一の実施例である色ズレを削減する画像処理について、図14のフローチャートを用いて説明する。   Image processing for reducing color misregistration according to the first embodiment of the present invention will be described with reference to the flowchart of FIG.

1402 ブロックセレクション
メモリ104またはHDD107より読み出されたラスタイメージデータを、文字あるいは線画を含む文字・線画領域と、ハーフトーンの写真領域、不定形の画像領域その他に分ける。さらに文字・線画領域について、主に文字を含む文字領域と、主に表、図形等を含む線画領域とを分離し、線画領域は表領域と図形領域に分離する。なお、本実施形態では連結画素を検知し、該連結画素の外接矩形領域の形状・サイズ・画素密度等を用いて、属性毎の領域に分離する。
1402 Block selection The raster image data read from the memory 104 or the HDD 107 is divided into a character / line drawing area including characters or line drawings, a halftone photo area, an irregular image area, and the like. Further, with respect to the character / line drawing area, a character area mainly including characters and a line drawing area mainly including tables and figures are separated, and the line drawing area is separated into a table area and a graphic area. In the present embodiment, connected pixels are detected and separated into regions for each attribute using the shape, size, pixel density, etc. of the circumscribed rectangular region of the connected pixels.

文字領域については、文字段落ごとの纏まった塊をブロックとして矩形ブロック(文字領域矩形ブロック)にセグメント化される。線画領域では、表、図形等の個々のオブジェクト(表領域矩形ブロック、線画領域矩形ブロック)ごとに矩形ブロックにセグメント化される。   The character area is segmented into rectangular blocks (character area rectangular blocks) using a cluster of each character paragraph as a block. In the line drawing area, each object (table area rectangular block, line drawing area rectangular block) such as a table or a figure is segmented into rectangular blocks.

ハーフトーンで表現される写真領域は、画像領域矩形ブロック、背景領域矩形ブロック等のオブジェクトごとに、矩形ブロックにセグメント化される。   A photo area expressed in halftone is segmented into rectangular blocks for each object such as an image area rectangular block and a background area rectangular block.

1403 注目する画像候補抽出
1402において矩形ブロックにセグメント化された線画または文字または写真領域の一つに注目する。例えば、重なりの最も一番上の矩形ブロック、その中でも最も左上の矩形ブロックから順次右下の矩形ブロックという順番で同じ重なりの矩形ブロックの処理が終了したら、さらに重なりの下の方の矩形ブロックへという順番で注目する矩形ブロックを切り替える。
1403 Extraction of candidate image candidate to be noticed At 1402, attention is paid to one of a line drawing, a character, or a photograph area segmented into rectangular blocks. For example, when processing of the same overlapping rectangular block is completed in the order of the uppermost rectangular block of the overlap, in particular, the upper left rectangular block and the lower right rectangular block in this order, further to the lower rectangular block of the overlapping Switch the target rectangular block in this order.

1404 予め登録されている画像を画像候補の画像サイズに拡大縮小
予め登録された色ズレを起こしたくない画像データを、注目している画像候補の画像サイズとほぼ同じ大きさになるように拡大縮小する。
1404 Enlargement / reduction of pre-registered image to image size of image candidate Enlargement / reduction of pre-registered image data that does not cause color misregistration so that it is approximately the same size as the image candidate of interest To do.

1405 画像比較
予め登録されている画像を拡大縮小した画像と注目している画像候補を2値化または輪郭抽出を行う。
1405 Image comparison Binarization or contour extraction is performed on an image obtained by enlarging or reducing a pre-registered image and a focused image candidate.

1406 画像比較
2値化または輪郭抽出された画像を比較する。しきい値以上の割合で2値画像もしくは輪郭が一致したら、次に「Y」の分岐つまり1407へ進む。2値画像もしくは輪郭が一致しなかったら、次に「N」の分岐つまり1407をスキップして1408へ進む。
1406 Image comparison Compares binarized or contour extracted images. If the binary images or contours match at a rate equal to or greater than the threshold value, the process proceeds to the “Y” branch, ie, 1407. If the binary image or the outline does not match, the branch of “N”, that is, 1407 is skipped and the process proceeds to 1408.

1407 予め登録されている画像の色で置き換え
画像候補の色を、予め登録されている画像の色で置き換える。
1407 Replace with pre-registered image color Replace the color of the image candidate with the pre-registered image color.

1408 全ブロック比較したか?
ページ中の全矩形ブロックに対して、1403〜1407の処理が行われたか判断する。全矩形ブロックの処理が済んでいたならば、次に「Y」の分岐つまり1409に進む。処理が済んでいない矩形ブロックが存在するなら、次に「N」の分岐つまり1403に進む。
1408 Have you compared all blocks?
It is determined whether the processing of 1403 to 1407 has been performed on all rectangular blocks in the page. If all rectangular blocks have been processed, the process proceeds to the “Y” branch, that is, 1409. If there is a rectangular block that has not been processed, the process proceeds to the “N” branch, that is, 1403.

1409 終了
色補正の処理が終了して、再びメモリ104またはHDD107に色補正された画像データを記憶させる。
1409 End The color correction processing is ended, and the color-corrected image data is stored in the memory 104 or the HDD 107 again.

以上説明したように、予め登録された画像データと似た画像データの色を予め登録された画像データの色に置き換える事で、色ズレの少ない画像処理装置を実現する事が出来る。   As described above, by replacing the color of image data similar to the image data registered in advance with the color of the image data registered in advance, an image processing apparatus with little color misregistration can be realized.

ここで、説明のため、図12のスキャナ111から入力された画像データは画像処理部110において、所定の画像処理が実施された後、コントローラのメモリ104またはHDD107に記憶された画像データを用いて、色ズレを削減する画像処理を行うとして説明して来たが、スキャナ111から入力された画像データが画像処理部110を通る際に、色ズレを削減する画像処理を行っても良い。   Here, for the sake of explanation, the image data input from the scanner 111 in FIG. 12 is subjected to predetermined image processing in the image processing unit 110, and is then used using the image data stored in the memory 104 or the HDD 107 of the controller. Although the image processing for reducing color misregistration has been described, image processing for reducing color misregistration may be performed when the image data input from the scanner 111 passes through the image processing unit 110.

ここで、1403において、重なりの上から下へという順番で注目する画像候補を選択するとして説明して来たが、本発明はこの順番によらず、ブロックセレクションされた全ての矩形ブロックに対して、図14の処理が行われれば良い事は言うまでもない。   Here, in 1403, it has been described that an image candidate to be noticed is selected in the order from the top to the bottom of the overlap. However, the present invention does not depend on this order and applies to all rectangular blocks that have been block-selected. Needless to say, the processing of FIG. 14 may be performed.

ここで、1404において、予め登録された画像データを拡大縮小するとして説明してきたが、予め登録された画像データを拡大縮小せずに、1403で抽出された矩形ブロックを拡大縮小しても良い。
[第2の実施形態]
しかしながら、第1の実施形態は、予め登録された画像データとスキャンした画像データから抽出されたマーク候補の画像データの拡大縮小率を完全に一致させることは難しく、比較時にある程度の誤差を許容する必要があった。そのため、予め登録された画像データでない画像を誤って認識してしまうことがあった。
Here, although it has been described that the pre-registered image data is enlarged / reduced in 1404, the rectangular block extracted in 1403 may be enlarged / reduced without enlarging / reducing the pre-registered image data.
[Second Embodiment]
However, in the first embodiment, it is difficult to completely match the enlargement / reduction ratio of the image data of the mark candidates extracted from the pre-registered image data and the scanned image data, and a certain amount of error is allowed at the time of comparison. There was a need. Therefore, an image that is not pre-registered image data may be erroneously recognized.

上記問題点を解決するための本発明の第2の実施形態の構成を、図17のフローチャートを用いて説明する。   The configuration of the second embodiment of the present invention for solving the above problem will be described with reference to the flowchart of FIG.

1702 ブロックセレクション
1402と同様にメモリ104またはHDD107より読み出されたラスタイメージデータを、矩形ブロックに分ける。
1702 Block selection The raster image data read from the memory 104 or the HDD 107 is divided into rectangular blocks in the same manner as the block selection 1402.

1703 注目する画像候補抽出
1403と同様に1702で分割した矩形ブロックの中から評価対象の一つを選ぶ。
1703 Image candidate extraction to be noticed Similar to 1403, one of the evaluation targets is selected from the rectangular blocks divided by 1702.

1704 注目画像候補をベクタ化
1703で選ばれた注目画像候補をラスターデータからベクタデータに変換する。
1704: Vectorizing candidate image of interest The candidate image of interest selected in 1703 is converted from raster data to vector data.

ベクタ化の詳細は、後に(S52)ベクトル化ステップで説明する。   Details of vectorization will be described later (S52) in the vectorization step.

1705 画像比較
予め登録されている画像は第一の実施例ではラスタ画像だったが本実施例ではベクタ画像で格納されている。前記予め登録されたベクタ画像と1703でベクタ化した画像の画像の大きさをそろえて比較する。ベクタ画像であるので、解像度変換による誤差の発生は無い。比較した結果、しきい値以上の割合で画像のベクタが一致したら、次に「Y」の分岐つまり1706へ進む。しきい値以上の割合で画像のベクタが一致しなかったら、次に「N」の分岐つまり1706をスキップして1707へ進む。
1705 Image Comparison The previously registered image is a raster image in the first embodiment, but is stored as a vector image in this embodiment. The pre-registered vector image and the image vectorized by 1703 are compared in size. Since it is a vector image, no error occurs due to resolution conversion. As a result of the comparison, if the image vectors match at a rate equal to or greater than the threshold, the process proceeds to the “Y” branch, that is, 1706. If the image vectors do not match at a rate equal to or greater than the threshold, then the “N” branch, that is, 1706 is skipped and the process proceeds to 1707.

1706 予め登録されている画像の色で置き換え
1407と同様に、画像候補の色を、予め登録されている画像の色で置き換える。
1706 Replace with Pre-registered Image Color Similar to 1407, replace the image candidate color with the pre-registered image color.

1707 全ブロック比較したか?
1408と同様に、ページ中の全矩形ブロックに対して、1703〜1706の処理が行われたか判断する。全矩形ブロックの処理が済んでいたならば、次に「Y」の分岐つまり1708に進む。処理が済んでいない矩形ブロックが存在するなら、次に「N」の分岐つまり1703に進む。
1707 Have you compared all blocks?
As in 1408, it is determined whether the processing of 1703 to 1706 has been performed for all rectangular blocks in the page. If all rectangular blocks have been processed, the process proceeds to the “Y” branch, that is, 1708. If there is a rectangular block that has not been processed, the process proceeds to the “N” branch, that is, 1703.

1708 終了
色補正の処理が終了して、再びメモリ104またはHDD107に色補正された画像データを記憶させる。
1708 End The color correction process ends, and the color-corrected image data is stored in the memory 104 or the HDD 107 again.

以上説明したように、予め登録された画像データと似た画像データの色を予め登録された画像データの色に置き換える事で、色ズレの少ない画像処理装置を実現する事が出来る。その際、画像をベクタ化してから比較する事で、解像度変換に伴う誤差の発生を無くす事が出来、精度の高い画像比較が可能となる。   As described above, by replacing the color of image data similar to the image data registered in advance with the color of the image data registered in advance, an image processing apparatus with little color misregistration can be realized. At that time, by comparing the images after vectorizing them, it is possible to eliminate the error caused by the resolution conversion, and it is possible to compare the images with high accuracy.

[MFP装置概要]
以下に図を用いて、本発明の装置及びその動作について詳細に説明する。
[Outline of MFP equipment]
Hereinafter, the apparatus of the present invention and its operation will be described in detail with reference to the drawings.

図1は、本発明に係るMFPコントローラの第2実施形態を示すブロック図である。   FIG. 1 is a block diagram showing a second embodiment of the MFP controller according to the present invention.

MFPコントローラ1はシステムバスブリッジ(SBB)2によりCPU3、メモリコントローラ(MC)4、汎用バス6、タイル⇔ページベクタ変換部13、ラスタ→タイルベクタ変換部14、タイルベクタ展開部(RIP)18、が接続されている。RIP18は複数の小展開部(μRIPa〜d)で構成される。   The MFP controller 1 is connected to the CPU 3, the memory controller (MC) 4, the general-purpose bus 6, the tile tile page vector conversion unit 13, the raster → tile vector conversion unit 14, and the tile vector development unit (RIP) 18 through a system bus bridge (SBB) 2. Has been. The RIP 18 is composed of a plurality of small development parts (μRIPa to d).

MC4の先にはシステムメモリ(Memory)5が接続されており、画像データを一時記憶するための媒体として使われる。   A system memory (Memory) 5 is connected to the tip of the MC 4 and is used as a medium for temporarily storing image data.

汎用バス6には画像データを蓄積するためのHDD8を制御するハードディスクコントローラ(HDDCont)7及び操作部(LCD)10を制御する操作部コントローラ(LCDC)9及び、MFPが接続されているネットワーク12を介して、外部機器間との画像データの転送を行うインターフェースになるLANI/F11が接続されている。   The general-purpose bus 6 includes a hard disk controller (HDDCont) 7 that controls the HDD 8 for storing image data, an operation unit controller (LCDC) 9 that controls the operation unit (LCD) 10, and a network 12 to which the MFP is connected. The LAN I / F 11 serving as an interface for transferring image data between external devices is connected.

ラスタ→タイルベクタ変換部14の先には画像処理部15が接続され、さらに画像処理部15にはスキャナ16及びプリンタ17が接続されている。   An image processing unit 15 is connected to the tip of the raster → tile vector conversion unit 14, and a scanner 16 and a printer 17 are connected to the image processing unit 15.

また、SBB2にはRIP18が接続され、その先にはRIP18から出力されるデータを記憶するローカルメモリ(LocalMemory)19が接続されている。   In addition, a RIP 18 is connected to the SBB2, and a local memory (LocalMemory) 19 for storing data output from the RIP 18 is connected to the SBB2.

コントローラ1でハンドリングされる画像データは、外部機器との入出力はページベクタ(PDL、PDF、SVGなど)、スキャナやプリンタとの入出力はラスターデータでインターフェースされる。コントローラ1では、従来のMFPと異なり、スキャン画像はタイルベクタ⇔ラスタラスタ→タイルベクタ変換部14でタイルベクタに変換される。また、DLデータはRIP18に接続されたローカルメモリ18に記憶される。従って、システムメモリ103上には、ページベクタとタイルベクタデータの2種類の画像のみが記憶される。つまり、画像サイズの大きいラスターデータ及びDLデータをシステムメモリ5に記憶する必要がなくなるため、システムメモリ上で確保しなければならない画像データ領域を削減することができる。   The image data handled by the controller 1 is interfaced with page vectors (PDL, PDF, SVG, etc.) for input / output with an external device, and raster data for input / output with a scanner or printer. In the controller 1, unlike a conventional MFP, the scanned image is converted into a tile vector by a tile vector / raster raster → tile vector conversion unit 14. The DL data is stored in the local memory 18 connected to the RIP 18. Accordingly, only two types of images of page vector and tile vector data are stored on the system memory 103. That is, since it is not necessary to store raster data and DL data having a large image size in the system memory 5, it is possible to reduce an image data area that must be secured on the system memory.

また、RIP18から出力されるDLデータはタイル単位に分割されたDLデータで記憶されるため、従来のページ単位のDLデータに比べ、非常に少ないメモリ容量で記憶できる。従って、ローカルメモリ19はオンチップ上に実装することが可能になり、メモリレイテンシを小さくできる。その結果、タイルデータ展開速度を高速化することが可能となる。かつ、タイリングされたデータのみを画像データとしてHDD8上に記憶すれば良いので、HDDへのアクセス速度のボトルネックが緩和され、データ処理の高速化が図れる。同時に、タイル化することによりRIPのコストダウンも可能となる。   In addition, since the DL data output from the RIP 18 is stored as DL data divided into tile units, it can be stored with a very small memory capacity compared to conventional DL data in page units. Therefore, the local memory 19 can be mounted on-chip, and the memory latency can be reduced. As a result, the tile data development speed can be increased. In addition, since only the tiled data needs to be stored on the HDD 8 as image data, the bottleneck of the access speed to the HDD is alleviated and the data processing can be speeded up. At the same time, the cost of RIP can be reduced by tiling.

より、高い処理能力が要求される場合は、RIP内に備えるμRIPを並列に複数実装することで処理能力を可変できる。すなわち、コントローラの処理能力がシンプルに調整できることから、スケーラビリティの確保が容易なシステムを構築できる。   When a higher processing capability is required, the processing capability can be varied by mounting a plurality of μRIPs provided in the RIP in parallel. That is, since the processing capacity of the controller can be simply adjusted, a system that can easily ensure scalability can be constructed.

以下に、本発明に係るMFPを動作させた時の各画像処理フローについて説明する。   Hereinafter, each image processing flow when the MFP according to the present invention is operated will be described.

[コピー]
図2にコピー動作させた時のMFP内のデータフローを示す。図2中に描かれた矢印はデータの流れを表す。実線で描かれた矢印はラスタ画像、破線で描かれた矢印はタイル化されたベクタ画像、1点鎖線で描かれた矢印はページ全体を記述したベクタ画像が流れることを意味する。ページベクタ及びタイルベクタ画像については、後述のタイル⇔ページベクタ変換部で詳細に説明する。
[copy]
FIG. 2 shows a data flow in the MFP when the copy operation is performed. The arrows drawn in FIG. 2 represent the flow of data. An arrow drawn with a solid line means a raster image, an arrow drawn with a broken line means a tiled vector image, and an arrow drawn with an alternate long and short dash line means that a vector image describing the entire page flows. The page vector and tile vector image will be described in detail in a tile-page vector conversion unit described later.

(S21):
操作部(LCD)10より、ユーザーがコピー開始を指示すると、スキャナ14は原稿画像の読み取り動作を開始する。
(S21):
When the user gives an instruction to start copying from the operation unit (LCD) 10, the scanner 14 starts a document image reading operation.

スキャナ14より画像処理部13へ入力された画像(R、G、B)は画像処理ブロックのクロック同期に周波数変換された後、以下の処理をされる。   The image (R, G, B) input from the scanner 14 to the image processing unit 13 is subjected to the following processing after being frequency-converted to the clock synchronization of the image processing block.

・CCDセンサのラインピッチや色収差などスキャナ特性の補正。   -Correction of scanner characteristics such as CCD sensor line pitch and chromatic aberration.

・色空間補正やシャープネスといった入力画像データの画質補正。   -Image quality correction of input image data such as color space correction and sharpness.

・入力画像データの枠消しやブック枠消しといった、画像加工。   ・ Image processing such as erasing input image data and erasing book frames.

(S22):
前記画像処理が終了し、画像処理部13から出力された画像データはラスタ→タイルベクタ変換部12に入力され、タイルベクタ変換処理を行う。すなわち、画像データを所定の大きさのブロックに分割し、各ブロック内のラスター画像に対して、ベクトル化処理を行いブロック単位のベクタ画像を生成する。
(S22):
When the image processing is completed, the image data output from the image processing unit 13 is input to the raster-to-tile vector conversion unit 12 to perform tile vector conversion processing. That is, the image data is divided into blocks of a predetermined size, and a vectorization process is performed on the raster image in each block to generate a vector image in units of blocks.

生成されたベクタ画像はSBB2によりバスの調停を受け、システムメモリ5へのバス権を取得し、MC4を介して、前記タイルベクタをシステムメモリ5に記憶させる。(なお、SBB2経由でデータパスが接続される場合は、基本的にバスの調停を受け、バス権を取得する手続きを踏むが以降のフロー説明では省略する。)
(S23):
システムメモリ5に記憶されたタイルベクタ画像は、HDDCont7とMC4を介してSBB2経由でHDD8に記憶される。HDD8に画像データを記憶することにより、複数部の原稿をコピーする時にソーティングをして、ページ順を変えて出力したり、MFP内に保存文書として記憶したりすることができる。
The generated vector image is subjected to bus arbitration by the SBB 2, acquires the bus right to the system memory 5, and stores the tile vector in the system memory 5 through the MC 4. (Note that when a data path is connected via SBB2, the procedure for acquiring the bus right is basically received after bus arbitration, but this is omitted in the subsequent flow description.)
(S23):
The tile vector image stored in the system memory 5 is stored in the HDD 8 via the SBB 2 via the HDDCont 7 and the MC 4. By storing image data in the HDD 8, sorting can be performed when copying a plurality of originals, and the pages can be output in a different order or stored as a saved document in the MFP.

(S24):
HDD8に記憶されたタイルベクタ画像はプリンタ15内の不図示のCPUから送られてくるプリンタレディのタイミングに合わせて、HDDCont7により読み出され、SBB2、MC4を経由してシステムメモリ5に一時的に記憶される。
(S24):
The tile vector image stored in the HDD 8 is read out by the HDDCont 7 in accordance with the printer ready timing sent from the CPU (not shown) in the printer 15 and temporarily stored in the system memory 5 via the SBB 2 and MC 4. Is done.

仮に、読み取った画像データをHDD8からダイレクトにプリンタへ読み出した場合、HDD8のアクセススピードが律則になったり、汎用バス6のバスの混雑度合によりプリンタに同期して出力することが保証できなくなる。そのため、プリンタに同期してデータ転送を行う前に、システムメモリ5にページデータをスプールしておくことで、リアルタイムなスループットを保証する。   If the read image data is directly read from the HDD 8 to the printer, it cannot be guaranteed that the access speed of the HDD 8 becomes regular, or that it is output in synchronization with the printer due to the degree of congestion of the general-purpose bus 6. Therefore, spooling page data in the system memory 5 before data transfer in synchronization with the printer guarantees real-time throughput.

(S25):
システムメモリ5に記憶されたタイルベクタ画像は、プリンタ15からコントローラ1に送られる起動信号に従って、MC4によって読み出され、SBB2を介してRIP18に転送される。
(S25):
The tile vector image stored in the system memory 5 is read by the MC 4 in accordance with an activation signal sent from the printer 15 to the controller 1 and transferred to the RIP 18 via the SBB 2.

RIP18ではまず、タイルベクタを解析し、タイル単位の描画オブジェクト(タイルDLデータ)の生成(インタプリット)を行う。生成されたタイルDLデータはローカルメモリ18に一旦記憶される。   First, the RIP 18 analyzes a tile vector and generates (interprets) a drawing object (tile DL data) in units of tiles. The generated tile DL data is temporarily stored in the local memory 18.

RIP18はローカルメモリからタイルDLデータを読み出して、タイル単位のラスタ画像へと展開し、出力する。   The RIP 18 reads the tile DL data from the local memory, develops it into a raster image in units of tiles, and outputs it.

本実施例では前述のように、RIP18内にμRIPa〜μRIPdの4つを備えている。コントローラ1はμRIPa〜μRIPdを並列に動作させることにより、タイルベクタの展開を高速に行わせる。システムのパフォーマンスはベクタ展開時間が支配的であり、このμRIPを増やすことでパフォーマンスアップが見込めるため、本発明のような構成を用いると容易にスケーラブルなシステムを構築することが可能となる。   In this embodiment, as described above, the RIP 18 includes four μRIPa to μRIPd. The controller 1 operates μRIPa to μRIPd in parallel, thereby expanding the tile vector at high speed. The system performance is dominated by the vector expansion time, and the performance can be improved by increasing the μRIP. Therefore, it is possible to easily construct a scalable system by using the configuration of the present invention.

(S26):
RIP18によってタイル単位にラスタライズされた画像データは、画像処理部に転送され、以下の処理が実行される。
(S26):
The image data rasterized in tile units by the RIP 18 is transferred to the image processing unit, and the following processing is executed.

タイル単位のラスタ画像からページ単位のラスタ画像への変換処理。   Conversion processing from a tile unit raster image to a page unit raster image.

プリンタの特性に合わせた出力画像の色や濃度の補正処理。   Output color and density correction processing that matches the printer characteristics.

画像データを量子化して出力画像の階調変換を行う中間調処理。   Halftone processing that quantizes image data and performs tone conversion of the output image.

プリンタI/Fクロックに同期して画像を出力するための周波数変換処理。
画像処理部15で前記画像処理を実行されたラスタ画像データはプリンタ15に転送され、記録媒体上に印字され出力される。
Frequency conversion processing to output images in synchronization with the printer I / F clock.
The raster image data subjected to the image processing by the image processing unit 15 is transferred to the printer 15, printed on a recording medium, and output.

[プリント]
図3にプリント動作させた時のMFP内のデータフローを示す。
[Print]
FIG. 3 shows a data flow in the MFP when the printing operation is performed.

(S31):
ネットワーク12に接続された外部機器より、汎用バス6に接続されたLAN I/F11がページベクタ形式の画像データを受信する。そしてSBB2の先に接続されたMC4を介してシステムメモリ5に転送する。
(S31):
The LAN I / F 11 connected to the general-purpose bus 6 receives page vector format image data from an external device connected to the network 12. Then, the data is transferred to the system memory 5 via the MC 4 connected to the end of the SBB 2.

(S32):
システムメモリ5に記憶されたページベクタ画像はタイル⇔ページベクタ変換部13より読み出され、タイルベクタ変換処理を行う。すなわち、ページベクタ内に存在するオブジェクトを所定の大きさのブロック(タイル)内に収まるオブジェクトに分割し、タイル単位のベクタ画像を生成する。
(S32):
The page vector image stored in the system memory 5 is read out from the tile / page vector conversion unit 13 and performs tile vector conversion processing. That is, an object existing in a page vector is divided into objects that can be contained in a block (tile) having a predetermined size, and a vector image in units of tiles is generated.

(S33):
生成されたベクタ画像はSBB2を介して再びシステムメモリ5に記憶される。
(S33):
The generated vector image is stored again in the system memory 5 via the SBB 2.

(S33):
システムメモリ5に記憶されたタイルベクタ画像は、HDDCont7とMC4を介してSBB2経由でHDD8に記憶される。HDD8に画像データを記憶することにより、複数部の原稿をコピーする時にソーティングをして、ページ順を変えて出力したり、MFP内に保存文書として記憶したりすることができる。
(S33):
The tile vector image stored in the system memory 5 is stored in the HDD 8 via the SBB 2 via the HDDCont 7 and the MC 4. By storing image data in the HDD 8, sorting can be performed when copying a plurality of originals, and the pages can be output in a different order or stored as a saved document in the MFP.

(S34):
HDD8に記憶されたタイルベクタ画像はプリンタ15内の不図示のCPUから送られてくるプリンタレディのタイミングに合わせて、HDDCont7により読み出され、SBB2、MC4を経由してシステムメモリ5に一時的に記憶される。
(S34):
The tile vector image stored in the HDD 8 is read out by the HDDCont 7 in accordance with the printer ready timing sent from the CPU (not shown) in the printer 15 and temporarily stored in the system memory 5 via the SBB 2 and MC 4. Is done.

読み取った画像データをHDD8からダイレクトにプリンタへ読み出した場合、HDD8のアクセススピードが律則になったり、汎用バス6のバスの混雑度合によりプリンタに同期して出力することが保証できなくなる。そのため、プリンタに同期してデータ転送を行う前に、システムメモリ5に1ページ分のタイルベクタデータをスプールすることにより、リアルタイムなスループットを保証する。   When the read image data is read directly from the HDD 8 to the printer, it cannot be guaranteed that the access speed of the HDD 8 becomes regular, or that the output is synchronized with the printer due to the degree of congestion of the general-purpose bus 6. Therefore, before transferring data in synchronization with the printer, the tile vector data for one page is spooled in the system memory 5 to guarantee real-time throughput.

(S35):
システムメモリ5に記憶されたタイルベクタ画像は、プリンタ15からコントローラ1に送られる起動信号に従って、MC4によって読み出され、SBB2を介してRIP18に転送される。
(S35):
The tile vector image stored in the system memory 5 is read by the MC 4 in accordance with an activation signal sent from the printer 15 to the controller 1 and transferred to the RIP 18 via the SBB 2.

(S36):
RIP18ではまず、タイルベクタを解析し、タイル単位の描画オブジェクト(タイルDLデータ)の生成(インタプリット)を行う。生成されたタイルDLデータはローカルメモリ18に一旦記憶される。
(S36):
First, the RIP 18 analyzes a tile vector and generates (interprets) a drawing object (tile DL data) in units of tiles. The generated tile DL data is temporarily stored in the local memory 18.

RIP18はローカルメモリからタイルDLデータを読み出して、タイル単位のラスタ画像へと展開し、出力する。本実施例では、RIP18内に小展開部μRIPa〜μRIPdの4つを備えている。   The RIP 18 reads the tile DL data from the local memory, develops it into a raster image in units of tiles, and outputs it. In the present embodiment, the RIP 18 includes four small development portions μRIPa to μRIPd.

前記μRIPa〜μRIPdを並列に動作させることにより、タイルベクタの展開を高速に行わせる。システムのパフォーマンスはベクタ展開時間が支配的であり、このμRIPを増やすことでパフォーマンスアップが見込めるため、本発明のような構成を用いると容易にスケーラブルなシステムを構築することが可能となる。   The tile vectors are developed at high speed by operating the μRIPa to μRIPd in parallel. The system performance is dominated by the vector expansion time, and the performance can be improved by increasing the μRIP. Therefore, it is possible to easily construct a scalable system by using the configuration of the present invention.

(S37):
RIP18によってタイル単位にラスタライズされた画像データは、画像処理部に転送され、以下の処理が実行される。
(S37):
The image data rasterized in tile units by the RIP 18 is transferred to the image processing unit, and the following processing is executed.

タイル単位のラスタ画像からページ単位のラスタ画像への変換処理。   Conversion processing from a tile unit raster image to a page unit raster image.

プリンタの特性に合わせた出力画像の色や濃度の補正処理。   Output color and density correction processing that matches the printer characteristics.

画像データを量子化して出力画像の階調変換を行う中間調処理
プリンタI/Fクロックに同期して画像を出力するための周波数変換処理。
Halftone processing for quantizing image data and converting the gradation of the output image Frequency conversion processing for outputting the image in synchronization with the printer I / F clock.

画像処理部15で前記画像処理を実行されたラスター画像データはプリンタ15に転送され、記録媒体上に印字され出力される。   The raster image data subjected to the image processing by the image processing unit 15 is transferred to the printer 15, printed on a recording medium, and output.

[送信]
図4にネットワーク送信させた時のMFP内のデータフローを示す。画像データをHDD8に格納するまでのフローについては、スキャン画像の場合は[コピー]とネットワーク上の外部機器からの入力された画像の場合は[プリント]と同じなので割愛する。
[Send]
FIG. 4 shows the data flow in the MFP when it is transmitted over the network. The flow until image data is stored in the HDD 8 is omitted because it is the same as [Copy] for a scanned image and [Print] for an image input from an external device on the network.

(S41):
HDD8に記憶されたタイルベクタ画像はSBB2を介して、汎用バス6に接続されたHDDCont7より読み出され、システムメモリ5に一時的に記憶される。
(S41):
The tile vector image stored in the HDD 8 is read from the HDDCont 7 connected to the general-purpose bus 6 via the SBB 2 and temporarily stored in the system memory 5.

(S42):
システムメモリ5に記憶されたタイルベクタ画像はタイル⇔ページベクタ変換部11より読み出され、タイルベクタ変換処理を行う。すなわち、ブロック単位に分割されたオブジェクトを結合し、ページ全体でオブジェクトを記述したページベクタ画像を生成する。
(S42):
The tile vector image stored in the system memory 5 is read from the tile / page vector conversion unit 11 and performs tile vector conversion processing. That is, the objects divided into blocks are combined to generate a page vector image describing the object in the entire page.

(S43):
生成されたページベクタ画像はSBB2を介して再びシステムメモリ5に記憶される。
(S43):
The generated page vector image is stored again in the system memory 5 via the SBB 2.

(S44):
システムメモリ5中に記憶されたページベクタ画像は、汎用バス6に接続されたLAN I/F11から読み出され、ネットワーク12に接続された外部機器へと転送される。
(S44):
The page vector image stored in the system memory 5 is read from the LAN I / F 11 connected to the general-purpose bus 6 and transferred to an external device connected to the network 12.

本発明のように、外部機器に送信する際にタイルベクタ画像をページベクタ画像に戻し、オブジェクト数を減らすことで、送信データ量が削減できる。また、PDFやSVG等の汎用フォーマットへ容易に変換することができる。   As in the present invention, when transmitting to an external device, the tile vector image is returned to the page vector image and the number of objects is reduced, so that the amount of transmission data can be reduced. In addition, it can be easily converted to general-purpose formats such as PDF and SVG.

[ラスタ−タイルベクタ変換部]
コントローラ1中のラスタ→タイルベクタ変換部14の詳細について説明する。図5はラスタータイル変換部14の内部処理フローを表す。
[Raster-Tile Vector Converter]
Details of the raster-to-tile vector conversion unit 14 in the controller 1 will be described. FIG. 5 shows an internal processing flow of the raster tile conversion unit 14.

ラスタ→タイルベクタ変換部14は以下の各ステップにより実行される。   The raster → tile vector conversion unit 14 is executed by the following steps.

(S51)BS(ブロックセレクション):
画像処理部15より入力されたラスタイメージデータを、文字あるいは線画を含む文字・線画領域と、ハーフトーンの写真領域、不定形の画像領域その他に分ける。さらに文字・線画領域について、主に文字を含む文字領域と、主に表、図形等を含む線画領域とを分離し、線画領域は表領域と図形領域に分離する。なお、本実施形態では連結画素を検知し、該連結画素の外接矩形領域の形状・サイズ・画素密度等を用いて、属性毎の領域に分離する。
(S51) BS (block selection):
The raster image data input from the image processing unit 15 is divided into a character / line drawing area including characters or line drawings, a halftone photo area, an irregular image area, and the like. Further, with respect to the character / line drawing area, a character area mainly including characters and a line drawing area mainly including tables and figures are separated, and the line drawing area is separated into a table area and a graphic area. In the present embodiment, connected pixels are detected and separated into regions for each attribute using the shape, size, pixel density, etc. of the circumscribed rectangular region of the connected pixels.

文字領域については、文字段落ごとの纏まった塊をブロックとして矩形ブロック(文字領域矩形ブロック)にセグメント化される。線画領域では、表、図形等の個々のオブジェクト(表領域矩形ブロック、線画領域矩形ブロック)ごとに矩形ブロックにセグメント化される。   The character area is segmented into rectangular blocks (character area rectangular blocks) using a cluster of each character paragraph as a block. In the line drawing area, each object (table area rectangular block, line drawing area rectangular block) such as a table or a figure is segmented into rectangular blocks.

ハーフトーンで表現される写真領域は、画像領域矩形ブロック、背景領域矩形ブロック等のオブジェクトごとに、矩形ブロックにセグメント化される。   A photo area expressed in halftone is segmented into rectangular blocks for each object such as an image area rectangular block and a background area rectangular block.

分離された各領域は、さらに所定の大きさの領域(タイル)単位に分割され、タイル単位で次のベクトル化ステップでベクトル化処理される。   Each separated region is further divided into regions (tiles) of a predetermined size, and vectorized in the next vectorization step in units of tiles.

(S52)ベクトル化ステップ:
ベクトル化処理により各属性領域のイメージデータをベクトルデータに変換する。ベクトル化の方法は、以下(a)〜(f)等が存在する。
(S52) Vectorization step:
Image data of each attribute area is converted into vector data by vectorization processing. The vectorization methods include the following (a) to (f).

(a)属性領域が文字領域のとき、さらにOCRによる文字画像のコード変換を行ったり、あるいは文字のサイズ、スタイル、字体を認識し、原稿を走査して得られた文字に可視的に忠実なフォントデータに変換する。   (A) When the attribute area is a character area, the character image code conversion is further performed by OCR, or the character size, style and font are recognized, and the character obtained by scanning the document is visually faithful. Convert to font data.

(b)属性領域が文字領域であり、かつOCRによる認識が不可能であったとき、文字の輪郭を追跡し、輪郭情報(アウトライン)を線分のつながりとして表現する形式に変換する。   (B) When the attribute area is a character area and cannot be recognized by OCR, the outline of the character is traced, and the outline information (outline) is converted into a format that represents the connection of line segments.

(c)属性領域が図形領域のとき、図形オブジェクトの輪郭を追跡し、輪郭情報を線分のつながりとして表現する形式に変換する。   (C) When the attribute region is a graphic region, the contour of the graphic object is tracked and converted into a format in which the contour information is expressed as a connection of line segments.

(d)b、cの線分形式のアウトライン情報をベジエ関数などでフィッティングして、関数情報に変換する。   (D) Fitting the outline information in the line segment format of b and c with a Bezier function or the like to convert it into function information.

(e)cの図形オブジェクトの輪郭情報から、図形の形状を認識し、円、矩形、多角形、等の図形定義情報に変換する。   (E) The shape of the figure is recognized from the contour information of the figure object of c, and converted into figure definition information such as a circle, a rectangle, and a polygon.

(f)属性領域が図形領域であって、特定領域の表形式のオブジェクトの場合、罫線や枠線を認識し、所定のフォーマットの帳票フォーマット情報に変換する。   (F) When the attribute area is a graphic area and the object is a tabular object in the specific area, the ruled line and the frame line are recognized and converted into form format information of a predetermined format.

(S53)タイルベクタ生成:
S52でa〜fのフォーマットコード情報、図形情報、関数情報といったコマンド定義形の情報にベクトル変換されたデータに対し、コントローラ1内でページベクタかタイルベクタかを判別するベクタタイプや当該タイルのページ内の座標位置など判別するためのヘッダ情報を付加する。このようにして、タイル単位にパッキングされたタイルベクタデータをSBB2へ出力する。
(S53) Tile vector generation:
A vector type for determining whether a page vector or a tile vector in the controller 1 is used for the data converted into command definition information such as format code information, graphic information, function information such as a to f in S52, and the page of the tile. The header information for discriminating the coordinate position is added. In this way, tile vector data packed in units of tiles is output to SBB2.

[タイル⇔ページベクタ変換部]
コントローラ1中のタイル⇔ページベクタ変換部13の詳細について説明する。
[Tile tile page vector conversion part]
Details of the tile tile page vector conversion unit 13 in the controller 1 will be described.

図8は、ネットワーク上の外部機器のアプリケーションで作成されたドキュメントである。便宜上、ドキュメントの短手方向を‘X’方向、長手方向を‘Y’方向と定義する。   FIG. 8 shows a document created by an application of an external device on the network. For convenience, the short direction of the document is defined as the 'X' direction, and the long direction is defined as the 'Y' direction.

図9は図8のドキュメントのプリンタ出力を指示するページベクタ(PDLコマンド)の記述例である。   FIG. 9 is a description example of a page vector (PDL command) that instructs printer output of the document of FIG.

図9において、901はドキュメント全体の設定に関わるドキュメント設定命令、902は文字の描画命令、903は図形の描画命令を示している。   In FIG. 9, reference numeral 901 denotes a document setting command relating to setting of the entire document, 902 denotes a character drawing command, and 903 denotes a graphic drawing command.

901から903の描画命令の詳細について説明する。   Details of the drawing commands 901 to 903 will be described.

C1〜C5は、ドキュメント全体に関係するコマンドである。従って、これらのコマンドC1〜C5はドキュメント1部について1ケ所しか付いていない。これらドキュメント全体に関係するコマンドには、例えば、キャラクタセットコマンド(フォント指定コマンド)、スケーラブルフォントコマンド(スケーラブルフォントを使用するか否かを指定するコマンド)、ハードリセットコマンド(以前のプリンタ使用環境をリセットするコマンド)、などがある。C1はドキュメント設定開始コマンドである。C2はドキュメントの出力用紙サイズを表すコマンドで、この場合にはA4の設定になっている。次のC3はドキュメントの方向を示している。ポートレートとランドスケープがあるが、この場合にはポートレート(PORT)を示している。C4はドキュメントのタイプを表すコマンドで、ページベクタで構成されるドキュメントなのかタイルベクタで構成されるドキュメントなのかを表す。この場合にはページ(PAGE)となっている。C5はドキュメント設定終了コマンドである。   C1 to C5 are commands related to the entire document. Therefore, these commands C1 to C5 have only one place for one document. These commands related to the entire document include, for example, character set commands (font specification commands), scalable font commands (commands that specify whether or not to use scalable fonts), and hard reset commands (reset the previous printer environment) Command), etc. C1 is a document setting start command. C2 is a command representing the output paper size of the document, and in this case, A4 is set. The next C3 indicates the direction of the document. There are portrait and landscape, but in this case, portrait (PORT) is shown. C4 is a command representing a document type, which indicates whether the document is a page vector or a tile vector. In this case, it is a page (PAGE). C5 is a document setting end command.

C6〜C21は、ドキュメント801を出力するたのコマンドである。C6はページの開始を示すためのものである。C7は文字のフォントの種類を選択するためのコマンドでこの場合には“1”という番号の付けられたフォントセットを選択している。C8はフォントの大きさを設定するもので“10ポイント”の大きさを選んでいる。C9は文字の色を設定するコマンドで、順にR(赤),G(緑),B(青)各色成分の輝度を示してある。この輝度は、0から255の256段階で量子化されているものとする。C10は文字を描画する開始位置の座標を示している。座標位置はページの左上を原点に指定する。この場合は、{10,5}の位置から文字の描画を開始するように設定されている。C11は実際に描画する文字列(XXXX…)を示している。   C6 to C21 are commands for outputting the document 801. C6 is for indicating the start of a page. C7 is a command for selecting the font type of the character, and in this case, the font set numbered "1" is selected. C8 sets the font size, and the size of “10 points” is selected. C9 is a command for setting the color of the character, and indicates the brightness of each color component of R (red), G (green), and B (blue) in order. It is assumed that this luminance is quantized in 256 steps from 0 to 255. C10 indicates the coordinates of the start position for drawing the character. The coordinate position is specified with the upper left corner of the page as the origin. In this case, the character drawing is set to start from the position {10, 5}. C11 indicates a character string (XXXX ...) to be actually drawn.

C12は図形描画の際の面の塗りつぶしの色を示している。色の指定は文字の色と同様である。C13は図形描画の線の色を指定するものである。C14は図形を描画する位置の座標を示している。C15は円弧を描画する際の半径を指定する命令で、この場合、“10”座標単位を表している。C16は閉円弧の描画をするものである。コマンド内の2個のパラメータは円弧を描画する際の描画開始角度と終了角度を示している。垂直情報を0度として、この場合には0度から90度の円弧を描画することを示している。C17〜C21は、C12〜C16までのコマンドと同様に面,線の色の指定,位置の指定などを行なっている。C22はコマンドの終了を指定している。   C12 indicates the fill color of the surface at the time of drawing the figure. The color specification is the same as the character color. C13 designates the line color of the graphic drawing. C14 indicates the coordinates of the position where the figure is drawn. C15 is a command for designating a radius for drawing an arc, and in this case, represents a "10" coordinate unit. C16 is for drawing a closed arc. Two parameters in the command indicate a drawing start angle and an end angle when drawing an arc. The vertical information is assumed to be 0 degree, and in this case, an arc of 0 degree to 90 degrees is drawn. C17 to C21 specify the surface and line color, the position, etc., as in the commands from C12 to C16. C22 specifies the end of the command.

図8のドキュメントを図10で表されるようなブロック単位のタイルベクタで記述した例が図11である。図10中の2つの矢印はドキュメントの短手方向‘X’、長手方向‘Y’を表す。また図中のX方向に配列された数列はX方向のタイルID、Y方向に配列された数列はY方向のタイルIDを表す。A,B,C,DはそれぞれタイルID(0,0)、(0,1)、(2、4)、(1,5)の位置にあるタイルベクタを表す。   FIG. 11 shows an example in which the document of FIG. 8 is described by a tile vector in block units as shown in FIG. Two arrows in FIG. 10 indicate the short direction “X” and the long direction “Y” of the document. In the drawing, the number sequence arranged in the X direction represents the tile ID in the X direction, and the number sequence arranged in the Y direction represents the tile ID in the Y direction. A, B, C, and D represent tile vectors at the positions of tile IDs (0, 0), (0, 1), (2, 4), and (1, 5), respectively.

図11において、1101はドキュメント全体の設定に関わるドキュメント設定命令、1102は描画命令全体をあらわす、1103〜1106はタイルA,B,C,Dの描画命令を示している。1107、1108はそれぞれタイルDの文字描画命令、図形描画命令を表す。   In FIG. 11, reference numeral 1101 denotes a document setting command relating to setting of the entire document, 1102 denotes the entire drawing command, and 1103 to 1106 denote drawing commands for tiles A, B, C, and D. Reference numerals 1107 and 1108 denote a character drawing command and a graphic drawing command for the tile D, respectively.

以下に1101〜1108の描画命令の詳細について説明する。   Details of the rendering commands 1101 to 1108 will be described below.

C1〜C5は、ドキュメント全体に関係するコマンドである。従って、これらのコマンドC1〜C5はドキュメント1部について1ケ所しか付いていない。これらドキュメント全体に関係するコマンドには、例えば、キャラクタセットコマンド(フォント指定コマンド)、スケーラブルフォントコマンド(スケーラブルフォントを使用するか否かを指定するコマンド)、ハードリセットコマンド(以前のプリンタ使用環境をリセットするコマンド)、などがある。C1はドキュメント設定開始コマンドである。C2はドキュメントの出力用紙サイズを表すコマンドで、この場合にはA4の設定になっている。次のC3はドキュメントの方向を示している。ポートレートとランドスケープがあるが、この場合にはポートレート(PORT)を示している。C4はドキュメントのタイプを表すコマンドで、ページベクタで構成されるドキュメントなのかタイルベクタで構成されるドキュメントなのかを表す。この場合にはタイル(TILE)となっている。C5はドキュメント設定終了コマンドである。   C1 to C5 are commands related to the entire document. Therefore, these commands C1 to C5 have only one place for one document. These commands related to the entire document include, for example, character set commands (font specification commands), scalable font commands (commands that specify whether or not to use scalable fonts), and hard reset commands (reset the previous printer environment) Command), etc. C1 is a document setting start command. C2 is a command representing the output paper size of the document, and in this case, A4 is set. The next C3 indicates the direction of the document. There are portrait and landscape, but in this case, portrait (PORT) is shown. C4 is a command representing a document type, which indicates whether the document is a page vector or a tile vector. In this case, it is a tile (TILE). C5 is a document setting end command.

C6〜C500は、ドキュメント1001を出力するたのコマンドである。C6はページの開始を示すためのものである。C7は図10のタイルAの描画コマンドの開始を示すものである。2個のパラメータはページ内におけるタイルのIDを示すものである。C8はタイルAの描画コマンドの終わりを表す。タイルAのようにオブジェクトが何も存在しない場合は、タイルの開始と終了だけが記述される。   C6 to C500 are commands for outputting the document 1001. C6 is for indicating the start of a page. C7 indicates the start of the drawing command for tile A in FIG. Two parameters indicate the ID of the tile in the page. C8 represents the end of the tile A drawing command. When there is no object as in tile A, only the start and end of the tile are described.

C9は図10のタイルBの描画コマンドの開始を示すものである。C10は文字のフォントの種類を選択するためのコマンドでこの場合には“1”という番号の付けられたフォントセットを選択している。C11はフォントの大きさを設定するもので“10ポイント”の大きさを選んでいる。C12は文字の色を設定するコマンドで、順にR(赤),G(緑),B(青)各色成分の輝度を示してある。この輝度は、0から255の256段階で量子化されているものとする。C13は文字を描画する開始位置の座標を示している。C14は実際に描画する文字列(XXXX) を示している。座標位置はタイルの左上を原点に指定する。この場合は、{0,5}の位置から文字の描画を開始するように設定されている。C15はタイルBの描画コマンドの終わりを示すものである。   C9 indicates the start of the drawing command for tile B in FIG. C10 is a command for selecting the font type of the character. In this case, the font set numbered “1” is selected. C11 sets the font size, and the size of “10 points” is selected. C12 is a command for setting the character color, and indicates the luminance of each color component of R (red), G (green), and B (blue) in order. It is assumed that this luminance is quantized in 256 steps from 0 to 255. C13 indicates the coordinates of the start position for drawing the character. C14 indicates a character string (XXXX) to be actually drawn. The coordinate position is specified with the upper left corner of the tile as the origin. In this case, the character drawing is set to start from the position {0, 5}. C15 indicates the end of the drawing command for tile B.

C100は図10のタイルCの描画コマンドの開始を示すものである。C101は図形描画の際の面の塗りつぶしの色を示している。色の指定は文字の色と同様である。C102は図形描画の線の色を指定するものである。C103は図形を描画する位置の座標を示している。C104は円弧を描画する際の半径を指定する命令で、この場合、“10”座標単位を表している。C105は閉円弧の描画をするものである。コマンド内の2個のパラメータは円弧を描画する際の描画開始角度と終了角度を示している。垂直情報を0度として、この場合には0度から90度の円弧を描画することを示している。C106はタイルCの描画コマンドの終わりを示すものである。   C100 indicates the start of the drawing command for tile C in FIG. C101 indicates the fill color of the surface when drawing a figure. The color specification is the same as the character color. C102 designates the line color of the figure drawing. C103 indicates the coordinates of the position where the figure is drawn. C104 is a command for designating a radius for drawing an arc, and in this case represents "10" coordinate unit. C105 is for drawing a closed arc. Two parameters in the command indicate a drawing start angle and an end angle when drawing an arc. The vertical information is assumed to be 0 degree, and in this case, an arc of 0 degree to 90 degrees is drawn. C106 indicates the end of the drawing command for tile C.

C120〜C131は、C9〜C15までのコマンドと同様文字描画のフォントの種類、色、大きさなどの指定及びC100〜C106同様に図形描画の面,線の色の指定,位置の指定などを行なっている。C500はページの終了すなわちコマンドの終了を指定している。   C120 to C131, like the commands C9 to C15, specify the font type, color, size, etc. for character drawing, and specify the drawing surface, line color, position, etc., as in C100 to C106. ing. C500 designates the end of the page, that is, the end of the command.

タイル⇔ページベクタ変換部13は、前述のようなページベクタとタイルベクタの変換を行う。図6はタイル⇔ページベクタ変換の内部処理フローを表す。
タイル⇔ページベクタ変換は以下のステップで実行される。
The tile tile page vector conversion unit 13 converts the page vector and the tile vector as described above. FIG. 6 shows an internal processing flow of tile-page vector conversion.
The tile-page vector conversion is executed in the following steps.

(S601):
まず、システムメモリ5中に記憶されたベクタ画像から、ヘッダ部分に相当するコマンド列を読み込み、ドキュメント全体に関するコマンド部分を解析する。前述の図9または図11のC1〜C5に相当する部分である。
(S601):
First, a command sequence corresponding to the header portion is read from the vector image stored in the system memory 5, and the command portion relating to the entire document is analyzed. This corresponds to C1 to C5 in FIG. 9 or FIG.

(S602):
解析した結果、ドキュメントのタイプがページベクタ(PAGE)である場合はS603以降のステップに進み、ページベクタ→タイルベクタ変換が実行される。ドキュメントのタイプが(TILE)である場合は、S610以降のステップに進み、タイルベクタ→ページベクタ変換が実行される。
(S602):
As a result of the analysis, if the document type is a page vector (PAGE), the process proceeds to step S603 and subsequent steps, and page vector → tile vector conversion is executed. If the document type is (TILE), the process proceeds to step S610 and subsequent steps, and tile vector → page vector conversion is executed.

(S603):
オブジェクトを記述するコマンド列を読み込む。
(S603):
Read a command sequence that describes an object.

(S604):
S603で読み込まれたコマンド列を解析し、記述されているオブジェクトの大きさが分割したいタイルサイズを超えているかどうかの判断を行う。オブジェクトの分割を行わない場合は、S605をスキップしS606に進み、オブジェクトの分割を行う場合はS605に進む。
(S604):
The command sequence read in S603 is analyzed, and it is determined whether or not the size of the described object exceeds the tile size to be divided. If the object is not divided, step S605 is skipped and the process proceeds to step S606. If the object is divided, the process proceeds to step S605.

(S605):
このステップでは、入力されたオブジェクトの分割処理を行う。
(S605):
In this step, the input object is divided.

例えば、図9では、902で“XXXX”を含む全ての文字列の描画コマンドを記述しているが、図10のようにタイル化した場合にはタイルBには“XXXX"しか収まらない。従って、タイルベクタでは文字列を途中で分割し、分割された後続の文字列は別の文字列として、次のタイルに記述を行う。次のタイルに記述が収まらなかったら、同様にまたタイルに含まれる文字列に分割し、分割された全ての文字列がタイルサイズに収まるまで繰り返す。文字列をどこで切るかは、フォントの種類、サイズからタイル内に収まる文字数を算出し、その数だけの文字を抽出する。902では、文字数が4つということになり、図9のC10の文字列はタイルベクタBとしては図11のC13のような記述に変換される。   For example, in FIG. 9, drawing commands for all character strings including “XXXX” are described at 902, but when tiled as shown in FIG. 10, only “XXXX” can be contained in tile B. Therefore, in the tile vector, the character string is divided in the middle, and the divided subsequent character string is described in the next tile as another character string. If the description does not fit in the next tile, it is similarly divided into character strings included in the tile, and the process is repeated until all the divided character strings fit within the tile size. To determine where to cut the character string, the number of characters that fit in the tile is calculated from the type and size of the font, and that many characters are extracted. In 902, the number of characters is four, and the character string of C10 in FIG. 9 is converted into a description like C13 in FIG.

また、903では図形の描画を記述しているが、903のC17〜C21で記述されている図形は、図8の4分の3円は、図10では一つのタイルに収まらないので、タイルDを含む複数のタイルに分割される。図形の分割は、図形の描画位置や図形の形、大きさからタイルの境界領域と接する部分を算出しその境界とタイル内に収まっている図形の部分領域で構成される閉領域を新たな図形として記述し直す。図9の903で記述される4分の3円は、図11では、その左下の部分領域が1108のC126からC130のような4分の1円の記述に変換される。また、残りの領域も同様な形の4分の1円の記述に変換される。   Further, although the drawing of the figure is described in 903, the figure described in C17 to C21 of 903 has a tile D because the three-quarter circle in FIG. 8 does not fit in one tile in FIG. Divided into multiple tiles. To divide a figure, calculate the part that touches the boundary area of the tile from the drawing position of the figure, the shape and size of the figure, and create a new closed area consisting of the boundary and the partial area of the figure that is contained in the tile. Rewrite as. In FIG. 11, the three-quarter circle described in 903 in FIG. 9 is converted into a description of a quarter circle such as C126 from C126 to C130 in the lower left partial region. The remaining area is also converted into a quarter-circle description of the same shape.

(S606)
入力されたオブジェクトのコマンド記述に対し、タイルベクタ内での描画位置へ変更するために、座標位置の変換を行う。ページベクタでは、ページの左上からの位置を記述していたのに対し、タイルベクタではタイルの左上からの位置に記述し直す。描画位置をタイル内の座標で記述することにより、座標計算に要するデータ長を削減することが可能になる。
(S606)
In order to change the drawing description in the tile vector for the command description of the input object, the coordinate position is converted. The page vector describes the position from the upper left of the page, whereas the tile vector rewrites the position from the upper left of the tile. By describing the drawing position with the coordinates in the tile, the data length required for coordinate calculation can be reduced.

(S607)
1つのオブジェクトに対するコマンドの記述変換が終了したら、ページ内の全てのオブジェクトのコマンドの記述変換が終了したかどうかを判断し、終了していない場合には、S603に戻り次のコマンドに対して、S603〜S607の処理を繰り返す。1つのオブジェクトに対するコマンドの処理が終了した場合には、S608へ進む。
(S607)
When the command description conversion for one object is completed, it is determined whether or not the command description conversion for all objects in the page is completed. If not, the process returns to S603 and the next command is processed. The processing of S603 to S607 is repeated. When the command processing for one object is completed, the process proceeds to S608.

(S608)
全ての描画コマンドの記述変換が終了したら、図10のように分割された各タイル領域に対し、ページの左上から順にタイルベクタとしてシステムメモリ5への書き出しを行う。タイルベクタとしては、前述のS605、S606で記述されたコマンドに対し、タイルの始まりと終わりを示すコマンドを追加するようなフォーマットで記述される。
(S608)
When the description conversion of all the drawing commands is completed, the tile areas divided as shown in FIG. 10 are written to the system memory 5 as tile vectors in order from the upper left of the page. The tile vector is described in a format in which commands indicating the start and end of tiles are added to the commands described in S605 and S606 described above.

まず、ページの一番最初のコマンドを書き出す時点では、システムメモリ5内にオブジェクトがない状態のタイルベクタを生成しておく。オブジェクトがないタイルベクタ、例えば図11のタイルAは、1103のように始まりと終わりのコマンドのみのC7〜C8のように記述される。次に、S603〜S607で処理されたコマンドが存在する座標のタイルに対し、オブジェクトの記述を追加する。タイルBの場合は、図11の1104のC9〜C15のような記述となる。タイルDのように同じタイルに複数のオブジェクトが存在する場合には、1106のように1107のオブジェクト記述と1108のオブジェクト記述を列記する。   First, at the time of writing the first command of the page, a tile vector in which no object is present in the system memory 5 is generated. A tile vector having no object, for example, tile A in FIG. 11 is described as C7 to C8 with only the start and end commands as shown in 1103. Next, a description of the object is added to the tile of the coordinate where the command processed in S603 to S607 exists. In the case of the tile B, the description is as C9 to C15 of 1104 in FIG. When a plurality of objects exist in the same tile as in the tile D, the object description 1107 and the object description 1108 are listed as 1106.

(S609)
1つのオブジェクトのタイルベクタへの書き出しが終わるとそのページのオブジェクトの記述が全て終了したかどうかを判断する。終了していない、と判断された場合にはS603に戻る。ページ内の全ての処理が終了した場合には、ページ→ベクタタイル変換を終了する。
(S609)
When the writing of one object to the tile vector is completed, it is determined whether or not the description of all the objects on the page has been completed. If it is determined that the process has not ended, the process returns to S603. When all the processes in the page are finished, the page → vector tile conversion is finished.

S602でドキュメントタイプがタイル(TILE)であると判断された場合の処理について述べる。   A process when it is determined in S602 that the document type is a tile (TILE) will be described.

(S610):
オブジェクトを記述するコマンド列を読み込む。
(S610):
Read a command sequence that describes an object.

(S611)
S610で読み込まれたコマンド列を解析し、記述されているオブジェクトがそれより以前に読み込まれたタイルと結合可能かどうかを判断する。オブジェクトの結合を行わない場合は、S612をスキップしS613に進み、オブジェクトの分割を行う場合はS612に進む。
(S611)
The command sequence read in S610 is analyzed, and it is determined whether or not the described object can be combined with tiles read before that time. If the objects are not to be combined, S612 is skipped and the process proceeds to S613. If the objects are to be divided, the process proceeds to S612.

(S612)
オブジェクトが結合できるかどうかは読み込んだコマンドの座標位置や、図形の種別等を基に判断する。文字列の場合はフォントサイズやフォントの種類をもとに判断する。基本的にはS605の流れを逆にしたような形で結合を行う。
(S612)
Whether or not the objects can be combined is determined based on the coordinate position of the read command, the type of figure, and the like. In the case of a character string, the determination is made based on the font size and font type. Basically, the connection is performed in a manner that the flow of S605 is reversed.

(S613)
入力されたオブジェクトのコマンド記述に対し、タイルベクタ内での描画位置へ変更するために、座標位置の変換を行う。タイルベクタではタイルの左上からの位置を記述していたのに対し、ページベクタでは、ページの左上からの位置に記述し直す。
(S613)
In order to change the drawing description in the tile vector for the command description of the input object, the coordinate position is converted. In the tile vector, the position from the upper left of the tile is described, whereas in the page vector, the position is described from the upper left of the page.

(S614)
1つのオブジェクトに対するコマンドの記述変換が終了したら、タイル内の全てのオブジェクトのコマンドの記述変換が終了したかどうかを判断し、終了していない場合には、S610に戻り、次のコマンドに対してS610〜S613の処理を繰り返す。1つのオブジェクトに対するコマンドの処理が終了した場合には、S615へ進む。
(S614)
When the command description conversion for one object is completed, it is determined whether or not the command description conversion for all the objects in the tile is completed. If not, the process returns to S610 and the next command is processed. The processes of S610 to S613 are repeated. When the command processing for one object is completed, the process proceeds to S615.

(S615)
描画コマンドの記述変換が終了したら、ページベクタとしてシステムメモリ5への書き出しを行う。タイルベクタとしては、前述のS605、S606で記述されたコマンドに対し、タイルの始まりと終わりを示すコマンドを削除したようなフォーマットで記述される。
(S615)
When the drawing command description conversion is completed, the page vector is written to the system memory 5. The tile vector is described in a format in which commands indicating the start and end of tiles are deleted from the commands described in S605 and S606.

まず、ページ内の一番最初のタイルに記述されたコマンドを書き出す時点では、システムメモリ5内にオブジェクトがない状態のページベクタを生成しておく。図9でいうと、C1〜C6、C22だけで記述されるページである。次に、S610〜S613で処理されたオブジェクトの記述を追加する。図9でいうと、902のC7〜C11の記述の部分がそれにあたる。この場合のオブジェクトは文字列{XXXX・・・YY・・}を表しているがこれは、S612で図11の1104や1107等で記述される各タイルの文字列を順次結合したオブジェクトの記述に変更されている。   First, when a command written in the first tile in the page is written, a page vector in which no object is present in the system memory 5 is generated. In FIG. 9, the page is described only by C1 to C6 and C22. Next, a description of the object processed in S610 to S613 is added. In FIG. 9, the description portion of C7 to C11 in 902 corresponds to it. The object in this case represents a character string {XXXX... YY..., Which is a description of the object in which the character strings of the tiles described in 1104 and 1107 in FIG. has been edited.

(S616)
1つコマンドのページベクタへの書き出しが終わるとそのタイルのオブジェクトの記述が全て終了したかどうかを判断する。終了していない、と判断された場合にはS610に戻る。タイル内の全ての処理が終了した場合には、S617に進む。
(S616)
When the writing of one command to the page vector is completed, it is determined whether or not the description of all the objects of the tile has been completed. If it is determined that the process has not ended, the process returns to S610. When all the processes in the tile are completed, the process proceeds to S617.

(S609)
1つのタイルベクタの書き出しが終わるとそのページのタイルの記述が全て終了したかどうかを判断する。終了していない、と判断された場合にはS610に戻る。ページ内の全てのタイルの処理が終了した場合には、タイル→ページベクタ変換を終了する。
(S609)
When the writing of one tile vector is finished, it is determined whether or not all the tile descriptions on the page are finished. If it is determined that the process has not ended, the process returns to S610. When the processing of all tiles in the page is completed, the tile → page vector conversion ends.

[タイルベクタ展開部(RIP)]
コントローラ1中のRIP18の詳細について説明する。
[Tile vector development (RIP)]
Details of the RIP 18 in the controller 1 will be described.

まず、コピーやプリント、送信といった画像データの処理を開始する前に、ローカルメモリ19の初期化と、作成する描画オブジェクトの解像度の設定を行っておく。本実施例では、生成解像度は600dpiとし、ポイントサイズやmm等の単位系で指定された印刷コマンドは、この値を用いてドット数に変換されることになる。   First, before starting image data processing such as copying, printing, and transmission, the local memory 19 is initialized and the resolution of a drawing object to be created is set. In this embodiment, the generation resolution is 600 dpi, and a print command specified in a unit system such as a point size or mm is converted into the number of dots using this value.

タイルベクタの展開は以下のステップで行われる。   Expansion of tile vectors is performed in the following steps.

(S71):
システムメモリ5よりSBB2を経由してRIP18に一定サイズ分入力されたタイルベクタはローカルメモリ19のタイルベクタ領域に一時的に格納される。
(S71):
Tile vectors input from the system memory 5 to the RIP 18 through the SBB 2 by a certain size are temporarily stored in the tile vector area of the local memory 19.

(S72):
タイルベクタがローカルメモリ19に取り込まれたら、μRIPa〜dはタイル展開処理が終了しているかどうかを判断する。μRIPがベクタデータの展開中であれば、展開可能になるまで、S72の状態で待機する。
(S72):
When the tile vector is taken into the local memory 19, μRIPa to d determine whether or not the tile development process has been completed. If μRIP is developing vector data, it waits in the state of S72 until it can be developed.

(S73):
μRIPa〜dのいずれかがベクタデータの展開可能になれば、予め定められた文法に従ってローカルメモリ19に格納されたタイルベクタのコマンド解析を行う。
(S73):
If any of μRIPa to d can develop the vector data, the command analysis of the tile vector stored in the local memory 19 is performed according to a predetermined grammar.

(S74):
解釈されたコマンドが、描画命令か排紙命令かを判断し、描画命令と判断された場合にはS75に、排紙命令と判断された場合にはS76に分岐する。
(S74):
It is determined whether the interpreted command is a drawing command or a paper discharge command. If it is determined that the command is a drawing command, the process branches to S75, and if it is determined that the command is a paper discharge command, the process branches to S76.

(S75):
S74にて、前記データが描画命令であると判断された場合には、描画オブジェクト(DL)生成を行う。タイルベクタ内のコマンドが文字描画命令であれば、前記コマンドで指定されるフォントの書体や、文字サイズ、文字コードを元にフォントオブジェクトを生成し、文字以外の描画命令であれば、前記コマンドで指定された図形(ラインや円、多角形等)の描画オブジェクトを生成し、ローカルメモリ19のDL領域に格納する。
(S75):
If it is determined in S74 that the data is a drawing command, a drawing object (DL) is generated. If the command in the tile vector is a character drawing command, a font object is generated based on the font type, character size, and character code specified by the command. If the command is a drawing command other than characters, the command is used. A drawing object of the generated figure (line, circle, polygon, etc.) is generated and stored in the DL area of the local memory 19.

また、前記描画コマンドで指定されない印刷データであると判断された場合には、前記印刷データに応じて印字位置移動や印字環境設定等の処理がなされ、一単位分のコマンド解釈を終了する。   If it is determined that the print data is not designated by the drawing command, the print position is moved and the print environment is set according to the print data, and the command interpretation for one unit is terminated.

タイルベクタ内のコマンド全ての解釈が終了するまで前記処理を繰り返す。   The above process is repeated until interpretation of all commands in the tile vector is completed.

(S76):
コマンドが排紙命令と判断された場合には、μRIPはローカルメモリ19上のタイルラスタメモリ領域に空き領域があるかどうかを判断する。空き領域がない場合は、他のRIPの処理が終了し、空き領域が出来るまで待機する。
(S76):
If it is determined that the command is a paper discharge command, μRIP determines whether there is an empty area in the tile raster memory area on the local memory 19. If there is no free space, wait until the other RIP process is completed and free space is available.

(S77)
タイルラスタメモリに空き領域がある場合は、S75で生成された描画オブジェクトを読み出し、タイルラスタ領域に描画(ラスタライズ)する。この時、生成解像度が600dpiであれば、タイルラスタ領域には600dpiの画像としてラスタライズされる。そして描画が終了したタイルラスタ画像は、SBB2を介して、画像出力部15に出力される。
(S77)
If there is an empty area in the tile raster memory, the drawing object generated in S75 is read out and drawn (rasterized) in the tile raster area. At this time, if the generation resolution is 600 dpi, the tile raster area is rasterized as a 600 dpi image. Then, the tile raster image that has been drawn is output to the image output unit 15 via the SBB 2.

(S78)
S75またはS77で一つのタイルベクタに対する、コマンド解析または描画処理が終了したら、読み込まれたタイルベクタメモリに対し全てが終了したかどうかを判断し、まだ処理が残っているようでであれば、S72に戻り、次のタイルベクタの処理を続ける。終了している場合はS79に進む。
(S78)
When the command analysis or drawing process for one tile vector is completed in S75 or S77, it is determined whether or not all of the read tile vector memory has been completed. Return and continue processing the next tile vector. If completed, the process proceeds to S79.

(S79)
1ページ分のタイルベクタに対し、全ての処理が終了したかどうかを判断し、まだ未処理のデータが残っている場合は、S71に戻りシステムメモリからタイルベクタを読み出して、処理を続ける。
(S79)
It is determined whether or not all the processes have been completed for one page of tile vectors. If unprocessed data still remains, the process returns to S71 to read the tile vectors from the system memory and continue the process.

1ページの処理が全て終了した場合はタイルベクタ展開を終了する。   When all the processes for one page are finished, the tile vector development is finished.

以上説明したように、予め登録された画像データ、および、スキャンした画像データの被比較部分をベクトルデータ化した後、ベクトルデータ化した画像データ同士を比較することで、拡大縮小に付随する誤判定を削減することが可能となる。
[第3の実施形態]
しかしながら、本発明の第2の実施形態のように、画像を検索して、予め登録された画像の色に置き換える機能を持つMFPにおいて、本発明の第2の実施形態では画像の全画像を検索する必要があり、1703〜1706のループ回数が多いために処理時間がかかってしまうという問題点がある。
As described above, the image data registered in advance and the compared portion of the scanned image data are converted into vector data, and then the image data converted into vector data are compared with each other, thereby making an erroneous determination associated with enlargement / reduction. Can be reduced.
[Third Embodiment]
However, as in the second embodiment of the present invention, in the MFP having the function of searching for an image and replacing it with the color of a pre-registered image, the second embodiment of the present invention searches all the images. There is a problem that processing time is required because the number of loops 1703 to 1706 is large.

上記問題を解決するために、類似色のみ抽出した中間画像を作成して、中間画像に対して、画像の検索を行い、一致した物だけ色補正を行う本発明の第3の実施形態の詳細を以下に説明する。   In order to solve the above problem, an intermediate image in which only similar colors are extracted is created, the image is searched with respect to the intermediate image, and the color correction is performed only on the matching object. Details of the third embodiment of the present invention Is described below.

本発明の第3の実施形態の構成を、図18のフローチャートを用いて説明する。   The configuration of the third embodiment of the present invention will be described with reference to the flowchart of FIG.

1802 類似色の抽出
メモリ104またはHDD107より読み出されたラスタイメージデータから、予め登録された画像の類似色だけを抽出する。
1802 Similar Color Extraction Only similar colors of pre-registered images are extracted from raster image data read from the memory 104 or HDD 107.

1803 2値化
1802で抽出された類似色画像を2値化する。この2値化処理を行う事で、1804以降の処理の負荷が軽減されるが、2値化処理は必須ではない。
1803 Binarization The similar color image extracted in 1802 is binarized. By performing this binarization process, the processing load after 1804 is reduced, but the binarization process is not essential.

1804 ブロックセレクション
1803で2値化されたラスタイメージデータを、矩形ブロックに分ける。
1804 Block selection The raster image data binarized in 1803 is divided into rectangular blocks.

1805 注目する画像候補抽出
1703と同様に1804で分割した矩形ブロックの中から評価対象の一つを選ぶ。
1805 Extraction of candidate image candidate to be noticed Similar to 1703, one of the evaluation targets is selected from the rectangular blocks divided by 1804.

1806 注目画像候補をベクタ化
1805で選ばれた注目画像候補をラスターデータからベクタデータに変換する。
1806 Vectorization of attention image candidate The attention image candidate selected in 1805 is converted from raster data to vector data.

ベクタ化の詳細は、前記(S52)ベクトル化ステップと同様である。   The details of vectorization are the same as in the (S52) vectorization step.

1807 画像比較
予め登録されたベクタ画像と1703でベクタ化した画像の画像の大きさをそろえて比較する。ベクタ画像であるので、解像度変換による誤差の発生は無い。比較した結果、しきい値以上の割合で画像のベクタが一致したら、次に「Y」の分岐つまり1808へ進む。しきい値以上の割合で画像のベクタが一致しなかったら、次に「N」の分岐つまり1808をスキップして1809へ進む。
1807 Image comparison The image size of the vector image registered in advance and the image vectorized in 1703 are compared and compared. Since it is a vector image, no error occurs due to resolution conversion. As a result of the comparison, if the image vectors match at a rate equal to or greater than the threshold value, the process proceeds to the “Y” branch, that is, 1808. If the image vectors do not match at a rate equal to or greater than the threshold, then the “N” branch, that is, 1808 is skipped, and the process proceeds to 1809.

1808 予め登録されている画像の色で置き換え
1706と同様に、画像候補の色を、予め登録されている画像の色で置き換える。
1808 Replace with pre-registered image color Similar to 1706, replace the image candidate color with the pre-registered image color.

1809 全ブロック比較したか?
1707と同様に、ページ中の全矩形ブロックに対して、1805〜1808の処理が行われたか判断する。全矩形ブロックの処理が済んでいたならば、次に「Y」の分岐つまり1810に進む。処理が済んでいない矩形ブロックが存在するなら、次に「N」の分岐つまり1805に進む。
1809 Have you compared all blocks?
As in 1707, it is determined whether the processing of 1805 to 1808 has been performed on all rectangular blocks in the page. If all rectangular blocks have been processed, the process proceeds to the “Y” branch, that is, 1810. If there is a rectangular block that has not been processed, the process proceeds to the “N” branch, that is, 1805.

1810 色補正した画像データと元データを合成。   1810 Synthesizes color-corrected image data and original data.

色補正した画像データの色を元データに上書きして、合成した画像を再びメモリ104またはHDD107に記憶させる。   The color of the color-corrected image data is overwritten on the original data, and the synthesized image is stored in the memory 104 or the HDD 107 again.

1811 終了
色補正の処理を終了する。
1811 End Color correction processing is ended.

次に図15を用いて色ズレさせたくない画像を予め登録する画面の例を説明する。   Next, an example of a screen for registering in advance an image that is not desired to be color-shifted will be described with reference to FIG.

図15は、色ズレさせたくない画像を予め登録する際に液晶やCRTなどの表示装置に表示される画面の例であり、それぞれ数字が記入してある部分は、ポインティングデバイスやタッチパネルでクリックまたはタッチすることで設定を選択あるいは変更可能な操作ボタンとなっている。以下それぞれのボタンを押した場合の動作について説明する。   FIG. 15 shows an example of a screen displayed on a display device such as a liquid crystal display or CRT when an image that is not desired to be color-shifted is registered in advance. Operation buttons that can be selected or changed by touching. The operation when each button is pressed will be described below.

1501 画像アップデートボタン
色ズレさせたくない画像データを記憶させる。色ズレさせたくない画像データは、予めMFPのHDDのファイルシステム内に記憶させておき、このボタンを押した後に切り替わるファイル選択画面で、色ズレさせたくない画像ファイルを設定する。
1501 Image update button Stores image data that is not desired to be color-shifted. Image data that is not to be color-shifted is stored in advance in the file system of the HDD of the MFP, and an image file that is not to be color-shifted is set on a file selection screen that is switched after this button is pressed.

1502 アップロード画像プレビューウインドウ
1501で指定した画像ファイルを表示するウインドウであり、アップロードしたファイルが正しい事をこのウインドウでユーザが確認する。この画面例ではある会社のマーク「ABCD」が表示されている。もちろん、1501で指定した画像ファイルによって、ここに表示される図形は異なる。
1502 Uploaded image preview window This window displays the image file specified in 1501. The user confirms that the uploaded file is correct. In this screen example, a mark “ABCD” of a certain company is displayed. Of course, the graphic displayed here differs depending on the image file specified in 1501.

1503 拡大縮小率範囲
1404で行う拡大縮小の上限を設定する設定する。1503は、つまみを動かす事で、例えば本実施例では25%〜400%まで拡大縮小範囲を設定する。画像サイズが1503で設定した範囲と異なる場合は色ズレ補正がされない。例えば、100%に設定された時は、1501で登録した画像データと同じ画像サイズのみの色ズレ補正を行い、50〜100%に設定された場合は、サイズが50%〜100%の範囲の画像のみ色ズレ補正を行う。
1503 Enlargement / reduction ratio range In 1404, an upper limit of enlargement / reduction performed is set. For example, in this embodiment, the enlargement / reduction range is set to 25% to 400% by moving the knob 1503. When the image size is different from the range set in 1503, color misregistration correction is not performed. For example, when 100% is set, color misregistration correction is performed only for the same image size as the image data registered in 1501, and when it is set to 50-100%, the size is in the range of 50% -100%. Corrects color misregistration only for images.

1504 形状判定誤差範囲設定ボタン
1406で行う画像比較のしきい値を設定する。
1504 Shape determination error range setting button 1406 A threshold value for image comparison performed by 1406 is set.

1505 OKボタン
設定内容を反映して設定を終了する。
1505 OK button Reflects the setting contents and ends the setting.

1507 キャンセルボタン
設定内容を反映しないで設定を終了する。
1507 Cancel button Ends the setting without reflecting the setting contents.

1508 類似色判定範囲設定ボタン
次に説明する類似色判定範囲を設定する画面に移動する。
1508 Similar color determination range setting button Moves to a screen for setting a similar color determination range described below.

図16は類似色判定範囲を設定する際、液晶やCRTなどの表示装置に表示される画面の例である。   FIG. 16 shows an example of a screen displayed on a display device such as a liquid crystal or a CRT when setting a similar color determination range.

1601 色空間チャート
1606は、類似色の範囲を視覚的に表した色空間チャートであり、中央の丸が1501で登録された画像の色であり、周囲の線が類似色の範囲を表したものであり、このチャートで表された色の範囲が類似色として色の比較対象となる。
1601 Color space chart 1606 is a color space chart visually representing the range of similar colors, with the central circle being the color of the image registered as 1501, and the surrounding lines representing the range of similar colors. The color range shown in this chart is a color comparison target as a similar color.

1603、1604、1605 R、G、B誤差設定バー
1603、1604、1605は、RGB(赤緑青)それぞれの誤差を設定するための設定バーである。各バーを右側に移動すると1501で設定した画像の色と異なる色も類似色として、色ズレ処理の対象になる。各バーを左側に移動すると1501で設定した画像の色に似た色を類似色として、色ズレ処理を行う。
1603, 1604, 1605 R, G, B error setting bars 1603, 1604, 1605 are setting bars for setting respective RGB (red, green, and blue) errors. When each bar is moved to the right, a color different from the color of the image set in 1501 is also regarded as a similar color and is subject to color shift processing. When each bar is moved to the left side, color misregistration processing is performed using a color similar to the color of the image set in 1501 as a similar color.

1606 OKボタン
設定内容を反映して類似色判定範囲設定を終了する。
1606 OK button Reflects the setting contents and ends the similar color determination range setting.

1607 キャンセルボタン
設定内容を反映しないで類似色判定範囲設定を終了する。
1607 Cancel button Ends the similar color determination range setting without reflecting the setting contents.

以上説明したように、予め登録された画像データと似た画像データの色を予め登録された画像データの色に置き換える事で、色ズレの少ない画像処理装置を実現する事が出来る。その際、画像を予め類似色でしぼってから、比較する事で比較対象の画像が少なくなり、検索時間を短縮することにより高速な色補正処理が可能となる。   As described above, by replacing the color of image data similar to the image data registered in advance with the color of the image data registered in advance, an image processing apparatus with little color misregistration can be realized. At that time, the images are preliminarily squeezed with similar colors and then compared to reduce the number of images to be compared, and the search time is shortened to enable high-speed color correction processing.

なお、図7は本発明のRIP(ベクタ展開部)のフローを説明する図である。   FIG. 7 is a diagram for explaining the flow of the RIP (vector expansion unit) of the present invention.

本発明のシステム構成図である。It is a system configuration diagram of the present invention. 本発明のシステムのコピーの動作フローを説明する図である。It is a figure explaining the copy operation | movement flow of the system of this invention. 本発明のシステムのプリントの動作フローを説明する図である。It is a figure explaining the operation flow of printing of the system of the present invention. 本発明の第1の実施例におけるシステムの送信の動作フローを説明する図である。FIG. 6 is a diagram for explaining an operation flow of transmission of the system in the first exemplary embodiment of the present invention. 本発明のラスタ→タイルベクタ変換部のフローを説明する図である。It is a figure explaining the flow of the raster-> tile vector conversion part of this invention. 本発明のタイル⇔ページベクタ変換部のフローを説明する図である。It is a figure explaining the flow of the tile tile page vector conversion part of this invention. 本発明のRIP(ベクタ展開部)のフローを説明する図である。It is a figure explaining the flow of RIP (vector expansion | deployment part) of this invention. 本発明で取り扱われる画像データの例を表す図である。It is a figure showing the example of the image data handled by this invention. 本発明で取り扱われるページベクタデータの例を表す図である。It is a figure showing the example of the page vector data handled by this invention. 本発明で取り扱われるタイルベクタのタイル領域を表す図である。It is a figure showing the tile area | region of the tile vector handled by this invention. 本発明で取り扱われるタイルベクタデータの例を表す図である。It is a figure showing the example of the tile vector data handled by this invention. 従来のMFPシステムの例を表す図である。It is a figure showing the example of the conventional MFP system. 従来のMFPシステムにおけるシステムの送信の動作フローを説明する図である。It is a figure explaining the operation | movement flow of the transmission of the system in the conventional MFP system. 本発明の実施例1のフローチャートの例を表す図である。It is a figure showing the example of the flowchart of Example 1 of this invention. 本発明の実施例3の予め画像を登録する画面の例を表す図である。It is a figure showing the example of the screen which registers the image previously of Example 3 of this invention. 本発明の実施例3の類似色範囲の設定画面の例を表す図である。It is a figure showing the example of the setting screen of the similar color range of Example 3 of this invention. 本発明の実施例2のフローチャートの例を表す図である。It is a figure showing the example of the flowchart of Example 2 of this invention. 本発明の実施例3のフローチャートの例を表す図である。It is a figure showing the example of the flowchart of Example 3 of this invention.

Claims (5)

色ズレを起こしたくない画像データと色を予め登録する手段と、
特定の画像データを比較する手段と、
検索された画像の色を予め登録された色に置き換える手段を備え、
前記画像データ制御手段は記憶手段、前記記憶手段を制御する制御手段、CPU、前記色ズレを起こしたくない画像データと色を予め登録する手段、前記特定の画像データを比較する手段、画像処理手段、検索された画像の色を予め登録された色に置き換える手段、汎用バス手段、汎用バス手段が接続される前記バス調停手段を備えることを特徴とする画像処理システム。
Means for pre-registering image data and color that do not want to cause color misregistration;
Means for comparing specific image data;
Means for replacing the color of the searched image with a color registered in advance;
The image data control means is a storage means, a control means for controlling the storage means, a CPU, a means for pre-registering image data and color that do not cause color shift, a means for comparing the specific image data, an image processing means An image processing system comprising: means for replacing a color of a searched image with a color registered in advance; general-purpose bus means; and the bus arbitration means to which the general-purpose bus means is connected.
前記汎用バス手段は、ネットワークI/F手段、画像データを記憶する大容量記憶手段の制御手段、表示部制御手段が接続され、ネットワーク上から送受信される画像データ、前記大容量記憶手段の制御手段の先に接続された大容量記憶手段から送受信される画像データ、前記表示部制御手段の先に接続された表示部から送受信される画像データを前記バス調停手段と調停を行って転送することを特徴とする請求項1記載の画像処理システム。   The general-purpose bus means is network I / F means, control means for large capacity storage means for storing image data, display section control means is connected, image data transmitted / received from the network, control means for the large capacity storage means The image data transmitted / received from the mass storage means connected to the other end of the image and the image data transmitted / received from the display section connected to the other end of the display unit controlling means are transferred by arbitrating with the bus arbitrating means. The image processing system according to claim 1, wherein: 前記特定の画像データを比較する手段と、
前記検索された画像の色を予め登録された色に置き換える手段は、
ページ内の画像処理を行うことを特徴とする請求項1記載の画像処理システム。
Means for comparing said specific image data;
Means for replacing the color of the searched image with a color registered in advance,
The image processing system according to claim 1, wherein image processing within a page is performed.
ベクトル化されたデータを比較する、特定の画像データを比較する手段を有することを特徴とする請求項1記載の画像処理システム。   2. The image processing system according to claim 1, further comprising means for comparing specific image data for comparing vectorized data. 予め登録された画像の類似色の画像を基に生成された画像と、予め登録された画像を基に生成された画像の比較を行う、特定の画像データを比較する手段を有することを特徴とする請求項1記載の画像処理システム。   It has a means for comparing specific image data for comparing an image generated based on an image of a similar color of an image registered in advance with an image generated based on an image registered in advance. The image processing system according to claim 1.
JP2007196153A 2007-07-27 2007-07-27 Image processing system Pending JP2009033541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007196153A JP2009033541A (en) 2007-07-27 2007-07-27 Image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007196153A JP2009033541A (en) 2007-07-27 2007-07-27 Image processing system

Publications (1)

Publication Number Publication Date
JP2009033541A true JP2009033541A (en) 2009-02-12

Family

ID=40403533

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007196153A Pending JP2009033541A (en) 2007-07-27 2007-07-27 Image processing system

Country Status (1)

Country Link
JP (1) JP2009033541A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013046092A (en) * 2011-08-22 2013-03-04 Konica Minolta Business Technologies Inc Image processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013046092A (en) * 2011-08-22 2013-03-04 Konica Minolta Business Technologies Inc Image processing system

Similar Documents

Publication Publication Date Title
JP4757120B2 (en) Image processing apparatus and control method thereof
US7680358B2 (en) Image processing apparatus and control method thereof, and program
US8274667B2 (en) Image processing apparatus, control method thereof, and storage medium storing a program for converting raster image data into block vector image format
JP4574235B2 (en) Image processing apparatus, control method therefor, and program
JP5164368B2 (en) Image processing apparatus and image processing method
US7551753B2 (en) Image processing apparatus and method therefor
JP2007174270A (en) Image processing apparatus, image processing method, storage medium, and program
EP1720094A2 (en) Image processing apparatus and its control method, and program
JP5053722B2 (en) Image processing apparatus, image processing method, computer program, and storage medium
JP2005107691A (en) Image processing apparatus, method and program, and storage medium
JP2009033541A (en) Image processing system
JP4646703B2 (en) Image processing apparatus, control method therefor, and program
JP2008294831A (en) Image distortion correction device
JP2018182464A (en) Image processing apparatus and program
JP5100354B2 (en) Image processing apparatus, image processing method, and computer program
JP2005151455A (en) Image processor, information processor, these control method, and program
JP3133848B2 (en) Image processing apparatus and image processing system
JP2007249774A (en) Character color determining unit, character color determining method, and computer program
JP2008153764A (en) Image processing system
JP2020043461A (en) Image processing system and image processing method, and program
JP3236053B2 (en) Image processing system and image processing method
JP2008148066A (en) Image processor, and its control method, and control program
JP3297448B2 (en) Image processing apparatus and image processing method
JP2007088912A (en) Image processing apparatus and program
JP3226583B2 (en) Color image processing system and image processing apparatus

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100201

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20100630