JPH1067142A - Method and apparatus for recording image - Google Patents

Method and apparatus for recording image

Info

Publication number
JPH1067142A
JPH1067142A JP22819096A JP22819096A JPH1067142A JP H1067142 A JPH1067142 A JP H1067142A JP 22819096 A JP22819096 A JP 22819096A JP 22819096 A JP22819096 A JP 22819096A JP H1067142 A JPH1067142 A JP H1067142A
Authority
JP
Japan
Prior art keywords
image
quantized
pixel
pattern
detection
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.)
Granted
Application number
JP22819096A
Other languages
Japanese (ja)
Other versions
JP3507252B2 (en
Inventor
Hidehiko Kanda
英彦 神田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP22819096A priority Critical patent/JP3507252B2/en
Priority to DE69723014T priority patent/DE69723014D1/en
Priority to EP97306598A priority patent/EP0829818B1/en
Priority to US08/920,864 priority patent/US6061145A/en
Publication of JPH1067142A publication Critical patent/JPH1067142A/en
Application granted granted Critical
Publication of JP3507252B2 publication Critical patent/JP3507252B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve a resolution, and improve image quality by restricting notches of a contour in a method and an apparatus for recording images. SOLUTION: Multi-gradation image data are quantized, and converted to a quantized pixel pattern. A smoothed point of an image obtained by the quantization is detected. Pixels of the detected smoothed point are interpolated. A contour of the quantized image is thus corrected. At this time, quantization pixel patterns (A)-(H) stored in a memory are replaced with pixel patterns (I)-(P) having the smoothed point of the detected quantized image quantized. Each pixel pattern is stored in the memory as four-bit image information and constituted of a (4*2) matrix.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は画像記録方法および
画像記録装置に関し、特に、ドットマトリクス方式で面
積階調による記録方法と視覚的に平滑化する記録方法に
より高品位の画像記録を可能とした画像記録方法および
画像記録装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recording method and an image recording apparatus, and more particularly, to a high-quality image recording by a dot matrix type recording method using area gradation and a recording method for visually smoothing. The present invention relates to an image recording method and an image recording device.

【0002】[0002]

【従来の技術】近年、パソコンやワープロ等のOA機器
が広く普及しており、これら機器で入力した画像情報等
をプリントアウトする装置としては、数多くの方式のも
のが開発されている。中でもインクジェット方式、ワイ
ヤドット方式、サーマル方式等のドットマトリクス方式
の記録装置は、比較的安価で省スペース化が容易なた
め、現在最も普及しているデジタル記録方式の記録装置
である。
2. Description of the Related Art In recent years, OA devices such as personal computers and word processors have become widespread, and various types of devices for printing out image information and the like input by these devices have been developed. Above all, a printing apparatus of a dot matrix system such as an ink jet system, a wire dot system, and a thermal system is a relatively inexpensive and easily space-saving recording device, and is therefore the most widely used digital recording system at present.

【0003】デジタル記録方式の記録装置では、ドット
単位でのアナログ的な階調表現が不可能なため、複数の
ドットが紙面上を被覆する面積で疑似的に中間調を表現
している。
[0005] In a recording apparatus of the digital recording system, since it is impossible to express an analog gradation in a dot unit, a halftone is artificially represented by an area where a plurality of dots cover the paper surface.

【0004】また、ドットマトリクス方式の記録装置に
よる画像形成ではドットを組み合わせて画像を形成する
ために、画像の斜線部などの輪郭にギザギザ感が生じ画
像品位を劣化させてしまう場合がある。極めて高品位な
出力を目的とする一部のドットマトリクス方式の記録装
置においては、このギザギザ部を緩和するための対策と
して、特開平02−112966号公報などで開示され
ているように、ギザギザ部を検出する予め設定されてい
る複数種類の(n*m)画素サイズのマッチング検出パ
ターンを印字原画像と比較して、このマッチングパター
ンと原画像が一致する箇所に、マッチングパターンに固
有に設定されている規則に従って原画像を補間処理して
ギザギザ感を緩和することが行われている。
[0004] Further, in image formation by a dot matrix type recording apparatus, since an image is formed by combining dots, a jagged feeling may occur in an outline such as a hatched portion of the image, and the image quality may be degraded. In some dot matrix type recording apparatuses aiming at extremely high-quality output, as a measure for alleviating the jagged portion, as disclosed in Japanese Patent Application Laid-Open No. H02-112966, etc. The matching detection patterns of a plurality of (n * m) pixel sizes set in advance are compared with the printing original image, and a position where the matching pattern matches the original image is set uniquely to the matching pattern. The jagged feeling is mitigated by performing interpolation processing on the original image in accordance with the following rules.

【0005】[0005]

【発明が解決しようとする課題】しかし、ギザギザ部を
緩和させる従来技術の原画像の補間処理は、補間画素デ
ータ(マッチング検出パターン)を新たに設ける必要が
あるためメモリの容量が増え、コストアップおよび処理
速度に時間がかかるといった問題がある。
However, in the prior art interpolation processing of the original image for reducing the jagged portion, it is necessary to newly provide interpolated pixel data (matching detection pattern), so that the memory capacity is increased and the cost is increased. In addition, there is a problem that it takes time for the processing speed.

【0006】さらに、多階調の入力画像データを3値以
上に量子化することにより、1画素を着弾位置の異なる
複数のドットを使って中間調を表現し階調性を向上させ
ることと、画像の輪郭のギザギザ感の抑制を両立させる
ことは大変困難である。すなわち、3値以上の量子化に
よって階調性の向上は実現できるが、これは輪郭のギザ
ギザ感に対しては何の効果も無く、解像度を向上させる
ものではない。
Further, by quantizing multi-gradation input image data into three or more values, halftone is expressed by using a plurality of dots at different landing positions for one pixel to improve gradation. It is very difficult to achieve both suppression of jaggedness in the outline of an image. That is, although the improvement of the gradation can be realized by the quantization of three or more values, this has no effect on the jaggedness of the outline and does not improve the resolution.

【0007】そこで本発明は、メモリの容量増加に伴う
コストアップおよび処理速度の低下を防止して、階調性
を向上させるために多くの中間調を表現し得、さらに文
字等の輪郭のギザギザ感の抑制を図ることでドットマト
リクス記録方式により高画質を実現することのできる画
像記録方法および画像記録装置を提供することを目的と
する。
Accordingly, the present invention can express many halftones to prevent a rise in cost and a reduction in processing speed due to an increase in the capacity of a memory and improve gradation, and furthermore, a jagged outline of a character or the like. It is an object of the present invention to provide an image recording method and an image recording apparatus capable of realizing high image quality by a dot matrix recording method by suppressing a feeling.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の本発明の方法では、多階調の画像
データを量子化し、量子化された画素パターンに変換す
る量子化ステップと、量子化して得た画像の平滑化箇所
を検出する検出ステップと、検出された前記平滑化箇所
の画素を補間して当該量子化画像の輪郭を補正する補正
ステップとを含む画像記録方法であって、前記補正ステ
ップにおいて、前記量子化画像の前記平滑化箇所の前記
量子化された画素パターンを、記憶手段に記憶された平
滑化用の画素パターンと入れ換える構成とした。
According to a first aspect of the present invention, there is provided a method for quantizing multi-gradation image data and converting the image data into a quantized pixel pattern. An image recording method comprising: detecting a smoothed portion of an image obtained by quantization; and correcting the contour of the quantized image by interpolating the detected pixel of the smoothed portion. In the correction step, the quantized pixel pattern at the smoothed portion of the quantized image is replaced with a smoothing pixel pattern stored in a storage unit.

【0009】また、請求項2に記載の本発明の方法で
は、前記量子化画像は量子化された画素パターンで構成
されており、前記量子化された画素パターンと前記平滑
化用の画素パターンとが4ビットの画素情報として記憶
され、両画素パターンが(4*2)のマトリクスで構成
される構成とした。
Further, in the method according to the present invention, the quantized image is constituted by a quantized pixel pattern, and the quantized pixel pattern and the smoothing pixel pattern are different from each other. Are stored as 4-bit pixel information, and both pixel patterns are configured by a (4 * 2) matrix.

【0010】また、請求項3に記載の本発明の方法で
は、前記検出ステップにおいて、(n*m)のマトリク
ス(m、nは3以上の正の整数)の前記量子化画像のう
ち(n*m)より小さい(N*M)のマトリクスからな
る一部の画像と(N*M)のマトリクスの検出パターン
とを照合することで前記平滑化箇所を検出する構成とし
た。
Further, in the method according to the present invention, in the detecting step, (n * m) matrix (m, n is a positive integer of 3 or more) of the quantized image (n * M). The configuration is such that the smoothed portion is detected by comparing a part of the image (N * M) matrix smaller than the detection pattern of the (N * M) matrix.

【0011】また、請求項4に記載の本発明の方法で
は、前記一部の画像が中間調を含む場合には、前記検出
パターンとの照合を行わない構成とした。
Further, in the method according to the present invention, when the part of the image includes a halftone, the comparison with the detection pattern is not performed.

【0012】また、請求項5に記載の本発明の方法で
は、前記検出パターンの横方向に2から(n−1)番
目、縦方向に2から(m−1)番目の位置の画素を補間
対象とする構成とした。
According to a fifth aspect of the present invention, the pixels at the 2nd to (n-1) th positions in the horizontal direction and the 2nd to (m-1) th positions in the vertical direction of the detection pattern are interpolated. The target configuration was adopted.

【0013】また、請求項6に記載の本発明の方法で
は、前記検出ステップにおいて、前記量子化画像のうち
輪郭を含まない領域を一次検出し、前記輪郭を含まない
領域とは別の領域について前記検出パターンとの照合を
行う構成とした。
Further, in the method according to the present invention, in the detecting step, a region which does not include an outline in the quantized image is primarily detected, and a region other than the region which does not include the outline is detected. The configuration is such that comparison with the detection pattern is performed.

【0014】また、請求項7に記載の本発明の方法で
は、前記一次検出は、ドットがないパターンと前記量子
化画像の一部の画像の照合を優先して行う構成とした。
Further, in the method according to the present invention, the primary detection is performed by giving priority to the comparison between a pattern having no dots and a partial image of the quantized image.

【0015】また、請求項8に記載の本発明の方法で
は、多階調の画像データを量子化し、量子化された画素
パターンに変換する量子化ステップと、量子化して得た
画像から黒文字部を検知する黒検知ステップと、前記黒
文字部を検知したときに、前記量子化画像の平滑化箇所
を検出する検出ステップと、検出された前記平滑化箇所
の画素を補間して前記量子化画像の輪郭を補正する補正
ステップとを含む画像記録方法であって、前記補正ステ
ップにおいて、前記量子化画像の前記平滑化箇所の前記
量子化された画素パターンを、記憶手段に記憶された平
滑化用の画素パターンと入れ換える構成とした。
In the method according to the present invention, a quantization step of quantizing multi-gradation image data and converting the image data into a quantized pixel pattern is provided. A black detection step of detecting the black character portion, a detection step of detecting a smoothed portion of the quantized image when the black character portion is detected, and interpolating pixels of the detected smoothed portion to detect the quantized image. A correcting step of correcting an outline, wherein in the correcting step, the quantized pixel pattern of the smoothed portion of the quantized image is stored in a storage unit for smoothing. The configuration is such that the pixel pattern is replaced.

【0016】上記目的を達成するために、請求項9に記
載の本発明の装置では、多階調の画像データを量子化
し、量子化された画素パターンに変換する量子化手段
と、量子化して得た画像の平滑化箇所を検出する検出手
段と、検出された前記平滑化箇所の画素を補間して当該
量子化画像の輪郭を補正する補正手段とを備えた画像記
録装置であって、前記補正手段により、前記量子化画像
の前記平滑化箇所の前記量子化された画素パターンを、
記憶手段に記憶された平滑化用の画素パターンと入れ換
える構成とした。
In order to achieve the above object, in the apparatus according to the ninth aspect of the present invention, a quantizing means for quantizing multi-gradation image data and converting it into a quantized pixel pattern is provided. An image recording apparatus comprising: a detecting unit that detects a smoothed portion of an obtained image; and a correcting unit that interpolates a pixel of the detected smoothed portion to correct an outline of the quantized image. By the correction means, the quantized pixel pattern of the smoothed portion of the quantized image,
The pixel pattern for smoothing stored in the storage unit is replaced.

【0017】また、請求項10に記載の本発明の装置で
は、前記量子化画像は量子化された画素パターンで構成
されており、前記量子化された画素パターンと前記平滑
化用の画素パターンとが4ビットの画素情報として記憶
され、両画素パターンが(4*2)のマトリクスで構成
される構成とした。
Further, in the apparatus according to the present invention, the quantized image is constituted by a quantized pixel pattern, and the quantized pixel pattern and the smoothing pixel pattern are different from each other. Are stored as 4-bit pixel information, and both pixel patterns are configured by a (4 * 2) matrix.

【0018】また、請求項11に記載の本発明の装置で
は、前記検出手段により、(n*m)のマトリクス
(m、nは3以上の正の整数)の前記量子化画像のうち
(n*m)より小さい(N*M)のマトリクスからなる
一部の画像と(N*M)のマトリクスの検出パターンと
を照合することで前記平滑化箇所を検出する構成とし
た。
Further, in the apparatus according to the present invention, the detecting means may select (n * m) a matrix (m, n is a positive integer of 3 or more) from the (n * m) matrix of the quantized image. * M). The configuration is such that the smoothed portion is detected by comparing a part of the image (N * M) matrix smaller than the detection pattern of the (N * M) matrix.

【0019】また、請求項12に記載の本発明の装置で
は、前記一部の画像が中間調を含む場合には、前記検出
パターンとの照合を行わない構成とした。
Further, in the apparatus according to the present invention, when the partial image includes a halftone, the comparison with the detection pattern is not performed.

【0020】また、請求項13に記載の本発明の装置で
は、前記検出パターンの横方向に2から(n−1)番
目、縦方向に2から(m−1)番目の位置の画素を補間
対象とする構成とした。
Further, in the apparatus according to the present invention, the pixels at the 2nd to (n-1) th positions in the horizontal direction and the 2nd to (m-1) th positions in the vertical direction of the detection pattern are interpolated. The target configuration was adopted.

【0021】また、請求項14に記載の本発明の装置で
は、前記検出手段により、前記量子化画像のうち輪郭を
含まない領域を一次検出し、前記輪郭を含まない領域と
は別の領域について前記検出パターンとの照合を行う構
成とした。
Further, in the apparatus according to the present invention, the detection means primarily detects a region not including the contour in the quantized image, and detects a region other than the region not including the contour. The configuration is such that comparison with the detection pattern is performed.

【0022】また、請求項15に記載の本発明の装置で
は、前記一次検出は、ドットがないパターンと前記量子
化画像の一部の画像の照合を優先して行う構成とした。
Further, in the apparatus according to the present invention, the primary detection is preferentially performed by comparing a pattern having no dots with a partial image of the quantized image.

【0023】また、請求項16に記載の本発明の装置で
は、多階調の画像データを量子化し、量子化された画素
パターンに変換する量子化手段と、量子化して得た画像
から黒文字部を検知する黒検知手段と、前記黒文字部を
検知したときに、前記量子化画像の平滑化箇所を検出す
る検出手段と、検出された前記平滑化箇所の画素を補間
して前記量子化画像の輪郭を補正する補正手段とを備え
た画像記録装置であって、前記補正手段により、前記量
子化画像の前記平滑化箇所の前記量子化された画素パタ
ーンを、記憶手段に記憶された平滑化用の画素パターン
と入れ換える構成とした。
Further, in the apparatus according to the present invention, a quantization means for quantizing multi-gradation image data and converting it into a quantized pixel pattern, and a black character portion from the quantized image are provided. A black detection unit that detects a black character portion, a detection unit that detects a smoothed portion of the quantized image, and a pixel of the detected smoothed portion by interpolating the detected pixel of the quantized image. Correction means for correcting the contour, wherein the correction means converts the quantized pixel pattern of the smoothed portion of the quantized image to a smoothing portion stored in a storage means. The pixel pattern is replaced.

【0024】また、請求項17に記載の本発明の装置で
は、熱エネルギによりインクを吐出させるインクジェッ
ト方式の記録ヘッドを用いて記録を行う構成とした。
Further, in the apparatus according to the present invention, the recording is performed using an ink jet type recording head which discharges ink by thermal energy.

【0025】[0025]

【発明の実施の形態】以下、図面を参照しながら本発明
の実施の形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0026】(第1の実施の形態)図1は本発明を適用
したインクジェット記録装置の第1の実施の形態の主要
部の構成を示す斜視図である。
(First Embodiment) FIG. 1 is a perspective view showing the structure of a main part of a first embodiment of an ink jet recording apparatus to which the present invention is applied.

【0027】図1において、インクジェットユニット1
1はインクを吐出する吐出口列を配列された記録ヘッド
を有している。このインクジェットユニット11は、キ
ャリッジ13に設置してある。たとえば記録用紙やプラ
スチック薄板等からなる被記録材Pは、図示しない搬送
ローラを経て排紙ローラ17に挟持され、図示しない搬
送モータに駆動されて矢印F方向に送られる。キャリッ
ジ13は、ガイドシャフト12、および図示しないエン
コーダにより案内支持されている。キャリッジ13は、
駆動ベルト14を介し、キャリッジモータ15の駆動に
よりガイドシャフト12に沿って往復移動させられる。
In FIG. 1, the ink jet unit 1
Reference numeral 1 denotes a recording head in which ejection port arrays for ejecting ink are arranged. The inkjet unit 11 is installed on a carriage 13. For example, a recording material P made of a recording paper, a plastic thin plate or the like is nipped by a discharge roller 17 via a not-shown conveying roller, and is driven by a not-shown conveying motor to be sent in the direction of arrow F. The carriage 13 is guided and supported by the guide shaft 12 and an encoder (not shown). The carriage 13 is
It is reciprocated along the guide shaft 12 by the drive of the carriage motor 15 via the drive belt 14.

【0028】インクジェットユニット11のインク吐出
口の内部(液路)には、インク吐出用の熱エネルギを発
生する発熱素子(電気−熱変換手段)が設けられてい
る。そして、前記したエンコーダの読み取りタイミング
にしたがい、この発熱素子を記録信号に基づいて駆動し
てインク吐出口よりインクを吐出させ、披記録材P上に
インク滴を飛翔、付着させることで画像を形成すること
が出来る。
A heating element (electric-heat conversion means) for generating thermal energy for ink ejection is provided inside the ink ejection port (liquid passage) of the ink jet unit 11. Then, in accordance with the read timing of the encoder, the heating element is driven based on the recording signal to discharge ink from the ink discharge port, and the ink droplets fly and adhere on the recording material P to form an image. You can do it.

【0029】記録領域外に選定されたキャリッジのホー
ムポジションHPには、キャップ部16をもつ回復ユニ
ットが配設されている。記録を行わない時にはキャリッ
ジ13をホームポジションHPヘ移動させて、キャップ
部16によりインクジェットユニット11のインク吐出
口形成面を密閉し、インク溶剤蒸発に起因するインクの
固着、あるいはホコリ、紙粉等の異物の付着等による目
詰まりを防止する。
At the home position HP of the carriage selected outside the recording area, a recovery unit having a cap 16 is provided. When recording is not performed, the carriage 13 is moved to the home position HP, and the cap unit 16 seals the ink discharge port forming surface of the ink jet unit 11 to fix the ink due to evaporation of the ink solvent, or to remove dust, paper dust, or the like. Prevents clogging due to adhesion of foreign matter.

【0030】また、このキャップ部16のキャッピング
機能は、記録頻度の低いインク吐出口のインク増粘、固
着等による吐出不良や目詰まりを解消するために、イン
ク吐出口から離れた状態にあるキャップ部16へインク
を吐出させる予備吐出モードに利用される。あるいは、
キャップした状態で吸引ポンプを動作させ、インク吐出
口からインクを吸引し、吐出不良を起こしたインク吐出
口の吐出回復に利用される。また、キャップ部16に隣
接する位置にクリーニング用のブブレードを配設するこ
とにより、インクジェットユニット11のインク吐出口
形成面をクリーニングすること(ワイピング)が可能に
なる。
The capping function of the cap section 16 is to prevent the ejection failure or clogging of the ink ejection port having a low recording frequency due to thickening or sticking of the ink, and to prevent the cap from being separated from the ink ejection port. It is used in a preliminary ejection mode for ejecting ink to the unit 16. Or,
The suction pump is operated in the capped state to suck the ink from the ink ejection port, and is used for the ejection recovery of the ink ejection port having the ejection failure. In addition, by disposing a cleaning blade at a position adjacent to the cap portion 16, it is possible to clean (wiping) the ink discharge port forming surface of the inkjet unit 11.

【0031】図2は、図1のインクジェット記録装置が
備える制御回路の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a control circuit provided in the ink jet recording apparatus of FIG.

【0032】図2中でメインバスライン205に接続さ
れる各構成要素は、メインバスライン205に対して夫
々アクセスする画像入力部203、画像入力部203に
対応する画像信号処理部204、CPU(中央処理部)
200等のソフト系処理部と、操作部206、回復系制
御回路207、インクジェットヘッド温度制御回路21
4、ヘッド駆動制御回路215等のハード系処理部とに
大別される。
In FIG. 2, each component connected to the main bus line 205 includes an image input unit 203 that accesses the main bus line 205, an image signal processing unit 204 corresponding to the image input unit 203, and a CPU ( Central processing unit)
200, a software processing unit, an operation unit 206, a recovery system control circuit 207, an ink jet head temperature control circuit 21
4. It is roughly divided into a hardware processing unit such as the head drive control circuit 215.

【0033】CPU(中央処理装置)200は、通常は
ROM201とRAM202を有し、入力データに対し
て適正な記録条件を与えて記録ヘッド213を駆動して
記録を行うように制御する。また、ROM201には、
ヘッド回復タイミングチャートを実行するプログラムが
予め格納されており、予備吐出条件等の回復条件を必要
に応じて回復系制御回路207、記録ヘッド213、保
温ヒータ213b等に与える。また、ROM201に
は、後述の図12のフローチャートの処理を実行するプ
ログラムが予め格納されている。
A CPU (Central Processing Unit) 200 usually has a ROM 201 and a RAM 202 and controls the recording head 213 to perform recording by giving appropriate recording conditions to input data. Also, in the ROM 201,
A program for executing the head recovery timing chart is stored in advance, and recovery conditions such as preliminary discharge conditions are given to the recovery system control circuit 207, the recording head 213, the heat retention heater 213b, and the like as necessary. The ROM 201 stores in advance a program for executing the processing of the flowchart of FIG.

【0034】回復系モータ208は、前述したような記
録ヘッド213とこれに対向して離間するクリーニング
用のブレード209やキャップ210、吸引ポンプ21
1を駆動する。ヘッド駆動制御回路215は、記録ヘッ
ド213のインク吐出用の前述の発熱素子213aの駆
動を実行し、これにより、予備吐出や記録用のインク吐
出を記録ヘッド213に行わせる。
The recovery system motor 208 includes a recording head 213 as described above, a cleaning blade 209, a cap 210, and a suction pump 21 which are opposed to and separate from the recording head 213.
1 is driven. The head drive control circuit 215 drives the above-described heating element 213a for ink ejection of the recording head 213, thereby causing the recording head 213 to perform preliminary ejection and ink ejection for recording.

【0035】一方、記録ヘッド213のインク吐出用の
発熱素子213aが設けられている基板には、保温ヒー
タ213bが共に設けられており、記録ヘッド213内
のインク温度を所望の設定温度に加熱調整することが出
来る。また、サーミスタ212は、同様に上記基板に設
けられているもので、実質的な記録ヘッド213内部の
インク温度を測定するためのものである。このサーミス
タ212は、基板にではなく外部に設けられていても良
く、記録ヘッド213の周囲近傍にあっても良い。
On the other hand, the substrate on which the heating element 213a for ink ejection of the recording head 213 is provided is provided with a heat retaining heater 213b so that the ink temperature in the recording head 213 is adjusted to a desired set temperature. You can do it. The thermistor 212 is also provided on the above-mentioned substrate, and is for measuring the substantial ink temperature inside the recording head 213. The thermistor 212 may be provided externally, not on the substrate, or may be near the periphery of the recording head 213.

【0036】上記のように構成された本発明の第1の実
施の形態の記録装置では、多階調の入力画像を解像度が
300*300dpiの多値画像データとし、1画素を
着弾位置の異なる複数のドットを使い中間調を表現して
階調性を向上させることと、画像の輪郭を補正してその
ギザギザ感の抑制を両立させるために、図2の制御回路
により以下の制御を行う。
In the recording apparatus according to the first embodiment of the present invention configured as described above, a multi-gradation input image is multi-valued image data having a resolution of 300 * 300 dpi, and one pixel has a different landing position. The following control is performed by the control circuit of FIG. 2 in order to achieve the improvement of the gradation by expressing the halftone using a plurality of dots and the suppression of the jaggedness by correcting the outline of the image.

【0037】図3は、本発明の第1の実施の形態におけ
る量子化された画素パターンと平滑化させる画素パター
ンを説明する説明図である。
FIG. 3 is an explanatory diagram for explaining a quantized pixel pattern and a pixel pattern to be smoothed in the first embodiment of the present invention.

【0038】これらの画素パターンは、1画素当たり
(4*2)のマトリクスで構成される16種類の画素パ
ターン図3(A)〜(P)からなり、画像情報としてR
AM202等のメモリに予め記憶されるデータ容量は4
ビットである。多階調の入力画像データは8値(レベ
ル)のデータに量子化され、図3(A)〜(H)の量子
化された8種類の画素パターンで形成される画像データ
に変換される。図3(A)はドットなしのパターン、図
3(H)は8ドット全てありのパターンであり、他は中
間調パターンである。図3(I)〜(P)は、8種類の
平滑化させる画素パターンであり、2ドットまたは4ド
ットありの中間調パターンである。
These pixel patterns are composed of 16 types of pixel patterns shown in FIGS. 3 (A) to 3 (P) constituted by a matrix of (4 * 2) per pixel.
The data capacity previously stored in the memory such as the AM 202 is 4
Is a bit. The multi-gradation input image data is quantized into eight-level (level) data, and is converted into image data formed by eight types of quantized pixel patterns shown in FIGS. FIG. 3A shows a pattern without dots, FIG. 3H shows a pattern with all eight dots, and the other patterns are halftone patterns. FIGS. 3 (I) to 3 (P) show eight types of pixel patterns to be smoothed, and are halftone patterns having two dots or four dots.

【0039】また図4は、本発明の第1の実施の形態に
おける平滑化箇所を検出するための検出パターンを説明
する説明図である。
FIG. 4 is an explanatory diagram for explaining a detection pattern for detecting a smoothed portion in the first embodiment of the present invention.

【0040】この検出パターンは(5*5)より小さい
(3*3)の画素サイズのマトリクスからなり、(A−
1)〜(A−4),(B−1)〜(B−4),(C−
1)〜(C−4)の12種類用意される。
This detection pattern consists of a matrix having a pixel size of (3 * 3) smaller than (5 * 5).
1) to (A-4), (B-1) to (B-4), (C-
Twelve types of 1) to (C-4) are prepared.

【0041】はじめに、多階調の入力画像データを8値
(レベル)のデータに量子化を行い、図3(A)〜
(H)に示す画素パターンで形成される量子化された画
像データに変換する。
First, the multi-gradation input image data is quantized into 8-level (level) data, and FIG.
The image data is converted into quantized image data formed by the pixel pattern shown in (H).

【0042】図5は、本発明の第1の実施の形態におけ
る多階調の入力画像データが8値に量子化された画像を
説明する説明図である。
FIG. 5 is an explanatory diagram for explaining an image in which multi-gradation input image data is quantized into eight values in the first embodiment of the present invention.

【0043】図5(A)は、(5*5)の画素サイズの
マトリクスの8値に量子化された多階調の入力画像デー
タの一例である。この各画素は、量子化された画素パタ
ーン図3(A)〜(H)のいずれかになっている。図5
(B)〜(J)は(5*5)より小さい(3*3)の画
素サイズのマトリクス部であり、図5(A)の量子化さ
れた画像データの一部から構成されている。たとえば、
図5(B)は図5(A)の左上隅の部分、図5(D)は
図5(A)の左下隅の部分の(3*3)のマトリクス部
を示している。また、図5(G)は図5(A)中央の最
下段の部分、図5(I)は図5(A)右側の中央の段の
部分の(3*3)のマトリクス部を示している。
FIG. 5A is an example of multi-gradation input image data quantized into eight values of a matrix of (5 * 5) pixel size. Each pixel has one of the quantized pixel patterns shown in FIGS. 3A to 3H. FIG.
(B) to (J) are matrix portions having a pixel size of (3 * 3) smaller than (5 * 5), and are composed of a part of the quantized image data of FIG. 5 (A). For example,
FIG. 5B shows the (3 * 3) matrix portion at the upper left corner of FIG. 5A, and FIG. 5D shows the lower left corner of FIG. 5A. FIG. 5 (G) shows a (3 * 3) matrix portion in the lowermost part in the center of FIG. 5 (A), and FIG. 5 (I) shows a (3 * 3) matrix part in the central part on the right side in FIG. 5 (A). I have.

【0044】量子化されたこの図5(B)〜(J)の画
像データに対して同図(B)から(J)まで縦1画素、
横1画素ずつずらしながら、図4の12種類の(3*
3)の画素サイズのマトリクスからなる検出パターンと
照合する。このとき、図5(B),(C),(E),
(F)のマトリクス部の様に、照合する(3*3)の画
素サイズのマトリクス内に1画素でも図3(B)〜
(G)に示す中間調の画素パターンを含んでいる場合に
は、図4の12種類の検出パターンとの照合を行わない
で次のマトリクス部との検出に移る。つまり、図5
(D),(G),(H)〜(J)の画像データについて
図4の検出パターンと照合し、一致を検出したときに、
(3*3)の中央の画素を図3(I)〜(P)の平滑化
された画素パターンと入れ換える。
With respect to the quantized image data of FIGS. 5B to 5J, one vertical pixel from FIGS. 5B to 5J is used.
While shifting one horizontal pixel at a time, the twelve (3 *
The detection pattern is compared with the detection pattern including the matrix of the pixel size of 3). At this time, FIGS. 5 (B), (C), (E),
As shown in the matrix part of FIG. 3F, even a single pixel in the matrix of the pixel size of (3 * 3) to be compared is shown in FIG.
In the case where the halftone pixel pattern shown in (G) is included, the process proceeds to detection with the next matrix portion without performing comparison with the twelve types of detection patterns in FIG. That is, FIG.
The image data of (D), (G), (H) to (J) are collated with the detection pattern of FIG.
The center pixel of (3 * 3) is replaced with the smoothed pixel patterns of FIGS.

【0045】図6は、図4の平滑化箇所を検出するため
の(3*3)の画素サイズのマトリクスからなる12種
類の検出パターンで一致を検出した後、マトリクスの中
央部を平滑化された画素に入れ換えるパターンを示す説
明図である。
FIG. 6 shows a state in which the center of the matrix is smoothed after matching is detected with 12 types of detection patterns consisting of a (3 * 3) pixel size matrix for detecting a smoothed portion in FIG. FIG. 4 is an explanatory diagram showing a pattern to be replaced with a pixel.

【0046】図5(D)のマトリクス部と図4(B−
2)の検出パターンの一致を検出すると、(3*3)の
マトリクスの中央部を量子化された図3(A)の画素パ
ターンから図3(N)の平滑化された画素パターンに入
れ換えて図6(B−2)の様にし、次のマトリクス部と
の検出に移る。
The matrix portion shown in FIG. 5D and the matrix portion shown in FIG.
When the coincidence of the detection patterns of 2) is detected, the central part of the (3 * 3) matrix is replaced with the quantized pixel pattern of FIG. 3A and the smoothed pixel pattern of FIG. As shown in FIG. 6B-2, the process proceeds to detection of the next matrix portion.

【0047】図5(G)のマトリクス部と図4(B−
1)の検出パターンの一致を検出すると、(3*3)の
マトリクスの中央部を量子化された図3(A)の画素パ
ターンから図3(N)の平滑化された画素パターンに入
れ換えて図6(B−1)の様にし、次のマトリクス部と
の検出に移る。図5(H)のマトリクス部と図4の検出
パターンの一致は検出されない。
The matrix portion shown in FIG. 5G and the matrix portion shown in FIG.
When the coincidence of the detection patterns of 1) is detected, the central part of the (3 * 3) matrix is replaced with the quantized pixel pattern of FIG. 3A and the smoothed pixel pattern of FIG. As shown in FIG. 6 (B-1), the process proceeds to detection of the next matrix portion. A match between the matrix portion of FIG. 5H and the detection pattern of FIG. 4 is not detected.

【0048】次のマトリクス部との検出に移り図5
(I)のマトリクス部と図4(C−1)の検出パターン
の一致を検出すると、(3*3)のマトリクスの中央部
を量子化された図3(A)の画素パターンから図3
(O)の平滑化された画素パターンに入れ換えて図6
(C−1)の様にし、次のマトリクス部との検出に移
る。図5(J)のマトリクス部と図4の検出パターンの
一致は検出されない。
Moving on to the detection of the next matrix portion, FIG.
When the coincidence between the matrix part of (I) and the detection pattern of FIG. 4C-1 is detected, the center part of the matrix of (3 * 3) is converted from the quantized pixel pattern of FIG.
FIG. 6 is replaced with the smoothed pixel pattern of FIG.
As in (C-1), the process proceeds to the detection of the next matrix portion. Matching between the matrix portion of FIG. 5 (J) and the detection pattern of FIG. 4 is not detected.

【0049】図7は、本発明の第1の実施の形態におけ
る図5の8値に量子化された画像を平滑化した画像を説
明する説明図である。
FIG. 7 is an explanatory view for explaining an image obtained by smoothing the image quantized to eight values in FIG. 5 according to the first embodiment of the present invention.

【0050】図7の画像は、上記の様にして一致を検出
して入れ換えられた図6(B−2)と図6(B−1)と
図6(C−1)のパターンの中央の画素が、(5*5)
のマトリクスの(2,4)と(3,4)と(4,3)の
位置になるようにしたものである。図7から、300*
300dpiの画像データを倍解像度である600*6
00dpi相当の画像とする画素の補間が行われ、輪郭
が補正されていることがわかる。補間対象の画素は、
(3*3)のマトリクスからなる検出パターンの上下、
左右端部を除いた(2,2)の位置に当たり、図5の画
像の(5*5)の画素のうち上下・左右端部を除いた
(3*3)の画素である。
The image shown in FIG. 7 is obtained by replacing the patterns shown in FIGS. 6 (B-2), 6 (B-1), and 6 (C-1), which have been replaced by detecting the coincidence as described above. Pixel is (5 * 5)
At the positions (2, 4), (3, 4) and (4, 3) in the matrix of FIG. From FIG. 7, 300 *
300 dpi image data of 600 * 6 which is double resolution
It can be seen that the interpolation of the pixels as the image equivalent to 00 dpi has been performed and the outline has been corrected. The pixel to be interpolated is
Upper and lower detection patterns consisting of a (3 * 3) matrix,
This corresponds to the position of (2, 2) excluding the left and right ends, and is the (3 * 3) pixel of the (5 * 5) pixels in the image of FIG.

【0051】本実施の形態において、量子化された画素
データと平滑化された画素データを合わせた画素情報を
4ビットで表していたが、6ビット、8ビット等の多ビ
ット数で表してもよいし、1画素のマトリクスを(4*
2)以外にしても構わない。
In this embodiment, the pixel information obtained by combining the quantized pixel data and the smoothed pixel data is represented by 4 bits, but may be represented by a multi-bit number such as 6 bits or 8 bits. OK, and the matrix of one pixel is (4 *
Other than 2) may be used.

【0052】本実施の形態によれば、以上の様な制御を
行うことで補間画素データ(平滑化された画素データ)
を新たに設けることによるメモリの容量の増加によるコ
ストアップおよび処理速度の低下を防ぎ、多階調の入力
画像データを3値以上に量子化することにより、1画素
を着弾位置の異なる複数のドットを使い中間調を表現し
て階調性を向上させることと、画像の輪郭を補正してそ
ののギザギザ感の抑制を両立させることにより、ドット
マトリクス記録方式により高画質を実現する記録装置を
提供することができる。
According to the present embodiment, interpolation pixel data (smoothed pixel data) is obtained by performing the above control.
Is provided, a cost increase and a reduction in processing speed due to an increase in memory capacity due to an increase in memory capacity are prevented, and multi-gradation input image data is quantized into three or more values, so that a plurality of dots having different landing positions for one pixel are formed. Provides a recording device that achieves high image quality by using the dot matrix recording method, by expressing half-tones using the image and improving gradation characteristics, and by correcting the outline of the image and suppressing the jaggedness of the image. can do.

【0053】(第2の実施の形態)ところで、一般文書
の印字比率は記録媒体の記録画素領域のおよそ4から5
%であり、写真などの中間調画像の印字比率はおよそ2
0%程度である。この印字比率のなかで平滑化対象とな
る画素は、文字等の輪郭をなす一部の画素であり、全記
録領域のなかで平滑化の対象となる箇所は極めて少ない
領域でしかない。そこで本実施の形態では、平滑化の対
象とならない領域を一次検出し、この領域については平
滑化を行わないことでさらに効率的に1画素を着弾位置
の異なる複数のドットを使い中間調を表現して階調性を
向上させることと、画像の輪郭を補正してそののギザギ
ザ感の抑制を両立させるための制御を行うようにした。
(Second Embodiment) By the way, the printing ratio of a general document is approximately 4 to 5 of the recording pixel area of the recording medium.
%, And the printing ratio of halftone images such as photographs is about 2
It is about 0%. The pixels to be smoothed in the printing ratio are some pixels forming outlines of characters and the like, and the portion to be smoothed in the entire recording area is only a very small area. Therefore, in the present embodiment, an area that is not to be smoothed is primarily detected, and smoothing is not performed on this area, so that one pixel can be expressed more efficiently using a plurality of dots at different landing positions. Thus, control is performed to achieve both improvement in gradation and correction of the outline of an image to suppress the jaggedness of the image.

【0054】本実施の形態においても、図3の画素パタ
ーンと図4の検出パターンおよび図6の検出後に平滑化
された画素へ入れ換えるパターンを用いて説明する。
Also in the present embodiment, description will be made using the pixel pattern of FIG. 3, the detection pattern of FIG. 4, and the pattern of FIG.

【0055】第1の実施の形態同様、はじめに、多階調
の入力画像データを8値(レベル)のデータに量子化を
行い、図3(A)〜(H)に示す画素パターンで形成さ
れる量子化された画像データに変換する。
As in the first embodiment, first, the input image data of multiple gradations is quantized into eight-level (level) data to form a pixel pattern shown in FIGS. 3A to 3H. To quantized image data.

【0056】図8は、本発明の第1の実施の形態におけ
る多階調の入力画像データが8値に量子化された画像を
説明する説明図である。
FIG. 8 is an explanatory diagram for explaining an image in which multi-gradation input image data is quantized into eight values according to the first embodiment of the present invention.

【0057】この量子化された図8の(7*7)画素の
マトリクスの画像データに対して、左上部(3*3)画
素のマトリクスから右下部(3*3)画素のマトリクス
まで縦1画素、横1画素ずつずらしながら、図4の12
種類の(3*3)の画素サイズのマトリクスからなる検
出パターンと照合して平滑化箇所の検出を行う前に、次
に説明する一次検出を行う。
With respect to the quantized image data of the (7 * 7) pixel matrix of FIG. 8, one vertical matrix from the upper left (3 * 3) pixel matrix to the lower right (3 * 3) pixel matrix is obtained. While shifting the pixel and the horizontal one pixel at a time, 12 in FIG.
Before detecting a smoothed portion by comparing with a detection pattern composed of a matrix of (3 * 3) pixel sizes, primary detection described below is performed.

【0058】図9は、本発明の第2の実施の形態におけ
る画像の輪郭の有無を一次検出するパターンである。本
実施の形態では、平滑化箇所を検出する工程でこのパタ
ーンを用いて検出パターンのマトリクス内に文字等の輪
郭の有無を一次検出することで、格段に検出工程の効率
化を図ったものである。
FIG. 9 shows a pattern for primary detection of the presence or absence of the outline of an image according to the second embodiment of the present invention. In the present embodiment, in the step of detecting a smoothed portion, the pattern is used to primarily detect the presence or absence of an outline of a character or the like in the matrix of the detection pattern, thereby significantly improving the efficiency of the detection step. is there.

【0059】図9(A)のパターンは(3*3)画素の
マトリクスが全部図3(A)のドットがない画素パター
ンからなり、図9(B)のパターンは(3*3)画素の
マトリクスが全部図3(H)の画素パターンからなるも
のである。
In the pattern of FIG. 9A, the matrix of (3 * 3) pixels is entirely a pixel pattern without dots of FIG. 3A, and the pattern of FIG. All the matrices are composed of the pixel patterns shown in FIG.

【0060】まず、図9(A)のドットがないパターン
の照合を優先して図8の量子化された画像と縦1画素、
横1画素ずつずらしながら照合し、続いて図9(B)の
パターンを同様に図8の量子化された画像と照合し一次
検出する。そして、一致を検出すると図4の検出パター
ンとの照合を行わないで、次のマトリクスについて一次
検出を実施する。図9(A)のパターンとの一次検出に
より、図10(A)〜(C)に示す太い枠で囲まれた3
領域が一致を検出され、図9(B)のパターンとの一次
検出により、図10(D)に示す太い枠で囲まれた領域
が一致を検出される。これらの領域はすべてのドットが
ないかすべてのドットがあり文字等の輪郭を含まないの
で、図4の検出パターンとの照合を行わない。
First, giving priority to the collation of the pattern having no dot shown in FIG. 9A, the quantized image shown in FIG.
Matching is performed while shifting one pixel at a time in the horizontal direction, and then the pattern of FIG. 9B is similarly compared with the quantized image of FIG. 8 to perform primary detection. Then, when a match is detected, primary detection is performed for the next matrix without performing comparison with the detection pattern of FIG. By primary detection with the pattern of FIG. 9 (A), 3D surrounded by a thick frame shown in FIGS. 10 (A) to 10 (C).
A match is detected in the area, and the area surrounded by the thick frame shown in FIG. 10D is detected by primary detection with the pattern in FIG. 9B. Since these areas have no dots or all dots and do not include outlines of characters and the like, no comparison with the detection pattern of FIG. 4 is performed.

【0061】一次検出でパターンが一致しないと、後は
第1の実施の形態と同様にマトリクス内に図3(B)〜
(G)に示す中間調の画素パターンの有無を検出し、中
間調の画素パターンが有ると図4の12種類の検出パタ
ーンとの照合を行わないで次のマトリクス部との一次検
出に移る。
If the patterns do not match in the primary detection, then the matrixes shown in FIGS.
The presence / absence of a halftone pixel pattern shown in (G) is detected, and if there is a halftone pixel pattern, the process proceeds to the primary detection with the next matrix unit without performing comparison with the twelve types of detection patterns in FIG.

【0062】中間調の画素パターンが無いと平滑化箇所
の検出を行い、第1の実施の形態と同様に量子化された
画像データと図4の12種類の検出パターンとの照合を
行い、第1の実施の形態と同様に、一致を検出したとき
に(3*3)の中央の画素を図3(I)〜(P)の平滑
化された画素パターンと入れ換える。このように、図8
の8値に量子化された画像について輪郭を含まない領域
を一次検出し、一次検出されない別の領域について第1
の実施の形態と同様の平滑化を行うと、図11の平滑化
した倍解像度の画像が得られる。
If there is no halftone pixel pattern, a smoothed portion is detected, and the quantized image data is compared with the twelve types of detected patterns in FIG. 4 as in the first embodiment. As in the first embodiment, when a match is detected, the center pixel of (3 * 3) is replaced with the smoothed pixel patterns of FIGS. Thus, FIG.
In the image quantized to eight values, a region that does not include an outline is primarily detected, and another region that is not primarily detected is subjected to the first detection.
When the same smoothing as in the embodiment is performed, a smoothed double-resolution image shown in FIG. 11 is obtained.

【0063】以上の様な制御により一次検出を行い、一
致を検出すると図4の検出パターンとの照合を行わない
ようにしたことにより、効率的に平滑化箇所の検出が可
能となり、補間画素データ(平滑化された画素データ)
を新たに設けることによるメモリの容量の増加によるコ
ストアップおよび処理速度の低下を防ぎ、多階調の入力
画像データを3値以上に量子化することにより、1画素
を着弾位置の異なる複数のドットを使い中間調を表現し
て階調性を向上させることと、画像の輪郭を補正してそ
のギザギザ感の抑制を両立させることが出来るため、ド
ットマトリクス記録方式により高速で高画質を実現する
記録装置を提供することができる。
The primary detection is performed by the above-described control, and when the coincidence is detected, the collation with the detection pattern shown in FIG. 4 is not performed. (Smoothed pixel data)
Is provided, a cost increase and a reduction in processing speed due to an increase in memory capacity due to an increase in memory capacity are prevented, and multi-gradation input image data is quantized into three or more values, so that a plurality of dots having different landing positions for one pixel are formed. To achieve high-quality images at high speed with the dot matrix recording method, because it is possible to express halftones using, and to improve the gradation characteristics, and to correct the outline of the image and suppress the jaggedness. An apparatus can be provided.

【0064】(第3の実施の形態)本実施の形態では、
カラーの多階調画像データにおいて平滑化させる画像デ
ータに特定の制限を設けた例について説明する。つま
り、この制限として、平滑化させる画像データを黒文字
だけに限定するものである。黒文字は通常、6ポイント
(2mm)〜24ポイント(8mm)が主に使われ、大
きな文字であっても72ポイント(24mm)程度まで
である。本実施の形態では、黒文字抽出はデータの存在
しないヌルラスタの検出で行う。
(Third Embodiment) In the present embodiment,
An example will be described in which image data to be smoothed in color multi-tone image data has a specific restriction. That is, as this restriction, the image data to be smoothed is limited to only black characters. Normally, 6 points (2 mm) to 24 points (8 mm) are mainly used for black characters, and even large characters are up to about 72 points (24 mm). In the present embodiment, black character extraction is performed by detecting a null raster having no data.

【0065】図12に黒文字検出および印字方法設定シ
ーケンスのフローチャートを示す。
FIG. 12 shows a flowchart of a black character detection and printing method setting sequence.

【0066】まず、ステップS1で量子化された印字デ
ータを読み取り、RAM202等のメモリに一時記憶す
る。メモリは、ブラック、イエロー、マゼンタ、シアン
それぞれ独立に記憶できるようになっているが、メモリ
の容量は抽出する文字の大きさに依存する。たとえば7
2ポイントまで抽出するならば、300dpiで400
ラスタ以上記憶する必要があり、A4縦サイズで考える
と、一色当たり176kバイト程度となる。記録ヘッド
のノズル数に応じて1回の走査で印字できる最大長の複
数倍の容量を持つメモリが好ましい。容量が大きほど、
判別可能な黒文字が大きくなる。黒文字の主流が24ポ
イント以下であり、300dpiで136ラスタ程度の
容量で判別が可能となる。
First, the print data quantized in step S1 is read and temporarily stored in a memory such as the RAM 202. The memory can store black, yellow, magenta, and cyan independently, but the capacity of the memory depends on the size of characters to be extracted. For example, 7
If extracting up to 2 points, 400 at 300 dpi
It is necessary to store more than raster data, and when considering the A4 vertical size, it is about 176 kbytes per color. A memory having a capacity several times the maximum length that can be printed in one scan according to the number of nozzles of the recording head is preferable. The larger the capacity,
The identifiable black characters become larger. The mainstream of black characters is 24 points or less, and discrimination is possible with a capacity of about 136 rasters at 300 dpi.

【0067】ステップS2では、そのラスタに各色デー
タがあるかをカウントする。これは各ラスタの前もしく
は後ろに、そのラスタ内に各色データ毎にデータがある
か否かのビットを立てるようにするためである。これに
よって、そのラスタに存在しているデータがブラックな
のか、カラーなのか、混在なのかが判別できるようにな
る。
In step S2, it is counted whether each color data exists in the raster. This is because a bit is set before or after each raster to determine whether or not there is data for each color data in the raster. This makes it possible to determine whether the data existing in the raster is black, color, or mixed.

【0068】ステップS3では、ヌルラスタが有るかを
検知する。ヌルラスタが無い場合には、画像がつながっ
ている連続データと判断して、ステップS6に進みグラ
フィック印字方法を設定する。本シーケンスは平滑化を
行いたい黒文字を検出するためのものであり、このグラ
フィック印字方法では平滑化を行わない。
In step S3, it is detected whether or not there is a null raster. If there is no null raster, it is determined that the data is continuous data in which images are connected, and the flow advances to step S6 to set a graphic printing method. This sequence is for detecting a black character to be smoothed, and this graphic printing method does not perform smoothing.

【0069】ヌルラスタがある場合には、ステップS4
で次のヌルラスタが有るかを検知する。ここで、次のヌ
ルラスタが無い場合には、判定している範囲内では判断
できないのでステップS6に進みグラフィック印字方法
を設定する。
If there is a null raster, step S4
Detects if there is a next null raster. Here, if there is no next null raster, the determination cannot be made within the determined range, so that the process proceeds to step S6 to set the graphic printing method.

【0070】次のヌルラスタがある場合には、ステップ
S5に進み、検知したヌルラスタ間にカラーデータがあ
るかを判定する。カラーデータがある場合には、テキス
トでないとみなして、ステップS6でグラフィック印字
方法を設定する。
If there is a next null raster, the flow advances to step S5 to determine whether there is color data between the detected null rasters. If there is color data, it is regarded as not text, and a graphic printing method is set in step S6.

【0071】カラーデータが無い場合には黒文字である
とみなして、ステップS7に進んでテキスト印字方法を
設定し、第1または第2の実施の形態の平滑化による印
字を行う。
If there is no color data, it is regarded as a black character, and the flow advances to step S7 to set a text printing method and perform printing by smoothing according to the first or second embodiment.

【0072】グラフィック印字方法またはテキスト印字
方法を設定するとステップS8に進み、印字データがあ
るか否かを判定する。印字データがある場合にはステッ
プS1に戻って、再度黒文字検知および印字方法設定の
シーケンスを繰り返す。また、印字データが無い場合に
は、本シーケンスを終える。
When the graphic printing method or the text printing method is set, the flow advances to step S8 to determine whether or not there is print data. If there is print data, the process returns to step S1, and the sequence of black character detection and printing method setting is repeated again. If there is no print data, this sequence is terminated.

【0073】以上説明してきたように、黒文字抽出をヌ
ルラスタの有無を検知して行い、黒文字、つまり黒テキ
ストであると判断された画像データはに平滑化を行い、
その他の画像データはグラフィック印字方法を設定する
ことで黒テキストは高品位記録が可能となる。また、平
滑化を行うために要する時間は存在する黒のデータ量に
依存するので、平滑化を行う画像データを限定したこと
により、平滑化を行う処理時間を大幅に短縮することが
可能となった。
As described above, black character extraction is performed by detecting the presence or absence of a null raster, and image data determined to be black characters, that is, black text, is smoothed.
By setting a graphic printing method for other image data, black text can be recorded with high quality. Further, since the time required for performing the smoothing depends on the amount of existing black data, the processing time for performing the smoothing can be greatly reduced by limiting the image data to be smoothed. Was.

【0074】なお、本発明は上記の図面に基づいて説明
した各実施の形態に限定されるものではない。
The present invention is not limited to the embodiments described with reference to the drawings.

【0075】[0075]

【発明の効果】以上説明したように本発明によれば、多
階調の画像データを量子化し、量子化された画素パター
ンに変換し、量子化して得た画像の平滑化箇所を検出
し、検出された平滑化箇所の画素を補間して当該量子化
画像の輪郭を補正する際に、記憶手段に記憶された平滑
化用の画素パターンを量子化画像の平滑化箇所の量子化
された画素パターンと入れ換えることで補間を行うの
で、メモリの容量増加に伴うコストアップおよび処理速
度の低下を防止して、階調性を向上させるために多くの
中間調を表現し、さらに画像等の輪郭を補正してそのの
ギザギザ感の抑制を図ることができる特長がある。
As described above, according to the present invention, multi-gradation image data is quantized, converted into a quantized pixel pattern, and a smoothed portion of the quantized image is detected. When the contour of the quantized image is corrected by interpolating the pixel of the detected smoothed portion, the pixel pattern for smoothing stored in the storage unit is replaced with the quantized pixel of the smoothed portion of the quantized image. Interpolation is performed by exchanging patterns, so that it prevents cost increase and processing speed reduction due to increase in memory capacity, expresses many halftones to improve gradation, and further outlines images and the like. There is a feature that correction can be performed to suppress the jaggedness.

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

【図1】本発明を適用したインクジェット記録装置の第
1の実施の形態の主要部の構成を示す斜視図である。
FIG. 1 is a perspective view illustrating a configuration of a main part of a first embodiment of an inkjet recording apparatus to which the present invention has been applied.

【図2】本発明を適用したインクジェット記録装置が備
える制御回路の構成を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a control circuit included in an inkjet recording apparatus to which the present invention has been applied.

【図3】本発明の第1の実施の形態における量子化され
た画素パターンと平滑化させる画素パターンを説明する
説明図である。
FIG. 3 is an explanatory diagram illustrating a quantized pixel pattern and a pixel pattern to be smoothed according to the first embodiment of the present invention.

【図4】本発明の第1の実施の形態における平滑化箇所
を検出するための検出パターンを説明する説明図であ
る。
FIG. 4 is an explanatory diagram illustrating a detection pattern for detecting a smoothed portion according to the first embodiment of the present invention.

【図5】本発明の第1の実施の形態における多階調の入
力画像データが8値に量子化された画像を説明する説明
図である。
FIG. 5 is an explanatory diagram illustrating an image in which multi-gradation input image data is quantized into eight values according to the first embodiment of the present invention.

【図6】図4の検出パターンが一致を検出した後、マト
リクスの中央部を平滑化された画素パターンに入れ換え
るパターンを説明する説明図である。
FIG. 6 is an explanatory diagram for explaining a pattern in which a central portion of a matrix is replaced with a smoothed pixel pattern after detecting a match with the detection pattern of FIG. 4;

【図7】本発明の第1の実施の形態における図5の8値
に量子化された画像を平滑化した画像を説明する説明図
である。
FIG. 7 is an explanatory diagram illustrating an image obtained by smoothing the image quantized to eight values in FIG. 5 according to the first embodiment of the present invention.

【図8】本発明の第2の実施の形態における多階調の入
力画像データが8値に量子化された画像を説明する説明
図である。
FIG. 8 is an explanatory diagram illustrating an image in which multi-gradation input image data is quantized into eight values according to the second embodiment of the present invention.

【図9】本発明の第2の実施の形態における画像の輪郭
の有無を一次検出するパターンを説明する説明図であ
る。
FIG. 9 is an explanatory diagram illustrating a pattern for primary detection of the presence or absence of an outline of an image according to the second embodiment of the present invention.

【図10】図8の画像データと図9の一次検出パターン
が一致する領域を説明する説明図である。
10 is an explanatory diagram illustrating an area where the image data in FIG. 8 and the primary detection pattern in FIG. 9 match.

【図11】本発明の第2の実施の形態における、図8の
8値に量子化された画像を平滑化した画像を説明する説
明図である。
FIG. 11 is an explanatory diagram illustrating an image obtained by smoothing an image quantized to eight values in FIG. 8 according to the second embodiment of the present invention.

【図12】本発明の第3の実施の形態で行われる黒文字
の検知および印字方法を設定するシーケンスを示すフロ
ーチャートである。
FIG. 12 is a flowchart showing a sequence for setting a black character detection and printing method performed in the third embodiment of the present invention.

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

11 インクジェットユニット 12 ガイドシャフト 13 キャリッジ 14 駆動ベルト 15 キャリッジモータ 16 キャップ部 17 排紙ローラ 200 CPU(中央処理装置) 201 ROM 202 RAM 203 画像入力部 304 画像信号処理部 205 メインバスライン 206 操作部 207 回復系制御部 208 回復系モータ 209 ブレード 210 キャップ 211 ポンプ 212 サーミスタ 213 記録ヘッド 213a 発熱素子 214 ヘッド温度制御回路 215 ヘッド駆動制御回路 Reference Signs List 11 inkjet unit 12 guide shaft 13 carriage 14 drive belt 15 carriage motor 16 cap unit 17 paper discharge roller 200 CPU (central processing unit) 201 ROM 202 RAM 203 image input unit 304 image signal processing unit 205 main bus line 206 operating unit 207 recovery System control unit 208 Recovery system motor 209 Blade 210 Cap 211 Pump 212 Thermistor 213 Recording head 213a Heating element 214 Head temperature control circuit 215 Head drive control circuit

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】 多階調の画像データを量子化し、量子化
された画素パターンに変換する量子化ステップと、 量子化して得た画像の平滑化箇所を検出する検出ステッ
プと、 検出された前記平滑化箇所の画素を補間して当該量子化
画像の輪郭を補正する補正ステップとを含む画像記録方
法であって、 前記補正ステップにおいて、前記量子化画像の前記平滑
化箇所の前記量子化された画素パターンを、記憶手段に
記憶された平滑化用の画素パターンと入れ換えることを
特徴とする画像記録方法。
A quantizing step of quantizing the multi-gradation image data and converting it into a quantized pixel pattern; a detecting step of detecting a smoothed portion of the image obtained by the quantization; Correcting the contour of the quantized image by interpolating the pixels of the smoothed portion, wherein in the correcting step, the quantized image of the smoothed portion of the quantized image is quantized. An image recording method, wherein a pixel pattern is replaced with a pixel pattern for smoothing stored in a storage unit.
【請求項2】 前記量子化画像は量子化された画素パタ
ーンで構成されており、前記量子化された画素パターン
と前記平滑化用の画素パターンとが4ビットの画素情報
として記憶され、両画素パターンが(4*2)のマトリ
クスで構成されることを特徴とする請求項1に記載の画
像記録方法。
2. The quantized image is composed of a quantized pixel pattern, and the quantized pixel pattern and the smoothing pixel pattern are stored as 4-bit pixel information. 2. The image recording method according to claim 1, wherein the pattern comprises a (4 * 2) matrix.
【請求項3】 前記検出ステップにおいて、(n*m)
のマトリクス(m、nは3以上の正の整数)の前記量子
化画像のうち(n*m)より小さい(N*M)のマトリ
クスからなる一部の画像と(N*M)のマトリクスの検
出パターンとを照合することで前記平滑化箇所を検出す
ることを特徴とする請求項1に記載の画像記録方法。
3. In the detecting step, (n * m)
(M, n are positive integers of 3 or more) of the above-mentioned quantized images, a part of an image consisting of a matrix of (N * M) smaller than (n * m) and a matrix of (N * M) 2. The image recording method according to claim 1, wherein the smoothed portion is detected by collating with a detection pattern.
【請求項4】 前記一部の画像が中間調を含む場合に
は、前記検出パターンとの照合を行わないことを特徴と
する請求項3に記載の画像記録方法。
4. The image recording method according to claim 3, wherein when the partial image includes a halftone, the comparison with the detection pattern is not performed.
【請求項5】 前記検出パターンの横方向に2から(n
−1)番目、縦方向に2から(m−1)番目の位置の画
素を補間対象とすることを特徴とする請求項3に記載の
画像記録方法。
5. The method according to claim 1, wherein the horizontal direction of the detection pattern is 2 to (n).
The image recording method according to claim 3, wherein a pixel at a (-1) th position and a (m-1) th position in a vertical direction is set as an interpolation target.
【請求項6】 前記検出ステップにおいて、前記量子化
画像のうち輪郭を含まない領域を一次検出し、前記輪郭
を含まない領域とは別の領域について前記検出パターン
との照合を行うことを特徴とする請求項3に記載の画像
記録方法。
6. The detecting step includes: firstly detecting a region not including an outline in the quantized image, and performing matching with the detection pattern for a region different from the region not including the outline. The image recording method according to claim 3, wherein:
【請求項7】 前記一次検出は、ドットがないパターン
と前記量子化画像の一部の画像の照合を優先して行うこ
とを特徴とする請求項6に記載の画像記録方法。
7. The image recording method according to claim 6, wherein the primary detection is performed with priority given to matching of a pattern having no dots with a part of the quantized image.
【請求項8】 多階調の画像データを量子化し、量子化
された画素パターンに変換する量子化ステップと、 量子化して得た画像から黒文字部を検知する黒検知ステ
ップと、 前記黒文字部を検知したときに、前記量子化画像の平滑
化箇所を検出する検出ステップと、 検出された前記平滑化箇所の画素を補間して前記量子化
画像の輪郭を補正する補正ステップとを含む画像記録方
法であって、 前記補正ステップにおいて、前記量子化画像の前記平滑
化箇所の前記量子化された画素パターンを、記憶手段に
記憶された平滑化用の画素パターンと入れ換えることを
特徴とする画像記録方法。
8. A quantization step of quantizing multi-gradation image data and converting the image data into a quantized pixel pattern; a black detection step of detecting a black character portion from an image obtained by the quantization; An image recording method, comprising: a detecting step of detecting a smoothed portion of the quantized image when detected; and a correcting step of interpolating the detected pixel of the smoothed portion to correct the contour of the quantized image. Wherein the correcting step replaces the quantized pixel pattern at the smoothed portion of the quantized image with a smoothing pixel pattern stored in a storage unit. .
【請求項9】 多階調の画像データを量子化し、量子化
された画素パターンに変換する量子化手段と、 量子化して得た画像の平滑化箇所を検出する検出手段
と、 検出された前記平滑化箇所の画素を補間して当該量子化
画像の輪郭を補正する補正手段とを備えた画像記録装置
であって、 前記補正手段により、前記量子化画像の前記平滑化箇所
の前記量子化された画素パターンを、記憶手段に記憶さ
れた平滑化用の画素パターンと入れ換えることを特徴と
する画像記録装置。
9. Quantizing means for quantizing multi-gradation image data and converting it into a quantized pixel pattern; detecting means for detecting a smoothed portion of an image obtained by quantization; Correction means for interpolating the pixel of the smoothed portion and correcting the contour of the quantized image, wherein the correction means performs the quantization of the smoothed portion of the quantized image. An image recording apparatus, wherein the pixel pattern obtained is replaced with a pixel pattern for smoothing stored in a storage unit.
【請求項10】 前記量子化画像は量子化された画素パ
ターンで構成されており、前記量子化された画素パター
ンと前記平滑化用の画素パターンとが4ビットの画素情
報として記憶され、両画素パターンが(4*2)のマト
リクスで構成されることを特徴とする請求項9に記載の
画像記録装置。
10. The quantized image is composed of a quantized pixel pattern, and the quantized pixel pattern and the smoothing pixel pattern are stored as 4-bit pixel information. 10. The image recording apparatus according to claim 9, wherein the pattern is constituted by a (4 * 2) matrix.
【請求項11】 前記検出手段により、(n*m)のマ
トリクス(m、nは3以上の正の整数)の前記量子化画
像のうち(n*m)より小さい(N*M)のマトリクス
からなる一部の画像と(N*M)のマトリクスの検出パ
ターンとを照合することで前記平滑化箇所を検出するこ
とを特徴とする請求項9に記載の画像記録装置。
11. The (N * M) matrix smaller than (n * m) among the (n * m) matrices (m and n are positive integers of 3 or more) by the detection means. The image recording apparatus according to claim 9, wherein the smoothed portion is detected by collating a part of the image composed of the following with a detection pattern of an (N * M) matrix.
【請求項12】 前記一部の画像が中間調を含む場合に
は、前記検出パターンとの照合を行わないことを特徴と
する請求項11に記載の画像記録装置。
12. The image recording apparatus according to claim 11, wherein when the partial image includes a halftone, the comparison with the detection pattern is not performed.
【請求項13】 前記検出パターンの横方向に2から
(n−1)番目、縦方向に2から(m−1)番目の位置
の画素を補間対象とすることを特徴とする請求項11に
記載の画像記録装置。
13. The method according to claim 11, wherein a pixel at a position of 2 to (n-1) th in a horizontal direction and a pixel of 2 to (m-1) th in a vertical direction of the detection pattern is to be interpolated. The image recording apparatus as described in the above.
【請求項14】 前記検出手段により、前記量子化画像
のうち輪郭を含まない領域を一次検出し、前記輪郭を含
まない領域とは別の領域について前記検出パターンとの
照合を行うことを特徴とする請求項11に記載の画像記
録装置。
14. The method according to claim 1, wherein the detecting means firstly detects a region not including the contour in the quantized image, and performs a comparison with the detection pattern for a region different from the region not including the contour. The image recording apparatus according to claim 11, wherein:
【請求項15】 前記一次検出は、ドットがないパター
ンと前記量子化画像の一部の画像の照合を優先して行う
ことを特徴とする請求項14に記載の画像記録装置。
15. The image recording apparatus according to claim 14, wherein the primary detection is performed with priority given to matching of a pattern having no dots with a part of the quantized image.
【請求項16】 多階調の画像データを量子化し、量子
化された画素パターンに変換する量子化手段と、 量子化して得た画像から黒文字部を検知する黒検知手段
と、 前記黒文字部を検知したときに、前記量子化画像の平滑
化箇所を検出する検出手段と、 検出された前記平滑化箇所の画素を補間して前記量子化
画像の輪郭を補正する補正手段とを備えた画像記録装置
であって、 前記補正手段により、前記量子化画像の前記平滑化箇所
の前記量子化された画素パターンを、記憶手段に記憶さ
れた平滑化用の画素パターンと入れ換えることを特徴と
する画像記録装置。
16. A quantization means for quantizing multi-gradation image data and converting it into a quantized pixel pattern; a black detection means for detecting a black character part from the image obtained by the quantization; An image recording apparatus comprising: detecting means for detecting a smoothed portion of the quantized image when detected; and correcting means for correcting the contour of the quantized image by interpolating the detected pixel of the smoothed portion. The apparatus according to claim 1, wherein the correction unit replaces the quantized pixel pattern at the smoothed portion of the quantized image with a pixel pattern for smoothing stored in a storage unit. apparatus.
【請求項17】 熱エネルギによりインクを吐出させる
インクジェット方式の記録ヘッドを用いて記録を行うこ
とを特徴とする請求項9ないし16のいずれかに記載の
画像記録装置。
17. The image recording apparatus according to claim 9, wherein recording is performed using an inkjet recording head that ejects ink by thermal energy.
JP22819096A 1996-08-29 1996-08-29 Image recording method and image recording apparatus Expired - Fee Related JP3507252B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP22819096A JP3507252B2 (en) 1996-08-29 1996-08-29 Image recording method and image recording apparatus
DE69723014T DE69723014D1 (en) 1996-08-29 1997-08-28 Image processing device and method
EP97306598A EP0829818B1 (en) 1996-08-29 1997-08-28 Image processing apparatus and method
US08/920,864 US6061145A (en) 1996-08-29 1997-08-29 Image processing apparatus and method using dot patterns

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22819096A JP3507252B2 (en) 1996-08-29 1996-08-29 Image recording method and image recording apparatus

Publications (2)

Publication Number Publication Date
JPH1067142A true JPH1067142A (en) 1998-03-10
JP3507252B2 JP3507252B2 (en) 2004-03-15

Family

ID=16872627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22819096A Expired - Fee Related JP3507252B2 (en) 1996-08-29 1996-08-29 Image recording method and image recording apparatus

Country Status (1)

Country Link
JP (1) JP3507252B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013537123A (en) * 2010-09-20 2013-09-30 オセ−テクノロジーズ・ベー・ヴエー Asymmetric printing resolution halftone processing method and printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013537123A (en) * 2010-09-20 2013-09-30 オセ−テクノロジーズ・ベー・ヴエー Asymmetric printing resolution halftone processing method and printer

Also Published As

Publication number Publication date
JP3507252B2 (en) 2004-03-15

Similar Documents

Publication Publication Date Title
US5480240A (en) Print quality enhancement method and apparatus
US7219972B2 (en) Print apparatus, method of controlling same and therefor
JP3829508B2 (en) Image processing apparatus, image processing method, and printing apparatus
JP5290614B2 (en) Image forming apparatus, print data generation method, and computer program
US7357473B2 (en) Printer, printer control program, printer control method, print data generating device, print data generating program, and print data generating method
JP2002185789A (en) Image processing unit, print controller, image processing method, and recording medium
US20020039118A1 (en) Ink-jet printing apparatus and method, and computer readable memory
US6467866B1 (en) Print control method and apparatus, and printing apparatus using the same
JP3398301B2 (en) Edge interpolation method and edge interpolation device for image forming apparatus
US7144167B2 (en) Color printing which renders multi tone color input codes to image data with reference to font data
JP4375050B2 (en) An image output system for outputting an image based on information on the number of dots formed in a predetermined area
JP6119322B2 (en) Image data processing apparatus, printing apparatus, and printing system
US6061145A (en) Image processing apparatus and method using dot patterns
US6318830B1 (en) Image printing method, and apparatus thereof
JP2006159810A (en) Printer and image processor for print
JP3507252B2 (en) Image recording method and image recording apparatus
US6411399B1 (en) System for resolution enhancement, such as in a multi-pass ink-jet printer
JP2000118007A (en) Printing apparatus, printing method and recording medium
JP2005224983A (en) Image output system for outputting image according to information on number of dots formed in prescribed area
JP2000071439A (en) Image processor, image processing method and recording medium
JPH10191082A (en) Device and method for processing image
US20130070303A1 (en) Image processing apparatus, method, image forming apparatus, and storage medium
US6231149B1 (en) Method and apparatus for image processing and image forming apparatus
JP4289821B2 (en) Image processing apparatus and method, and program
JP3274297B2 (en) Image recording method and apparatus

Legal Events

Date Code Title Description
A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031218

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

Free format text: PAYMENT UNTIL: 20081226

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081226

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091226

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091226

Year of fee payment: 6

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

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20101226

LAPS Cancellation because of no payment of annual fees