JP3462423B2 - Medium recording print control program, print control device, and print control method - Google Patents

Medium recording print control program, print control device, and print control method

Info

Publication number
JP3462423B2
JP3462423B2 JP8730199A JP8730199A JP3462423B2 JP 3462423 B2 JP3462423 B2 JP 3462423B2 JP 8730199 A JP8730199 A JP 8730199A JP 8730199 A JP8730199 A JP 8730199A JP 3462423 B2 JP3462423 B2 JP 3462423B2
Authority
JP
Japan
Prior art keywords
processing
gradation conversion
pixel interpolation
interpolation
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP8730199A
Other languages
Japanese (ja)
Other versions
JP2000209435A (en
Inventor
直樹 鍬田
至宏 中見
隆志 新田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP8730199A priority Critical patent/JP3462423B2/en
Publication of JP2000209435A publication Critical patent/JP2000209435A/en
Application granted granted Critical
Publication of JP3462423B2 publication Critical patent/JP3462423B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ドットマトリクス
状の画素からなる画像データに基づいて印刷装置で印刷
を実行させる印刷制御プログラムを記録した媒体、印刷
制御方法および印刷制御装置に関し、特に、印刷品質に
応じて最適な処理を実行する印刷制御プログラムを記録
した媒体、印刷制御方法および印刷制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a medium recording a print control program for causing a printing apparatus to execute printing on the basis of image data composed of pixels in a dot matrix, a print control method, and a print control apparatus, and more particularly, printing. The present invention relates to a medium in which a print control program for executing optimal processing according to quality is recorded, a print control method, and a print control device.

【0002】[0002]

【従来の技術】コンピュータなどで画像を扱う際には、
画像をドットマトリクス状の画素で表現し、各画素を階
調値で表している。例えば、コンピュータの画面で水平
方向に640ドット、垂直方向に480ドットの画素で
写真やコンピュータグラフィックスを表示することが多
い。
2. Description of the Related Art When handling images on a computer or the like,
The image is represented by pixels in a dot matrix, and each pixel is represented by a gradation value. For example, on a computer screen, photographs and computer graphics are often displayed with 640 dots in the horizontal direction and 480 dots in the vertical direction.

【0003】一方、カラープリンタの性能向上がめざま
しく、そのドット密度は720dpi(dot/inc
h)というように極めて高精度となっている。すると、
640×480ドットの画像をドット単位で対応させて
印刷させようとすると極めて小さくなってしまう。この
場合、階調値も異なる上、解像度の意味合い自体が異な
るのであるから、ドット間を補間して印刷用のデータに
変換しなければならない。すなわち、1体1の対応では
画像が小さく印刷されてしまうなら画像データの画素を
増やす処理(これを高解像度化あるいは拡大化と呼ぶ)
を行うし、逆の場合には画像データの画素を減らす処理
(これを低解像度化あるいは縮小化と呼ぶ)を行う。
On the other hand, the performance of a color printer is remarkably improved, and its dot density is 720 dpi (dot / inc).
As shown in h), the accuracy is extremely high. Then,
If an image of 640 × 480 dots is made to correspond to each other and printed in dot units, it becomes extremely small. In this case, since the gradation value is different and the meaning of the resolution itself is different, it is necessary to interpolate the dots and convert the data into data for printing. That is, if the image is printed in a small size with the correspondence of one body, the process of increasing the number of pixels of the image data (this is called high resolution or enlargement).
In the opposite case, a process of reducing the number of pixels of the image data (this is called resolution reduction or reduction) is performed.

【0004】従来、このような場合にドットを補間する
手法として、最近隣内挿法(ニアリストネイバ補間:以
下、ニアリスト法と呼ぶ)や、3次たたみ込み内挿法
(キュービックコンボリューション補間:以下、キュー
ビック法と呼ぶ)などの手法が知られている。また、特
開平6−225140号公報にはドットを補間したとき
の縁部のスムージングを行うにあたり、予め縁部がスム
ーズとなるような拡大形態となるようにドットパターン
を用意しておく技術が開示されている。
Conventionally, as a method of interpolating dots in such a case, a nearest neighbor interpolation method (near list neighbor interpolation: hereinafter referred to as a near list method) or a cubic convolution interpolation method (cubic convolution interpolation) : Hereinafter, referred to as the cubic method) is known. Further, Japanese Laid-Open Patent Publication No. 6-225140 discloses a technique of preparing a dot pattern in advance so that the edge portion is smoothed when smoothing the edge portion when dots are interpolated. Has been done.

【0005】また、コンピュータの内部であるとかディ
スプレイにとっては階調表示が容易であるものの、カラ
ープリンタにおいては一般的に色インクでドットを付す
か否かの二階調表現しかできないことが多い。従って、
多階調表示を二階調表示とする階調変換処理を実施する
ことになる。
Although it is easy to display gradation in a computer or in a display, a color printer generally can only perform two gradation expression as to whether or not dots are formed with color ink. Therefore,
A gradation conversion process for changing the multi-gradation display to the 2-gradation display is performed.

【0006】[0006]

【発明が解決しようとする課題】上述したように画像デ
ータに基づいて印刷装置で印刷を行うためには、画素補
間処理や階調変換処理を実行しなければならない。
As described above, in order to print with the printing device based on image data, it is necessary to execute pixel interpolation processing and gradation conversion processing.

【0007】画素補間処理や階調変換処理は、コンピュ
ータ上の一つのユーザーインターフェイスで選択できる
とはいうものの、それぞれは全く独立しており、画質や
処理速度を意識しながら別個に指示していた。しかしな
がら、実際にはそれぞれの画質や処理速度の組合せ如何
で所望の結果が得られるか否か影響を受け、熟練者以外
は無駄が多くなるという課題があった。また、画素補間
処理におけるニアリスト法やキュービック法などの各種
の手法にはそれぞれに得失があるが、利用者がそれを選
択するのは難しく、どちらか一方に固定したとすれば、
不得手な画像に対して補間結果の品質が低下する。さら
に、特開平6−225140号公報に開示された発明に
おいては、予めパターンを用意しておくことから補間倍
率が固定的にならざるを得ないし、カラーの画像を前提
とするとパターンの数が膨大となって予め用意しておく
こと自体が困難である。
Although the pixel interpolation processing and the gradation conversion processing can be selected by one user interface on the computer, they are completely independent of each other, and they are instructed separately in consideration of the image quality and the processing speed. .. However, in actuality, there is a problem in that a person other than a skilled person has a large amount of waste, depending on whether or not a desired result is obtained depending on a combination of image quality and processing speed. Also, although there are advantages and disadvantages in various methods such as the near-list method and the cubic method in the pixel interpolation processing, it is difficult for the user to select it, and if fixed to either one,
The quality of the interpolation result deteriorates for images that are not good. Further, in the invention disclosed in Japanese Unexamined Patent Publication No. 6-225140, since the patterns are prepared in advance, the interpolation magnification must be fixed, and assuming a color image, the number of patterns is enormous. Therefore, it is difficult to prepare in advance.

【0008】一方、本件発明に先立って本出願人は、キ
ュービック法によって補間処理した後、補間後の画像デ
ータに対して重ねてニアリスト法による補間処理を行う
補間手法を考案した。これにより、キュービック法によ
る補間精度の良さを活かしつつ、ニアリスト法による演
算処理速度の速さを活かすことができるようになった。
この場合、180dpiをしきい値とし、入力される画
像データを一旦キュービック法によって180dpi以
上に補間処理した後、360dpiであるとか720d
piといった本来の印刷データとして必要となる解像度
までニアリスト法による補間処理を行うこととした。す
なわち、キュービック法だけで本来の補間倍率まで補間
処理を実行しようとすると演算量が急激に増加してしま
うし、ニアリスト法だけで補間処理を実行する場合には
ジャギーが目立ってしまうため、これらを避けるために
二段階に補間処理をすることとした。
On the other hand, prior to the present invention, the applicant of the present invention has devised an interpolation method for performing interpolation processing by the cubic method and then performing interpolation processing by the near-list method on the image data after the interpolation. As a result, it is possible to make use of the high processing speed of the near-list method while taking advantage of the good interpolation accuracy of the cubic method.
In this case, with 180 dpi as the threshold value, the input image data is once subjected to an interpolation process of 180 dpi or more by the cubic method, and then 360 dpi or 720 d.
Interpolation processing by the near-list method is performed up to the resolution required for the original print data such as pi. In other words, if the cubic method alone is used to perform the interpolation processing up to the original interpolation magnification, the amount of calculation will increase sharply, and if the interpolation processing is performed only with the near-list method, jaggies will be noticeable. In order to avoid this, we decided to perform interpolation processing in two steps.

【0009】しかしながら、最終的に印刷される解像度
が異なりながら同じしきい値で補間処理を切り替えるこ
とにしておくと、高解像度で印刷するときには次のよう
な場合に不具合が生じる。例えば、元の画像データが1
70dpiのものと185dpiのものがあったとする
と、前者のものはキュービック法によって180dpi
以上に補間処理した後、720dpiまでニアリスト法
で補間処理される。演算処理の都合から、キュービック
法では整数倍の補間処理を行うようにしたため、キュー
ビック法では340dpiに補間される。一方、185
dpiで入力された画像はキュービック法による補間処
理を経ることなく、ニアリスト法で720dpiまで補
間処理される。
However, if the interpolation process is switched with the same threshold value even if the resolutions to be finally printed are different, a problem occurs in the following cases when printing with high resolution. For example, if the original image data is 1
If there are 70 dpi and 185 dpi, the former one is 180 dpi by the cubic method.
After the above interpolation processing, the interpolation processing is performed up to 720 dpi by the near list method. Because of the convenience of the arithmetic processing, the cubic method is designed to perform an integral multiple interpolation processing, so that the cubic method is interpolated to 340 dpi. On the other hand, 185
An image input in dpi is subjected to interpolation processing up to 720 dpi by the near-list method without undergoing interpolation processing by the cubic method.

【0010】この場合、前者のものはキュービック法に
よって340dpiまで補間処理されることによって画
質が向上する一方、後者のものはニアリスト法だけで補
間処理されているので、元の画像データは前者のものの
方が劣るにも関わらず、アウトプットは前者のものの画
質の方がよくなるという逆転現象が起きてしまう。本発
明は、上記課題にかんがみてなされたもので、直接的あ
るいは間接的に印刷品質が指示されるような状況におい
て、最適な印刷を実行させることが可能な印刷制御プロ
グラムを記録した媒体、印刷制御方法および印刷制御装
置を提供することを目的とする。
In this case, the image quality is improved by the former one being interpolated by the cubic method up to 340 dpi, while the latter one is interpolated only by the near-list method, so that the original image data is the former one. Although the output of the former is inferior, the output of the former has a better image quality, which causes a reversal phenomenon. The present invention has been made in view of the above problems, and in a situation where print quality is directly or indirectly instructed, a medium recording a print control program capable of executing optimum printing, a print An object of the present invention is to provide a control method and a print control device.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、請求項1にかかる発明は、画像をドットマトリクス
状の画素で表現した画像データを入力して印刷装置にて
印刷させるために補間処理と階調変換処理とを含む印刷
制御処理をコンピュータに実行させる印刷制御プログラ
ムを記録した媒体であって、予め画素補間手法と階調変
換手法とで所定のパフォーマンスを得られる複数の組合
せを設定しておき、上記所定のパフォーマンスを選択す
るための設定画面を表示し、同設定画面における設定に
基づいて上記組合せに対応した画素補間処理と階調変換
処理を選択し、上記印刷制御処理では上記選択された画
素補間処理を実行してから同選択された階調変換処理を
実行させる構成としてある。
In order to achieve the above object, the invention according to claim 1 provides an interpolation process for inputting image data in which an image is represented by pixels in a dot matrix form and printing it by a printing device. And a gradation conversion process, which is a medium in which a printing control program for causing a computer to execute a printing control process is recorded, and a plurality of combinations that can obtain a predetermined performance are set in advance by the pixel interpolation method and the gradation conversion method. The setting screen for selecting the predetermined performance is displayed, the pixel interpolation process and the gradation conversion process corresponding to the combination are selected based on the setting on the setting screen, and the selection is performed in the print control process. The selected pixel interpolation processing is executed and then the selected gradation conversion processing is executed.

【0012】上記のように構成した請求項1にかかる発
明においては、予め画素補間手法と階調変換手法とで所
定のパフォーマンスを得られる複数の組合せを設定して
あり、ユーザーが設定画面の表示に基づいて所望のパフ
ォーマンスを選択すれば、同設定画面における設定に対
応する組合せに基づいて画素補間処理と階調変換処理と
が選択され、選択された画素補間処理と階調変換処理と
が実行される。
In the invention according to claim 1 configured as described above, a plurality of combinations capable of obtaining a predetermined performance are set in advance by the pixel interpolation method and the gradation conversion method, and the user displays the setting screen. If a desired performance is selected based on the above, the pixel interpolation processing and the gradation conversion processing are selected based on the combination corresponding to the setting on the setting screen, and the selected pixel interpolation processing and the gradation conversion processing are executed. To be done.

【0013】むろん、このような記録媒体は、磁気記録
媒体であってもよいし光磁気記録媒体であってもよい
し、今後開発されるいかなる記録媒体においても全く同
様に考えることができる。また、一次複製品、二次複製
品などの複製段階については全く問う余地無く同等であ
る。さらに、一部がソフトウェアであって、一部がハー
ドウェアで実現されている場合においても発明の思想に
おいて全く異なるものではなく、一部を記録媒体上に記
憶しておいて必要に応じて適宜読み込まれるような形態
のものとしてあってもよい。
Of course, such a recording medium may be a magnetic recording medium or a magneto-optical recording medium, and any recording medium to be developed in the future can be considered in exactly the same manner. In addition, the duplication stage of the primary duplication product, the secondary duplication product, and the like is absolutely the same. Furthermore, even when a part is software and a part is realized by hardware, the idea of the invention does not differ at all, and a part is stored on a recording medium and appropriately stored as necessary. It may be in a form that can be read.

【0014】このように予め画素補間手法と階調変換手
法とで所定のパフォーマンスを得られる複数の組合せを
設定してあり、ユーザーが設定画面の表示に基づいて所
望のパフォーマンスを選択すれば、同設定画面における
設定に対応する組合せに基づいて画素補間処理と階調変
換処理とが選択され、選択された画素補間処理と階調変
換処理とが実行される手法は、実体のあるコンピュータ
において実現され、その意味で本発明をそのようなコン
ピュータを含んだ実体のある装置としても適用可能であ
ることは容易に理解できる。このため、請求項5にかか
る発明は、画像をドットマトリクス状の画素で表現した
画像データを入力して印刷装置にて印刷させるために補
間処理と階調変換処理とを含む印刷制御処理を行なう印
刷制御装置であって、予め画素補間手法と階調変換手法
とで所定のパフォーマンスを得られる複数の組合せを設
定してある手段と、上記所定のパフォーマンスを選択す
るための設定画面を表示する手段と、同設定画面におけ
る設定に基づいて上記組合せに対応した画素補間処理と
階調変換処理を選択する手段と、上記印刷制御処理では
上記選択された画素補間処理を実行してから同選択され
た階調変換処理を実行する手段とを具備する構成として
ある。
As described above, a plurality of combinations that can obtain a predetermined performance are set in advance by the pixel interpolation method and the gradation conversion method, and if the user selects a desired performance based on the display of the setting screen, the same performance is obtained. A method in which the pixel interpolation processing and the gradation conversion processing are selected based on the combination corresponding to the setting on the setting screen and the selected pixel interpolation processing and the gradation conversion processing are executed is realized in a substantial computer. In that sense, it can be easily understood that the present invention can be applied as a substantial device including such a computer. Therefore, the invention according to claim 5 performs print control processing including interpolation processing and gradation conversion processing in order to input the image data in which the image is expressed by pixels in a dot matrix form and to print it by the printing apparatus. A print control device, means for presetting a plurality of combinations capable of obtaining a predetermined performance by a pixel interpolation method and a gradation conversion method, and means for displaying a setting screen for selecting the predetermined performance And means for selecting pixel interpolation processing and gradation conversion processing corresponding to the combination based on the setting on the setting screen, and the print control processing after the selected pixel interpolation processing is executed And a means for executing gradation conversion processing.

【0015】すなわち、コンピュータで制御される実体
のある装置としても有効であることに相違はない。むろ
ん、このような印刷制御装置は単独で実施される場合も
あるし、ある機器に組み込まれた状態で他の方法ととも
に実施されることもあるなど、発明の思想としてはこれ
に限らず、各種の態様を含むものであって、適宜、変更
可能である。また、このような印刷制御プログラムを記
録した媒体はかかる制御に従って処理を進めていく上
で、その根底にはその手順に発明が存在するということ
は当然であり、方法としても適用可能であることは容易
に理解できる。このため、請求項9にかかる発明は、画
像をドットマトリクス状の画素で表現した画像データを
入力して印刷装置にて印刷させるために補間処理と階調
変換処理とを含む印刷制御処理を行なう印刷制御方法で
あって、予め画素補間手法と階調変換手法とで所定のパ
フォーマンスを得られる複数の組合せを設定しておき、
上記所定のパフォーマンスを選択するための設定画面を
表示し、同設定画面における設定に基づいて上記組合せ
に対応した画素補間処理と階調変換処理を選択し、上記
印刷制御処理では上記選択された画素補間処理を実行し
てから同選択された階調変換処理を実行させる構成とし
てある。
That is, there is no difference in that it is effective as a substantial device controlled by a computer. Of course, such a print control device may be implemented independently, or may be implemented together with another method in a state where it is incorporated in a certain device. That is, it can be modified as appropriate. In addition, it goes without saying that the medium on which such a print control program is recorded advances the processing in accordance with such control, and that the invention exists in the procedure at the root, and it can be applied as a method. Is easy to understand. For this reason, the invention according to claim 9 performs print control processing including interpolation processing and gradation conversion processing in order to input image data in which an image is expressed by pixels in a dot matrix form and to print it by a printing device. A print control method, in which a plurality of combinations capable of obtaining a predetermined performance are set in advance by a pixel interpolation method and a gradation conversion method,
A setting screen for selecting the predetermined performance is displayed, pixel interpolation processing and gradation conversion processing corresponding to the combination are selected based on the setting on the setting screen, and the selected pixel is selected in the print control processing. The configuration is such that after the interpolation processing is executed, the selected gradation conversion processing is executed.

【0016】すなわち、必ずしも実体のある媒体などに
限らず、その方法としても有効であることに相違はな
い。
That is, there is no difference in that the method is not limited to the actual medium and the method is effective.

【0017】[0017]

【発明の効果】従来であれば、処理の内容と印刷品質と
の関連性を十分に把握できないまま補間処理や階調変換
処理を選択しなければならず、最適な補間処理や階調変
換処理を選択できないことがあったが、予め画素補間手
法と階調変換手法とで所定のパフォーマンスを得られる
複数の組合せを設定してあり、ユーザーが設定画面の表
示に基づいて所望のパフォーマンスを選択すれば、同設
定画面における設定に対応する組合せに基づいて画素補
間処理と階調変換処理とが選択され、非熟練者であって
も最適な処理を実行できるようになった。
According to the conventional method, the interpolation process or the gradation conversion process must be selected without sufficiently grasping the relationship between the processing contents and the print quality, and the optimum interpolation process or gradation conversion process must be selected. However, it is not possible to select the desired performance.However, the pixel interpolation method and gradation conversion method have been set in advance for multiple combinations that will give the desired performance. For example, the pixel interpolation process and the gradation conversion process are selected based on the combination corresponding to the setting on the setting screen, so that even an unskilled person can execute the optimum process.

【0018】[0018]

【発明の実施の形態】以下、図面にもとづいて本発明の
実施形態を説明する。ディジタル印刷処理では、画像を
ドットマトリクス状の画素で表現し、各画素を表すデー
タの集まりで画像データが構成される。まず、このよう
な画像データを処理する印刷システムのハードウェアに
ついて説明する。本実施形態においてはこのような印刷
システムを実現するハードウェアの一例としてカラープ
リンタを有するコンピュータシステム10を採用してい
る。図1は、同コンピュータシステム10をブロック図
により示している。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. In the digital printing process, an image is represented by pixels in a dot matrix, and image data is composed of a collection of data representing each pixel. First, the hardware of the printing system that processes such image data will be described. In this embodiment, a computer system 10 having a color printer is adopted as an example of hardware that realizes such a printing system. FIG. 1 is a block diagram showing the computer system 10.

【0019】本コンピュータシステム10は、画像入力
デバイスとして、スキャナ11aとデジタルスチルカメ
ラ11bとビデオカメラ11cとを備えており、コンピ
ュータ本体12に接続されている。それぞれの入力デバ
イスは画像をドットマトリクス状の画素で表現した画像
データを生成してコンピュータ本体12に出力可能とな
っており、ここで同画像データはRGBの三原色におい
てそれぞれ256階調表示することにより、約1670
万色を表現可能となっている。
The computer system 10 includes a scanner 11a, a digital still camera 11b, and a video camera 11c as image input devices, and is connected to the computer main body 12. Each input device can generate image data in which an image is expressed by pixels in a dot matrix shape and output the image data to the computer body 12. Here, the image data is displayed in 256 gradations in each of the three primary colors of RGB. , About 1670
It is possible to express all colors.

【0020】コンピュータ本体12には、外部補助記憶
装置としてのフロッピーディスクドライブ13aとハー
ドディスク13bとCD−ROMドライブ13cとが接
続されており、ハードディスク13bにはシステム関連
の主要プログラムが記録されており、フロッピーディス
クやCD−ROMなどから適宜必要なプログラムなどを
読み込み可能となっている。また、コンピュータ本体1
2を外部のネットワークなどに接続するための通信デバ
イスとしてモデム14aが接続されており、外部のネッ
トワークに同公衆通信回線を介して接続し、ソフトウェ
アやデータをダウンロードして導入可能となっている。
この例ではモデム14aにて電話回線を介して外部にア
クセスするようにしているが、LANアダプタを介して
ネットワークに対してアクセスする構成とすることも可
能である。この他、コンピュータ本体12の操作用にキ
ーボード15aやマウス15bも接続されている。
A floppy disk drive 13a, a hard disk 13b, and a CD-ROM drive 13c as external auxiliary storage devices are connected to the computer main body 12, and a main system-related program is recorded on the hard disk 13b. Necessary programs can be read from a floppy disk or a CD-ROM. Also, the computer body 1
A modem 14a is connected as a communication device for connecting 2 to an external network or the like, and can be connected to an external network via the same public communication line to download and introduce software and data.
In this example, the modem 14a is used to access the outside via the telephone line, but it is also possible to have a configuration for accessing the network via the LAN adapter. Besides, a keyboard 15a and a mouse 15b are also connected for operating the computer main body 12.

【0021】さらに、画像出力デバイスとして、ディス
プレイ17aとカラープリンタ17bとを備えている。
ディスプレイ17aについては水平方向に800画素と
垂直方向に600画素の表示エリアを備えており、各画
素毎に上述した1670万色の表示が可能となってい
る。むろん、この解像度は一例に過ぎず、640×48
0画素であったり、1024×720画素であるなど、
適宜、変更可能である。
Further, a display 17a and a color printer 17b are provided as image output devices.
The display 17a has a display area of 800 pixels in the horizontal direction and 600 pixels in the vertical direction, and each pixel can display the above-mentioned 16.7 million colors. Of course, this resolution is just an example, 640 × 48
0 pixels, 1024 x 720 pixels, etc.
It can be changed as appropriate.

【0022】また、カラープリンタ17bは後述するよ
うにCMYKの四色の色インクを用いて記録媒体たる印
刷用紙上にドットを付して画像を印刷可能となってい
る。また、画像密度は720×720dpi(dot/
inch)といった高密度印刷が可能となっているが、
階調表限については色インクを付すか否かといった2階
調の低階調表現となっている。一方、このような画像入
力デバイスを使用して画像を入力しつつ、画像出力デバ
イスに表示あるいは出力するため、コンピュータ本体1
2内では所定のプログラムが実行されることになる。そ
のうち、基本プログラムとして稼働しているのはオペレ
ーティングシステム(OS)12aであり、このオペレ
ーティングシステム12aにはディスプレイ17aでの
表示を行わせるディスプレイドライバ(DSP DR
V)12bとカラープリンタ17bに印刷出力を行わせ
るプリンタドライバ(PRT DRV)12cが組み込
まれている。これらのドライバ12b,12cの類はデ
ィスプレイ17aやカラープリンタ17bの機種に依存
しており、それぞれの機種に応じてオペレーティングシ
ステム12aに対して追加変更可能である。また、機種
に依存して標準処理以上の付加機能を実現することもで
きるようになっている。すなわち、オペレーティングシ
ステム12aという標準システム上で共通化した処理体
系を維持しつつ、許容される範囲内での各種の追加的処
理を実現できる。
Further, the color printer 17b can print an image by using dots of CMYK four color inks to form dots on a printing paper as a recording medium as described later. The image density is 720 × 720 dpi (dot /
Inch), high-density printing is possible,
The gradation table is represented by low gradation of 2 gradations such as whether or not color ink is applied. On the other hand, since an image is input using such an image input device and is displayed or output on the image output device, the computer main body 1
In 2, the predetermined program will be executed. Of these, an operating system (OS) 12a is operating as a basic program, and a display driver (DSP DR) that causes the operating system 12a to display on the display 17a.
V) 12b and a printer driver (PRT DRV) 12c for causing the color printer 17b to perform print output. These types of drivers 12b and 12c depend on the model of the display 17a and the color printer 17b, and can be added and changed to the operating system 12a according to the model. Also, depending on the model, it is possible to realize additional functions beyond the standard processing. That is, it is possible to realize various additional processes within an allowable range while maintaining a common processing system on the standard system called the operating system 12a.

【0023】むろん、このようなプログラムを実行する
前提として、コンピュータ本体12内にはCPU12e
とRAM12fとROM12gとI/O12hなどが備
えられており、演算処理を実行するCPU12eがRA
M12fを一時的なワークエリアや設定記憶領域として
使用したりプログラム領域として使用しながら、ROM
12gに書き込まれた基本プログラムを適宜実行し、I
/O12hを介して接続されている外部機器及び内部機
器などを制御している。
Of course, as a premise for executing such a program, the CPU 12e is provided in the computer main body 12.
The RAM 12f, the ROM 12g, the I / O 12h, and the like are provided, and the CPU 12e that executes arithmetic processing is an RA.
ROM while using M12f as a temporary work area or setting storage area or as a program area
The basic program written in 12g is executed as appropriate, and I
It controls external devices and internal devices that are connected via / O12h.

【0024】この基本プログラムとしてのオペレーティ
ングシステム12a上でアプリケーション12dが実行
される。アプリケーション12dの処理内容は様々であ
り、操作デバイスとしてのキーボード15aやマウス1
5bの操作を監視し、操作された場合には各種の外部機
器を適切に制御して対応する演算処理などを実行し、さ
らには、処理結果をディスプレイ17aに表示したり、
カラープリンタ17bに出力したりすることになる。
The application 12d is executed on the operating system 12a as the basic program. The processing contents of the application 12d are various, and the keyboard 15a and the mouse 1 as operation devices are used.
The operation of 5b is monitored, and when operated, various external devices are appropriately controlled to execute corresponding arithmetic processing, and further, the processing result is displayed on the display 17a,
It will be output to the color printer 17b.

【0025】ここで上述したカラープリンタ17bに
は、プリンタドライバ12cを介してアプリケーション
12dの処理結果が印刷データとして出力され、同カラ
ープリンタ17bは色インクを用いて印刷用紙上にドッ
トを付すことにより、対応する画像を印刷する。図2〜
図4にはこのようなカラープリンタの一例としてカラー
インクジェットプリンタ21の概略構成を示している。
本カラーインクジェットプリンタ21は、三つの印字ヘ
ッドユニットからなる印字ヘッド21aと、この印字ヘ
ッド21aを制御する印字ヘッドコントローラ21b
と、当該印字ヘッド21aを桁方向に移動させる印字ヘ
ッド桁移動モータ21cと、印字用紙を行方向に送る紙
送りモータ21dと、これらの印字ヘッドコントローラ
21bと印字ヘッド桁移動モータ21cと紙送りモータ
21dにおける外部機器とのインターフェイスにあたる
プリンタコントローラ21eとからなるドット印刷機構
を備え、印刷データに応じて印刷用紙である記録媒体上
で印字ヘッド21aを走査しながら画像印刷可能となっ
ている。
The processing result of the application 12d is output to the color printer 17b as print data via the printer driver 12c, and the color printer 17b forms dots on the printing paper by using color ink. , Print the corresponding image. Figure 2
FIG. 4 shows a schematic configuration of a color inkjet printer 21 as an example of such a color printer.
The color inkjet printer 21 includes a print head 21a including three print head units and a print head controller 21b for controlling the print head 21a.
A print head digit moving motor 21c for moving the print head 21a in the digit direction, a paper feed motor 21d for feeding the print paper in the row direction, a print head controller 21b, a print head digit move motor 21c, and a paper feed motor. A dot printing mechanism including a printer controller 21e, which is an interface with an external device in 21d, is provided, and an image can be printed while scanning the print head 21a on a recording medium, which is print paper, according to print data.

【0026】また、図3は印字ヘッド21aのより具体
的な構成を示しており、図4はインク吐出時の動作を示
している。印字ヘッド21aには色インクタンク21a
1からノズル21a2へと至る微細な管路21a3が形
成されており、同管路21a3の終端部分にはインク室
21a4が形成されている。このインク室21a4の壁
面は可撓性を有する素材で形成され、この壁面に電歪素
子であるピエゾ素子21a5が備えられている。このピ
エゾ素子21a5は電圧を印加することによって結晶構
造が歪み、高速な電気−機械エネルギー変換を行うもの
であるが、かかる結晶構造の歪み動作によって上記イン
ク室21a4の壁面を押し、当該インク室21a4の容
積を減少させる。すると、このインク室21a4に連通
するノズル21a2からは所定量の色インク粒が勢いよ
く吐出することになる。このポンプ構造をマイクロポン
プ機構と呼ぶことにする。
Further, FIG. 3 shows a more specific structure of the print head 21a, and FIG. 4 shows an operation during ink ejection. The print head 21a has a color ink tank 21a.
A fine conduit 21a3 from 1 to the nozzle 21a2 is formed, and an ink chamber 21a4 is formed at the end portion of the conduit 21a3. The wall surface of the ink chamber 21a4 is made of a flexible material, and the wall surface is provided with a piezo element 21a5 which is an electrostrictive element. The piezo element 21a5 has a crystal structure that is distorted by applying a voltage to perform high-speed electrical-mechanical energy conversion. The distortion operation of the crystal structure pushes the wall surface of the ink chamber 21a4 to cause the ink chamber 21a4 to move. Reduce the volume of. Then, a predetermined amount of color ink particles are vigorously ejected from the nozzle 21a2 communicating with the ink chamber 21a4. This pump structure will be called a micro pump mechanism.

【0027】なお、一つの印字ヘッドユニットには独立
した二列のノズル21a2が形成されており、各列のノ
ズル21a2には独立して色インクが供給されるように
なっている。従って、三つの印字ヘッドユニットでそれ
ぞれ二列のノズルを備えることになり、最大限に利用し
て六色の色インクを使用することも可能である。図2に
示す例では、左列の印字ヘッドユニットにおける二列を
黒インクに利用し、中程の印字ヘッドユニットにおける
一列だけを使用してシアン色インクに利用し、右列の印
字ヘッドユニットにおける左右の二列をそれぞれマゼン
タ色インクとイエロー色インクに利用している。
Two independent rows of nozzles 21a2 are formed in one print head unit, and the color inks are independently supplied to the nozzles 21a2 of each row. Therefore, each of the three print head units has two rows of nozzles, and it is possible to use six color inks to the maximum extent. In the example shown in FIG. 2, two rows in the print head unit in the left column are used for black ink, only one row in the middle print head unit is used for cyan ink, and two rows in the print head unit in the right column are used. The left and right two columns are used for magenta ink and yellow ink, respectively.

【0028】一方、印字ヘッド21aに形成されている
ノズル21a2の鉛直方向の間隔は印刷解像度とは一致
せず、一般的にはこのノズル21a2は印刷解像度より
も大きな間隔で形成されている。これにもかかわらずよ
り高解像度の印刷を可能とするのは、紙送り方向につい
て紙送りモータ21dを制御するからである。例えば、
ノズル21a2の間隔の間で紙を8段階で送り、各段階
毎に印字ヘッド21aを桁送り方向に操作して印刷すれ
ば解像度は向上する。むろん、桁送り方向については任
意の間隔で色インクを吐出すればそれが解像度と言える
から、タイミングの制御次第と言える。なお、厳密な意
味では色インクのドット径も解像度の要素となりえる
が、ここでは理解の簡便のため無視することにする。
On the other hand, the vertical spacing of the nozzles 21a2 formed in the print head 21a does not match the printing resolution, and the nozzles 21a2 are generally formed with a spacing larger than the printing resolution. Despite this, higher resolution printing is possible because the paper feed motor 21d is controlled in the paper feed direction. For example,
The resolution is improved by feeding the paper in eight steps between the nozzles 21a2 and operating the print head 21a in the column feed direction for printing at each step. Of course, in the shift direction, if the color ink is ejected at an arbitrary interval, it can be said that the resolution, so that it can be said that it depends on the timing control. In a strict sense, the dot diameter of the color ink can also be a factor of resolution, but here it is ignored for the sake of easy understanding.

【0029】本実施形態においては、上述したようなハ
ードウェアシステムを前提とし、コンピュータシステム
10の画像入力デバイスで取得した画像データに基づい
て印刷を実行する。その際、元の画像データの解像度と
カラープリンタ17bの解像度とに差がある場合には補
間処理を実行することになる。ここで、アプリケーショ
ン12dが印刷処理を実行した際にカラープリンタ17
bに対して印刷データが出力される際の解像度と階調度
の変化について説明する。図5は画像データの流れを示
している。
In the present embodiment, printing is executed based on the image data acquired by the image input device of the computer system 10 on the premise of the above hardware system. At that time, if there is a difference between the resolution of the original image data and the resolution of the color printer 17b, interpolation processing is executed. Here, when the application 12d executes print processing, the color printer 17
Changes in resolution and gradation when print data is output for b will be described. FIG. 5 shows the flow of image data.

【0030】アプリケーション12dはオペレーティン
グシステム12aに対して印刷要求を発生し、その際に
出力サイズとRGB256階調の画像データを受け渡
す。すると、オペレーティングシステム12aはプリン
タドライバ12cに対してこの出力サイズと画像データ
を受け渡し、プリンタドライバ12cは印刷オプション
を入力するためにオペレーティングシステム12aとデ
ータの入出力を行なう。ここで、オペレーティングシス
テム12aはディスプレイドライバ12bを介してディ
スプレイ17aに表示を行いつつ、キーボード15aや
マウス15bの操作結果をプリンタドライバ12cに出
力し、プリンタドライバ12cは操作結果を印刷オプシ
ョンとして反映して印刷データを生成する。通常、この
印刷データはCMYK2階調であり、オペレーティング
システム12aを介してハードウェアポートよりカラー
プリンタ17bに出力されることになる。
The application 12d issues a print request to the operating system 12a, and at that time, delivers the output size and image data of RGB 256 gradations. Then, the operating system 12a transfers the output size and the image data to the printer driver 12c, and the printer driver 12c inputs / outputs data to / from the operating system 12a to input a print option. Here, the operating system 12a outputs the operation result of the keyboard 15a and the mouse 15b to the printer driver 12c while displaying on the display 17a via the display driver 12b, and the printer driver 12c reflects the operation result as a print option. Generate print data. Normally, this print data has CMYK2 gradations and is output to the color printer 17b from the hardware port via the operating system 12a.

【0031】このように、本実施形態においては、印刷
制御プログラムをコンピュータシスム10にて実行して
カラープリンタ17bに印刷データを出力しているが、
対象となる印刷装置は上述したインクジェット方式のカ
ラープリンタ21に限定されるものではない。例えば、
同カラープリンタ21はマイクロポンプ機構を採用する
インクジェット方式のものであるがマイクロポンプ機構
以外のものを採用することも可能である。図6に示すよ
うにノズル21a6近傍の管路21a7の壁面にヒータ
21a8を設けておくとともに、このヒータ21a8に
加熱して気泡を発生させ、その圧力で色インクを吐出す
るようなバブルジェット方式のポンプ機構も実用化され
ている。
As described above, in this embodiment, the print control program is executed by the computer system 10 to output the print data to the color printer 17b.
The target printing device is not limited to the inkjet color printer 21 described above. For example,
The color printer 21 is of an inkjet type that employs a micro pump mechanism, but it is also possible to employ a device other than the micro pump mechanism. As shown in FIG. 6, a heater 21a8 is provided on the wall surface of the conduit 21a7 in the vicinity of the nozzle 21a6, and the heater 21a8 is heated to generate bubbles and the color ink is ejected by the pressure. The pump mechanism is also in practical use.

【0032】また、他の機構として図7にはいわゆる電
子写真方式のカラープリンタ22の主要部概略構成を示
している。感光体としての回転ドラム22aの周縁には
回転方向に対応して帯電装置22bと露光装置22cと
現像装置22dと転写装置22eとが配置され、帯電装
置22bにて回転ドラム22aの周面を均一に帯電させ
た後、露光装置22cによって画像部分の帯電を除去
し、現像装置22dで帯電していない部分にトナーを付
着させ、転写装置22eによって同トナーを記録媒体と
しての紙上に転写させる。その後、ヒータ22fとロー
ラ22gとの間を通過させて同トナーを溶融して紙に定
着させている。そして、これらが一組となって一色のト
ナーによる印刷を行わせることになるので、合計四色分
が個別に備えられている。
As another mechanism, FIG. 7 shows a schematic structure of a main part of a so-called electrophotographic color printer 22. A charging device 22b, an exposure device 22c, a developing device 22d, and a transfer device 22e are arranged on the periphery of the rotary drum 22a as a photoconductor in correspondence with the rotation direction, and the peripheral surface of the rotary drum 22a is made uniform by the charging device 22b. Then, the exposure device 22c removes the charge on the image portion, the developing device 22d attaches the toner to the uncharged portion, and the transfer device 22e transfers the toner onto paper as a recording medium. After that, the toner is melted by passing between the heater 22f and the roller 22g and fixed on the paper. Then, since a set of these is used to perform printing with one color toner, a total of four colors are individually provided.

【0033】すなわち、その印刷装置の具体的な構成は
特に限定されるものではないし、このような個別的な印
刷手法の適用範囲のみならずその適用態様についても各
種の変更が可能である。上述した実施形態においては、
印刷データを取得するために画像入力デバイスや画像出
力デバイスなどを含むコンピュータシステム10におい
て所定のアプリケーション12dとプリンタドライバ1
2cとが印刷データを生成している。しかしながら、必
ずしもかかるコンピュータシステム10を必要とするわ
けではない。
That is, the specific configuration of the printing apparatus is not particularly limited, and various modifications can be made not only to the application range of such individual printing method but also to its application mode. In the embodiment described above,
A predetermined application 12d and printer driver 1 in a computer system 10 including an image input device, an image output device, etc. for acquiring print data.
2c generates print data. However, it does not necessarily require such a computer system 10.

【0034】例えば、図8に示すように、コンピュータ
システムを介することなく画像データを入力して印刷す
るカラープリンタ17bにおいては、スキャナ11aや
デジタルスチルカメラ11bあるいはモデム14a等を
介して画像データを直に入力し、当該カラープリンタ1
7bの内部において後述する所定の処理を実行して印刷
データに変換して印刷を行うように構成することも可能
である。次に、上述した印刷システムを利用して出力解
像度に応じた最適な画像処理を実行する処理について説
明する。
For example, as shown in FIG. 8, in a color printer 17b which inputs and prints image data without going through a computer system, the image data is directly read through a scanner 11a, a digital still camera 11b, a modem 14a or the like. Input to the color printer 1
It is also possible to perform a predetermined process to be described later inside 7b to convert it into print data and perform printing. Next, a process for executing the optimum image processing according to the output resolution by using the printing system described above will be described.

【0035】図9は、この印刷システムの概略構成を示
している。ディジタル印刷処理のように画素単位で処理
する系においては、印刷装置の記録解像度と元の画像デ
ータの解像度とが異なることが生じ、解像度が一致する
ように構成画素を補間することになる。印刷装置では所
定の要素色のインクドットを紙などに付着せしめるが、
スキャナやディスプレイなどの入力装置のように必ずし
もフルカラーで高精細に表現できるわけではなく、低階
調でありながら色の配列を調整してできる限り入力画像
データの再現性を向上させようとしている。ただ、この
ような調整は人間の視認性能を無視して成り立つもので
はなく、微妙な相関関係を持っているので理論通りの結
果が得られるとも限らない。
FIG. 9 shows a schematic configuration of this printing system. In a system such as a digital printing process in which processing is performed on a pixel-by-pixel basis, the recording resolution of the printing apparatus may differ from the resolution of the original image data, and the constituent pixels are interpolated so that the resolutions match. In a printing device, ink dots of a predetermined element color are attached to paper, etc.
Like an input device such as a scanner or a display, it is not always possible to express in full color with high definition, and it is trying to improve the reproducibility of input image data as much as possible by adjusting the color arrangement even though the gradation is low. However, such an adjustment is not made by ignoring the human visual recognition ability, and has a delicate correlation, so that the theoretical result may not always be obtained.

【0036】以下においては、入力画像データに対し
て、精度の高い演算手法である解像度まで補間し、重ね
て不足分を精度の低い演算手法で画素補間する場合に、
印刷品質に密接に関連する印刷解像度に応じて最適な画
素補間処理を実施する例について詳細に説明する。すな
わち、上述した微妙な相関関係を持っている人間の視認
性能を考慮しつつ構成画素の補間処理を実施するため、
画像データ取得ユニットC1が画像をドットマトリクス
状の画素で多階調表現した画像データを取得すると、画
素補間ユニットC2が精度の高い演算手法で補間してか
ら精度の低い演算手法で補間するが、同画素補間ユニッ
トC2で上記画像データを基準として補間処理するにあ
たり、印刷する際の精細度を精細度検出ユニットC3が
検出する。そして、この精細度検出ユニットC3で検出
した精細度に基づいて補間倍率調整ユニットC4は上記
画素補間ユニットC2における負担割合を算出するもの
とし、その際には高精細であるほど精度の高い演算手法
に割り当てられる負担割合が増加するように補間倍率を
調整する。上記画素補間ユニットC2は、このようにし
て調整される補間倍率に従って精度の高い演算手法で補
間してから精度の低い演算手法で補間し、印刷データ出
力ユニットC5は補間処理された補間画像データに基づ
いて所定の印刷データに変換して出力する。言い換えれ
ば、精細度検出ユニットC3が印刷品質を取得すると、
補間倍率調整ユニットC4は取得された印刷品質に対応
して二つの補間処理における負担割合を決定する。全体
としてみるとこの負担割合によって補間処理の品質が変
化するから、補間処理を決定することに他ならない。そ
して、この負担割合に応じて画素補間ユニットC2が現
実に画素補間を切り換えて行うため、決定された補間処
理を実行することになり、その結果に基づいて印刷デー
タ出力ユニットC5が所定の印刷データに変換して出力
すれば、全体として印刷制御処理を実行するものといえ
る。なお、この実施形態においては、負担割合を決定す
ることで補間処理を決定するようにしているが、後述す
る実施形態のように複数の補間処理の中からいずれかを
選択するものも含むことはいうまでもない。
In the following, when the input image data is interpolated up to the resolution which is a highly accurate calculation method, and the insufficient portion is pixel-interpolated by the low accuracy calculation method,
An example of performing the optimum pixel interpolation processing according to the print resolution closely related to the print quality will be described in detail. That is, in order to carry out the interpolation processing of the constituent pixels while considering the human visual recognition performance having the above-mentioned subtle correlation,
When the image data acquisition unit C1 acquires the image data in which the image is expressed in multi-gradation with pixels in a dot matrix, the pixel interpolation unit C2 interpolates with a highly accurate calculation method and then with a low accuracy calculation method. When the pixel interpolation unit C2 performs the interpolation process with the image data as a reference, the definition detection unit C3 detects the definition at the time of printing. Then, the interpolation magnification adjusting unit C4 calculates the burden ratio in the pixel interpolating unit C2 based on the definition detected by the definition detecting unit C3. At that time, the higher the definition is, the more accurate the calculation method is. The interpolation magnification is adjusted so that the burden ratio allocated to the item increases. The pixel interpolation unit C2 interpolates by a highly accurate calculation method according to the interpolation magnification adjusted in this way, and then interpolates by a low accuracy calculation method, and the print data output unit C5 converts the interpolation-processed interpolated image data. Based on this, it is converted into predetermined print data and output. In other words, when the definition detection unit C3 acquires the print quality,
The interpolation magnification adjusting unit C4 determines the load ratio in the two interpolation processes according to the acquired print quality. As a whole, the quality of the interpolation processing changes depending on this burden ratio, and therefore the interpolation processing is nothing but determined. Then, since the pixel interpolation unit C2 actually switches the pixel interpolation according to this burden ratio, the determined interpolation processing is executed, and the print data output unit C5 outputs the predetermined print data based on the result. It can be said that the print control process is executed as a whole by converting to and outputting. Note that in this embodiment, the interpolation process is determined by determining the burden ratio, but it does not include that which selects any one of a plurality of interpolation processes as in the embodiment described later. Needless to say.

【0037】上記印刷システムにおいては、プリンタド
ライバ12cが画像データ取得ユニットC1や画素補間
ユニットC2や印刷データ出力ユニットC5とともに後
述する処理内容に対応して精細度検出ユニットC3や補
間倍率調整ユニットC4を構成することになる。なお、
かかるプリンタドライバ12cは、ハードディスク13
bに記憶されており、起動時にコンピュータ本体12に
て読み込まれて稼働する。また、導入時にはCD−RO
Mであるとかフロッピーディスクなどの媒体に記録され
てインストールされる。従って、これらの媒体は印刷用
画像データ補間プログラムを記録した媒体を構成する。
In the above printing system, the printer driver 12c, together with the image data acquisition unit C1, the pixel interpolation unit C2, and the print data output unit C5, includes the definition detection unit C3 and the interpolation magnification adjustment unit C4 corresponding to the processing contents described later. Will be configured. In addition,
The printer driver 12c is the hard disk 13
It is stored in b and is read and operated by the computer main body 12 at the time of startup. Also, at the time of introduction, CD-RO
It is recorded on a medium such as M or a floppy disk and installed. Therefore, these media form media in which the printing image data interpolation program is recorded.

【0038】なお、本発明をソフトウェアで実現する場
合、ハードウェアやオペレーティングシステムを利用す
る構成とすることも可能であるし、これらと切り離して
実現することもできる。例えば、印刷品質を入力する処
理といっても、その実現方法はオペレーティングシステ
ムにおける所定の関数を呼び出してGUIの表示や入力
処理を実現することも可能であれば、このような関数を
呼び出すことなく入力することも可能である。そして、
実際にはオペレーティングシステムの介在のもとで実現
するとしても、プログラムが媒体に記録されて流通され
る過程においては、このプログラムだけで本発明を実施
できるものと理解することができる。
When the present invention is implemented by software, it may be configured to use hardware or an operating system, or may be implemented separately from these. For example, even if it is a process of inputting print quality, if the realization method can also call a predetermined function in the operating system to realize the GUI display and input process, without calling such a function. It is also possible to enter. And
Although it is actually realized through the intervention of an operating system, it can be understood that the present invention can be implemented only by this program in the process of recording and distributing the program on a medium.

【0039】次に、上述したようなコンピュータシステ
ム10において画像データを補間する具体的な処理につ
いて説明する。図10は本コンピュータシステム10に
おける印刷処理の内容を示している。ステップST10
2では画像データを入力する。例えば、アプリケーショ
ン12dにてスキャナ11aから画像を読み込み、所定
の画像処理を行った後で印刷処理すると、所定の解像度
の画像データがオペレーティングシステム12aを介し
てプリンタドライバ12cに引き渡されるため、この引
渡の段階が該当する。むろん、スキャナ11aにて画像
を読み込むものであってもよい。
Next, a specific process for interpolating image data in the computer system 10 as described above will be described. FIG. 10 shows the contents of the printing process in the computer system 10. Step ST10
In 2, the image data is input. For example, when the application 12d reads an image from the scanner 11a, performs a predetermined image process and then performs a print process, image data having a predetermined resolution is delivered to the printer driver 12c via the operating system 12a. The stage is applicable. Of course, the image may be read by the scanner 11a.

【0040】ステップST102は、印刷する際の精細
度を取得するために出力解像度の選択をする処理であ
る。アプリケーション12dにて印刷処理を実行する際
には、オペレーティングシステム12aがGUI環境を
提供するものとすると図11に示すように印刷操作用の
ウィンドウ表示が行われる。ここで入力されるパラメー
タなどは各種のものを採用可能であるが、一例として、
「(印刷の)部数」、「開始ページ」、「終了ページ」
などがある。また、操作指示ボタンとしては「OK」ボ
タンと「キャンセル」ボタンとともに、「プリンタの設
定」ボタンも用意されている。
Step ST102 is a process of selecting an output resolution in order to acquire the definition at the time of printing. When the printing process is executed by the application 12d, assuming that the operating system 12a provides the GUI environment, the window for the printing operation is displayed as shown in FIG. Although various parameters can be adopted as the parameters input here, as an example,
"Copies (for printing)", "Start page", "End page"
and so on. In addition to the "OK" button and the "Cancel" button, the "Printer setting" button is also prepared as the operation instruction button.

【0041】「プリンタの設定」を指示すると、図12
に示すようなウィンドウ表示が行われる。このウィンド
ウ表示ではプリンタ毎の機能に応じた各種の設定を行う
ために用意されており、この例では「(印刷)解像度」
として「360dpi」と「720dpi」の一方を選
択できる。また、「用紙」として「A4」か「B5」、
「印刷の向き」として「縦」か「横」を選択できる。本
実施形態においては、この「解像度」の選択が重要な意
味を持ち、ステップST104では解像度が既に選択さ
れているのであれば設定ファイルを参照して読み出す
し、操作者が印刷操作に伴って解像度を変更する場合に
は変更後の解像度を出力解像度として読み出す。本実施
形態においては、このようなウィンドウ表示に基づいて
ソフトウェア的に選択される解像度を精細度として検出
しているが、解像度の選択操作はこれに限られるもので
はなく、ソフトウェア的にもハードウェア的にも適宜変
更可能である。ソフトウェアではウィンドウ表示以外の
表示を行っても良いし、解像度を直に選択させるのでは
なく、印刷速度の速さ(精細であれば遅くなるし粗くな
れば早くなるので)のように間接的に選択するようなも
のであっても構わない。
When "printer setting" is instructed, FIG.
The window is displayed as shown in. This window display is prepared to make various settings according to the function of each printer. In this example, "(Print) resolution"
One of "360 dpi" and "720 dpi" can be selected as. Also, as "paper", "A4" or "B5",
You can select either "Portrait" or "Horizontal" as the "Orientation". In the present embodiment, the selection of “resolution” has an important meaning, and in step ST104, if the resolution has already been selected, the setting file is referred to and read out, and the operator performs the resolution along with the printing operation. When changing the, the changed resolution is read as the output resolution. In the present embodiment, the resolution selected by software based on such a window display is detected as the definition, but the operation of selecting the resolution is not limited to this, and the hardware is also used in terms of software. It can also be changed appropriately. The software may display other than window display, and instead of directly selecting the resolution, indirectly such as the speed of printing (because it becomes slower for finer resolution and faster for coarser resolution). It may be selected.

【0042】次のステップST106の処理では、選択
されている解像度に応じて処理を分岐し、ステップST
108,ST110にて切替解像度を設定する処理を行
う。この切替解像度について詳述する前に画素補間処理
の流れについて説明しておく。ステップST108では
切替解像度を180dpiに設定するし、ステップST
110では切替解像度を240dpiに設定する。そし
て、ステップST112では補間倍率を取得し、この補
間倍率と上記切替解像度との関係から第一段階の補間倍
率を求めてステップST114にてMキュービック倍率
とするとともに、続いて残りの補間倍率を求めてステッ
プST116にてニアリスト倍率とした後、それぞれの
補間倍率を利用してステップST118とステップST
120にて補間処理を実行する。この二段階の補間処理
は異なる手法によるものであり、前者のものがいわゆる
精度の高い演算手法による補間処理であり、後者のもの
がいわゆる精度の低い演算手法による補間処理である。
In the next step ST106, the process is branched according to the selected resolution, and step ST
In step 108 and ST110, the process of setting the switching resolution is performed. Before describing the switching resolution in detail, the flow of pixel interpolation processing will be described. In step ST108, the switching resolution is set to 180 dpi, and step ST
At 110, the switching resolution is set to 240 dpi. Then, in step ST112, the interpolation magnification is acquired, the interpolation magnification of the first stage is obtained from the relationship between the interpolation magnification and the switching resolution, and the M cubic magnification is obtained in step ST114, and then the remaining interpolation magnification is obtained. Then, in step ST116, the nearest magnification is set, and then the respective interpolation magnifications are used to make steps ST118 and ST.
At 120, interpolation processing is executed. The two-stage interpolation processing is performed by different methods. The former is interpolation processing by a so-called highly accurate calculation method and the latter one is interpolation processing by a so-called low-precision calculation method.

【0043】ここで、本実施形態において実行する補間
処理の各手法について説明する。コンピュータグラフィ
ックスのような非自然画に適した補間処理として、ステ
ップST210ではニアリスト法の補間処理を実行可能
となっている。ニアリスト法は図13に示すように、周
囲の四つの格子点Pij,Pi+1j,Pij+1,P
i+1j+1と内挿したい点Puvとの距離を求め、も
っとも近い格子点のデータをそのまま移行させる。これ
を一般式で表すと、 Puv=Pij ここで、i=[u+0.5]、j=[v+0.5]であ
る。なお、[]はガウス記号で整数部分を取ることを示
している。
Here, each method of the interpolation processing executed in this embodiment will be described. As an interpolation process suitable for a non-natural image such as computer graphics, in step ST210, a near-list method interpolation process can be executed. As shown in FIG. 13, the near-list method uses four surrounding lattice points Pij, Pi + 1j, Pij + 1, P.
The distance between i + 1j + 1 and the point Puv to be interpolated is calculated, and the data of the closest grid point is transferred as it is. This can be expressed by a general formula: Puv = Pij where i = [u + 0.5] and j = [v + 0.5]. In addition, [] shows that the integer part is taken with a Gaussian symbol.

【0044】図14は、ニアリスト法で画素数を縦横3
倍ずつに補間する状況を示している。補間する前には四
隅の画素(□△○●)があるとして、補間して生成する
画素にはこれらの画素のうちもっとも近い画素のデータ
をそのまま移行させている。すなわち、この例で言えば
四隅の画素に隣接する画素についてそれぞれ複写するこ
とになる。また、かかる処理を行うと、図15に示すよ
うに白い画素を背景として黒い画素が斜めに配置される
元画像は、図16に示すように黒の画素が縦横に3倍に
拡大されつつ斜め方向に配置されることになる。
FIG. 14 shows that the number of pixels is 3 in the vertical and horizontal directions by the near-list method.
The situation is shown in which interpolation is performed in doubles. It is assumed that there are pixels at four corners (□ Δ ○ ●) before interpolation, and the data of the closest pixel among these pixels is directly transferred to the pixel generated by interpolation. That is, in this example, the pixels adjacent to the four corner pixels are copied. When such processing is performed, as shown in FIG. 15, the original image in which black pixels are diagonally arranged with white pixels as a background is shown in FIG. Will be arranged in the direction.

【0045】ニアリスト法においては、画像のエッジが
そのまま保持される特徴を有する。それ故に拡大すれば
ジャギーが目立つもののエッジはエッジとして保持され
る。これに対して他の補間処理では補間される画素を周
りの画素のデータを利用してなだらかに変化するように
する。従って、ジャギーが目立たなくなる反面、本来の
元画像の情報は削られていってしまい、エッジがなくな
ることになってコンピュータグラフィックスなどの非自
然画には適さなくなる。
The near-list method has a feature that the edges of an image are retained as they are. Therefore, although the jaggies are conspicuous when enlarged, the edges are retained as the edges. On the other hand, in other interpolation processing, the pixel to be interpolated is smoothly changed by using the data of surrounding pixels. Therefore, while the jaggies are less noticeable, the original information of the original image is deleted and the edges are lost, which makes it unsuitable for non-natural images such as computer graphics.

【0046】一方、写真のような自然画に適した補間処
理として、ステップST212ではキュービック法の補
間処理を実行する。キュービック法は図17に示すよう
に、内挿したい点Puvを取り囲む四つの格子点のみな
らず、その一周り外周の格子点を含む計16の格子点の
データを利用する。内挿点Puvを取り囲む計16の格
子点がそれぞれに値を備えている場合に、内挿点Puv
はそれらの影響を受けて決定される。例えば、一次式で
補間しようとすれば、内挿点を挟む二つの格子点からの
距離に反比例させて重みづけ加算すればよい。X軸方向
に注目すると、内挿点Puvから上記16の格子点との
距離は、図面上、左外側の格子点までの距離をx1、左
内側の格子点までの距離をx2、右内側の格子点までの
距離x3、右外側の格子点までの距離x4と表しつつ、
このような距離に対応した影響度合いを関数f(x)で
表すことにする。また、Y軸方向に注目すると、内挿点
Puvから上記16の格子点との距離は、上方外側の格
子点までの距離をy1、上方内側の格子点までの距離を
y2、下方内側の格子点までの距離y3、下方外側の格
子点までの距離y4と表しつつ、同様に影響度合いは関
数f(y)で表せる。
On the other hand, in step ST212, cubic interpolation processing is executed as interpolation processing suitable for natural images such as photographs. As shown in FIG. 17, the cubic method uses not only four grid points surrounding the point Puv to be interpolated but also data of 16 grid points in total including the grid points around the point Puv. When a total of 16 grid points surrounding the interpolation point Puv have values, the interpolation point Puv
Are determined by their influence. For example, if an interpolation is performed using a linear expression, weighting addition may be performed in inverse proportion to the distance from two grid points that sandwich the interpolation point. Focusing on the X-axis direction, the distance from the interpolation point Puv to the above 16 grid points is x1 in the drawing, the distance to the left outer grid point is x2, the distance to the left inner grid point is x2, and the right inner grid point is x2. While representing the distance x3 to the grid point and the distance x4 to the grid point on the outer right side,
The degree of influence corresponding to such a distance will be represented by a function f (x). Further, focusing on the Y-axis direction, the distance from the interpolation point Puv to the above 16 grid points is y1 to the upper outer grid point, y2 to the upper inner grid point, and the lower inner grid. Similarly, the degree of influence can be represented by the function f (y) while representing the distance y3 to the point and the distance y4 to the lower outer grid point.

【0047】16の格子点は以上のような距離に応じた
影響度合いで内挿点Puvに寄与するので、全ての格子
点にデータに対してX軸方向とY軸方向のそれぞれの影
響度合いを累積させる一般式は次式のようになる。
Since the 16 grid points contribute to the interpolation point Puv with the degree of influence depending on the distance as described above, the degree of influence in the X-axis direction and the degree of influence on the Y-axis direction are exerted on the data at all the lattice points. The general formula for accumulating is as follows.

【数1】 また、ここで距離に応じた影響度合いを3次たたみ込み
関数で表すとすると、 f(t) = {sin(πt)}/πt となる。なお、上述した各距離x1〜x4,y1〜y4
は格子点Puvの座標値(u,v)について絶対値を利
用して次のように算出することになる。 x1 = 1+(u-|u|) y1 = 1+(v-|v|) x2 = (u-|u|) y2 = (v-|v|) x3 = 1-(u-|u|) y3 = 1-(v-|v|) x4 = 2-(u-|u|) y4 = 2-(v-|v|) 以上の前提のもとでPについて展開すると、
[Equation 1] If the degree of influence according to the distance is represented by a cubic convolution function, then f (t) = {sin (πt)} / πt. In addition, the above-mentioned respective distances x1 to x4 and y1 to y4
Is calculated as follows using the absolute value of the coordinate value (u, v) of the grid point Puv. x1 = 1+ (u- | u |) y1 = 1+ (v- | v |) x2 = (u- | u |) y2 = (v- | v |) x3 = 1- (u- | u | ) y3 = 1- (v- | v |) x4 = 2- (u- | u |) y4 = 2- (v- | v |) When P is expanded under the above assumptions,

【数2】 となる。なお、3次たたみ込み関数と呼ばれるように距
離に応じた影響度合いf(t)は次のような三次式で近
似される。
[Equation 2] Becomes The influence degree f (t) depending on the distance, which is called a cubic convolution function, is approximated by the following cubic expression.

【数3】 このキュービック法では一方の格子点から他方の格子点
へと近づくにつれて徐々に変化していき、その変化具合
がいわゆる3次関数的になるという特徴を有している。
[Equation 3] This cubic method has a feature that it gradually changes from one grid point to the other grid point, and the degree of change becomes a so-called cubic function.

【0048】図18と図19はキュービック法にて補間
される際の具体例を示している。理解を容易にするた
め、垂直方向についてのデータの変化はなく、水平方向
についてエッジが生じているモデルについて説明する。
また、補間する画素を3点とする。まず、図19の具体
的数値について説明する。補間前の画素の階調値を左列
に「Original」として示しており、階調値「6
4」の画素(P0、P1、P2、P3)が4点並び、階
調値「128」の画素(P4)を1点挟み、階調値「1
92」の画素(P5、P6、P7、P8、P9)が5点
並んでいる。この場合、エッジは階調値「128」の画
素の部分である。
FIG. 18 and FIG. 19 show specific examples of interpolation by the cubic method. For ease of understanding, a model in which there is no change in data in the vertical direction and edges occur in the horizontal direction will be described.
Also, the number of pixels to be interpolated is three. First, specific numerical values in FIG. 19 will be described. The gradation value of the pixel before interpolation is shown as “Original” in the left column, and the gradation value “6” is displayed.
4 "pixels (P0, P1, P2, P3) are arranged in four points, and a pixel having a gradation value of" 128 "(P4) is sandwiched by one point, and a gradation value of" 1 "is set.
92 "pixels (P5, P6, P7, P8, P9) are arranged in five points. In this case, the edge is the portion of the pixel having the gradation value “128”.

【0049】ここで各画素間に3点の画素(Pn1、P
n2、Pn3)を内挿することになると、内挿される画
素間の距離は「0.25」となり、上述したx1〜x4
は内挿点毎に表の中程の列の数値となる。x1〜x4に
対応してf(x1)〜f(x4)も一義的に計算される
ことになり、例えば、x1,x2,x3,x4が、それ
ぞれ「1.25」、「0.25」、「0.75」、
「1.75」となる場合、それに対するf(t)につい
ては、概略「−0.14」、「0.89」、「0.3
0」、「−0.05」となる。また、x1,x2,x
3,x4が、それぞれ「1.50」、「0.50」、
「0.50」、「1.50」となる場合、それに対する
f(t)については、「−0.125」、「0.62
5」、「0.625」、「−0.125」となる。ま
た、x1,x2,x3,x4が、それぞれ「1.7
5」、「0.75」、「0.25」、「1.25」とな
る場合、それに対するf(t)については、概略「−
0.05」、「0.30」、「0.89」、「−0.1
4」となる。以上の結果を用いて内挿点の階調値を演算
した結果を表の右列に示しているとともに、図18にお
いてグラフで示している。なお、このグラフの意味する
ところについて後に詳述する。
Here, there are three pixels (Pn1, Pn) between each pixel.
n2, Pn3) is to be interpolated, the distance between the interpolated pixels becomes "0.25", and x1 to x4 described above are used.
Is the numerical value in the middle column of the table for each interpolation point. f (x1) to f (x4) are also uniquely calculated corresponding to x1 to x4. For example, x1, x2, x3, and x4 are “1.25” and “0.25”, respectively. , "0.75",
In the case of "1.75", f (t) corresponding thereto is roughly "-0.14", "0.89", "0.3".
It becomes 0 "and" -0.05 ". Also, x1, x2, x
3 and x4 are “1.50”, “0.50”,
In the case of "0.50" and "1.50", f (t) corresponding to them is "-0.125" and "0.62".
5 "," 0.625 ", and" -0.125 ". In addition, x1, x2, x3, and x4 are respectively “1.7
5 "," 0.75 "," 0.25 ", and" 1.25 ", the f (t) for that is roughly"-".
0.05 "," 0.30 "," 0.89 "," -0.1 "
4 ”. The result of calculating the gradation value of the interpolation point using the above result is shown in the right column of the table and is also shown in the graph of FIG. The meaning of this graph will be described later in detail.

【0050】垂直方向についてのデータの変化がないも
のとみなすと、演算は簡略化され、水平方向に並ぶ四つ
の格子点のデータ(P1,P2,P3,P4 )だけを参照しつつ、
内挿点から各格子点までの距離に応じた影響度合いf
(t)を利用して次のように算出できる。 P=P1・f(x1)+P21f(x2)+P3・f(x3)+P4・f(x4) 従って、内挿点P21について算出する場合には、 P21=64*f(1.25)+64*f(0.25)+64*f(0.75)+128*f(1.75) =64*(-0.14063)+64*(0.890625)+64*(0.296875)+128*(-0.04688) =61 となる。
Assuming that there is no change in the data in the vertical direction, the calculation is simplified, referring to only the data (P1, P2, P3, P4) of four grid points arranged in the horizontal direction,
Influence degree f according to the distance from the interpolation point to each grid point
It can be calculated as follows using (t). P = P1 ・ f (x1) + P21f (x2) + P3 ・ f (x3) + P4 ・ f (x4) Therefore, when calculating the interpolation point P21, P21 = 64 * f (1.25) +64 * f (0.25) + 64 * f (0.75) + 128 * f (1.75) = 64 * (-0.14063) + 64 * (0.890625) + 64 * (0.296875) +128 * (-0.04688) = 61.

【0051】キュービック法によれば3次関数的に表せ
る以上、そのカーブの形状を調整することによって補間
結果の品質を左右することができる。その調整の一例と
して、 0<t<0.5 f(t) = -(8/7)t**3-(4/7)t**2+1 0.5<t<1 f(t) = (1-t)(10/7) 1<t<1.5 f(t) = (8/7)(t-1)**3+(4/7)(t-1)**2-(t-1) 1.5<t<2 f(t) = (3/7)(t-2) としたものをMキュービック法と呼ぶことにする。
Since the cubic method can be expressed as a cubic function, the quality of the interpolation result can be influenced by adjusting the shape of the curve. As an example of the adjustment, 0 <t <0.5 f (t) =-(8/7) t ** 3- (4/7) t ** 2 + 1 0.5 <t <1 f (t) = (1 -t) (10/7) 1 <t <1.5 f (t) = (8/7) (t-1) ** 3+ (4/7) (t-1) ** 2- (t-1 ) 1.5 <t <2 f (t) = (3/7) (t-2) is called the M cubic method.

【0052】図20はMキュービック法にて補間される
際の具体例を示しており、キュービック法の場合と同じ
仮定のモデルについて補間した結果を示している。ま
た、図18にもMキュービック法による補間処理結果を
示しており、この例では3次関数的なカーブがわずかに
急峻となり、画像全体のイメージがシャープとなる。す
なわち、ニアリスト法は極めて演算処理が少ない一方
で、画像の変化が大きいエッジ部分がジャギーとして表
れ、精度の低い演算と言えるし、Mキュービック法は写
真などにおいてシャープさを増しつつ段差が生じないと
いう好適な影響を及ぼすものの、3次たたみ込み関数を
利用するので演算処理は大きく、それ故に精度の高い演
算と言える。
FIG. 20 shows a specific example when interpolation is performed by the M cubic method, and shows the results of interpolation for the same hypothetical model as in the cubic method. Further, FIG. 18 also shows the result of interpolation processing by the M cubic method. In this example, the cubic function curve is slightly steep, and the image of the entire image is sharp. That is, although the near-list method has extremely little calculation processing, the edge portion where the image changes greatly appears as jaggies, and it can be said that this is a low-precision calculation. The M-cubic method increases sharpness in photographs and the like and does not cause a step. However, since the third-order convolution function is used, the calculation process is large, and therefore it can be said that the calculation is highly accurate.

【0053】このように性格を異にする二つの演算手法
を重ねて実行するのは次のような利点があるからであ
る。Mキュービック法は一つの補間画素に要する演算処
理量が多いので、補間倍率が大きくなると実質的にかか
る補間処理を採用することは不可能となる。一方、印刷
用に補間処理を行うのは解像度の相違を解消することが
多いし、印刷装置の解像度が上げられているのは低階調
の印刷でありながらより画質を向上させるためであるこ
とが多い。すると、ある程度までドット径が小さくなっ
てくると精度の高い演算処理結果が必ずしも良好な画質
を得られるとは限らなくなるという現実もある。すなわ
ち、ある程度を越えると演算処理量の増大の程度に比べ
て画質の向上がさほど得られないという現象が生じる。
このため、ある程度まではMキュービック法で補間処理
するものの、それ以上についてはニアリスト法で補間処
理しても画質の程度に大きな変化はない上、演算処理量
は相対的に激減するという効果がある。
The reason why the two arithmetic methods having different characteristics are overlapped and executed is as follows. Since the M cubic method requires a large amount of calculation processing for one interpolation pixel, it becomes impossible to substantially adopt such interpolation processing when the interpolation magnification becomes large. On the other hand, interpolation processing for printing often eliminates the difference in resolution, and the reason why the resolution of the printing device is increased is to improve the image quality even with low gradation printing. There are many. Then, when the dot diameter is reduced to a certain extent, it is not always possible to obtain a good image quality with a highly accurate arithmetic processing result. That is, if the amount exceeds a certain level, there occurs a phenomenon that the image quality cannot be improved so much as compared with the degree of increase in the calculation processing amount.
For this reason, although the M cubic method is used for the interpolation process to some extent, the image processing degree is not significantly changed even if the interpolation process is performed by the near list method for more than that, and the amount of calculation processing is relatively sharply reduced. is there.

【0054】従って、ステップST112にて補間倍率
を取得したら、この補間倍率を二段階で達成するように
ステップST114にてMキュービック倍率を設定する
とともに、ステップST116にてニアリスト倍率を設
定しなければならないが、この割り振りを行うのに必要
となるのが切替解像度である。すなわち、上述したよう
な演算処理量と画質の倍率のバランスを維持するため
に、Mキュービック倍率とニアリスト倍率との比が一定
となるように決めるのではなく、Mキュービック法で切
替解像度以上となるように補間処理を行い、残りの補間
倍率をニアリスト法で補間処理することとしている。
Therefore, when the interpolation magnification is obtained in step ST112, the M cubic magnification is set in step ST114 so that the interpolation magnification is achieved in two steps, and the near-list magnification is not set in step ST116. However, the switching resolution is necessary to perform this allocation. That is, in order to maintain the balance between the calculation processing amount and the image quality magnification as described above, the ratio between the M cubic magnification and the near list magnification is not determined to be constant, but the switching resolution is equal to or higher than the switching resolution by the M cubic method. Interpolation processing is performed so that the remaining interpolation magnification is interpolated by the near list method.

【0055】また、このような切替解像度も、Mキュー
ビック法の補間処理で同切替解像度に一致させるように
解像度を変換した後、不足分をニアリスト法とするわけ
ではなく、あくまでも同切替解像度を超えるための最小
整数倍率をMキュービック倍率としている。これは、任
意の倍率で補間処理しようとすると補間後の画像データ
の全ての画素を演算により算出しなければならず、演算
時間が多大となるのに対し、整数倍率であると一部の画
素は既存の画素の格子点と一致することになって実質的
な演算処理量を減らすことができるからである。
In addition, such a switching resolution is not converted into the near-list method after the resolution is converted so as to match the switching resolution by the interpolation processing of the M cubic method, and the switching resolution is not limited to the above. The minimum integral multiplication factor for exceeding is defined as the M cubic multiplication factor. This is because when trying to interpolate at an arbitrary magnification, all the pixels of the image data after the interpolation must be calculated by calculation, and the calculation time becomes long, while if the magnification is an integer, some pixels Is because it matches the grid points of the existing pixels, and the amount of calculation processing can be substantially reduced.

【0056】図21は水平方向と垂直方向に2倍に補間
する処理例を示している。予め、補間後の画像データに
ついての変数領域を確保するとして、整数倍の補間処理
であれば元画像の画像データは整数倍した座標値に対応
する画素の画像データとなる。図に示す例で言えば、旧
座標値(0,0)は新座標値(0,0)に対応し、旧座
標値(1,0)は新座標値(2,0)に対応し、旧座標
値(0,1)は新座標値(0,2)に対応し、旧座標値
(1,1)は新座標値(2,2)に対応するということ
である。
FIG. 21 shows an example of processing for performing double interpolation in the horizontal and vertical directions. If a variable region for the interpolated image data is secured in advance, and the image data of the original image is the image data of the pixel corresponding to the coordinate value obtained by the integer multiple, if the interpolation process is performed by the integer multiple. In the example shown in the figure, the old coordinate value (0,0) corresponds to the new coordinate value (0,0), the old coordinate value (1,0) corresponds to the new coordinate value (2,0), It means that the old coordinate value (0,1) corresponds to the new coordinate value (0,2), and the old coordinate value (1,1) corresponds to the new coordinate value (2,2).

【0057】すなわち、補間処理自体は任意の倍率で実
行可能であるにしても、整数倍の補間処理だけを受け付
けるようにすると、演算すべき画素が減り、処理の高速
化を図ることができる。さて、切替解像度を用いてMキ
ュービック法の補間倍率やニアリスト法の補間倍率を調
整しているものの、同切替解像度自体を出力解像度に応
じてステップST108やステップST110にて変化
させているのは次のような理由からである。
That is, even if the interpolation process itself can be executed at an arbitrary magnification, if only the interpolation process of an integral multiple is accepted, the number of pixels to be calculated decreases, and the processing speed can be increased. Now, although the switching magnification is used to adjust the M cubic interpolation factor and the near list interpolation factor, the switching resolution itself is changed in step ST108 or step ST110 according to the output resolution. The reason is as follows.

【0058】具体例として、入力される画像データが1
70dpiのものと185dpiのものであるとし、切
替解像度が180dpiというように固定された状態
で、出力解像度を360dpiに設定した場合と出力解
像度を720dpiに設定した場合とを比較してみる。
この場合、前者の画像データはいずれにしてもMキュー
ビック法で2倍して340dpiに補間されるし、後者
の画像データはMキュービック法で補間されることはな
い。ただ、出力解像度が360dpiであるときには印
刷の精細度があまり高いとはいえないので、Mキュービ
ック法を経た前者の画像データとMキュービック法を経
ない後者の画像データが最終的に360dpiとなった
ときでも画質の逆転は見られない。しかし、出力解像度
が720dpiであるときには精細になった分だけ、前
者のものについての画質の向上分を視認できてしまい、
逆転現象が起きてしまう。
As a specific example, the input image data is 1
It is assumed that the resolution is 70 dpi and the resolution is 185 dpi, and the switching resolution is fixed at 180 dpi and the output resolution is set to 360 dpi and the output resolution is set to 720 dpi.
In this case, the former image data is doubled by the M cubic method and interpolated to 340 dpi, and the latter image data is never interpolated by the M cubic method. However, when the output resolution is 360 dpi, the definition of printing cannot be said to be very high, so the former image data that has undergone the M cubic method and the latter image data that has not passed the M cubic method have finally become 360 dpi. Even at times, no reversal of image quality is seen. However, when the output resolution is 720 dpi, the improvement in image quality of the former one can be visually recognized as much as the resolution becomes finer.
The reversal phenomenon occurs.

【0059】このような微妙な感覚に基づく差であるか
ら、切替解像度を出力解像度に比例して上げていくのが
最適であるとも言えないし、さらには演算処理時間に対
する寛容度も一因となっているので結果的には実験など
によって定めていくほかはない。本実施形態の場合は、
かかるバランスを考慮して出力解像度が360dpiの
場合は切替解像度を180dpiに設定し、出力解像度
が720dpiの場合は切替解像度を240dpiに設
定している。すなわち、出力解像度が2倍になるのに対
して切替解像度は1.33…倍となっている。
Since it is a difference based on such a delicate sense, it cannot be said that it is optimal to raise the switching resolution in proportion to the output resolution, and further, the tolerance to the arithmetic processing time also contributes. Therefore, as a result, there is no choice but to decide by experiments. In the case of this embodiment,
In consideration of such a balance, the switching resolution is set to 180 dpi when the output resolution is 360 dpi, and the switching resolution is set to 240 dpi when the output resolution is 720 dpi. That is, the output resolution is doubled, while the switching resolution is 1.33 ...

【0060】このようにした場合、先程の例を当てはめ
ると、出力解像度が720dpiと設定したときのMキ
ュービック倍率については、170dpiのものと18
5dpiものとはともに切替解像度240dpiよりも
小さいので、それぞれ整数倍で240dpiを越えるよ
うにするために2倍を設定する。すると、Mキュービッ
ク法で340dpitと370dpiまで補間処理さ
れ、残りの720/340倍と720/370倍をニア
リスト法で補間処理する。Mキュービック法で340d
pitと370dpiと補間処理されるので、画質が逆
転するということはない。なお、ニアリスト倍率は整数
倍とはならないが、元もとの演算量が少ないので大した
問題とはならない。
In such a case, applying the above example, the M cubic magnification when the output resolution is set to 720 dpi is 170 dpi, and the M cubic magnification is 18 dpi.
Since both 5 dpi and 5 dpi are smaller than the switching resolution of 240 dpi, double is set in order to exceed 240 dpi as an integer multiple. Then, the M cubic method interpolates up to 340 dpi and 370 dpi, and the remaining 720/340 times and 720/370 times are interpolated by the near list method. 340d with M cubic method
Since the pit and 370 dpi are interpolated, the image quality does not reverse. The near-list magnification is not an integral multiple, but it does not cause a big problem because the original calculation amount is small.

【0061】以上は、理解の簡易のために画像データに
ついて解像度が指定されているようにして説明したが、
実際には上述したようにアプリケーション12dがオペ
レーティングシステム12aに対して出力サイズと画像
データを受け渡している。従って、この場合の例につい
て説明する。アプリケーション12dがVGAサイズ
(640×480画素)の画像を2Lプリントサイズ
(6×12cm)を指定して印刷要求したとする。2L
プリントサイズは6.299×4.724インチであ
り、101.6dpiとなる。出力解像度を720dp
iに設定しているときには、切替解像度は240dpi
となり、Mキュービック法での補間倍率は240dpi
以上となる最小整数倍であるので、3倍となる。3倍の
補間処理によって304.8(101.6×3)dpi
となるので、残りのニアリスト法による補間処理では
(720/304.8)倍の補間処理を行うことにな
る。
In the above description, the resolution is specified for the image data for easy understanding.
Actually, as described above, the application 12d passes the output size and the image data to the operating system 12a. Therefore, an example in this case will be described. It is assumed that the application 12d requests the image of VGA size (640 × 480 pixels) by designating the 2L print size (6 × 12 cm). 2L
The print size is 6.299 × 4.724 inches, which is 101.6 dpi. Output resolution 720dp
When set to i, the switching resolution is 240 dpi.
And the interpolation ratio in the M cubic method is 240 dpi.
Since the above is the minimum integral multiple, it becomes three times. 304.8 (101.6 × 3) dpi by triple interpolation processing
Therefore, in the remaining interpolation processing by the nearest method, the interpolation processing of (720 / 304.8) times is performed.

【0062】別の表現で説明すると、最終解像度が72
0dpiであるなら2Lプリントサイズでは4536×
3401画素となる。全体の補間倍率は4536/64
0=7.0875倍であり、最小整数倍率を3倍として
Mキュービック倍率とすればニアリスト倍率は7.08
75/3=2.3625倍となる。ステップST118
やステップST120にて補間処理を終了したら、続く
ステップST122にて色変換処理を行う。上述したよ
うにアプリケーション12dがオペレーティングシステ
ム12aに受け渡すのはRGB256階調の画像データ
であってこれまで行った補間処理では画素数が変化する
だけであってRGB256階調であることに変わりはな
い。これをカラープリンタ17bで使用する色インクに
合わせてRGB色空間からCMYK色空間へと画像デー
タの変換を行う。色変換は数式を利用して一義的に定ま
るものではないので予め対応関係を求めておいたルック
アップテーブルを利用するのが基本であり、その場合で
も全色分の巨大なルックアップテーブルを用意しておい
て対応関係を求めるようにしても良いし、色数を減らし
た比較的小さめのルックアップテーブルを用意しておい
て不足分を補間演算で補うようにしても良い。
In other words, the final resolution is 72.
If it is 0 dpi, it is 4536 x in 2L print size.
It becomes 3401 pixels. Overall interpolation ratio is 4536/64.
0 = 7.0875 times, and if the minimum integer scaling factor is 3 and M cubic scaling factor is set, the nearest scaling factor is 7.08.
75/3 = 2.3625 times. Step ST118
After completing the interpolation processing in step ST120, color conversion processing is performed in subsequent step ST122. As described above, the application 12d transfers the image data of RGB256 gradation to the operating system 12a. In the interpolation processing performed so far, only the number of pixels is changed and RGB256 gradation is unchanged. . Image data is converted from the RGB color space to the CMYK color space according to the color ink used in the color printer 17b. Color conversion is not uniquely determined by using mathematical formulas, so it is basically necessary to use a lookup table that has been obtained in advance for correspondence.Even in that case, a huge lookup table for all colors is prepared. The correspondence may be obtained in advance, or a relatively small lookup table in which the number of colors is reduced may be prepared and the shortfall may be compensated by interpolation calculation.

【0063】ルックアップテーブルで参照されるCMY
Kの色データの階調は必ずしも256階調である必要は
ないが、対応関係を定める以上は多階調でなければ思わ
ぬ変換結果となってしまう。このため、別にステップS
T124にてカラープリンタ17bの性能に応じた2階
調へのハーフトーン処理を行う。ハーフトーン処理によ
れば低階調でありながらも多数のドットを利用してマク
ロ的に色のずれの最小化を図ることができる。
CMY referenced in the lookup table
The gradation of the K color data does not necessarily have to be 256 gradations, but if the correspondence is determined, the conversion result will be unexpected unless it is a multi-gradation. Therefore, a separate step S
At T124, halftone processing for two gradations according to the performance of the color printer 17b is performed. According to the halftone process, it is possible to minimize the color shift macroscopically by using a large number of dots even though the gradation is low.

【0064】そして、このようにして最終的に得られた
CMYK2階調の印刷データはステップST126にて
カラープリンタ17bに出力される。むろん、印刷装置
に応じて具体的な印刷データの形態は変化してくること
になるし、必ずしも直に印刷装置に出力される必要はな
く、ファイル形式で保存されるようにしても構わない。
従って、印刷データを出力するというのは、次の段階へ
のデータの受け渡しを意味すればよい。
Then, the print data of CMYK2 gradation finally obtained in this way is output to the color printer 17b in step ST126. Needless to say, the specific form of print data changes depending on the printing device, and it is not always necessary to output the print data directly to the printing device, and the print data may be saved in a file format.
Therefore, outputting the print data may mean passing the data to the next stage.

【0065】以上の例では、カラープリンタ17bの印
刷性能が2階調であり、印刷解像度を選択できるものと
して説明した。これはバブルジェット方式のポンプ機構
を採用するインクジェットプリンタや電子写真方式のカ
ラープリンタ22においても、ほぼ同様のことがいえ
る。しかしながら、昇華式のカラープリンタを始め多階
調表現可能なものもあり、この場合には印刷する精細度
は解像度以外に階調数の要素も含まれることになる。以
下に、このような階調数を変更可能な場合の実施形態に
ついて説明する。
In the above example, the printing performance of the color printer 17b is two gradations, and the printing resolution can be selected. This can be said to be almost the same in an ink jet printer that employs a bubble jet type pump mechanism and an electrophotographic color printer 22. However, there are sublimation type color printers and other types capable of multi-gradation expression, and in this case, the fineness of printing includes the number of gradations in addition to the resolution. An embodiment in which the number of gradations can be changed will be described below.

【0066】図22〜図25は図3〜図5に示したピエ
ゾ素子を採用するマイクロポンプ機構を備えたインクジ
ェット方式においてドット径を変化できるようにしたカ
ラープリンタを示している。ドット径を変化させるため
にはピエゾ素子21a5に対する印加電圧を変化させる
ものとし、その印加電圧波形を図22に示している。ピ
エゾ素子21a5は印加電圧の極性によって変形方向も
異なるから、同図の波形に示すように最初に負の電圧を
印加するとインク室21a4を広げることになり、次い
で正の電圧を印加して色インク粒を吐出させている。こ
れを引きの電圧と押しの電圧と呼ぶことにすれば、小さ
く引いて小さく押すときに小さな色インク粒が吐出され
るし、大きく引いて大きく押すときに大きな色インク粒
が吐出されることになる。なお、小さい色インク粒を小
ドットと呼び、大きい色インク粒を中ドットと呼ぶ。
22 to 25 show a color printer in which the dot diameter can be changed in the ink jet system provided with the micro pump mechanism using the piezo element shown in FIGS. 3 to 5. In order to change the dot diameter, the applied voltage to the piezo element 21a5 is changed, and the applied voltage waveform is shown in FIG. Since the piezo element 21a5 has a different deformation direction depending on the polarity of the applied voltage, the ink chamber 21a4 is expanded when a negative voltage is first applied as shown in the waveform of FIG. The particles are being ejected. If we call this a pull voltage and a push voltage, small color ink particles are ejected when a small pull and a small push are made, and large color ink particles are ejected when a big pull and a big push are made. Become. The small color ink particles are called small dots, and the large color ink particles are called medium dots.

【0067】ハードウェア的には図22に示すように出
力電圧を任意に変化させることが可能なD/Aポートを
印字ヘッドコントローラ21bに備えておき、図23に
示すようにオペアンプを介してピエゾ素子21a5へ駆
動電圧を出力する。駆動電圧の差は色インク粒のドット
径のみならず、吐出速度にも影響を与える。図24には
小ドットと中ドットの吐出タイミングを示している。印
字ヘッド21aと用紙との間には一定の距離があるの
で、吐出速度によって到達するのに要する時間は異な
る。一方、印字ヘッド21a自体は桁送り方向に移動し
ているので、吐出速度が速い場合と遅い場合とで吐出タ
イミングが同じだとすればドットの付着位置が変わって
きてしまう。この例においては、小ドットの吐出タイミ
ングと中ドットの吐出タイミングをずらして設定してあ
り、このずれは色インク粒が紙に付着するタイミングが
一致するように調整してある。むろん桁送り方向での各
位置ごとにこのタイミングのずれを設定してあり、付す
べきドットが小ドットであれば小ドット吐出タイミング
で色インク粒を吐出させるし、付すべきドットが中ドッ
トであればわずかに遅れた中ドット吐出タイミングで色
インク粒を吐出させる。また、両方の色インク粒を吐出
させることも可能であり、この場合には1画素に対応す
る小ドット吐出タイミングと中ドット吐出タイミングの
両方で駆動電圧を印加させることにより連続して色イン
ク粒が吐出され、ちょうど紙面に付着するタイミングで
両者は一体化しつつ紙上にドットを付すことになる。
In terms of hardware, the print head controller 21b is provided with a D / A port whose output voltage can be arbitrarily changed as shown in FIG. The drive voltage is output to the element 21a5. The difference in drive voltage affects not only the dot diameter of the color ink particles but also the ejection speed. FIG. 24 shows the ejection timings of small dots and medium dots. Since there is a fixed distance between the print head 21a and the paper, the time required to reach it differs depending on the ejection speed. On the other hand, since the print head 21a itself is moving in the column feed direction, if the ejection timing is the same when the ejection speed is high and when the ejection speed is slow, the dot attachment position changes. In this example, the ejection timings of the small dots and the ejection timings of the medium dots are set to be shifted, and this deviation is adjusted so that the timings at which the color ink particles adhere to the paper coincide. Of course, this timing deviation is set for each position in the shift direction, and if the dots to be attached are small dots, the color ink particles are ejected at the small dot ejection timing, and the dots to be attached should be medium dots. For example, the color ink particles are ejected at the medium dot ejection timing slightly delayed. It is also possible to eject both color ink droplets. In this case, by applying the drive voltage at both the small dot ejection timing and the medium dot ejection timing corresponding to one pixel, the color ink droplets are continuously applied. Are ejected, and at the timing when they are just attached to the paper surface, the two are integrated and dots are formed on the paper.

【0068】図25は色インク粒が吐出されて紙面上に
形成するドットの大きさを示している。小ドットと中ド
ットが単独で付着する場合とともに、両者が複合して付
着する場合とがあり、付着されるドットの大きさは3種
類ある。むろん付着しない状態を含めれば4種類存在す
ることになるし、ドットの大きさはその色の現れ方の強
さと言えるから階調としては4階調となる。すなわち、
印字ヘッドコントローラ21bにて二種類の印加電圧を
出力可能としつつ、その出力タイミングも1画素あたり
小ドット用と中ドット用との二つのタイミングを可能と
しておき、かつ、各タイミングでの印加電圧をオン・オ
フ制御することにより、4階調印刷が可能となる。
FIG. 25 shows the size of dots formed by ejecting color ink particles on the paper surface. In some cases, the small dots and the medium dots may be attached individually, and in some cases, both may be attached in combination, and there are three sizes of the attached dots. Of course, there are four types including the state in which they do not adhere, and since the size of the dot can be said to be the strength of the appearance of that color, there are four tones. That is,
While the print head controller 21b can output two types of applied voltages, the output timing can also be set to two timings for one pixel, one for a small dot and one for a medium dot, and the applied voltage at each timing can be changed. On / off control enables 4-gradation printing.

【0069】一方、図26はこのような4階調印刷を可
能とした場合におけるプリンタの設定を行う操作ウィン
ドウを示している。先の例では、印刷時の精細度として
「解像度」を選択できるようにしたが、この例では「印
刷階調」を「2階調」とするか「4階調」とするかを選
択可能としている。その他の「用紙」や「印刷の向き」
については同様である。なお、この例では解像度が72
0dpiに固定されているものとして説明するが、むろ
ん解像度自体を併せて選択可能とすることも可能であ
る。
On the other hand, FIG. 26 shows an operation window for setting the printer when such 4-gradation printing is possible. In the previous example, "resolution" can be selected as the definition at the time of printing, but in this example, "print gradation" can be selected from "2 gradation" or "4 gradation". I am trying. Other "paper" and "orientation"
Is the same. Note that the resolution is 72 in this example.
The description is given assuming that the resolution is fixed to 0 dpi, but it is also possible to select the resolution itself together.

【0070】図27は階調数を変更可能なカラープリン
タで印刷を行う場合における図10の印刷処理との相違
点を示す部分フローチャートである。図27に示すフロ
ーと図10に示すフローとにおいて、それぞれ下二桁が
一致する処理が相互に変更される処理であり、残りの処
理は一致している。ステップST204では印刷階調数
の選択処理であり、ここでは上述した場合と同様に既に
階調数が設定されていればそれを読み込むことになる
し、印刷オプションの入力操作が行われるような場合に
は入力される階調数を取得することになる。また、その
後のステップST206ではこのようにして取得されて
いる階調数が2階調であるか4階調であるかを判断し、
2階調であればステップST208にて切替解像度を2
40dpiに設定するし、4階調であればステップST
210にて切替解像度を360dpiに設定する。
FIG. 27 is a partial flow chart showing the difference from the print processing of FIG. 10 in the case of printing with a color printer whose gradation number can be changed. In the flow shown in FIG. 27 and the flow shown in FIG. 10, the processes in which the last two digits are the same are the processes that are mutually changed, and the remaining processes are the same. In step ST204, the print gradation number selection processing is performed. If the gradation number has already been set, it is read as in the case described above, and in the case where a print option input operation is performed. To obtain the number of gradations input. Further, in the subsequent step ST206, it is determined whether the number of gradations thus obtained is 2 gradations or 4 gradations,
If there are two gradations, the switching resolution is set to 2 in step ST208.
Set to 40 dpi, and if there are 4 gradations, step ST
At 210, the switching resolution is set to 360 dpi.

【0071】階調数が倍になることにより、フルカラー
出力に必要なドット数は1/2に減り、理論上の表現解
像度は縦横の二次元であることを考慮すると2**(1
/2)倍となる。これを反映して概ね上のような切替解
像度の設定としている。これが64階調か256階調か
という選択になるとすれば、フルカラー出力に必要なド
ット数は1/4に減り、理論上の表現解像度は2倍にな
ったことになる。そして、このように設定した切替解像
度を基準として、ステップST112〜ST122にて
Mキュービック倍率とニアリスト倍率とを設定した上で
それぞれの補間処理を実行する。むろん、この場合もM
キュービック倍率は上記切替解像度以上となる最小整数
倍であるし、ニアリスト法は残りの倍率を補間する。
By doubling the number of gradations, the number of dots required for full-color output is reduced to 1/2, and considering that the theoretical expression resolution is two-dimensional vertically and horizontally, 2 ** (1
/ 2) times. Reflecting this, the switching resolution is set as above. If this is selected as 64 gradations or 256 gradations, the number of dots required for full color output is reduced to 1/4 and the theoretical expression resolution is doubled. Then, with the switching resolution set in this way as a reference, the M cubic magnification and the near list magnification are set in steps ST112 to ST122, and then the respective interpolation processes are executed. Of course, in this case also M
The cubic magnification is a minimum integral multiple that is equal to or higher than the switching resolution, and the near-list method interpolates the remaining magnification.

【0072】上述したように理論上の表現解像度が高く
なるにもかかわらず、切替解像度が240dpiのまま
であったとすると、230dpiの画像データについて
は240dpiを越えるようにMキュービック法で補間
処理されるし、245dpiの画像データはMキュービ
ック法では補間処理されない。ただ、この場合は切替解
像度が十分に高いので、2階調での表示においては両者
の画質の差が殆ど見られない。
As described above, assuming that the switching resolution remains 240 dpi despite the theoretically high representation resolution, 230 dpi image data is interpolated by the M cubic method so as to exceed 240 dpi. However, the image data of 245 dpi is not interpolated by the M cubic method. However, in this case, since the switching resolution is sufficiently high, there is almost no difference in image quality between the two when displaying with two gradations.

【0073】しかしながら、4階調表示となることによ
って理論上の表現解像度が高くなると、230dpiの
画像データについて240dpiを越えるようにミニマ
ムの整数倍である2倍の補間処理を実施したものの方が
245dpiの画像データについてニアリスト法だけで
720dpiにしたものよりも画質の差が良くなってし
まい、逆転現象が生じてしまう。これに対して4階調の
表示としつつ切替解像度を360dpiに上げることに
より、245dpiの画像データについてもMキュービ
ック法によって2倍に補間処理されることになり、逆転
現象は生じなくなる。また、350dpiと365dp
iの画像データについては前者のものについてだけMキ
ュービック法による補間処理がなされるが、4階調表示
の場合での両者の差異は視認できないといってよい。
However, when the theoretical representation resolution becomes higher due to the 4-gradation display, the image data of 230 dpi is 245 dpi when the interpolation processing of 2 times which is an integral multiple of the minimum is performed so as to exceed 240 dpi. With respect to the image data, the difference in image quality becomes better than that obtained by the Nearest method alone at 720 dpi, and the inversion phenomenon occurs. On the other hand, by increasing the switching resolution to 360 dpi while displaying four gradations, image data of 245 dpi is also subjected to double interpolation processing by the M cubic method, and the inversion phenomenon does not occur. Also, 350 dpi and 365 dpi
The image data of i is subjected to the interpolation processing by the M cubic method only for the former one, but it can be said that the difference between the two in the case of 4-gradation display cannot be visually recognized.

【0074】なお、先の例ではステップST124のハ
ーフトーン処理で256階調を2階調に階調変換してい
るが、この場合はステップST224にてCMYK25
6階調をCMYK4階調に階調変換することになる。こ
のように、インクジェット方式のカラープリンタ17b
などを有するコンピュータシステム10において、当該
カラープリンタ17bの解像度と元の画像データの解像
度とが一致しない場合に補間処理を実行するが、この補
間処理は先に精度の高い演算処理で切替解像度以上にし
た上で精度の低い演算処理で最終の解像度に一致させる
ようにしており、かつ、カラープリンタ17bにおける
印刷時の精細度に応じて同切替解像度を変えるようにし
たため、最終的な精細度が高くなるにつれて精度の高い
演算処理の負担割合が高くなり、精細度が高いにも関わ
らず画質的には劣化してしまうという逆転現象がおきに
くくすることができる。
In the above example, 256 gradations are converted into 2 gradations by the halftone processing in step ST124. In this case, however, CMYK25 is converted in step ST224.
6 gradations will be converted into CMYK 4 gradations. In this way, the inkjet color printer 17b
In the computer system 10 including the above, when the resolution of the color printer 17b and the resolution of the original image data do not match, the interpolation process is executed. Moreover, the final resolution is high because the resolution is matched with the final resolution by low-precision arithmetic processing and the switching resolution is changed according to the definition at the time of printing in the color printer 17b. As a result, the load ratio of highly accurate calculation processing increases, and it is possible to prevent the inversion phenomenon that the image quality deteriorates despite the high definition.

【0075】以上説明したように、本実施形態において
は、画像をドットマトリクス状の画素で多階調表現した
画像データを取得する画像データ取得ユニットと、上記
ドットマトリクス状の画素で多階調表現された画像の画
素を所定の補間倍率となるように補間して生成するにあ
たり精度の高い演算手法で補間してから精度の低い演算
手法で補間するものとしつつこれらを所定の負担割合で
実行する画素補間ユニットと、この画素補間ユニットで
上記画像データを基準として補間処理するにあたり印刷
する際の精細度を検出する精細度検出ユニットと、この
精細度検出ユニットで検出した精細度に基づいて上記画
素補間ユニットにおける負担割合を算出するにあたり高
精細であるほど精度の高い演算手法に割り当てられる負
担割合が増加するように補間倍率を調整する補間倍率調
整ユニットと、この補間倍率調整ユニットにて決定され
る負担割合で補間処理された補間画像データに基づいて
所定の印刷データに変換して出力する印刷データ出力ユ
ニットとを具備する構成としてある。
As described above, in the present embodiment, an image data acquisition unit for acquiring image data in which an image is expressed in multi-gradation by dot matrix pixels, and multi-gradation expression in the dot matrix pixels. When the pixels of the image are interpolated so as to have a predetermined interpolation magnification and are generated, they are interpolated by a high-precision arithmetic method and then interpolated by a low-precision arithmetic method, and these are executed at a predetermined burden ratio. A pixel interpolating unit, a fineness detecting unit for detecting the fineness at the time of printing when performing interpolation processing with the image data as a reference in the pixel interpolating unit, and the pixel based on the fineness detected by the fineness detecting unit. In calculating the burden ratio in the interpolation unit, the higher the precision, the more the burden ratio assigned to the highly accurate calculation method increases. An interpolating magnification adjusting unit for adjusting the interpolating magnification, and a print data output unit for converting the interpolating image data interpolated at the load ratio determined by the interpolating magnification adjusting unit into predetermined print data and outputting the print data. Is provided.

【0076】このように構成した場合には、画像データ
取得ユニットが画像をドットマトリクス状の画素で多階
調表現した画像データを取得すると、画素補間ユニット
が精度の高い演算手法で補間してから精度の低い演算手
法で補間するが、同画素補間ユニットで上記画像データ
を基準として補間処理するにあたり、印刷する際の精細
度を精細度検出ユニットが検出する。そして、この精細
度検出ユニットで検出した精細度に基づいて補間倍率調
整ユニットは上記画素補間ユニットにおける負担割合を
算出するものとし、その際には高精細であるほど精度の
高い演算手法に割り当てられる負担割合が増加するよう
に補間倍率を調整する。上記画素補間ユニットは、この
ようにして調整される補間倍率に従って精度の高い演算
手法で補間してから精度の低い演算手法で補間し、印刷
データ出力ユニットは補間処理された補間画像データに
基づいて所定の印刷データに変換して出力する。
In such a configuration, when the image data acquisition unit acquires image data in which the image is expressed in multiple gradations with dot matrix pixels, the pixel interpolation unit interpolates by a highly accurate calculation method. Interpolation is performed by a calculation method with low accuracy, but when performing interpolation processing using the image data as a reference in the same pixel interpolation unit, the fineness detection unit detects the fineness at the time of printing. Then, the interpolation magnification adjustment unit calculates the burden ratio in the pixel interpolation unit based on the definition detected by this definition detection unit, and in that case, the higher the definition, the higher the accuracy is assigned to the calculation method. The interpolation magnification is adjusted so that the burden ratio increases. The pixel interpolation unit interpolates by a highly accurate calculation method according to the interpolation magnification adjusted in this way, and then interpolates by a low accuracy calculation method, and the print data output unit is based on the interpolated image data subjected to interpolation processing. The data is converted into predetermined print data and output.

【0077】従って、印刷する際の精度が高くなると精
度の高い演算手法で行われる補間倍率の負担割合は増加
していき、精度の高い演算手法で補間される負担割合が
上がることによって画質が向上する分、残りの負担割合
を精度の低い演算手法で補間しても画質の逆転が起こり
にくくなる。このように、印刷する際の精度が高くなる
と精度の高い演算手法で行われる補間倍率の負担割合が
増加していくようにしたため、精度の高い演算手法で補
間される負担割合が上がることによって画質が向上する
分、残りの負担割合を精度の低い演算手法で補間しても
画質の逆転がしにくくなるようにすることが可能な印刷
用画像データ補間装置を提供することができる。
Therefore, as the accuracy of printing increases, the burden ratio of the interpolation magnification performed by the highly accurate calculation method increases, and the burden ratio of the interpolation by the highly accurate calculation method increases, thereby improving the image quality. Therefore, even if the remaining load ratio is interpolated by a low-precision calculation method, the image quality is less likely to be reversed. In this way, as the printing accuracy increases, the burden ratio of the interpolation magnification performed by the highly accurate calculation method increases. As a result, it is possible to provide a printing image data interpolating device capable of making it difficult for the image quality to be reversed even when the remaining load ratio is interpolated by a low-precision calculation method.

【0078】すなわち、印刷する際の精細度が高くなる
と、精度の高い演算手法から精度の低い演算手法へと画
像データを受け渡す際の精細度が画質に影響を与えるこ
とになるため、印刷する際の精細度が高まれば精度の高
い演算手法の負担割合を増加させることにしている。従
って、判断の基準となる印刷する際の精細度もかかる基
準となるものであればよい。その一例として、上記精細
度検出ユニットを、印刷する際の画像データにおける階
調数を精細度として検出する構成とすることもできる。
That is, when the definition at the time of printing becomes high, the definition at the time of transferring the image data from the highly accurate calculation method to the less accurate calculation method affects the image quality, and therefore the printing is performed. The higher the degree of definition, the higher the load ratio of the highly accurate calculation method. Therefore, the definition at the time of printing, which serves as a criterion for determination, may be such a criterion. As an example, the definition detecting unit may be configured to detect the number of gradations in image data when printing as the definition.

【0079】このように構成した場合は、精細度検出ユ
ニットが印刷する際の画像データにおける階調数を精細
度として検出する。印刷の例を上げると、ある色のドッ
トを付すか否かというのであれば印刷する際の階調表現
は2階調であるし、薄いマゼンタと濃いマゼンタとを使
用するのであれば2×2の4階調であるといえる。ま
た、シアン、マゼンタ、イエローという三要素色につい
て言えば2階調であるときに8色表現となり、4階調で
あるときに64色表現となるので、色数といっても差し
支えない。
In the case of such a configuration, the number of gradations in the image data at the time of printing by the definition detecting unit is detected as the definition. As an example of printing, if a dot of a certain color is to be added or not, the gradation expression at the time of printing is 2 gradations, and if light magenta and dark magenta are used, 2 × 2. It can be said that there are four gradations. Further, regarding the three element colors of cyan, magenta, and yellow, when there are 2 gradations, 8 colors are expressed, and when there are 4 gradations, 64 colors are expressed, so there is no problem with the number of colors.

【0080】このようにすれば、印刷段階での階調数が
変化する場合に逆転が起こりにくくなる。また、階調数
についても各種の態様があり得るが、その一例として、
上記階調数は、画素に付する記録剤の径の大きさを変え
て変化させる構成とすることもできる。かかる構成にお
いては、画素に付する記録剤の径の大きさを変えるよう
な場合も階調表現の一例であるから、この径の大きさに
基づいて階調数として検出する。
By doing so, it is difficult for the reverse rotation to occur when the number of gradations changes in the printing stage. Also, there can be various modes for the number of gradations.
The number of gradations may be changed by changing the size of the diameter of the recording material applied to the pixels. In such a configuration, the case where the size of the diameter of the recording material attached to the pixel is changed is also an example of gradation expression, and therefore the gradation number is detected based on the size of the diameter.

【0081】このようにすれば、印刷段階での階調をド
ット径で変化させる場合に逆転が起こりにくくなる。精
細度は階調数に限られるものではなく、他の一例とし
て、上記精細度検出ユニットは、印刷する際の画像デー
タにおける解像度を精細度として検出する構成とするこ
ともできる。このように構成した場合は、精細度検出ユ
ニットが印刷する際の画像データにおける解像度を精細
度として検出する。例えば、印刷する解像度として36
0dpiと720dpiとを選択可能としているとき、
精細度検出ユニットはどちらの解像度を選択されている
かを検出することになる。むろん、300dpiである
とか600dpiであるとか、他の解像度であっても構
わない。
By doing so, it is difficult for the reverse rotation to occur when the gradation at the printing stage is changed by the dot diameter. The definition is not limited to the number of gradations. As another example, the definition detecting unit may be configured to detect the resolution of image data when printing as the definition. With such a configuration, the resolution in the image data when printing is detected by the definition detecting unit is detected as the definition. For example, the printing resolution is 36
When 0 dpi and 720 dpi can be selected,
The definition detection unit will detect which resolution is selected. Needless to say, the resolution may be 300 dpi, 600 dpi, or another resolution.

【0082】このようにすれば、印刷段階での解像度が
変化する場合に逆転が起こりにくくなる。また、画像デ
ータ取得ユニットは、かかる画像データを取得するもの
であり、上記画素補間ユニットが構成画素を増やすため
の補間処理を行うにあたり、対象となる画像データを保
持するようなものであればよい。従って、その取得手法
は特に限定されるものではなく、各種のものを採用可能
である。例えば、インターフェイスを介して外部機器か
ら取得するものであってもよいし、撮像ユニットを備え
て画像を撮像するものであっても良い。また、コンピュ
ータグラフィックアプリケーションを実行してマウスや
キーボードから入力するものであってもよい。
By doing so, it is difficult for the reverse rotation to occur when the resolution changes at the printing stage. The image data acquisition unit is for acquiring such image data, and may be any one that holds the target image data when the pixel interpolation unit performs the interpolation process for increasing the number of constituent pixels. . Therefore, the acquisition method is not particularly limited, and various kinds can be adopted. For example, it may be acquired from an external device via an interface or may be equipped with an imaging unit to capture an image. Alternatively, a computer graphic application may be executed and input may be performed using a mouse or a keyboard.

【0083】画素補間ユニットは、精度の高い演算手法
と精度の低い演算手法とで補間処理を行うことができる
ものであればよいが、これは二つの演算手法に限られる
ものではない。また、精度の高い演算手法か精度の低い
演算手法は相対的なものであり、基準値がある必要もな
い。それぞれの演算手法は各種の手法を含むものであ
り、その一例として、上記画素補間ユニットは、精度の
高い演算手法で行う補間処理として補間する画素の画像
データがなだらかに変化するように周囲の画素の画像デ
ータから演算処理で補間画素の画像データを算出する補
間処理を実行する構成とすることもできる。
The pixel interpolation unit may be one that can perform interpolation processing with a highly accurate calculation method and a low accuracy calculation method, but this is not limited to two calculation methods. In addition, the calculation method with high accuracy or the calculation method with low accuracy is relative and does not need to have a reference value. Each of the calculation methods includes various methods, and as an example, the pixel interpolation unit uses the surrounding pixels so that the image data of the pixels to be interpolated as the interpolation processing performed by the highly accurate calculation method changes gently. It is also possible to adopt a configuration in which the interpolation process of calculating the image data of the interpolation pixel from the image data of is calculated.

【0084】このように構成した場合は、周囲の画素の
画像データを利用して演算処理することにより、補間す
る画素の画像データはなだらかに変化する。このよう
に、なだらかに変化させると、変化度合いの大きい画素
の並びがあったとして、この間を補間したとしても段差
が目立たず、従って画質の良いものとなる。このように
すれば、周囲の画素の画像データから演算処理で補間画
素の画像データを算出するため、補間する画素の画像デ
ータはなだらかに変化し、演算量が多くなる分、画質が
向上する。補間する画素の画像データがなだらかに変化
する演算手法は各種のものを採用可能であるが、その一
例として、変化度合いの大きい画素間では画像データの
変化態様を略S字型としつつその傾斜を調整するととも
に、両端部位では低い側にアンダーシュートを発生させ
つつ高い側にオーバーシュートを発生させて高低差を形
成してその高低差を調整することも可能である。このよ
うにすると、なだらかには変化するもののその変化態様
は単に直線的に結ぶ勾配よりは急峻とさせることがで
き、その傾斜を調整して画像の変化度合いを最適なもの
とすることが可能となる。また、両端部位で低い側にア
ンダーシュートを発生させつつ高い側にオーバーシュー
トを発生させると高低差は大きくなり、かつ、その高低
差を調整することによっても見かけ上の画像の変化度合
いを最適なものとすることが可能となる。このような演
算処理の一例としては、多次演算処理の3次たたみ込み
内挿法などを使用可能であるし、かかる調整を可能とす
る演算処理はこれに限られず、他の演算手法を採用する
こともできる。
In the case of such a configuration, the image data of the pixels to be interpolated changes gently by performing the arithmetic processing using the image data of the surrounding pixels. In this way, when the gradation is changed gently, it is considered that there is an array of pixels with a large degree of change, and even if interpolation is performed between these, the step is not conspicuous, and therefore the image quality is good. With this configuration, since the image data of the interpolated pixel is calculated by the calculation process from the image data of the surrounding pixels, the image data of the pixel to be interpolated changes gently, and the image quality improves as the amount of calculation increases. Various calculation methods can be adopted for the image data of the pixel to be interpolated to change gently. As an example, between the pixels having a large degree of change, the change mode of the image data is substantially S-shaped and its inclination is changed. In addition to the adjustment, it is possible to adjust the height difference by generating an undershoot on the lower side and an overshoot on the higher side at both ends to form a height difference. In this way, although it changes gently, the change mode can be made steeper than the gradient that is simply connected in a straight line, and the inclination can be adjusted to optimize the degree of change in the image. Become. In addition, when undershoot is generated on the low side and overshoot is generated on the high side at both end parts, the height difference becomes large, and the degree of change in the apparent image can be optimized by adjusting the height difference. It becomes possible. As an example of such an arithmetic process, a cubic convolution interpolation method of a multi-dimensional arithmetic process can be used, and the arithmetic process that enables such adjustment is not limited to this, and another arithmetic method is adopted. You can also do it.

【0085】さらに、上記画素補間ユニットは、精度の
低い演算手法で行う補間処理として補間処理前の最近隣
画素の画像データを新たな構成画素の画像データに利用
する補間処理を実行する構成とすることもできる。この
ように構成した場合は、一つの補間処理として補間処理
前の最近隣画素の画像データを新たな構成画素の画像デ
ータに利用するので、実質的に殆ど演算量を要すること
が無く、処理量が極めて少ない手法と言える。
Further, the pixel interpolating unit is configured to execute the interpolating process in which the image data of the nearest neighbor pixel before the interpolating process is used as the image data of the new constituent pixel as the interpolating process performed by the low precision calculation method. You can also When configured in this way, since the image data of the nearest neighboring pixel before the interpolation processing is used as the image data of the new constituent pixels as one interpolation processing, substantially no calculation amount is required and the processing amount is substantially reduced. Can be said to be an extremely small method.

【0086】このようにすれば、既存の画素の画像デー
タをそのまま利用することになるので精度面では向上を
望みにくいものの演算量は少なくなる。ここでいう負担
割合とは、精度の高い演算手法が行うことになる補間倍
率と精度の低い演算手法が行うことになる補間倍率との
比であるとは限らない。従って、精度の高い演算手法が
行うことになる補間倍率自体は徐々に減っていくことと
なっても構わない。補間倍率が徐々に減っていきながら
負担割合が増加するというのは、このように負担割合を
変えるということをしなかった場合の補間倍率とする場
合の補間倍率の比が上がるようなものであっても良いこ
とを意味する。
By doing so, since the image data of the existing pixel is used as it is, it is difficult to expect improvement in accuracy, but the amount of calculation is reduced. The burden ratio here does not always mean the ratio of the interpolation magnification to be performed by the highly accurate calculation method and the interpolation magnification to be used by the low accuracy calculation method. Therefore, the interpolation magnification itself, which is calculated by a highly accurate calculation method, may gradually decrease. The fact that the burden rate increases while the interpolation rate gradually decreases means that the ratio of the interpolation rate when the burden rate is not changed in this way becomes the interpolation rate. It means that it is okay.

【0087】その一例として、上記画素補間ユニット
は、所定の切替解像度を有しており、精度の高い演算手
法でこの切替解像度を超えるように補間処理した上で、
残りの補間倍率を精度の低い演算手法で補間するもので
あるとともに、上記補間倍率調整ユニットは、上記切替
解像度を変化させて補間倍率の調整を行う構成とするこ
ともできる。このように構成した場合は、精度の高い演
算手法で一定の解像度である切替解像度を超えるまで補
間し、精度の低い演算手法で残りの解像度となるまで補
間するが、印刷する際の精細度が高ければこの切替解像
度を高くする。いま、印刷する際の精細度が低いとする
と、この場合に設定される切替解像度は低くなり、精度
の高い演算手法ではこの切替解像度を超えるところまで
の補間倍率の補間を行うことになる。しかしながら、印
刷する際の精細度が高くなれば切替解像度も高くなり、
その場合には精度の高い演算手法で同切替解像度を超え
るところまで補間するのであるから補間倍率は増加する
ことになる。この意味で負担割合が増加すると言える。
As an example thereof, the pixel interpolation unit has a predetermined switching resolution, and after performing an interpolation process to exceed the switching resolution by a highly accurate calculation method,
The remaining interpolation magnification may be interpolated by a calculation method with low accuracy, and the interpolation magnification adjusting unit may be configured to adjust the interpolation magnification by changing the switching resolution. When configured in this way, interpolation is performed using a highly accurate calculation method until the switching resolution, which is a constant resolution, is exceeded, and interpolation is performed using a low accuracy calculation method until the remaining resolution is reached. If it is higher, the switching resolution is increased. Now, assuming that the definition at the time of printing is low, the switching resolution set in this case becomes low, and in the highly accurate calculation method, the interpolation magnification is interpolated up to a point exceeding this switching resolution. However, the higher the definition when printing, the higher the switching resolution,
In that case, since the interpolation is performed up to the point where the switching resolution is exceeded by a highly accurate calculation method, the interpolation magnification increases. In this sense, it can be said that the burden ratio will increase.

【0088】また、印刷する際の精細度が低いときのし
きい値であれば元の画像データの解像度の方が大きいが
ために補間処理されなかったとしても、印刷する際の精
細度が高くなることによってこのしきい値が大きくなる
ので、元の画像データの解像度を越えることもある。す
ると、精度の高い演算手法で補間処理されることにな
り、この場合でも精度の高い演算手法の負担割合が増加
したと言える。むろん、従来のような逆転現象も起こら
なくなる。
Further, even if the original image data has a higher resolution if the threshold value when the definition at the time of printing is low and the interpolation processing is not performed, the definition at the time of printing is high. As a result, the threshold value becomes large, which may exceed the resolution of the original image data. Then, interpolation processing is performed with a highly accurate calculation method, and even in this case, it can be said that the load ratio of the highly accurate calculation method has increased. Of course, the conventional reversal phenomenon will not occur.

【0089】なお、しきい値が高くなった場合でも、し
きい値よりも解像度が低い画像データについては精度の
高い演算手法で補間処理されるし、しきい値よりも解像
度が高い画像データについては精度の高い演算手法で補
間処理されないということが起こることに変わりはない
が、この場合のしきい値は十分に高くなっており、精度
の高い演算手法による画質向上の効果が小さくなり、ア
ウトプットに画質の差は出てこなくなる。
Even when the threshold value becomes high, image data having a resolution lower than the threshold value is interpolated by a highly accurate calculation method, and image data having a resolution higher than the threshold value is processed. However, the threshold value in this case is sufficiently high, and the effect of improving the image quality by the accurate calculation method is small, and the output The difference in image quality does not appear.

【0090】このようにすれば、切替解像度を変化させ
るだけで負担割合が実質的に変化し、調整が容易とな
る。印刷データ出力ユニットは補間画像データに基づい
て所定の印刷データに変換して出力するが、印刷データ
が供給されることになる印刷装置に応じて適宜変更可能
である。例えば、印刷装置の記録剤に対応した印刷原理
であるとか、記録剤の要素色数であるとか、階調数など
に応じて必要となる印刷データは変化するから、これに
対応した印刷データに変換すればよい。むろん、色座標
変換であるとか、階調変換などを一要素として含むこと
になる。
By doing so, the burden ratio substantially changes only by changing the switching resolution, and the adjustment becomes easy. The print data output unit converts the interpolated image data into predetermined print data and outputs the print data, but the print data output unit can be appropriately changed depending on the printing apparatus to which the print data is supplied. For example, the required print data changes depending on the printing principle corresponding to the recording material of the printing device, the number of element colors of the recording material, the number of gradations, etc. Just convert it. Of course, color coordinate conversion, gradation conversion, and the like are included as one element.

【0091】このように、印刷する際の精細度が高精細
であるほど精度の高い演算手法に割り当てられる負担割
合が増加するように補間倍率を調整する手法は必ずしも
実体のある装置に限られる必要はなく、その方法として
も機能することは容易に理解できる。ところで、このよ
うな印刷制御装置は単独で存在する場合もあるし、ある
機器に組み込まれた状態で利用されることもあるなど、
発明の思想としてはこれに限らず、各種の態様を含むも
のである。従って、ソフトウェアであったりハードウェ
アであったりするなど、適宜、変更可能である。
As described above, the method of adjusting the interpolation magnification so that the burden ratio assigned to the highly accurate calculation method increases as the definition at the time of printing becomes higher, is necessarily limited to an actual apparatus. It is easy to understand that it works as a method. By the way, such a print control device may exist as a single device or may be used in a state of being incorporated in a certain device.
The idea of the invention is not limited to this, but includes various aspects. Therefore, it can be appropriately changed, such as software or hardware.

【0092】発明の思想の具現化例として印刷用画像デ
ータ補間装置のソフトウェアとなる場合には、かかるソ
フトウェアを記録した記録媒体上においても当然に存在
し、利用されるといわざるをえない。むろん、その記録
媒体は、磁気記録媒体であってもよいし光磁気記録媒体
であってもよいし、今後開発されるいかなる記録媒体に
おいても全く同様に考えることができる。また、一次複
製品、二次複製品などの複製段階については全く問う余
地無く同等である。その他、供給方法として通信回線を
利用して行なう場合でも本発明が利用されていることに
はかわりない。
When the software of the image data interpolating device for printing is used as an example of embodying the idea of the invention, it must be said that the software naturally exists on the recording medium recording the software and is used. Of course, the recording medium may be a magnetic recording medium or a magneto-optical recording medium, and any recording medium developed in the future can be considered in exactly the same manner. In addition, the duplication stage of the primary duplication product, the secondary duplication product, and the like is absolutely the same. In addition, even when the communication method is used as the supply method, the present invention is still used.

【0093】さらに、一部がソフトウェアであって、一
部がハードウェアで実現されている場合においても発明
の思想において全く異なるものはなく、一部を記録媒体
上に記憶しておいて必要に応じて適宜読み込まれるよう
な形態のものとしてあってもよい。上述した実施形態に
おいては、印刷品質に影響を与える出力解像度を基準と
して、切換解像度を設定して最適な印刷処理を実現でき
るようにしているが、印刷品質を基準として印刷制御を
切り換えるのはこのような例に限られるものではない。
以下においては、印刷品質を考慮した所望のパフォーマ
ンスに対応した最適な印刷制御を実施する例について説
明する。
Further, even when a part is software and a part is realized by hardware, there is no difference in the idea of the invention, and it is necessary to store a part on a recording medium. It may be in such a form that it is read as appropriate. In the above-described embodiment, the switching resolution is set based on the output resolution that affects the print quality so that the optimum print processing can be realized. However, the print control is switched based on the print quality. It is not limited to such an example.
In the following, an example will be described in which optimum print control corresponding to desired performance in consideration of print quality is performed.

【0094】本実施形態においては、上述したようなハ
ードウェアシステムを前提とし、コンピュータシステム
10の画像入力デバイスで取得した画像データに基づい
て印刷を実行する。その際、元の画像データの解像度と
階調度がカラープリンタ17bの解像度と階調度と相違
するため、プリンタドライバ12cにおいて画素補間処
理と階調変換処理とを実行する。その概略構成は図28
に示すようになっている。
In this embodiment, printing is executed based on the image data acquired by the image input device of the computer system 10 on the premise of the above hardware system. At that time, since the resolution and gradation of the original image data are different from the resolution and gradation of the color printer 17b, the pixel interpolation processing and the gradation conversion processing are executed in the printer driver 12c. Its schematic configuration is shown in FIG.
As shown in.

【0095】ここで、アプリケーション12dが印刷処
理を実行した際にカラープリンタ17bに対して印刷デ
ータが出力される際の解像度と階調度の変化について説
明する。図29はかかる処理を行うプリンタドライバ1
2cのフローチャートを示している。ドットマトリクス
状の画素として表した元画像データの解像度は72dp
iであって256階調であるとすると、最初のステップ
150にてカラープリンタ17bの色インクに合わせる
ために色変換処理を実行してRGB256階調からCM
YK256階調へと変換し、続くステップ160にて画
素補間処理を実行してカラープリンタ17aの解像度で
ある720dpiに解像度を一致させる。すると、補間
された画像データは720dpiでCMYK256階調
となり、この後、ステップ170の階調変換処理が行な
うとカラープリンタ17bにおける表現階調度である2
階調のCMYK画像データとなる。最後に、ステップ1
80にて制御データを含む印刷データとしてカラープリ
ンタ17bに出力する。なお、本実施形態においては、
先に色変換処理を実行してから解像度を一致させるよう
にしているが、先に解像度を一致させてから色変換処理
を実行することも可能である。この場合、解像度の低い
状態で色変換処理を実行すると色変換処理の対象となる
画素数が少ないというメリットがある。
Here, the change in resolution and gradation when the print data is output to the color printer 17b when the application 12d executes the print processing will be described. FIG. 29 shows a printer driver 1 that performs such processing.
2c shows a flowchart of 2c. The resolution of the original image data expressed as a dot matrix pixel is 72 dp
If there are i and 256 gradations, color conversion processing is performed in order to match the color ink of the color printer 17b in the first step 150, and RGB 256 gradations are converted to CM.
Conversion to YK256 gradation is performed, and in the subsequent step 160, pixel interpolation processing is executed to match the resolution to 720 dpi which is the resolution of the color printer 17a. Then, the interpolated image data has CMYK256 gradations at 720 dpi, and when the gradation conversion processing of step 170 is performed thereafter, the gradation gradation is 2 in the color printer 17b.
It becomes CMYK image data of gradation. Finally, step 1
At 80, the print data including the control data is output to the color printer 17b. In the present embodiment,
Although the color conversion processing is executed first and then the resolutions are matched, it is also possible to match the resolutions first and then execute the color conversion processing. In this case, there is an advantage that the number of pixels to be subjected to the color conversion processing is small if the color conversion processing is executed in a state where the resolution is low.

【0096】ステップ150にて色変換する元の画像デ
ータはアプリケーション12dがスキャナ11aなどか
ら取得して受け渡されるが、必ずしも直接に画像データ
を取得するのみならず、このように他のソフトウェアな
どから画像データを引き継ぐものであっても画像データ
を取得することに他ならない。従って、この例であれば
ステップ150の色変換処理で画像データを得る工程は
画像データ取得工程A1に該当することになる。また、
ステップ160では72dpiから720dpiへの解
像度変換を行うので画素補間工程A2に該当するし、ス
テップ170では256階調から2階調へのハーフトー
ン処理を行うので階調変換工程A3に該当する。そし
て、ステップ180では720dpiで2階調となった
画像データをカラープリンタ17bに出力するので画像
データ出力工程A4に該当する。
The original image data to be color-converted in step 150 is acquired by the application 12d from the scanner 11a or the like and is passed, but not only the image data is directly acquired but also from other software as described above. Even if the image data is taken over, it is nothing but acquisition of the image data. Therefore, in this example, the step of obtaining image data by the color conversion processing of step 150 corresponds to the image data acquisition step A1. Also,
In step 160, the resolution conversion from 72 dpi to 720 dpi is performed, which corresponds to the pixel interpolation step A2, and in step 170, the halftone processing from 256 gradations to 2 gradations is performed, which corresponds to the gradation conversion step A3. Then, in step 180, the image data having two gradations at 720 dpi is output to the color printer 17b, which corresponds to the image data output step A4.

【0097】このように、一連の画像データ処理はプリ
ンタドライバ12cが実施し、かかるプリンタドライバ
12cは、ハードディスク13bに記憶されており、起
動時にコンピュータ本体12にて読み込まれて稼働す
る。また、導入時にはCD−ROMであるとかフロッピ
ーディスクなどの媒体に記録されてインストールされ
る。従って、これらの媒体は画像データ補間階調変換プ
ログラムを記録した媒体を構成する。
As described above, the printer driver 12c carries out a series of image data processing, and the printer driver 12c is stored in the hard disk 13b and is read and operated by the computer main body 12 at the time of startup. Also, at the time of introduction, it is recorded on a medium such as a CD-ROM or a floppy disk and installed. Therefore, these media form media in which the image data interpolation gradation conversion program is recorded.

【0098】上述した実施形態においては、印刷データ
を取得するために画像入力デバイスや画像出力デバイス
などを含むコンピュータシステム10において所定のア
プリケーションが印刷データを生成するという前提であ
る。しかしながら、必ずしもかかるコンピュータシステ
ムを必要とするわけではない。例えば、図30に示すよ
うにデジタルスチルカメラ11b1内に組み込み、解像
度と階調変換した画像データを用いてディスプレイ17
a1に表示させたりカラープリンタ17b1に印字させ
るようなシステムであっても良い。また、図31に示す
ように、コンピュータシステムを介することなく画像デ
ータを入力して印刷するカラープリンタ17b2におい
ては、スキャナ11a2やデジタルスチルカメラ11b
2あるいはモデム14a2等を介して入力される画像デ
ータについて自動的に解像度と階調変換を行って印刷処
理するように構成することも可能である。この他、図3
2に示すようなカラーファクシミリ装置18aや図33
に示すようなカラーコピー装置18bといった画像デー
タを扱う各種の装置においても当然に適用可能である。
In the above-described embodiment, it is premised that a predetermined application generates print data in the computer system 10 including an image input device, an image output device and the like in order to obtain the print data. However, it does not necessarily require such a computer system. For example, as shown in FIG. 30, the display 17 is built in the digital still camera 11b1 and the resolution and gradation converted image data is used.
The system may be such that it is displayed on a1 or printed on the color printer 17b1. Further, as shown in FIG. 31, in the color printer 17b2 which inputs and prints image data without going through a computer system, the color printer 17b2 includes a scanner 11a2 and a digital still camera 11b.
2 or image data input via the modem 14a2 or the like may be configured to automatically perform resolution and gradation conversion and print processing. Besides this, FIG.
The color facsimile apparatus 18a as shown in FIG.
Of course, it can be applied to various devices that handle image data, such as the color copying device 18b shown in FIG.

【0099】図29に示すプリンタドライバ12cのフ
ローチャートはあくまでも大概念での手順であり、実際
のプログラムにおいては必ずしもこのように明確に分離
されている必要はない。図34は、上述したプリンタド
ライバ12cが実行する解像度変換と階調変換に関連す
るソフトウェアフローを示している。アプリケーション
12dから印刷処理を実行するとRGB256階調の画
像データがオペレーティングシステム12aを介してプ
リンタドライバ12cに出力され、図34に示すフロー
に従って印刷処理が実行されていく。最初のステップ2
00ではGUIを介して処理の指針となる設定値を取得
する。図35は同設定値の設定画面表示を示しており、
このGUI画面はディスプレイ17a上に表示され、マ
ウス15bで各ラジオボタンをクリックして設定する。
本プリンタドライバ12cでは画像データが自然画か非
自然画かに応じて処理を変えるため、自然画を表す「写
真」であるか非自然画を表す「グラフ」であるかを選択
できるようにしている。また、自動認識の余地も残して
有り、連続処理なども実現できるようにしている。
The flowchart of the printer driver 12c shown in FIG. 29 is a general concept procedure, and it is not always necessary to be clearly separated in this way in an actual program. FIG. 34 shows a software flow relating to resolution conversion and gradation conversion executed by the printer driver 12c described above. When print processing is executed from the application 12d, image data of RGB 256 gradations is output to the printer driver 12c via the operating system 12a, and the print processing is executed according to the flow shown in FIG. First step 2
At 00, a set value which is a guideline for processing is acquired via the GUI. FIG. 35 shows a setting screen display of the same set value,
This GUI screen is displayed on the display 17a and is set by clicking each radio button with the mouse 15b.
Since the printer driver 12c changes the processing depending on whether the image data is a natural image or a non-natural image, it is possible to select whether it is a "photograph" representing a natural image or a "graph" representing a non-natural image. There is. There is also room for automatic recognition, so that continuous processing can be realized.

【0100】この画像データの選択の他に、GUI画面
では印刷時の色インクであるCMYKの各要素色ごとに
画質優先か速度優先かを設定できるようにしている。図
面上では、C成分とM成分とK成分については画質優先
を選択しており、Y成分については速度優先を選択して
いる。Y成分を速度優先としているのはY(黄色)が極
めて淡く、意識的にドットを探そうとしても見いだせな
いほどであるので、あまり画質に影響を与えないからで
ある。また、同様のことをRGBで指定するような場
合、B成分だけを速度優先とするようにしても良い。こ
れは、人間の視覚感度が青色成分について鈍感であるこ
とに対応する。例えば、輝度Yを簡易に表す計算式は、 Y=3.0R+0.59G+0.11B であり、B成分については均等な「0.33」程度に対
して1/3と極めて低く、全体の10%程度ほどしかな
い。従って、画質を優先させても効果はあまり現れず、
速度を優先させても支障はないからである。
In addition to the selection of this image data, on the GUI screen, image quality priority or speed priority can be set for each element color of CMYK which is color ink at the time of printing. In the drawing, image quality priority is selected for the C component, M component, and K component, and speed priority is selected for the Y component. The Y component is prioritized for speed because Y (yellow) is extremely pale and cannot be found even if a user intentionally searches for a dot, so that the image quality is not so affected. Further, when the same thing is designated by RGB, only the B component may be given speed priority. This corresponds to the fact that human visual sensitivity is insensitive to the blue component. For example, the calculation formula that simply expresses the luminance Y is Y = 3.0R + 0.59G + 0.11B, and the B component is extremely low at 1/3 of the uniform “0.33”, which is 10% of the whole. There is only about. Therefore, even if you give priority to image quality, the effect does not appear so much,
This is because there is no problem even if speed is prioritized.

【0101】ここで画質優先と速度優先が意味する内容
について説明する。図36はその具体的内容を図表にし
て示しており、複数の画素補間処理と階調変換処理とを
組み合わせて段階的な組合せを実現している。実行可能
な画素補間処理は後述する「ニアリスト法」と「バイリ
ニア法」と「Mキュービック法」であり、階調変換処理
はディザ法として「ディザA」と「ディザB」、それに
誤差拡散法である。そして、最速の組合せは、画素補間
処理として「ニアリスト法」を実行しつつ階調変換処理
として「ディザA」あるいは「ディザB」を実行する
し、高画質な組合せは、画素補間処理として「Mキュー
ビック法」を実行しつつ階調変換処理として「誤差拡散
法」を実行する。また、その中間が必要な場合は、画素
補間処理として「バイリニア法」を実行しつつ階調変換
処理として「ディザA」と「ディザB」と「誤差拡散
法」とを適宜組み合わせて実行する。
The contents of the image quality priority and the speed priority will now be described. FIG. 36 is a diagram showing its concrete contents, and realizes a stepwise combination by combining a plurality of pixel interpolation processes and gradation conversion processes. Pixel interpolation processing that can be executed is a “nearist method”, a “bilinear method”, and an “M cubic method”, which are described later, and gradation conversion processing is performed using “dither A” and “dither B” as dither methods and an error diffusion method. Is. Then, the fastest combination executes the “nearest method” as the pixel interpolation processing while executing the “dither A” or the “dither B” as the gradation conversion processing, and the combination with high image quality is the “interpolation processing” as the pixel interpolation processing. While executing the “M cubic method”, the “error diffusion method” is executed as the gradation conversion processing. If an intermediate value is required, the "bilinear method" is executed as the pixel interpolation processing, and the "dither A", "dither B", and "error diffusion method" are appropriately combined and executed as the gradation conversion processing.

【0102】かかる組合せを選択しているのは、それぞ
れの画素補間処理と階調変換処理に得失があるからであ
り、これについて以下に詳述する。補間処理については
上述した処理を採用するが、先に触れなかったバイリニ
アの補間手法について説明する。図37には各補間処理
における補間関数f(t)を示している。同図におい
て、横軸に位置を示し、縦軸に補間関数を示している。
t=0、t=1、t=2の位置に格子点が存在し、内挿
点はt=0〜1の位置となる。キュービック法とMキュ
ービック法とを比較すると、Mキュービック法の方が3
次関数的なカーブがわずかに急峻となり、画像全体のイ
メージがよりシャープとなる。
The reason why such a combination is selected is that each pixel interpolation process and gradation conversion process has its advantages and disadvantages, which will be described in detail below. Although the above-described processing is adopted as the interpolation processing, a bilinear interpolation method not mentioned above will be described. FIG. 37 shows the interpolation function f (t) in each interpolation process. In the figure, the horizontal axis indicates the position and the vertical axis indicates the interpolation function.
Lattice points exist at the positions of t = 0, t = 1, t = 2, and the interpolation points are at the positions of t = 0 to 1. Comparing the cubic method and the M cubic method, the M cubic method has 3
The parabolic curve becomes slightly steep, and the whole image becomes sharper.

【0103】バイリニア法(共1次内挿法)の補間手法
を説明すると、図37に示すように、一方の格子点から
他方の格子点へと近づくにつれて徐々に変化していく点
でキュービック法と共通するが、その変化が両側の格子
点のデータだけに依存する一次関数的となっている。す
なわち、上述した図17に示すように内挿したい点Pu
vを取り囲む四つの格子点Pij,Pi+1j,Pij
+1,Pi+1j+1で区画される領域を当該内挿点P
uvで四つの区画に分割し、その面積比で対角位置のデ
ータに重み付けする。これを式で表すと、 P={(i+1)−u}{(j+1)−v}Pij+
{(i+1)−u}{v−j}Pij+1+{u−i
}{(j+1)−v}Pi+1j+{u−i
}{v−j}Pi+1j+1 となる。なお、i=[u]、j=[v]である。
The interpolation method of the bilinear method (co-linear interpolation method) will be explained. As shown in FIG. 37, the cubic method is that it gradually changes from one grid point to the other grid point. However, the change is a linear function that depends only on the data of the grid points on both sides. That is, the point Pu to be interpolated as shown in FIG.
Four lattice points Pij, Pi + 1j, Pij surrounding v
The area partitioned by +1 and Pi + 1j + 1 is the interpolation point P.
It is divided into four sections by uv, and the data at the diagonal position is weighted by the area ratio. When this is expressed by an equation, P = {(i + 1) -u} {(j + 1) -v} Pij +
{(I + 1) -u} {v-j} Pij + 1 + {u-i
} {(J + 1) -v} Pi + 1j + {u-i
} {V-j} Pi + 1j + 1. Note that i = [u] and j = [v].

【0104】キュービック法とバイリニア法では、その
変化状況が3次関数的であるか1次関数的であるかが異
なり、画像としてみたときの差異は大きい。バイリニア
法の場合、隣接する二点間(t=0〜1)で直線的に変
化するだけであるので境界をスムージングすることにな
り、画面の印象はぼやけてしまう。すなわち、角部のス
ムージングと異なり、境界がスムージングされると、コ
ンピュータグラフィックスでは、本来あるべき輪郭がな
くなってしまうし、写真においてはピントが甘くなって
しまう。むろん、写真においてはシャープな方が好まし
いのは当然であるが、演算量が多くなって速度が低下す
るのを回避するためにはジャギーの生じるニアリスト法
がピントが甘くなるバイリニア法かを選択せざるを得
ず、その場合にはバイリニア法の方が画質はよい。
The cubic method and the bilinear method are different in whether the change state is cubic function or linear function, and the difference when viewed as an image is large. In the case of the bi-linear method, since it only changes linearly between two adjacent points (t = 0 to 1), the boundary is smoothed and the screen impression is blurred. That is, unlike the smoothing of the corners, when the boundary is smoothed, the contour that should be originally present in computer graphics is lost, and the focus becomes unfocused in a photograph. Of course, sharpness is preferable for photos, but in order to avoid a decrease in speed due to a large amount of calculation, the near-list method that causes jaggies is selected to be the bilinear method, which reduces focus. Inevitably, in that case, the image quality is better with the bilinear method.

【0105】一方、階調変換処理で実行可能なものを大
別するとディザ法と誤差拡散法とに別れ、後者の方が画
質はよいものの演算処理量が大きい。ディザ法は所定の
大きさのマトリクス内に階調値の範囲に相当する段階的
な階調値を当てはめたものを用意しておき、実際の画像
データの同一領域に当てはめて階調値を比較する。画像
データの方が大きい升目にはドットを付し、画像データ
の方が小さい升目にはドットを付さない。マトリクスの
大きさを5×5としつつ、階調値の範囲を1〜25とし
て当てはめてみたものを図38と図39に示している。
前者は中央集点型といわれるディザAのマトリクスパタ
ーンであり、後者は分散型といわれるディザBのマトリ
クスパターンである。ディザAは中央から順次外側に向
けて階調値が当てはめられているため、ベタ部分が多い
と図40に示すように中央から外側に向かってドットが
付されやすい。これに対してディザBは階調値の割り当
てをランダムにしているため、図41に示すようにベタ
部分であっても全体的にばらつきやすい。グラフなどの
CGを想定すると、ランダムにばらつくよりも網点印刷
のような中央集点型の方が好まれるという特徴がある。
また、ディザ法自体は画像データとの大小判定だけであ
って処理量は極めて少ない。
On the other hand, the processes that can be executed in the gradation conversion process are roughly classified into the dither method and the error diffusion method. The latter has a better image quality but a larger amount of calculation processing. The dither method prepares a stepwise gradation value corresponding to the range of gradation values in a matrix of a predetermined size, and applies it to the same area of actual image data to compare the gradation values. To do. The dots are added to the squares having the larger image data, and the dots are not added to the squares having the smaller image data. FIG. 38 and FIG. 39 show the results obtained by applying the gradation value range of 1 to 25 while the matrix size is 5 × 5.
The former is a dither A matrix pattern called the central concentric type, and the latter is a dither B matrix pattern called the distributed type. Since the gradation values are sequentially applied from the center toward the outer side in the dither A, if there are many solid portions, dots are likely to be applied from the center toward the outer side as shown in FIG. On the other hand, since the dither B assigns gradation values at random, even in a solid portion as shown in FIG. Assuming a CG such as a graph, there is a characteristic that the central point type such as halftone dot printing is preferable to randomly varying.
Further, the dither method itself only makes a size comparison with the image data, and the processing amount is extremely small.

【0106】これに対して誤差拡散法は画像データの階
調値とドットの有無とで生じる誤差を近隣の画素に配分
していく手法であり、誤差が生じない分だけ画質がよい
反面、誤差を算出して割り振っていく際の演算処理が必
要である。その具体的手法を、図42に簡易に示してい
る。上段に現実の画像データを並べ、下段にドットを付
すか否かを示す変換結果を示している。この例では、階
調値の範囲を0〜255としてある。
On the other hand, the error diffusion method is a method of distributing the error caused by the gradation value of the image data and the presence / absence of dots to the neighboring pixels. Calculation processing is required when calculating and allocating. The specific method is simply shown in FIG. The actual image data is arranged in the upper row, and the conversion result indicating whether or not to add dots is shown in the lower row. In this example, the range of gradation values is 0 to 255.

【0107】最初の画素の階調値は「250」であり、
しきい値の「128」と比較して大きいため、ドットを
付す。ドットが付されると「255」の階調値が付与さ
れたのと同様であるから、ここで「−5」の誤差が生じ
る。この誤差を右に隣接する画素に割り振ると、本来の
階調値は「52」であるので「52−5=47」の階調
値となる。これはしきい値の「128」と比較して小さ
いため、ドットを付さないが、ドットが付されないこと
によって「0」の階調値が付与されたのと同様であるか
ら、ここでは「47」の誤差が生じたことになって次の
画素に繰り越される。
The gradation value of the first pixel is "250",
Since it is larger than the threshold value "128", dots are added. When dots are added, it is the same as when the gradation value of "255" is added, and therefore an error of "-5" occurs here. When this error is assigned to the pixel adjacent to the right, the original gradation value is "52", and the gradation value is "52-5 = 47". Since this is smaller than the threshold value of “128”, no dot is added, but it is the same as the gradation value of “0” being added by the lack of dot, so here, “ Since the error of 47 "has occurred, it is carried over to the next pixel.

【0108】すなわち、繰り越される誤差Dgと現実の
画像データDnとを累算し、「128」よりも大きけれ
ば「255−Dn+Dg」を次の画素への繰り越し画素
とする。この場合、一次元的に誤差を拡散するだけでな
く、二次元的に誤差を拡散していっても良いし、隣接す
る画素のみならず、その周縁の画素に拡散していっても
良い。このように、誤差拡散は誤差を正確に把握して割
り振っていくので、トータル的な誤差は少なく、一般的
には画質がよい。
That is, the error Dg to be carried over and the actual image data Dn are accumulated, and if larger than "128", "255-Dn + Dg" is taken as a carry-over pixel to the next pixel. In this case, the error may be diffused not only one-dimensionally but also two-dimensionally, and may be diffused not only to the adjacent pixels but also to the peripheral pixels. In this way, the error diffusion accurately grasps and allocates the error, so that the total error is small and the image quality is generally good.

【0109】一方、階調変換処理と画素補間処理との組
合せとなると、親和性の善し悪しも問題となる。図43
はニアリスト法で拡大処理を実施した場合の画像データ
の割り当てを示しているが、ニアリスト法であれば当然
に元の画像データがそのまま複写される。これによって
ある階調値の画素はその面積割合をそのまま維持される
ことになるが、他の補間処理を実行すると隣接する画素
との関係からなだらかな変化が生じるなどして面積割合
の維持ということは望めない。一方、ディザ法について
言えばマトリクスの大きさに対応した領域ごとに当該領
域の濃度が定まっていくことになるから、ニアリスト法
のような面積割合を維持する補間処理の方が親和性があ
るということになる。すなわち、ディザ法にニアリスト
法を対応させる組合せはそれぞれ画質が低いものの演算
速度が速いという共通点のみならず、親和性のある組合
せであるという特徴も有している。
On the other hand, if the gradation conversion process and the pixel interpolation process are combined, then the compatibility becomes a problem. Figure 43
Shows the allocation of the image data when the enlargement process is performed by the near list method, but naturally the original image data is copied as it is in the near list method. As a result, the area ratio of a pixel with a certain gradation value is maintained as it is. However, if another interpolation process is executed, the area ratio will be maintained because a gentle change will occur due to the relationship with adjacent pixels. Can't hope On the other hand, regarding the dither method, since the density of the area is determined for each area corresponding to the size of the matrix, the interpolation processing that maintains the area ratio as in the near-list method is more compatible. It turns out that. In other words, the combinations in which the near-list method corresponds to the dither method have not only the common feature that the image quality is low but the calculation speed is fast, and the feature that they are affinitive combinations.

【0110】このような画素補間処理の得失と階調変換
処理の得失とを鑑みると、単に画素補間処理だけの得失
に基づいて処理を選択したとしても、階調変換処理を固
定しておいたのでは最高のパフォーマンスとは言えな
い。すなわち、画素補間処理で高画質の処理を選択して
も階調変換処理が高画質でないならば最高の画質には至
らないし、画素補間処理で高速の処理を選択しても階調
変換処理が高画質であると演算処理の負担があるので最
速とはならない。また、別の視点では、階調変換処理の
得失を重視したときに画素補間処理を追従して選択する
ということも意味のあることである。
Considering the advantages and disadvantages of the pixel interpolation processing and the gradation conversion processing, even if the processing is selected based on the advantages and disadvantages of only the pixel interpolation processing, the gradation conversion processing is fixed. So it's not the best performance. That is, even if high-quality processing is selected in the pixel interpolation processing, the highest image quality cannot be achieved if the gradation conversion processing is not high quality, and even if high-speed processing is selected in the pixel interpolation processing, the gradation conversion processing is not achieved. The high image quality imposes a burden on the arithmetic processing, and thus is not the fastest. From another point of view, it is also meaningful to follow the pixel interpolation process when selecting the advantages and disadvantages of the gradation conversion process.

【0111】以上の各処理の得失を前提として、図34
に示すフローチャートの説明に戻ると、ステップ200
で設定値を取得した後、ステップ202では取得した設
定値に基づいて処理を分岐し、「写真」を選択していれ
ばステップ204で「写真フラグ」をセットするし、
「グラフ」を選択していればステップ206で「CGフ
ラグ」をセットする。また、「自動認識」を選択してい
る場合にはステップ208で画像データが利用している
総色数をカウントし、ステップ210にて色数が「12
8色」以上であれば「写真」と判断してステップ204
で「写真フラグ」をセットするし、色数が「128色」
未満であれば「グラフ」と判断してステップ206で
「CGフラグ」をセットする。自然画の場合、一色の物
であっても明暗によって異なる色数とカウントされる結
果、非常に多くの色数を使用しているが、CGなどであ
れば基本的に人が操作して色を決定している関係から利
用色数はあまり多くならない。従って、このように総利
用色数をカウントすることによって写真かグラフか、す
なわち自然画か非自然画かを判断することができる。
Assuming the advantages and disadvantages of each processing described above, FIG.
Returning to the description of the flowchart shown in FIG.
After acquiring the set value in step 202, the process branches in step 202 based on the acquired set value, and if "photograph" is selected, the "photograph flag" is set in step 204,
If "graph" has been selected, the "CG flag" is set in step 206. When “automatic recognition” is selected, the total number of colors used by the image data is counted in step 208, and the number of colors is set to “12” in step 210.
If "8 colors" or more, it is determined to be "photograph" and step 204
"Photo flag" is set with and the number of colors is "128 colors"
If it is less than this, it is determined to be a "graph" and the "CG flag" is set in step 206. In the case of a natural image, even if it is a single color object, it is counted as a different number of colors depending on the light and dark, so a large number of colors are used. The number of colors used does not increase so much due to the determination of. Therefore, by counting the total number of colors used in this way, it is possible to determine whether it is a photograph or a graph, that is, a natural image or a non-natural image.

【0112】これらのフラグは後に利用することとし、
続くステップ220ではRGB表色系からCMY表色系
へと色変換する。CMY表色系においてはカラープリン
タ17bの利用色インクに対応しているから、カラープ
リンタ17bがCMYKの四色の色インクを利用してい
る場合にはRGB→CMYKという変換となる。この変
換は予めRGBの三要素色の階調値で参照する3次元の
ルックアップテーブルを用意し、各階調値の組合せとC
MYKの階調値とを対応づけておく。このようにする
と、テーブルを参照するだけで即時に変換できるもの
の、RGBの三原色においてそれぞれ256階調を許容
すると約1670万色になり、テーブルが巨大になりす
ぎる。このため、256階調の全てについてデータを用
意するのではなく、とびとびの格子点上にだけデータを
用意しておき、所望の座標値を取り囲む格子点のデータ
から補間演算で求めるようにする。また、このような格
子座標に無理矢理移動させつつ、その誤差を近隣の画素
に割り当てていくようにしてもよい。後者の手法によれ
ば、誤差拡散法と同様の加減算処理だけで可能となり、
補間演算の負担が減少する。
These flags will be used later,
In the following step 220, color conversion is performed from the RGB color system to the CMY color system. Since the CMY color system corresponds to the color inks used by the color printer 17b, when the color printer 17b uses the four color inks of CMYK, the conversion is RGB → CMYK. For this conversion, a three-dimensional lookup table that is referred to by the gradation values of the three element colors of RGB is prepared in advance, and the combination of gradation values and C
The gradation values of MYK are associated with each other. By doing so, although conversion can be performed immediately by simply referring to the table, if 256 gradations are allowed for each of the three primary colors of RGB, the number of colors will be about 16.7 million, which makes the table too large. Therefore, data is not prepared for all 256 gradations, but data is prepared only for discrete grid points, and interpolation data is obtained from data of grid points surrounding desired coordinate values. Alternatively, the error may be assigned to neighboring pixels while forcibly moving to such a grid coordinate. According to the latter method, it is possible only by the addition and subtraction processing similar to the error diffusion method,
The burden of interpolation calculation is reduced.

【0113】色変換を終えたら、ステップ240で画素
補間と階調変換を実行する。ここでは72dpiから7
20dpiへと拡大処理を実行しつつ、256階調から
2階調へとハーフトーン変換を実行する。そして、各処
理は上述したように相互に関連し、各色インクごとに個
別に処理すべくループ処理で対処している。より具体的
には、ステップ242にて現時点のループでの対象色イ
ンクに対してステップ200にて取得した設定値から画
素補間処理を選択する。すなわち、CMK成分について
は画質優先であるので図37に示す図表からMキュービ
ック法の画素補間処理が選択されているものと判断し、
ステップ244にてMキュービック法で画素補間処理す
る。また、ステップ246では同様にステップ200に
て取得した設定値から階調変換処理を選択するが、この
場合は優先順位のみならず、ステップ204またはステ
ップ206にて設定したフラグを参照して画像種類も考
慮に入れている。ただし、画質優先を選択している場合
には画像種類にかかわらず誤差拡散法が選択され、ステ
ップ248にて同誤差拡散法にてハーフトーン化する。
Upon completion of color conversion, pixel interpolation and gradation conversion are executed in step 240. Here from 72 dpi to 7
Halftone conversion is executed from 256 gradations to 2 gradations while executing enlargement processing to 20 dpi. Then, the respective processes are related to each other as described above, and are dealt with by the loop process so as to individually process each color ink. More specifically, in step 242, the pixel interpolation process is selected from the setting values acquired in step 200 for the target color ink in the current loop. That is, since the image quality is prioritized for the CMK component, it is determined from the chart shown in FIG. 37 that the pixel interpolation processing of the M cubic method is selected,
In step 244, pixel interpolation processing is performed by the M cubic method. Similarly, in step 246, the gradation conversion processing is selected from the setting values acquired in step 200, but in this case, not only the priority order, but also the flag set in step 204 or step 206 is used to refer to the image type. Are also taken into consideration. However, when the image quality priority is selected, the error diffusion method is selected regardless of the image type, and halftoning is performed by the same error diffusion method in step 248.

【0114】これに対して、Y成分の場合は速度優先が
設定されているので、ステップ242ではニアリスト法
が選択されてステップ244にて同ニアリスト法にて画
素補間処理を実行する。また、ステップ246にて階調
変換処理を選択する場合には、速度優先の設定値のみな
らず、写真フラグとCGフラグから画像種類を判定し、
元の画像が写真であればディザBを選択するし、グラフ
などのCGであればディザAを選択する。そして、ステ
ップ248にて同選択され多階調変換処理によって階調
変換処理する。従って、速度に注目してニアリスト法が
選択されるのみならず、階調変換処理についてもこのニ
アリスト法に親和しつつ速度が速いディザ法が選択され
るし、さらに、ディザ法としても画像の種類に応じてデ
ィザAかディザBかが適切に選択される。
On the other hand, in the case of the Y component, the speed priority is set, so that the near list method is selected in step 242 and the pixel interpolation process is executed in step 244 by the near list method. When selecting the gradation conversion processing in step 246, the image type is determined not only from the speed priority setting value but also from the photograph flag and the CG flag,
If the original image is a photograph, dither B is selected, and if it is a CG such as a graph, dither A is selected. Then, in step 248, gradation conversion processing is performed by the same selection and multi-gradation conversion processing. Therefore, not only the near-list method is selected by paying attention to the speed, but also the dither method which has a high speed while being compatible with the near-list method is selected for the gradation conversion processing. The dither A or the dither B is appropriately selected according to the type.

【0115】ところで、画質向上のために色インクを6
色としてシアン色インクとマゼンタ色インクについて濃
色と淡色のインクを使い分けるものもある。また、ピエ
ゾ素子21a5に印加する電圧を二段階として、高い電
圧で大きなドット径のインク粒を吐出させるとともに低
い電圧で小さなドット径のインク粒を吐出させるバリア
ブルドットの手法を採用することもできる。この場合、
大径のドット(CL,ML)は濃色の色インクに相当
し、小径のドット(CS,MS)は淡色の色インクに相
当するといえる。
By the way, in order to improve the image quality, the color ink is changed to 6%.
As for colors, there are some types in which dark-colored ink and light-colored ink are used for cyan ink and magenta ink. It is also possible to adopt a variable dot method in which the voltage applied to the piezo element 21a5 is set in two stages and ink particles having a large dot diameter are ejected at a high voltage and ink particles having a small dot diameter are ejected at a low voltage. in this case,
It can be said that the large-diameter dots (CL, ML) correspond to the dark color ink and the small-diameter dots (CS, MS) correspond to the light color ink.

【0116】これらの場合でも、画素補間処理と階調変
換処理とを適切に対応づけることは当然に有効であり、
図44に示すようにステップ300にてRGBからL
C、C、LM、M、Y、Kの6色に変換するか、ドット
径に対応したCL,CS,ML,MS,Y,Kのドット
径の異なる2色とドット径が単一の2色に色変換してか
ら、ステップ310にて解像度変換し、ステップ320
にて階調変換する。このとき、解像度変換と階調変換と
の対応を図45に示している。同図表に示す対応は、高
画質組合せの場合にも画質と速度との調和を図るべく、
淡色である場合や小径のドットの場合に画質の劣化を図
る誤差拡散法を前提としてMキュービック法の画素補間
処理を実行し、それ以外の場合にはディザ法を前提とし
てニアリスト法による画素補間処理を選択するようにな
っている。
Even in these cases, it is naturally effective to appropriately associate the pixel interpolation processing and the gradation conversion processing,
As shown in FIG. 44, in step 300, RGB to L
Convert to 6 colors of C, C, LM, M, Y, K, or two colors with different dot diameters of CL, CS, ML, MS, Y, K corresponding to the dot diameter and a single dot diameter of 2 After color conversion to color, resolution conversion is performed in step 310, and step 320
To convert the gradation. At this time, the correspondence between the resolution conversion and the gradation conversion is shown in FIG. The correspondence shown in the figure is to achieve harmony between image quality and speed even in the case of high image quality combination.
Pixel interpolation by the M-cubic method is performed on the premise of the error diffusion method that intends to deteriorate the image quality in the case of light colors or small-diameter dots, and by the near-list method on the assumption of the dither method in other cases. It is designed to select a process.

【0117】淡色のライトシアンやライトマゼンタは同
じように淡いY成分の黄色とは異なり、画質に大きく影
響を与える。これは黄色のドットが単一であると殆ど見
えないくらいであるのに対してライトシアンやライトマ
ゼンタは十分に視認でき、その拡散具合で見た感じが変
わるからである。これに対して濃色のシアンやマゼンタ
のドットを付す際には既に近隣が所定の濃度となってい
るので、単一のドットが目立つこともないし、エッジ部
分であってもジャギーは目立たない。従って、画質に大
きな影響を与える淡色や小径のドットについてのみ高画
質の処理を選択して実行するようにしている。なお、図
46は6色の色インクを使用しつつ、さらにドット径が
異なる場合の対応の組合せを示している。この場合も、
画質に対して最も影響の大きい淡色の小径ドットについ
てのみ高画質な組合せを対応させるようにしている。
Light cyan and light magenta, which are light colors, similarly have a great influence on the image quality, unlike yellow, which is a light Y component. This is because when a single yellow dot is barely visible, light cyan and light magenta are sufficiently visible, and the appearance changes depending on the degree of diffusion. On the other hand, when a dark cyan or magenta dot is added, the neighborhood has already reached a predetermined density, so a single dot is not conspicuous, and jaggies are not conspicuous even at the edge portion. Therefore, high-quality processing is selected and executed only for light colors and small-diameter dots that have a large effect on image quality. Note that FIG. 46 shows a corresponding combination when the dot diameters are further different while using the color inks of 6 colors. Also in this case,
Only the light-colored small-diameter dots, which have the greatest influence on the image quality, are made to correspond to the combination of high image quality.

【0118】一方、図35に示す設定画面では、画質優
先か速度優先かを選択することにより、画素補間処理と
階調変換処理を組み合わせて選択しているが、画質に応
じて階調変換処理を選択することにより、それに対応す
る画素補間処理だけが選べるようにしても良い。図47
はそのような設定画面の一例を示しており、図48は許
容される対応関係を示している。各色インクごとにハー
フトーンの手法を個別に選択できるようにしてあり、中
央集点型のディザAおよび分散型のディザBに対しては
高速な画素補間処理であるニアリスト法とやや高速なバ
イリニア法とを選択可能となり、誤差拡散に対してはや
や画質の良いバイリニア法と画質は良いが演算量の負担
の大きいMキュービック法とを選択できるようになる。
On the other hand, in the setting screen shown in FIG. 35, the pixel interpolation process and the gradation conversion process are selected in combination by selecting the image quality priority or the speed priority. By selecting, only the pixel interpolation processing corresponding to it may be selected. FIG. 47
Shows an example of such a setting screen, and FIG. 48 shows an allowable correspondence relationship. A halftone method can be individually selected for each color ink, and a near-list method, which is a high-speed pixel interpolation process for the central-focus type dither A and a distributed dither B, and a slightly high-speed bilinear method. Method, it is possible to select the bilinear method, which has a slightly better image quality for error diffusion, and the M cubic method, which has a better image quality but has a large calculation load.

【0119】なお、上述した例においては、画素補間で
拡大する場合についてだけ説明したが、縮小させる処理
を実行させる場合についても、階調変換の得失に応じた
画素補間処理を選択させることによってこのように、画
素補間処理と階調変換処理とを全く独立に処理するので
はなく、図37に示すような対応関係の割り当てに基づ
いて処理の目的に対応した組合せを用意しておいたり、
図48に示すように階調変換処理を指定することによっ
て選択可能な画素補間処理を限定することにより、ステ
ップ160にて実行される解像度変換とステップ170
にて実行される階調変換とが有機的に結合し、画素補間
処理を選択するだけでは得られない最適なパフォーマン
スを実現でき、さらに、階調変換処理と画素補間処理と
の個別の親和性からも特定の階調変換処理に画素補間処
理とが対応することによってパフォーマンスの向上を図
ることができる。
In the example described above, only the case of enlarging by pixel interpolation has been described, but also in the case of executing the process of reducing, by selecting the pixel interpolating process according to the gain or loss of gradation conversion, As described above, the pixel interpolation processing and the gradation conversion processing are not processed completely independently, but a combination corresponding to the purpose of the processing is prepared based on the allocation of the correspondence relationship as shown in FIG.
By limiting the pixel interpolation processing that can be selected by designating the gradation conversion processing as shown in FIG. 48, the resolution conversion executed in step 160 and step 170
It is possible to realize the optimum performance that cannot be obtained only by selecting the pixel interpolation processing by organically combining with the gradation conversion performed in step 3. Furthermore, the individual compatibility of the gradation conversion processing and the pixel interpolation processing is achieved. Also, since the specific gradation conversion processing corresponds to the pixel interpolation processing, the performance can be improved.

【0120】以上説明したように、本実施形態において
は、画像をドットマトリクス状の画素で多階調表現した
画像データを取得する画像データ取得ユニットと、同画
像データに対して順次画素補間処理と階調変換処理とを
実行するに際して予め複数の画素補間手法と複数の階調
変換手法とで所定のパフォーマンスを得られるような組
合せを設定しておき、そのうちのいずれかのパフォーマ
ンスに対応する一の画素補間手法で画素補間処理を実行
する画素補間ユニットと、同画素補間手法と対応する階
調変換手法で階調変換処理を実行する階調変換ユニット
と、この階調変換ユニットにて所定階調に変換された画
像データを出力する画像データ出力ユニットとを具備す
る構成としてある。
As described above, in the present embodiment, the image data acquisition unit for acquiring the image data in which the image is expressed in the multi-gradation with the dot matrix pixels, and the pixel interpolation processing for the image data are sequentially performed. When executing the gradation conversion processing, a combination that sets a plurality of pixel interpolation methods and a plurality of gradation conversion methods to obtain a predetermined performance is set in advance, and one of the performances corresponding to one of the performances is set. A pixel interpolation unit that executes pixel interpolation processing by the pixel interpolation method, a gradation conversion unit that executes gradation conversion processing by the gradation conversion method corresponding to the pixel interpolation method, and a predetermined gradation by this gradation conversion unit. And an image data output unit for outputting the image data converted into.

【0121】このように構成した場合は、画素補間ユニ
ットの画素補間処理に続いて階調変換ユニットの階調変
換処理を実行するにあたり、画素補間ユニットで実行す
る画素補間処理と階調変換ユニットで実行する階調変換
処理とが予め対応づけられており、個別に処理を実行す
るのではなく、最適な対応関係の処理だけが行われる。
このようにすれば、順次実行される画素補間処理と階調
変換処理とが最適な対応関係のもの同士が組み合わされ
て行われるため、熟練者でなくても所望通りのパフォー
マンスを得ることが可能な画像データ補間階調変換装置
を提供することができる。
With this configuration, when the pixel interpolation processing of the pixel interpolation unit is followed by the gradation conversion processing of the gradation conversion unit, the pixel interpolation processing executed by the pixel interpolation unit and the gradation conversion unit are executed. The gradation conversion processing to be executed is associated with each other in advance, and only the processing of the optimum correspondence relationship is performed instead of executing the processing individually.
By doing so, the pixel interpolation processing and the gradation conversion processing that are sequentially executed are performed in combination with each other in an optimal correspondence relationship, so that even an unskilled person can obtain the desired performance. It is possible to provide a simple image data interpolation gradation conversion device.

【0122】ここでいう対応付けは、画素補間処理と階
調変換処理の特性に鑑みて定められ、その一例として、
上記画素補間ユニットにて実行可能な画素補間処理と上
記階調変換ユニットにて実行可能な画素補間処理はそれ
ぞれ画質への影響度を異にするとともに、それぞれ画質
の良否が類似する処理同士を対応づけて構成とすること
もできる。このように構成した場合は、画質の良い画素
補間処理には画質の良い階調変換処理が実行されて画質
の劣化を防止するし、画質の良くない画素補間処理が実
行されたときには同様に画質の良くない階調変換処理と
を実行して速度面などのメリットを向上させる。
The correspondence here is determined in consideration of the characteristics of the pixel interpolation processing and the gradation conversion processing, and as an example thereof,
The pixel interpolation processing that can be executed by the pixel interpolation unit and the pixel interpolation processing that can be executed by the gradation conversion unit have different degrees of influence on the image quality, and correspond to processings of similar image quality. It is also possible to add a structure. With such a configuration, a high-quality gradation conversion process is executed for the high-quality pixel interpolation process to prevent deterioration of the image quality, and when the poor-quality pixel interpolation process is executed, the image quality is similarly changed. The gradation conversion processing, which is not good, is executed to improve the merit such as speed.

【0123】このようにすれば、画質への影響度を異に
する複数の画素補間処理と階調変換処理とがある場合
に、それぞれ画質の良否が類似する処理同士を対応づけ
ておくことにより、画質の良否に応じて組合せが定まる
ため、選択が容易になる。画素補間処理は特に限定され
るものではないが、例えば、補間生成する画素の最近隣
の既存画素を複写するニアリストネイバ法であるとか、
補間生成する画素を取り巻く既存画素から距離に反比例
した重み付けで合算するバイリニア法であるとか、補間
生成する画素を二重(多重)に取り巻く既存画素から3
次元(高次元)のたたみ込み関数で算出するキュービッ
クコンボリューション法(以下キュービック法と呼ぶ)
などがあり、これらに関して言えば後者になるほど画質
は良好である反面、処理速度が低下する。
By doing so, when there are a plurality of pixel interpolation processes and gradation conversion processes having different degrees of influence on the image quality, the processes having similar image quality are associated with each other. Since the combination is determined depending on the quality of the image quality, selection becomes easy. Although the pixel interpolation processing is not particularly limited, for example, a nearest neighbor method that copies an existing pixel that is the closest to the pixel to be interpolated,
It is a bi-linear method that adds weights that are inversely proportional to the distance from the existing pixels that surround the pixel to be interpolated, or 3 from the existing pixels that surround the pixel to be interpolated double (multiple).
Cubic convolution method (hereinafter referred to as cubic method) that is calculated by a three-dimensional (high-dimensional) convolution function
In terms of these, the latter the better, the better the image quality, but the lower the processing speed.

【0124】また、階調変換処理は、中央集点型ディザ
法や分散型ディザ法といった組織型ディザ法が可能であ
り、この場合、多値ディザ法も有効である。この、ディ
ザよりも正確に階調変換が可能な誤差拡散法も有効であ
り、一般的にはこの誤差拡散法の画質の方がディザ法よ
りも良好と言える。従って、画質の良好な誤差拡散法と
キュービック方とを対応付け、画質の良くないディザ法
とニアリストネイバ法とを対応づけるといったことが好
適である。
Further, the gradation conversion processing can be a systematic dither method such as a central point dither method or a distributed dither method. In this case, the multi-value dither method is also effective. This error diffusion method capable of more accurate gradation conversion than dither is also effective, and in general, it can be said that the image quality of this error diffusion method is better than that of the dither method. Therefore, it is preferable to associate the error diffusion method with good image quality with the cubic method and the dither method with poor image quality with the nearest neighbor method.

【0125】この場合、ディザ法とニアリストネイバ法
とを対応づけることには別の意味合いもある。従って、
上記画素補間ユニットにて補間生成する画素として既存
の画素をそのまま利用する補間手法を実行するときに上
記階調変換ユニットにてディザ法で階調変換する構成と
することもできる。このように構成した場合は、既存の
画素をそのまま補間生成する画素として利用する補間処
理はニアリストネイバ法に対応している。ディザ法は補
間倍率に対して所定濃度の画素がそのまま拡大されるの
で、面積補間とも呼ばれる。一方、ディザ法は所定のデ
ィザパターンを利用しつつ一定濃度の画素について確率
的にドットを付すことになるため、面積補間の方が確率
的にドットを付すか否かを決定するのに親和性がある。
従って、ニアリストネイバ法にディザ法を対応づけるの
は、画質の程度の視点だけでなく技術的な親和性の点で
有効である。
In this case, there is another meaning in associating the dither method with the nearest neighbor method. Therefore,
It is also possible to adopt a configuration in which gradation conversion is performed by the dither method in the gradation conversion unit when executing an interpolation method in which existing pixels are used as they are for interpolation generation in the pixel interpolation unit. With this configuration, the interpolation process that uses the existing pixel as a pixel for interpolation generation as it is corresponds to the nearest neighbor method. The dither method is also called area interpolation because pixels of a predetermined density are enlarged as they are with respect to the interpolation magnification. On the other hand, since the dither method stochastically applies dots to pixels of a constant density while using a predetermined dither pattern, area interpolation is more compatible with determining whether or not to stochastically apply dots. There is.
Therefore, associating the nearest neighbor method with the dither method is effective not only in terms of image quality but also in terms of technical compatibility.

【0126】このようにすれば、画素補間処理が面積補
間である場合にディザ法を選択して親和性のある処理同
士を実行することができる。画素補間処理と階調変換処
理との対応付けは、画像データの各構成要素について一
律に一定とする必要はなく、各構成要素ごとに対応付け
を変更することも可能である。その前提として、上記画
像データは、色分解した各要素色についての多階調デー
タを有し、上記画素補間ユニットと階調変換ユニット
は、各要素色ごとに組合せを設定可能とした構成とする
こともできる。
By doing so, when the pixel interpolation processing is area interpolation, it is possible to select the dither method and execute the processing with affinity. The correspondence between the pixel interpolation processing and the gradation conversion processing does not need to be uniformly fixed for each constituent element of the image data, and the correspondence can be changed for each constituent element. As a premise, the image data has multi-gradation data for each element color that has been color-separated, and the pixel interpolation unit and the gradation conversion unit are configured so that a combination can be set for each element color. You can also

【0127】このように構成した場合は、画像データの
構成要素が色分解した各要素色について、その濃度値を
多階調データとして有しているので、要素色ごとの特性
の相違が明確であるし、それ以外の意味では他の要素色
との関係は同等に扱える。従って、各要素色ごとに最適
なパフォーマンスを得られるように画素補間ユニットと
階調変換ユニットでは各要素色ごとに組合せを変更する
ということができる。例えば、光の三原色であるRGB
(赤緑青)の場合は、B成分に対する人間の視認感度が
低いので、他の要素色と組合せを変えることも有効であ
る。
In the case of such a configuration, since the density value of each element color obtained by color-separating the constituent elements of the image data is stored as multi-tone data, the difference in characteristics between the element colors is clear. However, in other senses, relations with other element colors can be treated equally. Therefore, it can be said that the combination is changed for each element color in the pixel interpolation unit and the gradation conversion unit so that optimum performance can be obtained for each element color. For example, RGB, which is the three primary colors of light
In the case of (red, green, and blue), the human visual sensitivity to the B component is low, so changing the combination with other element colors is also effective.

【0128】このようにすれば、画像データが色分解し
た要素色の構成要素を持つ場合に適用されるので、要素
色ごとに対応付けを変えるといったことも容易になる。
なお、階調変換処理と画素補間処理とが対応づけられて
いればよいのであって、階調変換処理のいずれかを指定
することによって対応づけられた画素補間処理が実行さ
れるようになっていても良いし、画素補間処理のいずれ
かを指定することによって対応づけられたが階調変換処
理が実行されるようになっていても構わない。
By doing so, since it is applied when the image data has the constituent elements of the color-separated element colors, it becomes easy to change the correspondence for each element color.
It suffices that the gradation conversion process and the pixel interpolation process are associated with each other, and the pixel interpolation process associated with the gradation conversion process is executed by designating one of the gradation conversion processes. Alternatively, the tone conversion processing may be executed although the correspondence is made by designating one of the pixel interpolation processing.

【0129】このような階調変換と補間処理とを対応づ
けた画像データを利用する好適な一例として、上記階調
変換後の画像データは、印刷装置において要素色の記録
材を付すか否かの制御データとして利用される構成とす
ることもできる。印刷装置においては多階調でなく、要
素色の記録材を付すか否かによるハーフトーンの処理が
簡易であって多用されており、このように構成した場合
は、このような印刷装置に対する制御データとして利用
されることにより、画質面において最適な対応が可能と
なる。
As a preferable example of using the image data in which the gradation conversion and the interpolation process are associated with each other, whether or not the image data after the gradation conversion is provided with the recording material of the element color in the printing apparatus. It may be configured to be used as the control data of. In a printing apparatus, halftone processing depending on whether or not a recording material of an element color is attached is simple and widely used, and in such a case, a control for such a printing apparatus is performed. By being used as data, it is possible to make an optimum correspondence in terms of image quality.

【0130】このようにすれば、印刷装置での印刷を前
提とすると画素補間処理と階調変換処理とが必要にな
り、所望の品質に応じた最適なパフォーマンスで印刷物
を得ることができるようになる。また、印刷装置におい
ても画質の向上を特に考慮されているものもあり、その
ような場合には画質だけを最優先することによって処理
時間が長くなってしまうのも使いづらくなる。このた
め、上記印刷装置は濃色系と淡色系の記録材を使用する
とともに、上記画素補間ユニットと上記階調変換ユニッ
トでは、淡色系の記録材に対して画質の良好な画素補間
処理と階調変換処理とを実行する構成とすることもでき
る。
With this arrangement, pixel interpolation processing and gradation conversion processing are required on the premise of printing by the printing apparatus, so that a printed matter can be obtained with optimum performance according to desired quality. Become. Further, some printing apparatuses also particularly consider improving the image quality, and in such a case, it becomes difficult to use because the processing time becomes long by giving priority to only the image quality. For this reason, the printing apparatus uses dark-colored and light-colored recording materials, and the pixel interpolation unit and the gradation conversion unit perform pixel interpolation processing and steps with good image quality on light-colored recording materials. It is also possible to adopt a configuration for executing the key conversion processing.

【0131】このように構成した場合は、印刷装置が濃
色系と淡色系の記録材を使い分けて画質の向上を図って
おり、これらを使い分けている。そして、この際に、淡
色系の記録材に対しては画素補間ユニットと階調変換ユ
ニットで画質の良好な画素補間処理と階調変換処理とを
実行する。淡色と濃色とでは淡色の方が画質に影響を与
えやすいことが多い。淡色については非常に薄い色を再
現したいときに下地に対してまばらにドットを付すこと
があり、一つ一つのドットが目立ちやすい。これに対
し、濃色を付すときは既に淡色の濃度を越えている場合
であるから周りにドットを付していることが多く、一つ
一つのドットは目立ちにくい。従って、淡色について特
に画質の向上を図っておけば、濃色について画質への配
慮を減らしていても画質への影響は少ない。
In the case of such a configuration, the printing apparatus uses the dark-colored recording material and the light-colored recording material separately to improve the image quality, and these are used separately. At this time, the pixel interpolation unit and the gradation conversion unit, which have good image quality, are executed by the pixel interpolation unit and the gradation conversion unit for the light-colored recording material. Of the light and dark colors, the light color often affects the image quality more easily. With respect to light colors, dots may be sparsely attached to the background when very light colors are desired to be reproduced, and each dot is easily noticeable. On the other hand, when a dark color is added, it is because the density of the light color has already been exceeded, so dots are often added around the dots, and each dot is inconspicuous. Therefore, if the image quality of light colors is particularly improved, even if the consideration of the image quality of dark colors is reduced, the image quality is less affected.

【0132】このようにすれば、濃色と淡色とを使い分
ける印刷装置の場合にできるだけ画質を劣化させにくく
することができる。この濃色と淡色に対する処理とほぼ
同様の関係にあるのが、大径と小径の記録材を使用する
印刷装置の場合である。その一例として、上記印刷装置
は大径と小径の記録材を使用するとともに、上記画素補
間ユニットと上記階調変換ユニットでは、小径の記録材
に対して画質の良好な画素補間処理と階調変換処理とを
実行する構成とすることもできる。
By doing so, it is possible to prevent deterioration of image quality as much as possible in the case of a printing apparatus that selectively uses dark colors and light colors. The case of the printing apparatus using the large-diameter recording material and the small-diameter recording material has almost the same relationship as the processing for the dark color and the light color. As an example thereof, the printing apparatus uses large-diameter and small-diameter recording materials, and the pixel interpolation unit and the gradation conversion unit use a pixel interpolation processing and gradation conversion with good image quality for recording materials of small diameter. It is also possible to adopt a configuration for executing processing and.

【0133】この場合、大径のドットは濃色のドットに
対応し、小径のドットは淡色のドットに対応する。従っ
て、ドットの目立ちにくい小径ドットについて特に画質
の向上を図っておけば、大径ドットについて画質への配
慮を減らしていても画質への影響は少ない。このように
すれば、異なるドット径を使い分ける印刷装置の場合に
できるだけ画質を劣化させにくくすることができる。こ
のようにして画素補間ユニットと階調変換ユニットにお
ける補間処理と階調変換処理とを対応づけたとして、ど
の組合せを実行するかを操作者が個別に指定するように
しても良いが、自動化することも可能であり、その一例
として、上記画素補間ユニットと上記階調変換ユニット
では、上記画像データの種類に基づいて最適な画素補間
処理と階調変換処理とが選択される構成とすることもで
きる。
In this case, large-diameter dots correspond to dark-colored dots, and small-diameter dots correspond to light-colored dots. Therefore, if the image quality is improved especially for small-diameter dots in which the dots are not conspicuous, the large-diameter dots will have little effect on the image quality even if consideration for image quality is reduced. By doing so, it is possible to prevent the image quality from degrading as much as possible in the case of a printing apparatus that uses different dot diameters. In this way, assuming that the interpolation processing and the gradation conversion processing in the pixel interpolation unit and the gradation conversion unit are associated with each other, the operator may individually specify which combination to execute, but it is automated. As an example, the pixel interpolation unit and the gradation conversion unit may be configured to select the optimum pixel interpolation processing and gradation conversion processing based on the type of the image data. it can.

【0134】このように構成した場合は、画素補間処理
と階調変換処理の対応付けに画像データの種類を組み合
わせておき、同画像データの種類に基づいて最適な選択
を行なう。このようにすれば、所望のパフォーマンスを
得る基準として画像データの種類に応じて選択すること
ができる。また、そのような画像データの種類の一例と
して、上記画素補間ユニットと上記階調変換ユニットで
は、上記画像データが自然画か非自然画かを判定して画
素補間処理と階調変換処理との組合せを変える構成とす
ることもできる。
In the case of such a configuration, the types of image data are combined in association with the pixel interpolation process and the gradation conversion process, and the optimum selection is performed based on the type of the image data. By doing so, it is possible to select a criterion for obtaining a desired performance according to the type of image data. Further, as an example of the type of such image data, the pixel interpolation unit and the gradation conversion unit determine whether the image data is a natural image or a non-natural image, and perform pixel interpolation processing and gradation conversion processing. It is also possible to change the combination.

【0135】写真のような自然画においては自然物の画
像であるが故に細部まで本来の情報が含まれているので
リアルであることが要求され、画素補間処理や階調変換
処理において高画質なものを要求する。これに対して、
非自然画の場合は人の操作によって情報を付加していっ
ているので、一部を除いて細部にまで本来の情報がある
とは言えないし、逆に塗りつぶしが一定パターンで行わ
れているのであれば画素補間処理について簡易な処理の
方がざらつきなどが生じにくい。
Since a natural image such as a photograph is an image of a natural object and therefore contains original information in every detail, it is required to be realistic, and a high quality image can be obtained in pixel interpolation processing and gradation conversion processing. To request. On the contrary,
In the case of non-natural images, information is added by human operation, so it cannot be said that the original information is present in every detail except a part, and conversely, the painting is done in a fixed pattern. For example, in the pixel interpolation processing, the simple processing is less likely to cause roughness.

【0136】このような自然画か非自然画かの相違を前
提として、上記のように構成した場合は、画像データが
自然画か非自然画かを判断し、その結果に基づいて画素
補間処理と階調変換処理との組合せを変えている。この
場合、画像データの種類の判断は自ら行うことも可能で
あるし、外部から判断結果だけを取得して組合せを変更
するようにしても良い。このように、補間処理と階調変
換処理とをその種類に応じて特定の対応付けをしておく
手法は必ずしも実体のある装置に限られる必要はなく、
その方法としても機能することは容易に理解できる。
In the case of the above-mentioned configuration on the premise of such a difference between the natural image and the non-natural image, it is judged whether the image data is the natural image or the non-natural image, and the pixel interpolation processing is performed based on the result. And the combination of gradation conversion processing are changed. In this case, the type of image data can be determined by itself, or the combination may be changed by acquiring only the determination result from the outside. As described above, the method of associating the interpolation processing and the gradation conversion processing with a specific correspondence according to the type thereof does not necessarily need to be limited to a substantial device.
It can be easily understood that this method also works.

【0137】このようにすれば、自然画と非自然画とを
区別してそれぞれの画質を良好にすることができる。と
ころで、このような画像データ補間階調変換装置は単独
で存在する場合もあるし、ある機器に組み込まれた状態
で利用されることもあるなど、発明の思想としてはこれ
に限らず、各種の態様を含むものである。従って、ソフ
トウェアであったりハードウェアであったりするなど、
適宜、変更可能である。
By doing so, it is possible to distinguish the natural image from the non-natural image and improve the image quality of each. By the way, such an image data interpolation gradation conversion device may exist as a single device, or may be used in a state of being incorporated in a certain device. Aspects are included. Therefore, it may be software or hardware,
It can be changed as appropriate.

【0138】発明の思想の具現化例として画像データ補
間階調変換装置のソフトウェアとなる場合には、かかる
ソフトウェアを記録した記録媒体上においても当然に存
在し、利用されるといわざるをえない。むろん、その記
録媒体は、磁気記録媒体であってもよいし光磁気記録媒
体であってもよいし、今後開発されるいかなる記録媒体
においても全く同様に考えることができる。また、一次
複製品、二次複製品などの複製段階については全く問う
余地無く同等である。その他、供給方法として通信回線
を利用して行なう場合でも本発明が利用されていること
にはかわりない。
When the software of the image data interpolation gradation conversion device is used as an example of embodying the idea of the present invention, it must be said that it naturally exists on a recording medium recording such software and is used. . Of course, the recording medium may be a magnetic recording medium or a magneto-optical recording medium, and any recording medium developed in the future can be considered in exactly the same manner. In addition, the duplication stage of the primary duplication product, the secondary duplication product, and the like is absolutely the same. In addition, even when the communication method is used as the supply method, the present invention is still used.

【0139】さらに、一部がソフトウェアであって、一
部がハードウェアで実現されている場合においても発明
の思想において全く異なるものではなく、一部を記録媒
体上に記憶しておいて必要に応じて適宜読み込まれるよ
うな形態のものとしてあってもよい。所望される印刷品
質に応じて対応する補間処理を変更する例としては、さ
らに各種の例を採用可能である。図49〜図51は、印
字用紙を選択することによって間接的に印刷品質を判断
し、最適なパフォーマンスの印刷制御を実施する例を示
している。
Further, even when a part is software and a part is realized by hardware, the idea of the invention is not different at all, and it is necessary to store a part on a recording medium. It may be in such a form that it is read as appropriate. Various examples can be further adopted as an example of changing the corresponding interpolation processing according to desired print quality. 49 to 51 show an example in which the print quality is indirectly determined by selecting the print paper and print control with optimum performance is performed.

【0140】この例では、図49に示すように印字用紙
の種類を表示してユーザーに選択させる。印字用紙によ
ってインクにじみの発生量や光沢度が相違し、要求する
印字品質によって印字用紙を交換している。「スーパー
ファイン」は光沢がありにじみの発生がほとんどなく高
画質な印字品質を望む場合に利用する。以下、印字品質
が低くても良い場合に「ファイン」「普通紙」を使用す
る。このため、印字用紙を設定させればが印字品質が分
かる。
In this example, as shown in FIG. 49, the type of printing paper is displayed and the user is allowed to select it. The amount of ink bleeding and the glossiness differ depending on the print paper, and the print paper is replaced according to the required print quality. "Super Fine" is used when you want high-quality print quality with gloss and almost no bleeding. Hereinafter, "fine" and "plain paper" are used when the print quality may be low. Therefore, the print quality can be known by setting the print paper.

【0141】図50のフローチャートに示すように、ス
テップ400にて図49に示すGUIの設定外面を表示
し、操作者に印字用紙を選択させる。ここで入力された
印字用紙はステップ410にて図51に示すテーブルを
参照するのに利用される。すなわち、用紙が「スーパー
ファイン」であれば、印刷品質は高いものを望まれてい
ることになるから、画素補間処理としては「Mキュービ
ック」を選択しつつ階調変換処理は「誤差拡散法」を選
択する。これらはいずれも高画質を期待できる処理であ
る。一方、「普通紙」であれば、印刷品質よりはさほど
高いものが望まれておらず、逆に印刷品質は低くても高
速処理が望まれていると分かる。このため、画素補間処
理としては「ニアリスト」を選択しつつ階調変換処理は
「ディザB」を選択する。また、「ファイン」であれ
ば、印刷品質や処理速度の妥協点が求められており、画
素補間処理としては「バイリニア」を選択しつつ階調変
換処理は「誤差拡散法」を選択する。
As shown in the flow chart of FIG. 50, in step 400, the setting outer surface of the GUI shown in FIG. 49 is displayed, and the operator is made to select the printing paper. The printing paper input here is used in step 410 to refer to the table shown in FIG. That is, if the paper is "Super Fine", it is desired that the print quality is high. Therefore, "M cubic" is selected as the pixel interpolation process while the tone conversion process is performed by the "error diffusion method". Select. All of these are processes that can expect high image quality. On the other hand, it can be seen that for “plain paper”, it is not desired that the quality is much higher than the print quality, and conversely, high-speed processing is desired even if the print quality is low. Therefore, while selecting "near list" as the pixel interpolation processing, "dither B" is selected as the gradation conversion processing. Further, if "fine", a compromise between print quality and processing speed is required, and "bilinear" is selected as the pixel interpolation processing while "error diffusion method" is selected as the gradation conversion processing.

【0142】このテーブルの参照結果は、ステップ42
0にて画素補間処理を選択する際と、ステップ460に
て階調変換処理を選択する際に利用され、ステップ43
0の「Mキュービック」か、ステップ440の「バイリ
ニア」か、ステップ「450」の「ニアリスト」で画素
補間処理が行われ、ステップ470の「誤差拡散法」
か、ステップ480の「ディザB」で階調変換処理が行
われる。以上のように、印字用紙を選択することによっ
て印刷品質が判定され、その印刷品質に見合う画質や処
理速度の面での最適なパフォーマンスを得ることができ
る。
The result of referring to this table is step 42.
It is used when selecting the pixel interpolation processing at 0 and when selecting the gradation conversion processing at step 460.
Pixel interpolation processing is performed in “M cubic” of 0, “bilinear” of step 440, or “near list” of step “450”, and “error diffusion method” of step 470.
Alternatively, the gradation conversion process is performed in "Dither B" in step 480. As described above, the print quality is determined by selecting the print paper, and it is possible to obtain the optimum performance in terms of the image quality and the processing speed that match the print quality.

【0143】次に、図52〜図55は、印字ヘッドをオ
ーバーラップして駆動させることによって印刷品質を変
更可能な場合に、最適なパフォーマンスを得られる処理
の例を示す。まず、オーバーラップについて簡単に説明
する。ごく一般的には、印字ヘッドに設けられている一
つのノズルは、印字用紙の幅方向に並ぶ一列のドット列
の印字を担当する。これに対して、オーバーラップでは
一列のドット列を異なる複数のノズルを使用して印字す
る。印字密度が高精細化してくると、ノズルから吐出さ
れるインク粒の飛行方向のわずかなずれが白線を生じさ
せる。例えば、上下に並ぶ二列のドット列を対比したと
き、上列を印字するノズルからの飛行方向は上方にず
れ、下列を印字するノズルからの飛行方向が下方にずれ
たとすると、間に白線が生じやすくなる。ノズルからの
飛行方向を調整するのは難しいため、上述したように複
数のノズルを使用して一列のドット列を印字する。
Next, FIGS. 52 to 55 show an example of a process for obtaining the optimum performance when the print quality can be changed by driving the print heads in an overlapping manner. First, the overlap will be briefly described. Very generally, one nozzle provided in the print head is in charge of printing one row of dots arranged in the width direction of the printing paper. On the other hand, in overlap printing, one dot row is printed using a plurality of different nozzles. As the printing density becomes finer, a slight deviation in the flight direction of the ink particles ejected from the nozzles causes white lines. For example, when comparing two dot rows arranged vertically, if the flight direction from the nozzles that print the upper row shifts upward, and the flight direction from the nozzles that print the lower row shifts downward, a white line appears between them. It tends to occur. Since it is difficult to adjust the flight direction from the nozzle, a single dot row is printed using a plurality of nozzles as described above.

【0144】図52にはオーバーラップが2回の例と4
回の例を参照して基本原理を示している。印字ヘッドの
ノズル列が1〜16まであるとすると、オーバーラップ
しなければ一回の桁移動で16列のドット列を印字でき
るが、オーバーラップを2回する場合には一列のドット
列を1番目のノズル列と9番目のノズル列とを使用して
印字する。むろん、先に1番目のノズル列だけを使用し
て一つ飛びのドット列を印字し、9番目のノズル列だけ
を使用して一つ飛びのドット列を印字する。次に、印字
用紙を半分の紙送り量で紙送りすると、1番目のノズル
列は9番目のノズル列で印字したドット列に対面し、9
番目のノズル列は1番目のノズル列で印字したドット列
に対面する。1番目のノズル列と9番目のノズルの飛行
方向が共に一致するのは稀であるから、印字されるドッ
ト列が基準位置から大幅にずれてしまうことが無くな
る。
FIG. 52 shows an example of two overlaps and 4
The basic principle is shown with reference to the example of the chapter. If there are 1 to 16 nozzle rows in the print head, 16 rows of dots can be printed by one digit movement if there is no overlap, but if overlapping is made twice, one row of dots Printing is performed using the 9th nozzle row and the 9th nozzle row. Of course, the dot array of one dot is printed by using only the first nozzle line, and the dot line of one dot is printed by using only the ninth nozzle line. Next, when the print paper is fed by half the paper feed amount, the first nozzle row faces the dot row printed by the ninth nozzle row,
The second nozzle row faces the dot row printed by the first nozzle row. Since it is rare that the flight directions of the first nozzle row and the ninth nozzle row both coincide with each other, the printed dot row will not be significantly displaced from the reference position.

【0145】図53の(a)はオーバーラップが4回の
場合にドット列がどのノズルから吐出されたものか分か
るように示しており、同図の(b)はオーバーラップが
2回の場合の例を示している。すなわち、各ドットに付
した数字がノズルの番号を示している。操作者が所有す
るカラープリンタで仕上げ用の印字を行なう場合、白線
が表れるのであればオーバーラップを指定する。図55
に示すステップ500にて印字品質を入力するには、図
54に示す「印字品質(オーバーラップ関連)」のGU
I画面を表示し、「高精細」、「精細」、「通常」のい
ずれかの選択を促す。入力された印字品質に基づいてス
テップ510で分岐処理を実行し、ステップ520,5
30,540の各処理ではオーバーラップ回数を示す変
数OVER_WRPに対して「4」、「2」、「1」を
代入する。また、これと同時に選択された品質に対応し
てステップ525,535,545の各処理ではフラグ
(HOKAN_FLG)に実行すべき補間処理の種類を
セットする。ここでは、図51に示すのと同様に、最高
品質の場合にはMキュービックを選択し、次に高品質の
場合にはバイリニアを選択し、通常の品質の場合にはニ
アリストを選択する。
FIG. 53 (a) shows that it can be seen from which nozzle the dot row is ejected when the overlap is 4 times, and FIG. 53 (b) shows the case where the overlap is 2 times. Shows an example of. That is, the number attached to each dot indicates the nozzle number. If white lines appear when printing for finishing on the color printer owned by the operator, specify overlap. FIG. 55
To enter the print quality in step 500 shown in FIG. 54, the GU of “print quality (overlap related)” shown in FIG.
The I screen is displayed to prompt the user to select "high definition", "fine", or "normal". Branch processing is executed in step 510 based on the input print quality, and steps 520, 5
In each process of 30 and 540, “4”, “2”, and “1” are assigned to the variable OVER_WRP indicating the number of overlaps. At the same time, the type of interpolation processing to be executed is set in the flag (HOKAN_FLG) in each processing of steps 525, 535, 545 corresponding to the selected quality. Here, as in the case shown in FIG. 51, M cubic is selected for the highest quality, bilinear is selected for the next highest quality, and near list is selected for the normal quality.

【0146】この後、ステップ550にて色変換処理を
実行し、ステップ560にて上記フラグ(HOKAN_
FLG)を参照しつつ指示されている補間処理を実行す
る。また、補間処理を終了したらステップ570にて階
調変換処理を実行する。そして、ステップ580にてラ
スタデータを作成する際にこの変数OVER_WRPを
参照してラスタデータを生成していく。ただし、実際の
印字処理では、物理的なノズル間隔よりも少ない紙送り
を実施してノズル間隔の精細度以上の高精細な印字を行
っており、このような印字処理に加えて上述したように
一列のドット列を複数のノズルから印字する制御を行っ
ている。以上の例では印字品質を直に選択させている
が、実質的にはオーバーラップの回数を選択させてお
り、その印刷品質に対応した補間処理を実現できる。
Thereafter, color conversion processing is executed in step 550, and the flag (HOKAN--) is executed in step 560.
The instructed interpolation process is executed with reference to FLG). When the interpolation processing is completed, the gradation conversion processing is executed at step 570. Then, when the raster data is created in step 580, the variable OVER_WRP is referenced to generate the raster data. However, in the actual print processing, paper feeding is performed less than the physical nozzle spacing to perform high-definition printing with a fineness of the nozzle spacing or more, and as described above in addition to such print processing. The control for printing one dot row from a plurality of nozzles is performed. Although the print quality is directly selected in the above example, the number of overlaps is substantially selected, and the interpolation processing corresponding to the print quality can be realized.

【0147】図56と図57は印刷解像度に応じて印字
ヘッドの移動方向を制御する例を示している。印字ヘッ
ドを使用して印刷する場合、印字ヘッドを用紙の紙幅方
向に往復動させながら紙を送って印字用紙の全面にわた
って印刷を可能としている。当初は、印字ヘッドを一方
向に動かすときにだけ印字を行い、逆方向に動かすとき
には印字を行わないようにしていたが、印字データの順
番を逆にし、戻る移動の際にも印字を行うことによって
一往復で二列のドット列を印字できるようになった。
56 and 57 show an example in which the moving direction of the print head is controlled according to the print resolution. When printing is performed using a print head, the print head is reciprocated in the paper width direction to feed the paper and print over the entire surface of the print paper. Initially, printing was performed only when the print head was moved in one direction, and printing was not performed when the print head was moved in the opposite direction. However, the order of print data is reversed, and printing is also performed when returning. Now it is possible to print two rows of dots in one round trip.

【0148】しかしながら、印刷解像度が極端に向上し
てきた今日では、機構的なくせなどによって往復の各動
作でずれが生じる。このため、印刷ヘッドを往復動作さ
せる指示を与えつつ、高解像度の印刷を指定しても良好
な結果を得られないことが多い。これに対して、図57
に示すフローチャートのステップ600にて、図56に
示すような印刷解像度の設定画面を表示し、印刷解像度
を入力しておく。ステップ610ではその印刷解像度が
高精細であるか否かに応じてステップ620またはステ
ップ630にて印字方向を示すフラグをセットする。す
なわち、印刷解像度が高精細なものを要求されていれば
印刷品質の高いものが要求されているのであるからステ
ップ630にて方方向でしか印刷を行わないようにさせ
るフラグを設定しておくし、印刷解像度が低いものを要
求していれば印刷品質も低いもので十分であるからステ
ップ620に双方向でしか印刷を行わせないようにフラ
グを設定しておく。また、ステップ610の分岐に伴っ
てステップ625,635の各処理ではフラグ(HOK
AN_FLG)に実行すべき補間処理の種類をセットす
る。ここでは、選択肢が二つとなり、最高品質の場合に
はMキュービックを選択し、通常の品質の場合にはニア
リストを選択する。この後、ステップ640にて色変換
処理を実行し、ステップ565にて上記フラグ(HOK
AN_FLG)を参照しつつ指示されている補間処理を
実行する。
However, nowadays, when the printing resolution is extremely improved, a deviation occurs in each reciprocating operation due to mechanical failure. Therefore, it is often the case that a good result cannot be obtained even if high-resolution printing is designated while giving an instruction to reciprocate the print head. On the other hand, FIG.
In step 600 of the flow chart shown in FIG. 56, the print resolution setting screen as shown in FIG. 56 is displayed and the print resolution is input. In step 610, a flag indicating the printing direction is set in step 620 or step 630 depending on whether or not the printing resolution is high definition. That is, if a print resolution with a high definition is required, a print quality with a high print quality is required. Therefore, in step 630, a flag is set so that printing is performed only in one direction. If a low print resolution is required, a low print quality is sufficient. Therefore, a flag is set in step 620 so that printing is performed only in both directions. Further, in accordance with the branch of step 610, a flag (HOK
AN_FLG) sets the type of interpolation processing to be executed. Here, there are two options, M cubic is selected for the highest quality, and near list is selected for the normal quality. Thereafter, color conversion processing is executed in step 640, and the flag (HOK) is executed in step 565.
The instructed interpolation process is executed with reference to (AN_FLG).

【0149】以上のように望まれる印刷品質の高低に応
じて印刷品質に影響を与える印刷方向を指定するととも
に補間処理を指定することにより、画像処理だけは高度
になっても機構的に双方向に印字してしまって画質が低
下してしまうというようなことがなくなる。ところで、
図44に示す色変換ではRGBからLC、C、LM、
M、Y、Kの6色に変換している。異なる色空間の間で
独自の座標系を有する場合、色変換は単に計算だけで求
められるものではなく、予め両色空間を対応づけた色変
換テーブルを利用しなければならない。この色変換テー
ブルは、サンプリングパッチについてそれぞれの色空間
で測色し、同じサンプリングパッチに対する測色データ
を組み合わせて作成する。ただし、RGBの各色につい
て256階調あれば、その組合せ1670万色となり、
全組合せについての色変換テーブルは巨大な容量とな
る。
As described above, by designating the print direction which influences the print quality depending on the desired print quality, and the interpolation process, the image processing is advanced even if the image processing is advanced. There is no problem that the image quality is deteriorated by printing on the. by the way,
In the color conversion shown in FIG. 44, RGB to LC, C, LM,
Converted to 6 colors of M, Y and K. When different color spaces have their own coordinate systems, color conversion is not simply obtained by calculation, but a color conversion table in which both color spaces are associated with each other must be used in advance. This color conversion table is created by measuring the color of each sampling patch in each color space and combining the color measurement data for the same sampling patch. However, if there are 256 gradations for each color of RGB, the combination becomes 16.7 million colors,
The color conversion table for all combinations has a huge capacity.

【0150】このため、一般には入力側の階調数を下げ
たテーブルを用意し、不足分は補間演算で補うことにし
ている。例えば、各色8階調とすると色変換テーブルは
8×8×8の容量となってサイズが減少する。むろん、
8×8×8の色変換テーブルでは実際の画像データが一
致するわけではないので、実際の色空間で求めようとす
る画像データを取り囲む最近隣の8つの格子点を探し出
し、この8つの格子点との対応関係から補間演算する。
この補間演算の簡単な例は8点補演算である。
For this reason, generally, a table in which the number of gradations on the input side is reduced is prepared, and the deficiency is supplemented by interpolation calculation. For example, if each color has 8 gradations, the color conversion table has a capacity of 8 × 8 × 8 and the size is reduced. Of course,
Since the 8 × 8 × 8 color conversion table does not match the actual image data, the eight nearest neighbor lattice points surrounding the image data to be obtained in the actual color space are searched for, and the eight lattice points are searched. Interpolation calculation is performed from the correspondence relationship with.
A simple example of this interpolation calculation is an 8-point complement calculation.

【0151】しかし、8点補間演算といっても単純には
8つの重みづけ加算とその結果の累算を行うので8回の
乗算と7回の加算が必要になり、各画素毎にこの演算を
行うのでは処理量が多大になる。この演算量を減らすた
めに本出願人は「プレポスト変換」を実現した。図58
と図59はプレポスト変換を簡易に理解するための模式
図である。図58に示すように、RGB各256階調で
あった入力画像データをプレ階調変換部31において各
9階調あるいは17階調あるいは33階調に階調変換
し、階調変換後に色変換部32にて色補正テーブル33
を参照して色変換する。プレ階調変換部31では誤差拡
散法で階調変換するが、この誤差拡散法であれば基本的
には加減算程度の演算で済むため、8点補間演算と比較
して演算量は激減する。
However, even though the 8-point interpolation calculation is simply performed, since eight weighted additions and the accumulation of the results are performed, eight multiplications and seven additions are required, and this calculation is performed for each pixel. However, the processing amount becomes large. In order to reduce this calculation amount, the applicant has realized “pre-post conversion”. Fig. 58
59 and 59 are schematic diagrams for easily understanding the pre-post conversion. As shown in FIG. 58, the pre-gradation conversion unit 31 converts the input image data having 256 gradations for each RGB into 9 gradations, 17 gradations or 33 gradations, and performs color conversion after gradation conversion. Color correction table 33 in section 32
Refer to for color conversion. The pre-gradation conversion unit 31 performs gradation conversion by the error diffusion method. With this error diffusion method, however, since basically calculation of addition and subtraction is sufficient, the calculation amount is drastically reduced as compared with the 8-point interpolation calculation.

【0152】ところで、プレ階調変換部31にて階調変
換する際、量子化誤差が発生する。誤差拡散によってマ
クロ的には誤差が発生しないというものの、現実には画
質に影響を与える。むろん、量子化誤差は色変換テーブ
ル33のサイズの影響を受け、色変換テーブル33のサ
イズが大きければ量子化誤差は低減する。この実施形態
においては、印刷品質に影響を与える色変換の手法に応
じて色補正テーブルのサイズを切り換えることとする。
色変換は図60に示すようにドットマトリクス状の構成
画素において対象画素を特定し、順次、この対象画素を
X−Y方向に走査するように移動させて全画素について
の処理を行なう。
By the way, when the gradation conversion is performed by the pre-gradation converter 31, a quantization error occurs. Although error does not occur macroscopically due to error diffusion, it actually affects the image quality. Of course, the quantization error is influenced by the size of the color conversion table 33, and if the size of the color conversion table 33 is large, the quantization error is reduced. In this embodiment, the size of the color correction table is switched according to the color conversion method that affects the print quality.
In the color conversion, as shown in FIG. 60, the target pixel is specified in the dot-matrix constituent pixels, and the target pixel is sequentially moved so as to scan in the XY directions, and the process is performed for all pixels.

【0153】ステップ710にて図61に示すようなG
UI設定画面を表示して操作者から印刷品質に対応する
仕上がり画質を入力させ、ステップ720にてこの仕上
がり画質に基づいてサイズの異なる色変換テーブルを参
照すべくステップ721とステップ723とステップ7
25へと分岐する。ここでは仕上がり画質は色変換の手
法に対応しており、最良の仕上がり画質は最大の色変換
テーブルを利用することによって実現され、良好の仕上
がり画質は中程度の色変換テーブルを利用することによ
って実現され、通常の仕上がり画質は最小の色変換テー
ブルを利用することによって実現される。
At step 710, G as shown in FIG.
The UI setting screen is displayed to allow the operator to input the finish image quality corresponding to the print quality, and in step 720, step 721, step 723, and step 7 are executed to refer to the color conversion tables of different sizes based on the finish image quality.
Branch to 25. Here, the finish image quality corresponds to the color conversion method, the best finish image quality is realized by using the largest color conversion table, and the good finish image quality is realized by using the medium color conversion table. Normal image quality is achieved by using the smallest color conversion table.

【0154】仕上がり画質が最良のものを望むのであれ
ば、33×33×33階調の色変換テーブルを使用する
ためにステップ721にてRGB256階調を33階調
に誤差拡散によって階調変換し、ステップ722にて同
色変換テーブルを参照する。同様にして良好の仕上がり
画質を望むのであれば、ステップ723にてRGB25
6階調を17階調に変換し、ステップ724にて17×
17×17階調の色変換テーブルを参照するし、通常の
仕上がり画質を望むのであれば、ステップ725にてR
GB256階調を9階調に変換し、ステップ726にて
9×9×9階調の色変換テーブルを参照する。また、こ
こでもステップ720の分岐に伴ってステップ727,
728,729の各処理ではフラグ(HOKAN_FL
G)に実行すべき補間処理の種類をセットする。ここで
は、選択肢が三つとなり、図51に示すのと同様に、最
高品質の場合にはMキュービックを選択し、次に高品質
の場合にはバイリニアを選択し、通常の品質の場合には
ニアリストを選択する。この後、ステップ730にて上
記フラグ(HOKAN_FLG)を参照しつつ指示され
ている補間処理を実行する。
If it is desired to obtain the best finished image quality, in order to use the color conversion table of 33 × 33 × 33 gradations, the RGB256 gradations are converted into 33 gradations by error diffusion in step 721. In step 722, the same color conversion table is referred to. Similarly, if a desired finished image quality is desired, RGB25 is set in step 723.
6 gradations are converted to 17 gradations, and in step 724 17 ×
The color conversion table of 17 × 17 gradations is referred to, and if normal finish image quality is desired, at step 725 R
The GB256 gradation is converted into 9 gradations, and the color conversion table of 9 × 9 × 9 gradations is referred to in step 726. Also here, with the branch of step 720, step 727,
In each processing of 728 and 729, a flag (HOKAN_FL
The type of interpolation processing to be executed is set in G). Here, there are three options, and as in the case shown in FIG. 51, M cubic is selected for the highest quality, bilinear is selected for the next highest quality, and bilinear is selected for the normal quality. Select a near list. Then, in step 730, the instructed interpolation process is executed with reference to the flag (HOKAN_FLG).

【0155】CMYK色空間における画像データに変換
されたら、ステップ740にてプリンタ17bの階調に
合わせるべく2階調へと階調変換する。この最終段階に
おける256階調から2階調への色変換がポスト階調変
換部33に相当する。以上のように、仕上がり画質を入
力することによって印刷品質を判断し、その印刷品質に
応じた最適な印刷制御処理を実現するようにしたため、
無駄なく最良の画質で印刷処理を行うことが可能とな
る。このように、コンピュータシステム10を利用した
印刷システムにおいて、印字用紙のような印刷品質に影
響を与える要素を選択させることにより(ステップ40
0)、印字用紙の選択から印刷品質を推定し、予め対応
づけておいた適切な印刷制御を選択しつつ(ステップ4
10)、この選択した印刷制御を実行するように処理を
分岐させるようにした(ステップ420〜ステップ45
0、ステップ460〜ステップ480)ため、最適な印
刷制御を実施できるようになる。
After being converted into the image data in the CMYK color space, the gradation is converted into two gradations in step 740 to match the gradation of the printer 17b. The color conversion from 256 gradations to 2 gradations in this final stage corresponds to the post gradation conversion unit 33. As described above, the print quality is judged by inputting the finish image quality, and the optimum print control process according to the print quality is realized.
It is possible to perform print processing with the best image quality without waste. As described above, in the printing system using the computer system 10, by selecting an element such as a print sheet that affects print quality (step 40).
0), the print quality is estimated from the selection of the print paper, and the appropriate print control associated in advance is selected (step 4).
10) The processing is branched so as to execute the selected print control (step 420 to step 45).
0, step 460 to step 480), optimal print control can be performed.

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

【図1】本発明の一実施形態に係る印刷システムを実現
するコンピュータシステムのブロック図である。
FIG. 1 is a block diagram of a computer system that realizes a printing system according to an embodiment of the present invention.

【図2】インクジェット方式のカラープリンタの概略ブ
ロック図である。
FIG. 2 is a schematic block diagram of an inkjet color printer.

【図3】同カラープリンタにおける印字ヘッドユニット
の概略説明図である。
FIG. 3 is a schematic explanatory diagram of a print head unit in the color printer.

【図4】同印字ヘッドユニットで色インクを吐出させる
状況を示す概略説明図である。
FIG. 4 is a schematic explanatory diagram showing a situation in which color ink is ejected by the print head unit.

【図5】本印刷システムにおける画像データの流れを示
すフロー図である。
FIG. 5 is a flowchart showing the flow of image data in this printing system.

【図6】バブルジェット方式の印字ヘッドで色インクを
吐出させる状況を示す概略説明図である。
FIG. 6 is a schematic explanatory view showing a situation in which color ink is ejected by a bubble jet type print head.

【図7】電子写真方式のプリンタの概略説明図である。FIG. 7 is a schematic explanatory diagram of an electrophotographic printer.

【図8】本発明の印刷用画像データ補間装置の他の適用
例を示す概略ブロック図である。
FIG. 8 is a schematic block diagram showing another application example of the printing image data interpolation device of the present invention.

【図9】本印刷システムの概略構成を示すブロックであ
る。
FIG. 9 is a block diagram showing a schematic configuration of the present printing system.

【図10】本発明の印刷用画像データ補間装置における
印刷処理のフローチャートである。
FIG. 10 is a flowchart of a printing process in the printing image data interpolation device of the present invention.

【図11】印刷処理の操作ウィンドウを示す図である。FIG. 11 is a diagram illustrating an operation window of print processing.

【図12】プリンタの設定の操作ウィンドウを示す図で
ある。
FIG. 12 is a diagram showing an operation window for setting a printer.

【図13】ニアリスト法の概念図である。FIG. 13 is a conceptual diagram of the near-list method.

【図14】ニアリスト法で各格子点のデータが移行され
る状況を示す図である。
FIG. 14 is a diagram showing a situation in which data of each lattice point is transferred by the near list method.

【図15】ニアリスト法の補間前の状況を示す概略図で
ある。
FIG. 15 is a schematic diagram showing a situation before interpolation of the nearest method.

【図16】ニアリスト法の補間後の状況を示す概略図で
ある。
FIG. 16 is a schematic diagram showing a situation after interpolation of the nearest method.

【図17】キュービック法の概念図である。FIG. 17 is a conceptual diagram of the cubic method.

【図18】キュービック法の具体的適用時におけるデー
タの変化状況を示す図である。
FIG. 18 is a diagram showing how data is changed when the cubic method is specifically applied.

【図19】キュービック法の具体的適用例を示す図であ
る。
FIG. 19 is a diagram showing a specific application example of the cubic method.

【図20】Mキュービック法の具体的適用例を示す図で
ある。
FIG. 20 is a diagram illustrating a specific application example of the M cubic method.

【図21】整数倍の補間処理を示す概略図である。FIG. 21 is a schematic diagram showing interpolation processing of an integral multiple.

【図22】ドット径を変化させる場合のピエゾ素子に印
加する電圧信号波形を示す図である。
FIG. 22 is a diagram showing a waveform of a voltage signal applied to a piezo element when the dot diameter is changed.

【図23】ドット径を変化させる場合のピエゾ素子に印
加する電圧信号波形を示す図である。
FIG. 23 is a diagram showing a waveform of a voltage signal applied to a piezo element when the dot diameter is changed.

【図24】ドットの吐出タイミングと着紙タイミングと
を示す図である。
FIG. 24 is a diagram showing dot ejection timing and paper arrival timing.

【図25】小ドットと中ドットを使用したドット径の変
化を示す図である。
FIG. 25 is a diagram showing changes in dot diameter using small dots and medium dots.

【図26】プリンタの設定の操作ウィンドウを示す図で
ある。
FIG. 26 is a diagram showing an operation window for setting a printer.

【図27】階調数を変更可能とした場合の印刷処理のフ
ローチャートである。
FIG. 27 is a flowchart of a printing process when the number of gradations can be changed.

【図28】本発明の一実施形態にかかる印刷システムの
概略フローチャートである。
FIG. 28 is a schematic flowchart of a printing system according to an embodiment of the present invention.

【図29】印刷処理を実行するプリンタドライバの概略
フローチャートである。
FIG. 29 is a schematic flowchart of a printer driver that executes print processing.

【図30】本発明の画像データ補間階調変換装置の他の
適用例を示す概略ブロック図である。
FIG. 30 is a schematic block diagram showing another application example of the image data interpolation gradation conversion device of the present invention.

【図31】本発明の画像データ補間階調変換装置の他の
適用例を示す概略ブロック図である。
FIG. 31 is a schematic block diagram showing another application example of the image data interpolation gradation conversion device of the present invention.

【図32】本発明の画像データ補間階調変換装置の他の
適用例を示す概略ブロック図である。
FIG. 32 is a schematic block diagram showing another application example of the image data interpolation gradation conversion device of the present invention.

【図33】本発明の画像データ補間階調変換装置の他の
適用例を示す概略ブロック図である。
FIG. 33 is a schematic block diagram showing another application example of the image data interpolation gradation conversion device of the present invention.

【図34】プリンタドライバのより詳細なフローチャー
トである。
FIG. 34 is a more detailed flowchart of the printer driver.

【図35】GUIを利用した設定画面を示す図である。FIG. 35 is a diagram showing a setting screen using a GUI.

【図36】優先順位に基づいて組み合わせた画素補間処
理と階調変換処理の対応を示す図表である。
FIG. 36 is a chart showing the correspondence between pixel interpolation processing and gradation conversion processing combined based on priority.

【図37】画素補間で利用する補間関数の変化を示す図
である。
FIG. 37 is a diagram showing changes in an interpolation function used in pixel interpolation.

【図38】中央集点型ディザマトリクスの一例を示す図
である。
FIG. 38 is a diagram showing an example of a central point-type dither matrix.

【図39】分散型ディザマトリクスの一例を示す図であ
る。
FIG. 39 is a diagram showing an example of a distributed dither matrix.

【図40】中央集点型ディザをベタ画面に適用した場合
にドットが付される状況を示す図である。
FIG. 40 is a diagram showing a situation where dots are added when the central-focus dither is applied to a solid screen.

【図41】分散型ディザをベタ画面に適用した場合にド
ットが付される状況を示す図である。
FIG. 41 is a diagram showing a situation in which dots are added when distributed dither is applied to a solid screen.

【図42】誤差拡散法を簡易的に示す図である。FIG. 42 is a diagram simply showing an error diffusion method.

【図43】ニアリスト法で拡大処理する状況を示す図で
ある。
FIG. 43 is a diagram showing a situation in which enlargement processing is performed by the near list method.

【図44】色インク粒の多様性に対応したプリンタドラ
イバの概略フローチャートである。
FIG. 44 is a schematic flowchart of a printer driver corresponding to the variety of color ink particles.

【図45】色インク粒が多様化した場合の画素補間処理
と階調変換処理の対応を示す図表である。
FIG. 45 is a table showing correspondence between pixel interpolation processing and gradation conversion processing when color ink particles are diversified.

【図46】色インク粒が多様化した場合の画素補間処理
と階調変換処理の対応を示す図表である。
FIG. 46 is a table showing correspondence between pixel interpolation processing and gradation conversion processing when color ink particles are diversified.

【図47】GUIを利用してハーフトーンを指定する場
合の設定画面を示す図である。
FIG. 47 is a diagram showing a setting screen when halftone is designated using the GUI.

【図48】ハーフトーンを指定して画素補間処理が限定
される状況を示す図表である。
FIG. 48 is a chart showing a situation in which halftone is designated and pixel interpolation processing is limited.

【図49】印字用紙の選択を行う設定画面を示す図であ
る。
FIG. 49 is a diagram showing a setting screen for selecting a print sheet.

【図50】印字用紙に基づいて最適な印刷処理を実施す
るためのフローチャートである。
FIG. 50 is a flowchart for carrying out an optimum printing process based on a printing paper.

【図51】印字用紙と画素補間処理と階調変換処理との
対応を示すテーブルを示す図である。
FIG. 51 is a diagram showing a table showing the correspondence between print paper, pixel interpolation processing, and gradation conversion processing.

【図52】印字ヘッドのオーバーラップ時の動作状況を
示す模式図である。
FIG. 52 is a schematic diagram showing an operating condition when the print heads overlap.

【図53】オーバーラップによってドット列を印字する
ときのノズルを示す図である。
FIG. 53 is a diagram showing nozzles when a dot row is printed by overlapping.

【図54】印字品質の選択を行う設定画面を示す図であ
る。
FIG. 54 is a diagram showing a setting screen for selecting print quality.

【図55】印字用紙に基づいて最適な印刷処理を実施す
るためのフローチャートである。
FIG. 55 is a flowchart for carrying out an optimum printing process based on a print sheet.

【図56】印刷解像度の選択を行う設定画面を示す図で
ある。
FIG. 56 is a diagram showing a setting screen for selecting a print resolution.

【図57】印刷解像度に基づいて最適な印刷処理を実施
するためのフローチャートである。
FIG. 57 is a flowchart for performing an optimum print process based on print resolution.

【図58】プレポスト変換の概略説明図である。FIG. 58 is a schematic explanatory diagram of pre-post conversion.

【図59】プレ階調変換で256階調から33階調へと
変換する際の対応関係を示す図である。
FIG. 59 is a diagram showing a correspondence relationship when converting from 256 gradations to 33 gradations by pre-gradation conversion.

【図60】対象画素を移動させながら色変換を行う過程
を示す図である。
FIG. 60 is a diagram showing a process of performing color conversion while moving a target pixel.

【図61】仕上がり画質の選択を行う設定画面を示す図
である。
FIG. 61 is a diagram showing a setting screen for selecting a finish image quality.

【図62】仕上がり画質に基づいて最適な印刷処理を実
施するためのフローチャートである。
FIG. 62 is a flowchart for carrying out an optimum printing process based on the finished image quality.

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

10…コンピュータシステム 11a…スキャナ 11a2…スキャナ 11b…デジタルスチルカメラ 11b1…デジタルスチルカメラ 11b2…デジタルスチルカメラ 11c…ビデオカメラ 12…コンピュータ本体 12a…オペレーティングシステム 12b…ディスプレイドライバ 12b…ドライバ 12c…プリンタドライバ 12d…アプリケーション 13a…フロッピーディスクドライブ 13b…ハードディスク 13c…CD−ROMドライブ 14a…モデム 14a2…モデム 15a…キーボード 15b…マウス 17a…ディスプレイ 17a1…ディスプレイ 17b…カラープリンタ 17b1…カラープリンタ 17b2…カラープリンタ 18a…カラーファクシミリ装置 18b…カラーコピー装置 21…カラーインクジェットプリンタ 22…カラープリンタ 10 ... Computer system 11a ... Scanner 11a2 ... Scanner 11b ... Digital still camera 11b1 ... Digital still camera 11b2 ... Digital still camera 11c ... video camera 12 ... Computer body 12a ... Operating system 12b ... Display driver 12b ... driver 12c ... printer driver 12d ... application 13a ... Floppy disk drive 13b ... hard disk 13c ... CD-ROM drive 14a ... Modem 14a2 ... Modem 15a ... keyboard 15b ... mouse 17a ... display 17a1 ... Display 17b ... Color printer 17b1 ... Color printer 17b2 ... Color printer 18a ... Color facsimile machine 18b ... Color copying apparatus 21 ... Color inkjet printer 22 ... Color printer

フロントページの続き (72)発明者 新田 隆志 長野県諏訪市大和3丁目3番5号 セイ コーエプソン株式会社内 (56)参考文献 特開 平2−188071(JP,A) 特開 昭63−311865(JP,A) 特開 平2−9268(JP,A)Continued front page    (72) Inventor Takashi Nitta               3-5 Yamato 3-chome, Suwa City, Nagano Prefecture               Within Co-Epson Corporation                (56) References JP-A-2-188071 (JP, A)                 JP 63-311865 (JP, A)                 Japanese Patent Laid-Open No. 2-9268 (JP, A)

Claims (12)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像をドットマトリクス状の画素で表現
した画像データを入力して印刷装置にて印刷させるため
に補間処理と階調変換処理とを含む印刷制御処理をコン
ピュータに実行させる印刷制御プログラムを記録した媒
体であって、 予め画素補間手法と階調変換手法とで所定のパフォーマ
ンスを得られる複数の組合せを設定しておき、 上記所定のパフォーマンスを選択するための設定画面を
表示し、 同設定画面における設定に基づいて上記組合せに対応し
た画素補間処理と階調変換処理を選択し、 上記印刷制御処理では上記選択された画素補間処理を実
行してから同選択された階調変換処理を実行させること
を特徴とする印刷制御プログラムを記録した媒体。
1. A print control program for causing a computer to execute print control processing including interpolation processing and gradation conversion processing for inputting image data in which an image is represented by pixels in a dot matrix form and printing the image data by a printing apparatus. A plurality of combinations in which a predetermined performance can be obtained by the pixel interpolation method and the gradation conversion method in advance, and a setting screen for selecting the predetermined performance is displayed. The pixel interpolation processing and the gradation conversion processing corresponding to the above combination are selected based on the setting on the setting screen, and in the print control processing, the selected pixel interpolation processing is executed and then the selected gradation conversion processing is performed. A medium on which a print control program characterized by being executed is recorded.
【請求項2】 上記画像データは、色分解した各要素色
についての多階調データを有し、上記画素補間処理と階
調変換処理は、各要素色ごとに組合せを設定可能となっ
ていることを特徴とする請求項1に記載の印刷制御プロ
グラムを記録した媒体。
2. The image data includes multi-gradation data for each element color that has been color-separated, and the pixel interpolation processing and gradation conversion processing can be set in combination for each element color. A medium having the print control program according to claim 1 recorded therein.
【請求項3】 上記印刷装置は濃色系と淡色系の記録材
を使用するとともに、上記画素補間処理と上記階調変換
処理では、淡色系の記録材に対して画質の良好な画素補
間処理と階調変換処理とを実行することを特徴とする請
求項1に記載の印刷制御プログラムを記録した媒体。
3. The printing apparatus uses dark-colored and light-colored recording materials, and in the pixel interpolation processing and the gradation conversion processing, pixel interpolation processing with good image quality is performed on light-colored recording materials. A medium having the print control program recorded thereon according to claim 1, characterized in that the medium and the gradation conversion process are executed.
【請求項4】 上記印刷装置は大径と小径の記録材を使
用するとともに、上記画素補間処理と上記階調変換処理
では、小径の記録材に対して画質の良好な画素補間処理
と階調変換処理とを実行することを特徴とする請求項1
に記載の印刷制御プログラムを記録した媒体。
4. The printing apparatus uses large-diameter and small-diameter recording materials, and in the pixel interpolation processing and the gradation conversion processing, pixel interpolation processing and gradation with good image quality are performed on recording materials of small diameter. The conversion process is executed.
A medium on which the print control program described in 1 is recorded.
【請求項5】 画像をドットマトリクス状の画素で表現
した画像データを入力して印刷装置にて印刷させるため
に補間処理と階調変換処理とを含む印刷制御処理を行な
う印刷制御装置であって、 予め画素補間手法と階調変換手法とで所定のパフォーマ
ンスを得られる複数の組合せを設定してある手段と、 上記所定のパフォーマンスを選択するための設定画面を
表示する手段と、 同設定画面における設定に基づいて上記組合せに対応し
た画素補間処理と階調変換処理を選択する手段と、 上記印刷制御処理では上記選択された画素補間処理を実
行してから同選択された階調変換処理を実行する手段と
を具備する特徴とする印刷制御装置。
5. A print control apparatus for performing print control processing including interpolation processing and gradation conversion processing for inputting image data in which an image is expressed by pixels in a dot matrix form and printing the image data by a printing apparatus. , Means for presetting a plurality of combinations capable of obtaining a predetermined performance by the pixel interpolation method and gradation conversion method, means for displaying a setting screen for selecting the predetermined performance, and Means for selecting pixel interpolation processing and gradation conversion processing corresponding to the combination based on the setting; and, in the print control processing, executing the selected pixel interpolation processing and then executing the selected gradation conversion processing. And a printing control device.
【請求項6】 上記画像データは、色分解した各要素色
についての多階調データを有し、上記画素補間処理と階
調変換処理は、各要素色ごとに組合せを設定可能となっ
ていることを特徴とする請求項5に記載の印刷制御装
置。
6. The image data includes multi-gradation data for each element color that has been color-separated, and the pixel interpolation processing and the gradation conversion processing can be set in combination for each element color. The print control apparatus according to claim 5, wherein the print control apparatus is a print control apparatus.
【請求項7】 上記印刷装置は濃色系と淡色系の記録材
を使用するとともに、上記画素補間処理と上記階調変換
処理では、淡色系の記録材に対して画質の良好な画素補
間処理と階調変換処理とを実行することを特徴とする請
求項5に記載の印刷制御装置。
7. The printing apparatus uses dark-colored and light-colored recording materials, and in the pixel interpolation processing and the gradation conversion processing, a pixel interpolation processing with good image quality is performed on light-colored recording materials. The print control apparatus according to claim 5, wherein the print control apparatus executes a gradation conversion process.
【請求項8】 上記印刷装置は大径と小径の記録材を使
用するとともに、上記画素補間処理と上記階調変換処理
では、小径の記録材に対して画質の良好な画素補間処理
と階調変換処理とを実行することを特徴とする請求項5
に記載の印刷制御装置。
8. The printing apparatus uses large-diameter and small-diameter recording materials, and in the pixel interpolation processing and the gradation conversion processing, pixel interpolation processing and gradation with good image quality are performed on recording materials of small diameter. 6. The conversion process is executed.
The printing control device described in 1.
【請求項9】 画像をドットマトリクス状の画素で表現
した画像データを入力して印刷装置にて印刷させるため
に補間処理と階調変換処理とを含む印刷制御処理を行な
う印刷制御方法であって、 予め画素補間手法と階調変換手法とで所定のパフォーマ
ンスを得られる複数の組合せを設定しておき、 上記所定のパフォーマンスを選択するための設定画面を
表示し、 同設定画面における設定に基づいて上記組合せに対応し
た画素補間処理と階調変換処理を選択し、 上記印刷制御処理では上記選択された画素補間処理を実
行してから同選択された階調変換処理を実行させること
を特徴とする印刷制御方法。
9. A print control method for performing print control processing including interpolation processing and gradation conversion processing for inputting image data in which an image is expressed by pixels in a dot matrix form and printing the image data by a printing device. , The pixel interpolation method and the gradation conversion method are set in advance to obtain a plurality of combinations, and a setting screen for selecting the predetermined performance is displayed. Based on the settings on the setting screen, It is characterized in that a pixel interpolation process and a gradation conversion process corresponding to the combination are selected, and in the print control process, the selected pixel interpolation process is executed and then the selected gradation conversion process is executed. Print control method.
【請求項10】 上記画像データは、色分解した各要素
色についての多階調データを有し、上記画素補間処理と
階調変換処理は、各要素色ごとに組合せを設定可能とな
っていることを特徴とする請求項9に記載の印刷制御方
法。
10. The image data has multi-gradation data for each element color that has been color-separated, and the pixel interpolation processing and gradation conversion processing can be set in combination for each element color. The print control method according to claim 9, wherein
【請求項11】 上記印刷装置は濃色系と淡色系の記録
材を使用するとともに、上記画素補間処理と上記階調変
換処理では、淡色系の記録材に対して画質の良好な画素
補間処理と階調変換処理とを実行することを特徴とする
請求項9に記載の印刷制御方法。
11. The printing apparatus uses dark-colored and light-colored recording materials, and in the pixel interpolation processing and the gradation conversion processing, a pixel interpolation processing having good image quality with respect to light-colored recording materials. 10. The print control method according to claim 9, further comprising: executing a gradation conversion process.
【請求項12】 上記印刷装置は大径と小径の記録材を
使用するとともに、上記画素補間処理と上記階調変換処
理では、小径の記録材に対して画質の良好な画素補間処
理と階調変換処理とを実行することを特徴とする請求項
9に記載の印刷制御方法。
12. The printing apparatus uses large-diameter and small-diameter recording materials, and in the pixel interpolation processing and the gradation conversion processing, pixel interpolation processing and gradation with good image quality are performed on recording materials of small diameter. The printing control method according to claim 9, wherein the conversion processing is executed.
JP8730199A 1998-04-20 1999-03-29 Medium recording print control program, print control device, and print control method Expired - Fee Related JP3462423B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8730199A JP3462423B2 (en) 1998-04-20 1999-03-29 Medium recording print control program, print control device, and print control method

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP10-109899 1998-04-20
JP10989998 1998-04-20
JP10-319674 1998-11-11
JP31967498 1998-11-11
JP8730199A JP3462423B2 (en) 1998-04-20 1999-03-29 Medium recording print control program, print control device, and print control method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2000076946A Division JP4058583B2 (en) 1998-04-20 2000-03-17 PRINT CONTROL DEVICE, PRINT CONTROL METHOD, AND MEDIUM RECORDING PRINT CONTROL PROGRAM

Publications (2)

Publication Number Publication Date
JP2000209435A JP2000209435A (en) 2000-07-28
JP3462423B2 true JP3462423B2 (en) 2003-11-05

Family

ID=27305472

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8730199A Expired - Fee Related JP3462423B2 (en) 1998-04-20 1999-03-29 Medium recording print control program, print control device, and print control method

Country Status (1)

Country Link
JP (1) JP3462423B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4371640B2 (en) 2002-09-09 2009-11-25 キヤノン株式会社 Color output method and output device
JP2009237747A (en) * 2008-03-26 2009-10-15 Denso Corp Data polymorphing method and data polymorphing apparatus
JP4873053B2 (en) * 2009-07-27 2012-02-08 セイコーエプソン株式会社 Print control method, print control apparatus, and print control program

Also Published As

Publication number Publication date
JP2000209435A (en) 2000-07-28

Similar Documents

Publication Publication Date Title
US6510254B1 (en) Apparatus and method for image data interpolation and medium on which image data interpolation program is recorded
EP0949585B1 (en) Apparatus and method for image data interpolation
JP4058583B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, AND MEDIUM RECORDING PRINT CONTROL PROGRAM
JP5409137B2 (en) Image processing apparatus, image processing method, and program
JP3462423B2 (en) Medium recording print control program, print control device, and print control method
JP2001157042A (en) Image processor, image processing method and computer- readable recording medium recorded with program for executing computer the method
JP3063754B2 (en) Image data interpolation device, image data interpolation method, medium recording image data interpolation program
JP3760531B2 (en) Image interpolation apparatus and image interpolation method
JP3045134B2 (en) Image data interpolation apparatus, image data interpolation method, and medium recording image data interpolation program
US20030030827A1 (en) Image processing apparatus and image forming apparatus
JP2000270208A (en) Image processor and image processing method
JP4450250B2 (en) Image data interpolation apparatus, computer for image data interpolation processing, image data interpolation method, and medium on which image data interpolation program is recorded
JP3478498B2 (en) Object pixel determination device, object pixel determination method, medium recording object pixel determination program, and object pixel determination program
JP3588797B2 (en) Image data interpolation program, image data interpolation method and image data interpolation device
JP4009805B2 (en) Image data interpolation apparatus, image data interpolation method, and medium on which image data interpolation program is recorded
JP3201338B2 (en) Image data interpolation apparatus, image data interpolation method, and medium recording image data interpolation program
JP2962310B1 (en) Image processing apparatus, image processing method, and medium recording image processing program
JP4081628B2 (en) Image data interpolation method, image data interpolation device, and computer readable recording medium recording image data interpolation program
JP3758030B2 (en) Image data interpolation program, image data interpolation method, and image data interpolation apparatus
JP2004096715A (en) Image data interpolation apparatus, computer for image data interpolation processing, image data interpolation method and medium with image data interpolation program recorded thereon
JPH11353474A (en) Image data interpolation device, image data interpolation processing computer, image data interpolation method and medium recorded with image data interpolation program
JP2000324340A (en) Picture data correcting device and its method and medium for recording picture data correction program
JP2002271615A (en) Image processing unit and imaging device
JP2000076430A5 (en)
JP2004254334A (en) Image data interpolation program, image data interpolation method and image data interpolation device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070815

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080815

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080815

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090815

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090815

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100815

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110815

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120815

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130815

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees