JPH06339037A - Boundary picture correcting method for pattern and line drawing - Google Patents

Boundary picture correcting method for pattern and line drawing

Info

Publication number
JPH06339037A
JPH06339037A JP5151545A JP15154593A JPH06339037A JP H06339037 A JPH06339037 A JP H06339037A JP 5151545 A JP5151545 A JP 5151545A JP 15154593 A JP15154593 A JP 15154593A JP H06339037 A JPH06339037 A JP H06339037A
Authority
JP
Japan
Prior art keywords
picture
boundary
area
pattern
line drawing
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.)
Granted
Application number
JP5151545A
Other languages
Japanese (ja)
Other versions
JP2875454B2 (en
Inventor
Hiroshi Shibazaki
博 柴崎
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing 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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP5151545A priority Critical patent/JP2875454B2/en
Publication of JPH06339037A publication Critical patent/JPH06339037A/en
Application granted granted Critical
Publication of JP2875454B2 publication Critical patent/JP2875454B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve the quality of a picture by preventing a void generated at a boundary between a line drawing and a pattern from being noticeble. CONSTITUTION:A circumference picture indicating a circumference area #11 constituted of pattern picture elements including a circumference between a line drawing area #1 and a pattern area #3, and the pattern area #3 inside the circumference area, is prepared. The circumference picture is prepared by operating a special thinning-out processing to the line drawing. A correction window W1 is simultaneously moved on the circumference picture and the pattern. When a central picture element CP of the correction window W1 is present in the circumference area #11, the dot area rate of the central picture element is corrected by averaging the dot area rate of the central picture element and the dot area rate of the peripheral picture element of the correction window W1 included in the pattern area #3. Thus, the dot area rate of each pattern picture element in the circumference area can be corrected by operating the above mentioned processing while moving the correction window W1 on a picture plane.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、線画と絵柄の境界に
おける画像を補正する方法に関し、特に、境界における
白抜けを目立たなくする技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for correcting an image at the boundary between a line drawing and a pattern, and more particularly to a technique for making white spots at the boundary inconspicuous.

【0002】[0002]

【従来の技術】カタログやパンフレットなどの印刷物の
1頁の画像は、線画と絵柄との組み合わせで構成されて
いるのが普通である。この際、絵柄は必要な部分のみが
切り抜かれて線画内に貼り込まれることがある。図1
は、絵柄を切り抜いて線画内に貼り込む処理を示す説明
図である。図1(A)は切抜き前の絵柄を示しており、
低濃度の背景の中に斜線で示す高濃度部分が含まれてい
る。ここでは、高濃度部分のみを切り抜く処理を行なう
ことを考える。切抜きにおいては、オペレータが切り抜
く部分の輪郭を指定するが、図1(A)に破線で示すよ
うに、指定した輪郭が所望の切抜き部分の真の輪郭から
外れてしまうことがある。こうして切り抜かれた絵柄部
分PEは、外周の一部に低濃度部LDを含んだものにな
る。図1(B)は切り抜かれた絵柄部分PEを線画LM
内に貼り込んだ状態を示している。
2. Description of the Related Art An image of one page of a printed matter such as a catalog or a pamphlet is usually composed of a combination of a line drawing and a design. At this time, the pattern may be cut out only in a necessary portion and attached to the line drawing. Figure 1
FIG. 7 is an explanatory diagram showing a process of cutting out a pattern and pasting it into a line drawing. FIG. 1 (A) shows the design before cutting out,
A high-density portion indicated by diagonal lines is included in the low-density background. Here, it is considered to perform a process of cutting out only the high density portion. In the cutout, the operator specifies the contour of the portion to be cut out, but the specified contour may deviate from the true contour of the desired cutout portion, as shown by the broken line in FIG. The picture portion PE cut out in this manner includes the low density portion LD in a part of the outer circumference. FIG. 1B is a line drawing LM of the cut-out picture part PE.
The state of being pasted inside is shown.

【0003】[0003]

【発明が解決しようとする課題】線画LMの濃度が比較
的低い場合には、切り抜かれた絵柄部分PEの低濃度部
LDは余り目立たない。しかし、線画LMが比較的高濃
度の場合には、切り抜かれた絵柄部分PEの低濃度部L
Dが白抜けとして目立ってしまい、画像品質が低下する
という問題があった。なお、単に低濃度部LDの濃度を
高くするように画像を修正すると、修正した部分と他の
絵柄部分との色調が異なってしまうので、かえって画像
品質を低下させるという問題がある。
When the density of the line drawing LM is relatively low, the low density portion LD of the cut out picture portion PE is not so noticeable. However, when the line drawing LM has a relatively high density, the low density portion L of the cut out picture part PE
There is a problem that D is noticeable as a white spot and the image quality is deteriorated. If the image is simply modified so that the density of the low-density portion LD is increased, the color tone of the modified portion differs from that of the other pattern portion, which causes a problem of degrading the image quality.

【0004】この発明は、従来技術における上述の課題
を解決するためになされたものであり、線画と絵柄との
境界において発生する白抜けを目立たなくすることによ
って、画像の品質を向上させることを目的とする。
The present invention has been made in order to solve the above-mentioned problems in the prior art, and it is possible to improve the quality of an image by making white spots occurring at a boundary between a line drawing and a pattern inconspicuous. To aim.

【0005】[0005]

【課題を解決するための手段および作用】上述の課題を
解決するため、この発明による境界画像補正方法は、
(A)前記画像平面上における線画領域と絵柄領域との
区分を第1の分解能で表わす線画データを準備する工程
と、(B)前記第1の分解能よりも低い第2の分解能に
相当する絵柄画素ごとに、前記絵柄領域における絵柄を
表わす絵柄データを準備する工程と、(C)前記線画領
域と前記絵柄領域との間の境界線を含む絵柄画素で構成
される境界線領域と、前記境界線領域内部の絵柄領域と
を前記第2の分解能で示す境界線データを、前記線画デ
ータおよび前記絵柄データの少なくとも一方に基づいて
作成する工程と、(D)前記境界線データと前記絵柄デ
ータとを照合することによって前記境界線領域内の各絵
柄画素の色成分を特定するとともに、前記境界線領域内
の各絵柄画素の色成分と、該境界線領域内の各絵柄画素
から所定の範囲内に存在する前記絵柄領域内の絵柄画素
の色成分とに対して所定の平均化処理を行なうことによ
って、前記境界線領域内の各絵柄画素の色成分を補正す
る工程と、を備える。
In order to solve the above-mentioned problems, the boundary image correction method according to the present invention comprises:
(A) a step of preparing line drawing data representing a division between a line drawing area and a picture area on the image plane at a first resolution; and (B) a picture corresponding to a second resolution lower than the first resolution. A step of preparing picture data representing a picture in the picture area for each pixel; (C) a border area composed of picture pixels including a border between the line drawing area and the picture area; A step of creating boundary line data indicating the picture area inside the line area at the second resolution based on at least one of the line drawing data and the picture data; and (D) the boundary data and the picture data. By identifying the color component of each picture element pixel in the boundary area by collating with, the color component of each picture element pixel in the boundary area and within a predetermined range from each picture element pixel in the boundary area. By performing a predetermined averaging processing to the color component of the picture pixels of the picture area that is present, and a step of correcting the color components of each picture pixel in the boundary area.

【0006】絵柄データのみでは境界線を構成する絵柄
画素の位置を特定するのが困難であるが、境界線データ
と絵柄データとを照合することによって境界線を構成す
る絵柄画素の位置を特定できる。境界線領域内の絵柄画
素の色成分と、その絵柄画素から一定範囲にある絵柄領
域内の絵柄画素の色成分とに対して平均化処理を行なう
ので、境界線領域内にある絵柄画素の色成分を高くする
ことができる。また、平均化処理では絵柄領域内の絵柄
画素の色成分を使用するので、絵柄領域内において色調
が急激にジャンプせずに滑らかに色調が変化する画像が
得られる。
Although it is difficult to specify the position of the picture element pixel forming the boundary line only with the picture pattern data, the position of the picture element pixel forming the boundary line can be specified by collating the boundary line data with the picture pattern data. . Since the color components of the picture pixels in the boundary area and the color components of the picture pixels in the picture area within a certain range from the picture pixel are averaged, the color of the picture pixels in the boundary area is calculated. The ingredients can be high. In addition, since the color components of the picture pixels in the picture area are used in the averaging process, an image in which the picture tone changes smoothly without jumping sharply in the picture area can be obtained.

【0007】[0007]

【実施例】図2は、本発明の一実施例を適用して線画と
絵柄の境界の画像を補正する装置を含む画像処理システ
ムの全体構成とその処理内容を示す概念図である。この
画像処理システムは、読取スキャナ20と、採字装置3
0と、切抜き装置40と、ページレイアウト装置50
と、画像はめ込み処理装置60と、境界補正装置70
と、画像出力装置80と、記録スキャナ90とを備えて
いる。
FIG. 2 is a conceptual diagram showing the overall construction of an image processing system including an apparatus for correcting an image at the boundary between a line drawing and a pattern by applying one embodiment of the present invention and its processing contents. This image processing system includes a reading scanner 20 and a character writing device 3.
0, clipping device 40, page layout device 50
And the image fitting processing device 60 and the boundary correction device 70.
And an image output device 80 and a recording scanner 90.

【0008】読取スキャナ20は、1ページの画像(以
下、「1ページ画像」と呼ぶ。)に配置される絵柄を走
査して絵柄データOP1〜OP3を読取る。採字装置3
0では、1ページ画像に配置される文字列が入力され
る。切抜き装置40は、必要に応じて絵柄の切抜きを行
ない、切抜き部分のマスクデータMDを作成する。マス
クデータMDは、ベクトルデータやページ記述プログラ
ムなどの形式で表現される。ページレイアウト装置50
では、絵柄データOP1〜OP3と、それらを間引いて
得られる間引き絵柄データSP1〜SP3と、マスクデ
ータMDと、文字列データCDとに基づいて、オペレー
タが1ページ画像IMを構成する。1ページ画像IMの
レイアウトを表わす1ページ情報OIは、ベクトルデー
タやページ記述プログラムなどの形式で表現される。
The reading scanner 20 scans a pattern arranged on an image of one page (hereinafter referred to as "one page image") to read the pattern data OP1 to OP3. Typesetting device 3
In 0, the character string arranged in the one-page image is input. The cutout device 40 cuts out a pattern as necessary and creates mask data MD of the cutout portion. The mask data MD is expressed in a format such as vector data or a page description program. Page layout device 50
Then, the operator forms the one-page image IM based on the pattern data OP1 to OP3, the thinned pattern data SP1 to SP3 obtained by thinning them, the mask data MD, and the character string data CD. The one-page information OI representing the layout of the one-page image IM is expressed in the form of vector data or a page description program.

【0009】画像はめ込み処理装置60は、1ページ情
報OIと絵柄データOP1〜OP3とに基づいて、1ペ
ージ画像IMの全体を表わす1ページ絵柄データCTと
1ページ線画データLWとを作成する。境界補正装置7
0は、後で詳述するように、線画と絵柄の境界を補正す
る装置である。なお、境界補正では、1ページ線画デー
タLWは補正されず、1ページ絵柄データCTのみが補
正される。
The image embedding processing device 60 creates one-page picture data CT and one-page line drawing data LW representing the whole one-page image IM based on the one-page information OI and the picture data OP1 to OP3. Boundary correction device 7
Reference numeral 0 is a device for correcting the boundary between the line drawing and the pattern, as will be described later in detail. In the boundary correction, the one-page line drawing data LW is not corrected and only the one-page pattern data CT is corrected.

【0010】画像出力装置80は1ページ画像IMを出
力するための網点信号DSを生成する。なお、文字・線
画領域も網点信号で表わされ、ベタ部分は網点面積率が
100%となる。記録スキャナ90は、この網点信号D
Sに応じて1ページ画像IMの網目版画像HIをフィル
ムや印画紙などの記録媒体上に記録する。なお、通常は
Y(イエロー)、M(マゼンタ)、C(シアン)、K
(ブラック)の4色の網目版画像がそれぞれ記録され
る。
The image output device 80 generates a halftone dot signal DS for outputting the one-page image IM. The character / line drawing area is also represented by a halftone dot signal, and the solid dot portion has a halftone dot area ratio of 100%. The recording scanner 90 uses the halftone dot signal D
According to S, the halftone-plate image HI of the one-page image IM is recorded on a recording medium such as film or photographic paper. Normally, Y (yellow), M (magenta), C (cyan), K
The four-color halftone images of (black) are recorded.

【0011】図3は、境界補正装置70の内部構成を示
すブロック図である。境界補正装置70は、次のような
構成要素を備えている。 (a)CPU100:境界補正装置70の各部を制御す
るとともに、1ページ絵柄データCTに対する境界補正
を実行する。CPU100と以下の各構成要素とは、バ
ス102を介して相互に接続されている。 (b)ROM104:CPU100が実行する処理プロ
グラムを記憶するメモリ。この処理プログラムによっ
て、後述する種々の手段(線画/絵柄重ね表示手段、線
画間引き手段、絵柄補正手段(平均化処理手段を含
む))の処理が実行される。 (c)RAM106:画像処理に使用される種々のデー
タを一時的に記憶するメモリであり、後述する補正幅テ
ーブルWTもRAM106に記憶される。 (d)線画メモリ108:1ページ線画データLWを記
憶するメモリ。なお、線画メモリ108には、元の1ペ
ージ線画データLWを記憶するための第1のメモリ領域
と、1ページ線画データLWを間引きして得られる間引
き線画データを記憶するための第2のメモリ領域とを有
している。間引き線画データは、後述するように、境界
補正に使用される境界線データに相当する。 (e)絵柄メモリ110:1ページ絵柄データCTをビ
ットマップ形式で記憶するメモリ。 (f)キーボード/マウス用I/Oインタフェイス11
2:キーボード114とマウス116からの入力を受け
付けるインタフェイス。 (g)表示制御部118:画像データをカラーCRT1
20に転送して画像を表示する際に使用されるインタフ
ェイス。 (h)オンライン入出力ポート122:画像処理システ
ム(図2)内の他の装置との間でネットワークを通じて
データ通信を行なうためのインタフェイス。 (i)光磁気ディスク用インタフェイス124:光磁気
ディスク126との間のデータ転送を行なうためのイン
タフェイス。
FIG. 3 is a block diagram showing the internal structure of the boundary correction device 70. The boundary correction device 70 includes the following components. (A) CPU 100: Controls each unit of the boundary correction device 70 and executes boundary correction for the one-page picture data CT. The CPU 100 and the following components are connected to each other via a bus 102. (B) ROM 104: a memory that stores a processing program executed by the CPU 100. By this processing program, the processes of various means (line drawing / pattern overlapping display means, line drawing thinning-out means, pattern correcting means (including averaging processing means)) described later are executed. (C) RAM 106: a memory for temporarily storing various data used for image processing, and a correction width table WT described later is also stored in the RAM 106. (D) Line drawing memory 108: A memory for storing the page 1 line drawing data LW. The line drawing memory 108 has a first memory area for storing the original one-page line drawing data LW and a second memory area for storing thinned line drawing data obtained by thinning the one page line drawing data LW. And an area. The thinned-out line drawing data corresponds to boundary line data used for boundary correction, as described later. (E) Design memory 110: Memory for storing the one-page design data CT in the bitmap format. (F) Keyboard / mouse I / O interface 11
2: An interface that receives inputs from the keyboard 114 and the mouse 116. (G) Display control unit 118: Color image CRT1
The interface used to transfer images to the 20 and display images. (H) Online input / output port 122: an interface for performing data communication with other devices in the image processing system (FIG. 2) through a network. (I) Magneto-optical disk interface 124: an interface for performing data transfer with the magneto-optical disk 126.

【0012】図4(A)と(B)は1ページ絵柄データ
CTで表わされる絵柄と1ページ線画データLWで表わ
される線画をそれぞれ示しており、また、図4(C)は
1ページ画像IMを示している。1ページの線画は、背
景領域R1と、それぞれ絵柄部品が貼込まれる3つのマ
スク領域R2,R3,R4と、文字列とを含んでいる。
なお、背景領域R1は比較高濃度の領域であり、チント
(平網)やベタ刷りの領域である。もちろん、1ページ
の線画がその他の図形(絵柄と境界を接することがない
もの)を含んでいてもよい。本実施例では文字列やその
他の図形は処理対象とならないので、文字列の取扱いに
関する説明は省略する。各領域R1,R2,R3,R4
にはそれぞれ色番号#1,#2,#3,#4が割り当て
られている。
FIGS. 4A and 4B respectively show a pattern represented by the 1-page pattern data CT and a line drawing represented by the 1-page line drawing data LW, and FIG. 4C shows a 1-page image IM. Is shown. The line drawing on one page includes a background region R1, three mask regions R2, R3, and R4 to which the picture parts are respectively attached, and a character string.
The background region R1 is a region of comparatively high density, and is a tint (flat screen) or solid printing region. Of course, the line drawing on one page may include other figures (those that do not touch the boundary with the picture). In the present embodiment, character strings and other figures are not processed, so a description of how to handle character strings is omitted. Each area R1, R2, R3, R4
Are assigned color numbers # 1, # 2, # 3, and # 4, respectively.

【0013】図5は、特定領域(絵柄と線画とが境界を
有する領域)における1ページ絵柄データCTと1ペー
ジ線画データLWとの相互関係を示す説明図である。線
画と絵柄を合成する際には、1ページ絵柄データCTで
表わされる絵柄の上に1ページ線画データLWで表わさ
れる線画が配置され、線画のマスク領域(図中斜線で示
す。)内の絵柄部分のみが透けて見えるものと考える。
すなわち、マスク領域内の絵柄のみが有効な絵柄部分と
して1ページ画像IM上に貼り込まれる。
FIG. 5 is an explanatory diagram showing a mutual relationship between the 1-page pattern data CT and the 1-page line drawing data LW in a specific area (area where a pattern and a line drawing have a boundary). When synthesizing the line drawing and the design, the line drawing represented by the one-page line drawing data LW is arranged on the design represented by the one-page design data CT, and the design in the mask area of the line drawing (indicated by diagonal lines in the figure) I think that only the part can be seen through.
That is, only the design in the mask area is pasted on the one-page image IM as a valid design portion.

【0014】図5に示すように、線画の画素Pμは絵柄
の画素Peよりも小さいのが普通である。この実施例で
は、線画画素Pμの一辺の長さは絵柄画素Peの一辺の
長さの1/5である。言い換えれば、線画の分解能は絵
柄の分解能の5倍である。1ページ線画データLWは輪
郭C1で囲まれるマスク領域を表わしており、また、1
ページ絵柄データCTは輪郭C1に相当する輪郭C2で
囲まれる絵柄部分を表わしている。輪郭C1は線画の分
解能で表現され、輪郭C2は絵柄の分解能で表現されて
いるので、これらの輪郭AC1,C2を重ね合わせても
一致しない。詳しく言えば、絵柄上の輪郭C2は、線画
上の輪郭C1を包含する絵柄画素の外周の境界にある。
1ページ絵柄データCTでは、輪郭C2内部の絵柄画素
の色成分のみが表現されており、それ以外の不要な部分
の色成分は削除されている。これは、絵柄同士が隣接す
る場合にも絵柄同士の境界の画像をうまく再現できるよ
うにするためである。
As shown in FIG. 5, the line drawing pixel Pμ is usually smaller than the picture pixel Pe. In this embodiment, the length of one side of the line drawing pixel Pμ is ⅕ of the length of one side of the picture pixel Pe. In other words, the resolution of the line drawing is 5 times the resolution of the design. The 1-page line drawing data LW represents the mask area surrounded by the contour C1.
The page pattern data CT represents a pattern portion surrounded by a contour C2 corresponding to the contour C1. Since the contour C1 is represented by the resolution of the line drawing and the contour C2 is represented by the resolution of the pattern, even if these contours AC1 and C2 are overlapped, they do not match. More specifically, the outline C2 on the pattern is at the boundary of the outer periphery of the pattern pixel including the outline C1 on the line drawing.
In the one-page picture data CT, only the color components of the picture pixels inside the contour C2 are expressed, and the color components of other unnecessary portions are deleted. This is so that the image of the boundary between the patterns can be reproduced well even when the patterns are adjacent to each other.

【0015】図6は、1ページ線画データLWの構造を
示す説明図である。図6(A)に示すように、1ページ
線画データLWは線画データ管理部とカラーパレット部
とランレングスデータ部を含んでいる。線画データ管理
部は、線画のサイズ、分解能、ファイル名などのデータ
を含んでいる。
FIG. 6 is an explanatory diagram showing the structure of the one-page line drawing data LW. As shown in FIG. 6A, the one-page line drawing data LW includes a line drawing data management section, a color palette section, and a run length data section. The line drawing data management unit includes data such as line drawing size, resolution, and file name.

【0016】カラーパレット部は、図6(B)および
(C)に示すように、各色番号に対応する情報として、
各色版の網点面積率(網%)と、絵柄優先フラグFy,
Fm,Fc,Fkを含んでいる。絵柄優先フラグが1の
色版については絵柄データが優先され、絵柄優先フラグ
が0の色版については線画データが優先される。
As shown in FIGS. 6 (B) and 6 (C), the color pallet portion stores information corresponding to each color number as
The halftone dot area ratio (halftone dot%) of each color plate and the pattern priority flag Fy,
It contains Fm, Fc and Fk. For the color plate with the picture priority flag of 1, the pattern data has priority, and for the color plate with the picture priority flag of 0, the line drawing data has priority.

【0017】図7は、カラーパレットCCで表わされる
色番号と各色版の網点面積率の対応関係を示す説明図で
ある。背景領域R1の色番号#1は、Y版とM版の網点
面積率がそれぞれ50%であり、C版とK版の網点面積
率は0%であることを示している。また、マスク領域R
2,R3,R4の色番号#2,#3,#4については、
すべての色版に対して「T(トランスペアレンシ)」が
登録されている。トランスペアレンシが登録されている
色版は、絵柄優先フラグの値が1であることを示してい
る。すなわち、領域R2,R3,R4に対する色番号#
2,#3,#4では、すべての色版に対して絵柄データ
が線画データに優先して採用される。なお、トランスペ
アレンシは各色版ごとに設定可能である。例えば、色番
号#2に対して、K版にトランスペアレンシを設定し、
他の3版に所望の網点面積率を設定することも可能であ
る。
FIG. 7 is an explanatory diagram showing the correspondence between the color numbers represented by the color palette CC and the dot area ratio of each color plate. The color number # 1 of the background region R1 indicates that the halftone dot area ratios of the Y and M plates are 50%, and the halftone dot area ratios of the C plate and K plate are 0%. Also, the mask region R
For color numbers # 2, # 3 and # 4 of 2, R3 and R4,
"T (transparency)" is registered for all color plates. The color plate in which the transparency is registered indicates that the value of the pattern priority flag is 1. That is, the color number # for the regions R2, R3, R4
In Nos. 2, # 3 and # 4, the pattern data is adopted in preference to the line drawing data for all the color plates. The transparency can be set for each color plate. For example, for color number # 2, set transparency on K plate,
It is also possible to set a desired halftone dot area ratio to the other three plates.

【0018】ランレングスデータ部は、図6(D)に示
すランレングスデータを含んでいる。ランレングスデー
タの1単位のデータ(以下、「単位ランレングスデー
タ」と呼ぶ)は、1ページ線画(図4(B))の走査線
上の各ランごとに、ラン長さと色番号を含んだものであ
る。図6(D)に示すデータは、図4(B)の走査線L
1に沿ったランレングスデータである。
The run length data section includes the run length data shown in FIG. 6 (D). One unit of run length data (hereinafter, referred to as “unit run length data”) includes a run length and a color number for each run on the scanning line of one page line drawing (FIG. 4B). Is. The data shown in FIG. 6D corresponds to the scan line L in FIG.
1 is run length data.

【0019】図8は、1ページ絵柄データCTの構成を
示す概念図である。図8(A)はYMCKそれぞれの網
点面積率を表わすデータを含む1画素分の絵柄データを
示している。図8(B)は画像平面上における絵柄デー
タの画素配列を示している。すなわち、主走査方向Yに
沿って走査線順次に画素が配列され、この配列順に従っ
て図8(A)のデータが絵柄メモリ110に記憶され
る。
FIG. 8 is a conceptual diagram showing the structure of the one-page picture data CT. FIG. 8A shows the picture data for one pixel including the data indicating the halftone dot area ratio of each YMCK. FIG. 8B shows a pixel array of pattern data on the image plane. That is, the pixels are arrayed in the scanning line sequence along the main scanning direction Y, and the data of FIG. 8A is stored in the pattern memory 110 according to the array order.

【0020】図9は、この実施例における処理手順を示
すフローチャートである。ステップS1では、1ページ
線画データLWと1ページ絵柄データCTが光磁気ディ
スク126から読出され、線画メモリ108および絵柄
メモリ110にそれぞれ書き込まれる。ステップS2で
は、線画メモリ108と絵柄メモリ110に記憶された
データに基づいて、線画/絵柄重ね表示手段(図3のR
OM104参照)が、絵柄と線画とを重ねた状態でカラ
ーCRT120に表示する。
FIG. 9 is a flow chart showing the processing procedure in this embodiment. In step S1, the page 1 line drawing data LW and the page 1 pattern data CT are read from the magneto-optical disk 126 and written in the line drawing memory 108 and the pattern memory 110, respectively. In step S2, based on the data stored in the line drawing memory 108 and the pattern memory 110, line drawing / pattern overlapping display means (R in FIG. 3).
OM104) displays the pattern and the line drawing on the color CRT 120 in a superimposed state.

【0021】ステップS3では、オペレータがカラーC
RT120に表示された画像を観察して、境界補正が必
要な絵柄部品が存在するか否かを判断する。これには、
ページ画像全体を観察するだけでなく、ページを分割し
た各分割領域の画像、または、指定範囲の領域の画像を
適宜拡大表示して観察する(これらの手法は、画像処理
の慣用技術であり、本発明と直接関係しないので、詳細
な説明を省略する)。拡大表示された画像を観察すれ
ば、図1(B)に示すように、絵柄部品の周囲に白抜け
が発生しているか否かを調べることによって、境界補正
が必要か否かを容易に判断することができる。境界補正
が必要な絵柄部品が存在する場合には、ステップS4に
おいて、すべての絵柄部品について境界補正を行なうモ
ード(オートモード)と、特定の絵柄部品のみについて
境界補正を行なうモード(マニュアルモード)の中の一
方をオペレータが選択する。
In step S3, the operator selects color C
By observing the image displayed on the RT 120, it is determined whether or not there is a design component that requires boundary correction. This includes
Not only observing the entire page image, but also observing the image of each divided area that divides the page, or the image of the area of the specified range by appropriately enlarging (these methods are conventional techniques of image processing, Since it is not directly related to the present invention, detailed description will be omitted). By observing the enlarged display image, as shown in FIG. 1 (B), it is possible to easily determine whether or not the boundary correction is necessary by checking whether or not there is a white spot around the picture part. can do. If there is a pattern component that requires boundary correction, in step S4, there are a mode in which boundary correction is performed for all pattern components (auto mode) and a mode in which boundary correction is performed only for specific pattern components (manual mode). The operator selects one of them.

【0022】ステップS4でオートモードを選択した場
合には、ステップS5において、境界補正の補正幅CW
を指定する。補正幅CWとは、境界補正に用いる補正ウ
ィンドウ(後述する)の大きさを示す値である。オート
モードでは、すべての絵柄部品に対して同じ補正幅CW
が適用される。
When the auto mode is selected in step S4, the correction width CW for boundary correction is set in step S5.
Is specified. The correction width CW is a value indicating the size of a correction window (described later) used for boundary correction. In auto mode, the same correction width CW is applied to all pattern parts.
Is applied.

【0023】ステップS4でマニュアルモードを選択し
た場合には、ステップS6,S7において、境界補正の
対象とする絵柄部品をオペレータが選択するとともに、
選択した絵柄部品ごとに補正幅CWを指定する。
When the manual mode is selected in step S4, the operator selects a pattern part to be subjected to boundary correction in steps S6 and S7, and
The correction width CW is designated for each selected picture part.

【0024】ステップS8では、各絵柄部品に対する補
正幅の値が図10(A)に示す補正幅テーブルWTに登
録される。補正幅テーブルWTは、線画上の各マスク領
域R2,R3,R4(図4(B)参照)の色番号と補正
幅CWとの対応関係を示すテーブルである。この実施例
では、マスク領域R2,R3の色番号#2,#3に対す
る補正幅CWがそれぞれ2,1と設定されている。マス
ク領域R4の色番号#4に対しては補正幅CWの値が0
であるが、これは、オペレータがマスク領域R4の絵柄
部品を、境界補正の対象としなかったことを示してい
る。
In step S8, the value of the correction width for each pattern part is registered in the correction width table WT shown in FIG. The correction width table WT is a table showing the correspondence between the color numbers of the mask areas R2, R3, R4 (see FIG. 4B) on the line drawing and the correction width CW. In this embodiment, the correction widths CW for the color numbers # 2 and # 3 of the mask areas R2 and R3 are set to 2 and 1, respectively. The value of the correction width CW is 0 for the color number # 4 of the mask region R4.
However, this indicates that the operator did not set the pattern component of the mask region R4 as the target of the boundary correction.

【0025】ステップS9では、線画間引き手段(図3
のROM104参照)が、1ページ線画データLWに対
して優先間引き処理を実行し、絵柄と同じ分解能の間引
き線画データを作成する。図11(A)は優先間引き処
理前の線画を示し、図11(B)は優先間引き処理後の
線画(「境界線画像」と呼ぶ)を示している。図11
(A)における斜線部は図4(B)に示すマスク領域R
3に相当し、斜線のない領域は背景領域R1に相当す
る。優先間引き処理は、N×Nの画素ブロックを1つの
代表画素で置き換える間引き処理の一種であり、予め指
定した優先度に応じて代表画素の色番号を決定する処理
である。ここで、Nは線画と絵柄の分解能の比(=5)
である。この実施例では、代表画素の色番号を決定する
際に、ステップS6において境界補正の対象として指定
された色番号(「優先色番号」と呼ぶ)を他の色番号に
優先する。具体的には、次のように代表画素の色番号が
決定される。
In step S9, line drawing thinning means (see FIG. 3).
Of ROM 104) executes the priority thinning process on the one-page line drawing data LW to create thinning line drawing data having the same resolution as the pattern. FIG. 11A shows a line drawing before the priority thinning process, and FIG. 11B shows a line image after the priority thinning process (referred to as a “boundary line image”). Figure 11
The shaded area in (A) is the mask region R shown in FIG.
3 corresponds to the background area R1. The priority thinning-out process is a type of thinning-out process for replacing an N × N pixel block with one representative pixel, and is a process for determining the color number of the representative pixel according to a priority designated in advance. Here, N is the ratio of line drawing and pattern resolution (= 5)
Is. In this embodiment, when determining the color number of the representative pixel, the color number designated as the target of boundary correction in step S6 (referred to as "priority color number") is given priority over other color numbers. Specifically, the color number of the representative pixel is determined as follows.

【0026】(1)N×N画素ブロック中のすべての線
画画素が優先色番号を有する場合:代表画素の色番号と
してその優先色番号を選択する。N×N画素ブロックの
中に複数種類の優先色番号が含まれている場合には、ど
の優先色番号を選択しても良い。
(1) When all the line drawing pixels in the N × N pixel block have a priority color number: The priority color number is selected as the color number of the representative pixel. When a plurality of types of priority color numbers are included in the N × N pixel block, any priority color number may be selected.

【0027】(2)N×N画素ブロック中のすべての線
画画素が優先色番号以外の色番号(「非優先色番号」と
呼ぶ)を有する場合:代表画素の色番号として、その非
優先色番号を選択する。N×N画素ブロックの中に複数
種類の非優先色番号が含まれている場合には、どの非優
先色番号を選択しても良い。
(2) When all the line drawing pixels in the N × N pixel block have a color number other than the priority color number (referred to as "non-priority color number"): As the color number of the representative pixel, the non-priority color Select a number. When a plurality of non-priority color numbers are included in the N × N pixel block, any non-priority color number may be selected.

【0028】(3)N×N画素ブロック中に、優先色番
号を有する線画画素と非優先色番号を有する線画画素と
が混在している場合:代表画素の色番号として、新たな
色番号が割り当てられる。この新たな色番号は境界領域
を示す番号なので、以下では「境界色番号」と呼ぶ。
(3) When line drawing pixels having priority color numbers and line drawing pixels having non-priority color numbers are mixed in the N × N pixel block: a new color number is set as the color number of the representative pixel. Assigned. Since this new color number indicates the boundary area, it will be referred to as a "border color number" below.

【0029】図11(B)に示す境界線画像において砂
地で示される代表画素は、図11(A)の線画におい
て、優先色番号(#3)と非優先色番号(#1)とが混
在している画素ブロックに対応する。この時には、上記
(3)に従って新たな色番号#11が境界色番号として
指定される。なお、境界線画像における画素の大きさ
は、絵柄画素と同じである。言い換えれば、間引き線画
は絵柄と同じ分解能を有している。
The representative pixel represented by sand in the boundary image shown in FIG. 11B has a mixture of a priority color number (# 3) and a non-priority color number (# 1) in the line drawing of FIG. 11A. Corresponding to the pixel block being processed. At this time, the new color number # 11 is designated as the boundary color number in accordance with (3) above. The size of the pixel in the boundary image is the same as that of the picture pixel. In other words, the thinned line drawing has the same resolution as the pattern.

【0030】境界線画像における境界色番号#11と非
優先色番号#1との間の境界BLは、図4(A)に示す
絵柄部品OP2の輪郭と一致する。境界線画像を作成す
る目的は、線画上における境界線を含む絵柄画素で構成
される境界線領域(図11(B)において砂地で示され
る領域)を知ることにある。絵柄データでは絵柄画素毎
に4つの色成分の値(すなわち網点面積率)が与えられ
ているだけであり、絵柄部品の輪郭を示すデータは含ま
れていない。そこで、境界線画像を作成して絵柄と照合
すれば、絵柄上における境界線領域を知ることができ
る。
The boundary BL between the boundary color number # 11 and the non-priority color number # 1 in the boundary image coincides with the contour of the picture part OP2 shown in FIG. 4 (A). The purpose of creating the boundary image is to know the boundary area (area shown by sand in FIG. 11B) composed of picture pixels including the boundary on the line drawing. In the picture data, only the values of four color components (that is, the dot area ratio) are given to each picture pixel, and the data indicating the contour of the picture part is not included. Therefore, if a boundary image is created and collated with the design, the boundary area on the design can be known.

【0031】なお、優先間引き処理については、本出願
人により開示された特開平4−134570号公報に詳
述されているので、その詳細な処理手順は省略する。
Since the priority thinning-out process is described in detail in Japanese Patent Application Laid-Open No. 4-134570 disclosed by the present applicant, the detailed processing procedure will be omitted.

【0032】ステップS9では、さらに、こうして得ら
れた境界線画像データを線画メモリ108に記憶すると
ともに、図10(B)に示すように、補正幅テーブルW
T内に、マスク領域の色番号に対応させて境界色番号を
登録する。
In step S9, the boundary line image data thus obtained is further stored in the line drawing memory 108, and as shown in FIG.
The boundary color number is registered in T in correspondence with the color number of the mask area.

【0033】ステップS10では、絵柄補正手段(図3
のROM104参照)が境界補正を実行する。図12
は、境界補正の方法を示す説明図である。境界補正は、
補正ウィンドウW1またはW2(図12(A),
(B))を、境界線画像上(図12(C))および絵柄
上(図12(D))において同時に移動させつつ行なわ
れる。この移動は、境界線画像と絵柄とを照合していく
ことと等価である。
In step S10, the pattern correction means (see FIG.
(See ROM 104) for performing the boundary correction. 12
FIG. 6 is an explanatory diagram showing a boundary correction method. Boundary correction is
Correction window W1 or W2 (FIG. 12 (A),
(B)) is simultaneously moved on the boundary image (FIG. 12C) and on the pattern (FIG. 12D). This movement is equivalent to collating the boundary line image with the design.

【0034】補正ウィンドウW1,W2は、ウィンドウ
内の各画素に所定の重みが割り当てられているオペレー
タである。図12(A)は補正幅CWが1である境界色
番号#11(図10(B))の領域について使用される
第1の補正ウィンドウW1を示し、図12(B)は補正
幅CWが2の境界色番号#10の領域について使用され
る第2の補正ウィンドウW2を示している。
The correction windows W1 and W2 are operators in which a predetermined weight is assigned to each pixel in the window. FIG. 12A shows the first correction window W1 used for the area of the boundary color number # 11 (FIG. 10B) where the correction width CW is 1, and FIG. 12B shows the correction width CW. The second correction window W2 used for the area having the boundary color number # 10 of No. 2 is shown.

【0035】図12(C)の境界線画像上において、補
正ウィンドウW1の中心画素CPの色番号が境界色番号
#11である場合には、その中心画素CPに相当する位
置の絵柄の網点面積率が補正される。この結果、図12
(D)の絵柄の網点面積率が図12(E)のように補正
される。この補正は、補正ウィンドウW1の中心画素に
おける網点面積率と、補正ウィンドウW1の周辺画素の
中でマスク領域(色番号#3の領域)に存在する絵柄画
素の網点面積率とを平均化する処理によって実行され
る。図12(C),(D)の例では、補正ウィンドウW
1の中心画素における網点面積率は70%であり、補正
ウィンドウW1の周辺画素であってマスク領域に存在す
る画素の網点面積率は90%,80%,80%である。
従って、中心画素における補正後の網点面積率は80%
となる。このようにして、図12(C)において境界色
番号#11を有する画素の絵柄の網点面積率が、図12
(D)から(E)に示すように補正される。なお、この
補正処理においては、絵柄メモリ110に記憶された1
ページ絵柄データCTの色成分の値が直接書き換えられ
る。また、この境界補正はYMCKの4色についてそれ
ぞれ実行される。
When the color number of the central pixel CP of the correction window W1 is the boundary color number # 11 on the boundary image of FIG. 12C, the halftone dot of the picture pattern at the position corresponding to the central pixel CP. The area ratio is corrected. As a result, FIG.
The halftone dot area ratio of the pattern (D) is corrected as shown in FIG. This correction averages the halftone dot area ratio in the central pixel of the correction window W1 and the halftone dot area ratio of the picture pixels existing in the mask area (area of color number # 3) among the peripheral pixels of the correction window W1. It is executed by the process. In the example of FIGS. 12C and 12D, the correction window W
The halftone dot area ratio of the central pixel of 1 is 70%, and the halftone dot area ratios of pixels that are peripheral pixels of the correction window W1 and exist in the mask region are 90%, 80%, and 80%.
Therefore, the corrected halftone dot area ratio in the central pixel is 80%.
Becomes In this way, the halftone dot area ratio of the pattern of the pixel having the boundary color number # 11 in FIG.
It is corrected as shown in (D) to (E). In addition, in this correction process, 1 stored in the pattern memory 110 is stored.
The value of the color component of the page picture data CT is directly rewritten. Further, this boundary correction is executed for each of the four colors YMCK.

【0036】図12(D)と(E)の網点面積率を比較
すれば解るように、補正前は網点面積率が20%であっ
た絵柄画素が、境界補正の後では50〜60%の網点面
積率を有している。今、図12(D)において網点面積
率が20%である画素が図1(B)に示す低濃度部LD
に相当していると考えれば、図12(E)のように補正
された絵柄では低濃度部LDが目立ち難くなっているこ
とが理解できる。
As can be seen by comparing the halftone dot area ratios of FIGS. 12D and 12E, the picture pixel having the halftone dot area ratio of 20% before the correction is 50 to 60 after the boundary correction. It has a dot area ratio of%. Now, in FIG. 12D, a pixel having a halftone dot area ratio of 20% is a low density portion LD shown in FIG.
It can be understood that the low density portion LD is less noticeable in the pattern corrected as shown in FIG. 12 (E).

【0037】図12(B)に示す第2の補正ウィンドウ
W2を使用した場合の境界補正も、上記と同様に行なわ
れる。すなわち、補正ウィンドウW2の中心画素におけ
る網点面積率と、補正ウィンドウW2内の20個の周辺
画素の中でマスク領域に存在する絵柄画素の網点面積率
とを平均化する処理が実行される。第2の補正ウィンド
ウW2では、平均化処理において参照される周辺画素の
数が多くなるので、中心画素の重みが第1の補正ウィン
ドウW1に比べて小さい。すなわち、平均化処理におい
て、境界線領域に存在する画素の重みを小さくしたい場
合には、補正幅CWとして2を指定すればよい。
Boundary correction using the second correction window W2 shown in FIG. 12B is performed in the same manner as above. That is, the process of averaging the halftone dot area ratio in the central pixel of the correction window W2 and the halftone dot area ratio of the picture pixels existing in the mask area among the 20 peripheral pixels in the correction window W2 is executed. . In the second correction window W2, since the number of peripheral pixels referred to in the averaging process is large, the weight of the central pixel is smaller than that in the first correction window W1. That is, in the averaging process, when it is desired to reduce the weight of the pixels existing in the boundary area, 2 may be designated as the correction width CW.

【0038】1ページ絵柄データCTの全体について境
界補正が完了すると、ステップS11(図9)において
1ページ線画データLWと補正された1ページ絵柄デー
タCTaに基づいて線画と絵柄が再度重ね合わされ、カ
ラーCRT120に表示される。オペレータは表示され
た画像を確認し、良好な画像が得られている場合(=O
K)にはステップS12において1ページ線画データL
Wと補正後の1ページ絵柄データCTaとを画像出力装
置80(図2)に出力する。画像出力装置80は、これ
らのデータに基づいて網点信号DSを生成して記録スキ
ャナ90に転送し、記録スキャナ90はこれに応じて4
色分の網目版画像を記録する。
When the boundary correction is completed for the entire one-page design data CT, the line drawing and the design are superimposed again based on the one-page line drawing data LW and the corrected one-page design data CTa in step S11 (FIG. 9), and the color is reproduced. It is displayed on the CRT 120. The operator checks the displayed image and if a good image is obtained (= O
1) line drawing data L for one page in step S12.
W and the corrected one-page picture data CTa are output to the image output device 80 (FIG. 2). The image output device 80 generates a halftone dot signal DS based on these data and transfers it to the recording scanner 90, and the recording scanner 90 responds to the 4
Record a halftone image for each color.

【0039】ステップS11において更に補正を行なう
必要がある場合(=NO)には、ステップS3に戻り、
ステップS3〜S10の処理を再度実行すればよい。
If it is necessary to make further correction in step S11 (= NO), the process returns to step S3.
The processes of steps S3 to S10 may be executed again.

【0040】上記実施例によれば、図1(B)に示すよ
うな目立ち易い低濃度部LDが存在する場合に、境界補
正を実行して絵柄部品の境界領域における網点面積率を
高くすることによって、低濃度部を目立ち難くすること
ができる。また、境界補正においては、絵柄領域内の絵
柄画素の色成分を平均化処理に使用するので、絵柄部品
内における色調のジャンプを解消して、絵柄部品内の色
調の変化を滑らかにすることができる。
According to the above-mentioned embodiment, when there is a low density portion LD which is conspicuous as shown in FIG. 1B, the boundary correction is executed to increase the halftone dot area ratio in the boundary area of the picture part. As a result, the low-concentration portion can be made inconspicuous. Further, in the boundary correction, since the color components of the picture elements in the picture area are used for the averaging process, it is possible to eliminate the jump of the hue in the picture parts and smooth the change in the hue in the picture parts. it can.

【0041】なお、線画と絵柄の境界線領域のみでな
く、絵柄部品の内部も低濃度である場合には、図1
(B)のように境界において目立つような低濃度部LD
が現われないので境界補正を行なわなくても良い。この
場合には、図9のステップS6においてオペレータが境
界補正の対象としてその絵柄部品を選択しなければよ
い。
If not only the boundary area between the line drawing and the pattern but also the interior of the pattern part has a low density,
A low-concentration portion LD that is conspicuous at the boundary as in (B)
Does not appear, it is not necessary to perform boundary correction. In this case, the operator does not have to select the design part as the target of the boundary correction in step S6 of FIG.

【0042】この発明は上記実施例に限られるものでは
なく、その要旨を逸脱しない範囲において種々の態様に
おいて実施することが可能であり、例えば次のような変
形も可能である。
The present invention is not limited to the above-described embodiments, but can be carried out in various forms without departing from the scope of the invention, and the following modifications can be made.

【0043】(1)補正ウィンドウとしては、図13
(A),(B)に示すものも使用することができる。図
13(A)に示す補正ウィンドウW3は、図12(A)
に示すものと平均化処理の際の重みが異なるだけであ
り、平均化処理における中心画素の重みが相対的に小さ
くなっている。図13(B)に示す補正ウィンドウW4
は、図12(B)に示すものと重みが異なるだけでな
く、ウィンドウの形状も異なっている。なお、補正ウィ
ンドウの形状と平均化の重みとしてはこれ以外の種々の
ものを採用することが可能である。
(1) FIG. 13 shows the correction window.
Those shown in (A) and (B) can also be used. The correction window W3 shown in FIG. 13A is shown in FIG.
The weight in the averaging process is different from that shown in FIG. 3, and the weight of the central pixel in the averaging process is relatively small. Correction window W4 shown in FIG. 13 (B)
Not only have different weights from those shown in FIG. 12B, but also have different window shapes. Various other shapes can be adopted as the shape of the correction window and the weight for averaging.

【0044】(2)図11(B)に示す境界線画像を作
成する方法としては、1ページ線画データLWを優先間
引きする方法以外のものが考えらえる。例えば、1ペー
ジ絵柄データCTにおいて、有効な絵柄部品以外の領域
において、すべての色成分の網点面積率を100%に設
定する。こうすれば、すべての色成分の網点面積率が1
00%になっている絵柄画素の境界を調べることによっ
て、図11(B)に示す境界線画像を得ることができ
る。図11(B)の境界線画像は、一般に、線画と絵柄
の境界線を包含する絵柄画素で構成される領域(すなわ
ち境界色番号#11の領域)と、境界線内部の絵柄領域
(すなわち色番号#3の領域)とを示すデータであれば
よい。このような境界線データは1ページ線画データL
Wおよび1ページ絵柄データCTの少なくとも一方に基
づいて作成することが可能である。
(2) As a method of creating the boundary line image shown in FIG. 11B, a method other than the method of preferentially thinning out the one-page line drawing data LW can be considered. For example, in the one-page pattern data CT, the dot area ratios of all the color components are set to 100% in the areas other than the effective pattern parts. By doing this, the dot area ratio of all color components is 1
The boundary line image shown in FIG. 11B can be obtained by investigating the boundary of the picture pixel which is 00%. The boundary image of FIG. 11 (B) is generally an area composed of picture pixels including a boundary between a line drawing and a picture (that is, an area having a boundary color number # 11) and a picture area inside the boundary (that is, a color). Data of the area # 3). Such boundary data is the page 1 line drawing data L.
It can be created based on at least one of W and the one-page pattern data CT.

【0045】なお、境界線データは、ランレングスデー
タの形で線画メモリ108に記憶しても良く、また、ビ
ットマップデータの形で絵柄メモリ110に記憶しても
良い。絵柄メモリ110に境界線画像データを記憶する
際には、そのためのメモリ領域を1ページ絵柄データC
Tとは別に準備する。
The boundary line data may be stored in the line drawing memory 108 in the form of run length data, or may be stored in the pattern memory 110 in the form of bitmap data. When the border line image data is stored in the picture memory 110, the memory area for that is set as one page picture data C.
Prepare separately from T.

【0046】(2)ステップS9における特殊間引きと
ステップS10における境界補正は、3本の走査線ごと
に実行してもよい。すなわち、図14に示すように、1
回目の処理では特殊間引きによって絵柄上の3本の走査
線L1〜L3に相当する境界線画像を得た後に、その中
央の走査線L2に対して境界補正を行なう。2回目の処
理では走査線を1本更新して走査線L2〜L4を含む境
界線画像を準備し、その中央の走査線L3に対して境界
補正を行なう。このように処理を行なう場合には、3本
の走査線を含む境界線画像を記憶するだけで良いので、
処理に必要なメモリ量を低減できるという利点がある。
なお、3本の走査線を含む境界線画像を記憶するメモリ
としては、3走査線分のラインメモリを使用するのが好
ましい。
(2) The special thinning in step S9 and the boundary correction in step S10 may be executed for every three scanning lines. That is, as shown in FIG.
In the second processing, after the boundary image corresponding to the three scanning lines L1 to L3 on the pattern is obtained by special thinning, boundary correction is performed on the central scanning line L2. In the second processing, one scanning line is updated to prepare a boundary image including the scanning lines L2 to L4, and the boundary correction is performed on the scanning line L3 at the center thereof. When processing is performed in this way, it is sufficient to store a boundary line image including three scanning lines.
There is an advantage that the amount of memory required for processing can be reduced.
It is preferable to use a line memory for three scanning lines as the memory for storing the boundary line image including three scanning lines.

【0047】(3)絵柄部品の切抜きの精度が悪い場合
には、絵柄部品の周辺部にある低濃度部LD(図1
(B))の幅が2絵柄画素分に渡る場合も考えられる。
このような場合には、図15に示すように、境界色番号
#11を割り当てた画素の内側(絵柄領域側)に存在す
る画素に、新たな色番号(準境界色番号#21)を割り
当てる。準境界色番号#21を割り当てる画素の位置
は、図11(B)に示す境界線画像を得た後に、この境
界線画像に対して、境界色番号#11と絵柄領域の色番
号#3とを対象とする細らせ処理を実行することによっ
て決定できる。
(3) When the cutting precision of the pattern part is poor, the low-density part LD (FIG. 1) in the peripheral part of the pattern part is used.
It is also conceivable that the width of (B)) extends over two picture elements.
In such a case, as shown in FIG. 15, a new color number (quasi-boundary color number # 21) is assigned to a pixel existing inside (a pixel area side) of the pixel to which the border color number # 11 is assigned. . The position of the pixel to which the quasi-boundary color number # 21 is assigned is the boundary color number # 11 and the color number # 3 of the picture area for this boundary line image after the boundary line image shown in FIG. Can be determined by executing a thinning process for.

【0048】境界色番号#11と準境界色番号#21と
が割り当てられた境界線画像を得た後には、まず、準境
界色番号#21に対して補正幅CW=1の補正ウィンド
ウを用いて境界補正を実行する。この際、境界色番号#
11を有する画素の網点面積率は平均化処理に使用しな
い。次に、境界色番号#11に対して補正幅CW=2の
補正ウィンドウを用いて境界補正を実行する。この際、
準境界色番号#21を有する画素の網点面積率は平均化
処理に使用しない。このような手順で境界補正を実行す
れば、2画素の幅に渡って境界画素の網点面積率を補正
することが可能である。
After obtaining the boundary image to which the boundary color number # 11 and the quasi-boundary color number # 21 are obtained, first, the correction window having the correction width CW = 1 is used for the quasi-boundary color number # 21. To perform boundary correction. At this time, the border color number #
The halftone dot area ratio of pixels having 11 is not used in the averaging process. Next, the boundary correction is performed on the boundary color number # 11 using the correction window having the correction width CW = 2. On this occasion,
The halftone dot area ratio of the pixel having the quasi-boundary color number # 21 is not used in the averaging process. If the boundary correction is executed by such a procedure, it is possible to correct the halftone dot area ratio of the boundary pixels over the width of two pixels.

【0049】(4)上記実施例では、境界補正装置70
を、画像はめ込み処理装置60と画像出力装置80の中
間に配置していたが、境界補正装置70はこの画像処理
システム内の他の位置にも配置することができる。例え
ば、画像出力装置80内において1ページ線画データL
Wと1ページ絵柄データCTから網点信号DSを生成す
る際に、画像出力装置80内に設けられた専用のハード
ウエアによって上述の画像出力装置80の機能を果たす
ようにしてもよい。ただし、この際には、予め画像はめ
込み処理装置60においてオペレータが境界補正の対象
とする絵柄部品と補正幅とを指定する。また、画像はめ
込み処理装置60やページレイアウト装置50に画像出
力装置80の機能を持たせるようにしてもよい。
(4) In the above embodiment, the boundary correction device 70
Was arranged in the middle of the image embedding processing device 60 and the image output device 80, but the boundary correction device 70 can also be arranged at another position in this image processing system. For example, in the image output device 80, the page 1 line drawing data L
When generating the halftone dot signal DS from W and the one-page pattern data CT, the function of the above-described image output device 80 may be performed by dedicated hardware provided in the image output device 80. However, at this time, the operator in advance designates the pattern component and the correction width to be subjected to the boundary correction in the image fitting processing device 60. Further, the image embedding processing device 60 and the page layout device 50 may have the function of the image output device 80.

【0050】[0050]

【発明の効果】以上説明したように、本発明の境界補正
方法によれば、線画と絵柄との境界において発生する白
抜けを目立たなくすることによって、画像の品質を向上
させることができるという効果がある。
As described above, according to the boundary correction method of the present invention, it is possible to improve the quality of an image by making white spots occurring at the boundary between a line drawing and a pattern inconspicuous. There is.

【図面の簡単な説明】[Brief description of drawings]

【図1】絵柄を切抜いて線画内に貼り込んだ場合に発生
する白抜けを示す説明図。
FIG. 1 is an explanatory diagram showing a white spot that occurs when a pattern is cut out and pasted in a line drawing.

【図2】本発明の一実施例を適用して境界補正を行なう
画像処理システムの全体構成を示す概念図。
FIG. 2 is a conceptual diagram showing an overall configuration of an image processing system that performs boundary correction by applying an embodiment of the present invention.

【図3】境界補正装置の内部構成を示すブロック図。FIG. 3 is a block diagram showing an internal configuration of a boundary correction device.

【図4】線画と絵柄と1ページ画像を示す説明図。FIG. 4 is an explanatory diagram showing a line drawing, a design, and a one-page image.

【図5】線画と絵柄の相互関係を示す説明図。FIG. 5 is an explanatory diagram showing a mutual relationship between a line drawing and a design.

【図6】線画データの構成を示す概念図。FIG. 6 is a conceptual diagram showing the structure of line drawing data.

【図7】カラーパレットの内容を示す説明図。FIG. 7 is an explanatory diagram showing the contents of a color palette.

【図8】絵柄データの構成を示す概念図。FIG. 8 is a conceptual diagram showing the structure of design data.

【図9】境界補正の処理手順を示すフローチャート。FIG. 9 is a flowchart showing a processing procedure of boundary correction.

【図10】補正幅テーブルの内容を示す説明図。FIG. 10 is an explanatory diagram showing the contents of a correction width table.

【図11】優先間引きの方法を示す説明図。FIG. 11 is an explanatory diagram showing a priority thinning method.

【図12】境界補正の方法を示す説明図。FIG. 12 is an explanatory diagram showing a boundary correction method.

【図13】補正ウィンドウの変形例を示す説明図。FIG. 13 is an explanatory diagram showing a modified example of a correction window.

【図14】3走査線ずつ境界補正を行なう方法を示す説
明図。
FIG. 14 is an explanatory diagram showing a method of performing boundary correction for every three scanning lines.

【図15】境界領域が2画素の幅を有する場合の処理方
法を示す説明図。
FIG. 15 is an explanatory diagram showing a processing method when the boundary area has a width of 2 pixels.

【符号の説明】[Explanation of symbols]

20…読取スキャナ 30…採字装置 40…切抜き装置 50…ページレイアウト装置 60…画像はめ込み処理装置 70…境界補正装置 80…画像出力装置 90…記録スキャナ 100…CPU 102…バス 104…ROM 106…RAM 108…線画メモリ 110…絵柄メモリ 112…I/Oインタフェイス 114…キーボード 116…マウス 118…表示制御部 120…カラーCRT 122…オンライン入出力ポート 124…I/Oインタフェイス 126…光磁気ディスク BL…境界 C1,C2…輪郭 CD…文字列データ CC…カラーパレット CP…補正ウィンドウの中心画素 CW…補正幅 DS…網点信号 Fy,Fm,Fc,Fk…絵柄優先フラグ HI…網目版画像 L1〜L4…走査線 LD…低濃度部 LM…線画 MD…マスクデータ OP1〜OP3…絵柄データ PE…絵柄部分 Pe…絵柄画素 Pμ…線画画素 R1…背景領域 R2〜R4…マスク領域 W1〜W4…補正ウィンドウ 20 ... Reading scanner 30 ... Characterizing device 40 ... Cropping device 50 ... Page layout device 60 ... Image fitting processing device 70 ... Boundary correction device 80 ... Image output device 90 ... Recording scanner 100 ... CPU 102 ... Bus 104 ... ROM 106 ... RAM 108 ... Line drawing memory 110 ... Design memory 112 ... I / O interface 114 ... Keyboard 116 ... Mouse 118 ... Display control unit 120 ... Color CRT 122 ... Online input / output port 124 ... I / O interface 126 ... Magneto-optical disk BL ... Boundary C1, C2 ... Outline CD ... Character string data CC ... Color palette CP ... Correction pixel center pixel CW ... Correction width DS ... Halftone dot signal Fy, Fm, Fc, Fk ... Pattern priority flag HI ... Halftone plate image L1 to L4 Scanning line LD Low density area LM Line drawing MD Mask data OP1 to OP3 ... Design data PE ... Design portion Pe ... Design pixel Pμ ... Line drawing pixel R1 ... Background area R2 to R4 ... Mask area W1 to W4 ... Correction window

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 同一の画像平面上の線画と絵柄の境界に
おける画像を補正する方法であって、(A)前記画像平
面上における線画領域と絵柄領域との区分を第1の分解
能で表わす線画データを準備する工程と、(B)前記第
1の分解能よりも低い第2の分解能に相当する絵柄画素
ごとに、前記絵柄領域における絵柄を表わす絵柄データ
を準備する工程と、(C)前記線画領域と前記絵柄領域
との間の境界線を含む絵柄画素で構成される境界線領域
と、前記境界線領域内部の絵柄領域とを前記第2の分解
能で示す境界線データを、前記線画データおよび前記絵
柄データの少なくとも一方に基づいて作成する工程と、
(D)前記境界線データと前記絵柄データとを照合する
ことによって前記境界線領域内の各絵柄画素の色成分を
特定するとともに、前記境界線領域内の各絵柄画素の色
成分と、該境界線領域内の各絵柄画素から所定の範囲内
に存在する前記絵柄領域内の絵柄画素の色成分とに対し
て所定の平均化処理を行なうことによって、前記境界線
領域内の各絵柄画素の色成分を補正する工程と、を備え
る境界画像補正方法。
1. A method for correcting an image at a boundary between a line drawing and a picture on the same image plane, comprising: (A) a line drawing showing a division between the line drawing area and the picture area on the image plane with a first resolution. A step of preparing data, (B) a step of preparing picture data representing a picture in the picture area for each picture pixel corresponding to a second resolution lower than the first resolution, and (C) the line drawing Boundary line data indicating a boundary line region formed of pattern pixels including a boundary line between the region and the pattern region and a pattern region inside the boundary line region at the second resolution are the line drawing data and Creating based on at least one of the pattern data,
(D) The color component of each picture pixel in the border area is specified by collating the border data with the picture data, and the color component of each picture pixel in the border area and the border By performing a predetermined averaging process on the color components of the picture pixels in the picture area existing in a predetermined range from the picture pixels in the line area, the color of each picture pixel in the boundary area A boundary image correction method comprising: a step of correcting a component.
JP5151545A 1993-05-28 1993-05-28 Image and line drawing boundary image correction method Expired - Fee Related JP2875454B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5151545A JP2875454B2 (en) 1993-05-28 1993-05-28 Image and line drawing boundary image correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5151545A JP2875454B2 (en) 1993-05-28 1993-05-28 Image and line drawing boundary image correction method

Publications (2)

Publication Number Publication Date
JPH06339037A true JPH06339037A (en) 1994-12-06
JP2875454B2 JP2875454B2 (en) 1999-03-31

Family

ID=15520860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5151545A Expired - Fee Related JP2875454B2 (en) 1993-05-28 1993-05-28 Image and line drawing boundary image correction method

Country Status (1)

Country Link
JP (1) JP2875454B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7362467B1 (en) 1999-02-09 2008-04-22 Fuji Xerox Co., Ltd. Image processing device and image processing method thereof
US8059313B2 (en) 2005-06-30 2011-11-15 Sharp Kabushiki Kaisha Image forming apparatus and method forming a latent image for embedding information in an image

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8306336B2 (en) 2006-05-17 2012-11-06 Qualcomm Incorporated Line or text-based image processing tools

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7362467B1 (en) 1999-02-09 2008-04-22 Fuji Xerox Co., Ltd. Image processing device and image processing method thereof
US8059313B2 (en) 2005-06-30 2011-11-15 Sharp Kabushiki Kaisha Image forming apparatus and method forming a latent image for embedding information in an image

Also Published As

Publication number Publication date
JP2875454B2 (en) 1999-03-31

Similar Documents

Publication Publication Date Title
EP0618718B1 (en) Correcting plate misregistration in colour printing of images defined in a page description language
EP0620534B1 (en) Method for automatic trap selection for correcting for plate misregistration in colour printing
EP0618546B1 (en) Automatic determination of boundaries between polygonal structure elements of different colour in a planar graphic image
EP0590668B1 (en) Method and apparatus for producing overlapping image area
US5251022A (en) Method of and apparatus for producing overlapping image area
US7692813B2 (en) Image processing apparatus and method, and storage medium
US7995238B2 (en) Image processing that can use both process and spot color plates
EP0705024A2 (en) Method of generating color separation images and apparatus for the same
US6870637B1 (en) Image processing method and image processor using the same
EP0782098B1 (en) Method and system for digital color printing
US6809839B1 (en) System and method for rendering printing traps with application of color transformations
US20060103902A1 (en) Color image forming apparatus and method and image processing program
EP0782097B1 (en) Method and system for digital color printing
US7426063B2 (en) System and apparatus for image-formation, and computer-readable for recording medium recording program for the same
US6671070B1 (en) Coverage-area gain compensation for high resolution printing
US5361141A (en) Image processor
JP2875454B2 (en) Image and line drawing boundary image correction method
JP2750418B2 (en) Kabuse processing method at the boundary between line drawing and picture
JP3113627B2 (en) Kabuse processing method at the boundary between line drawing and picture
EP0418868B1 (en) Image processing system
JP2004147301A (en) Color conversion processing method, color conversion processing apparatus, and color conversion processing program
JP3007585B2 (en) Image fogging processing apparatus and method
JP2002304265A (en) Printing control device and program
JPH11179978A (en) Image processing device, image processing method, and storage medium
JPH09248894A (en) Manufacture for special color plate specifying image area and device therefor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees