JP5790000B2 - Printing apparatus and printing method therefor - Google Patents

Printing apparatus and printing method therefor Download PDF

Info

Publication number
JP5790000B2
JP5790000B2 JP2011021100A JP2011021100A JP5790000B2 JP 5790000 B2 JP5790000 B2 JP 5790000B2 JP 2011021100 A JP2011021100 A JP 2011021100A JP 2011021100 A JP2011021100 A JP 2011021100A JP 5790000 B2 JP5790000 B2 JP 5790000B2
Authority
JP
Japan
Prior art keywords
element data
drawing element
color information
vector data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011021100A
Other languages
Japanese (ja)
Other versions
JP2012160135A (en
Inventor
照幸 高田
照幸 高田
徹 松山
徹 松山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2011021100A priority Critical patent/JP5790000B2/en
Publication of JP2012160135A publication Critical patent/JP2012160135A/en
Application granted granted Critical
Publication of JP5790000B2 publication Critical patent/JP5790000B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、印刷装置、及び、その印刷方法に関する。   The present invention relates to a printing apparatus and a printing method thereof.

一般的に、CAD(Computer Aided Design)等の画像データは、多数の線画やテキスト等のベクターデータを有する。そのため、画像データにおけるベクターデータ同士の描画画像の重複が頻繁に発生する。そのようなCAD等の画像データの印刷画像において、例えば、同一色のベクターデータの描画画像が重複した場合、当該重複画像の各部分がいずれのベクターデータによって描画されたのかを識別することは困難である。   Generally, image data such as CAD (Computer Aided Design) has a lot of vector data such as line drawings and texts. Therefore, overlapping of drawing images between vector data in image data frequently occurs. In such a print image of image data such as CAD, for example, when drawing images of vector data of the same color overlap, it is difficult to identify which vector data is used to draw each part of the overlapping image. It is.

具体的に、黒色の線のベクターデータと、黒色の文字列“一二三”等のベクターデータによる描画画像が重複する場合、その印刷画像から黒色の線と黒色の文字列の情報を正確に区別して判読することは困難である。このように、複数の同一色のベクターデータの描画画像が重複する場合、その印刷画像における情報の判読性が不十分であり不便であった。   Specifically, when the black line vector data overlaps with the drawn image by the vector data such as the black character string “123”, the information on the black line and the black character string is accurately obtained from the printed image. It is difficult to distinguish and interpret. As described above, when a plurality of drawing images of vector data of the same color overlap, the readability of information in the printed image is insufficient and inconvenient.

そこで、特許文献1では、画像形成処理において、ラスターデータとベクターデータ(例えば、「ABCDEFGHIJ」)とが重複し、色が同一または近似する場合に、ベクターデータの色情報を変更することが記載されている。   Therefore, Patent Document 1 describes that in image formation processing, raster data and vector data (for example, “ABCDEFGHIJ”) overlap and the color information of the vector data is changed when the colors are the same or approximate. ing.

特開2009−302966号公報JP 2009-302966 A

しかしながら、従来の画像形成装置では、ベクターデータ同士が重複した場合の処理については記載されていない。また、従来の画像形成装置では、例えば重複したベクターデータの色情報を変更する場合、「ABCDEFGHIJ」等の文字列全ての色情報を変更する。これにより、例えば、文字列等のベクターデータが当該ベクターデータと同一色のラスターデータA、及び、当該ベクターデータと色の異なるラスターデータBと重複する場合、ラスターデータAと識別可能にするためにベクターデータの色情報を変更した結果、変更後の色情報がかえってラスターデータBと同一または近似してしまうことがあった。   However, the conventional image forming apparatus does not describe the processing when the vector data overlap. In the conventional image forming apparatus, for example, when changing the color information of the overlapping vector data, the color information of all character strings such as “ABCDEFGHIJ” is changed. Thus, for example, when vector data such as a character string overlaps raster data A having the same color as the vector data and raster data B having a color different from that of the vector data, the raster data A can be identified. As a result of changing the color information of the vector data, the changed color information sometimes becomes the same as or approximate to the raster data B.

そこで、本発明では、同一色のベクターデータの重複時に、重複部分の画像の識別を可能にしながら色情報の変更範囲を最小限にした印刷装置、及び、その印刷方法を提供することを目的とする。   Accordingly, an object of the present invention is to provide a printing apparatus and a printing method for minimizing the change range of color information while enabling identification of overlapping images when overlapping vector data of the same color. To do.

上記の目的を達成するために、本発明の第1の側面によれば、描画開始座標情報と描画終了座標情報と色情報とを有する描画要素データに基づいて印刷媒体に印刷を行う印刷装置において、第1描画要素データの第1の要素画像と、第2描画要素データとの第2の要素画像の重複を検出する重複検出手段と、前記色情報を比較して色の差分が所定量内か否かを判断する色判断手段と、前記色情報を変更する色情報変更手段と、を有し、前記色情報変更手段は、前記重複検出手段において重複が検出され、前記色判断手段において前記第1描画要素データの第1色情報と前記第2描画要素データの第2色情報の前記色の差分が所定量内と判断された場合、前記第1色情報と前記第2色情報のうち少なくとも1つの前記色情報を変更する。   In order to achieve the above object, according to a first aspect of the present invention, in a printing apparatus that performs printing on a printing medium based on drawing element data having drawing start coordinate information, drawing end coordinate information, and color information. A duplication detecting means for detecting duplication of the first element image of the first drawing element data and the second element image of the second drawing element data, and the color difference is within a predetermined amount by comparing the color information. A color determination unit that determines whether the color information is changed, and a color information change unit that changes the color information. The color information change unit detects an overlap in the overlap detection unit, and the color determination unit When it is determined that the color difference between the first color information of the first drawing element data and the second color information of the second drawing element data is within a predetermined amount, the first color information and the second color information At least one of the color information is changed.

この態様によれば、印刷装置は、重複部分の描画画像を識別可能にしながら、色情報の変更対象の画素領域を最小限に抑えることができる。   According to this aspect, the printing apparatus can minimize the pixel area whose color information is to be changed while making it possible to identify the overlapping portion of the drawn images.

上記の第1の側面において好ましい態様によれば、さらに、前記第1描画要素データは複数の描画要素データから成る描画要素データ群に含まれ、前記第2描画要素データは前記描画要素データ群に含まれない。   According to a preferable aspect in the first aspect, the first drawing element data is further included in a drawing element data group including a plurality of drawing element data, and the second drawing element data is included in the drawing element data group. Not included.

この態様によれば、印刷装置は、重複部分の描画画像を識別可能にしながら、色情報の変更対象の画素領域を最小限に抑えることができる。   According to this aspect, the printing apparatus can minimize the pixel area whose color information is to be changed while making it possible to identify the overlapping portion of the drawn images.

上記の第1の側面において好ましい態様によれば、さらに、前記色情報変更手段は、前記第1色情報を変更すると共に、前記描画要素データ群に含まれる前記第1描画要素データ以外の描画要素データの前記色情報も変更する。   According to a preferable aspect in the first aspect, the color information changing unit further changes the first color information and draws elements other than the first drawing element data included in the drawing element data group. The color information of the data is also changed.

この態様によれば、印刷装置は、描画要素データ群の色情報を統一することにより、印刷画像の判読性を高めることができる。   According to this aspect, the printing apparatus can improve the readability of the print image by unifying the color information of the drawing element data group.

上記の第1の側面において好ましい態様によれば、さらに、前記所定量は、0である。   According to a preferable aspect in the first aspect, the predetermined amount is zero.

この態様によれば、印刷装置は、重複する同一色の描画画像を識別可能にしながら、色情報の変更対象の画素領域を最小限に抑えることができる。   According to this aspect, the printing apparatus can minimize the pixel area whose color information is to be changed while making it possible to identify overlapping drawing images of the same color.

上記の第1の側面において好ましい態様によれば、さらに、前記印刷装置において表色可能な色空間における最大の色の差分の3%未満である。   According to a preferable aspect in the first aspect, the difference is less than 3% of the maximum color difference in the color space that can be represented by the printing apparatus.

この態様によれば、印刷装置は、重複する識別困難な色の描画画像を識別可能にしながら、色情報の変更対象の画素領域を最小限に抑えることができる。   According to this aspect, the printing apparatus can minimize the pixel area whose color information is to be changed while making it possible to identify overlapping drawn images of colors that are difficult to identify.

上記の第1の側面において好ましい態様によれば、さらに、前記第1、2描画要素データの描画命令に基づいて画素毎の画像データを生成するレンダリング処理において前記重複を検出する。   According to a preferred aspect of the first aspect, the overlap is further detected in a rendering process for generating image data for each pixel based on the drawing commands for the first and second drawing element data.

この態様によれば、印刷装置は、レンダリング処理においてベクターデータの重複を検出することができる。   According to this aspect, the printing apparatus can detect duplication of vector data in the rendering process.

上記の第1の側面において好ましい態様によれば、さらに、前記第1、2の描画要素データの描画命令の示す描画対象の前記画素領域に基づいて前記重複を検出する。   According to a preferable aspect of the first aspect, the overlap is further detected based on the pixel area to be drawn indicated by the drawing commands of the first and second drawing element data.

この態様によれば、印刷装置は、描画命令に係るレンダリング処理を重複して行うことを回避できる。   According to this aspect, the printing apparatus can avoid performing the rendering process related to the drawing command in duplicate.

上記の第1の側面において好ましい態様によれば、さらに、前記重複検出手段は、前記第1描画要素データの第1の要素画像と、前記第2描画要素データの第2の要素画像とが、1画素以上で重複していることを検出する。   According to a preferable aspect in the first aspect, the duplication detection unit further includes a first element image of the first drawing element data and a second element image of the second drawing element data. It is detected that there is an overlap in one pixel or more.

この態様によれば、印刷装置は、描画要素データの要素画像の1画素以上の画素領域における重複を検出することができる。   According to this aspect, the printing apparatus can detect an overlap in a pixel area of one or more pixels of the element image of the drawing element data.

上記の第1の側面において好ましい態様によれば、さらに、前記描画要素データは、ベクターデータである。   According to a preferable aspect of the first aspect, the drawing element data is vector data.

さらに、上記発明の第2の側面によれば、描画開始座標情報と描画終了座標情報と色情報とを有する描画要素データに基づいて印刷媒体に印刷を行う印刷方法において、第1描画要素データの第1の要素画像と、第2描画要素データとの第2の要素画像の重複を検出する重複検出工程と、前記色情報を比較して色の差分が所定量内か否かを判断する色判断工程と、前記色情報を変更する色情報変更工程と、を有し、前記色情報変更工程は、前記重複検出工程において重複が検出され、前記色判断工程において前記第1描画要素データの第1色情報と前記第2描画要素データの第2色情報の前記色の差分が所定量内と判断された場合、前記第1色情報と前記第2色情報のうち少なくとも1つの前記色情報を変更する。   Furthermore, according to the second aspect of the present invention, in a printing method for printing on a print medium based on drawing element data having drawing start coordinate information, drawing end coordinate information, and color information, the first drawing element data A duplication detection step for detecting duplication of the second element image between the first element image and the second drawing element data, and a color for comparing the color information to determine whether the color difference is within a predetermined amount And a color information changing step for changing the color information. In the color information changing step, duplication is detected in the duplication detection step, and in the color judgment step, the first drawing element data is updated. When it is determined that the color difference between the one color information and the second color information of the second drawing element data is within a predetermined amount, at least one color information of the first color information and the second color information is determined. change.

本実施の形態例における印刷装置の構成の一例を示す図である。1 is a diagram illustrating an example of a configuration of a printing apparatus according to an embodiment. 画像データの有するベクターデータ及び描画命令の一例を表す図である。It is a figure showing an example of the vector data which image data has, and a drawing command. 変更対象の画素範囲の異なるベクターデータの色情報の変更例を表す図である。It is a figure showing the example of a change of the color information of the vector data from which the pixel range to be changed differs. 本実施の形態例における印刷処理の流れを説明するフローチャートの一例である。6 is an example of a flowchart for explaining a flow of printing processing in the present embodiment. 描画命令の展開処理、及び、描画命令に基づく重複の検出処理を表す例図である。It is an example figure which shows the expansion | deployment process of a drawing command, and the detection process of duplication based on a drawing command. レンダリング処理における重複の検出処理を表す例図である。It is an example figure showing the detection process of duplication in rendering processing.

以下、図面にしたがって本発明の実施の形態について説明する。ただし、本発明の技術的範囲はこれらの実施の形態に限定されず、特許請求の範囲に記載された事項とその均等物まで及ぶものである。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the technical scope of the present invention is not limited to these embodiments, but extends to the matters described in the claims and equivalents thereof.

図1は、本実施の形態例における印刷装置1の構成の一例を示す図である。同図において、ホストコンピューター40は、CPU41、RAM43等のメモリー、アプリケーションプログラム42、プリンタードライバー44、外部インターフェイス45を有する。アプリケーションプログラム42は、CPU41と協働することによってアプリケーションとして機能する。プリンタードライバー44は、重複検出ユニット51及び色変更ユニット52を有し、各ユニットはCPU41と協働することによって機能する。各ユニットの処理の詳細については、後述する。重複検出ユニット51と色変更ユニット52、及びプリンター10は、本実施の形態例における印刷装置1の一例である。   FIG. 1 is a diagram illustrating an example of a configuration of a printing apparatus 1 according to the present embodiment. In the figure, a host computer 40 has a CPU 41, a memory such as a RAM 43, an application program 42, a printer driver 44, and an external interface 45. The application program 42 functions as an application by cooperating with the CPU 41. The printer driver 44 includes a duplication detection unit 51 and a color change unit 52, and each unit functions by cooperating with the CPU 41. Details of the processing of each unit will be described later. The duplication detection unit 51, the color change unit 52, and the printer 10 are examples of the printing apparatus 1 in the present embodiment.

図1において、アプリケーション42は、画像データの印刷処理の開始を指示すると、GDI(Graphics Device Interface)の描画命令を呼び出しプリンタードライバー44に渡す。図示していないが、ホストコンピューター40はGDIモジュールを有し、GDIモジュールはプリンター10やホストコンピューター40のディスプレイ等の出力デバイスに依存しない共通のグラフィックス用インターフェイスをアプリケーションプログラム42に提供する。そして、プリンタードライバー44は、描画命令に基づいてレンダリング処理を行う。その結果、プリンター10の印刷可能な解像度の画素毎にRGB表色系の256階調の色情報を有する画像データが生成され、外部インターフェイス45を介してプリンター10に送信される。   In FIG. 1, when an application 42 instructs to start image data printing processing, the application 42 calls a GDI (Graphics Device Interface) drawing command and passes it to the printer driver 44. Although not shown, the host computer 40 has a GDI module, and the GDI module provides the application program 42 with a common graphics interface that does not depend on an output device such as the printer 10 or the display of the host computer 40. Then, the printer driver 44 performs rendering processing based on the drawing command. As a result, image data having color information of 256 gradations in the RGB color system is generated for each pixel of resolution that can be printed by the printer 10, and transmitted to the printer 10 via the external interface 45.

一方、プリンター10は、コントローラー20と印刷エンジン30とを有する。コントローラー20は、例えば、外部インターフェイス22、画像形成プログラム23、RAM24、CPU21、色変換ユニット27、二値化ユニット28を有する。そして、プリンター10は、コントローラー20の外部インターフェイス22を介して画像データ11を受信すると、RGB表色系の256階調の色情報を有する画像データ11を印刷エンジン30の印刷可能な形式の画像データ(例えば、CMYKの2値の画像データ)に変換する。   On the other hand, the printer 10 includes a controller 20 and a print engine 30. The controller 20 includes, for example, an external interface 22, an image forming program 23, a RAM 24, a CPU 21, a color conversion unit 27, and a binarization unit 28. When the printer 10 receives the image data 11 via the external interface 22 of the controller 20, the image data 11 having 256 gradation color information in the RGB color system is converted into image data in a format that can be printed by the print engine 30. (For example, CMYK binary image data).

具体的に、コントローラー20の色変換ユニット27は、RGB表色系の256階調の画像データ11をプリンター10のトナーの色に対応するCMYKの表色系の256階調の画像データに変換する。また、二値化ユニット28は、色変換処理後の画像データの階調(この例では、256階調)を、画素毎のドットの有無を表す2値に変換する。二値化処理には、例えば、誤差拡散法やディザ法などの方法が用いられる。そして、印刷エンジン30は、CMYK表色系の2値の画像データに基づいて、印刷媒体に画像を形成する。   Specifically, the color conversion unit 27 of the controller 20 converts the 256-color image data 11 of the RGB color system into image data of 256-color data of the CMYK color system corresponding to the toner color of the printer 10. . Further, the binarization unit 28 converts the gradation of the image data after the color conversion process (in this example, 256 gradations) into a binary value that indicates the presence / absence of a dot for each pixel. For the binarization processing, for example, a method such as an error diffusion method or a dither method is used. The print engine 30 forms an image on the print medium based on the binary image data of the CMYK color system.

なお、本実施の形態例において、プリンター10が色変換処理及び二値化処理を行うが、ホストコンピューター40が両処理を行ってもよい。また、本実施の形態例において、ホストコンピューター40が重複検出処理及び色変更処理を行うが、プリンター10が両処理を行ってもよい。   In this embodiment, the printer 10 performs color conversion processing and binarization processing, but the host computer 40 may perform both processing. In the present embodiment, the host computer 40 performs the duplicate detection process and the color change process, but the printer 10 may perform both processes.

図2は、本実施の形態例の画像データPcの有する描画要素データ、及び、描画要素データの描画命令リストCLの一例を表す図である。描画要素データは、描画対象の要素画像を規定する描画開始座標情報と描画終了座標情報と色情報とを有する。以下、描画要素データをベクターデータとして述べる。   FIG. 2 is a diagram illustrating an example of drawing element data included in the image data Pc according to the present embodiment and a drawing instruction list CL of the drawing element data. The drawing element data includes drawing start coordinate information, drawing end coordinate information, and color information that define an element image to be drawn. Hereinafter, drawing element data will be described as vector data.

図2の画像データPcは、線分L1、L2をそれぞれ描画するベクターデータB1、B2、及び、文字列“テキスト”T1を描画するベクターデータ群グループB3を有する。ベクターデータ群グループは複数のベクターデータ群の集合体であり、ベクターデータ群は複数のベクターデータの集合体である。また、画像データPcにおいて、ベクターデータB1、及び、ベクターデータ群グループB3は同一の黒色RGB1=(0,0,0)であり、ベクターデータB2の色はグレーRGB2=(35,35,35)である。   The image data Pc in FIG. 2 includes vector data B1 and B2 for drawing line segments L1 and L2, respectively, and a vector data group B3 for drawing a character string “text” T1. The vector data group is an aggregate of a plurality of vector data groups, and the vector data group is an aggregate of a plurality of vector data. In the image data Pc, the vector data B1 and the vector data group B3 are the same black RGB1 = (0,0,0), and the color of the vector data B2 is gray RGB2 = (35,35,35) It is.

図2の右下部の図は、ベクターデータ群グループB3と、そのベクターデータ群B31〜B34、及びベクターデータ群B31内のベクターデータB31a〜B31cを表す図である。具体的に、文字列“テキスト”T1を描画するベクターデータ群グループB3は、文字列“テキスト”のうち文字“テ”を描画するベクターデータ群B31、文字“キ”を描画するベクターデータ群B32、文字“ス”を描画するベクターデータ群B33、文字“ト”を描画するベクターデータ群B34によって構成される。   The lower right diagram in FIG. 2 is a diagram showing the vector data group B3, the vector data groups B31 to B34, and the vector data B31a to B31c in the vector data group B31. Specifically, the vector data group B3 for drawing the character string “text” T1 includes a vector data group B31 for drawing the character “te” in the character string “text”, and a vector data group B32 for drawing the character “ki”. The vector data group B33 for drawing the character “su” and the vector data group B34 for drawing the character “g”.

そして、各文字を描画するベクターデータ群B31〜B34は、この例では、それぞれ複数のベクターデータによって構成される。例えば、文字“テ”を描画するベクターデータ群B31は、文字“テ”を構成する2つの横線と縦の曲線をそれぞれ描画する3つのベクターデータB31a〜B31cによって構成される。同様にして、図示していないが、文字“キ”を描画するベクターデータ群B32は3つのベクターデータB32a〜B32c、文字“ス”を描画するベクターデータ群B33は3つのベクターデータB33a〜B33c、文字“ト”を描画するベクターデータ群B34は2つのベクターデータB34a、B34bによって構成される。   In this example, the vector data groups B31 to B34 for drawing each character are each composed of a plurality of vector data. For example, the vector data group B31 for drawing the character “te” includes three vector data B31a to B31c for drawing the two horizontal lines and the vertical curve constituting the character “te”, respectively. Similarly, although not shown, the vector data group B32 for drawing the character “ki” has three vector data B32a to B32c, and the vector data group B33 for drawing the character “su” has three vector data B33a to B33c, The vector data group B34 for drawing the character “g” is composed of two vector data B34a and B34b.

なお、本実施の形態例では、ベクターデータ群の一例として文字を挙げているが、ベクターデータ群はベクターデータの集合体であり、この例に限定されるものではない。ベクターデータ群は、例えば、矢印や立方体の図形等であってもよい。また、本実施の形態例において、文字を描画するベクターデータの集合体をベクターデータ群、文字列を描画するベクターデータの集合体をベクターデータ群グループとしているがこの例に限定されなくてもよい。例えば、文字列を描画するベクターデータの集合体をベクターデータ群としてもよい。   In this embodiment, characters are cited as an example of the vector data group. However, the vector data group is an aggregate of vector data, and is not limited to this example. The vector data group may be, for example, an arrow or a cubic figure. In this embodiment, the vector data group for drawing characters is a vector data group, and the vector data group for drawing character strings is a vector data group group. However, the present invention is not limited to this example. . For example, a collection of vector data for drawing a character string may be used as a vector data group.

図2の右上に示す描画命令リストCLは、図2の画像データPcの印刷時にプリンタードライバーに渡される描画命令の一例である。具体的に、例えば、同図の描画命令リストCLの初めの描画命令C1は、画像データPc全体のデフォルトのフォント及び、フォントサイズを指定する命令である。この例において、描画命令C1によって、サイズ44のMSゴシックが画像データPc内のデフォルト設定のフォントとして指定される。   The drawing command list CL shown in the upper right of FIG. 2 is an example of a drawing command that is passed to the printer driver when the image data Pc of FIG. 2 is printed. Specifically, for example, the first drawing command C1 in the drawing command list CL in the figure is a command for designating the default font and font size of the entire image data Pc. In this example, MS Gothic of size 44 is designated as the default font in the image data Pc by the drawing command C1.

また、描画命令C2は、線分L1を描画するベクターデータB1の描画命令であり、線分L1の始点座標p1(10,10)と終点座標p2(100,100)、及び色情報RGB1=(0,0,0)が指定される。同様にして、描画命令C3は線分L2を描画するベクターデータB2の描画命令であり、線分L2の始点座標p5(53,35)と終点座標p6(120,35)、及び色情報RGB2=(35,35,35)が指定される。そして、描画命令C4は、文字列“テキスト”T1を描画するベクターデータ群グループB3の描画命令であり、描画する文字列T1と、描画する画素領域を指定する座標p3(30,25)と座標p4(62,40)、及び色情報RGB1=(0,0,0)が指定される。   The drawing command C2 is a drawing command for the vector data B1 for drawing the line segment L1, and the start point coordinates p1 (10, 10) and end point coordinates p2 (100, 100) of the line segment L1 and the color information RGB1 = ( 0,0,0) is specified. Similarly, the drawing command C3 is a drawing command for the vector data B2 for drawing the line segment L2, and the start point coordinates p5 (53, 35) and end point coordinates p6 (120, 35) of the line segment L2 and the color information RGB2 = (35, 35, 35) is designated. The drawing command C4 is a drawing command for the vector data group B3 that draws the character string “text” T1, and includes the character string T1 to be drawn, coordinates p3 (30, 25) and coordinates for specifying the pixel area to be drawn. p4 (62, 40) and color information RGB1 = (0, 0, 0) are designated.

プリンタードライバー44は、図2の描画命令リストCLの各描画命令C1〜C4に基づいてレンダリング処理を行い、画素毎にRGB表色系の256階調を有する画像データを生成する。なお、本実施の形態例のプリンタードライバー44は、各描画命令の描画対象の画素領域が重複する場合、前後して、描画命令に基づいてレンダリング処理され異なる画像が重複する画素領域に対して描画されるものとする。   The printer driver 44 performs rendering processing based on the drawing commands C1 to C4 in the drawing command list CL of FIG. 2, and generates image data having 256 gradations of the RGB color system for each pixel. Note that the printer driver 44 according to the present embodiment performs rendering on pixel regions that are rendered based on the rendering command and overlap with different images when the pixel regions to be rendered of the rendering commands overlap. Shall be.

図2の画像データPcでは、ベクターデータB1の描画対象の画素領域と、ベクターデータ群グループB3の描画対象の画素領域とが重複する(重複部分E1)。重複部分E1では、重複する各描画画像が同一色(RGB1=(0,0,0))であり、両描画画像の色の差分が所定量を超えないため、印刷画像における各描画画像の識別が困難になる。一方、ベクターデータB2の描画対象の画素領域と、ベクターデータ群グループB3の描画対象の画素領域もまた重複するが(重複部分E2)、それぞれの描画画像の色RGB1、RGB2間の色の差分は所定量を超える。このため、重複部分E2については、印刷画像における各描画画像の識別が可能になる。   In the image data Pc of FIG. 2, the pixel area to be drawn of the vector data B1 and the pixel area to be drawn of the vector data group B3 overlap (overlapping portion E1). In the overlapping part E1, each overlapping drawing image has the same color (RGB1 = (0,0,0)), and the color difference between both drawing images does not exceed a predetermined amount. Becomes difficult. On the other hand, the drawing target pixel region of the vector data B2 and the drawing target pixel region of the vector data group B3 also overlap (overlapping portion E2), but the color difference between the colors RGB1 and RGB2 of the respective drawing images is Exceeds the specified amount. For this reason, with respect to the overlapping portion E2, each drawing image in the print image can be identified.

このように、描画画像が重複する場合、色の差分が所定量内の各ベクターデータの描画画像が識別困難であるのに対し、色の差分が所定量を超える各ベクターデータの描画画像はその識別が可能である。そこで、印刷装置1は、図2の重複部分E1のように、色の差分が所定量内であるベクターデータB1とベクターデータ群グループB3の描画画像が重複する場合、例えば、ベクターデータB1の色情報との色の差分が所定量を超えるようにベクターデータ群グループB3の色情報を変更することによって、各描画画像の識別を可能にする。   In this way, when the drawing images overlap, it is difficult to identify the drawing image of each vector data in which the color difference is within the predetermined amount, whereas the drawing image of each vector data in which the color difference exceeds the predetermined amount Identification is possible. Therefore, when the vector data B1 whose color difference is within a predetermined amount and the drawn images of the vector data group B3 overlap as in the overlapping portion E1 in FIG. Each drawn image can be identified by changing the color information of the vector data group B3 so that the color difference from the information exceeds a predetermined amount.

なお、本実施の形態例における色の差分の所定量は、例えば、印刷対象の印刷装置において表色可能な色空間における最大の色の差分の約3%未満である。例えば、CIE2000の色差式に基づく色の差分が、色空間における最大の色の差分の約3%未満内である場合に、両色の人の目による識別が困難であることが実測に基づいて確認されている。ただし、この色の差分の所定量は、印刷装置の機種、経年劣化、及び使用する色材の種類等に依存して変動する。   The predetermined amount of color difference in the present embodiment is, for example, less than about 3% of the maximum color difference in the color space that can be represented by the printing apparatus to be printed. For example, when the color difference based on the CIE2000 color difference formula is less than about 3% of the maximum color difference in the color space, it is difficult to distinguish both colors by human eyes based on actual measurements. It has been confirmed. However, the predetermined amount of the color difference varies depending on the model of the printing apparatus, aging deterioration, the type of color material to be used, and the like.

図3は、変更対象の画素範囲の異なるベクターデータの色情報の変更例をそれぞれ表す図である。同図において、画像データERは図2の画像データPcの一部を抜粋したものである。そして、画像データER1〜ER4は、画像データERと同領域の画像データであり、それぞれ色情報の変更範囲が異なる。   FIG. 3 is a diagram illustrating examples of changing color information of vector data having different pixel ranges to be changed. In the figure, the image data ER is a part of the image data Pc in FIG. The image data ER1 to ER4 are image data in the same area as the image data ER, and the change ranges of the color information are different from each other.

図3の画像データER1は、ベクターデータ群グループB3の全てのベクターデータの色情報を変更した場合の画像データである。この例では、ベクターデータ群グループB3の色情報が、黒色RGB1=(0,0,0)から色の差分が所定量を超えるグレーRGB´=(35,35,35)に変更されることにより、重複部分E1における線分L1と文字列T1とが識別可能となっている。しかし、その一方、重複部分E2において、文字列T1が線分L2と同一色(35,35,35)に変更されたことにより、文字列T1と線分L2の識別が困難となっている。   The image data ER1 in FIG. 3 is image data when the color information of all vector data in the vector data group B3 is changed. In this example, the color information of the vector data group B3 is changed from black RGB1 = (0,0,0) to gray RGB ′ = (35,35,35) in which the color difference exceeds a predetermined amount. The line segment L1 and the character string T1 in the overlapping portion E1 can be identified. However, on the other hand, in the overlapping portion E2, the character string T1 is changed to the same color (35, 35, 35) as the line segment L2, making it difficult to distinguish the character string T1 and the line segment L2.

このように、ベクターデータ群グループB3が複数のベクターデータB1、B2とそれぞれ重複し、ベクターデータ群グループB3とベクターデータB1の色の差分が所定量内である場合(同一色を含む)、印刷装置1は、ベクターデータ群グループB3の色情報を変更することにより、かえって、ベクターデータB2との色の差分が所定量内になってしまうことがある。この結果、今度はベクターデータ群グループB3とベクターデータB2の描画画像が識別困難になってしまう。そして、ベクターデータ群グループB3と重複するベクターデータが多数である場合、ベクターデータ群グループB3の色情報を、重複する全てのベクターデータと色の差分が所定量を超えるように変更することは困難である。   In this way, when the vector data group B3 overlaps with the plurality of vector data B1 and B2, respectively, and the color difference between the vector data group B3 and the vector data B1 is within a predetermined amount (including the same color), printing is performed. If the device 1 changes the color information of the vector data group B3, the color difference from the vector data B2 may fall within a predetermined amount. As a result, it becomes difficult to distinguish the drawn images of the vector data group B3 and the vector data B2 this time. If there are a large number of vector data overlapping with the vector data group B3, it is difficult to change the color information of the vector data group B3 so that the color difference between all the overlapping vector data exceeds a predetermined amount. It is.

そこで、本実施の形態例における印刷装置1は、第1描画要素データ(ベクターデータ)の第1の要素画像と、第2描画要素データ(ベクターデータ)との第2の要素画像の重複を検出する重複検出手段と、色情報を比較して色の差分が所定量内か否かを判断する色判断手段と、色情報を変更する色情報変更手段を有する。そして、重複が検出された第1描画要素データ(ベクターデータ)の第1色情報と第2描画要素データ(ベクターデータ)の第2色情報における色の差分が所定量内と判断された場合、色情報変更手段は、第1、第2色情報のうち少なくとも1つの色情報を変更する。   Therefore, the printing apparatus 1 according to the present embodiment detects an overlap between the first element image of the first drawing element data (vector data) and the second element image of the second drawing element data (vector data). Duplication detection means, color determination means for comparing the color information to determine whether the color difference is within a predetermined amount, and color information change means for changing the color information. When it is determined that the color difference between the first color information of the first drawing element data (vector data) in which the overlap is detected and the second color information of the second drawing element data (vector data) is within a predetermined amount, The color information changing unit changes at least one of the first and second color information.

このように、本実施の形態例における印刷装置1は、色の差分が所定量内のベクターデータの描画画像が重複する場合にベクターデータ単位で色情報を変更する。これにより、印刷装置1は、ベクターデータ群またはベクターデータ群グループ単位で色情報を変更する場合に対して、色情報の変更対象の画素領域を最小限に抑える。そして、色情報の変更の結果、ベクターデータ群またはベクターデータ群グループ全体の色情報が変更され、今度は他の重複するベクターデータとの色の差分が所定量内となり当該重複部分で描画画像の識別が困難になってしまう確率が低くなる。   As described above, the printing apparatus 1 according to the present embodiment changes the color information in units of vector data when drawing images of vector data having a color difference within a predetermined amount overlap. As a result, the printing apparatus 1 minimizes the pixel area whose color information is to be changed as compared with the case where the color information is changed in units of vector data groups or vector data group groups. Then, as a result of the change of the color information, the color information of the vector data group or the entire vector data group group is changed. The probability that identification will be difficult is reduced.

図3の画像データER2は、ベクターデータ群グループB3のベクターデータのうち、ベクターデータB1と重複するベクターデータB31b、B31cのみの色情報を変更した場合の画像データである。画像データER2では、ベクターデータB34aについては色情報が変更されないことから、ベクターデータB34aとベクターデータB2の描画画像の識別性が維持されている。   The image data ER2 in FIG. 3 is image data when only the color information of the vector data B31b and B31c overlapping the vector data B1 is changed among the vector data of the vector data group B3. In the image data ER2, since the color information is not changed for the vector data B34a, the discrimination between the drawn images of the vector data B34a and the vector data B2 is maintained.

続いて、本実施の形態例の印刷装置1の処理の詳細について、フローチャート図に基づいて説明する。   Next, details of the processing of the printing apparatus 1 according to the present embodiment will be described based on a flowchart.

図4は、本実施の形態例の印刷装置1における印刷処理の流れを説明するフローチャートの一例である。本実施の形態例の印刷装置1において、各ベクターデータの要素画像の1画素以上の画素領域における重複の検出方法は2つある。第1の検出方法は、レンダリング処理において重複を検出する方法(S20)であり、第2の検出方法は、描画命令の示す描画領域に基づいて重複を検出する方法(S30)である。   FIG. 4 is an example of a flowchart for explaining the flow of printing processing in the printing apparatus 1 according to the present embodiment. In the printing apparatus 1 according to the present embodiment, there are two methods for detecting overlap in a pixel area of one or more pixels of an element image of each vector data. The first detection method is a method for detecting duplication in rendering processing (S20), and the second detection method is a method for detecting duplication based on a drawing area indicated by a drawing command (S30).

[レンダリング処理時の重複検出処理の説明]
初めに、本実施の形態例における印刷装置1の処理例について、レンダリング処理において重複を検出する第1の検出方法(S20)に基づいて説明する。プリンタードライバー44は、描画命令リストCLを受信すると、ベクターデータ群グループ及びベクターデータ群単位の描画命令をベクターデータ単位の描画命令に展開する(S11)。まず、描画命令の展開処理について説明する。
[Description of duplicate detection during rendering]
First, a processing example of the printing apparatus 1 in the present embodiment will be described based on a first detection method (S20) for detecting duplication in rendering processing. Upon receiving the drawing command list CL, the printer driver 44 expands the vector data group group and the drawing command for each vector data group into a drawing command for each vector data group (S11). First, a drawing command expansion process will be described.

図5は、描画命令の展開処理を説明する図である。同図の描画命令リストCL2は、図2の描画命令リストCL1をベクターデータ単位に展開したものである。図2の描画命令リストCL1において、描画命令C2、C3はそれぞれベクターデータB1、B2の描画命令であり、描画命令C4はベクターデータ群グループB3の描画命令である。そこで、プリンタードライバー44は、描画命令C4を、ベクターデータ単位の描画命令に展開する。   FIG. 5 is a diagram for explaining the rendering process of the drawing command. The drawing command list CL2 shown in FIG. 2 is obtained by developing the drawing command list CL1 shown in FIG. 2 in units of vector data. In the drawing command list CL1 of FIG. 2, drawing commands C2 and C3 are drawing commands for vector data B1 and B2, respectively, and drawing command C4 is a drawing command for vector data group B3. Therefore, the printer driver 44 expands the drawing command C4 into a drawing command in units of vector data.

まず、プリンタードライバー44は、ベクターデータ群グループB3の描画命令C4を、ベクターデータ群B31〜B34単位の描画命令C41〜C44に展開する。描画命令C4の展開処理に伴い、描画命令C41〜C44におけるパラメーターの描画領域がそれぞれ設定される。具体的に、ベクターデータ群“テ”B31の描画命令C41は、文字列“テキスト”T1の描画領域のうち、文字“テ”の描画領域を示す座標(32,25)、(38,40)が設定される。他の描画命令C42〜44についても同様である。   First, the printer driver 44 expands the rendering command C4 for the vector data group B3 into rendering commands C41 to C44 for the vector data groups B31 to B34. With the development process of the drawing command C4, the parameter drawing areas in the drawing commands C41 to C44 are set. Specifically, the drawing command C41 of the vector data group “te” B31 is the coordinates (32, 25), (38, 40) indicating the drawing area of the character “te” in the drawing area of the character string “text” T1. Is set. The same applies to the other drawing commands C42 to 44.

そして、プリンタードライバー44は、ベクターデータ群B31〜B34単位の描画命令C41〜C44を、さらに、ベクターデータB31a〜B34b単位の描画命令C41a〜C44bにそれぞれ展開する。具体的に、プリンタードライバー44は、文字“テ”を描画するベクターデータ群B31の描画命令C41を、ベクターデータ群B31を構成する3つのベクターデータB31a〜B31cの描画命令C41a〜C41cに展開する。また、同様に、描画命令C41の展開に伴い、描画命令C41a〜C41cの描画領域がそれぞれ設定される。他のベクターデータ群B32〜B34の描画命令C42〜C44についても同様である。このように、プリンタードライバー44は、ベクターデータ群グループB3の描画命令C4を、描画命令(C41a〜C41c、…)のように、ベクターデータ単位に展開する。   Then, the printer driver 44 expands the rendering commands C41 to C44 in units of vector data groups B31 to B34 into rendering commands C41a to C44b in units of vector data B31a to B34b, respectively. Specifically, the printer driver 44 expands the drawing command C41 of the vector data group B31 for drawing the character “te” into the drawing commands C41a to C41c of the three vector data B31a to B31c constituting the vector data group B31. Similarly, the drawing areas of the drawing commands C41a to C41c are set with the development of the drawing command C41. The same applies to the drawing commands C42 to C44 of the other vector data groups B32 to B34. In this way, the printer driver 44 expands the drawing command C4 of the vector data group B3 in vector data units like drawing commands (C41a to C41c,...).

図4のフローチャート図に戻り、続いて、プリンタードライバー44は、ベクターデータ単位の描画命令(C41a〜C41c、…)に基づいてレンダリング処理を行い、描画対象の各画素について色情報(256階調のRGB値)とベクターデータ識別情報とを有する画素データを生成し(S21)、レンダリングメモリー領域に格納する。ベクターデータ識別情報とは、画素を描画するベクターデータを指す情報である。そして、プリンタードライバー44は、レンダリング処理によって描画される画素領域が、他のベクターデータによって描画される画素領域と重複するか否かを検出する(S22)。   Returning to the flowchart of FIG. 4, the printer driver 44 performs rendering processing based on rendering commands (C41a to C41c,...) In units of vector data, and color information (256 gradations) for each pixel to be rendered. Pixel data having RGB values) and vector data identification information is generated (S21) and stored in the rendering memory area. The vector data identification information is information indicating vector data for drawing a pixel. Then, the printer driver 44 detects whether or not the pixel area drawn by the rendering process overlaps with the pixel area drawn by other vector data (S22).

具体的に、プリンタードライバー44は、描画命令に基づく画素データを生成する対象のレンダリングメモリー領域における画素領域に、既に他のベクターデータのベクターデータ識別情報が格納されているときに、重複を検出する(S22のYES)。重複を検出すると、プリンタードライバー44は、重複が検出された両ベクターデータの色情報における色の差分が所定量内か否かを判定する(S23)。色の差分が所定量内であると判定された場合(S23のYES)、プリンタードライバー44はいずれかのベクターデータの色情報を、色の差分が所定量をこえるように変更する(S24)。例えば、プリンタードライバー44は、ベクターデータの色情報における明度を減少または増加させることによって変更する。ただし、この例に限定されるものではなく、プリンタードライバー44は、例えば、色情報における彩度やインク濃度を増減させることにより変更してもよい。   Specifically, the printer driver 44 detects duplication when vector data identification information of other vector data is already stored in the pixel area in the rendering memory area to be generated based on the rendering command. (YES in S22). When the overlap is detected, the printer driver 44 determines whether or not the color difference in the color information of both vector data in which the overlap is detected is within a predetermined amount (S23). If it is determined that the color difference is within the predetermined amount (YES in S23), the printer driver 44 changes the color information of any vector data so that the color difference exceeds the predetermined amount (S24). For example, the printer driver 44 changes by decreasing or increasing the lightness in the color information of the vector data. However, the present invention is not limited to this example, and the printer driver 44 may be changed by increasing or decreasing the saturation or ink density in the color information, for example.

一方、重複が検出されない場合(S22のNO)、または、重複が検出された場合であって(S22のYES)、ベクターデータの色情報における色の差分が所定量内ではない場合(S23のNO)、プリンタードライバー44はベクターデータの色情報の変更を行わない。そして、プリンタードライバー44は、全てのベクターデータの描画命令について工程S21〜S24の処理を繰り返し、全ての描画命令の処理が終了すると(S12のYES)、生成した画像データ11をプリンター10に送信する。   On the other hand, when duplication is not detected (NO in S22), or when duplication is detected (YES in S22), the color difference in the color information of the vector data is not within the predetermined amount (NO in S23). ), The printer driver 44 does not change the color information of the vector data. Then, the printer driver 44 repeats the processes of steps S21 to S24 for all the vector data drawing commands, and when the processing of all the drawing commands is completed (YES in S12), the generated image data 11 is transmitted to the printer 10. .

そして、プリンター10に画像データ11が入力されると、プリンター10の色変換ユニット27は、画素毎にRGB表色系の階調値を有する画素データをトナーの表色系であるCMYKの階調値を有する画素データに色変換する(S13)。続いて、画像データは、二値化ユニット28によって印刷エンジン30が印刷可能な階調を画素毎に有する画像データに変換され(S14)、印刷エンジン30によって紙等の印刷媒体に印刷される(S15)。   When the image data 11 is input to the printer 10, the color conversion unit 27 of the printer 10 converts pixel data having RGB color system gradation values for each pixel into CMYK gradations that are toner color systems. Color conversion is performed to pixel data having a value (S13). Subsequently, the image data is converted into image data having gradations that can be printed by the print engine 30 for each pixel by the binarization unit 28 (S14), and is printed on a print medium such as paper by the print engine 30 (S14). S15).

このように、プリンタードライバー44は、レンダリング処理において、ベクターデータの要素画像の重複を検出することができる。   As described above, the printer driver 44 can detect the overlap of element images of vector data in the rendering process.

[レンダリング処理時の重複検出の具体例]
続いて、レンダリング処理時におけるベクターデータの重複検出処理(第1の検出方法、図4のS20)の具体例を説明する。
[Specific example of duplicate detection during rendering]
Next, a specific example of vector data duplication detection processing (first detection method, S20 in FIG. 4) during rendering processing will be described.

図6は、ベクターデータ群グループB3のレンダリング処理時に、ベクターデータB1との重複を検出する場合の処理例を説明する図である。同図において、(A)は、図5の描画命令リストCL2において描画命令C1〜C41aまで描画処理された画像データER6とそのレンダリングメモリー領域P1を、(B)はさらにベクターデータB31bの描画命令C41bが描画処理された画像データER6−1とそのレンダリングメモリー領域P2を表す。   FIG. 6 is a diagram for explaining a processing example in a case where an overlap with the vector data B1 is detected during the rendering processing of the vector data group B3. In FIG. 5, (A) shows image data ER6 and its rendering memory area P1 that have been drawn from drawing commands C1 to C41a in the drawing command list CL2 of FIG. 5, and (B) shows a drawing command C41b for vector data B31b. Represents the rendered image data ER6-1 and its rendering memory area P2.

図4のフローチャート図において、プリンタードライバー44は、描画命令リストCL2(図5)に従い、まず、ベクターデータB1の描画命令C2に基づくレンダリング処理を行う(S21)。レンダリング処理の結果、図6の(A)のレンダリングメモリー領域P1のように、網点で表されるベクターデータB1の描画対象の画素領域g1の各画素(例えば、画素pa〜ph…)に色情報RGB=(0,0,0)、及び、ベクターデータ識別情報「B1」が格納される。   In the flowchart of FIG. 4, the printer driver 44 first performs a rendering process based on the drawing command C2 of the vector data B1 according to the drawing command list CL2 (FIG. 5) (S21). As a result of the rendering process, as shown in the rendering memory area P1 in FIG. 6A, the colors of the pixels (for example, pixels pa to ph...) In the pixel area g1 to be drawn of the vector data B1 represented by the halftone dots. Information RGB = (0,0,0) and vector data identification information “B1” are stored.

続いて、プリンタードライバー44は、描画命令C3、C41aに基づくレンダリング処理の後、描画命令C41bに基づくレンダリング処理を行う。具体的に、プリンタードライバー44は、描画命令C41bに基づいて、横線で表されるベクターデータB31bの描画対象の画素領域g2の各画素(例えば、画素pc〜pe、pf〜ph…)について、色情報RGB=(0,0,0)及びベクターデータ識別情報「B31b」を有する画素データを生成する。そして、プリンタードライバー44は、生成した画素データを、レンダリングメモリー領域P2に示した画素領域g2に格納させようとするが、画素領域g2内の画素pc、pd、pf〜phには既にベクターデータ識別情報「B1」を有する画素データが格納されていることから、ベクターデータB1との重複を検出する(S22のYES)。   Subsequently, the printer driver 44 performs rendering processing based on the rendering command C41b after rendering processing based on the rendering commands C3 and C41a. Specifically, the printer driver 44 applies color to each pixel (for example, pixels pc to pe, pf to ph...) In the pixel area g2 to be drawn of the vector data B31b represented by the horizontal line based on the drawing command C41b. Pixel data having information RGB = (0,0,0) and vector data identification information “B31b” is generated. Then, the printer driver 44 tries to store the generated pixel data in the pixel area g2 shown in the rendering memory area P2, but the pixels pc, pd, and pf to ph in the pixel area g2 are already identified as vector data. Since pixel data having the information “B1” is stored, an overlap with the vector data B1 is detected (YES in S22).

そこで、プリンタードライバー44は、例えば、重複画素pc、pd、pf〜phに格納された色情報RGB1と、描画命令C41bのレンダリング処理によって生成された画素データの色情報RGB1との色の差分が所定量内であるか否かを判定する(S23)。この場合、色の差分が0であることから(S23のYES)、プリンタードライバー44は、例えば、ベクターデータB31bの色情報をRGB1=(0,0,0)から、色の差分が所定量をこえるRGB´=(35,35,35)に変更する。これにより、図6の(B)のレンダリングメモリー領域P2における重複画素pc、pd、pf〜ph以外の画素領域g2には、色情報RGB´及びベクターデータの識別情報「B31b」が格納される。そして、重複画素pc、pd、pf〜phには、色情報RGB´及びベクターデータの識別情報「B1、B31b」が格納される。   Therefore, for example, the printer driver 44 determines the color difference between the color information RGB1 stored in the overlapping pixels pc, pd, and pf to ph and the color information RGB1 of the pixel data generated by the rendering process of the rendering command C41b. It is determined whether it is within the fixed amount (S23). In this case, since the color difference is 0 (YES in S23), for example, the printer driver 44 changes the color information of the vector data B31b from RGB1 = (0, 0, 0), so that the color difference has a predetermined amount. Change to RGB ′ = (35, 35, 35). Accordingly, the color information RGB ′ and the vector data identification information “B31b” are stored in the pixel area g2 other than the overlapping pixels pc, pd, and pf to ph in the rendering memory area P2 of FIG. The overlapping pixels pc, pd, and pf to ph store color information RGB ′ and vector data identification information “B1, B31b”.

このように、プリンタードライバー44は、レンダリング処理においてベクターデータの重複を検出し、両ベクターデータの色情報における色の差分が所定量内の場合に、いずれかのベクターデータの色情報を、色の差分が所定量を超えるように変更する。なお、同図(B)のレンダリングメモリー領域P2の重複画素pc、pd、pf〜phには、色情報RGB´と、前面に描画されるベクターデータ(この例では、ベクターデータB31b)の識別情報「B31b」のみが格納されてもよい。また、ベクターデータ識別情報はB1、B31b等の例に限定されるものではなく、ベクターデータが特定可能であればよい。   In this way, the printer driver 44 detects duplication of vector data in the rendering process, and if the color difference between the color information of both vector data is within a predetermined amount, the printer driver 44 converts the color information of one of the vector data into the color information. Change so that the difference exceeds a predetermined amount. In addition, in overlapping pixels pc, pd, and pf to ph in the rendering memory area P2 in FIG. 5B, color information RGB ′ and identification information of vector data drawn in the foreground (in this example, vector data B31b) are included. Only “B31b” may be stored. The vector data identification information is not limited to examples such as B1, B31b, and the like, as long as vector data can be specified.

また、上記の図6の例では、重複するベクターデータのうち、後から描画されるベクターデータB31bの色情報を変更する場合を例示した。しかし、プリンタードライバー44は、重複するベクターデータのうち、既に描画済みであるベクターデータB1の色情報を変更してもよい。この場合、プリンタードライバー44は、例えば、レンダリングメモリー領域P1からベクターデータ識別情報「B1」を有する画素を検出し、当該画素の色情報を変更する。   Further, in the example of FIG. 6 described above, the case where the color information of the vector data B31b drawn later among the overlapping vector data is changed is illustrated. However, the printer driver 44 may change the color information of the vector data B1 that has already been drawn among the overlapping vector data. In this case, for example, the printer driver 44 detects a pixel having the vector data identification information “B1” from the rendering memory area P1, and changes the color information of the pixel.

[描画命令の示す描画領域に基づく重複検出処理の説明]
図4のフローチャート図に戻り、続いて、本実施の形態例における印刷装置1の処理例を第2の検出方法(S30)に基づいて説明する。第2の検出方法は、描画命令の示す描画領域に基づいて重複を検出する方法である。
[Description of duplicate detection processing based on drawing area indicated by drawing command]
Returning to the flowchart of FIG. 4, a processing example of the printing apparatus 1 in the present embodiment will be described based on the second detection method (S30). The second detection method is a method of detecting overlap based on a drawing area indicated by a drawing command.

図4のフローチャート図において、ベクターデータ群グループまたはベクターグループ群の描画命令をベクターデータ単位に展開した後(S11)、プリンタードライバー44は、第2の検出方法では、描画命令の示す描画領域に基づいてベクターデータが重複するか否かを検出する(S31)。具体的に、プリンタードライバー44は、描画命令のパラメーターの示す描画対象の画素領域が、既に描画済みの他のベクターデータの画素領域、または、他のベクターデータの描画命令の示す画素領域と重複するか否かを判定する。   In the flowchart of FIG. 4, after the vector data group group or the vector group drawing command is expanded in vector data units (S11), the printer driver 44 uses the second detection method based on the drawing area indicated by the drawing command. Then, it is detected whether the vector data overlaps (S31). Specifically, in the printer driver 44, the drawing target pixel area indicated by the parameter of the drawing command overlaps the pixel area of another vector data already drawn or the pixel area indicated by the drawing command of other vector data. It is determined whether or not.

重複を検出すると(S31のYES)、プリンタードライバー44は、重複が検出された各ベクターデータの色情報における色の差分が所定量内であるか否かを判定する(S32)。色の差分が所定量内であると判定された場合(S32のYES)、プリンタードライバー44はいずれかのベクターデータの色情報を、色の差分が所定量をこえるように変更する(S33)。プリンタードライバー44は、描画命令において指定された色情報を変更し、変更後の描画命令に基づいてレンダリング処理を行う(S34)。   When duplication is detected (YES in S31), the printer driver 44 determines whether or not the color difference in the color information of each vector data in which duplication is detected is within a predetermined amount (S32). If it is determined that the color difference is within the predetermined amount (YES in S32), the printer driver 44 changes the color information of any vector data so that the color difference exceeds the predetermined amount (S33). The printer driver 44 changes the color information designated in the drawing command, and performs rendering processing based on the changed drawing command (S34).

一方、重複が検出されない場合(S31のNO)、または、重複が検出された場合であって(S31のYES)、各ベクターデータの色情報における色の差分が所定量内ではない場合(S32のNO)、プリンタードライバー44は色情報の変更を行わない。そして、プリンタードライバー44は、全てのベクターデータの描画命令について工程S31〜S34の処理を繰り返し、全ての描画命令の処理を終了すると(S12のYES)、生成した画像データ11をプリンター10に送信する。この後の処理は、1つ目の検出方法と同様である。   On the other hand, when duplication is not detected (NO in S31), or when duplication is detected (YES in S31), the color difference in the color information of each vector data is not within the predetermined amount (in S32). NO), the printer driver 44 does not change the color information. Then, the printer driver 44 repeats the processes of steps S31 to S34 for all the vector data drawing commands and ends the processing of all the drawing commands (YES in S12), and transmits the generated image data 11 to the printer 10. . The subsequent processing is the same as in the first detection method.

このように、プリンタードライバー44は、描画命令の示す描画対象の画素領域に基づいて重複を検出することにより、描画命令のレンダリング処理前にベクターデータの重複を検出することができる。これにより、プリンタードライバー44は、レンダリング処理後に重複が検出され、再度レンダリング処理が行われることを回避できる。   As described above, the printer driver 44 can detect duplication of vector data before rendering processing of a rendering command by detecting overlapping based on a pixel area to be rendered indicated by the rendering command. Thereby, the printer driver 44 can avoid the duplication being detected and the rendering process being performed again after the rendering process.

[描画命令の示す描画領域に基づく重複検出の具体例]
続いて、描画命令の示す描画領域に基づく重複検出処理(第2の検出方法、図4のS30)の具体例を説明する。
[Specific example of duplicate detection based on drawing area indicated by drawing command]
Next, a specific example of duplication detection processing (second detection method, S30 in FIG. 4) based on the drawing area indicated by the drawing command will be described.

図5の右下の画像データER5、ER5−1は、描画命令C41bの示す描画領域に基づいて、ベクターデータB1との重複を検出する場合の処理例を説明する図である。同図の画像データER5では、描画命令C41bの描画領域E31b、及び描画命令C41cの描画領域E31cがそれぞれ表されている。   The lower right image data ER5 and ER5-1 in FIG. 5 is a diagram for explaining a processing example in the case where an overlap with the vector data B1 is detected based on the drawing area indicated by the drawing command C41b. In the image data ER5 in the drawing, a drawing area E31b of the drawing command C41b and a drawing area E31c of the drawing command C41c are respectively represented.

図4のフローチャート図において、プリンタードライバー44は、描画命令リストCL2(図5)に従い、まず、ベクターデータB1の描画命令C2の示す描画対象の画素領域が他のベクターデータの画素領域と重複するか否かを判定する(S31)。具体的に、プリンタードライバー44は、描画命令C2のパラメーターに指定された座標p1(10,10)から座標p2(100,100)の示す線形の画素領域が、他のベクターデータによって描画済みか否かを判定する。この場合、レンダリングメモリー領域における描画命令C2の示す画素領域にベクターデータ識別情報が保持されていないため、重複は検出されない(S31のNO)。そこで、プリンタードライバー44は、描画命令C2に基づくレンダリング処理を行う(S34)。   In the flowchart of FIG. 4, according to the drawing command list CL2 (FIG. 5), the printer driver 44 first determines whether the drawing target pixel area indicated by the drawing command C2 of the vector data B1 overlaps the pixel area of other vector data. It is determined whether or not (S31). Specifically, the printer driver 44 determines whether or not the linear pixel area indicated by the coordinates p1 (10, 10) to the coordinates p2 (100, 100) designated by the parameter of the drawing command C2 has been drawn by other vector data. Determine whether. In this case, since no vector data identification information is held in the pixel area indicated by the rendering command C2 in the rendering memory area, no overlap is detected (NO in S31). Therefore, the printer driver 44 performs a rendering process based on the drawing command C2 (S34).

続いて、プリンタードライバー44は、描画命令C3、描画命令C41aについてそれぞれ重複の判定を行うが(S31)、この例において重複が検出されないため(S31のNO)、各描画命令に基づくレンダリング処理を行う(S34)。続いて、プリンタードライバー44は、描画命令C41bの重複の判定処理を行う(S31)。具体的に、プリンタードライバー44は、図5の画像データER5における、描画命令C41bのパラメーターの座標p10(31,28)座標p11(37,29)の示す点線で囲まれた画素領域E31bが他のベクターデータの画素領域と重複するか否かを判定する。この場合、画素領域E31bがベクターデータB1の画素領域と重複することにより、プリンタードライバー44は重複を検出する(S31のYES)。   Subsequently, the printer driver 44 determines whether or not the drawing command C3 and the drawing command C41a are overlapped (S31), but since no overlap is detected in this example (NO in S31), rendering processing based on each drawing command is performed. (S34). Subsequently, the printer driver 44 performs a process for determining whether or not the drawing command C41b is duplicated (S31). Specifically, in the printer driver 44, the pixel area E31b surrounded by the dotted line indicated by the coordinate p10 (31, 28) and the coordinate p11 (37, 29) of the parameter of the drawing command C41b in the image data ER5 of FIG. It is determined whether or not the pixel area overlaps with the vector data. In this case, since the pixel area E31b overlaps the pixel area of the vector data B1, the printer driver 44 detects the overlap (YES in S31).

続いて、プリンタードライバー44は、重複が検出されたベクターデータB1とベクターデータB31bの色情報における色の差分が所定量内か否かを判定する(S32)。同一色であることから(S32のYES)、プリンタードライバー44は、例えば、図5の描画命令リストCL2の描画命令C41b´のように、描画命令C41bの色情報を示すパラメーターをRGB1=(0,0,0)からRGB´=(35,35,35)に変更する(S33)。そして、プリンタードライバー44は、変更後の描画命令C41b´に基づいてレンダリング処理を行う(S34)。   Subsequently, the printer driver 44 determines whether or not the color difference between the color information of the vector data B1 and the vector data B31b where the duplication is detected is within a predetermined amount (S32). Since the colors are the same (YES in S32), the printer driver 44 sets parameters indicating the color information of the rendering command C41b to RGB1 = (0, 0), for example, the rendering command C41b ′ of the rendering command list CL2 in FIG. (0,0) is changed to RGB ′ = (35,35,35) (S33). Then, the printer driver 44 performs rendering processing based on the changed drawing command C41b ′ (S34).

そして、プリンタードライバー44は、同様にして、描画命令C41cについても、描画命令C41cのパラメーターの座標p12(33,29)座標p13(35,36)の示す画素領域E31cと、ベクターデータB1の画素領域との重複を検出する(S31のYES)。同様に、両ベクターデータが同一色であることから(S32のYES)、プリンタードライバー44は、描画命令C41cの色情報をRGB1=(0,0,0)からRGB´=(35,35,35)に変更し(S33)、変更後の描画命令C41c´に基づいてレンダリング処理を行う(S34)。   Similarly, the printer driver 44 also applies the pixel area E31c indicated by the coordinates p12 (33, 29) and coordinates p13 (35, 36) of the parameters of the drawing command C41c and the pixel area of the vector data B1 for the drawing command C41c. Is detected (YES in S31). Similarly, since both vector data are the same color (YES in S32), the printer driver 44 changes the color information of the rendering command C41c from RGB1 = (0,0,0) to RGB ′ = (35,35,35). (S33), and rendering processing is performed based on the changed drawing command C41c '(S34).

これにより、図5の画像データER5−1のように、ベクターデータ群グループB3のうち、ベクターデータB1と重複するベクターデータB31b、B31cのみの色情報がRGB1からRGB´に変更され描画される。   Thereby, as in the image data ER5-1 of FIG. 5, the color information of only the vector data B31b and B31c overlapping the vector data B1 in the vector data group group B3 is changed from RGB1 to RGB ′ and drawn.

このようにして、本実施の形態例におけるプリンタードライバー44は、図3の画像データER2のように、ベクターデータ群グループB3のうちベクターデータB1と重複し色の差分が所定量内である場合、当該重複するベクターデータB31b、B31cのみの色情報を変更する。これにより、ベクターデータB34aの色情報は変更されないため、ベクターデータB34aとベクターデータB2の描画画像の識別性が維持される。   In this way, the printer driver 44 in the present embodiment, like the image data ER2 in FIG. 3, overlaps with the vector data B1 in the vector data group group B3, and the color difference is within a predetermined amount. Only the overlapping vector data B31b, B31c color information is changed. Thereby, since the color information of the vector data B34a is not changed, the distinguishability between the drawn images of the vector data B34a and the vector data B2 is maintained.

以上のように、本実施の形態例における印刷装置1は、第1描画要素データと第2描画要素データの要素画像の重複を検出し、第1、2の描画要素データの色情報における色の差分が所定量内である場合に、第1、2のいずれかの描画要素データの色情報を描画要素データ単位に変更する。これにより、印刷装置1は、印刷画像における第1、2の描画要素データの描画画像の重複部分において、各描画要素データの描画画像を識別可能にする。   As described above, the printing apparatus 1 according to the present embodiment detects an overlap between element images of the first drawing element data and the second drawing element data, and the color of the color information in the color information of the first and second drawing element data is detected. When the difference is within a predetermined amount, the color information of the first or second drawing element data is changed in units of drawing element data. Thereby, the printing apparatus 1 enables the drawing image of each drawing element data to be identified in the overlapping portion of the drawing images of the first and second drawing element data in the print image.

また、第1描画要素データが、さらに描画要素データ群に含まれ、描画要素データ群に含まれる第1描画要素データ以外の描画要素データがその他の描画要素データと重複する場合、印刷装置1は、描画要素データ群単位に色情報を変更するのではなく、第2描画要素データと重複し色の差分が所定量内である第1描画要素データの色情報のみを変更する。   When the first drawing element data is further included in the drawing element data group and drawing element data other than the first drawing element data included in the drawing element data group overlaps with other drawing element data, the printing apparatus 1 Instead of changing the color information in units of drawing element data groups, only the color information of the first drawing element data that overlaps with the second drawing element data and has a color difference within a predetermined amount is changed.

これにより、第1描画要素データ以外の描画要素データの色情報が変更されないため、第1描画要素データ以外の描画要素データの色情報が変更されて、重複するその他の描画要素データの色情報と差分が所定量内になってしまうことが予め回避される。この結果、第1、2の描画要素データの描画画像の重複部分では両描画画像が識別可能になると共に、第1描画要素データ以外の描画要素データとその他の描画要素データ描画画像の重複部分において両描画画像の識別性が維持される。   Thereby, since the color information of the drawing element data other than the first drawing element data is not changed, the color information of the drawing element data other than the first drawing element data is changed, and the color information of other overlapping drawing element data It is avoided in advance that the difference falls within a predetermined amount. As a result, in the overlapping portion of the drawing images of the first and second drawing element data, both drawing images can be identified, and in the overlapping portion of the drawing element data other than the first drawing element data and the other drawing element data drawing images. The distinguishability of both drawn images is maintained.

このように、本実施の形態例における印刷装置1は、色の差分が所定量内であり描画画像が重複する描画要素データの色情報を描画要素データ単位に変更することにより、重複部分の描画画像を識別可能にしながら、色情報の変更対象の画素領域を最小限に抑えることができる。   As described above, the printing apparatus 1 according to the present embodiment changes the color information of the drawing element data in which the color difference is within the predetermined amount and the drawing images overlap, thereby drawing the overlapping portion. While making it possible to identify the image, it is possible to minimize the pixel area whose color information is to be changed.

[第2の実施の形態例]
第1の実施の形態例の印刷装置1は、ベクターデータB1と重複するベクターデータ群グループB3のうち重複するベクターデータB31b、B31cの色情報をベクターデータ単位に変更したが、第2の実施の形態例の印刷装置1は、ベクターデータ群B31単位に色情報を変更する。
[Second Embodiment]
In the printing apparatus 1 of the first embodiment, the color information of the overlapping vector data B31b and B31c in the vector data group group B3 that overlaps the vector data B1 is changed in units of vector data. The printing apparatus 1 according to the embodiment changes the color information for each vector data group B31.

つまり、第2の実施の形態例の印刷装置1は、描画要素データ群に含まれる第1描画要素データと、第2描画要素データの要素画像の重複を検出し、第1、2の描画要素データの色情報における色の差分が所定量内である場合に、第1描画要素データの色情報を変更すると共に、描画要素データ群に含まれる第1描画要素データ以外の描画要素データの色情報も変更する。これにより、印刷装置1は、印刷画像における第1、2の描画要素データの描画画像の重複部分において各描画画像を識別可能にすると共に、第1描画要素データが含まれる描画要素データの集合体単位に描画画像の色を統一し判読性を高める。   In other words, the printing apparatus 1 according to the second embodiment detects the overlap between the first drawing element data included in the drawing element data group and the element image of the second drawing element data, and the first and second drawing elements are detected. When the color difference in the color information of the data is within the predetermined amount, the color information of the first drawing element data is changed and the color information of the drawing element data other than the first drawing element data included in the drawing element data group Also change. As a result, the printing apparatus 1 enables each drawing image to be identified in the overlapping portion of the drawing images of the first and second drawing element data in the print image, and a collection of drawing element data including the first drawing element data. Unify the color of the drawn image in units to improve legibility.

具体的に、例えば、図3の画像データER3のように、ベクターデータB1とベクターデータ群グループB31におけるベクターデータB31bが重複し、色の差分が所定量内である場合、印刷装置1は、ベクターデータ群グループB3のうち、ベクターデータB31bが含まれる集合体であるベクターデータ群B31の全てのベクターデータB31a〜B31cの色情報を一様に変更する。   Specifically, for example, when the vector data B1 and the vector data B31b in the vector data group B31 overlap and the color difference is within a predetermined amount as in the image data ER3 in FIG. In the data group group B3, the color information of all the vector data B31a to B31c of the vector data group B31 that is an aggregate including the vector data B31b is uniformly changed.

これにより、図3の画像データER3のように、線分L1と重複する文字列T1のうち、線分L1と色の差分が所定量内の重複するベクターデータが含まれる文字毎に色情報が変更される。ただし、文字列T1内の“テ”以外の文字の色は変更されないことから、文字“ト”と重複する線分L2との識別性は維持される。この結果、色の差分が所定量内の描画画像の重複部分において、各描画画像が識別可能になると共に、ベクターデータの最小の集合体単位(例えば、本実施の形態例では文字単位“テ”)に色情報が変更されることにより、印刷画像において集合体の色が統一されその判読性が高まる。   Thereby, as in the image data ER3 of FIG. 3, among the character string T1 overlapping with the line segment L1, the color information is stored for each character including overlapping vector data within a predetermined amount of color difference from the line segment L1. Be changed. However, since the color of characters other than “te” in the character string T1 is not changed, the distinguishability between the character “G” and the overlapping line segment L2 is maintained. As a result, each of the drawn images can be identified in the overlapping portion of the drawn images having a color difference within a predetermined amount, and the smallest aggregate unit of vector data (for example, the character unit “te” in the present embodiment). ), The color of the aggregate is unified in the printed image, and the legibility thereof is improved.

[第3の実施の形態例]
第3の実施の形態例の印刷装置1は、ベクターデータ群に含まれる各ベクターデータが全体でひとつのベクターデータのみと重複するか、ベクターデータ群に含まれる各ベクターデータがそれぞれ異なるベクターデータと重複し全体で複数のベクターデータと重複するかによって、色情報を変更する対象ベクターデータ範囲を変更する。
[Third embodiment]
In the printing apparatus 1 of the third embodiment, each vector data included in the vector data group overlaps with only one vector data as a whole, or each vector data included in the vector data group is different from each other vector data. The target vector data range whose color information is to be changed is changed depending on whether it overlaps with a plurality of vector data as a whole.

つまり、第3の実施の形態例の印刷装置1は、描画要素データ群に含まれる第1描画要素データと、第2描画要素データの要素画像の重複を検出し、第1、2の描画要素データの色情報における色の差分が所定量内である場合、描画要素データ群に含まれ第1描画要素データ以外のいずれかの描画要素データが第3描画要素データと重複する時は描画要素データ単位で色情報を変更する。一方、印刷装置1は、描画要素データ群に含まれ第1描画要素データ以外のいずれの描画要素データも第3描画要素データと重複しないときは、描画要素データ群に含まれる全ての描画要素データの色情報を変更する。   In other words, the printing apparatus 1 according to the third embodiment detects an overlap between the first drawing element data and the second drawing element data included in the drawing element data group, and the first and second drawing elements. When the color difference in the color information of the data is within a predetermined amount, when any drawing element data other than the first drawing element data included in the drawing element data group overlaps with the third drawing element data, the drawing element data Change color information in units. On the other hand, when any drawing element data other than the first drawing element data does not overlap with the third drawing element data, the printing apparatus 1 includes all the drawing element data included in the drawing element data group. Change the color information.

これにより、印刷装置1は、印刷画像における第1、2の描画要素データの描画画像の重複部分において各描画画像を識別可能にすると共に、その他の描画要素データとの重複がある場合に、当該重複部分において両描画画像の識別性を維持する。一方、印刷装置1は、描画要素データ群における第1描画要素データ以外の描画要素データとその他の描画要素データとの重複がない場合は、第1描画要素データが含まれる描画要素データの集合体単位に色情報を統一し、描画画像の判読性を高める。   Thereby, the printing apparatus 1 makes it possible to identify each drawing image in the overlapping portion of the drawing images of the first and second drawing element data in the print image, and when there is an overlap with other drawing element data, The distinguishability of both drawn images is maintained in the overlapping portion. On the other hand, when there is no overlap between drawing element data other than the first drawing element data and other drawing element data in the drawing element data group, the printing apparatus 1 collects drawing element data including the first drawing element data. Unify color information in units and improve the legibility of drawn images.

具体的に、例えば、図3の画像データER4のように、ベクターデータB1とベクターデータ群グループB31におけるベクターデータB31b、B31cが重複し色の差分が所定量内であり、さらにベクターデータB31b、B31c以外のベクターデータ(ベクターデータB31a)が、ベクターデータB1以外のベクターデータ(例えば、線分L4を描画するベクターデータB4)と重複する場合、印刷装置1は、ベクターデータB31b、B31cのみの色情報を変更する。一方、例えば、図3の画像データER3のように、ベクターデータB31b、B31c以外のベクターデータB31aが、ベクターデータB1以外のベクターデータと重複しない場合は、印刷装置1は、ベクターデータ群B31に含まれる全てのベクターデータB31a〜B31cの色情報を変更する。   Specifically, for example, as in the image data ER4 of FIG. 3, the vector data B31 and the vector data B31c in the vector data group B31 overlap and the color difference is within a predetermined amount, and the vector data B31b and B31c When vector data other than vector data (vector data B31a) overlaps with vector data other than vector data B1 (for example, vector data B4 for drawing a line segment L4), the printing apparatus 1 uses only color information of vector data B31b and B31c. To change. On the other hand, for example, when the vector data B31a other than the vector data B31b and B31c does not overlap with the vector data other than the vector data B1 as in the image data ER3 of FIG. 3, the printing apparatus 1 is included in the vector data group B31. The color information of all the vector data B31a to B31c to be changed is changed.

これにより、印刷装置1は、図3の画像データER4のように、文字“テ”内のベクターデータが色の差分が所定量内の線分L1と重複し、さらに文字“テ”内の他のベクターデータが線分L4と重複する場合は、線分L4との重複部分における描画画像の識別性を維持するために、線分L1と重複するベクターデータのみの色情報を変更する。一方、図3の画像データER3のように、文字“テ”内のベクターデータが色の差分が所定量内である線分L1のみと重複する場合、印刷装置1は、重複するベクターデータを含む集合体である文字“テ”の全ベクターデータの色情報を変更することによって文字単位に色を統一し印刷画像の判読性を高める。   As a result, as shown in the image data ER4 in FIG. 3, the printing apparatus 1 causes the vector data in the character “te” to overlap the line segment L1 in which the color difference is within a predetermined amount, and the other data in the character “te”. When the vector data overlaps with the line segment L4, the color information of only the vector data overlapping with the line segment L1 is changed in order to maintain the distinguishability of the drawn image in the overlapping portion with the line segment L4. On the other hand, when the vector data in the character “te” overlaps only with the line segment L1 whose color difference is within a predetermined amount as in the image data ER3 of FIG. 3, the printing apparatus 1 includes the overlapping vector data. By changing the color information of all vector data of the character “te” as an aggregate, the color is unified for each character and the readability of the printed image is improved.

このようにして、本実施の形態例における印刷装置1は、色情報の変更範囲を最小限にしながら、重複部分の描画画像を識別可能にすると共に印刷画像の判読性を高める。   In this way, the printing apparatus 1 according to the present embodiment makes it possible to identify drawn images of overlapping portions while minimizing the change range of the color information and improve the readability of the printed images.

1:印刷装置、10:プリンター、20:コントローラー、21、CPU、22:外部インターフェイス、23:画像形成プログラム、24:RAM、27:色変換ユニット、28:二値化ユニット、30:印刷エンジン、40:ホストコンピューター、41:CPU、42:アプリケーションプログラム、43:RAM、44:プリンタードライバー、45:外部インターフェイス 1: printing apparatus, 10: printer, 20: controller, 21, CPU, 22: external interface, 23: image forming program, 24: RAM, 27: color conversion unit, 28: binarization unit, 30: print engine, 40: Host computer, 41: CPU, 42: Application program, 43: RAM, 44: Printer driver, 45: External interface

Claims (8)

描画開始座標情報と描画終了座標情報と色情報とを有する描画要素データに基づいて印刷媒体に印刷を行う印刷装置において、
前記描画要素データの要素画像と、他の前記描画要素データの要素画像の重複を検出する重複検出手段と、
前記色情報を比較して色の差分が所定量内か否かを判断する色判断手段と、
前記色情報を変更する色情報変更手段と、
を有し、
前記色情報変更手段は、複数の前記描画要素データから成る描画要素データ群に含まれる第1描画要素データと、前記描画要素データ群に含まれない第2描画要素データについて、前記重複検出手段において前記重複が検出され、前記色判断手段において前記第1描画要素データの第1色情報と前記第2描画要素データの第2色情報の前記色の差分が所定量内と判断された場合、前記描画要素データ群に含まれる第1描画要素データ以外のいずれかの描画要素データが、前記描画要素データ群に含まれない第3描画要素データと前記重複がある時は、描画要素データ単位で前記色情報を変更し、前記描画要素データ群に含まれる第1描画要素データ以外のいずれの描画要素データも、前記第3描画要素データと前記重複がない時は、描画要素データ群単位で前記色情報を変更する
ことを特徴とする印刷装置。
In a printing apparatus that performs printing on a print medium based on drawing element data having drawing start coordinate information, drawing end coordinate information, and color information,
And element images of the drawing element data, and duplication detection means for detecting a duplicate of another of said drawing elements data of the element images,
Color determination means for comparing the color information to determine whether a color difference is within a predetermined amount;
Color information changing means for changing the color information;
Have
The color information changing unit is configured to detect the first drawing element data included in the drawing element data group including the plurality of drawing element data and the second drawing element data not included in the drawing element data group in the duplication detection unit. the overlap is detected, if the color difference of the second color information of the second drawing element data and the first color information of the first drawing element data in said color determining means is determined to within a predetermined amount, the When any drawing element data other than the first drawing element data included in the drawing element data group overlaps with the third drawing element data not included in the drawing element data group, the drawing element data unit When the color information is changed and any drawing element data other than the first drawing element data included in the drawing element data group does not overlap with the third drawing element data, the drawing element Printing device and changes the color information over data group units.
前記所定量は、0であることを特徴とする請求項1に記載の印刷装置。 The printing apparatus according to claim 1, wherein the predetermined amount is zero. 前記所定量は、前記印刷装置において表色可能な色空間における最大の色の差分の3%未満であることを特徴とする請求項1または2に記載の印刷装置。 The predetermined amount to a printing apparatus according to claim 1 or 2, characterized in that less than 3% of the maximum color difference in colorimetric possible color space in the printer. 前記重複検出手段は、前記第1、2描画要素データの描画命令に基づいて画素毎の画像データを生成するレンダリング処理において前記重複を検出することを特徴とする請求項1乃至のいずれかに記載の印刷装置。 The overlap detection means, in any one of claims 1 to 3, characterized in that to detect the duplication in the rendering process for generating image data for each pixel based on the drawing command of the first and second drawing element data The printing apparatus as described. 前記重複検出手段は、前記第1、2の描画要素データの描画命令の示す描画対象の画素領域に基づいて前記重複を検出することを特徴とする請求項1乃至のいずれかに記載の印刷装置。 The overlap detection means, according to any one of claims 1 to 3, characterized in that to detect the duplication based on the picture element regions of the object indicated by the drawing command of the first and second drawing element data Printing device. 前記重複検出手段は、前記第1描画要素データの第1の要素画像と、前記第2描画要素データの第2の要素画像とが、1画素以上で重複していることを検出することを特徴とする請求項1乃至のいずれかに記載の印刷装置。 The duplication detection means detects that the first element image of the first drawing element data and the second element image of the second drawing element data overlap at one pixel or more. A printing apparatus according to any one of claims 1 to 5 . 前記描画要素データは、ベクターデータであることを特徴とする請求項1乃至のいずれかに記載の印刷装置。 Said drawing element data, the printing apparatus according to any one of claims 1 to 6, characterized in that the vector data. 描画開始座標情報と描画終了座標情報と色情報とを有する描画要素データに基づいて印刷媒体に印刷を行う印刷方法において、
前記描画要素データの要素画像と、他の前記描画要素データの要素画像の重複を検出する重複検出工程と、
前記色情報を比較して色の差分が所定量内か否かを判断する色判断工程と、
前記色情報を変更する色情報変更工程と、
を有し、
前記色情報変更工程は、複数の前記描画要素データから成る描画要素データ群に含まれる第1描画要素データと、前記描画要素データ群に含まれない第2描画要素データについて、前記重複検出工程において前記重複が検出され、前記色判断工程において前記第1描画要素データの第1色情報と前記第2描画要素データの第2色情報の前記色の差分が所定量内と判断された場合、前記描画要素データ群に含まれる第1描画要素データ以外のいずれかの描画要素データが、前記描画要素データ群に含まれない第3描画要素データと前記重複がある時は、描画要素データ単位で前記色情報を変更し、前記描画要素データ群に含まれる第1描画要素データ以外のいずれの描画要素データも、前記第3描画要素データと前記重複がない時は、描画要素データ群単位で前記色情報を変更する
ことを特徴とする印刷方法。
In a printing method for performing printing on a print medium based on drawing element data having drawing start coordinate information, drawing end coordinate information, and color information,
And element images of the drawing element data, and duplication detection step of detecting a duplicate of another of said drawing elements data of the element images,
A color determination step of comparing the color information to determine whether a color difference is within a predetermined amount;
A color information changing step for changing the color information;
Have
In the duplication detection step, the color information changing step includes: first drawing element data included in a drawing element data group including a plurality of drawing element data; and second drawing element data not included in the drawing element data group . the overlap is detected, if the color difference of the second color information of the second drawing element data and the first first-color information of the drawing element data in the color determination process is determined to within a predetermined amount, the When any drawing element data other than the first drawing element data included in the drawing element data group overlaps with the third drawing element data not included in the drawing element data group, the drawing element data unit When the color information is changed and any drawing element data other than the first drawing element data included in the drawing element data group does not overlap with the third drawing element data, the drawing element Printing method and changes the color information over data group units.
JP2011021100A 2011-02-02 2011-02-02 Printing apparatus and printing method therefor Expired - Fee Related JP5790000B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011021100A JP5790000B2 (en) 2011-02-02 2011-02-02 Printing apparatus and printing method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011021100A JP5790000B2 (en) 2011-02-02 2011-02-02 Printing apparatus and printing method therefor

Publications (2)

Publication Number Publication Date
JP2012160135A JP2012160135A (en) 2012-08-23
JP5790000B2 true JP5790000B2 (en) 2015-10-07

Family

ID=46840592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011021100A Expired - Fee Related JP5790000B2 (en) 2011-02-02 2011-02-02 Printing apparatus and printing method therefor

Country Status (1)

Country Link
JP (1) JP5790000B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6264097B2 (en) * 2014-02-28 2018-01-24 大日本印刷株式会社 Printing machine, printing system and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3815767B2 (en) * 1998-05-29 2006-08-30 キヤノン株式会社 Image forming apparatus, method, image processing apparatus, method, and recording medium
JP2005092307A (en) * 2003-09-12 2005-04-07 Canon Inc Method and system for printing plate discrepancy compensation, and memory media
JP4557163B2 (en) * 2005-06-30 2010-10-06 キヤノンマーケティングジャパン株式会社 Information processing apparatus, print control method, program, and recording medium

Also Published As

Publication number Publication date
JP2012160135A (en) 2012-08-23

Similar Documents

Publication Publication Date Title
US8149461B2 (en) Image processing apparatus and method to compensate for displacement of different printing positions in different colors
US20110075165A1 (en) Image processing system, image processing method and computer readable medium
US20100020351A1 (en) Image processing apparatus, image processing method, and computer readable medium
JP6325847B2 (en) Image processing apparatus, image processing method, and program
JP4640257B2 (en) Image processing apparatus, image processing method, and program
JP5863001B2 (en) Image processing apparatus, image forming apparatus, and program
US8660357B2 (en) Image processing apparatus, method, and computer program
JP6238656B2 (en) Image processing apparatus and image processing method
JP2008279626A (en) Image processor and image processing program
JP5790000B2 (en) Printing apparatus and printing method therefor
JP6452342B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program
US7835046B2 (en) Data processing apparatus, data processing method, computer program, and storage medium
JP5720335B2 (en) Image processing apparatus and image processing program
JP5112223B2 (en) Image processing apparatus and image processing program
US9489590B2 (en) Color mode determination apparatus and non-transitory computer readable medium storing color mode determination program
JP5764992B2 (en) Image processing apparatus, image processing method, and image processing program
US10671897B2 (en) Image processing apparatus
JP2019121870A (en) Image processing apparatus, control method of the same, and program
JP2013047775A (en) Image forming apparatus
JP4539801B2 (en) Image processing apparatus and image forming apparatus
JP2013135396A (en) Image processor and image processing method
JP2006196945A (en) Control apparatus, image forming apparatus, control method, image forming method, control program and recording medium with the program stored
JP2016200999A (en) Printing instruction device, printing system, and program
JP5609573B2 (en) Driver program and printing system
JP2004243568A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140108

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140926

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150109

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150707

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150720

R150 Certificate of patent or registration of utility model

Ref document number: 5790000

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees