JP2009141529A - Device and method for processing image, and program - Google Patents
Device and method for processing image, and program Download PDFInfo
- Publication number
- JP2009141529A JP2009141529A JP2007313956A JP2007313956A JP2009141529A JP 2009141529 A JP2009141529 A JP 2009141529A JP 2007313956 A JP2007313956 A JP 2007313956A JP 2007313956 A JP2007313956 A JP 2007313956A JP 2009141529 A JP2009141529 A JP 2009141529A
- Authority
- JP
- Japan
- Prior art keywords
- correction
- image processing
- type
- reference pattern
- pattern
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、画像処理装置、画像処理方法及びプログラムに関し、特にインクジェットプリンタに印刷させる画像データに関する画像処理を実行する画像処理装置、画像処理方法及びプログラムに関する。 The present invention relates to an image processing apparatus, an image processing method, and a program, and more particularly to an image processing apparatus, an image processing method, and a program that execute image processing related to image data to be printed by an inkjet printer.
インクジェットプリンタの記録画像は、ヘッドの走査方向、及びそれと直交する方向である記録紙の搬送方向にマトリクス状に形成されたドットで表される。ここで、ドット画像として文字を印写したとき、印字する画像の解像度によって、文字の品質は大きく異なる。例えば、同じ大きさの文字を300dpiで印写したときと600dpiで印写したときとでは、文字を構成するドット数が4倍異なるため、600dpiで印写したときの方が細かいところまで表現でき、当然のことながら文字品質は良い。特に、文字の斜線部では、解像度にしたがって、階段状にドットが増えていく(あるいは、減っていく)ので、300dpiで印写したときの方が、ギザギザ(ジャギー)として認識され易くなる。 The recorded image of the ink jet printer is represented by dots formed in a matrix in the scanning direction of the head and the transport direction of the recording paper, which is a direction perpendicular thereto. Here, when a character is printed as a dot image, the quality of the character varies greatly depending on the resolution of the image to be printed. For example, when characters of the same size are printed at 300 dpi and when printed at 600 dpi, the number of dots that make up the characters differs by a factor of 4, so that when printed at 600 dpi, it can be expressed in more detail. Of course, the character quality is good. In particular, in the shaded portion of a character, dots increase (or decrease) in a staircase pattern according to the resolution, so that when printed at 300 dpi, it becomes easier to be recognized as jagged (jaggy).
そこで、従来、印刷対象となる画像データを処理する段階においてジャギーを補正するための技術が各種検討されている(例えば、特許文献1)。
しかしながら、ジャギー補正の方法及びその結果は各種存在するところ、従来の技術では、開発者側の観点において望ましいジャギー補正結果が予め選択され、斯かる補正結果が得られるようなジャギー補正処理がプログラムロジックとして組み込まれていた。 However, there are various methods and results of jaggy correction. In the conventional technique, a jaggy correction result that is desirable from the viewpoint of the developer is selected in advance and such a correction result is obtained by program logic. Was incorporated as.
したがって、全てのユーザに対して同一のジャギー補正処理が提供されており、ユーザに応じて異なるジャギー補正処理を提供するのが困難であるという問題があった。 Therefore, the same jaggy correction processing is provided for all users, and it is difficult to provide different jaggy correction processing depending on the user.
本発明は、上記の点に鑑みてなされたものであって、インクジェットプリンタに印刷させる画像データに対するジャギー補正について柔軟性を向上させることのできる画像処理装置、画像処理方法及びプログラムの提供を目的とする。 The present invention has been made in view of the above points, and it is an object of the present invention to provide an image processing apparatus, an image processing method, and a program capable of improving the flexibility of jaggy correction for image data to be printed by an inkjet printer. To do.
そこで上記課題を解決するため、本発明は、インクジェットプリンタに印刷させる画像データに関する画像処理を実行する画像処理装置であって、前記画像データについてジャギー補正の種類の指定を受け付ける補正種類入力手段と、前記ジャギー補正の種類に基づいてパターンマッチングに用いる参照パターンを決定する参照パターン決定手段と、前記参照パターンを用いて前記画像データに対してパターンマッチングを行い、マッチした範囲における所定の画素について前記補正の種類に応じた処理を実行する補正手段とを有することを特徴とする。 In order to solve the above problems, the present invention is an image processing apparatus that executes image processing related to image data to be printed by an inkjet printer, and a correction type input unit that receives a specification of a jaggy correction type for the image data; Reference pattern determining means for determining a reference pattern to be used for pattern matching based on the type of jaggy correction, pattern matching is performed on the image data using the reference pattern, and the correction is performed on a predetermined pixel in a matched range. And a correction unit that executes processing according to the type.
このような画像処理装置では、インクジェットプリンタに印刷させる画像データに対するジャギー補正について柔軟性を向上させることができる。 In such an image processing apparatus, the flexibility of jaggy correction for image data to be printed by an inkjet printer can be improved.
本発明によれば、インクジェットプリンタに印刷させる画像データに対するジャギー補正について柔軟性を向上させることのできる画像処理装置、画像処理方法及びプログラムを提供することができる。 According to the present invention, it is possible to provide an image processing apparatus, an image processing method, and a program capable of improving the flexibility of jaggy correction for image data to be printed by an inkjet printer.
以下、図面に基づいて本発明の実施の形態を説明する。図1は、本発明の実施の形態におけるシステム構成例を示す図である。同図において、一台以上のホストコンピュータ10と一台以上のプリンタ20とは、LAN(Local Area Network)等のネットワーク30(有線又は無線の別は問わない。)を介して接続されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing an example of a system configuration in the embodiment of the present invention. In the figure, one or
ホストコンピュータ10は、アプリケーションによって生成されたデータについてプリンタ20が解釈可能な印刷データを生成し、当該印刷データをプリンタ20に送信するコンピュータである。ホストコンピュータ10は、印刷データの生成過程において各種の画像処理を実行する。当該画像処理には、ジャギー補正処理も含まれる。すなわち、本実施の形態では、ホストコンピュータ10が画像処理装置に相当する。
The
プリンタ20は、ホストコンピュータ10より受信される印刷データに基づいて印刷を実行するインクジェットプリンタである。すなわち、プリンタ20は、ノズルヘッドを備え、ノズルヘッドに設けられたノズルよりインクを吐出することにより記録媒体(印刷用紙)に対して画像を形成する。本実施の形態において、プリンタ20は、記録媒体における一つのドットについて、滴なし、小滴、中滴、及び大滴の4階調の表現が可能であるとする。但し、本発明の適用範囲が、1ドットあたり4階調の表現が可能なプリンタのみに限定されるわけではない。
The
図2は、本発明の実施の形態におけるホストコンピュータの機能構成例を示す図である。同図において、ホストコンピュータ10は、アプリケーション11、描画データメモリ12、ラスタライザ13、ラスタデータメモリ14、インタフェース部15、フォント処理部16、フォントデータメモリ17、補正定義ファイル18、及び印刷設定UI部19等を有する。
FIG. 2 is a diagram illustrating a functional configuration example of the host computer according to the embodiment of the present invention. In the figure, a
アプリケーション11から発行される画像や文字のプリント命令(例えば画像の線の位置・太さ・形、文字の書体・大きさ・位置など)は描画データメモリ12に一旦蓄積される。ラスタライザ13は、描画データメモリ12に記憶されたプリント命令を読み込んで解釈し、線の描画命令であれば指定された位置や太さ等に応じた画像データ(例えば、ビットマップ等のドットパターン)に変換し、文字の記録命令であればフォントデータメモリ17より、対応したフォントデータを取り込み、インクジェットプリンタ20で記録可能なラスタデータを生成する。このラスタデータはラスタデータメモリ14に一旦蓄積され、インタフェース部15を介してインクジェットプリンタ20に出力される。
Image and character print commands issued from the application 11 (for example, image line position / thickness / shape, character font / size / position, etc.) are temporarily stored in the
文字の画像データへの展開はラスタライザ13と独立したフォント処理部16で行われる。ただし、フォント処理部16とラスタライザ13とを統合してもよい。また、ラスタライザ13及びフォント処理部16は、プリンタドライバなどのソフトウェアとして実現されるのが一般的であろうが、その一方又は両方をハードウェアとして実現してもよい。
Expansion of characters into image data is performed by a
フォント処理部16は、展開部161及びジャギー補正部162を含む。展開部161は、文字を2値の画像データ(フォントデータ)に展開する。ジャギー補正部162は、印刷設定UI部19が表示させる印刷設定画面における設定内容や補正定義ファイル18等に基づいて、フォントデータにおける文字輪郭部についてジャギー補正を行う。なお、印刷設定画面は、一般的にプリンタドライバによって表示される、印刷条件等を設定させるための画面である。
The
本実施の形態では、フォントデータに対してジャギー補正が施される例を説明する。ただし、文字だけでなく他の2値画像、例えばグラフィックス画像の斜線などに対しても同様のジャギー補正を施す態様も本発明に包含される。そのようなジャギー補正は、ラスタライザ13で実行してもよいし、別に設けたジャギー補正手段において実行してもよい。
In this embodiment, an example in which jaggy correction is performed on font data will be described. However, a mode in which similar jaggy correction is performed not only on characters but also on other binary images, for example, diagonal lines of graphics images, is also included in the present invention. Such jaggy correction may be executed by the
図3は、本発明の実施の形態におけるホストコンピュータのハードウェア構成例を示す図である。図3のホストコンピュータ10は、それぞれバスBで相互に接続されているドライブ装置100と、補助記憶装置102と、メモリ装置103と、CPU104と、インタフェース装置105と、表示装置106と、入力装置107とを有するように構成される。
FIG. 3 is a diagram illustrating a hardware configuration example of the host computer according to the embodiment of the present invention. The
ホストコンピュータ10での処理を実現するプログラムは、CD−ROM等の記録媒体101によって提供される。プログラムを記録した記録媒体101がドライブ装置100にセットされると、プログラムが記録媒体101からドライブ装置100を介して補助記憶装置102にインストールされる。補助記憶装置102は、インストールされたプログラムを格納すると共に、必要なファイルやデータ等を格納する。例えば、補正定義ファイル18やフォントデータ等は、補助記憶装置102に記録される
メモリ装置103は、プログラムの起動指示があった場合に、補助記憶装置102からプログラムを読み出して格納する。メモリ装置103は、また、描画データメモリ12、ラスタデータメモリ14、及びフォントデータメモリ17等に対応する記憶領域として用いられる。
A program for realizing processing in the
CPU104は、メモリ装置103に格納されたプログラムに従ってホストコンピュータ10に係る機能(例えば、ラスタライザ13、インタフェース部15、フォント処理部16、及び印刷設定UI部19等)を実現する。インタフェース装置105は、ネットワークに接続するためのインタフェースとして用いられる。表示装置106はプログラムによるGUI(Graphical User Interface)等を表示する。入力装置107はキーボード及びマウス等で構成され、様々な操作指示を入力させるために用いられる。
The
なお、プログラムのインストールは必ずしも記録媒体101より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。
The program need not be installed from the
以下、ホストコンピュータ10による処理手順について説明する。まず、ジャギー補正部162によるジャギー補正処理について説明する。本実施の形態におけるジャギー補正部162は、フォントデータにおける文字の輪郭の境界に係る画素について、新たに小滴若しくは中滴によって印字する画素を追加したり、又は既に印字対象とされている画素の滴種を変更したりすることにより文字輪郭部のジャギー補正を行う。
Hereinafter, the processing procedure by the
図4は、フォントデータの一部の画素の例を概念的に示す図である。同図において、黒丸は当該画素に基づいて印字されるインク滴を示す。すなわち、黒丸が存在する画素は印字対象である。また、黒丸の大きさはインク滴のサイズを示す。したがって、印字する画素の追加とは、同図において黒丸が存在しない画素(以下、「ブランクの画素」という。)に対して小滴又は中滴に対応するサイズの黒丸の追加を意味する。また、滴種の変更とは、黒丸のサイズの変更を意味する。なお、フォントデータの初期状態として、印字対象の画素は大滴とされる。具体的には、1画素が1バイトによって表現され、0が滴なしで255が大滴に対応する場合、補正前に印字対象の画素の画素値は255とされ、印字対象でない画素値は0に初期化される。 FIG. 4 is a diagram conceptually illustrating an example of a part of pixels of font data. In the figure, black circles indicate ink droplets printed based on the pixels. That is, a pixel with a black circle is a printing target. The size of the black circle indicates the size of the ink droplet. Therefore, the addition of a pixel to be printed means the addition of a black circle having a size corresponding to a small droplet or a medium droplet with respect to a pixel having no black circle (hereinafter referred to as “blank pixel”) in FIG. Moreover, the change of the drop type means the change of the size of the black circle. As an initial state of the font data, a pixel to be printed is a large droplet. Specifically, when 1 pixel is represented by 1 byte, 0 is no drop and 255 corresponds to a large drop, the pixel value of the pixel to be printed is set to 255 before correction, and the pixel value not to be printed is 0. It is initialized to.
ドットの追加又はドットサイズの変更の対象とされる画素(以下「補正対象の画素」という。)は、パターンマッチングにより判別される。パターンマッチングには仮想的なウィンドウが用いられる。 Pixels that are the targets of dot addition or dot size change (hereinafter referred to as “correction target pixels”) are determined by pattern matching. A virtual window is used for pattern matching.
図5は、パターンマッチングに用いられる仮想的なウィンドウの例を示す図である。同図には、m×n画素のウィンドウが示されている。ここで、注目画素として示されている画素が、パターンマッチングにおいて補正対象とされる画素となる。なお、mとnの値は同じでもよいし、異なっていてもよい。 FIG. 5 is a diagram illustrating an example of a virtual window used for pattern matching. In the figure, an m × n pixel window is shown. Here, the pixel indicated as the target pixel is a pixel to be corrected in the pattern matching. Note that the values of m and n may be the same or different.
以上をふまえて、ジャギー補正処理の処理手順についてフローチャートを用いて説明する。図6は、ジャギー補正部によるジャギー補正処理の処理手順を説明するためのフローチャートである。 Based on the above, the processing procedure of the jaggy correction processing will be described using a flowchart. FIG. 6 is a flowchart for explaining the processing procedure of the jaggy correction processing by the jaggy correction unit.
まず、フォントデータの先頭画素を注目画素とする(S101)。続いて、注目画素を例えば中心としたm×nのウィンドウに対応した画素によって構成されるビットマップデータをフォントデータより抽出し(S102)、予め用意されたm×nのサイズの参照パターンとのパターンマッチングを行う(S103)。参照パターンとは、注目画素が補正対象となる場合のドット配置を表すものである。 First, the first pixel of the font data is set as a target pixel (S101). Subsequently, bitmap data composed of pixels corresponding to an m × n window centered on the target pixel, for example, is extracted from the font data (S102), and the reference pattern prepared in advance with an m × n size reference pattern is extracted. Pattern matching is performed (S103). The reference pattern represents a dot arrangement when the target pixel is a correction target.
図7は、参照パターンの例を示す図である。同図では、ウィンドウサイズが3×3に対応した参照パターンの例が示されている。なお、参照パターンは、複数存在しうる。 FIG. 7 is a diagram illustrating an example of a reference pattern. In the figure, an example of a reference pattern corresponding to a window size of 3 × 3 is shown. There may be a plurality of reference patterns.
パターンマッチングにおいて、抽出されたビットマップデータが参照パターンにマッチした場合には(S104でYes)、注目画素を補正する(S105)。すなわち、注目画素が、新たに小滴若しくは中滴に対応する印字対象とされる。又は、注目画素の滴種が変更される。例えば、滴なしが0、大滴が255によって表現される場合、小滴とされた画素は、その画素値を例えば85とすればよい。中滴とされた画素は、その画素値を例えば170とすればよい。なお、どのような場合にどのような補正が行われるかについては後述する。 In the pattern matching, when the extracted bitmap data matches the reference pattern (Yes in S104), the target pixel is corrected (S105). That is, the target pixel is newly set as a print target corresponding to a small droplet or a medium droplet. Alternatively, the drop type of the target pixel is changed. For example, when no drop is represented by 0 and a large drop is represented by 255, the pixel value of a small drop pixel may be set to 85, for example. The pixel value of the medium drop may be set to 170, for example. Note that what correction is performed in which case will be described later.
続いて、注目画素を次の画素位置に移動し(S106)、ステップS102から処理を繰り返す。パターンマッチングでマッチしない場合は(S104でNo)、ステップS105をスキップしステップS106に進む。このような処理は、フォントデータの全画素が処理済みとなるまで(S107でYes)繰り返される。また、パターンマッチングすべき参照パターンが複数存在する場合は、複数の参照パターンについて図6の処理が実行される。 Subsequently, the target pixel is moved to the next pixel position (S106), and the processing is repeated from step S102. If the pattern matching does not match (No in S104), step S105 is skipped and the process proceeds to step S106. Such processing is repeated until all the pixels of the font data have been processed (Yes in S107). When there are a plurality of reference patterns to be pattern-matched, the process of FIG. 6 is executed for the plurality of reference patterns.
続いて、図6の前に実行される処理について説明する。図8は、ジャギー補正の前処理を説明するためのフローチャートである。 Next, processing executed before FIG. 6 will be described. FIG. 8 is a flowchart for explaining preprocessing for jaggy correction.
ユーザによる印刷指示時において、印刷設定UI部19は、印刷設定画面を表示させ、印刷条件等と共にジャギー補正の補正タイプ(補正の種類)の設定の設定を受け付ける(S201)。設定された補正タイプはジャギー補正部16に伝達され、保持される。
At the time of printing instruction by the user, the print setting UI unit 19 displays a print setting screen, and accepts the setting of the correction type (correction type) of the jaggy correction together with the printing conditions (S201). The set correction type is transmitted to the
図9は、補正タイプを説明するための図である。同図に示されるように、補正タイプに応じて補正内容(補正の方法)が異なる。具体的には、補正タイプ1は、ブランクの注目画素を常に小滴とするものである。補正タイプ2は、ブランクの注目画素を常に中滴とするものである。補正タイプ3は、ブランクの注目画素を小滴又は中滴とするものである。すなわち、補正タイプ3による補正結果は、小滴及び中滴が混在しうる。補正タイプ4は、ブランクでない(すなわち、大滴)の注目画素の滴種を中滴に変更するものである。補正タイプ5は、補正タイプ3と補正タイプ4を合わせたものである。このように、補正タイプは、注目画素に適用されるインク滴のサイズに応じて異なる。また、補正タイプは、注目画素について適用対象とされるインク的のサイズの組み合わせに応じて異なる。
FIG. 9 is a diagram for explaining the correction type. As shown in the figure, the correction content (correction method) differs depending on the correction type. Specifically, in the
なお、いずれの補正タイプによる補正結果が望ましいかは、ユーザに応じて異なる。文字輪郭部分が滑らかに見えても線の細い文字になってしまったりすることがあるからである。したがって、ユーザに補正タイプを選択させることによって、ユーザ所望のジャギー補正を行うことができる。 Note that which correction type is desirable for the correction result depends on the user. This is because even if the character outline portion looks smooth, it may become a thin line character. Therefore, the user-desired jaggy correction can be performed by allowing the user to select the correction type.
印刷の開始が指示され、アプリケーション11より文字のプリント命令が描画データメモリ12に入力されると、ジャギー補正部162は、出力解像度(印刷時の解像度)に基づいてパターンマッチングに用いるウィンドウのサイズ(m×nの値)を判定する(S201)。出力解像度とウィンドウサイズとの対応は、ロジックとしてジャギー補正部162に組み込まれていてもよいし(すなわち、ハードコーディング)、又は外部ファイルに定義されていてもよい。基本的に、解像度が高いほどウィンドウサイズを大きくするとよい。また、出力解像度は、ユーザによる印刷指示時において印刷設定UI部19が表示させる印刷設定画面において設定されてもよいし、プリンタ20が対応している解像度に基づいて自動的に判断されてもよい。
When the start of printing is instructed and a character print command is input from the
続いて、ジャギー補正部162は、判定されたウィンドウサイズに対応する補正定義ファイル18をオープンする(S202)。すなわち、本実施の形態では、ウィンドウサイズごと(換言すれば、解像度ごと)に補正定義ファイル18が管理されている。
Subsequently, the
図10は、補正定義ファイルの構成例を示す図である。同図において、補正定義ファイル18には、当該ウィンドウサイズに対応する参照パターンが、補正タイプごとに定義されている。補正タイプ1の参照パターンとしては、注目画素に小滴を追加するための参照パターン(小滴追加パターン)の識別情報(ファイル名等)が登録されている。補正タイプ2の参照パターンとしては、注目画素に中滴を追加するための参照パターン(中滴追加パターン)の識別情報が登録されている。補正タイプ3の参照パターンとしては、小滴追加パターンの識別情報と中滴追加パターンの識別情報とが登録されている。補正タイプ4の参照パターンとしては、注目画素の大滴を中滴に変更するための参照パターン(滴種変更パターン)の識別情報が登録されている。補正パターン5の参照パターンとしては、小滴追加パターン、中滴追加パターン、及び滴種変更パターンの識別情報が登録されている。
FIG. 10 is a diagram illustrating a configuration example of the correction definition file. In the figure, the
なお、補正タイプ1、3、及び5における小滴追加パターンは、同一であるとは限らない。同様に、補正タイプ3及び5における中滴追加パターン、補正タイプ4及び5における滴種変更パターンについても同一であるとは限らない。
Note that the droplet addition patterns in the
また、図中における「小滴追加パターン」、「中滴追加パターン」、及び「滴種変更パターン」は、それぞれ、一つの参照パターンであるとは限らない。それぞれについて複数の参照パターンが登録されていてもよい。 Further, the “small droplet addition pattern”, “medium droplet addition pattern”, and “droplet type change pattern” in the figure are not necessarily one reference pattern. A plurality of reference patterns may be registered for each.
また、補正定義ファイル18は、容易に書き換え可能である。したがって、補正タイプに応じた参照パターンは容易に変更可能である。
The
続いて、ジャギー補正部162は、ユーザによって設定された補正タイプに対応する参照パターンを補正定義ファイル18に基づいて判定し(決定)、当該参照パターンをメモリ上に読み込む(S204)。続いて、展開部161は、プリント命令の対象とされた文字のフォントデータをフォントデータメモリ17に展開する(S205)。
Subsequently, the
続いて、図6において説明したジャギー補正処理が実行される(S206)。したがって、図6におけるパターンマッチングでは、解像度及び補正タイプに基づいて決定された参照パターンデータが用いられる。また、図6のステップS105においては、補正タイプに応じた補正が行われる。 Subsequently, the jaggy correction process described in FIG. 6 is executed (S206). Therefore, the pattern matching in FIG. 6 uses reference pattern data determined based on the resolution and the correction type. In step S105 of FIG. 6, correction according to the correction type is performed.
例えば、補正タイプ1の場合、注目画素は小滴とされる。補正タイプ2の場合、注目画素は中滴とされる。補正タイプ3の場合、小滴追加パターンとマッチした際の注目画素は小滴とされ、中滴追加パターンとマッチした際の注目画素は中滴とされる。補正タイプ4の場合、注目画素は中滴に変更される。補正タイプ5の場合、小滴追加パターンとマッチした際の注目画素は小滴とされ、中滴追加パターンとマッチした際の注目画素は中滴とされ、滴種変更パターンとマッチした際の注目画素は中滴に変更される。
For example, in the case of
その結果、同一のソース(補正元のフォントデータ)に基づいて、補正タイプに応じて以下のような補正結果が得られる。図11は、補正タイプに応じたジャギー補正結果の例を示す図である。 As a result, the following correction result is obtained according to the correction type based on the same source (correction source font data). FIG. 11 is a diagram illustrating an example of a jaggy correction result corresponding to the correction type.
同図において、最上段は補正前の状態(ソース)を示す。2段目は、補正タイプ1の補正結果を示す。当該補正結果では、ブランクであった画素の一部に小滴が追加されている。3段目は、補正タイプ2の補正結果を示す、当該補正結果では、ブランクであった画素の一部に中滴が追加されている。4段目は、補正タイプ3の補正結果を示す。当該補正結果では、ブランクであった画素の一部に小敵又は中滴が追加されている。5段目は、補正タイプ4の補正結果を示す。当該補正結果では、大滴であった画素の一部が中滴に変更されている。6段目は、補正タイプ5の補正結果を示す。当該補正結果では、当該補正結果では、ブランクであった画素の一部に小敵又は中滴が追加され、更に、大滴であった画素の一部が中滴に変更されている。
In the figure, the top row shows a state (source) before correction. The second row shows the
上述したように、本実施の形態におけるホストコンピュータ10は、ジャギー補正の補正タイプをユーザに選択させることができ、選択された補正タイプに応じた補正処理を実行する。したがって、ユーザの好みに応じたジャギー補正を実行することができる。
As described above, the
また、補正タイプに応じて利用される参照パターンは、容易に書き換え可能な補正定義ファイル18において定義されている。したがって、補正タイプに応じた参照パターンを、ジャギー補正部162に係るプログラムのソースコードを変更することなく簡便に変更することができる。このことは、ジャギー補正の内容を容易に変更できることを意味する。
The reference pattern used according to the correction type is defined in the
なお、本実施の形態では、ホストコンピュータ10においてジャギー補正が実行される例について説明したが、プリンタ20においてジャギー補正が行われてもよい。この場合、プリンタ20が画像処理装置に相当する。
In this embodiment, the example in which the
以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 As mentioned above, although the Example of this invention was explained in full detail, this invention is not limited to such specific embodiment, In the range of the summary of this invention described in the claim, various deformation | transformation・ Change is possible.
10 ホストコンピュータ
11 アプリケーション
12 描画データメモリ
13 ラスタライザ
14 ラスタデータメモリ
15 インタフェース部
16 フォント処理部
17 フォントデータメモリ
18 補正定義ファイル
19 印刷設定UI部19
20 プリンタ
100 ドライブ装置
101 記録媒体
102 補助記憶装置
103 メモリ装置
104 CPU
105 インタフェース装置
106 表示装置
107 入力装置
B バス
10
20
105
Claims (11)
前記画像データについてジャギー補正の種類の指定を受け付ける補正種類入力手段と、
前記ジャギー補正の種類に基づいてパターンマッチングに用いる参照パターンを決定する参照パターン決定手段と、
前記参照パターンを用いて前記画像データに対してパターンマッチングを行い、マッチした範囲における所定の画素について前記補正の種類に応じた処理を実行する補正手段とを有することを特徴とする画像処理装置。 An image processing apparatus that executes image processing related to image data to be printed by an inkjet printer,
Correction type input means for accepting designation of the type of jaggy correction for the image data;
Reference pattern determining means for determining a reference pattern used for pattern matching based on the type of the jaggy correction;
An image processing apparatus comprising: a correction unit configured to perform pattern matching on the image data using the reference pattern, and to execute a process according to the type of correction on a predetermined pixel in the matched range.
前記参照パターン決定手段は、前記定義ファイルを用いてパターンマッチングに用いる参照パターンを決定することを特徴とする請求項1記載の画像処理装置。 A storage unit in which a definition file including information for identifying the reference pattern according to the type of the jaggy correction is recorded;
The image processing apparatus according to claim 1, wherein the reference pattern determination unit determines a reference pattern used for pattern matching using the definition file.
前記画像データについてジャギー補正の種類の指定を受け付ける補正種類入力手順と、
前記ジャギー補正の種類に基づいてパターンマッチングに用いる参照パターンを決定する参照パターン決定手順と、
前記参照パターンを用いて前記画像データに対してパターンマッチングを行い、マッチした範囲における所定の画素について前記補正の種類に応じた処理を実行する補正手順とを有することを特徴とする画像処理方法。 An image processing method executed by an image processing apparatus for image data to be printed by an inkjet printer,
A correction type input procedure for accepting designation of a jaggy correction type for the image data;
A reference pattern determination procedure for determining a reference pattern used for pattern matching based on the type of the jaggy correction;
An image processing method comprising: performing a pattern matching on the image data using the reference pattern, and executing a process according to the type of correction on a predetermined pixel in the matched range.
前記参照パターン決定手順は、前記定義ファイルを用いてパターンマッチングに用いる参照パターンを決定することを特徴とする請求項6記載の画像処理方法。 The image processing apparatus includes a storage unit in which a definition file including information for identifying the reference pattern according to the type of the jaggy correction is recorded.
The image processing method according to claim 6, wherein the reference pattern determination procedure determines a reference pattern to be used for pattern matching using the definition file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007313956A JP2009141529A (en) | 2007-12-04 | 2007-12-04 | Device and method for processing image, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007313956A JP2009141529A (en) | 2007-12-04 | 2007-12-04 | Device and method for processing image, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009141529A true JP2009141529A (en) | 2009-06-25 |
Family
ID=40871731
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007313956A Pending JP2009141529A (en) | 2007-12-04 | 2007-12-04 | Device and method for processing image, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009141529A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019123078A (en) * | 2018-01-11 | 2019-07-25 | キヤノン株式会社 | Inkjet recording device, image processing method and program |
-
2007
- 2007-12-04 JP JP2007313956A patent/JP2009141529A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019123078A (en) * | 2018-01-11 | 2019-07-25 | キヤノン株式会社 | Inkjet recording device, image processing method and program |
JP7041520B2 (en) | 2018-01-11 | 2022-03-24 | キヤノン株式会社 | Inkjet recording equipment, image processing methods and programs |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10315436B2 (en) | Control device and method for printing first image and second image | |
JP4941153B2 (en) | Device driver | |
US20120140249A1 (en) | Information processing device, information processing method, and computer program product | |
JP2018116442A (en) | Print control device, page data correction method, raster data generation method, page data correction program, and raster data generation program | |
JP4564986B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP5025338B2 (en) | Image processing apparatus, printer, image processing method, and image processing program | |
EP1128329A2 (en) | Image processing apparatus and method | |
JP2009141529A (en) | Device and method for processing image, and program | |
US9712718B2 (en) | Image processing apparatus, image processing method, and storage medium | |
JP5359800B2 (en) | Image processing apparatus and program | |
JP6330790B2 (en) | Print control system, print control apparatus, and program | |
US9363414B2 (en) | Halftone mechanism | |
EP1988490A1 (en) | Selective density enhancement of graphical objects | |
JP5112223B2 (en) | Image processing apparatus and image processing program | |
US20150043034A1 (en) | Printing control device, printing control method, and printing control program | |
US8086069B2 (en) | Data-generating apparatus, method, and program for image forming | |
JP2019004380A (en) | Image processing apparatus, control method thereof, and program | |
JP2011124637A (en) | Printing system, print data generation device, and printer | |
JP5131144B2 (en) | Image processing apparatus, image processing program, and image forming apparatus | |
JP2005178178A (en) | Printing system and printing control method | |
KR100571788B1 (en) | The method of printing the appointed domain of document enlargeably | |
JP6866107B2 (en) | Image processing equipment, image processing methods, and programs | |
US9729756B2 (en) | Image forming system that restrains increase of print data amount, image forming apparatus, and recording medium | |
JP2004326659A (en) | Image processor | |
JP2019014064A (en) | Hybrid workflow system and rasterization device |