【0001】
【発明の属する技術分野】
本発明は、網点階調表現方法、コンピュータプログラムおよびコンピュータ読み取り可能な記憶媒体に関し、より具体的には、AMスクリーニング法を用いて2値画像を出力するプリンタ、複写機、ファクシミリ等の画像記録装置の網点階調表現方法、コンピュータプログラムおよびコンピュータ読み取り可能な記憶媒体に関するものである。
【0002】
【従来の技術】
従来から、カラー画像の表現においてデジタル階調画像を2値画像で表現するデジタルハーフトーン手法が知られている。通常、デジタルハーフトーン手法を用いたカラーデジタル階調画像は階調と色により表現され、この階調を2値画像で表現するためには網点が使用される。仮に入力画像が256階調のデータであった場合、その階調を表現する網点マトリックスは最低16×16マス目で表される。そして、そのマス目に決まった順序で閾値のタイリングを行い、入力画像の各画素のデジタル値が前記閾値を上回ればその画素を埋める(画素値をONにする)。これにより、マトリックス内の埋められた画素と埋められていない画素との面積比率で階調が表現される。
【0003】
そして、この網点が1インチ(2.54cm)の幅に何列並ぶかという単位は「線」で表される。例えば、画像記録装置の出力解像度が1200dpiで120線の画像にしたい場合、網点マトリックスサイズは10×10となるので100(10×10)階調が表現できるということになる。
【0004】
一般的に商業印刷では、CMYK4色のデジタル階調画像に対して、網点を配置するスクリーニングを行い、各色成分の版ごとに網点画像を作成している。AMスクリーニング法では、ある角度で規則的に網点を配列し、単位面積当たりの網点の大きさを変調することで上記デジタル階調画素の階調表現を行っている。しかし、階調表現が網点の大きさで表現され、各網点が所定のピッチで配置されるために規則的なパターンが発生するため、4版を重ねた印刷物上では各版の網点の光学的な相互作用により干渉縞(モアレやロゼッタパターン)が生じる。このような問題への対策として、一般的に、イエローを除く3版をスクリーン角度30度ずつ角度差をつけ、イエローをそのいずれかの版から15度傾けることによってより干渉縞を抑制している。
【0005】
【発明が解決しようとする課題】
上述したように、120線で原稿の濃淡が256階調のデータを出力するには、120×16 = 1920dpiの出力解像度が必要ということになる。しかし、出力機器の解像度が1200dpiしかない場合、120線では100階調のデータしか出力できないことになる。
【0006】
このことをより一般的な事例でいえば、次のようになる。印刷でのスクリーン線数は85線から200線が主流であり、175線で原稿の濃淡が256階調のデータを出力するには、出力解像度が2800dpi必要となる。しかし、出力機器の解像度が1200dpiしかない場合、175線では36階調相当のデータしか出力できない。
【0007】
このように、AMスクリーニング法において記録装置が低解像度出力であれば所望の線数と階調数を再現することは困難であり、階調数を高くすれば線数が低くなり、線数を高くすれば階調数が低くなるという問題があった。
【0008】
本発明はこのような問題に鑑みてなされたものであり、その目的とするところは、低出力解像度の記録装置でも同一線数でより高階調の網点表現が可能な網点階調表現方法、コンピュータプログラムおよびコンピュータ読み取り可能な記憶媒体を提供することにある。
【0009】
【課題を解決するための手段】
上記の目的を達成するため、請求項1記載の発明は、AMスクリーニング法を用いて網点により階調を表現する画像記録装置の網点階調表現方法において、所定のスクリーン角で網点マトリックス領域n画素を定義し、該定義された網点マトリックス内の各記録画素をm(mは2以上の整数)色のインクで埋めることにより階調を表現することを特徴とする。
【0010】
また、請求項2に記載の発明は、請求項1に記載の網点階調表現方法において、前記m(mは2以上の整数)色のインクは少なくとも高濃度インクと低濃度インクとを含むことを特徴とする。
【0011】
また、請求項3に記載の発明は、請求項2に記載の網点階調表現方法において、前記表現する際、前記低濃度インクと前記高濃度インクとを交互に使用して前記網点マトリックス内の各記録画素を埋めていくことを特徴とする。
【0012】
また、請求項4に記載の発明は、請求項2に記載の網点階調表現方法において、前記表現する際、前記低濃度インクで前記網点マトリックス内の各記録画素を埋めていき、その後前記高濃度インクで前記記録画素を置き換えていくことを特徴とする。
【0013】
また、請求項5に記載の発明は、請求項2に記載の網点階調表現方法において、前記表現する際、前記低濃度インクで前記網点マトリックス内の各記録画素を埋めていき、その後前記高濃度インクを前記記録画素上の低濃度インクの上に埋めていくことを特徴とする。
【0014】
また、請求項6に記載の発明は、コンピュータプログラムであって、AMスクリーニング法を用いて網点により階調を表現する画像記録装置に対し、所定のスクリーン角で網点マトリックス領域n画素を定義するステップと、該定義された網点マトリックス内の各記録画素をm(mは2以上の整数)色のインクで埋めることにより階調を表現するステップとを実行させることを特徴とする。
【0015】
また、請求項7に記載の発明は、請求項6に記載のコンピュータプログラムにおいて、前記m(mは2以上の整数)色のインクは少なくとも高濃度インクと低濃度インクとを含むことを特徴とする。
【0016】
また、請求項8に記載の発明は、請求項7に記載のコンピュータプログラムにおいて、前記表現するステップは、前記低濃度インクと前記高濃度インクとを交互に使用して前記網点マトリックス内の各記録画素を埋めていくことを特徴とする。
【0017】
また、請求項9に記載の発明は、請求項7に記載のコンピュータプログラムにおいて、前記表現するステップは、前記低濃度インクで前記網点マトリックス内の各記録画素を埋めていき、その後前記高濃度インクで前記記録画素を置き換えていくことを特徴とする。
【0018】
また、請求項10に記載の発明は、請求項7に記載のコンピュータプログラムにおいて、前記表現するステップは、前記低濃度インクで前記網点マトリックス内の各記録画素を埋めていき、その後前記高濃度インクを前記記録画素上の低濃度インクの上に埋めていくことを特徴とする。
【0019】
また、請求項11に記載の発明は、コンピュータ読み取り可能な記憶媒体において、請求項6〜10のいずれかに記載のコンピュータプログラムを記憶したことを特徴とする。
【0020】
【発明の実施の形態】
以下、本発明の実施形態について図面を参照して詳細に説明する。
【0021】
図1は、本実施形態を示すプリンタの制御システムの構成を説明するブロック図である。なお、本発明はプリンタの他、複写機、ファクシミリ等の他の画像記録装置にも適用することができる。また、本発明の機能が実行されるのであれば、単体の機器であっても、複数の機器からなるシステムであっても、LAN等のネットワークを介して処理が行われるシステムであっても本発明を適用できることはいうまでもない。
【0022】
プリンタ200において、CPU101は、ROM103のプログラム用ROMまたは外部メモリ104に記憶された制御プログラム等に基づいてシステムバス105に接続される各種のデバイスとのアクセスを総括的に制御し、印刷部インターフェース(I/F)106を介して接続される印刷部(プリンタエンジン)107に出力情報としての画像信号を出力する。ROM103のプログラムROMには、CPU101の制御プログラム等を記憶する。ROM103のフォント用ROMには、上記出力情報を生成する際に使用するフォントデータ等が記憶され、ROM103のデータ用ROMには、印刷部107上で利用されるオーバレイフォーム、外字情報等が記憶されている。
【0023】
CPU101は、入力部108を介して、所定の双方向性インターフェース209に接続されたホストコンピュータ300と通信可能に構成されている。RAM102はCPU101の主メモリ,ワークエリア,ページメモリ等として機能し、増設ポートに接続される拡張用RAMモジュール(図示せず)によりメモリ容量を拡張することができるように構成されている。RAM102は、出力情報展開領域、環境データ格納領域等にも用いられる。
【0024】
外部メモリ104はICカード等の拡張用ROMモジュールであり、メモリコントローラ(MC)109によりアクセスを制御される。この拡張用ROMモジュールは、オプションとして接続され、フォントデータ,エミュレーションプログラム,フォームデータ等を記憶する。また、拡張用ROMモジュールは少なくとも1個備えることができ、内蔵フォントに加えてオプションフォントカード,言語系の異なるプリンタ制御言語を解釈するプログラムを格納した外部メモリを複数接続できるように構成されていても良い。さらに、図示しないNVRAMを有し、操作パネル130からのプリンタモード設定情報を記憶するようにしても良い。
【0025】
画像生成部110は、CPU101が演算により印刷データを生成するのを補助するハードウェアであり、印刷データの拡大縮小,回転,色変換,重ね合わせなどを論理回路により高速処理する機能を持つ。操作部130には操作のためのスイッチおよびLCD表示器等が配されている。
【0026】
本発明は、これらのユニットから構成されたプリントシステムにおいて、画像記録装置の画像生成部にAMスクリーニング法を採用し、印刷データに応じたマトリクステーブルを供給することにより、高階調表現を実現するものである。
【0027】
以下、各実施形態について説明する。
【0028】
(第1実施形態)
本実施形態では、高濃度インク(以下、「濃インク」と略記する)と低濃度インク(以下、「淡インク」と略記する)とを交互に使用して、マトリックス内の各記録画素を埋めていくことで、網点マトリックスを生成する例を示す。通常、印刷においては、C(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)の4色のインクを用いてカラーを表現する。本発明においては、例えばC(シアン)を例にとると、希釈率の異なる濃シアンインクと淡シアンインクを用いることにより、階調数の向上を実現する。
【0029】
図2(a)は印刷の網点を、図2(b)はその網点をデジタルで実現するための網点マトリックスを示す。図2(a)のAMスクリーンの網点の大きさは、図2(b)に示すようにその階調値に応じた画素の集合によって表すことができる。図3はデジタル画像(256階調)に対する、シアン版の網点マトリックス領域(n=5×5=25)における閾値パターンである。このような網点マトリックス領域n画素は、例えば図1の操作部130の操作により解像度とスクリーン角度が設定されたときに、画像生成部110がC、M、Y、Kの各々について定義する。nの値は、設定された解像度とスクリーン角度に応じて決められる。なお、本実施形態では説明を分かりやすくするためにスクリーン角は0度としている。
【0030】
図3(a)は濃インクのみ使用した場合の閾値パターンであり、デジタルで行われる従来のAMスクリーニング法の一例である。例えば、入力値が11の場合、閾値10の記録画素の位置にドットが配置される。入力値が42なら、10、20、31、41の記録画素の位置にドットが配置される。
【0031】
本実施形態において、閾値パターンは中心から時計回りに閾値が大きくなるようにタイリングされている。これは、AMスクリーンでは階調を網点の大きさを変調することによって表すため、中心から階調に応じドットを打つことにより網点の大きさを表現するためである。これに対して、図3(b)、図3(c)は本実施形態で用いられる閾値パターンである。図3(b)は淡インク、図3(c)は濃インク用の各々の閾値パターンを示している。
【0032】
図4は、図3に示す閾値パターンを用いて、約18%の網点階調(画素値45)までを網点マトリックスで表現した状態を示す。図4(a)は、図3(a)の閾値パターンを使用し、インク滴として濃シアンのみを使用する従来の網点階調表現方法の例である。入力値が11〜20の場合は網点マトリックス301、入力値が21〜31の場合は網点マトリックス302、入力値が32〜41の場合は網点マトリックス303、入力値が42〜51の場合は網点マトリックス304が、それぞれ対応するマトリックスとなる。
【0033】
図4(b)は、濃シアンと淡シアンを使用する本実施形態に係る網点階調表現方法の例で、図3(b)、(c)の閾値パターンを使用する。入力値に対する網点マトリックスの関係は以下のとおりである。入力値が6〜10の場合は網点マトリックス305、入力値が11〜15の場合は網点マトリックス306が対応するマトリックスとなる。以下、同様であるため説明を省略する。
【0034】
図4から分かるように、濃シアンだけを使用した従来例の場合、45までの入力値に対して4階調しか表現できないのに対し、本実施形態のように濃シアンと淡シアンとを組み合わせて交互に配置することにより、2倍の8階調表現することができる。
【0035】
(第2実施形態)
次に、淡インクでマトリックス内の各記録画素を埋めていき、その後濃インクで記録画素を置き換えていく実施形態について説明する。図5(a)、(b)に閾値パターンを示す。図5(a)が淡インク用の閾値パターンで、図5(b)が濃インク用の閾値パターンである。本実施形態の特徴は、淡インクを濃インクに優先して配置することにある。まず、淡インクを使用し、淡インクで網点マトリックスがすべて埋まったら、次に濃インクを使うように閾値が設定されている。
【0036】
図6(a)に本実施形態に係るインクの配置例を示す。図6(a)は入力画素値が169(網点階調66%)の場合における配置例である。処理方法としては、まず、図5(a)の淡インク用の閾値パターンを参照する。169は閾値パターン内のすべての閾値を超えているので、網点マトリックス内の全ての記録画素に対して淡インクを仮に配置する。次に、図5(b)の濃インク用の閾値パターンを参照し、閾値が169以下の位置に濃インクを配置する。このとき、濃インクを配置するべき位置にすでに淡インクが仮配置されていたら、淡インクの配置を取り消し、濃インクだけを配置する。
【0037】
(第3実施形態)
本実施形態では、前述の実施形態と異なる方法で、網点マトリックスのドットを配置する方法について説明する。図5は本実施形態で用いる閾値パターンの例を示す。本実施形態の特徴は、淡インクでマトリックス内の各記録画素を埋めていき、その後濃インクを記録画素上の淡インクの上に埋めていくことにある。
【0038】
図6(b)にインクの配置例を示す。図6(b)は入力画素値が169(網点階調66%)の場合における配置例である。まず、図5(a)の淡インク用の閾値パターンを参照する。169は、すべての閾値を超えているので、すべてのマトリックスに対して淡インクを打つ(埋める)。次に、図5(b)の濃インク用の閾値パターンを参照し、閾値が169以下の位置に濃インクを打つ。このとき、淡インクの上に濃インクを重ねて打つ。
【0039】
なお、この発明は上記の実施形態に限られるものではない。上述の実施形態では濃シアン・淡シアンの2色で階調を表現し、閾値パターンも中心から時計回りの方向に広がっていくパターンであったが、色数は濃淡2色に限らず、2色以上で実施することも可能である。また、濃度の異なるインク滴に限らず、色味や彩度の異なる2色以上のインク滴を用いて階調を表現しても良い。更に、閾値パターンはどのようなパターンのものであっても実施することは可能である。
【0040】
また、第2実施形態と第3実施形態を組み合わせることも可能である。この場合、プリンタ200が階調を表現する際、まず淡インクをマトリックス全体に配置する。次に、マトリックス上の淡インクを濃インクで置き換える。その後、淡インクをマトリックス上の濃インクの上に配置していく。
【0041】
本発明は、前述した各実施の形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることはいうまでもない。
【0042】
この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0043】
プログラムコードを供給するための記憶媒体としては、例えば、サーバ・コンピュータおよびクライアント・コンピュータが読むことができるフロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、光ディスク、CD−ROM、CD−R、磁気テープ不揮発性のメモリカード、ROMなどを用いることができる。
【0044】
また、記憶媒体は、サーバ・コンピュータおよびクライアント・コンピュータに着脱可能であることが好ましい。
【0045】
また、コンピュータが読み出したプログラムコードを実行することによって、前述した実施の形態の機能が実現される他、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行い、その処理によっても前述した実施の形態の機能が実現され得る。
【0046】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によっても前述した実施の形態の機能が実現され得る。
【0047】
本発明は、前述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体からそのプログラムをパソコン通信など通信ラインを介して要求者にそのプログラムを配信する場合にも適用できることはいうまでもない。
【0048】
【発明の効果】
以上述べてきたように、本発明によれば、AMスクリーニング法において各スクリーン角で定義される網点マトリックス領域n画素内の記録画素に対してm色のインク滴を配置することで、より高階調な網点を生成することができる。この結果、各版において同一線数で、より高階調で高解像度な画像を表現することが可能となる。また、低濃度のインクによって先にマトリックス全体を埋め、その後高濃度インクによって低濃度インクを置き換えてマトリックスを埋めていく方法と、高濃度インクと低濃度インクを交互に埋めていく方法によって、より高階調の網点マトリックスを表現することができる。
【図面の簡単な説明】
【図1】本発明の実施形態によるプリンタの制御システムの構成を示すブロック図である。
【図2】AMスクリーニング法によって得られる網点の構成を示す図である。
【図3】本発明に係るスクリーン角0度の網点マトリックス(5×5)の濃インクのみ使う場合と濃・淡インクを使う場合の閾値パターンを示す図である。
【図4】本発明に係る約18%の網点階調(画素値45)までに相当する網点マトリックスにそれぞれインク滴を打った場合のマトリックスの変化を示す図である。
【図5】本発明に係る淡インクでマトリックス全体を埋めてから濃インクを埋めていく場合の閾値パターンを示す図である。
【図6】本発明に係る網点マトリックスを示す図である。
【符号の説明】
101 CPU
102 RAM
103 ROM
104 外部メモリ
105 システムバス
106 印刷部I/F
107 印刷部
108 入力部
109 メモリコントローラ(MC)
110 画像生成部
200 プリンタ
209 双方向性インターフェース
300 ホストコンピュータ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a halftone gradation expression method, a computer program, and a computer-readable storage medium, and more specifically, to image recording such as a printer, a copying machine, a facsimile, etc., which outputs a binary image using an AM screening method. The present invention relates to a method for expressing halftones of a device, a computer program, and a computer-readable storage medium.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, a digital halftone method for expressing a digital gradation image as a binary image in expressing a color image has been known. Normally, a color digital gradation image using the digital halftone method is expressed by gradations and colors, and a halftone dot is used to express the gradation by a binary image. If the input image is data of 256 gradations, a halftone dot matrix expressing the gradation is represented by at least 16 × 16 squares. Then, the tiling of the threshold value is performed in the order determined in the cell, and when the digital value of each pixel of the input image exceeds the threshold value, the pixel is filled (the pixel value is turned ON). Thereby, the gray scale is expressed by the area ratio between the buried pixels and the non-buried pixels in the matrix.
[0003]
The unit of how many halftone dots are arranged in a width of 1 inch (2.54 cm) is represented by a “line”. For example, if the output resolution of the image recording apparatus is 1200 dpi and an image of 120 lines is desired, the halftone dot matrix size is 10 × 10, so that 100 (10 × 10) gradations can be expressed.
[0004]
Generally, in commercial printing, screening for arranging halftone dots is performed on digital gradation images of four colors of CMYK, and halftone images are created for each color component plate. In the AM screening method, halftone dots are regularly arranged at a certain angle, and the tone of the digital halftone pixel is expressed by modulating the size of halftone dots per unit area. However, since the gradation expression is represented by the size of a halftone dot and each halftone dot is arranged at a predetermined pitch, a regular pattern is generated. Interference fringes (moire or rosetta pattern) occur due to the optical interaction of As a countermeasure against such a problem, generally, the three plates except for yellow are provided with a screen angle difference of 30 degrees every 30 degrees, and the interference fringes are further suppressed by inclining yellow 15 degrees from any of the plates. .
[0005]
[Problems to be solved by the invention]
As described above, in order to output data in which the density of a document is 256 tones with 120 lines, an output resolution of 120 × 16 = 1920 dpi is required. However, if the resolution of the output device is only 1200 dpi, data of only 100 gradations can be output with 120 lines.
[0006]
This is described in a more general case as follows. The number of screen lines in printing is mainly 85 to 200 lines. To output data of 175 lines and the density of the document is 256 gradations, an output resolution of 2800 dpi is required. However, if the resolution of the output device is only 1200 dpi, only data corresponding to 36 gradations can be output with 175 lines.
[0007]
As described above, it is difficult to reproduce the desired number of lines and the number of gradations when the recording apparatus outputs low resolution in the AM screening method, and when the number of gradations is increased, the number of lines is reduced. There is a problem that the higher the number, the lower the number of gradations.
[0008]
The present invention has been made in view of such a problem, and an object of the present invention is to provide a halftone dot expression method capable of expressing higher tone dots with the same number of lines even in a low output resolution recording apparatus. , A computer program, and a computer-readable storage medium.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, an invention according to claim 1 is a method for expressing a halftone by an halftone dot using an AM screening method. It is characterized in that gradation is expressed by defining n pixels in an area and filling each recording pixel in the defined dot matrix with m (m is an integer of 2 or more) color ink.
[0010]
According to a second aspect of the present invention, in the halftone gradation expression method according to the first aspect, the m (m is an integer of 2 or more) color ink includes at least a high density ink and a low density ink. It is characterized by the following.
[0011]
According to a third aspect of the invention, in the halftone gradation expression method according to the second aspect, the halftone dot matrix is formed by alternately using the low-density ink and the high-density ink during the expression. It is characterized in that each of the recording pixels is filled.
[0012]
According to a fourth aspect of the present invention, in the halftone gradation expression method according to the second aspect, each of the recording pixels in the halftone matrix is filled with the low-density ink when the expression is performed. The recording pixels are replaced with the high-density ink.
[0013]
According to a fifth aspect of the present invention, in the halftone gradation expression method according to the second aspect, the recording pixels in the halftone dot matrix are filled with the low-density ink when the expression is performed. The high-density ink is embedded on the low-density ink on the recording pixels.
[0014]
According to a sixth aspect of the present invention, there is provided a computer program which defines a halftone dot matrix area n pixels at a predetermined screen angle for an image recording apparatus which expresses gradation by halftone dots using an AM screening method. And expressing the gradation by filling each recording pixel in the defined halftone dot matrix with m (m is an integer of 2 or more) color ink.
[0015]
According to a seventh aspect of the present invention, in the computer program according to the sixth aspect, the m (m is an integer of 2 or more) color ink includes at least a high density ink and a low density ink. I do.
[0016]
According to an eighth aspect of the present invention, in the computer program according to the seventh aspect, the expressing is performed by alternately using the low-density ink and the high-density ink in each of the halftone dot matrices. It is characterized in that recording pixels are filled.
[0017]
According to a ninth aspect of the present invention, in the computer program according to the seventh aspect, the expressing step includes filling each recording pixel in the halftone dot matrix with the low-density ink, and thereafter, It is characterized in that the recording pixels are replaced with ink.
[0018]
According to a tenth aspect of the present invention, in the computer program according to the seventh aspect, the expressing step fills each recording pixel in the halftone dot matrix with the low-density ink, and then sets the high-density ink. The method is characterized in that ink is buried on the low-density ink on the recording pixels.
[0019]
An eleventh aspect of the present invention is characterized in that the computer program according to any one of the sixth to tenth aspects is stored in a computer-readable storage medium.
[0020]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0021]
FIG. 1 is a block diagram illustrating a configuration of a printer control system according to the present exemplary embodiment. The present invention can be applied to other image recording apparatuses such as a copying machine and a facsimile, in addition to a printer. Further, if the functions of the present invention are executed, the present invention is applicable to a single device, a system including a plurality of devices, and a system in which processing is performed via a network such as a LAN. It goes without saying that the invention can be applied.
[0022]
In the printer 200, the CPU 101 generally controls access to various devices connected to the system bus 105 based on a program ROM of the ROM 103 or a control program stored in the external memory 104, and a printing unit interface ( An image signal as output information is output to a printing unit (printer engine) 107 connected via an I / F (106). The control program of the CPU 101 and the like are stored in the program ROM of the ROM 103. The font ROM of the ROM 103 stores font data and the like used when generating the output information, and the data ROM of the ROM 103 stores overlay forms and external character information used on the printing unit 107. ing.
[0023]
The CPU 101 is configured to be able to communicate with a host computer 300 connected to a predetermined bidirectional interface 209 via the input unit 108. The RAM 102 functions as a main memory, a work area, a page memory, and the like of the CPU 101, and is configured so that the memory capacity can be expanded by an expansion RAM module (not shown) connected to an additional port. The RAM 102 is also used as an output information development area, an environment data storage area, and the like.
[0024]
The external memory 104 is an expansion ROM module such as an IC card and the access is controlled by a memory controller (MC) 109. The extension ROM module is connected as an option and stores font data, an emulation program, form data, and the like. Further, at least one expansion ROM module can be provided, and in addition to a built-in font, an optional font card and a plurality of external memories storing programs for interpreting printer control languages of different language systems can be connected. Is also good. Further, an NVRAM (not shown) may be provided to store printer mode setting information from the operation panel 130.
[0025]
The image generation unit 110 is hardware that assists the CPU 101 in generating print data by calculation, and has a function of performing high-speed processing of enlargement / reduction, rotation, color conversion, and superposition of print data by a logic circuit. The operation unit 130 is provided with switches for operation, an LCD display, and the like.
[0026]
The present invention realizes a high gradation expression by adopting an AM screening method in an image generating unit of an image recording apparatus and supplying a matrix table corresponding to print data in a printing system including these units. It is.
[0027]
Hereinafter, each embodiment will be described.
[0028]
(1st Embodiment)
In the present embodiment, high density ink (hereinafter, abbreviated as “dark ink”) and low density ink (hereinafter, abbreviated as “light ink”) are alternately used to fill each recording pixel in the matrix. An example in which a halftone dot matrix is generated by moving forward will be described. Normally, in printing, colors are expressed using four color inks of C (cyan), M (magenta), Y (yellow), and K (black). In the present invention, when C (cyan) is taken as an example, the number of gradations is improved by using dark cyan ink and light cyan ink having different dilution rates.
[0029]
FIG. 2A shows a halftone dot for printing, and FIG. 2B shows a halftone matrix for digitally realizing the halftone dot. The size of the halftone dot of the AM screen in FIG. 2A can be represented by a set of pixels corresponding to the gradation value as shown in FIG. 2B. FIG. 3 shows a threshold pattern in a cyan halftone dot matrix area (n = 5 × 5 = 25) for a digital image (256 gradations). For example, when the resolution and the screen angle are set by the operation of the operation unit 130 in FIG. 1, the image generation unit 110 defines such n pixels in the halftone dot matrix area for each of C, M, Y, and K. The value of n is determined according to the set resolution and screen angle. In this embodiment, the screen angle is set to 0 degree for easy understanding.
[0030]
FIG. 3A shows a threshold pattern when only dark ink is used, which is an example of a conventional AM screening method performed digitally. For example, when the input value is 11, dots are arranged at the positions of the recording pixels with the threshold value of 10. If the input value is 42, dots are arranged at the positions of 10, 20, 31, and 41 recording pixels.
[0031]
In the present embodiment, the threshold pattern is tiled such that the threshold increases clockwise from the center. This is because, in the AM screen, the gray scale is represented by modulating the size of the halftone dot, and therefore, the size of the halftone dot is expressed by forming dots from the center according to the gray scale. On the other hand, FIGS. 3B and 3C show threshold patterns used in the present embodiment. FIG. 3B shows a threshold pattern for light ink, and FIG. 3C shows a threshold pattern for dark ink.
[0032]
FIG. 4 shows a state in which up to about 18% halftone (pixel value 45) is represented by a halftone matrix using the threshold pattern shown in FIG. FIG. 4A is an example of a conventional halftone gradation expression method using the threshold pattern of FIG. 3A and using only dark cyan as an ink droplet. When the input values are 11 to 20, a dot matrix 301; when the input values are 21 to 31, a dot matrix 302; when the input values are 32 to 41, a dot matrix 303; when the input values are 42 to 51 Are the dot matrices 304 respectively.
[0033]
FIG. 4B is an example of the halftone gradation expression method according to the present embodiment using dark cyan and light cyan, and uses the threshold patterns of FIGS. 3B and 3C. The relationship between the halftone dot matrix and the input value is as follows. When the input value is 6 to 10, the dot matrix 305 is a corresponding matrix, and when the input value is 11 to 15, the dot matrix 306 is a corresponding matrix. Hereinafter, since it is the same, description is omitted.
[0034]
As can be seen from FIG. 4, in the case of the conventional example using only dark cyan, only four gradations can be expressed for input values up to 45, but as shown in this embodiment, a combination of dark cyan and light cyan is used. By alternately arranging them, it is possible to express twice as many as eight gradations.
[0035]
(2nd Embodiment)
Next, an embodiment will be described in which each recording pixel in the matrix is filled with light ink, and then the recording pixels are replaced with dark ink. FIGS. 5A and 5B show threshold patterns. FIG. 5A shows a threshold pattern for light ink, and FIG. 5B shows a threshold pattern for dark ink. The feature of this embodiment resides in that light ink is arranged prior to dark ink. First, a threshold is set so that light ink is used, and when the dot matrix is completely filled with light ink, dark ink is used next.
[0036]
FIG. 6A shows an arrangement example of the ink according to the present embodiment. FIG. 6A shows an arrangement example in the case where the input pixel value is 169 (halftone gradation 66%). As a processing method, first, a threshold pattern for light ink in FIG. 5A is referred to. Since 169 exceeds all thresholds in the threshold pattern, light ink is temporarily arranged for all print pixels in the halftone dot matrix. Next, with reference to the threshold pattern for dark ink in FIG. 5B, dark ink is arranged at a position where the threshold is 169 or less. At this time, if the light ink has already been provisionally arranged at the position where the dark ink is to be arranged, the arrangement of the light ink is canceled and only the dark ink is arranged.
[0037]
(Third embodiment)
In the present embodiment, a method for arranging dots of a halftone dot matrix by a method different from the above-described embodiment will be described. FIG. 5 shows an example of a threshold pattern used in the present embodiment. The feature of this embodiment is that each recording pixel in the matrix is filled with light ink, and then dark ink is filled on light ink on the recording pixel.
[0038]
FIG. 6B shows an arrangement example of the ink. FIG. 6B shows an example of arrangement when the input pixel value is 169 (halftone gradation 66%). First, reference is made to the threshold pattern for light ink in FIG. Since 169 exceeds all threshold values, light ink is applied (filled) to all matrices. Next, referring to the threshold pattern for dark ink in FIG. 5B, dark ink is applied to a position where the threshold is 169 or less. At this time, the dark ink is overlaid on the light ink.
[0039]
Note that the present invention is not limited to the above embodiment. In the above-described embodiment, the gradation is expressed by two colors of dark cyan and light cyan, and the threshold pattern is also a pattern that spreads clockwise from the center. It is also possible to work with more than colors. Further, the gradation may be expressed using not only ink droplets having different densities but also ink droplets of two or more colors having different colors and saturations. Furthermore, the threshold pattern can be implemented regardless of the pattern.
[0040]
Further, the second embodiment and the third embodiment can be combined. In this case, when the printer 200 expresses the gradation, first, the light ink is arranged on the entire matrix. Next, the light ink on the matrix is replaced with the dark ink. After that, the light ink is arranged on the dark ink on the matrix.
[0041]
According to the present invention, a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or an apparatus, and a computer (or CPU or MPU) of the system or apparatus stores the storage medium in the storage medium. Needless to say, this can also be achieved by reading and executing the program code thus set.
[0042]
In this case, the program code itself read from the storage medium implements the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
[0043]
Examples of the storage medium for supplying the program code include a floppy (registered trademark) disk, a hard disk, a magneto-optical disk, an optical disk, a CD-ROM, a CD-R, and a magnetic disk that can be read by a server computer and a client computer. A tape nonvolatile memory card, ROM, or the like can be used.
[0044]
Further, it is preferable that the storage medium is detachable from the server computer and the client computer.
[0045]
The functions of the above-described embodiments are implemented when the computer executes the readout program code. In addition, the OS or the like running on the computer executes one of the actual processing based on the instruction of the program code. The functions of the above-described embodiments can also be realized by performing all or part of the processes.
[0046]
Further, after the program code read from the storage medium is written into a memory provided on a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. The CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments can also be realized by the processing.
[0047]
It can be said that the present invention can be applied to a case where the program is delivered to a requester via a communication line such as a personal computer communication from a storage medium storing a program code of software for realizing the functions of the above-described embodiment. Not even.
[0048]
【The invention's effect】
As described above, according to the present invention, in the AM screening method, by arranging the m-color ink droplets for the recording pixels in the n pixels of the dot matrix area defined by each screen angle, a higher order Tone dots can be generated. As a result, it is possible to express a higher gradation and higher resolution image with the same number of lines in each plate. In addition, the method of filling the entire matrix with low-density ink first and then replacing the low-density ink with high-density ink and filling the matrix alternately with high-density ink and low-density ink is more effective. A high-gradation halftone dot matrix can be expressed.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a printer control system according to an embodiment of the present invention.
FIG. 2 is a diagram showing a configuration of a halftone dot obtained by an AM screening method.
FIG. 3 is a diagram showing threshold patterns when only dark ink and a dark / light ink of a halftone dot matrix (5 × 5) having a screen angle of 0 ° according to the present invention are used.
FIG. 4 is a diagram showing a matrix change when ink droplets are respectively applied to a halftone matrix corresponding to a halftone gradation (pixel value 45) of about 18% according to the present invention.
FIG. 5 is a diagram showing a threshold pattern in a case where the entire matrix is filled with light ink and then dark ink is filled according to the present invention.
FIG. 6 is a diagram showing a halftone dot matrix according to the present invention.
[Explanation of symbols]
101 CPU
102 RAM
103 ROM
104 external memory 105 system bus 106 printing unit I / F
107 printing unit 108 input unit 109 memory controller (MC)
110 Image generation unit 200 Printer 209 Bidirectional interface 300 Host computer