JP2001239705A - Apparatus and method for forming boundary of figure - Google Patents

Apparatus and method for forming boundary of figure

Info

Publication number
JP2001239705A
JP2001239705A JP2000050414A JP2000050414A JP2001239705A JP 2001239705 A JP2001239705 A JP 2001239705A JP 2000050414 A JP2000050414 A JP 2000050414A JP 2000050414 A JP2000050414 A JP 2000050414A JP 2001239705 A JP2001239705 A JP 2001239705A
Authority
JP
Japan
Prior art keywords
color
boundary
images
brightness
difference
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.)
Abandoned
Application number
JP2000050414A
Other languages
Japanese (ja)
Inventor
Yasuo Kishigami
泰生 岸上
Hiroshi Saito
浩 斉藤
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.)
Casio Computer Co Ltd
Casio Electronics Co Ltd
Original Assignee
Casio Computer Co Ltd
Casio Electronics 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 Casio Computer Co Ltd, Casio Electronics Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2000050414A priority Critical patent/JP2001239705A/en
Publication of JP2001239705A publication Critical patent/JP2001239705A/en
Abandoned legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Color, Gradation (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an apparatus and a method for forming the boundary of a plurality of figures contained in print data in which visibility is enhanced by clarifying the border line between figures or between a figure and a character. SOLUTION: Print data formed in an application 3 is taken into an image generating/writing control section 6 through an operating system 5 and the boundary is detected at a part where the images (figures) are overlapped, for example. Colors (brightness) of both images are detected at the boundary part and a color is set at the boundary part depending on the difference of colors. For example, white color is set for dark color while black color is set for light color in order to set a boundary part definitely thus enhancing visibility of an image.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はプリンタ装置等の画
像形成装置に関し、特に印刷データに含まれる複数の図
形の境界部分作成装置、及び作成方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image forming apparatus such as a printer, and more particularly to an apparatus and a method for creating a boundary portion between a plurality of figures included in print data.

【0002】[0002]

【従来の技術】画像形成装置としてプリンタ装置は、パ
ーソナルコンピュータ等のホスト機器にセントロニクス
インターフェイス等を介して接続され、ホスト機器から
供給される印刷データによって印刷処理を行う。
2. Description of the Related Art As an image forming apparatus, a printer device is connected to a host device such as a personal computer via a Centronics interface or the like, and performs a printing process using print data supplied from the host device.

【0003】このような印刷システムにおいて、印刷デ
ータに複数の画像が含まれる場合がある。例えば、複数
の図形が重なり合う場合である。このような場合、ある
図形の上に他の図形が被さる形で描画される。また、印
刷データに図形と文字が重なり合う場合もあり、このよ
うな場合にも、例えば図形の上に文字が描画される。
In such a printing system, the print data may include a plurality of images. For example, a case where a plurality of figures overlap. In such a case, the image is drawn so as to cover another graphic on a certain graphic. In addition, a graphic and a character sometimes overlap with the print data. In such a case, for example, the character is drawn on the graphic.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
ような場合、重なり合う図形同士の色が近似している場
合両図形の境界が不鮮明となる。また、図形に文字が重
なり合う場合も同様であり、当該図形と文字の色が近似
している場合、その境界は不鮮明となる。
However, in the case described above, if the colors of the overlapping figures are similar, the boundary between the two figures becomes unclear. The same applies to the case where a character overlaps a graphic, and when the color of the graphic and the character are similar, the boundary becomes unclear.

【0005】また、両図形の色の明るさが大きく異なる
場合、例えば境界部分の色を調整し、中間調の色を含め
て視認性を高める必要があり、図形間や図形と文字間の
境界線を明確にする必要がある。
In the case where the brightness of the color of the two figures is significantly different, it is necessary to adjust the color of the boundary, for example, to enhance the visibility including the halftone color. Lines need to be clear.

【0006】本発明は上記課題を解決し、図形間や図形
と文字間の境界線を明確にし、視認性を高めた図形境界
作成装置及びその作成方法を提供するものがある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and to provide a figure boundary creation apparatus and a method for creating a figure boundary in which the boundaries between figures or between figures and characters are clarified and visibility is improved.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、本発明によれば、画像の重なりを識別する識別手段
と、該識別手段によって識別された画像の重なりの境界
部分の色を変更する色変更手段と、前記重なる画像間の
明るさの差を検出する検出手段と、該検出手段によって
検出した画像間の明るさの差に基づいて、前記色変更手
段に所定の色を決定させる色決定手段とを有する図形境
界作成装置を提供することによって達成できる。
According to the present invention, there is provided, in accordance with the present invention, an identification means for identifying an overlap of images, and a color of a boundary portion of the overlap of the images identified by the identification means is changed. Color changing means, detecting means for detecting a difference in brightness between the overlapping images, and causing the color changing means to determine a predetermined color based on the difference in brightness between the images detected by the detecting means. This can be achieved by providing a graphic boundary creating device having color determining means.

【0008】ここで、画像の重なりとは、例えば図形間
の重なり、図形と文字の重なり等であり、複数の図形の
重なりや図形と文字の重なりも含む。また、境界部分の
検出は、例えば座標データやアドレスデータに従って設
定する。
Here, the overlap of the images is, for example, the overlap between the figures, the overlap between the figures and the characters, and also includes the overlap between a plurality of figures and the overlap between the figures and the characters. The detection of the boundary portion is set according to, for example, coordinate data and address data.

【0009】また、色決定手段は上記検出手段によって
検出した画像間の明るさの差に基づいて、前記色変更手
段に所定色変更手段に所定の色を決定させる。このよう
に構成することにより、色決定手段は例えば隣合う図形
間の色の相違によって境界の色を設定し、図形間や図形
と文字間の境界を明確に設定でき、視認性を高めた図形
境界作成装置を提供することができる。
The color determining means causes the color changing means to determine a predetermined color based on a difference in brightness between images detected by the detecting means. With such a configuration, the color determining means can set a boundary color based on, for example, a difference in color between adjacent graphics, and can clearly set a boundary between graphics and a boundary between graphics and characters, thereby improving visibility. A boundary creation device can be provided.

【0010】請求項2の記載は、上記請求項1記載の発
明において、前記画像間の明るさの差は、人の目の知覚
における色の濃さを基準にして設定する構成である。こ
のように構成することにより、実際の人の目によって感
じる色の濃さに従った判別を行うことができ、より正確
な図形境界作成装置を提供できる。
According to a second aspect of the present invention, in the first aspect of the invention, the difference in brightness between the images is set on the basis of the color density in human perception. With this configuration, it is possible to make a determination in accordance with the color density felt by the actual human eyes, and it is possible to provide a more accurate figure boundary creation device.

【0011】請求項3の記載は、上記請求項1記載の発
明において、前記色決定手段は、画像間の明るさの差が
小さい時境界線を所定の色に設定する構成である。すな
わち、この場合両画像(両図形)間の境界が分かりにく
くなり、このため境界線を設定することによって両画像
(両図形)間の境界を明確にする。
According to a third aspect of the present invention, in the first aspect of the invention, the color determining means sets a boundary line to a predetermined color when the difference in brightness between images is small. That is, in this case, the boundary between both images (both figures) becomes difficult to understand, and therefore, the boundary between both images (both figures) is clarified by setting a boundary line.

【0012】請求項4の記載は、上記請求項3の記載に
おいて、前記所定の色は、前記画像の色が濃い場合白色
であり、前記画像の色が薄い場合黒色である。このよう
に構成することにより、例えば隣り合う図形の色が濃い
場合、白色の境界線を設定することによって両図形間の
境界を明確にし、一方例えば隣り合う図形の色が薄い場
合、黒色の境界線を設定することによって両図形間の境
界を明確にする。
According to a fourth aspect, in the third aspect, the predetermined color is white when the color of the image is dark, and black when the color of the image is light. With this configuration, for example, when the color of an adjacent figure is dark, the boundary between the two figures is clarified by setting a white boundary line, while, for example, when the color of the adjacent figure is light, a black boundary is set. By setting the line, the boundary between the two figures is clarified.

【0013】請求項5の記載は、上記請求項1の記載に
おいて、前記前記色決定手段は、画像間の明るさの差が
大きい時境界線近傍の一定領域を境界の両脇を色の差を
徐々に埋めるように色設定する構成である。
According to a fifth aspect of the present invention, in the first aspect of the present invention, the color deciding means determines that a certain area near the boundary line has a color difference between both sides of the boundary when the brightness difference between the images is large. Is set so that the color is gradually filled.

【0014】このように構成することにより、両図形の
色の中間調を境界部分に設定し、より視認性の優れた図
形境界作成装置とすることができる。請求項6の記載
は、上記請求項1の記載において、前記画像の色の設定
は、R(赤)、G(緑)、B(青)の色に対して行う構
成である。
With this configuration, it is possible to set a halftone between the colors of the two figures at the boundary portion, and to provide a figure boundary creating apparatus with better visibility. According to a sixth aspect, in the first aspect, the color of the image is set for R (red), G (green), and B (blue) colors.

【0015】また、請求項7の記載は、上記請求項1の
記載において、前記画像の色の設定は、イエロー
(Y)、マゼンダ(M)、シアン(C)の色に対して構
成である。上記課題を解決するために、本発明によれば
画像の重なりを識別する識別処理と、該識別処理によっ
て識別された画像の重なりの境界部分の色を変更する色
変更処理と、前記重なる画像間の明るさの差を検出する
検出処理と、該検出処理によって検出した画像間の明る
さの差に基づいて、所定の色を決定させる色決定処理と
を行う図形境界作成方法を提供することによって達成で
きる。
According to a seventh aspect of the present invention, in the first aspect, the color of the image is set for yellow (Y), magenta (M), and cyan (C) colors. . In order to solve the above problem, according to the present invention, an identification process for identifying overlapping of images, a color changing process for changing a color of an overlapping boundary portion of the images identified by the identifying process, and By providing a graphic boundary creation method for performing a detection process of detecting a brightness difference between the images and a color determination process of determining a predetermined color based on the brightness difference between images detected by the detection process. Can be achieved.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施形態について
図面を参照しながら説明する。 <第1実施形態>図1は、本実施形態を説明する図形境
界作成装置を適用した印刷システムのシステム構成図で
ある。
Embodiments of the present invention will be described below with reference to the drawings. <First Embodiment> FIG. 1 is a system configuration diagram of a printing system to which a graphic boundary creating apparatus according to the present embodiment is applied.

【0017】同図において、本システムはパーソナルコ
ンピュータ等のコンピュータ1とプリンタ装置2で構成
され、コンピュータ1はインストールされたプログラム
に従って印刷データを作成する。例えば、ワープロソフ
トや図面作成ソフトを使用して文書データやグラフィッ
クデータを作成する。図2は上記コンピュータ1の内部
構成を説明するシステム図であり、アプリケーションソ
フト(APL)3、プリンタドライバ(DRV)4、オ
ペレーティングシステム(OS)5、画像生成・描画制
御部6、印刷用画像メモリ7で構成されている。
Referring to FIG. 1, the system comprises a computer 1 such as a personal computer and a printer 2, and the computer 1 creates print data in accordance with an installed program. For example, document data and graphic data are created using word processing software or drawing creation software. FIG. 2 is a system diagram for explaining the internal configuration of the computer 1. The application software (APL) 3, printer driver (DRV) 4, operating system (OS) 5, image generation / drawing control unit 6, image memory for printing. 7.

【0018】上記アプリケーション3によって作成され
た文書データやグラフィックデータはプリンタドライバ
4に送られ、更にオペレーティングシステム5に送られ
る。画像生成・描画制御部6は上記データに含まれる画
像の境界部のデータを抽出し、境界を明瞭にするため、
例えば境界部を白抜きや黒線印字等の画像データの描画
制御を行う。また、印刷用画像メモリ7は描画制御エリ
アを有し、上記画像生成・描画制御部6によって作成し
たデータを記憶する。また、データはプリンタドライバ
4によって中間コードに変換され、プリンタ装置2に送
られる。
The document data and graphic data created by the application 3 are sent to a printer driver 4 and further sent to an operating system 5. The image generation / drawing control unit 6 extracts the data of the boundary portion of the image included in the data, and clarifies the boundary.
For example, drawing control of image data such as white printing or black line printing on a boundary portion is performed. The print image memory 7 has a drawing control area, and stores data created by the image generation / drawing control unit 6. The data is converted into an intermediate code by the printer driver 4 and sent to the printer device 2.

【0019】一方、プリンタ装置は電子写真方式やイン
クジェット方式のプリンタ装置であり、コンピュータ1
から供給される印刷データに基づいて印刷処理を行う。
例えば、印刷データをビットマップデータに変換し、用
紙に印刷を行う。
On the other hand, the printer is an electrophotographic or ink-jet printer, and the computer 1
Print processing is performed based on the print data supplied from.
For example, the print data is converted into bitmap data and printed on paper.

【0020】以下、上記コンピュータ1の画像生成・描
画制御部6の処理動作を中心に、具体例をフローチャー
トに沿って説明する。 <第1実施例>図3は本例を説明するフローチャートで
あり、画像生成・描画制御部6が行う制御を説明するも
のである。
Hereinafter, a specific example will be described with reference to a flowchart, focusing on the processing operation of the image generation / drawing control unit 6 of the computer 1. <First Embodiment> FIG. 3 is a flowchart for explaining the present embodiment, and illustrates the control performed by the image generation / drawing control unit 6.

【0021】前述の画像生成・描画制御部6はオペレー
ティングシステム5を介して供給されるアプリケーショ
ン3からの印字データを順に処理し、印刷用画像メモリ
7の順次描画していく。この際、既に印刷用画像メモリ
7上に描画した画像と、これから描画しようとする画像
とが重なるかどうか識別し、重なる場合には以下の処理
を実行する。尚、印字データの重なりは描画アドレスや
座標アドレス等から判断する。
The image generation / drawing control unit 6 processes the print data supplied from the application 3 via the operating system 5 in order, and draws the print data in the print image memory 7 sequentially. At this time, it is determined whether or not the image already drawn on the print image memory 7 and the image to be drawn overlap, and if so, the following processing is executed. The overlap of the print data is determined from the drawing address, the coordinate address, and the like.

【0022】図4は印刷データに含まれる図形等のデー
タが重なる場合の処理を説明するフローチャートであ
る。先ず、重なる画像のアウトラインアドレスを取得す
る(ステップ(以下Sで示す)1)。例えば、図4に示
すような四角形の画像1の中により小さなサイズの四角
形の画像2が重ねて印刷される場合、四角形の画像1と
2の境界3のアドレスを取得する処理である。
FIG. 4 is a flow chart for explaining the processing when data such as graphics included in the print data overlap. First, an outline address of an overlapping image is obtained (step (hereinafter, referred to as S) 1). For example, in a case where a rectangular image 2 having a smaller size is printed over a rectangular image 1 as shown in FIG. 4, the address of the boundary 3 between the rectangular images 1 and 2 is acquired.

【0023】次に、取得したアウトラインの1ピクセル
毎に、色の3原色 R(赤)・G(緑)・B(青)に分
解し、そのそれぞれの明るさを0〜255の256階調
の数値に変換する(S2)。すなわち、上記図4の例で
は四角形の画像2のアウトライン(最外郭のドット)に
ついて、明るさを0〜255の256階調の数値に変換
する。また、同時にその重ねる図形の外側に隣接する重
ねられる側の図形の色を、同様にRGB毎に256階調
の数値に変換する(S3)。すなわち、上記図4の例で
は四角形の画像1のアウトライン(内側のドット)につ
いて、明るさを256階調の数値に変換する。
Next, for each pixel of the acquired outline, the image is separated into three primary colors R (red), G (green), and B (blue), and the brightness of each is 256 gradations from 0 to 255. (S2). That is, in the example of FIG. 4 described above, the brightness of the outline (outermost dot) of the square image 2 is converted into a numerical value of 256 tones from 0 to 255. At the same time, the color of the figure on the superimposed side adjacent to the outside of the figure to be superimposed is similarly converted into a value of 256 gradations for each of RGB (S3). That is, in the example of FIG. 4, the brightness of the outline (inner dots) of the square image 1 is converted into a value of 256 gradations.

【0024】この3原色毎の256階調は、例えば色に
関する内部情報の単位となっており、256 ×256 ×256
=16,777,216色(True Color)が表現される。この様なシ
ステムの場合、内部のカラー情報自体が3原色毎の25
6階調で表されているため、通常は上記処理を行う必要
はない。ここでは便宜上この256階調を例にとり記述
するが、それより上位階調・下位階調の場合でも256
階調との比率を掛け合わせることにより同一となる。
The 256 gradations for each of the three primary colors are, for example, units of internal information relating to colors, and are 256 × 256 × 256.
= 16,777,216 colors (True Color) are represented. In such a system, the internal color information itself is 25 for every three primary colors.
Since it is represented by six gradations, it is not usually necessary to perform the above processing. Here, for the sake of convenience, the 256 gradations will be described as an example.
It becomes the same by multiplying the ratio with the gradation.

【0025】次に、人の目に色に対する知覚の違いを表
す視感度曲線を反映させた色の明るさを表す公式は、R
×0.30+G×0.59+B×0.11であるため、それぞれの色
の濃さは次の計算式で算出できる(S4)。
Next, a formula representing the brightness of a color reflecting a luminosity curve representing a difference in perception of a color to human eyes is R
Since it is × 0.30 + G × 0.59 + B × 0.11, the density of each color can be calculated by the following formula (S4).

【0026】重ねる図形のアウトラインの色の濃さ、例
えば四角形の画像2の最外郭のドットの色の濃さは、Ci
=255(Ri ×0.3 +Gi×0.59+Bi×0.11)であり、外側に
隣接する重ねられる側の色の濃さ、例えば四角形の画像
1の内周の色の濃さ、Co=255-(Ro×0.3 +Go×0.59+Bo
×0.11)である。ここで、Ri,Gi,Biは重ねる図形のアウ
トラインの3原色それぞれの明るさを示し、Ro,Go,Boは
外側に隣接する重ねられる側の3原色それぞれの明るさ
を示す。
The color depth of the outline of the superimposed figure, for example, the color depth of the outermost dot of the square image 2 is Ci
= 255 (Ri × 0.3 + Gi × 0.59 + Bi × 0.11), and the color density of the outer side to be overlapped, for example, the color density of the inner periphery of the square image 1, Co = 255− (Ro × 0.3 + Go × 0.59 + Bo
× 0.11). Here, Ri, Gi, and Bi indicate the brightness of each of the three primary colors of the outline of the superimposed graphic, and Ro, Go, and Bo indicate the brightness of each of the three adjacent primary colors on the outer side.

【0027】次に、上記計算式によって算出された値C
iとCoの差を比較し(S5)、この差は25%未満
(|Ci−Co|<63)の場合(S5がYES)、両
画像の境界(上記図4に示す境界3)が判別しにくくな
るので、外側に隣接する重ねられる側の色の濃さを以下
の2通りの場合分けにより調整する(S6)。
Next, the value C calculated by the above equation is calculated.
The difference between i and Co is compared (S5). If this difference is less than 25% (| Ci-Co | <63) (YES in S5), the boundary between both images (boundary 3 shown in FIG. 4 above) is determined. Therefore, the color density of the outer side to be overlapped is adjusted by the following two cases (S6).

【0028】ここで、上記CiとCoの値の大きい方が
128以上の場合(S6がYES)、外側に隣接する重
ねられる側の色を白にする(Ro=0,Go=0,Bo
=0に変更する)(S7)。
If the larger value of Ci and Co is 128 or more (S6: YES), the color of the superimposed side adjacent to the outside is set to white (Ro = 0, Go = 0, Bo).
= 0) (S7).

【0029】一方、CiとC0 の値の大きい方が128
未満の場合(S6がNO)、外側に隣接する重ねられる
側の色を黒にする(R0 =255,G0 =255,B0
=255に変更する)(S8)。
On the other hand, the larger value of Ci and C 0 is 128
If (S6 is NO), the color of the side to be overlaid adjacent to the outside to black than (R 0 = 255, G 0 = 255, B 0
= 255) (S8).

【0030】尚、前述の計算式によって算出された値C
iとCoの差を比較した結果(S5)、この差が25%
未満(|Ci−Co|<63)以上の場合(S5がN
O)、両画像の境界(上記図4に示す境界3)の判別が
困難ではないと考えられるので、上記全てのアウトライ
ンに対して同様の処理を繰り返す(S9がNO、S2〜
S8)。その後、全てのアウトラインに対する処理が完
了すると(S9がYES)、本例の処理を終了する。
It should be noted that the value C calculated by the above-mentioned formula is used.
As a result of comparing the difference between i and Co (S5), the difference was 25%
Less than (| Ci-Co | <63) (S5 is N
O) Since it is considered that it is not difficult to determine the boundary between the two images (boundary 3 shown in FIG. 4), the same processing is repeated for all the outlines (NO in S9, S2 to S2).
S8). Thereafter, when the processing for all the outlines is completed (S9: YES), the processing of this example ends.

【0031】図5乃至図7は上記処理の結果を示す図で
あり、図5は判断(S6がNO)及び処理(S8)のフ
ローに従った結果であり、四角形の画像1と2の明るさ
が近似し、色の明るさが128階調以下であるので、両
画像の境界3を黒線で塗り形成する処理を施す。
FIGS. 5 to 7 show the results of the above processing. FIG. 5 shows the results according to the flow of the judgment (NO in S6) and the processing (S8), and shows the brightness of the square images 1 and 2. Are approximate and the color brightness is 128 gradations or less, so that the boundary 3 between both images is painted and formed with a black line.

【0032】また、図6は判断(S6がYES)及び処
理(S7)のフローに従った結果であり、四角形の画像
1と2の明るさが近似し、色の明るさが128階調以上
であるので、両画像の境界3を白抜きとする。
FIG. 6 shows the results in accordance with the flow of the judgment (YES in S6) and the processing (S7). The brightness of the square images 1 and 2 is similar, and the brightness of the color is 128 gradations or more. Therefore, the boundary 3 between both images is outlined.

【0033】さらに、図7は判断(S5がNO)及び判
断(S9がYES)のフローに従った結果であり、例え
ば両画像の明るさが相違するので境界3を特に示す必要
がなく、そのまま印刷処理を施したものである。 <第2実施例>図8は本例を説明するフローチャートで
あり、画像生成・描画制御部6が行う処理を中心に説明
するものである。
FIG. 7 shows the results of the determination (NO in S5) and the flow of the determination (YES in S9). For example, since the brightnesses of the two images are different, it is not necessary to particularly indicate the boundary 3, and the boundary 3 is not changed. It has been subjected to printing processing. <Second Embodiment> FIG. 8 is a flowchart for explaining the present embodiment, and mainly describes the processing performed by the image generation / drawing control unit 6.

【0034】本例においても、画像生成・描画制御部6
はオペレーティングシステム5を介して供給されるアプ
リケーション3からの印字データを順に処理し、印刷用
画像メモリ7の順次描画していく。本例ではこの際、既
に印刷用画像メモリ7上に描画した画像と、これから描
画しようとする画像とが重なるかどうか識別し、重なる
場合には以下の処理を実行する。
Also in this example, the image generation / drawing control unit 6
Sequentially processes print data supplied from the application 3 via the operating system 5 and sequentially draws the print data in the print image memory 7. In this example, at this time, it is determined whether or not the image already drawn on the print image memory 7 and the image to be drawn overlap, and if so, the following processing is executed.

【0035】先ず、重なる画像のアウトラインアドレス
を取得し(ステップ(以下STで示す)1)、取得した
アウトラインの1ピクセル毎に、色の3原色 R(赤)
・G(緑)・B(青)に分解し、そのそれぞれの明るさ
を0〜255の256階調の数値に変換する(ST
2)。
First, the outline addresses of the overlapping images are obtained (step (hereinafter referred to as ST) 1), and the three primary colors R (red) are obtained for each pixel of the obtained outline.
G (green) and B (blue), and each brightness is converted into a numerical value of 256 gradations from 0 to 255 (ST
2).

【0036】次に、外側に隣接する重ねられる側の図形
の色を、同様にRGB毎に256階調の数値に変換する
(ST3)。次に、人の目の色に対する知覚の違いを表
す視感度曲線を反映させた色の明るさを表す公式は、R
×0.30+G×0.59+B×0.11である。したがって、ここ
でそれぞれの色の濃さは次の計算式で算出できる(S
4)。すなわち、重ねる図形のアウトラインの色の濃
さ、例えば四角形の画像2の最外郭のドットの色の濃さ
は、 Ci=255(Ri ×0.3 +Gi×0.59+Bi×0.11) であり、外側に隣接する重ねられる側の色の濃さ、例え
ば四角形の画像1の内周の色の濃さは、 Co=255-(Ro×0.3 +Go×0.59+Bo×0.11) である。ここで、Ri,Gi,Biは重ねる図形のアウトライン
の三原色それぞれの明るさを示し、Ro,Go,Boは外側に隣
接する重ねられる側の三原色それぞれの明るさを示す。
Next, the color of the figure on the superimposed side adjacent to the outside is similarly converted into a numerical value of 256 gradations for each of RGB (ST3). Next, a formula representing the brightness of a color reflecting a visibility curve representing a difference in perception of the color of a human eye is R
× 0.30 + G × 0.59 + B × 0.11. Therefore, the color depth of each color can be calculated by the following equation (S
4). That is, the color density of the outline of the superimposed figure, for example, the color density of the outermost dot of the square image 2 is Ci = 255 (Ri × 0.3 + Gi × 0.59 + Bi × 0.11) and is adjacent to the outside. The color density on the superimposed side, for example, the color density on the inner periphery of the square image 1 is Co = 255− (Ro × 0.3 + Go × 0.59 + Bo × 0.11). Here, Ri, Gi, and Bi indicate the brightness of each of the three primary colors of the outline of the superimposed figure, and Ro, Go, and Bo indicate the brightness of each of the three adjacent primary colors on the outer side.

【0037】次に、上記CiとCo の差が50%以上
(|Ci−C0 |>128)であるか否か判断する(S
T5)。ここで、上記差が50%未満である場合(ST
5がNO)、直接判断(ST6)に移行する。一方、上
記差が50%以上である場合(ST5がYES)、両画
像(両図形)の明るさの差が大きいので、外側に隣接す
る重ねられる側の色を以下のように調整する。すなわ
ち、以下の計算式を使用し、境界の色(明るさ)を決定
する(ST7)。
Next, the difference between the Ci and Co least 50% (| Ci-C 0 |> 128) a determines whether it (S
T5). Here, when the difference is less than 50% (ST
5 is NO), and the process proceeds to direct determination (ST6). On the other hand, if the difference is 50% or more (YES in ST5), since the difference in brightness between the two images (both figures) is large, the color on the outer side adjacent to the overlapped side is adjusted as follows. That is, the color (brightness) of the boundary is determined using the following formula (ST7).

【0038】 R0 =|Ri−R0 |÷2+min (Ri,R0 ) G0 =|Gi−G0 |÷2+min (Gi,G0 ) B0 =|Bi−B0 |÷2+min (Bi,B0 ) 上記処理は境界のドットについて、各色毎に差の中間値
を計算し、各色毎にその最小値を加算する計算である。
上記処理を重ねる図形のアウトライン全ての点に対して
行い(ST6がNO、ST2〜ST7)、視認性を確保
しつつスムーズに溶け込ませ違和感を無くした描画を実
現する。 <第3実施例>図9は、本発明の第3実施例を説明する
フローチャートである。
R 0 = | Ri−R 0 | ÷ 2 + min (Ri, R 0 ) G 0 = | Gi−G 0 | ÷ 2 + min (Gi, G 0 ) B 0 = | Bi−B 0 | ÷ 2 + min (Bi , B 0 ) The above processing is for calculating the intermediate value of the difference for each color for the boundary dot and adding the minimum value for each color.
The above processing is performed for all points of the outline of the figure to be overlapped (ST6 is NO, ST2 to ST7), and the drawing is realized by smoothly blending and eliminating uncomfortable feeling while ensuring visibility. <Third Embodiment> FIG. 9 is a flowchart illustrating a third embodiment of the present invention.

【0039】前述と同様、画像生成・描画制御部6はオ
ペレーティングシステム5を介して供給される印字デー
タを順に処理し、印刷用画像メモリ7の順次描画してい
く。この際、既に印刷用画像メモリ7上に描画した画像
と、これから描画しようとする画像とが重なるかどうか
識別し、重なる場合には以下の処理を実行する。
As described above, the image generation / drawing control unit 6 sequentially processes the print data supplied via the operating system 5 and draws the print data in the print image memory 7 sequentially. At this time, it is determined whether or not the image already drawn on the print image memory 7 and the image to be drawn overlap, and if so, the following processing is executed.

【0040】次に前述と同様、重なる画像のアウトライ
ンアドレスを取得し(ステップ(以下STPで示す)
1)、取得したアウトラインの1ピクセル毎に、色の3
原色R(赤)・G(緑)・B(青)に分解して、そのそ
れぞれの明るさを0〜255の256階調の数値に変換
する(STP2)。また、重ねる図形の外側に隣接する
重ねられる側の図形の色を、同様にRGB毎に256階
調の数値に変換する(STP3)。
Next, in the same manner as described above, the outline address of the overlapping image is obtained (step (hereinafter referred to as STP)).
1) For each pixel of the acquired outline, 3
The primary colors R (red), G (green), and B (blue) are separated, and the brightness of each is converted to a numerical value of 256 tones from 0 to 255 (STP2). Similarly, the color of the graphic on the side to be superimposed adjacent to the outside of the graphic to be superimposed is converted into a numerical value of 256 gradations for each of RGB (STP3).

【0041】次に、人の目に色に対する知覚の違いを表
す視感度曲線を反映させた色の明るさを表す公式が、R
×0.30+G×0.59+B×0.11であるため、それぞれの色
の濃さは次の計算式で算出する(STP4)。この計算
式は、前述の計算式と同じである。
Next, a formula representing the brightness of a color reflecting a visibility curve representing a difference in perception of a color to human eyes is expressed by R
Since it is × 0.30 + G × 0.59 + B × 0.11, the color depth of each color is calculated by the following formula (STP4). This calculation formula is the same as the above calculation formula.

【0042】次に、上記計算式によって算出された値C
iとCoの差を比較し(STP5)、この差が25%未
満(|Ci−Co|<63)の場合(STP5がYE
S)、前述の第1実施例と同様、両画像の境界が判別し
にくくなるので、外側に隣接する重ねられる側の色の濃
さを以下の2通りの場合分けにより調整する(STP
6)。
Next, the value C calculated by the above equation is calculated.
The difference between i and Co is compared (STP5), and when this difference is less than 25% (| Ci-Co | <63) (STP5 is YE
S) As in the first embodiment, since the boundary between the two images becomes difficult to determine, the color density of the outer side and the overlapped side is adjusted by the following two cases (STP).
6).

【0043】ここで、上記CiとCoの値の大きい方が
128以上の場合(STP6がYES)、外側に隣接す
る重ねられる側の色を白にする(Ro=0,Go=0,
Bo=0に変更する)(STP7)。また、CiとC0
の値の大きい方が128未満の場合(STP6がN
O)、外側に隣接する重ねられる側の色を黒にする(R
0=255,G0 =255,B0 =255に変更する)
(STP8)。
Here, when the larger value of Ci and Co is 128 or more (YES in STP6), the color of the superimposed side adjacent to the outside is set to white (Ro = 0, Go = 0,
Bo is changed to 0) (STP7). Also, Ci and C 0
Is larger than 128 (STP6 is N
O), the color of the superimposed side adjacent to the outside is set to black (R
0 = 255, G 0 = 255, B 0 = 255)
(STP8).

【0044】次に、外側にある一定範囲先の色データを
取得し(R0+n ,G0+n ,B0+n )、この間を徐々に色
が変わるように、以下のように色を設定する。先ず、あ
る一定範囲の中間地点の色(R0+m ,G0+m 、B0+m
を算出設定する(STP9)。
Next, color data in a certain range ahead on the outside is obtained (R 0 + n , G 0 + n , B 0 + n ), and the color is gradually changed in the interval as follows. Set. First, the colors of the intermediate points in a certain range (R 0 + m , G 0 + m , B 0 + m )
Is calculated and set (STP9).

【0045】 R0+m =|R0+n −R0 |÷2+min (R0+n ,R0 ) G0+m =|G0+n −G0 |÷2+min (G0+n ,G0 ) B0+m =|B0+n −B0 |÷2+min (B0+n ,B0 ) 続いて同様にその範囲全てが埋まるまで算出設定する
(STP10、STP11)。
R 0 + m = | R 0 + n -R 0 | ÷ 2 + min (R 0 + n , R 0 ) G 0 + m = | G 0 + n -G 0 | ÷ 2 + min (G 0 + n , G 0 ) B 0 + m = | B 0 + n −B 0 | ÷ 2 + min (B 0 + n , B 0 ) Then, similarly, the calculation is set until the entire range is filled (STP10, STP11).

【0046】次に、重ねる側の境界にある一定範囲内の
色(Ri+n ,Gi+n ,Bi+n )との間を徐々に色が変わ
るように、以下のように色を設定する。すなわち、ある
一定範囲の中間地点の色(Ri+m ,Gi+m ,Bi+m
を、算出設定する(STP12)。
Next, the colors are gradually changed between the colors (R i + n , G i + n , B i + n ) within a certain range at the boundary on the overlapping side as follows. Set. That is, the colors (R i + m , G i + m , B i + m ) of a certain range of intermediate points
Is calculated and set (STP12).

【0047】 Ri+m =|Ri+n −R0 |÷2+min (Ri+n ,R0 ) Gi+m =|Gi+n −G0 |÷2+min (Gi+n ,G0 ) Bi+m =|Bi+n −B0 |÷2+min (Bi+n ,B0 ) 続いて同様にその範囲全てが埋まるまで算出設定する
(STP13、STP14)。
R i + m = | R i + n −R 0 | ÷ 2 + min (R i + n , R 0 ) G i + m = | G i + n −G 0 | ÷ 2 + min (G i + n , G 0 ) B i + m = | B i + n −B 0 | ÷ 2 + min (B i + n , B 0 ) Then, similarly, the calculation is set until the entire range is filled (STP13, STP14).

【0048】以上の処理を、重ねる図形のアウトライン
全ての領域に対して行い(STP15がNO、STP2
〜STP14)、その結果濃い色同士の場合はその境界
に白が描画され、薄い色同士の場合はその境界に黒が描
画され、それらを囲むように両脇にそれらの色の差を徐
々に埋めるような色が配置されて判別しやすくなる。
The above processing is performed for all the outline areas of the superimposed figures (NO in STP15, STP2
~ STP14), as a result, white is drawn on the boundary between dark colors, black is drawn on the boundary between light colors, and the color difference is gradually reduced on both sides to surround them. Filling colors are arranged to make it easier to determine.

【0049】尚、前述の判断(STP5)において、算
出された値CiとCoの差が25%未満(|Ci−Co
|<63)以上の場合(STP5がNO)、両画像の境
界の判別が困難ではないと考えられるので、直接処理
(STP15)に移行する。 <第4実施例>図10は、本発明の第4実施例を説明す
るフローチャートである。
In the above judgment (STP5), the difference between the calculated values Ci and Co is less than 25% (| Ci-Co
If | <63) or more (NO in STP5), it is considered that it is not difficult to determine the boundary between the two images, so the process directly shifts to processing (STP15). <Fourth Embodiment> FIG. 10 is a flowchart illustrating a fourth embodiment of the present invention.

【0050】前述と同様、本例においても画像生成・描
画制御部6はオペレーティングシステム5を介して供給
される印字データを順に処理し、印刷用画像メモリ7の
順次描画していく。この際、既に印刷用画像メモリ7上
に描画した画像と、これから描画しようとする画像とが
重なるかどうか識別し、重なる場合には以下の処理を実
行する。
As described above, also in this example, the image generation / drawing control unit 6 sequentially processes the print data supplied via the operating system 5 and draws the print data in the print image memory 7 sequentially. At this time, it is determined whether or not the image already drawn on the print image memory 7 and the image to be drawn overlap, and if so, the following processing is executed.

【0051】次に前述と同様、重なる画像のアウトライ
ンアドレスを取得し(ステップ(以下Wで示す)1)、
取得したアウトラインの1ピクセル毎に、色の3原色
R(赤)・G(緑)・B(青)に分解して、そのそれぞ
れの明るさを0〜255の256階調の数値に変換する
(W2)。また、重ねる図形の外側に隣接する重ねられ
る側の図形の色を、同様にRGB毎に256階調の数値
に変換する(W3)。
Next, as described above, the outline address of the overlapping image is obtained (step (hereinafter, indicated by W) 1), and
For each pixel of the acquired outline, the three primary colors
It is separated into R (red), G (green), and B (blue), and each brightness is converted into a numerical value of 256 gradations from 0 to 255 (W2). Similarly, the color of the graphic on the side to be superimposed adjacent to the outside of the graphic to be superimposed is converted into a numerical value of 256 gradations for each of RGB (W3).

【0052】次に、人の目に色に対する知覚の違いを表
す視感度曲線を反映させた色の明るさを表す公式が、R
×0.30+G×0.59+B×0.11であるため、それぞれの色
の濃さは次の計算式で算出する(W4)。この計算式
は、前述の計算式と同じである。
Next, a formula representing the brightness of a color reflecting a luminosity curve representing a difference in perception of color to human eyes is expressed by R
Since it is × 0.30 + G × 0.59 + B × 0.11, the color density of each color is calculated by the following formula (W4). This calculation formula is the same as the above calculation formula.

【0053】次に、上記計算式によって算出した値Ci
とC0 の差が50%以上(|Ci−C0 |>128)で
あるか否か判断する(W5)。ここで、上記差が50%
以下である場合(W5がNO)、直接判断(W6)に移
行する。一方、上記差が50%以上である場合(W5が
YES)、両画像(両図形)の明るさの差が大きいの
で、外側に隣接する重ねられる側の色を以下のように調
整する。すなわち、前述の第2実施例と同様、境界の色
(明るさ)を決定する(W7)。
Next, the value Ci calculated by the above equation is calculated.
Difference C 0 50% or more and (| Ci-C 0 |> 128) a determines whether it (W5). Here, the difference is 50%
If it is below (W5 is NO), the process proceeds to direct determination (W6). On the other hand, if the difference is equal to or greater than 50% (W5 is YES), the difference in brightness between the two images (both figures) is large. That is, the color (brightness) of the boundary is determined as in the second embodiment (W7).

【0054】 R0 =|Ri−R0 |÷2+min (Ri,R0 ) G0 =|Gi−G0 |÷2+min (Gi,G0 ) B0 =|Bi−B0 |÷2+min (Bi,B0 ) 次に、本例の場合外側にある一定範囲先の色(R0+n
0+n ,B0+n )との間を徐々に色が変わるように、以
下のように色を設定する。すなわち、ある一定範囲の中
間地点の色(R0+m ,G0+m 、B0+m )を、算出設定す
る(W8、W9)。
R 0 = | Ri−R 0 | ÷ 2 + min (Ri, R 0 ) G 0 = | Gi−G 0 | ÷ 2 + min (Gi, G 0 ) B 0 = | Bi−B 0 | ÷ 2 + min (Bi , B 0 ) Next, in the case of this example, the color (R 0 + n ,
G 0 + n , B 0 + n ), so that the color is gradually changed as follows. That is, the colors ( R0 + m , G0 + m , B0 + m ) of the intermediate points in a certain range are calculated and set (W8, W9).

【0055】 R0+m =|R0+n −R0 |÷2+min (R0+n ,R0 ) G0+m =|G0+n −G0 |÷2+min (G0+n ,G0 ) B0+m =|B0+n −B0 |÷2+min (B0+n ,B0 ) 続いて同様にその範囲全てが埋まるまで算出設定する
(W10がNO、W9)。
R 0 + m = | R 0 + n -R 0 | ÷ 2 + min (R 0 + n , R 0 ) G 0 + m = | G 0 + n -G 0 | ÷ 2 + min (G 0 + n , G 0 ) B 0 + m = | B 0 + n -B 0 | ÷ 2 + min (B 0 + n , B 0 ) Then, similarly, the calculation is set until the entire range is filled (W10 is NO, W9).

【0056】さらに、重ねる側の境界にある一定範囲内
側の色(Ri+n ,Gi+n ,Gi+n )との間を徐々に色が
変わるように、以下のように色を設定する。すなわち、
ある一定範囲の中間地点の色(Ri+m ,Gi+m
i+m )を、算出設定する(W10がYES、W11、
W12)。
Further, the colors are changed as follows so that the colors gradually change between the colors (R i + n , G i + n , and G i + n ) inside the fixed range at the boundary on the overlapping side. Set. That is,
A certain range of intermediate point colors (R i + m , G i + m ,
B i + m ) is calculated (W10 is YES, W11,
W12).

【0057】 Ri+m =|Ri+n −R0 |÷2+min (Ri+n ,R0 ) Gi+m =|Gi+n −G0 |÷2+min (Gi+n ,G0 ) Bi+m =|Bi+n −B0 |÷2+min (Bi+n ,B0 ) 続いて同様にその範囲全てが埋まるまで算出設定する
(W13がNO、W12)。
R i + m = | R i + n −R 0 | ÷ 2 + min (R i + n , R 0 ) G i + m = | G i + n −G 0 | ÷ 2 + min (G i + n , G 0 ) B i + m = | B i + n −B 0 | ÷ 2 + min (B i + n , B 0 ) Similarly, calculation is set until the entire range is filled (W13 is NO, W12).

【0058】以上の処理を、重ねる図形のアウトライン
全ての領域に対して行い、その結果、視認性を確保しつ
つスムーズに溶け込ませ違和感を無くした描画を実現す
る。 <第5実施例>図11は、本発明の第5実施例を説明す
るフローチャートである。
The above processing is performed for all the outline regions of the superimposed figures, and as a result, the drawing is smoothly blended and the uncomfortable feeling is eliminated while ensuring the visibility. <Fifth Embodiment> FIG. 11 is a flowchart for explaining a fifth embodiment of the present invention.

【0059】前述と同様、本例においても画像生成・描
画制御部6はオペレーティングシステム5を介して供給
される印字データを順に処理し、印刷用画像メモリ7の
順次描画していく。この際、既に印刷用画像メモリ7上
に描画した画像と、これから描画しようとする画像とが
重なるかどうか識別し、重なる場合には以下の処理を実
行する。
As described above, also in this example, the image generation / drawing control unit 6 sequentially processes the print data supplied via the operating system 5 and draws sequentially in the print image memory 7. At this time, it is determined whether or not the image already drawn on the print image memory 7 and the image to be drawn overlap, and if so, the following processing is executed.

【0060】次に前述と同様、重なる画像のアウトライ
ンアドレスを取得し(ステップ(以下Uで示す)1)、
取得したアウトラインの1ピクセル毎に、色の3原色
R(赤)・G(緑)・B(青)に分解して、そのそれぞ
れの明るさを0〜255の256階調の数値に変換する
(U2)。また、重ねる図形の外側に隣接する重ねられ
る側の図形の色を、同様にRGB毎に256階調の数値
に変換する(U3)。
Next, in the same manner as described above, the outline address of the overlapping image is obtained (step (hereinafter, referred to as U) 1).
For each pixel of the acquired outline, the three primary colors
It is separated into R (red), G (green), and B (blue), and the brightness of each is converted to a numerical value of 256 tones from 0 to 255 (U2). Similarly, the color of the graphic on the side to be superimposed adjacent to the outside of the graphic to be superimposed is converted into a value of 256 gradations for each of RGB (U3).

【0061】次に、人の目に色に対する知覚の違いを表
す視感度曲線を反映させた色の明るさを表す公式が、R
×0.30+G×0.59+B×0.11であるため、それぞれの色
の濃さは次の計算式で算出する(U4)。この計算式
は、前述の計算式と同じである。
Next, a formula representing the brightness of a color reflecting a luminosity curve representing a difference in perception of color with respect to the human eye is expressed by R
Since it is × 0.30 + G × 0.59 + B × 0.11, each color density is calculated by the following formula (U4). This calculation formula is the same as the above calculation formula.

【0062】次に、算出された値CiとC0 の差が25
%未満(|Ci−C0 |<63)の場合(U5がYE
S)、境界が判別しにくくなるので、境界線を前述の第
1実施例によって白抜き、又は黒線印字する。尚、境界
線を白抜き処理する場合、判断U5がYES、判断U6
がYES、処理U7を実行する。また、境界線を黒線に
する場合、判断U5がYES、判断U6がNO、処理U
8を実行する。
Next, the difference between the calculated values Ci and C 0 is 25
Less than% (| Ci-C 0 | <63) when the (U5 is YE
S) Since the boundary is difficult to determine, the boundary line is printed as a white or black line according to the first embodiment. In the case where the boundary line is subjected to whitening processing, the determination U5 is YES, and the determination U6.
Is YES, the process U7 is executed. When the boundary line is a black line, the judgment U5 is YES, the judgment U6 is NO, and the processing U
8 is executed.

【0063】一方、算出された値CiとC0 の差が50
%以上(|Ci−C0 |>128)の場合(U5がN
O、U9がYES)、前述の第2実施形態で説明した処
理に従って処理を行い(U10)、色調整(明るさ調
整)を行う。
On the other hand, the difference between the calculated values Ci and C 0 is 50
% (| Ci-C 0 |> 128) (U5 is N
O and U9 are YES), processing is performed according to the processing described in the second embodiment (U10), and color adjustment (brightness adjustment) is performed.

【0064】また、算出された値CiとC0 の差が50
%未満(|Ci−C0 |<128)の場合(U9がN
O)、前述の第3実施例、第4実施例で説明した処理を
行う(U11以降)。尚、これらの処理については前述
と同様であり、説明を省略する。
The difference between the calculated values Ci and C 0 is 50
% Less (| Ci-C 0 | < 128) when the (U9 is N
O), the processing described in the third and fourth embodiments is performed (U11 and thereafter). Note that these processes are the same as those described above, and a description thereof will be omitted.

【0065】以上のように処理することによって、複数
の画像(複数の図形)間の境界を明確にし、また調整を
行い、見易い印刷画像とする図形境界作成装置を提供す
る。 <第6実施例>次に、第6実施例について説明する。
By performing the above-described processing, a boundary between a plurality of images (a plurality of figures) is clarified and adjusted, and a figure boundary creating apparatus for providing a printed image which is easy to see is provided. <Sixth Embodiment> Next, a sixth embodiment will be described.

【0066】本例は、頁単位で印刷画像を描画形成して
印刷を行うプリンタ装置2において、それぞれの描画命
令を印刷用画像メモリに描画する環境を考える。プリン
タ装置2は、コンピュータ1からの画像描画命令を順に
処理し印刷用画像メモリに描画していく。その際に、す
でに画像メモリ上に描画された画像と、これから描画し
ようとしている画像とが重なるかどうかを識別し、重な
る場合には以下の処理を施し描画を行う。
In the present embodiment, an environment is considered in which each drawing command is drawn in the printing image memory in the printer device 2 which draws and forms a print image on a page basis and performs printing. The printer device 2 sequentially processes the image drawing commands from the computer 1 and draws the image drawing commands in the print image memory. At this time, it is determined whether or not the image already drawn on the image memory and the image to be drawn overlap, and if so, the following processing is performed to perform drawing.

【0067】通常、プリンタ装置2内では、C(シア
ン)、M(マゼンタ)、Y(イエロー)に色成分を分解
し、それぞれの画像メモリに描画している。従って、実
際にはこのCMY色成分において色補正を行うのである
が、ここでは説明の便宜上RGBで行うが、基本的なR
GBとCMY変換は次の計算式により行う。
Normally, in the printer device 2, the color components are separated into C (cyan), M (magenta), and Y (yellow) and drawn in the respective image memories. Therefore, the color correction is actually performed on the CMY color components. Here, for the sake of convenience, the color correction is performed using RGB.
The GB and CMY conversion is performed by the following formula.

【0068】C(シアン)=255−R(赤),M(マ
ゼンタ)=255−G(緑)、Y(イエロー)=255
−B(青) 上記変換式を使用することによってイエロー(Y)、マ
ゼンダ(M)、シアン(C)の色の場合にも、前述のR
GBの場合と同様に実行することができる。 <第2実施形態例>次に、本発明の第2実施形態を説明
する。
C (cyan) = 255-R (red), M (magenta) = 255-G (green), Y (yellow) = 255
-B (blue) By using the above conversion formula, even in the case of yellow (Y), magenta (M), and cyan (C) colors, the aforementioned R
It can be executed in the same way as in the case of GB. <Second Embodiment> Next, a second embodiment of the present invention will be described.

【0069】本実施形態は、網掛けの修飾が指定された
場合、その網掛けの指定を無視して、塗り潰しに変換す
る処理と、塗り潰しに使用する色を、指定された色から
変更して出力することにより、ディザパターンの干渉に
よる問題を回避し、網掛け部分の明度と色相を維持する
ものである。
According to the present embodiment, when shading is specified, the shading is ignored, and the conversion to fill is performed, and the color used for fill is changed from the specified color. By outputting, the problem caused by the interference of the dither pattern is avoided, and the brightness and hue of the shaded portion are maintained.

【0070】また、網掛けの修飾が指定された場合、そ
の網掛けの指定を無視して、塗り潰しに変換する処理
と、塗り潰しに使用する色を、指定された色から変更し
て出力することにより、ディザパターンの干渉による問
題を回避し、網掛け部分の明度と色相を維持する手法を
有するシステムである。
When the modification of the shading is designated, the process of converting the shading into a fill, ignoring the designation of the shading, and changing the color used for the fill from the designated color and outputting the same. Thus, a system that avoids the problem due to interference of dither patterns and maintains the brightness and hue of the shaded portion is provided.

【0071】また、上記処理は前述のコンピュータ1内
の画像生成・描画制御部6が実行する。12は本例の処
理を説明するフローチャートであり、先ず描画データに
網掛け修飾が行われているかどうかを判断し(T1)、
網掛け修飾が行われていない場合直ちに描画データを印
刷データに変換する(T1がNO、T2)。一方、網掛
け修飾が行われている場合には、選択された網掛けに応
じた明度の掛率をテーブルから取り出す(T1がYE
S、T3)。
The above processing is executed by the image generation / drawing control section 6 in the computer 1 described above. Reference numeral 12 is a flowchart for explaining the processing of the present embodiment. First, it is determined whether or not the shading modification is performed on the drawing data (T1).
If the shading modification is not performed, the drawing data is immediately converted to the print data (T1 is NO, T2). On the other hand, when the shading modification is performed, the shade ratio of the brightness corresponding to the selected shading is extracted from the table (T1 is YE
S, T3).

【0072】このテーブルは不図示の領域に設けられ、
網掛けに応じた掛け率、例えば50%の網掛けであれば
「0.5」、25%の網掛けであれば、「0.25」な
どを格納しておく。尚、網掛けのパターンとしてはその
他に、斜線や正メッシュなどの図形を用いた網掛けパタ
ーンもあるが、これらの場合には、塗り潰しに変換する
処理を除外してもよいし、面積に対するパターンの占有
率をテーブルに格納しておいてもよい。
This table is provided in an area (not shown).
A shading rate corresponding to the shading, for example, “0.5” for 50% shading, “0.25” for 25% shading, and the like are stored. In addition, as a hatching pattern, there is also a hatching pattern using a figure such as a diagonal line or a positive mesh. In these cases, the process of converting to a solid fill may be excluded, and the pattern for the area may be excluded. May be stored in a table.

【0073】次に、取り出した掛け率を元に、文書の網
掛け部分に指定された色を変更する(T4)。色の変更
には、例えばRGB値であれば、以下の計算式を用いる
ことができる。
Next, the color designated in the shaded portion of the document is changed based on the taken out ratio (T4). To change the color, for example, if the value is an RGB value, the following calculation formula can be used.

【0074】計算式:(R′,G′,B′)=255 −明
度掛率×(255-(R,G,B)) 次に、網掛け修飾を、印刷用に一時的に塗り潰しに変換
する(T5)この処理により、文書中で指定された色付
きの網掛けは、同等の明度を保持したまま、塗り潰しに
変換される。
Calculation formula: (R ′, G ′, B ′) = 255−lightness multiplying factor × (255− (R, G, B)) Next, the shading modification is temporarily filled in for printing. Convert (T5) Through this processing, the shaded area with a color specified in the document is converted into a solid color while maintaining the same lightness.

【0075】以上のように網掛けを使わないことによ
り、ディザリングと網掛けの干渉がなくなり、網掛けの
もつ識別性を維持したまま視認性の向上を図ることがで
き、また色の明度を同等にするために文書のバランスを
崩すことがない。
By not using shading as described above, interference between dithering and shading is eliminated, visibility can be improved while maintaining the distinctiveness of shading, and color brightness can be improved. Do not break the balance of documents to make them equal.

【0076】尚、上述のように処理した後、描画データ
に従って印刷データへの変換処理を行う。一方、図13
は本実施形態の他の例を説明するフローチャートであ
り、先ず塗りつぶしパターンは網掛けか否か判断する
(V1)。ここで、塗りつぶしパターンが網掛けでなけ
れば描画データを印刷データに変換する処理に移行する
(V2)。一方、塗りつぶしパターンが網掛けであれば
(V1がYES)、次にディザリングの判定を行う(V
3)。ここで、印刷ドライバは指定された色の描画を行
う場合にカラーマッチッグを行うため、その色の表現す
るためにディザリングが必要かどうかを判断できる。こ
こで、ディザリングが必要ない色については、ディザリ
ングと網掛けの干渉は起きないため、網掛けを塗り潰し
に変換する処理は行わない(V3がNO、V2)。
After the above processing, conversion processing to print data is performed according to the drawing data. On the other hand, FIG.
Is a flowchart for explaining another example of the present embodiment. First, it is determined whether or not the paint pattern is shaded (V1). Here, if the fill pattern is not shaded, the process proceeds to a process of converting drawing data into print data (V2). On the other hand, if the fill pattern is shaded (V1 is YES), then dithering is determined (V1).
3). Here, since the print driver performs color matching when drawing a designated color, it can determine whether or not dithering is necessary to express the color. Here, for a color that does not require dithering, no interference occurs between dithering and shading, so that the process of converting shading into solid color is not performed (V3 is NO, V2).

【0077】一方、ディザリングが発生する場合には前
述と同様の処理を行う(V3がYES、V4〜V6)。
尚、処理(V5)における色の変更の計算は、厳密に明
度を網掛けの時と塗り潰しの時とで一致させようとすれ
ば、印刷装置のカラー指定(CMYK)に変換した上で
計算を行う。このとき計算式は、 計算式:(C′,M′,Y′,K′)=明度掛率×
(C,M,Y,K) 次に、上述のように処理した後、描画データに従って印
刷データへの変換処理を行う(V2)。
On the other hand, when dithering occurs, the same processing as described above is performed (YES in V3, V4 to V6).
In the calculation of the color change in the process (V5), if the brightness is to be strictly matched between the time of shading and the time of filling, the calculation is performed after converting into the color designation (CMYK) of the printing apparatus. Do. At this time, the calculation formula is: (C ′, M ′, Y ′, K ′) = lightness multiplication factor ×
(C, M, Y, K) Next, after processing as described above, conversion processing to print data is performed according to the drawing data (V2).

【0078】以上のように処理することによって、印刷
装置個々の特性を加味した処理が行え、網掛けを塗り潰
しに変更した場合でも、更に違和感なく色相・明度を保
つことができる。
By performing the processing as described above, it is possible to perform processing in consideration of the characteristics of each printing apparatus, and it is possible to maintain hue and brightness without a sense of incongruity even when shading is changed to solid.

【0079】[0079]

【発明の効果】以上説明したように、本発明によれば画
像の境界が明確になり、視認性が向上し、極めて見易い
画像を生成することができる。
As described above, according to the present invention, the boundaries of the images become clear, the visibility is improved, and an extremely easy-to-view image can be generated.

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

【図1】本実施形態を説明する図形境界作成装置を適用
した印刷システムのシステム構成図である。
FIG. 1 is a system configuration diagram of a printing system to which a graphic boundary creating device according to an embodiment is applied.

【図2】コンピュータのシステム構成図である。FIG. 2 is a system configuration diagram of a computer.

【図3】第1実施例の処理動作を説明するフローチャー
トである。
FIG. 3 is a flowchart illustrating a processing operation of the first embodiment.

【図4】第1実施例を説明する図である。FIG. 4 is a diagram illustrating a first embodiment.

【図5】図形の境界が白印字される印刷例である。FIG. 5 is a print example in which a boundary of a graphic is printed in white.

【図6】図形の境界が黒印字される印刷例である。FIG. 6 is a print example in which the boundary of a graphic is printed in black.

【図7】図形の境界がそのままの印刷例である。FIG. 7 is a print example in which a boundary of a graphic is left as it is.

【図8】第2実施例の処理動作を説明するフローチャー
トである。
FIG. 8 is a flowchart illustrating a processing operation of the second embodiment.

【図9】第3実施例の処理動作を説明するフローチャー
トである。
FIG. 9 is a flowchart illustrating a processing operation of the third embodiment.

【図10】第4実施例の処理動作を説明するフローチャ
ートである。
FIG. 10 is a flowchart illustrating a processing operation of the fourth embodiment.

【図11】第5実施例の処理動作を説明するフローチャ
ートである。
FIG. 11 is a flowchart illustrating a processing operation of the fifth embodiment.

【図12】第2実施形態例の処理動作を説明するフロー
チャートである。
FIG. 12 is a flowchart illustrating a processing operation according to the second embodiment.

【図13】第2実施形態例の処理動作を説明するフロー
チャートである。
FIG. 13 is a flowchart illustrating a processing operation according to the second embodiment.

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

1 コンピュータ 2 プリンタ装置 3 アプリケーションソフト(APL) 4 プリンタドライバ(DRV) 5 オペレーティングシステム(OS) 6 画像生成・描画制御部 7 印刷用画像メモリ Reference Signs List 1 computer 2 printer device 3 application software (APL) 4 printer driver (DRV) 5 operating system (OS) 6 image generation / drawing control unit 7 image memory for printing

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/60 H04N 1/40 D 5C082 1/46 1/46 Z (72)発明者 斉藤 浩 東京都東大和市桜が丘2丁目229 番地 カシオ計算機株式会社東京事業所内 Fターム(参考) 2C262 AA24 AA27 AB13 BA11 BC11 CA07 DA18 EA04 EA08 5B021 AA01 BB09 LG07 LG08 5B057 AA11 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CE17 5C077 MP06 MP07 MP08 NN08 PP19 PP32 PP33 PP37 PP47 PQ20 5C079 HB01 HB02 LA06 LB11 MA11 MA19 NA06 NA29 PA03 5C082 AA01 AA18 AA22 AA32 BA12 BA34 BB42 CA21 CA82 CB01 DA42 DA87 MM10 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 1/60 H04N 1/40 D 5C082 / 1/46 1/46 Z (72) Inventor Hiroshi Saito Tokyo Univ. Of Tokyo 2-229 Sakuragaoka, Wa-shi Casio Computer Co., Ltd. Tokyo Office F-term (reference) 2C262 AA24 AA27 AB13 BA11 BC11 CA07 DA18 EA04 EA08 5B021 AA01 BB09 LG07 LG08 5B057 AA11 CA01 CA08 CA12 CA16 CB01 CB08 MP07 CE06 MP07 CE NN08 PP19 PP32 PP33 PP37 PP47 PQ20 5C079 HB01 HB02 LA06 LB11 MA11 MA19 NA06 NA29 PA03 5C082 AA01 AA18 AA22 AA32 BA12 BA34 BB42 CA21 CA82 CB01 DA42 DA87 MM10

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 画像の重なりを識別する識別手段と、 該識別手段によって識別された画像の重なりの境界部分
の色を変更する色変更手段と、 前記重なる画像間の明るさの差を検出する検出手段と、 該検出手段によって検出した画像間の明るさの差に基づ
いて、前記色変更手段に所定の色を決定させる色決定手
段と、 を有することを特徴とする図形境界作成装置。
1. An identification unit for identifying overlapping of images, a color changing unit for changing a color of an overlapping boundary portion of the images identified by the identifying unit, and detecting a difference in brightness between the overlapping images. A graphic boundary creating apparatus, comprising: a detecting unit; and a color determining unit that causes the color changing unit to determine a predetermined color based on a difference in brightness between images detected by the detecting unit.
【請求項2】 前記画像間の明るさの差は、人の目の知
覚における色の濃さを基準にして設定されることを特徴
とする請求項1記載の図形境界作成装置。
2. The graphic boundary creating apparatus according to claim 1, wherein the difference in brightness between the images is set based on a color density in human perception.
【請求項3】 前記色決定手段は、画像間の明るさの差
が小さい時境界線を所定の色に設定することを特徴とす
る請求項1記載の図形境界作成装置。
3. The graphic boundary creating apparatus according to claim 1, wherein said color determining means sets a boundary line to a predetermined color when a difference in brightness between images is small.
【請求項4】 前記所定の色は、前記画像の色が濃い場
合白色であり、前記画像の色が薄い場合黒色であること
を特徴とする請求項3記載の図形境界作成装置。
4. The apparatus according to claim 3, wherein the predetermined color is white when the color of the image is dark, and black when the color of the image is light.
【請求項5】 前記色決定手段は、画像間の明るさの差
が大きい時境界線近傍の一定領域を境界の両脇を色の差
を徐々に埋めるように色設定することを特徴とする請求
項1記載の図形境界作成装置。
5. The color determining means sets a color in a certain area near the boundary line so that the color difference gradually fills both sides of the boundary when the brightness difference between the images is large. The apparatus according to claim 1.
【請求項6】 前記画像の色の設定は、R(赤)、G
(緑)、B(青)の色に対して行うことを特徴とする請
求項1記載の図形境界作成装置。
6. The color setting of the image includes R (red), G
2. The graphic boundary creating apparatus according to claim 1, wherein the processing is performed for the colors (green) and B (blue).
【請求項7】 前記画像の色の設定は、イエロー
(Y)、マゼンダ(M)、シアン(C)の色に対して行
うことを特徴とする請求項1記載の図形境界作成装置。
7. The apparatus according to claim 1, wherein the setting of the color of the image is performed for yellow (Y), magenta (M), and cyan (C).
【請求項8】 画像の重なりを識別する識別処理と、 該識別処理によって識別された画像の重なりの境界部分
の色を変更する色変更処理と、 前記重なる画像間の明るさの差を検出する検出処理と、 該検出処理によって検出した画像間の明るさの差に基づ
いて、所定の色を決定させる色決定処理と、 を行うことを特徴とする図形境界作成方法。
8. An identification process for identifying overlapping of images, a color changing process for changing a color of an overlapping boundary portion of the images identified by the identifying process, and detecting a difference in brightness between the overlapping images. A graphic boundary creation method, comprising: performing a detection process; and a color determination process for determining a predetermined color based on a difference in brightness between images detected by the detection process.
JP2000050414A 2000-02-28 2000-02-28 Apparatus and method for forming boundary of figure Abandoned JP2001239705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000050414A JP2001239705A (en) 2000-02-28 2000-02-28 Apparatus and method for forming boundary of figure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000050414A JP2001239705A (en) 2000-02-28 2000-02-28 Apparatus and method for forming boundary of figure

Publications (1)

Publication Number Publication Date
JP2001239705A true JP2001239705A (en) 2001-09-04

Family

ID=18572201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000050414A Abandoned JP2001239705A (en) 2000-02-28 2000-02-28 Apparatus and method for forming boundary of figure

Country Status (1)

Country Link
JP (1) JP2001239705A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007271653A (en) * 2006-03-30 2007-10-18 Casio Comput Co Ltd Projecting device, projecting method, and program
JP2010021847A (en) * 2008-07-11 2010-01-28 Canon Inc Image processing apparatus and image processing method
JP2010127635A (en) * 2008-11-25 2010-06-10 Sharp Corp Photodetecting semiconductor apparatus and mobile device
JP2013066005A (en) * 2011-09-16 2013-04-11 Seiko Epson Corp Image forming apparatus and image forming method
JP2015046835A (en) * 2013-08-29 2015-03-12 株式会社沖データ Device and method for image formation

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007271653A (en) * 2006-03-30 2007-10-18 Casio Comput Co Ltd Projecting device, projecting method, and program
JP2010021847A (en) * 2008-07-11 2010-01-28 Canon Inc Image processing apparatus and image processing method
JP2010127635A (en) * 2008-11-25 2010-06-10 Sharp Corp Photodetecting semiconductor apparatus and mobile device
JP4647004B2 (en) * 2008-11-25 2011-03-09 シャープ株式会社 Photodetection semiconductor device and mobile device
JP2013066005A (en) * 2011-09-16 2013-04-11 Seiko Epson Corp Image forming apparatus and image forming method
JP2015046835A (en) * 2013-08-29 2015-03-12 株式会社沖データ Device and method for image formation
US9251447B2 (en) 2013-08-29 2016-02-02 Oki Data Corporation Image formation apparatus and method of forming image

Similar Documents

Publication Publication Date Title
JP4804605B2 (en) Transparency processing in page description language
US8526061B2 (en) Image processing apparatus, image processing method, and computer program product
US8811739B2 (en) Image processing device
JP2003110868A (en) Image processing method, image processor, storage medium and program
JP4882626B2 (en) Image processing apparatus, image forming apparatus, and program
JP6417851B2 (en) Image processing apparatus and computer program
US8159694B2 (en) Image processor and image processing method processing an image that includes a semi-transparent object or an image with periodically varying density
JP2010041267A (en) Image processing apparatus, image processing method, and computer readable recording medium storing program for performing the method
JP4349370B2 (en) Image processing apparatus and image processing program for superimposing images
JP2001239705A (en) Apparatus and method for forming boundary of figure
US6046748A (en) Cooperative filter and raster operation evaluation model
KR100959608B1 (en) Image processing apparatus, printer, and image processing method
JP4946370B2 (en) Image processing apparatus, image forming apparatus, and program
US5812743A (en) Image recording system
JP4356953B2 (en) Image processing system, image processing apparatus, control method therefor, and storage medium
US7450266B2 (en) Color cast reduction system and method
JP2008022207A (en) Image processing apparatus and program
JPH04139589A (en) Graphic processor
JP2000138816A (en) Color image output method, device and recording medium thereof
JP4455261B2 (en) Image processing method, image processing apparatus, and image forming system
JP2006260532A (en) Image forming apparatus and method
JP5496230B2 (en) Image processing apparatus, image processing method, and program
JP2006260533A (en) Image forming apparatus and method
JP4217332B2 (en) Image processing apparatus and method, and computer-readable memory
JP2006059320A (en) Method and system for application page description in print device color space

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20080303

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20080303