JP2006129007A - Print controller, data processing method of print controller, and storage medium having computer readable program stored therein - Google Patents

Print controller, data processing method of print controller, and storage medium having computer readable program stored therein Download PDF

Info

Publication number
JP2006129007A
JP2006129007A JP2004313884A JP2004313884A JP2006129007A JP 2006129007 A JP2006129007 A JP 2006129007A JP 2004313884 A JP2004313884 A JP 2004313884A JP 2004313884 A JP2004313884 A JP 2004313884A JP 2006129007 A JP2006129007 A JP 2006129007A
Authority
JP
Japan
Prior art keywords
trapping
color
bitmap
object type
determining
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.)
Withdrawn
Application number
JP2004313884A
Other languages
Japanese (ja)
Inventor
Joji Oki
丈二 大木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2004313884A priority Critical patent/JP2006129007A/en
Publication of JP2006129007A publication Critical patent/JP2006129007A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To quicken trapping, to enable a user to easily designate a trapping parameter, and to realize trapping of high image quality. <P>SOLUTION: A print controller includes; a determination means for determining an object classification of an inputted drawing command; an object classification information bit map generation means for generating a bit map provided with determined object classification information; and a trapping position determination means which has a means for referring to the object classification information bit map to switch processing and a trapping parameter change means for changing a trapping parameter per object classification. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段と、生成されたビットマップから印刷装置に出力するための分版を生成する手段と、ビットマップ内のエッジを検出するエッジ検出手段と、エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段と、トラッピングの色を決定するトラッピング色決定手段と、決定した色を置く位置を決めるトラッピング位置決定手段とを備える印刷制御装置に関する。   The present invention relates to a color bitmap generation unit that generates a color bitmap from an input drawing command, a unit that generates a color separation for output to a printing apparatus from the generated bitmap, and an edge in the bitmap Edge detecting means for detecting the trap, trapping judging means for judging whether or not trapping should be generated on the edge, trapping color determining means for determining the color of the trapping, and trapping position determining means for determining the position where the determined color is placed. A printing control apparatus comprising:

入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段と、生成されたビットマップから印刷装置に出力するための分版を生成する手段と、ビットマップ内のエッジを検出するエッジ検出手段と、エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段と、トラッピングの色を決定するトラッピング色決定手段と、決定した色を置く位置を決めるトラッピング位置決定手段とを備える印刷制御装置では、複数の色の分版を同一の用紙媒体に印刷する際に生じる版ずれを補正するために、トラッピング技術を採用している。   Color bitmap generation means for generating a color bitmap from the input drawing command, means for generating a color separation for output to the printing apparatus from the generated bitmap, and an edge for detecting an edge in the bitmap Print control comprising: detection means; trapping determination means for determining whether or not trapping should be generated at an edge; trapping color determination means for determining a color of trapping; and trapping position determination means for determining a position where the determined color is placed. The apparatus employs a trapping technique to correct plate misalignment that occurs when printing a plurality of color separations on the same paper medium.

図4は、版ずれの例を示す。   FIG. 4 shows an example of misregistration.

図4−1は、Yellow,Magenta,Cyan,Blackの4色を用いて印刷を行う印刷装置において、版ずれのない印刷結果を示す。シアンの矩形の上にマゼンタの円を上書きで描画されており、シアンの矩形とマゼンタの円が接している。   FIG. 4A illustrates a printing result without misregistration in a printing apparatus that performs printing using four colors of Yellow, Magenta, Cyan, and Black. The magenta circle is overwritten on the cyan rectangle, and the cyan rectangle and the magenta circle touch each other.

図4−2は、版ずれした結果を示す。ここで、マゼンタのみが右にずれた例である。この結果、マゼンタの円の右にブルー(マゼンタ+シアン)の線が生じ、左にはどのトナーも載っていない紙の色(ホワイト)の線が生じる。   FIG. 4B shows the result of misregistration. Here, only magenta is shifted to the right. This results in a blue (magenta + cyan) line to the right of the magenta circle and a paper color (white) line to which no toner is placed on the left.

版ずれを補正する方法は、既に公知である。一般的には、境界を、印刷された際に視覚的影響を最小にするために決定された色で埋めるために、接している領域の版の一方を拡張することである。   A method for correcting misregistration is already known. In general, one of the border plates is expanded to fill the border with the color determined to minimize the visual impact when printed.

図5は、トラッピングの例を示す。   FIG. 5 shows an example of trapping.

5−1は円のエッジを外に向かって拡大(円の色を外側に向かって拡大)させた場合、これをスプレッドとラップと言う。   5-1, when the edge of the circle is expanded outward (the color of the circle is expanded outward), this is called spread and wrap.

5−2は円のエッジを内に向かって縮小(矩形の色を円に向かって拡大)させた場合、これをチョークトラップと言う。よって、トラッピングを行った場合、理想的な印刷機では、輪郭が上下の色の混色となる。   In 5-2, when the edge of the circle is reduced inward (rectangular color is enlarged toward the circle), this is called a choke trap. Therefore, when trapping is performed, in an ideal printing press, the contour is a mixed color of upper and lower colors.

図6は、トラッピングのフローチャートを示す。   FIG. 6 shows a trapping flowchart.

ステップS601では、カラービットマップを生成しトラッピング手段に入力する。   In step S601, a color bitmap is generated and input to the trapping means.

ステップS602では、画像内のエッジを検出する。具体的には、画像の左上から右下に向かってスキャンラインを走査しながら、ピクセル毎に注目画素と、注目画素の右、注目画素の上のピクセルを比較する。もし注目画素P(Yp,Mp,Cp,Kp)と、右か上かどちらか一方でも比較画素Q(Yq,Mq,Cq,Kq)の関係が以下を満たせばエッジと判別する。ここでYpは注目画素Pのイエロー成分、Mpは注目画素Pのマゼンタ成分、Cpは注目画素Pのシアン成分、Kpは注目画素Pのブラック成分である。   In step S602, an edge in the image is detected. Specifically, the pixel of interest is compared with the pixel on the right of the pixel of interest and the pixel above the pixel of interest for each pixel while scanning the scan line from the upper left to the lower right of the image. If the relationship between the pixel of interest P (Yp, Mp, Cp, Kp) and the comparison pixel Q (Yq, Mq, Cq, Kq) on either the right side or the upper side satisfies the following, it is determined as an edge. Here, Yp is the yellow component of the target pixel P, Mp is the magenta component of the target pixel P, Cp is the cyan component of the target pixel P, and Kp is the black component of the target pixel P.

もし、注目画素と右画素、注目画素の左画素の両者ともエッジと判断されたら、|(A−B)|のおおきな方をエッジとする。   If both the target pixel, the right pixel, and the left pixel of the target pixel are determined to be edges, the larger of | (A−B) |

A=Yp+Mp+Cp+Kp
B=Yq+Mq+Cq+Kq
|(A−B)|>M
もし、エッジならステップS603に進む。もしエッジでないならばステップS602に戻り、注目画素を次のピクセルに進めエッジ検出を行う。
A = Yp + Mp + Cp + Kp
B = Yq + Mq + Cq + Kq
| (A-B) |> M
If it is an edge, the process proceeds to step S603. If it is not an edge, the process returns to step S602 to advance the target pixel to the next pixel and perform edge detection.

ステップS603は、トラッピング処理を行うか否かを判断する。ここで、下記の演算を用いても良い。   In step S603, it is determined whether or not to perform a trapping process. Here, the following calculation may be used.

(A=Yp+Mp+Cp+Kp)>Nまたは(B=Yq+Mq+Cq+Kq)>Nなら行わない。   If (A = Yp + Mp + Cp + Kp)> N or (B = Yq + Mq + Cq + Kq)> N, no operation is performed.

もし行うならステップS604に進む。もし行わないならばステップS602に戻り、注目画素を次のピクセルに進めエッジ検出を行う。   If so, the process proceeds to step S604. If not, the process returns to step S602 to advance the target pixel to the next pixel and perform edge detection.

ステップS604は、置換する色を算出する。例えば、トラッピング色T(Yt,Mt,Ct,Kt,)以下の式で算出される。   In step S604, a replacement color is calculated. For example, the trapping color T (Yt, Mt, Ct, Kt,) is calculated by the following formula.

Yt=Yp+Yq
Mt=Mp+Mq
Ct=Cp+Cq
Kt=Kp+Kq
ステップS605は、トラッピングの位置を決定する。ここでは、注目画素をトラッピング位置としても良い。
Yt = Yp + Yq
Mt = Mp + Mq
Ct = Cp + Cq
Kt = Kp + Kq
In step S605, a trapping position is determined. Here, the target pixel may be set as the trapping position.

ステップS606は、色補正を行う。注目画素をステップS604で算出された値に置換する。(ただし、ステップS602でエッジを検出する際に用いる上画素、右画素は置換前の値を用いるため、置換前の値保持が必要である。)
ステップS607は、カラービットマップ全体に対して処理を行ったか否かを判断する。
In step S606, color correction is performed. The target pixel is replaced with the value calculated in step S604. (However, since the values before replacement are used for the upper pixel and the right pixel used when detecting an edge in step S602, it is necessary to hold the value before replacement.)
In step S607, it is determined whether the entire color bitmap has been processed.

もし、カラービットマップ全体に対して処理を行ったのであれば処理を終了する。   If the entire color bitmap has been processed, the process ends.

もし、カラービットマップ全体に対して処理を行っていなければ、ステップS602に戻り、注目画素を次のピクセルに進めエッジ検出を行う。
特開平9−247476号公報
If the entire color bitmap has not been processed, the process returns to step S602 to advance the target pixel to the next pixel and perform edge detection.
JP-A-9-247476

しかしながら従来の、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段と、生成されたビットマップから印刷装置に出力するための分版を生成する手段と、ビットマップ内のエッジを検出するエッジ検出手段と、エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段と、トラッピングの色を決定するトラッピング色決定手段と、決定した色を置く位置を決めるトラッピング位置決定手段とを備える印刷制御装置では、以下のような問題があった。   However, a conventional color bitmap generation unit that generates a color bitmap from an input drawing command, a unit that generates a color separation for output to the printing apparatus from the generated bitmap, and an edge in the bitmap Edge detecting means for detecting the trap, trapping judging means for judging whether or not trapping should be generated on the edge, trapping color determining means for determining the color of the trapping, and trapping position determining means for determining the position where the determined color is placed. However, the printing control apparatus having the following problems has the following problems.

1、 ステップS602のエッジ検出時に、カラービットマップイメージの各ピクセルに対して処理を行っているため処理時間がかかるという問題があった。これはエッジ検出時に参照する周辺画素数を増やした場合顕著となる。   1. At the time of edge detection in step S602, since processing is performed on each pixel of the color bitmap image, there is a problem that processing time is required. This becomes conspicuous when the number of peripheral pixels referred to at the time of edge detection is increased.

2、 ステップS602のエッジ検出、ステップS603のトラッピング判断、ステップS604のトラッピング色決定、S605のトラッピング位置決定において、カラービットマップイメージのみを参照するため、文字、図形、イメージなどオブジェクト属性に適したパラメータ設定が出来ないといった問題があった。   2. In the edge detection in step S602, the trapping determination in step S603, the trapping color determination in step S604, and the trapping position determination in S605, since only the color bitmap image is referred to, parameters suitable for object attributes such as characters, graphics, and images There was a problem that it could not be set.

3、 上記「2」の理由により、文字、図形、イメージなどオブジェクト属性に適した高画質処理が出来ないといった問題があった。   3. For the reason “2” above, there has been a problem that high-quality processing suitable for object attributes such as characters, graphics, and images cannot be performed.

本発明に係る第1の発明は、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段と、生成されたビットマップから印刷装置に出力するための分版を生成する手段と、ビットマップ内のエッジを検出するエッジ検出手段と、エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段と、トラッピングの色を決定するトラッピング色決定手段と、決定した色を置く位置を決めるトラッピング位置決定手段とを備える印刷制御装置において、入力された描画コマンドのオブジェクト種別を判定する判定手段と、判定されたオブジェクト種別情報を備えるビットマップを生成するオブジェクト種別情報ビットマップ生成手段と、エッジ検出手段、トラッピング判断手段、トラッピング色決定手段、トラッピング位置決定手段には、それぞれオブジェクト種別情報ビットマップを参照して処理を切り替える手段と、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とを有することを特徴とするものである。   According to a first aspect of the present invention, a color bitmap generation unit that generates a color bitmap from an input drawing command, and a unit that generates a color separation for outputting to the printing apparatus from the generated bitmap. An edge detection means for detecting an edge in the bitmap, a trapping determination means for determining whether or not to generate trapping on the edge, a trapping color determination means for determining the color of the trapping, and a position for placing the determined color In a printing control apparatus comprising a trapping position determination means for determining, a determination means for determining an object type of an input drawing command, an object type information bitmap generation means for generating a bitmap including the determined object type information, Edge detection means, trapping judgment means, trapping color determination hand , The trapping position determining means, is characterized in that it has a means for switching processing by referring to the object type information bitmap, respectively, and a trapping parameter changing means for changing the trapping parameters for each type of object.

本発明に係る第2の発明は、前記、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段とは、RGBの色空間のカラービットマップを生成する手段であることを特徴とするものである。   According to a second aspect of the present invention, the color bitmap generation means for generating a color bitmap from the input drawing command is a means for generating a color bitmap in an RGB color space. It is what.

本発明に係る第3の発明は、前記、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段とは、YMCKの色空間のカラービットマップを生成する手段であることを特徴とするものである。   According to a third aspect of the present invention, the color bitmap generation means for generating a color bitmap from the input drawing command is a means for generating a color bitmap in the YMCK color space. It is what.

本発明に係る第4の発明は、前記、入力された描画コマンドのオブジェクト種別を判定する判定手段とは、文字、図形、線、イメージのオブジェクト種別を判断する判断手段であることを特徴とするものである。   According to a fourth aspect of the present invention, the determination means for determining the object type of the input drawing command is a determination means for determining the object type of a character, graphic, line, or image. Is.

本発明に係る第5の発明は、前記、描画コマンドと閾値からオブジェクト種別を判断する判断手段とは、文字のポイントサイズによって、小さな文字かそれ以外の文字かといったオブジェクト種別を判断する判断手段であることを特徴とするものである。   According to a fifth aspect of the present invention, the determining means for determining the object type from the drawing command and the threshold value is a determining means for determining an object type such as a small character or other characters according to the character point size. It is characterized by being.

本発明に係る第6の発明は、前記、描画コマンドと閾値からオブジェクト種別を判断する判断手段とは、ラインの線幅によって、細い線かそれ以外の線かといったオブジェクト種別を判断する判断手段であることを特徴とするものである。   According to a sixth aspect of the present invention, the determination means for determining the object type from the drawing command and the threshold value is a determination means for determining whether the object type is a thin line or other line according to the line width of the line. It is characterized by being.

本発明に係る第7の発明は、前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、トラッピング処理をする/しないを指定することを特徴とするものである。   A seventh invention according to the present invention is characterized in that the trapping parameter changing means for changing the trapping parameter for each object type specifies whether or not to perform the trapping process.

本発明に係る第8の発明は、前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段で用いる、隣り合う色間の色の違いを判別する閾値を指定することを特徴とするものである。   According to an eighth aspect of the present invention, the trapping parameter changing means for changing the trapping parameter for each object type is an adjacent color used by the trapping determining means for determining whether or not to generate trapping at the edge. A threshold value for discriminating a color difference between them is designated.

本発明に係る第9の発明は、前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、決定した色を置く位置を決めるトラッピング位置決定手段で用いる、トラッピングによりトラッピング色に置換するピクセル数を指定することを特徴とするものである。   According to a ninth aspect of the present invention, the trapping parameter changing means for changing the trapping parameter for each object type is replaced with a trapping color by trapping used in the trapping position determining means for determining the position where the determined color is placed. The number of pixels to be specified is specified.

本発明に係る第10の発明は、前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、決定した色を置く位置を決めるトラッピング位置決定手段で用いる、トラッピングによりトラッピング色に置換する方向を指定することを特徴とするものである。   According to a tenth aspect of the present invention, the trapping parameter changing means for changing the trapping parameter for each object type is replaced with a trapping color by trapping used in the trapping position determining means for determining the position where the determined color is placed. The direction to perform is specified.

本発明に係る第11の発明は、前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、自動で判断することを指定することを特徴とするものである。   The eleventh aspect of the present invention is characterized in that the trapping parameter changing means for changing the trapping parameter for each type of object designates automatic determination.

本発明に係る第12の発明は、前記、オブジェクト種別情報ビットマップを参照して処理を切り替える手段とは、オブジェクト種別が小文字ならば、決定した色を置く位置を決めるトラッピング位置決定手段で用いる、トラッピングによりトラッピング色に置換する方向を、文字をスプレッドする方向にすることを特徴とするものである。   In a twelfth aspect of the present invention, the means for switching processing with reference to the object type information bitmap is used by a trapping position determining means for determining a position where the determined color is to be placed if the object type is a lowercase letter. The direction in which the trapping color is replaced by the trapping is set to a direction in which characters are spread.

本発明に係る第13の発明は、前記、オブジェクト種別情報ビットマップを参照して処理を切り替える手段とは、オブジェクト種別が細線ならば、決定した色を置く位置を決めるトラッピング位置決定手段で用いる、トラッピングによりトラッピング色に置換する方向を、細線をスプレッドする方向にすることを特徴とするものである。   In a thirteenth aspect of the present invention, the means for switching processing with reference to the object type information bitmap is used by a trapping position determining means for determining a position where the determined color is placed if the object type is a thin line. The direction in which the trapping color is replaced by the trapping is the direction in which the fine line is spread.

本発明に係る第14の発明は、前記、オブジェクト種別情報ビットマップを参照して処理を切り替える手段とは、オブジェクト種別がイメージならば、トラッピング効果を目立たせないようなパラメータを使用することを特徴とするものである。   In a fourteenth aspect of the present invention, the means for switching processing with reference to the object type information bitmap uses a parameter that does not make the trapping effect conspicuous if the object type is an image. It is what.

本発明に係る第15の発明は、前記、トラッピングの色を決定するトラッピング色決定手段とは、予め決められた該オブジェクトのトナーの載り量をオーバーしないように制御することを特徴とするものである。   According to a fifteenth aspect of the present invention, the trapping color determining means for determining the trapping color is controlled so as not to exceed a predetermined toner loading amount of the object. is there.

本発明に係る第16の発明は、前記、決定した色を置く位置を決めるトラッピング位置決定手段とは、もし該エッジの隣り合うオブジェクト種別が同じエッジであれば、隣り合うピクセルとの濃度差によって、トラッピングによりトラッピング色に置換する方向を決定することを特徴とするものである。   According to a sixteenth aspect of the present invention, the trapping position determining means for determining the position where the determined color is placed is based on a density difference between adjacent pixels if the adjacent object type of the edge is the same edge. The direction of replacement with the trapping color is determined by trapping.

本発明に係る第17の発明は、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段と、生成されたビットマップから印刷装置に出力するための分版を生成する手段と、ビットマップ内のエッジを検出するエッジ検出手段と、エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段と、トラッピングの色を決定するトラッピング色決定手段と、決定した色を置く位置を決めるトラッピング位置決定手段とを備える印刷制御装置および印刷制御装置のデータ処理方法において、入力された描画コマンドのオブジェクト種別を判定する判定手段と、判定されたオブジェクト種別情報を備えるビットマップを生成するオブジェクト種別情報ビットマップ生成手段と、エッジ検出手段、トラッピング判断手段、トラッピング色決定手段、トラッピング位置決定手段には、それぞれオブジェクト種別情報ビットマップを参照して処理を切り替える手段と、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とを有することを特徴とする。   According to a seventeenth aspect of the present invention, there is provided a color bitmap generating means for generating a color bitmap from an input drawing command, and means for generating a color separation for outputting to the printing apparatus from the generated bitmap. An edge detection means for detecting an edge in the bitmap, a trapping determination means for determining whether or not to generate trapping on the edge, a trapping color determination means for determining the color of the trapping, and a position for placing the determined color An object for generating a bitmap including a determination means for determining an object type of an input drawing command, and a data processing method for the print control apparatus including a trapping position determination unit for determining and an object type of an input drawing command Type information bitmap generation means, edge detection means, track The tracking determination means, the trapping color determination means, and the trapping position determination means each have means for switching processing with reference to the object type information bitmap, and trapping parameter changing means for changing the trapping parameter for each object type. It is characterized by.

本発明に係る第18の発明は、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段と、生成されたビットマップから印刷装置に出力するための分版を生成する手段と、ビットマップ内のエッジを検出するエッジ検出手段と、エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段と、トラッピングの色を決定するトラッピング色決定手段と、決定した色を置く位置を決めるトラッピング位置決定手段とを備えるコンピュータが読み出し可能なプログラムを格納した記憶媒体において、入力された描画コマンドのオブジェクト種別を判定する判定手段と、判定されたオブジェクト種別情報を備えるビットマップを生成するオブジェクト種別情報ビットマップ生成手段と、エッジ検出手段、トラッピング判断手段、トラッピング色決定手段、トラッピング位置決定手段には、それぞれオブジェクト種別情報ビットマップを参照して処理を切り替える手段と、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とを有するものである。   According to an eighteenth aspect of the present invention, a color bitmap generation unit that generates a color bitmap from an input drawing command, and a unit that generates a color separation for output to the printing apparatus from the generated bitmap. An edge detection means for detecting an edge in the bitmap, a trapping determination means for determining whether or not to generate trapping on the edge, a trapping color determination means for determining the color of the trapping, and a position for placing the determined color An object for generating a bitmap including a determined object type information and a determination means for determining an object type of an input drawing command in a storage medium storing a computer readable program having a trapping position determining unit for determining Type information bitmap generation means and edge detector The trapping determination means, trapping color determination means, and trapping position determination means each have means for switching processing with reference to the object type information bitmap, and trapping parameter change means for changing the trapping parameter for each object type. Is.

以上説明したように、第1の発明によれば、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段と、生成されたビットマップから印刷装置に出力するための分版を生成する手段と、ビットマップ内のエッジを検出するエッジ検出手段と、エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段と、トラッピングの色を決定するトラッピング色決定手段と、決定した色を置く位置を決めるトラッピング位置決定手段とを備える印刷制御装置において、入力された描画コマンドのオブジェクト種別を判定する判定手段と、判定されたオブジェクト種別情報を備えるビットマップを生成するオブジェクト種別情報ビットマップ生成手段と、エッジ検出手段、トラッピング判断手段、トラッピング色決定手段、トラッピング位置決定手段には、それぞれオブジェクト種別情報ビットマップを参照して処理を切り替える手段と、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とを有するので、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能であり、かつ、高画質なトラッピングを実現できる。   As described above, according to the first invention, the color bitmap generation means for generating a color bitmap from the input drawing command, and the color separation for outputting the generated bitmap to the printing apparatus are provided. Means for generating, edge detecting means for detecting an edge in the bitmap, trapping determining means for determining whether or not trapping should be generated for the edge, trapping color determining means for determining the color of the trapping, and the determined color In a printing control apparatus comprising a trapping position determining means for determining a position for placing an object, a determination means for determining an object type of an input drawing command, and an object type information bitmap for generating a bitmap including the determined object type information Generation means, edge detection means, trapping determination means, trapping The tracking color determination means and the trapping position determination means each have a means for switching processing with reference to the object type information bitmap and a trapping parameter change means for changing the trapping parameter for each object type. The trapping parameter can be realized by the user, and trapping with high image quality can be realized.

第2の発明によれば、前記、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段とは、RGBの色空間のカラービットマップを生成する手段であるので、トラッピング高速に実現することができる。   According to the second invention, the color bitmap generation means for generating a color bitmap from the input drawing command is a means for generating a color bitmap in the RGB color space, so that the trapping can be performed at high speed. Can be realized.

第3の発明によれば、前記、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段とは、YMCKの色空間のカラービットマップを生成する手段であるので、トラッピング高速に実現することができる。   According to the third invention, the color bitmap generation means for generating a color bitmap from the input drawing command is a means for generating a color bitmap in the YMCK color space, so that it can be trapped at high speed. Can be realized.

第4の発明によれば、前記、入力された描画コマンドのオブジェクト種別を判定する判定手段とは、文字、図形、線、イメージのオブジェクト種別を判断する判断手段であるので、トラッピング高速に実現することができる。   According to the fourth aspect of the present invention, the determination means for determining the object type of the input drawing command is a determination means for determining the object type of a character, graphic, line, or image. be able to.

第5の発明によれば、前記、描画コマンドと閾値からオブジェクト種別を判断する判断手段とは、文字のポイントサイズによって、小さな文字かそれ以外の文字かといったオブジェクト種別を判断する判断手段であるので、トラッピング高速に実現することができる。   According to the fifth invention, the determining means for determining the object type from the drawing command and the threshold value is a determining means for determining an object type such as a small character or other characters according to the character point size. , Trapping can be realized at high speed.

第6の発明によれば、前記、描画コマンドと閾値からオブジェクト種別を判断する判断手段とは、ラインの線幅によって、細い線かそれ以外の線かといったオブジェクト種別を判断する判断手段であるので、トラッピング高速に実現することができる。   According to the sixth invention, the determination means for determining the object type from the drawing command and the threshold value is a determination means for determining the object type such as a thin line or another line according to the line width of the line. , Trapping can be realized at high speed.

第7の発明によれば、前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、トラッピング処理をする/しないを指定するので、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能である。   According to the seventh invention, the trapping parameter changing means for changing the trapping parameter for each object type designates whether or not to perform the trapping process, so that the trapping can be realized at a high speed and the trapping can be realized. Parameters can be easily specified by the user.

第8の発明によれば、前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段で用いる、隣り合う色間の色の違いを判別する閾値を指定するので、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能である。   According to the eighth invention, the trapping parameter changing means for changing the trapping parameter for each type of object is a trapping judgment means for judging whether or not trapping should be generated at the edge. Since the threshold value for discriminating the difference in color is specified, it is possible to realize trapping at high speed and the user can easily specify the trapping parameter.

第9の発明によれば、前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、決定した色を置く位置を決めるトラッピング位置決定手段で用いる、トラッピングによりトラッピング色に置換するピクセル数を指定するので、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能である。   According to the ninth invention, the trapping parameter changing means for changing the trapping parameter for each object type is a pixel used for trapping color replacement by trapping used in the trapping position determining means for determining the position where the determined color is placed. Since the number is specified, the trapping can be realized at high speed, and the trapping parameter can be easily specified by the user.

第10の発明によれば、前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、決定した色を置く位置を決めるトラッピング位置決定手段で用いる、トラッピングによりトラッピング色に置換する方向を指定するので、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能である。   According to the tenth aspect of the invention, the trapping parameter changing means for changing the trapping parameter for each object type is used in the trapping position determining means for determining the position where the determined color is placed, and is the direction in which the trapping color is replaced by trapping. Therefore, trapping can be realized at high speed, and the trapping parameter can be easily specified by the user.

第11の発明によれば、前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、自動で判断することを指定するので、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能である。   According to the eleventh aspect of the invention, the trapping parameter changing means for changing the trapping parameter for each object type designates automatic determination, so that the trapping parameter can be realized at high speed and the trapping parameter can be realized. Can be easily specified by the user.

第12の発明によれば、前記、オブジェクト種別情報ビットマップを参照して処理を切り替える手段とは、オブジェクト種別が小文字ならば、決定した色を置く位置を決めるトラッピング位置決定手段で用いる、トラッピングによりトラッピング色に置換する方向を、文字をスプレッドする方向にするので、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能である。   According to the twelfth invention, the means for switching the processing with reference to the object type information bitmap is the trapping position determining means for determining the position where the determined color is to be placed if the object type is lowercase. Since the direction of replacement with the trapping color is the direction in which characters are spread, the trapping color can be realized at high speed, and the trapping parameter can be easily specified by the user.

第13の発明によれば、前記、オブジェクト種別情報ビットマップを参照して処理を切り替える手段とは、オブジェクト種別が細線ならば、決定した色を置く位置を決めるトラッピング位置決定手段で用いる、トラッピングによりトラッピング色に置換する方向を、細線をスプレッドする方向にするので、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能である。   According to the thirteenth aspect, the means for switching the processing with reference to the object type information bitmap is the trapping position determining means for determining the position where the determined color is placed if the object type is a thin line. Since the direction to be replaced with the trapping color is the direction in which the thin line is spread, the trapping color can be realized at a high speed, and the trapping parameter can be easily specified by the user.

第14の発明によれば、前記、オブジェクト種別情報ビットマップを参照して処理を切り替える手段とは、オブジェクト種別がイメージならば、トラッピング効果を目立たせないようなパラメータを使用するので、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能である。   According to the fourteenth aspect of the present invention, the means for switching processing with reference to the object type information bitmap uses parameters that do not make the trapping effect conspicuous if the object type is an image. The trapping parameter can be easily specified by the user.

第15の発明によれば、前記、トラッピングの色を決定するトラッピング色決定手段とは、予め決められた該オブジェクトのトナーの載り量をオーバーしないように制御するので、高画質なトラッピングを実現できる。   According to the fifteenth aspect of the present invention, the trapping color determining means for determining the trapping color is controlled so as not to exceed the predetermined toner loading amount of the object, so that high-quality trapping can be realized. .

第16の発明によれば、前記、決定した色を置く位置を決めるトラッピング位置決定手段とは、もし該エッジの隣り合うオブジェクト種別が同じエッジであれば、隣り合うピクセルとの濃度差によって、トラッピングによりトラッピング色に置換する方向を決定するので、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能であり、かつ、高画質なトラッピングを実現できる。   According to the sixteenth aspect of the present invention, the trapping position determining means for determining the position where the determined color is placed is that the trapping position is determined by the density difference between the adjacent pixels if the adjacent object type of the edge is the same edge. Since the direction of replacement with the trapping color is determined by this, trapping can be realized at high speed, and the trapping parameter can be easily specified by the user, and high-quality trapping can be realized.

第17の発明によれば、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段と、生成されたビットマップから印刷装置に出力するための分版を生成する手段と、ビットマップ内のエッジを検出するエッジ検出手段と、エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段と、トラッピングの色を決定するトラッピング色決定手段と、決定した色を置く位置を決めるトラッピング位置決定手段とを備える印刷制御装置および印刷制御装置のデータ処理方法において、入力された描画コマンドのオブジェクト種別を判定する判定手段と、判定されたオブジェクト種別情報を備えるビットマップを生成するオブジェクト種別情報ビットマップ生成手段と、エッジ検出手段、トラッピング判断手段、トラッピング色決定手段、トラッピング位置決定手段には、それぞれオブジェクト種別情報ビットマップを参照して処理を切り替える手段と、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とを有するので、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能であり、かつ、高画質なトラッピングを実現できる。   According to the seventeenth aspect, a color bitmap generation unit that generates a color bitmap from an input drawing command, a unit that generates a color separation for output to the printing apparatus from the generated bitmap, and a bit Edge detection means for detecting an edge in the map, trapping determination means for determining whether or not to generate trapping on the edge, trapping color determination means for determining the color of the trapping, and trapping for determining the position where the determined color is placed Object type information for generating a bitmap including a determination means for determining an object type of an input drawing command and a data type of the input drawing command in a print control apparatus and a data processing method for the print control apparatus including a position determination unit Bitmap generation means, edge detection means, trapping The disconnecting means, the trapping color determining means, and the trapping position determining means each have means for switching processing with reference to the object type information bitmap, and trapping parameter changing means for changing the trapping parameter for each object type. Trapping can be realized at high speed, the trapping parameter can be easily specified by the user, and high-quality trapping can be realized.

第18の発明によれば、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段と、生成されたビットマップから印刷装置に出力するための分版を生成する手段と、ビットマップ内のエッジを検出するエッジ検出手段と、エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段と、トラッピングの色を決定するトラッピング色決定手段と、決定した色を置く位置を決めるトラッピング位置決定手段とを備えるコンピュータが読み出し可能なプログラムを格納した記憶媒体において、入力された描画コマンドのオブジェクト種別を判定する判定手段と、判定されたオブジェクト種別情報を備えるビットマップを生成するオブジェクト種別情報ビットマップ生成手段と、エッジ検出手段、トラッピング判断手段、トラッピング色決定手段、トラッピング位置決定手段には、それぞれオブジェクト種別情報ビットマップを参照して処理を切り替える手段と、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とを有するので、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能であり、かつ、高画質なトラッピングを実現できる。   According to the eighteenth aspect of the invention, a color bitmap generation unit that generates a color bitmap from an input drawing command, a unit that generates a color separation for output to the printing apparatus from the generated bitmap, and a bit Edge detection means for detecting an edge in the map, trapping determination means for determining whether or not to generate trapping on the edge, trapping color determination means for determining the color of the trapping, and trapping for determining the position where the determined color is placed Object type information for generating a bitmap including the determined object type information and a determination unit for determining the object type of the input drawing command in a storage medium storing a computer readable program having position determining means Bitmap generation means, edge detection means, The tapping determination means, the trapping color determination means, and the trapping position determination means each have means for switching processing with reference to the object type information bitmap, and trapping parameter changing means for changing the trapping parameter for each object type. Trapping can be realized at high speed, trapping parameters can be easily specified by the user, and high-quality trapping can be realized.

(実施例1)
以下、本発明をレーザ・ビーム・プリンタ(以下、LBPと略す)に適用し、図面を用いて更に詳細に説明する。
Example 1
Hereinafter, the present invention is applied to a laser beam printer (hereinafter abbreviated as LBP) and will be described in more detail with reference to the drawings.

本実施例の構成を説明する前に、本実施例を適用するLBPの構成を図1、図2を参照して説明する。   Before describing the configuration of the present embodiment, the configuration of the LBP to which the present embodiment is applied will be described with reference to FIGS.

図1は実施例のLBPの内部構造を示す断面図である。   FIG. 1 is a cross-sectional view showing the internal structure of the LBP of the embodiment.

図2は、図1に示した本体の制御構成を説明するブロック図である。   FIG. 2 is a block diagram illustrating a control configuration of the main body shown in FIG.

図において、100はLBP本体であり、外部に接続されているホストコンピュータ(図2の201)から供給される文字印字命令、各種図形描画命令、イメージ描画命令及び色指定命令等に従って対応する文字パターンや図形、イメージ等を作成し、記録媒体である記録用紙上に像を形成する。   In the figure, reference numeral 100 denotes an LBP main body, and corresponding character patterns according to a character print command, various graphic drawing commands, an image drawing command, a color designation command, etc. supplied from a host computer (201 in FIG. 2) connected to the outside. An image is formed on a recording sheet that is a recording medium.

151は操作のためのスイッチ及びプリンタの状態を表示するLED表示器やLCD表示器等が配されている操作パネルである。   Reference numeral 151 denotes an operation panel on which a switch for operation and an LED display or an LCD display for displaying the status of the printer are arranged.

101はLBP100全体の制御及びホストコンピュータから供給される文字印字命令等を解析するプリンタ制御ユニットである。   A printer control unit 101 controls the entire LBP 100 and analyzes a character printing command supplied from a host computer.

尚、本実施例におけるLBPはRGBの色情報をM(マゼンタ)C(シアン)Y(イエロー)K(クロ)に変換し、それらを並列で像形成・現像するため、MCYKそれぞれが像形成・現像機構を持つ。プリンタ制御ユニット101はMCYKそれぞれの印字イメージを生成し、ビデオ信号に変換してMCYKそれぞれのレーザ・ドライバに出力する。   The LBP in this embodiment converts RGB color information into M (magenta) C (cyan) Y (yellow) K (black), and forms and develops them in parallel. Has a development mechanism. The printer control unit 101 generates a print image for each MCYK, converts it into a video signal, and outputs it to each MCYK laser driver.

M(マゼンタ)のレーザ・ドライバ110は半導体レーザ111を駆動するための回路であり、入力されたビデオ信号に応じて半導体レーザ111から発射されるレーザ光112をオン・オフ切り替えする。レーザ光112は回転多面鏡113で左右方向に振られて静電ドラム114上を走査する。これにより、静電ドラム114上には文字や図形のパターンの静電潜像が形成される。この潜像は静電ドラム114周囲の現像ユニット(トナーカートリッジ)115によって現像された後、記録用紙に転写される。   The M (magenta) laser driver 110 is a circuit for driving the semiconductor laser 111, and switches on and off the laser beam 112 emitted from the semiconductor laser 111 in accordance with an input video signal. The laser beam 112 is swung in the left-right direction by the rotary polygon mirror 113 to scan the electrostatic drum 114. As a result, an electrostatic latent image of a character or figure pattern is formed on the electrostatic drum 114. The latent image is developed by a developing unit (toner cartridge) 115 around the electrostatic drum 114 and then transferred to a recording sheet.

C(シアン)、Y(イエロー)、K(クロ)に関してもM(マゼンタ)と同様の像形成・現像機構を持ち、120、121、122、123、124、125はC(シアン)用の像形成・現像機構、130、131、132、133、134、135はY(イエロー)用の像形成・現像機構、140、141、142、143、144、145はK(クロ)用の像形成・現像機構である。個々の機能はM(マゼンタ)の像形成・現像機構と同じであるので説明は省略する。   C (cyan), Y (yellow), and K (black) have the same image formation / development mechanism as M (magenta), and 120, 121, 122, 123, 124, and 125 are C (cyan) images. Formation / development mechanism, 130, 131, 132, 133, 134, 135 are Y (yellow) image formation / development mechanisms, 140, 141, 142, 143, 144, 145 are K (black) image formation / development mechanisms. Development mechanism. The individual functions are the same as those of the M (magenta) image forming / developing mechanism, and a description thereof will be omitted.

記録用紙にはカット・シートを用い、カット・シート記録紙はLBPに装着した給紙カセット102に収納されバネ103で一定の高さに保たれており、給紙ローラ104及び搬送ローラ105と106とにより装置内に取り込まれ、用紙搬送ベルト107に乗せられてMCYKの各像形成・現像機構を通過する。   A cut sheet is used as the recording paper, and the cut sheet recording paper is stored in a paper feed cassette 102 mounted on the LBP and is kept at a certain height by a spring 103. A paper feed roller 104 and transport rollers 105 and 106 are used. Are taken into the apparatus, are placed on the sheet conveying belt 107, and pass through each image forming / developing mechanism of MCYK.

記録用紙に転写されたMCYKの各トナー(粉末インク)は定着器108で熱と圧力により記録用紙に固定され、記録用紙は搬送ローラ109と150によってLBP本体上部に出力される。   Each MCYK toner (powder ink) transferred to the recording paper is fixed to the recording paper by heat and pressure by the fixing unit 108, and the recording paper is output to the upper part of the LBP main body by the conveying rollers 109 and 150.

図2は図1に示したLBPの制御系101の概略構成を示すブロック図である。   FIG. 2 is a block diagram showing a schematic configuration of the LBP control system 101 shown in FIG.

このLBPの制御系は、印刷情報の発生源である、ホストコンピュータ201より送られてきた文字、図形、イメージの各描画命令及び色情報等からなるデータ218を入力し、ページ単位で文書情報等を印刷するようにしている。   This LBP control system inputs data 218 consisting of characters, graphics, image drawing commands and color information sent from the host computer 201, which is the source of print information, and provides document information and the like in units of pages. To print.

202はホストコンピュータ201と各種情報をやりとりする入出力インターフェース部、203は入出力インターフェース部202を介して入力された各種情報を一時記憶する入力バッファである。   An input / output interface unit 202 exchanges various types of information with the host computer 201, and an input buffer 203 temporarily stores various types of information input via the input / output interface unit 202.

204は文字パターン発生器で、文字の幅や高さ等の属性や実際の文字パターンのアドレスが格納されているフォント情報部222、文字パターン自身が格納されている文字パターン部223、及びその読みだし制御プログラムから成る。   Reference numeral 204 denotes a character pattern generator, which includes a font information part 222 storing attributes such as character width and height, and the address of the actual character pattern, a character pattern part 223 storing the character pattern itself, and a reading thereof. However, it consists of a control program.

読みだし制御プログラムはROM219に含まれ、文字コードを入力するとそのコードに対応する文字パターンのアドレスを算出するコード・コンバート機能をも有している。   The reading control program is included in the ROM 219, and has a code conversion function for calculating the address of the character pattern corresponding to the character code when the character code is input.

205はRAMで、文字パターン発生器204より出力された文字パターンを記憶するフォントキャッシュ領域207、ホストコンピュータ201より送られてきた外字フォントやフォーム情報及び現在の印字環境等を記憶する記憶領域206を含んでいる。   Reference numeral 205 denotes a RAM which has a font cache area 207 for storing character patterns output from the character pattern generator 204, and a storage area 206 for storing external character fonts and form information sent from the host computer 201 and the current printing environment. Contains.

このように、一旦文字パターンに展開したパターン情報をフォントキャッシュとしてフォントキャッシュ領域207に記憶しておくことにより、同じ文字を印刷する時に再度同じ文字を復号してパターン展開する必要がなくなるため、文字パターンへの展開が速くなる。   In this way, by storing the pattern information once developed into a character pattern in the font cache area 207 as a font cache, it is not necessary to decode the same character again and develop the pattern when printing the same character. Deployment to patterns is faster.

208はプリンタの制御系全体を制御するためのCPUで、ROM219に記憶されたCPU208の制御プログラムにより装置全体の制御を行っている。   Reference numeral 208 denotes a CPU for controlling the entire control system of the printer, and the entire apparatus is controlled by a control program of the CPU 208 stored in the ROM 219.

209は入力データ218を元に生成される内部的なデータ群を格納する中間バッファである。   An intermediate buffer 209 stores an internal data group generated based on the input data 218.

1ページ分のデータの受信が完了し、それらがよりシンプルな中間データに変換されて中間バッファに蓄えられた後、レンダラ210により数ライン単位でレンダリングされ、印字イメージとしてバンドバッファ211に出力される。   After reception of data for one page is completed, the data is converted into simpler intermediate data and stored in the intermediate buffer, then rendered by the renderer 210 in units of several lines, and output to the band buffer 211 as a print image. .

尚、レンダラ210は、数ライン単位にRGB各色8ビット/ピクセルの描画ビットマップイメージを生成し、同時に各ピクセルが文字か図形かイメージかを示す3ビット/ピクセルと、R=G=Bの時にKのみで印刷するかYMCKの混色で印刷するかを示す1ビット/ピクセルとの合計4ビット/ピクセルのオブジェクト種別情報イメージを生成することができる。   The renderer 210 generates a rendering bitmap image of RGB for each color of 8 bits / pixel in units of several lines. At the same time, when R = G = B, 3 bits / pixel indicating whether each pixel is a character, graphic, or image. It is possible to generate an object type information image of a total of 4 bits / pixel including 1 bit / pixel indicating whether to print with only K or YMCK mixed colors.

また、バンドバッファ211には少なくとも8ラインぶんのRGB描画ビットマップイメージ、オブジェクト種別情報イメージを記憶することができる。この時、描画ビットマップイメージとオブジェクト種別情報イメージは別々に圧縮される。   The band buffer 211 can store at least eight lines of RGB drawing bitmap images and object type information images. At this time, the drawing bitmap image and the object type information image are compressed separately.

バンドバッファ211に出力されたイメージは圧縮部212により数スキャンライン単位に圧縮され、ページメモリ213に格納される。   The image output to the band buffer 211 is compressed in units of several scan lines by the compression unit 212 and stored in the page memory 213.

1ページ分の中間バッファメモリをレンダリング終了し、それらがページメモリ213に格納された後、伸長部214において数ライン単位で読み出され、伸長される。この時、描画ビットマップイメージとオブジェクト種別情報イメージは別々に読み出され、伸長される。   After rendering of the intermediate buffer memory for one page is completed and stored in the page memory 213, the decompression unit 214 reads and decompresses it in units of several lines. At this time, the drawing bitmap image and the object type information image are read out separately and decompressed.

次に、伸長されたデータは色変換部215において、RGB各色8ビット/ピクセルのビットマップイメージをYMCK各色4ビット/ピクセルのビットマップイメージに変換する。より詳細には、RGB各色8ビット/ピクセルのビットマップイメージをYMCK各色10ビット/ピクセルに変換し、YMCK各色10ビット/ピクセルのビットマップイメージにガンマ補正を用いてYMCK各色10ビット/ピクセルに変換し、YMCK各色10ビット/ピクセルのビットマップイメージにハーフトーニング処理を用いてYMCK各色4ビット/ピクセルに変換する。このとき、描画ビットマップイメージの各ピクセルを色変換する際に、対応するオブジェクト種別情報ピクセルの種類によって、色変換方法を切り替える。   Next, the decompressed data is converted by the color conversion unit 215 from a bitmap image of 8 bits / pixel for each color of RGB to a bitmap image of 4 bits / pixel for each color of YMCK. More specifically, a bitmap image of 8 bits / pixel for each RGB color is converted to 10 bits / pixel for each color of YMCK, and a bitmap image of 10 bits / pixel for each YMCK color is converted to 10 bits / pixel for each YMCK color using gamma correction. Then, the YMCK color 10 bits / pixel bitmap image is converted to YMCK color 4 bits / pixel using halftoning processing. At this time, when color-converting each pixel of the drawing bitmap image, the color conversion method is switched depending on the type of the corresponding object type information pixel.

具体的には、まず、Kのみで印刷するかYMCKの混色で印刷するかを示す1ビット/ピクセルの情報を用いて、RGB各色8ビット/ピクセルをYMCK各色10ビット/ピクセルに変換する。次に、各ピクセルが文字か図形かイメージかを示す3ビット/ピクセルの情報を用いて、YMCK各色10ビット/ピクセルをYMCK4ビット/ピクセルに変換する。   Specifically, first, 8 bits / pixel of each RGB color is converted to 10 bits / pixel of each YMCK color using information of 1 bit / pixel indicating whether printing is performed only with K or mixed color of YMCK. Next, 10 bits / pixel of each color of YMCK is converted into 4 bits / pixel of YMCK using information of 3 bits / pixel indicating whether each pixel is a character, a graphic, or an image.

次に、出力インターフェース部216でビデオ信号に変換されてプリンタ印字部217に出力される。   Next, it is converted into a video signal by the output interface unit 216 and output to the printer printing unit 217.

217は出力インターフェース部216からのビデオ信号に基づいた画像情報を印刷するページ・プリンタの印刷機構部分である。   Reference numeral 217 denotes a print mechanism portion of a page printer that prints image information based on a video signal from the output interface unit 216.

先に図2を用いて説明したように本実施例におけるLBPではMCYKの像形成・現像を並列で行うため、出力インターフェース部216はM出力インターフェース部、C出力インターフェース部、Y出力インターフェース部、K出力インターフェース部の4つのインターフェース部で構成され、それぞれが独立に色変換部215からドットデータを獲得し、ビデオ信号に変換して各プレーンのレーザ・ドライバ110、120、130、140へ出力する。   As described above with reference to FIG. 2, in the LBP according to the present embodiment, MCYK image formation / development is performed in parallel. Therefore, the output interface unit 216 includes an M output interface unit, a C output interface unit, a Y output interface unit, K Each of the four interface units of the output interface unit independently acquires dot data from the color conversion unit 215, converts it into a video signal, and outputs it to the laser drivers 110, 120, 130, 140 of each plane.

220は一般のEEPROM等で構成する不揮発性メモリであり、以後NVRAM(Non Volatile RAM)と称す。NVRAM220には操作パネル151で指定されるパネル設定値などが記憶される。   Reference numeral 220 denotes a non-volatile memory composed of a general EEPROM or the like, and is hereinafter referred to as NVRAM (Non Volatile RAM). The NVRAM 220 stores panel setting values designated on the operation panel 151 and the like.

221はLBPからホストコンピュータ201に送信されるデータである。   Data 221 is transmitted from the LBP to the host computer 201.

尚、ROM215にはホストコンピュータ201から入力されるデータの解析、中間データの生成、印刷機構本体部213の制御プログラム、及びYMCK各色8ビット/ピクセルからYMCK各色4ビット/ピクセルへの色変換時に使用するテーブル等も含まれる。   The ROM 215 is used for analysis of data input from the host computer 201, generation of intermediate data, control program for the printing mechanism main body 213, and color conversion from 8 bits / pixel for each YMCK color to 4 bits / pixel for each YMCK color. A table to be used is also included.

なお、本実施形態では、印刷装置の一例としてカラーレーザプリンタで説明しているが、カラーインクジェットプリンタ、カラー熱転写プリンタ等のカラープリンタであっても良い。   In this embodiment, a color laser printer is described as an example of a printing apparatus. However, a color printer such as a color inkjet printer or a color thermal transfer printer may be used.

なお、レンダラ210は、RGB各色8ビット/ピクセルの描画ビットマップイメージを生成するとしたが、レンダラ210は、数ライン単位にYMCK各色8ビット/ピクセルの描画ビットマップイメージを生成してもよい。また、レンダラ210は、数ライン単位にグレイ8ビット/ピクセルの描画ビットマップイメージを生成してもよい。   Although the renderer 210 generates a rendering bitmap image of 8 bits / pixel for each color of RGB, the renderer 210 may generate a rendering bitmap image of 8 bits / pixel for each color of YMCK in units of several lines. The renderer 210 may generate a rendering bitmap image of gray 8 bits / pixel in units of several lines.

また、各色のビット/ピクセルはどのような値であっても良い。   Further, the bit / pixel of each color may be any value.

この場合、バンドバッファ211、圧縮部212、ページメモリ213、伸長部214は、レンダラ210が生成する色空間、ビット/ピクセルに対応していれば良い。   In this case, the band buffer 211, the compression unit 212, the page memory 213, and the decompression unit 214 only need to correspond to the color space and bits / pixel generated by the renderer 210.

さらに、伸長されたデータは色変換部215において、レンダラ210で生成されたデータを出力インターフェース部216に対応する色空間、ビット/ピクセルに変換するものであれば良い。   Furthermore, the decompressed data may be any data that the color converter 215 converts the data generated by the renderer 210 into a color space and bits / pixel corresponding to the output interface 216.

なお、レンダラ210がグレイ8ビット/ピクセルの描画ビットマップイメージを生成する場合は、圧縮部212、伸張部214はグレイ8ビット/ピクセルデータを圧縮、伸張し、色変換部215は、グレイ8ビット/ピクセルデータをK4ビット/ピクセルデータに変換する。   When the renderer 210 generates a rendering bitmap image of gray 8 bits / pixel, the compression unit 212 and the expansion unit 214 compress and expand gray 8 bits / pixel data, and the color conversion unit 215 performs gray 8 bits. / Pixel data is converted to K4 bit / pixel data.

図3‐1は、中間バッファ209に格納される中間データを示す。   FIG. 3A shows intermediate data stored in the intermediate buffer 209.

図3‐2は、レンダラ210で生成される描画ビットマップイメージを示す。   FIG. 3B shows a drawing bitmap image generated by the renderer 210.

図3‐3は、レンダラ210で生成されるオブジェクト種別情報イメージを示す。   FIG. 3C shows an object type information image generated by the renderer 210.

図3‐4は、色変換部215で生成される第2のビットマップイメージを示す。   FIG. 3-4 illustrates a second bitmap image generated by the color conversion unit 215.

まず。入力コマンドが文字コマンドか、図形コマンドか、イメージコマンドか、Kのみで印刷するかYMCKの混色で印刷するかを判定し、中間バッファ209に格納する中間データにそれぞれのフラグを備える。(図3−1)
具体的には、object1として、属性:文字、色属性:K、印字位置(X、Y)、フォント、サイズ、文字コード、色、描画論理を備え、object2として、属性:図形、色属性:K、印字位置(X、Y)、形状(円)、半径、色、描画論理を備え、object3として、属性:イメージ、色属性:YMCK、印字位置(X、Y)、イメージの幅、高さ、イメージの実体へのポインタ、描画論理を備える。
First. It is determined whether the input command is a character command, a graphic command, an image command, whether to print with only K or mixed color of YMCK, and each intermediate data stored in the intermediate buffer 209 has a flag. (Figure 3-1)
Specifically, the object 1 includes an attribute: a character, a color attribute: K, a print position (X, Y), a font, a size, a character code, a color, and a drawing logic, and an object 2 includes an attribute: a figure, a color attribute: K , Printing position (X, Y), shape (circle), radius, color, drawing logic, and as object 3, attribute: image, color attribute: YMCK, printing position (X, Y), image width, height, Provides pointers to image entities and drawing logic.

ここですべてのオブジェクトの、描画論理はS(上書き)指定である。   Here, the drawing logic of all objects is S (overwrite) designation.

このように中間データは、それぞれの描画オブジェクトの形、色、印字位置の情報を含んでいる。   Thus, the intermediate data includes information on the shape, color, and print position of each drawing object.

中間データをレンダラ210により描画すると、描画ビットマップイメージ(図3−2)と共に、オブジェクト種別情報イメージ(図3−3)が得られる。   When the intermediate data is drawn by the renderer 210, an object type information image (FIG. 3-3) is obtained together with a drawing bitmap image (FIG. 3-2).

ここで、描画ビットマップイメージ(図3−2)は、中間データをRGB各色8ビット/ピクセルに描画したものである。何も描画されない部分は白RGB=(0xff,0xff,0xff)で表現される。   Here, the drawing bitmap image (FIG. 3-2) is obtained by drawing the intermediate data at 8 bits / pixel for each color of RGB. A portion where nothing is drawn is represented by white RGB = (0xff, 0xff, 0xff).

ここで、オブジェクト種別情報イメージ(図3−3)は、中間データの属性、色属性を用いて4ビット/ピクセルに描画したものである。   Here, the object type information image (FIG. 3-3) is drawn at 4 bits / pixel using the intermediate data attribute and color attribute.

具体的には、4ビット/ピクセルの内容は以下の通りである。   Specifically, the contents of 4 bits / pixel are as follows.

ビット0:色属性がKなら1、YMCKなら0
ビット1:属性がイメージなら1、その他なら0
ビット2:属性が図形なら1、その他なら0
ビット3:属性が文字なら1、その他なら0
よって、例の文字領域は0x9、図形領域は0x5、イメージ領域は0x2として描画される。何も描画されない部分は0x0で表現される。
Bit 0: 1 if the color attribute is K, 0 if YMCK
Bit 1: 1 if attribute is image, 0 if other
Bit 2: 1 if attribute is graphic, 0 if other
Bit 3: 1 if attribute is character, 0 if other
Therefore, the example character area is drawn as 0x9, the graphic area is drawn as 0x5, and the image area is drawn as 0x2. The part where nothing is drawn is represented by 0x0.

また、描画部112により印字結果の各ピクセルに対応した属性を備える第2のビットマップが得られる(図3−4)。   In addition, the rendering unit 112 obtains a second bitmap having attributes corresponding to each pixel of the printing result (FIG. 3-4).

ここで、図3−2の描画ビットマップイメージから図3−4の第2のビットマップイメージを生成する際、図3−3の属性結果に応じて処理パラメータを変更する。   Here, when the second bitmap image of FIG. 3-4 is generated from the drawing bitmap image of FIG. 3-2, the processing parameter is changed according to the attribute result of FIG. 3-3.

具体的には、まず、オブジェクト種別情報イメージのビット0(Kのみで印刷するかYMCKの混色で印刷するかを示す1ビット/ピクセルの情報)を用いて、RGB各色8ビット/ピクセルをYMCK各色10ビット/ピクセルに変換する。   Specifically, first, using bit 0 of the object type information image (1 bit / pixel information indicating whether printing is performed only with K or mixed color of YMCK), RGB colors 8 bits / pixel are converted into YMCK colors. Convert to 10 bits / pixel.

ここで、オブジェクト種別情報イメージのビット0がKであるピクセルに相当する描画ビットマップイメージのピクセルは、R=G=Bの時にY=M=C=0を保証するLook Up Tableを用いてRGBからYMCKに変換される。   Here, the pixel of the drawing bitmap image corresponding to the pixel whose bit 0 of the object type information image is K is RGB using a Look Up Table that guarantees Y = M = C = 0 when R = G = B. To YMCK.

オブジェクト種別情報イメージのビット0がYMCKであるピクセルに相当する描画ビットマップイメージのピクセルは、R=G=Bの時にY=M=C=0を保証しないLook Up Tableを用いてRGBからYMCKに変換される。   The pixel of the drawing bitmap image corresponding to the pixel whose bit 0 of the object type information image is YMCK is changed from RGB to YMCK using a Look Up Table that does not guarantee Y = M = C = 0 when R = G = B. Converted.

次に、オブジェクト種別情報イメージのビット1からビット3(各ピクセルが文字か図形かイメージかを示す3ビット/ピクセルの情報)を用いて、YMCK各色10ビット/ピクセルをYMCK4ビット/ピクセルに変換する。   Next, 10 bits / pixel of each color of YMCK is converted to 4 bits / pixel of YMCK using bits 1 to 3 of the object type information image (3 bits / pixel information indicating whether each pixel is a character, graphic, or image). .

ここで、オブジェクト種別情報イメージのビット1が1であるピクセルに相当する描画ビットマップイメージのピクセルは、イメージ用のハーフトーンパラメータを用いてYMCK各色10ビット/ピクセルをYMCK4ビット/ピクセルに変換する。   Here, the pixel of the drawing bitmap image corresponding to the pixel whose bit 1 of the object type information image is 1 converts YMCK 10 bits / pixel into YMCK 4 bits / pixel using an image halftone parameter.

オブジェクト種別情報イメージのビット2が1であるピクセルに相当する描画ビットマップイメージのピクセルは、図形用のハーフトーンパラメータを用いてYMCK各色10ビット/ピクセルをYMCK4ビット/ピクセルに変換する。   A pixel of the drawing bitmap image corresponding to a pixel whose bit 2 of the object type information image is 1 converts YMCK 10 bits / pixel into YMCK 4 bits / pixel using a halftone parameter for graphics.

オブジェクト種別情報イメージのビット3が1であるピクセルに相当する描画ビットマップイメージのピクセルは、文字用のハーフトーンパラメータを用いてYMCK各色10ビット/ピクセルをYMCK4ビット/ピクセルに変換する。   The pixel of the drawing bitmap image corresponding to the pixel whose bit 3 of the object type information image is 1 converts YMCK 10 bits / pixel into YMCK 4 bits / pixel using the halftone parameter for characters.

こうすることにより、領域毎に最適な色変換パラメータおよびハーフトーンパラメータを用いて第2のビットマップイメージを生成することができる。   In this way, the second bitmap image can be generated using the color conversion parameter and the halftone parameter that are optimal for each region.

なお、レンダラ210がグレイ8ビット/ピクセルの描画ビットマップイメージを生成する場合は、オブジェクト種別情報イメージのビット0は無視されてグレイ8ビット/ピクセルからK10ビット/ピクセルに変換される。   When the renderer 210 generates a rendering bitmap image of gray 8 bits / pixel, bit 0 of the object type information image is ignored and converted from gray 8 bits / pixel to K10 bits / pixel.

さらに、オブジェクト種別情報イメージのビット1からビット3(各ピクセルが文字か図形かイメージかを示す3ビット/ピクセルの情報)を用いて、K各色10ビット/ピクセルをK4ビット/ピクセルに変換する。   Further, 10 bits / pixel of each K color is converted into K4 bits / pixel using bits 1 to 3 (information of 3 bits / pixel indicating whether each pixel is a character, a graphic, or an image) of the object type information image.

図7は、オブジェクトの種類別の各種パラメータ設定のユーザインターフェースである。   FIG. 7 shows a user interface for setting various parameters for each type of object.

文字、図形、イメージ毎に、下記の設定が可能である。   The following settings are possible for each character, figure, and image.

トラッピングをするか、しないか、もしくは自動で行うか。   Whether to trap or not, or automatically.

トラッピングの色判定の検出率を高めるか、中程度か、低めるか、もしくは自動で行うか。   Whether to increase the detection rate for trapping color judgment, moderate, lower, or automatically.

トラッピングの幅を太くするか、中程度か、細くするか、もしくは自動で行うか。   Whether the trapping width is wide, medium, thin, or automatic.

トラッピングの方向として、スプレッドするか、チョークするか、もしくは自動で行うか。   Whether to spread, choke, or automatically as the trapping direction.

グレイ補償として、する(RGBの各色が等価な時にKのみで印字することを保証する)か、しない(RGBの各色が等価な時にKのみで印字することを保証しない)か、もしくは自動で行うか。   Gray compensation: Yes (guaranteed to print only with K when RGB colors are equivalent), or not (do not guarantee to print only with K when RGB colors are equivalent), or automatically Or?

YMCKの合計のトナー載り量を多くするか、少なくするか、もしくは自動で行うか。   Whether the total amount of toner applied to YMCK is increased, decreased, or automatically.

図8は、本実施例のフローチャートを示す。   FIG. 8 shows a flowchart of this embodiment.

ステップS801では、伸張部214で伸張したカラービットマップ、オブジェクト種別情報ビットマップ、オブジェクト別処理パラメータをトラッピング手段に入力する。ここでオブジェクト別処理パラメータとは、図7で示したユーザインターフェースによる各種設定をホストコンピュータまた印刷装置に付属する操作パネル151から入力した情報を意味する。   In step S801, the color bitmap decompressed by the decompression unit 214, the object type information bitmap, and the object-specific processing parameters are input to the trapping means. Here, the object-specific processing parameter means information input from the operation panel 151 attached to the host computer or the printing apparatus by various settings by the user interface shown in FIG.

ステップS802では、画像内のエッジを検出する。具体的には、画像の左上から右下に向かってスキャンラインを走査しながら、ピクセル毎に注目画素について以下の処理を行う。   In step S802, an edge in the image is detected. Specifically, the following processing is performed on the target pixel for each pixel while scanning the scan line from the upper left to the lower right of the image.

1、オブジェクト種別情報ビットマップを検索し、オブジェクト別処理パラメータの内でトラッピングすると設定されているピクセルか否かを判断する。   1. The object type information bitmap is searched, and it is determined whether or not the pixel is set to be trapped in the object-specific processing parameters.

2、もし、トラッピングしなくてもよいピクセルなら非エッジと判定して本ステップを終了する。   2. If the pixel does not need to be trapped, it is determined as a non-edge and this step is terminated.

3、もしトラッピングすべきピクセルならオブジェクト種別情報ビットマップを参照し、ピクセル毎に注目画素と、注目画素の右、注目画素の上、注目画素の左のピクセルを比較する。   3. If the pixel is to be trapped, the object type information bitmap is referred to, and for each pixel, the pixel of interest is compared with the pixel to the right of the pixel of interest, above the pixel of interest, and to the left of the pixel of interest.

4、もし、オブジェクト種別情報ビットマップの値が異なればエッジと判定して本ステップを終了する
5、もし、オブジェクト種別情報ビットマップの値が同じならば、カラービットマップに対して下記の処理を行う。
4. If the value of the object type information bitmap is different, it is determined as an edge and this step is terminated. 5. If the value of the object type information bitmap is the same, the following processing is performed on the color bitmap. Do.

ピクセル毎に注目画素と、注目画素の右、注目画素の上、注目画素の左のピクセルを比較する。もし注目画素P(Yp,Mp,Cp,Kp)と、右か上か左かどちらか一方でも比較画素Q(Yq,Mq,Cq,Kq)の関係が以下を満たせばエッジと判別する。ここでYpは注目画素Pのイエロー成分、Mpは注目画素Pのマゼンタ成分、Cpは注目画素Pのシアン成分、Kpは注目画素Pのブラック成分である。ここでピクセルの値としては色変換部215によって変換されたYMCK10ビットの値を使用する。   For each pixel, the pixel of interest is compared with the pixel to the right of the pixel of interest, above the pixel of interest, and to the left of the pixel of interest. If the relationship between the pixel of interest P (Yp, Mp, Cp, Kp) and the comparison pixel Q (Yq, Mq, Cq, Kq) on either the right, top, or left side satisfies the following, it is determined as an edge. Here, Yp is the yellow component of the target pixel P, Mp is the magenta component of the target pixel P, Cp is the cyan component of the target pixel P, and Kp is the black component of the target pixel P. Here, the YMCK 10-bit value converted by the color conversion unit 215 is used as the pixel value.

もし、注目画素と右画素、注目画素の左画素の両者ともエッジと判断されたら、|(A−B)|の大きな方をエッジとする。   If both the target pixel, the right pixel, and the left pixel of the target pixel are determined to be edges, the larger of | (A−B) |

A=Yp+Mp+Cp+Kp
B=Yq+Mq+Cq+Kq
|(A−B)|>M
もし、エッジならステップS803に進む。もしエッジでないならばステップS802に戻り、注目画素を次のピクセルに進めエッジ検出を行う。
A = Yp + Mp + Cp + Kp
B = Yq + Mq + Cq + Kq
| (A-B) |> M
If it is an edge, the process proceeds to step S803. If it is not an edge, the process returns to step S802 to advance the target pixel to the next pixel and perform edge detection.

ここで、注目画素のオブジェクト種別とオブジェクト別処理パラメータのトラッピング検出率パラメータによりMの値を可変とする。   Here, the value of M is variable depending on the object type of the target pixel and the trapping detection rate parameter of the processing parameter for each object.

ステップS803は、トラッピング処理を行うか否かを判断する。判定方法は以下の手順で行われる。   In step S803, it is determined whether or not to perform trapping processing. The determination method is performed according to the following procedure.

1、オブジェクト種別情報ビットマップを参照し、注目画素または参照画素のピクセルが、何も描画されない領域(0x0)であるか否かを判定する。   1. Referring to the object type information bitmap, it is determined whether the pixel of interest or the pixel of the reference pixel is an area (0x0) where nothing is drawn.

2、もし、描画されない領域(0x0)であれば、トラッピング不要と判定し本ステップを終了する。   2. If the area is not drawn (0x0), it is determined that trapping is not necessary, and this step is terminated.

3、もし、描画されない領域(0x0)でなければ、下記の式によりトラッピングを行うか否かを判定する。   3. If it is not a non-drawn area (0x0), it is determined whether or not to perform trapping according to the following equation.

(A=Yp+Mp+Cp+Kp)>Nまたは(B=Yq+Mq+Cq+Kq)>Nなら行わない。   If (A = Yp + Mp + Cp + Kp)> N or (B = Yq + Mq + Cq + Kq)> N, no operation is performed.

もし行うならステップS804に進む。もし行わないならばステップS802に戻り、注目画素を次のピクセルに進めエッジ検出を行う。   If so, the process proceeds to step S804. If not, the process returns to step S802 to advance the target pixel to the next pixel and perform edge detection.

ここで、注目画素のオブジェクト種別とオブジェクト別処理パラメータのトラッピング検出率パラメータによりNの値を可変とする。   Here, the value of N is variable depending on the object type of the target pixel and the trapping detection rate parameter of the processing parameter for each object.

ステップS804は、置換する色を算出する。例えば、トラッピング色T(Yt,Mt,Ct,Kt,)以下の式で算出される。   In step S804, a replacement color is calculated. For example, the trapping color T (Yt, Mt, Ct, Kt,) is calculated by the following formula.

Yt=Yp+Yq
Mt=Mp+Mq
Ct=Cp+Cq
Kt=Kp+Kq
ステップS805は、トラッピングの位置を決定する。ここでは、注目画素をトラッピング位置としても良い。
Yt = Yp + Yq
Mt = Mp + Mq
Ct = Cp + Cq
Kt = Kp + Kq
In step S805, the trapping position is determined. Here, the target pixel may be set as the trapping position.

ステップS806は、色補正を行う。注目画素をステップS604で算出された値に置換する。(ただし、ステップS802でエッジを検出する際に用いる上画素、右画素は置換前の値を用いるため、置換前の値保持が必要である。)
ステップS807は、カラービットマップ全体に対して処理を行ったか否かを判断する。
In step S806, color correction is performed. The target pixel is replaced with the value calculated in step S604. (However, since the value before replacement is used for the upper pixel and the right pixel used when detecting an edge in step S802, it is necessary to hold the value before replacement.)
In step S807, it is determined whether the entire color bitmap has been processed.

もし、カラービットマップ全体に対して処理を行ったのであれば処理を終了する。   If the entire color bitmap has been processed, the process ends.

もし、カラービットマップ全体に対して処理を行っていなければ、ステップS802に戻り、注目画素を次のピクセルに進めエッジ検出を行う。   If the entire color bitmap has not been processed, the process returns to step S802 to advance the target pixel to the next pixel and perform edge detection.

上記のように、トラッピングにオブジェクト種別情報ビットマップ、オブジェクト別処理パラメータを用いることにより、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能であり、かつ、高画質なトラッピングを実現できる。   As described above, by using the object type information bitmap and the processing parameters for each object for trapping, the trapping can be realized at high speed, and the user can easily specify the trapping parameters, and the image quality is high. Trapping can be realized.

(実施例2)
実施例1では、オブジェクト種別情報イメージ(図3−3)の属性として、以下のようにしたが、
ビット0:色属性がKなら1、YMCKなら0
ビット1:属性がイメージなら1、その他なら0
ビット2:属性が図形なら1、その他なら0
ビット3:属性が文字なら1、その他なら0
ビット4に線を加えても良い。
(Example 2)
In the first embodiment, the attribute of the object type information image (FIG. 3-3) is as follows.
Bit 0: 1 if the color attribute is K, 0 if YMCK
Bit 1: 1 if attribute is image, 0 if other
Bit 2: 1 if attribute is graphic, 0 if other
Bit 3: 1 if attribute is character, 0 if other
A line may be added to bit 4.

また、ビット5に細線を加えても良い。   A thin line may be added to bit 5.

また、ビット6に小文字を加えても良い。   Further, a lowercase letter may be added to bit 6.

上記のように、トラッピングにオブジェクト種別情報ビットマップ、オブジェクト別処理パラメータを用いることにより、オブジェクト種別に即したトラッピング処理が可能になる。   As described above, by using the object type information bitmap and the object-specific processing parameters for trapping, the trapping process according to the object type can be performed.

(実施例3)
実施例1では、ステップS805で、トラッピングの位置を決定際に、注目画素のみトラッピング位置として設定し、トラッピングピクセル幅を1としたが、オブジェクト種別情報ビットマップ、オブジェクト別処理パラメータのトラッピング幅パラメータを元にピクセル幅を決定しても良い。例えば、幅設定が太いなら3ピクセル、中なら2ピクセル、細いなら1ピクセルとしても良い。
(Example 3)
In the first embodiment, when the trapping position is determined in step S805, only the target pixel is set as the trapping position, and the trapping pixel width is set to 1. The pixel width may be determined based on the original. For example, it may be 3 pixels if the width setting is thick, 2 pixels if it is medium, or 1 pixel if it is thin.

上記のように、トラッピングにオブジェクト種別情報ビットマップ、オブジェクト別処理パラメータを用いることにより、より高画質なトラッピング処理が可能となる。   As described above, the trapping process with higher image quality can be performed by using the object type information bitmap and the object-specific processing parameters for trapping.

(実施例4)
実施例1では、ステップS805で、トラッピングの位置を決定際に、注目画素のみトラッピング位置として設定し、トラッピングピクセル幅を1としたためトラッピングの方向は無関係であるが、オブジェクト種別情報ビットマップ、オブジェクト別処理パラメータのトラッピング方向パラメータを元にトラッピング方法を決定しても良い。
Example 4
In the first embodiment, when the trapping position is determined in step S805, only the target pixel is set as the trapping position, and the trapping pixel width is set to 1. Therefore, the trapping direction is irrelevant. The trapping method may be determined based on the trapping direction parameter of the processing parameter.

この場合、以下のルールに従っても良い。   In this case, the following rules may be followed.

1、エッジが、同じオブジェクト属性に隣接するエッジであれば、濃度の濃い方にスプレッドする。   1. If the edge is an edge adjacent to the same object attribute, the spread is made in the darker one.

2、エッジが、異なるオブジェクト属性に隣接するエッジであり、異なるオブジェクト間でトラッピング方向パラメータが異なれば、方向指定に従って方向を決定する。   2. If the edge is an edge adjacent to a different object attribute and the trapping direction parameter differs between different objects, the direction is determined according to the direction designation.

3、エッジが、異なるオブジェクト属性に隣接するエッジであり、異なるオブジェクト間でトラッピング方向パラメータが同じであれば、異なれば、濃度の濃い方にスプレッドする。   3. The edge is an edge adjacent to different object attributes, and if the trapping direction parameter is the same between different objects, the edge is spread to the darker side if different.

上記のように、トラッピングにオブジェクト種別情報ビットマップ、オブジェクト別処理パラメータを用いることにより、より高画質なトラッピング処理が可能となる。   As described above, the trapping process with higher image quality can be performed by using the object type information bitmap and the object-specific processing parameters for trapping.

(実施例5)
実施例1において、図7でイメージオブジェクトの各種トラッピング指定が自動に設定されていた場合、トラッピング効果が少ないように、以下のように振舞っても良い。
(Example 5)
In the first embodiment, when various trapping designations of the image object are set to automatic in FIG. 7, the following behavior may be performed so that the trapping effect is small.

イメージトラッピングはしない。   No image trapping.

イメージトラッピングがするになった場合には、トラッピングの色判定の検出率を低める。   When image trapping is to be performed, the detection rate of the trapping color determination is lowered.

イメージトラッピングがするになった場合には、トラッピングの幅を細くする。   When image trapping starts, the trapping width is narrowed.

上記のように、トラッピングにオブジェクト種別情報ビットマップ、オブジェクト別処理パラメータを用いることにより、より高画質なトラッピング処理が可能となる。   As described above, the trapping process with higher image quality can be performed by using the object type information bitmap and the object-specific processing parameters for trapping.

(実施例6)
実施例1において、図7で細線の指定がない場合でも、細線については特殊処理をしてもよい。具体的には、細線のトラッピング方向は、常にスプレッドとする。これは、チョーク処理を行うと細線全てが他の色に置換され、元の色が保持されなくなるのを防ぐためである。
(Example 6)
In the first embodiment, even when the fine line is not designated in FIG. 7, the thin line may be specially processed. Specifically, the thin line trapping direction is always a spread. This is to prevent the thin line from being replaced with another color when the choke process is performed, so that the original color is not retained.

(実施例7)
実施例1において、図7で小文字の指定がない場合でも、小文字については特殊処理をしてもよい。具体的には、小文字のトラッピング方向は、常にスプレッドとする。これは、チョーク処理を行うと小文字全てが他の色に置換され、元の色が保持されなくなるのを防ぐためである。
(Example 7)
In the first embodiment, even when there is no designation of lowercase letters in FIG. 7, special processing may be performed for lowercase letters. Specifically, the lowercase trapping direction is always spread. This is in order to prevent the lower case character from being replaced with another color and the original color not being retained when the choke process is performed.

(実施例8)
ステップS804は、置換する色を以下のように算出したが、オブジェクト種別情報ビットマップ、オブジェクト別処理パラメータの載り量制御のパラメータを用いても良い。
(Example 8)
In step S804, the color to be replaced is calculated as follows. However, an object type information bitmap, and an application amount control parameter such as an object-specific processing parameter may be used.

Yt=Yp+Yq
Mt=Mp+Mq
Ct=Cp+Cq
Kt=Kp+Kq
図9は、載り量制御の変換方法を示す。
Yt = Yp + Yq
Mt = Mp + Mq
Ct = Cp + Cq
Kt = Kp + Kq
FIG. 9 shows a conversion method for the applied amount control.

YMCK(Y,M,C,K)をYMCK(Y’,M’,C’,K’)に変換するパラメータBの変換方法を図14に示す。ここではYMCKの入力出力とも各色8ビットとする。   FIG. 14 shows a parameter B conversion method for converting YMCK (Y, M, C, K) into YMCK (Y ′, M ′, C ′, K ′). Here, the input / output of YMCK is 8 bits for each color.

S901では、YMCK値の各値を合計して閾値Nと比較する。   In step S901, the YMCK values are summed and compared with a threshold value N.

もしNより大きければS902に進む。   If larger than N, the process proceeds to S902.

もしNより小さければS906に進む。   If smaller than N, the process proceeds to S906.

S902では、以下の式でYMCの内最小値をUCR値とする。   In S902, the minimum value of YMC is set as the UCR value using the following equation.

UCR=min (Y,M,C)
S903では、以下の式を用いてS902で算出したUCR値を用いてUnder Color Removal処理を行う。
UCR = min (Y, M, C)
In S903, the Under Color Removal process is performed using the UCR value calculated in S902 using the following equation.

K’=min (255,K+UCR)
Y=Y−(K’−K)
M=M−(K’−K)
C=C−(K’−K)
K=K’
S904では、YMCK値の各値を合計して閾値Nと比較する。ここで、Nはオブジェクト別処理パラメータの載り量制御の値によって変更することができる。
K '= min (255, K + UCR)
Y = Y− (K′−K)
M = M− (K′−K)
C = C- (K'-K)
K = K '
In step S904, the YMCK values are summed and compared with the threshold value N. Here, N can be changed according to the amount control value of the object-specific processing parameter.

もしNより大きければS905に進む。   If it is larger than N, the process proceeds to S905.

もしNより小さければS906に進む。   If smaller than N, the process proceeds to S906.

S905では、以下の式を用いてYMCの値を同率で減らす。   In step S905, the YMC value is reduced at the same rate using the following equation.

Y’=Y x (N−K) / (Y+M+C)
M’=M x (N−K) / (Y+M+C)
C’=C x (N−K) / (Y+M+C)
Y=Y’; M=M’; C=C’;
S906では、算出された(Y,M,C,K)をYMCK(Y’,M’,C’,K’)に代入する。
Y '= Yx (NK) / (Y + M + C)
M ′ = M x (N−K) / (Y + M + C)
C ′ = C x (NK) / (Y + M + C)
Y = Y ′; M = M ′; C = C ′;
In S906, the calculated (Y, M, C, K) is substituted for YMCK (Y ′, M ′, C ′, K ′).

上記のように、トラッピングにオブジェクト種別情報ビットマップ、オブジェクト別処理パラメータを用いることにより、より高画質なトラッピング処理が可能となる。   As described above, the trapping process with higher image quality can be performed by using the object type information bitmap and the object-specific processing parameters for trapping.

(実施例9)
実施例1においては、トラッピングのエッジ検出、トラッピング判断、トラッピング色決定、色補正をYMCK色空間によって行ったが、RGB色空間を用いても良い。
Example 9
In the first embodiment, trapping edge detection, trapping determination, trapping color determination, and color correction are performed in the YMCK color space. However, an RGB color space may be used.

RGB色空間の場合、ステップ802では、もし、オブジェクト種別情報ビットマップの値が同じならば、カラービットマップに対して下記の処理を行う。   In the case of the RGB color space, in step 802, if the values of the object type information bitmap are the same, the following processing is performed on the color bitmap.

ピクセル毎に注目画素と、注目画素の右、注目画素の上、注目画素の左のピクセルを比較する。もし注目画素P(Rp,Gp,Bp)と、右か上か左かどちらか一方でも比較画素Q(Rq,Gq,Bq)の関係が以下を満たせばエッジと判別する。   For each pixel, the pixel of interest is compared with the pixel to the right of the pixel of interest, above the pixel of interest, and to the left of the pixel of interest. If the relationship between the pixel of interest P (Rp, Gp, Bp) and the comparison pixel Q (Rq, Gq, Bq) on either the right side, the upper side, or the left side satisfies the following, it is determined as an edge.

Lp=Func(Rp,Gp,Bp)
Lq=Func(Rq,Gq,Bq)
|(Lp,Lq)|>M
FuncはCIELUVへの変換式とする。
Lp = Func (Rp, Gp, Bp)
Lq = Func (Rq, Gq, Bq)
| (Lp, Lq) |> M
Func is a conversion formula to CIELV.

もし、エッジならステップS803に進む。もしエッジでないならばステップS802に戻り、注目画素を次のピクセルに進めエッジ検出を行う。   If it is an edge, the process proceeds to step S803. If it is not an edge, the process returns to step S802 to advance the target pixel to the next pixel and perform edge detection.

ここで、注目画素のオブジェクト種別とオブジェクト別処理パラメータのトラッピング検出率パラメータによりMの値を可変とする。   Here, the value of M is variable depending on the object type of the target pixel and the trapping detection rate parameter of the processing parameter for each object.

ステップ803では、もし、描画されない領域(0x0)でなければ、RGBをCIELUVに変換し、UV空間における距離がNより大きければステップS804に進む。もし大きくなければステップS802に戻り、注目画素を次のピクセルに進めエッジ検出を行う。   In step 803, if the area is not drawn (0x0), RGB is converted into CIE LUV. If the distance in the UV space is greater than N, the process proceeds to step S804. If it is not larger, the process returns to step S802 to advance the target pixel to the next pixel and perform edge detection.

ここで、注目画素のオブジェクト種別とオブジェクト別処理パラメータのトラッピング検出率パラメータによりNの値を可変とする。   Here, the value of N is variable depending on the object type of the target pixel and the trapping detection rate parameter of the processing parameter for each object.

ステップS804は、置換する色を算出する。例えば、トラッピング色T(Rt,Gt,Bt)以下の式で算出される。   In step S804, a replacement color is calculated. For example, the trapping color T (Rt, Gt, Bt) is calculated by the following formula.

Rt=(Rp+Rq)/2
Gt=(Gp+Gq)/2
Bt=(Bp+Bq)/2
ステップS806は、色補正を行う。注目画素をステップS604で算出された値に置換する。(ただし、ステップS802でエッジを検出する際に用いる上画素、右画素は置換前の値を用いるため、置換前の値保持が必要である。)
このとき、色置換される画素に相当するオブジェクト種別情報ビットマップもスプレッドするオブジェクト属性によって置換する。
Rt = (Rp + Rq) / 2
Gt = (Gp + Gq) / 2
Bt = (Bp + Bq) / 2
In step S806, color correction is performed. The target pixel is replaced with the value calculated in step S604. (However, since the value before replacement is used for the upper pixel and the right pixel used when detecting an edge in step S802, it is necessary to hold the value before replacement.)
At this time, the object type information bitmap corresponding to the pixel whose color is to be replaced is also replaced by the object attribute to be spread.

上記のように、トラッピングにオブジェクト種別情報ビットマップ、オブジェクト別処理パラメータを用いることにより、トラッピング高速に実現することができ、かつ、トラッピングパラメータをユーザが容易に指定可能であり、かつ、高画質なトラッピングを実現できる。   As described above, by using the object type information bitmap and the processing parameters for each object for trapping, the trapping can be realized at high speed, and the user can easily specify the trapping parameters, and the image quality is high. Trapping can be realized.

図1は、実施例のLBPの内部構造を示す断面図である。FIG. 1 is a cross-sectional view showing the internal structure of the LBP of the embodiment. 図2は、図1に示した本体の制御構成を説明するブロック図である。FIG. 2 is a block diagram illustrating a control configuration of the main body shown in FIG. 図3‐1は、中間バッファ209に格納される中間データを示す。図3‐2は、レンダラ210で生成される描画ビットマップイメージを示す。図3‐3は、レンダラ210で生成されるオブジェクト種別情報イメージを示す。図3‐4は、色変換部215で生成される第2のビットマップイメージを示す。FIG. 3A shows intermediate data stored in the intermediate buffer 209. FIG. 3B shows a drawing bitmap image generated by the renderer 210. FIG. 3C shows an object type information image generated by the renderer 210. FIG. 3-4 illustrates a second bitmap image generated by the color conversion unit 215. 図4は、版ずれの例を示す。FIG. 4 shows an example of misregistration. 図5は、トラッピングの例を示す。FIG. 5 shows an example of trapping. 図6は、トラッピングのフローチャートを示す。FIG. 6 shows a trapping flowchart. 図7は、オブジェクトの種類別の各種パラメータ設定のユーザインターフェースである。FIG. 7 shows a user interface for setting various parameters for each type of object. 図8は、本実施例のフローチャートを示す。FIG. 8 shows a flowchart of this embodiment. 図9は、載り量制御の変換方法を示す。FIG. 9 shows a conversion method for the applied amount control.

符号の説明Explanation of symbols

100 プリンタ本体
101 プリンタ制御ユニット
102 給紙カセット
103 用紙を持ち上げるためのバネ
104 給紙ローラ
105 用紙搬送ローラ
106 用紙搬送ローラ
107 用紙搬送ベルト
108 定着器
109 用紙搬送ローラ
110 レーザ・ドライバ(マゼンタ用)
111 半導体レーザ発射装置(マゼンタ用)
112 レーザ・ビーム(マゼンタ用)
113 回転多面鏡(マゼンタ用)
114 静電ドラム(マゼンタ用)
115 トナーカートリッジ(マゼンタ用)
120 レーザ・ドライバ(シアン用)
121 半導体レーザ発射装置(シアン用)
122 レーザ・ビーム(シアン用)
123 回転多面鏡(シアン用)
124 静電ドラム(シアン用)
125 トナーカートリッジ(シアン用)
130 レーザ・ドライバ(イエロー用)
131 半導体レーザ発射装置(イエロー用)
132 レーザ・ビーム(イエロー用)
133 回転多面鏡(イエロー用)
134 静電ドラム(イエロー用)
135 トナーカートリッジ(イエロー用)
140 レーザ・ドライバ(クロ用)
141 半導体レーザ発射装置(クロ用)
142 レーザ・ビーム(クロ用)
143 回転多面鏡(クロ用)
144 静電ドラム(クロ用)
145 トナーカートリッジ(クロ用)
150 用紙搬送ローラ
151 操作パネル
201 ホストコンピュータ
202 ホストコンピュータとの入出力インターフェース部
203 入力バッファ
204 文字パターン発生器
205 RAM
206 各種登録データ及び印刷環境等が記憶される記憶領域
207 フォントキャッシュ領域
208 CPU
209 印刷データが蓄積される記憶領域
210 レンダラ
211 最終的な出力イメージが生成されるバンドバッファ
212 圧縮部
213 ページメモリ
214 伸長部
215 色変換部
216 印刷機構部への出力インターフェース部
217 印刷機構部
218 ホストコンピュータからの入力データ
219 ROM
220 NVRAM
221 LBPからホストコンピュータに送信されるデータ
222 フォント情報部
223 文字パターン部
DESCRIPTION OF SYMBOLS 100 Printer body 101 Printer control unit 102 Paper feed cassette 103 Spring for lifting paper 104 Paper feed roller 105 Paper transport roller 106 Paper transport roller 107 Paper transport belt 108 Fixing device 109 Paper transport roller 110 Laser driver (for magenta)
111 Semiconductor laser emitting device (for magenta)
112 Laser beam (for magenta)
113 Rotating polygon mirror (for magenta)
114 Electrostatic drum (for magenta)
115 Toner cartridge (for magenta)
120 Laser driver (for cyan)
121 Semiconductor laser emitting device (for cyan)
122 Laser beam (for cyan)
123 Rotating polygon mirror (for cyan)
124 Electrostatic drum (for cyan)
125 toner cartridge (for cyan)
130 Laser driver (for yellow)
131 Semiconductor laser emitting device (for yellow)
132 Laser beam (for yellow)
133 Rotating polygon mirror (for yellow)
134 Electrostatic drum (for yellow)
135 Toner cartridge (for yellow)
140 Laser driver (for black)
141 Semiconductor laser emitting device (for black)
142 Laser beam (for black)
143 Rotating polygon mirror (for black)
144 Electrostatic drum (for black)
145 Toner cartridge (for black)
150 Paper Conveying Roller 151 Operation Panel 201 Host Computer 202 Input / Output Interface Unit with Host Computer 203 Input Buffer 204 Character Pattern Generator 205 RAM
206 Storage area for storing various registration data, printing environment, etc. 207 Font cache area 208 CPU
209 Storage area for storing print data 210 Renderer 211 Band buffer for generating final output image 212 Compression unit 213 Page memory 214 Expansion unit 215 Color conversion unit 216 Output interface unit to printing mechanism unit 217 Printing mechanism unit 218 Input data from the host computer 219 ROM
220 NVRAM
221 Data transmitted from LBP to host computer 222 Font information part 223 Character pattern part

Claims (18)

入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段と、
生成されたビットマップから印刷装置に出力するための分版を生成する手段と、
ビットマップ内のエッジを検出するエッジ検出手段と、
エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段と、
トラッピングの色を決定するトラッピング色決定手段と、
決定した色を置く位置を決めるトラッピング位置決定手段と
を備える印刷制御装置において、
入力された描画コマンドのオブジェクト種別を判定する判定手段と、
判定されたオブジェクト種別情報を備えるビットマップを生成するオブジェクト種別情報ビットマップ生成手段と、
エッジ検出手段、トラッピング判断手段、トラッピング色決定手段、トラッピング位置決定手段には、それぞれオブジェクト種別情報ビットマップを参照して処理を切り替える手段と、
オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段と
を有することを特徴とする印刷制御装置。
Color bitmap generation means for generating a color bitmap from the input drawing command;
Means for generating a color separation for output to the printing apparatus from the generated bitmap;
Edge detection means for detecting edges in the bitmap;
Trapping determination means for determining whether or not trapping should be generated at an edge;
Trapping color determination means for determining the color of the trapping;
A printing control apparatus comprising: a trapping position determining means for determining a position where the determined color is placed;
Determining means for determining the object type of the input drawing command;
Object type information bitmap generating means for generating a bitmap comprising the determined object type information;
The edge detection means, trapping determination means, trapping color determination means, and trapping position determination means each have means for switching processing with reference to the object type information bitmap,
And a trapping parameter changing means for changing the trapping parameter for each type of object.
前記、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段とは、
RGBの色空間のカラービットマップを生成する手段である
ことを特徴とする請求項1記載の印刷制御装置。
The color bitmap generation means for generating a color bitmap from the input drawing command is:
The printing control apparatus according to claim 1, wherein the printing control apparatus is a unit that generates a color bitmap of an RGB color space.
前記、入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段とは、
YMCKの色空間のカラービットマップを生成する手段である
ことを特徴とする請求項1記載の印刷制御装置。
The color bitmap generation means for generating a color bitmap from the input drawing command is:
The print control apparatus according to claim 1, wherein the print control apparatus is a unit that generates a color bitmap of a YMCK color space.
前記、入力された描画コマンドのオブジェクト種別を判定する判定手段とは、
文字、図形、線、イメージのオブジェクト種別を判断する判断手段である
ことを特徴とする請求項1記載の印刷制御装置。
The determination means for determining the object type of the input drawing command is:
The print control apparatus according to claim 1, wherein the print control apparatus is a determination unit that determines an object type of a character, a figure, a line, and an image.
前記、描画コマンドと閾値からオブジェクト種別を判断する判断手段とは、
文字のポイントサイズによって、小さな文字かそれ以外の文字かといったオブジェクト種別を判断する判断手段である
ことを特徴とする請求項1記載の印刷制御装置。
The determination means for determining the object type from the drawing command and the threshold is:
The print control apparatus according to claim 1, wherein the print control apparatus is a determination unit that determines an object type such as a small character or another character according to a character point size.
前記、描画コマンドと閾値からオブジェクト種別を判断する判断手段とは、
ラインの線幅によって、細い線かそれ以外の線かといったオブジェクト種別を判断する判断手段である
ことを特徴とする請求項1記載の印刷制御装置。
The determination means for determining the object type from the drawing command and the threshold is:
The print control apparatus according to claim 1, wherein the print control apparatus is a determination unit that determines an object type such as a thin line or another line according to a line width.
前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、
トラッピング処理をする/しないを指定する
ことを特徴とする請求項1記載の印刷制御装置。
The trapping parameter changing means for changing the trapping parameter for each object type is as follows:
The print control apparatus according to claim 1, wherein trapping processing is specified.
前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、
エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段で用いる、隣り合う色間の色の違いを判別する閾値を指定する
ことを特徴とする請求項1記載の印刷制御装置。
The trapping parameter changing means for changing the trapping parameter for each object type is as follows:
The printing control apparatus according to claim 1, wherein a threshold value for determining a difference in color between adjacent colors is used, which is used by a trapping determination unit that determines whether or not trapping should be generated at an edge.
前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、
決定した色を置く位置を決めるトラッピング位置決定手段で用いる、トラッピングによりトラッピング色に置換するピクセル数を指定する
ことを特徴とする請求項1記載の印刷制御装置。
The trapping parameter changing means for changing the trapping parameter for each object type is as follows:
2. The print control apparatus according to claim 1, wherein the number of pixels to be replaced with the trapping color by the trapping is specified, which is used in the trapping position determining means for determining the position where the determined color is placed.
前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、
決定した色を置く位置を決めるトラッピング位置決定手段で用いる、トラッピングによりトラッピング色に置換する方向を指定する
ことを特徴とする請求項1記載の印刷制御装置。
The trapping parameter changing means for changing the trapping parameter for each object type is as follows:
The printing control apparatus according to claim 1, wherein a direction for replacing the trapped color by trapping is specified, which is used by a trapping position determining unit that determines a position where the determined color is placed.
前記、オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段とは、
自動で判断することを指定する
ことを特徴とする請求項1記載の印刷制御装置。
The trapping parameter changing means for changing the trapping parameter for each object type is as follows:
The print control apparatus according to claim 1, wherein automatic printing is designated.
前記、オブジェクト種別情報ビットマップを参照して処理を切り替える手段とは、
オブジェクト種別が小文字ならば、決定した色を置く位置を決めるトラッピング位置決定手段で用いる、トラッピングによりトラッピング色に置換する方向を、文字をスプレッドする方向にする
ことを特徴とする請求項11記載の印刷制御装置。
The means for switching processing with reference to the object type information bitmap is as follows:
12. The printing according to claim 11, wherein if the object type is a lowercase letter, the direction of replacing the trapping color by the trapping used in the trapping position determining means for determining the position where the determined color is placed is the direction of spreading the characters. Control device.
前記、オブジェクト種別情報ビットマップを参照して処理を切り替える手段とは、
オブジェクト種別が細線ならば、決定した色を置く位置を決めるトラッピング位置決定手段で用いる、トラッピングによりトラッピング色に置換する方向を、細線をスプレッドする方向にする
ことを特徴とする請求項11記載の印刷制御装置。
The means for switching processing with reference to the object type information bitmap is as follows:
12. The printing according to claim 11, wherein if the object type is a fine line, the direction for replacing the trapped color by the trapping used in the trapping position determining means for determining the position where the determined color is placed is the direction in which the fine line is spread. Control device.
前記、オブジェクト種別情報ビットマップを参照して処理を切り替える手段とは、
オブジェクト種別がイメージならば、トラッピング効果を目立たせないようなパラメータを使用する
ことを特徴とする請求項11記載の印刷制御装置。
The means for switching processing with reference to the object type information bitmap is as follows:
12. The print control apparatus according to claim 11, wherein if the object type is an image, a parameter that does not make a trapping effect conspicuous is used.
前記、トラッピングの色を決定するトラッピング色決定手段とは、
予め決められた該オブジェクトのトナーの載り量をオーバーしないように制御する
ことを特徴とする請求項1記載の印刷制御装置。
The trapping color determining means for determining the trapping color is as follows.
The print control apparatus according to claim 1, wherein control is performed so as not to exceed a predetermined toner loading amount of the object.
前記、決定した色を置く位置を決めるトラッピング位置決定手段とは、
もし該エッジの隣り合うオブジェクト種別が同じエッジであれば、隣り合うピクセルとの濃度差によって、トラッピングによりトラッピング色に置換する方向を決定する
ことを特徴とする請求項1記載の印刷制御装置。
The trapping position determining means for determining the position to place the determined color is
The printing control apparatus according to claim 1, wherein if the adjacent object type of the edge is the same edge, the direction of replacement with the trapping color is determined by trapping based on the density difference with the adjacent pixel.
入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段と、
生成されたビットマップから印刷装置に出力するための分版を生成する手段と、
ビットマップ内のエッジを検出するエッジ検出手段と、
エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段と、
トラッピングの色を決定するトラッピング色決定手段と、
決定した色を置く位置を決めるトラッピング位置決定手段と
を備える印刷制御装置および印刷制御装置のデータ処理方法において、
入力された描画コマンドのオブジェクト種別を判定する判定手段と、
判定されたオブジェクト種別情報を備えるビットマップを生成するオブジェクト種別情報ビットマップ生成手段と、
エッジ検出手段、トラッピング判断手段、トラッピング色決定手段、トラッピング位置決定手段には、それぞれオブジェクト種別情報ビットマップを参照して処理を切り替える手段と、
オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段と
を有することを特徴とする印刷制御装置および印刷制御装置のデータ処理方法。
Color bitmap generation means for generating a color bitmap from the input drawing command;
Means for generating a color separation for output to the printing apparatus from the generated bitmap;
Edge detection means for detecting edges in the bitmap;
Trapping determination means for determining whether or not trapping should be generated at an edge;
Trapping color determination means for determining the color of the trapping;
In a printing control apparatus and a data processing method for a printing control apparatus, comprising: a trapping position determination unit that determines a position where the determined color is placed;
Determining means for determining the object type of the input drawing command;
Object type information bitmap generating means for generating a bitmap comprising the determined object type information;
The edge detection unit, the trapping determination unit, the trapping color determination unit, and the trapping position determination unit each include a unit that switches processing with reference to the object type information bitmap.
And a trapping parameter changing means for changing a trapping parameter for each type of object.
入力された描画コマンドから、カラービットマップを生成するカラービットマップ生成手段と、
生成されたビットマップから印刷装置に出力するための分版を生成する手段と、
ビットマップ内のエッジを検出するエッジ検出手段と、
エッジにトラッピングを生成すべきか否かを判断するトラッピング判断手段と、
トラッピングの色を決定するトラッピング色決定手段と、
決定した色を置く位置を決めるトラッピング位置決定手段と
を備えるコンピュータが読み出し可能なプログラムを格納した記憶媒体において、
入力された描画コマンドのオブジェクト種別を判定する判定手段と、
判定されたオブジェクト種別情報を備えるビットマップを生成するオブジェクト種別情報ビットマップ生成手段と、
エッジ検出手段、トラッピング判断手段、トラッピング色決定手段、トラッピング位置決定手段には、それぞれオブジェクト種別情報ビットマップを参照して処理を切り替える手段と、
オブジェクトの種別毎にトラッピングパラメータを変更するトラッピングパラメータ変更手段と
を有するコンピュータが読み出し可能なプログラムを格納した記憶媒体。
Color bitmap generation means for generating a color bitmap from the input drawing command;
Means for generating a color separation for output to the printing apparatus from the generated bitmap;
Edge detection means for detecting edges in the bitmap;
Trapping determination means for determining whether or not trapping should be generated at an edge;
Trapping color determination means for determining the color of the trapping;
A storage medium storing a computer-readable program comprising: a trapping position determining means for determining a position where the determined color is placed;
Determining means for determining the object type of the input drawing command;
Object type information bitmap generating means for generating a bitmap comprising the determined object type information;
The edge detection means, trapping determination means, trapping color determination means, and trapping position determination means each have means for switching processing with reference to the object type information bitmap,
A storage medium storing a computer-readable program having trapping parameter changing means for changing a trapping parameter for each object type.
JP2004313884A 2004-10-28 2004-10-28 Print controller, data processing method of print controller, and storage medium having computer readable program stored therein Withdrawn JP2006129007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004313884A JP2006129007A (en) 2004-10-28 2004-10-28 Print controller, data processing method of print controller, and storage medium having computer readable program stored therein

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004313884A JP2006129007A (en) 2004-10-28 2004-10-28 Print controller, data processing method of print controller, and storage medium having computer readable program stored therein

Publications (1)

Publication Number Publication Date
JP2006129007A true JP2006129007A (en) 2006-05-18

Family

ID=36723225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004313884A Withdrawn JP2006129007A (en) 2004-10-28 2004-10-28 Print controller, data processing method of print controller, and storage medium having computer readable program stored therein

Country Status (1)

Country Link
JP (1) JP2006129007A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008022201A (en) * 2006-07-12 2008-01-31 Fuji Xerox Co Ltd Image processing apparatus and program
EP1940145A2 (en) 2006-12-27 2008-07-02 Dainippon Screen Mfg., Co., Ltd. Image processing apparatus and method for printing and plate making, and recording medium having image processing program recorded therein for printing and plate making
WO2010147126A1 (en) * 2009-06-19 2010-12-23 Canon Kabushiki Kaisha Image forming apparatus and image processing method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008022201A (en) * 2006-07-12 2008-01-31 Fuji Xerox Co Ltd Image processing apparatus and program
EP1940145A2 (en) 2006-12-27 2008-07-02 Dainippon Screen Mfg., Co., Ltd. Image processing apparatus and method for printing and plate making, and recording medium having image processing program recorded therein for printing and plate making
US8164798B2 (en) 2006-12-27 2012-04-24 Dainippon Screen Mfg Co., Ltd. Image processing apparatus and method for printing and plate making, and recording medium having image processing program recorded therein for printing and plate making
WO2010147126A1 (en) * 2009-06-19 2010-12-23 Canon Kabushiki Kaisha Image forming apparatus and image processing method
JP2011004277A (en) * 2009-06-19 2011-01-06 Canon Inc Image forming apparatus
GB2483832A (en) * 2009-06-19 2012-03-21 Canon Kk Image forming apparatus and image processing method
CN102461149A (en) * 2009-06-19 2012-05-16 佳能株式会社 Image forming apparatus and image processing method
US8482790B2 (en) 2009-06-19 2013-07-09 Canon Kabushiki Kaisha Image forming apparatus and image processing method
GB2483832B (en) * 2009-06-19 2014-08-27 Canon Kk Image forming apparatus and image processing method

Similar Documents

Publication Publication Date Title
US7679795B2 (en) Image processing apparatus and method thereof
US20060152750A1 (en) Image processing apparatus and method, and storage medium
JP5780052B2 (en) Image processing system
US7612910B2 (en) Information processing apparatus, information processing system, information output control method, storage medium and program
KR20180087842A (en) Image processing apparatus and method for controlling the same
JP2009154365A (en) Image processing apparatus, image processing method, image processing program and recording medium
JP5212886B2 (en) Image forming system and image forming program
JP2009272667A (en) Image processor, image processing system, and program
JP2015173419A (en) Image processing device, control method of the same and program
JP3902907B2 (en) Image processing apparatus and method, and image forming apparatus
US7384205B2 (en) Print control apparatus and print control method
JP2006295624A (en) Image processor, method therefor, computer program, and recording medium
JP2006044169A (en) Printing device and method of controlling the same
US8059135B2 (en) Image output apparatus, image output method and image output program product
JP7077451B2 (en) Image forming apparatus and control method of image forming apparatus, and program
JP2005176035A (en) Image processing apparatus
JP2006129007A (en) Print controller, data processing method of print controller, and storage medium having computer readable program stored therein
JP3728183B2 (en) Printing control apparatus, drawing control apparatus, data processing method, and storage medium
JP2018182464A (en) Image processing system and program
US8437046B2 (en) Image processing apparatus and method for outputting an image subjected to pseudo-halftone processing
JP2006159914A (en) Control method of image processor and image processor
JP2006205507A (en) Printer
JP2006140597A (en) Device and method for printing control, computer program, and storage medium
JP2004174964A (en) Printing control device, method for processing data thereof, and memory medium housing computer readable program
JP2008103918A (en) Image forming apparatus, image forming method and program for performing image forming method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080108