JPH09254424A - Method and apparatus for processing image - Google Patents

Method and apparatus for processing image

Info

Publication number
JPH09254424A
JPH09254424A JP8063492A JP6349296A JPH09254424A JP H09254424 A JPH09254424 A JP H09254424A JP 8063492 A JP8063492 A JP 8063492A JP 6349296 A JP6349296 A JP 6349296A JP H09254424 A JPH09254424 A JP H09254424A
Authority
JP
Japan
Prior art keywords
resolution
gradation
image data
original image
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8063492A
Other languages
Japanese (ja)
Inventor
Haruo Harada
陽雄 原田
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP8063492A priority Critical patent/JPH09254424A/en
Publication of JPH09254424A publication Critical patent/JPH09254424A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve gradation reproducibility and to reproduce characters and edges correctly in multi-gradation printing. SOLUTION: Multi-garadation initial image data inputted externally by an image data input circuit 11 are taken in sequence in an initial image data division circuit 12 while being divided into block units, and the average of the gradation value of each picture element in a block is calculated in an average value operation circuit 13. Next, in a resolution selection circuit 15, by judging whether the average is in a range which is determined for each of resolutions set in advance or not, for the higher average, the higher resolution is selected, and the initial image data in the block is converted into printing data of the selected resolution in a data conversion circuit 16 to be outputted outside from an image data output circuit 19.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、多階調の元画像デ
ータに応じた印字データを作成する画像処理方法及び画
像処理装置に関し、特に、階調再現性を向上させるとと
もに、文字やエッジを正確に再現することができる画像
処理方法および画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and an image processing apparatus for producing print data corresponding to original image data of multiple gradations, and more particularly to improving gradation reproducibility and eliminating characters and edges. The present invention relates to an image processing method and an image processing device that can be accurately reproduced.

【0002】[0002]

【従来の技術】プリンタや複写機による多階調画像の印
字方法としては、例えば、電子写真においては特開平1
−280965号公報等に記載されているパルス幅変調
露光方式が、また、熱転写記録方式においては特公平3
−11274号公報に記載されている副走査方向の分割
印字方式等が挙げられる。
2. Description of the Related Art As a method of printing a multi-gradation image by a printer or a copying machine, for example, in the case of electrophotography, Japanese Patent Laid-Open No. HEI-1
However, the pulse width modulation exposure method described in Japanese Patent Publication No. 280965, etc.
The divided printing method in the sub-scanning direction, which is described in Japanese Patent Laid-Open No. 11274, can be cited.

【0003】図12は、熱転写記録方式による印字にお
いて、副走査分割方式によって多階調を表現した例を示
す図である。図中、破線で示す矩形は1画素の領域を示
し、黒塗りを施した部分は実際に印字されたドットを示
す。この印字方法においては、イメ−ジセンサ等から入
力される元画像デ−タをもとに、各画素の濃度に対応し
て増減する数値の印字デ−タを作成し、主走査方向にラ
イン状に配置した複数の発熱素子1に、前記印字デ−タ
の示す数値に対応するパルスをそれぞれ印加して印字を
行う。発熱素子1は、インクシ−トおよび記録紙または
感熱記録紙上に接しながら図中の画素領域を上から下へ
相対的に移動し、この際、前記パルスが印加されること
によって発熱し、インクシ−トのインクを溶融させて記
録紙に転写し、または感熱記録紙に熱を与えて、対応す
る画素の印字を行う。
FIG. 12 is a diagram showing an example in which multiple gradations are expressed by the sub-scanning division method in printing by the thermal transfer recording method. In the figure, a rectangle indicated by a broken line indicates a 1-pixel region, and a blackened portion indicates an actually printed dot. In this printing method, based on the original image data input from an image sensor or the like, print data of a numerical value that increases or decreases corresponding to the density of each pixel is created, and line-shaped in the main scanning direction. Printing is performed by applying a pulse corresponding to the numerical value indicated by the print data to each of the plurality of heat generating elements 1 arranged in. The heating element 1 relatively moves from the top to the bottom in the pixel area in the drawing while contacting the ink sheet and the recording paper or the thermal recording paper, and at this time, heat is generated by applying the pulse, and the ink sheet The ink is melted and transferred to recording paper, or heat is applied to the thermal recording paper to print the corresponding pixels.

【0004】このとき、低階調部分の印字においては図
12(a)の画素領域右側に示すように少数のパルスを
印加し、一方、高階調部分の印字においては図12
(b)に示すように多数のパルスを印加することによっ
て、印字されるドットの副走査方向の長さが変化する。
従って、入力された元画像デ−タの各画素の階調値に応
じて、対応する発熱素子へ印加するパルス数を変化さ
せ、万線により各画素ごとの印字面積を変化させて多階
調を表現することができる。
At this time, a small number of pulses are applied as shown on the right side of the pixel area in FIG. 12 (a) when printing a low gradation portion, while FIG.
By applying a large number of pulses as shown in (b), the length of the dots to be printed in the sub-scanning direction changes.
Therefore, the number of pulses applied to the corresponding heating element is changed according to the gradation value of each pixel of the input original image data, and the printing area of each pixel is changed by a line to obtain multiple gradations. Can be expressed.

【0005】図13(a)に示す多階調の元画像を、上
記の印字方法によって印字した結果を図13(b)に示
す。元画像は、直交する縦及び横の直線によって形成さ
れる1区画を1画素とし、副走査方向に沿って階調値が
0、32/256、64/256、128/256と上
昇する4段階のグラデーション画像に、文字などを表す
ための階調値1(256/256)のライン部が斜めに
重なっている。図13(b)に示す印字結果は、高階調
値のライン部分は元画像通りに印字されているが、階調
値が0、32/256、64/256のグラデ−ション
部分についてはドットが現れておらず、低階調部の再現
性の低い二値的な印字結果となっている。これは、発熱
素子1が一定数以上のパルス印加を受けなければ(この
例においては、1画素の印字当たり最高256パルスを
印加し、そのうち65パルス以上を印加した場合にのみ
ドットが印字される。)インクの転写に必要な接着力が
得られず、低階調部の印字においては対応する少数のパ
ルスを発熱素子1に印加してもドットが現れないためで
ある。
FIG. 13B shows the result of printing the multi-gradation original image shown in FIG. 13A by the above printing method. In the original image, one section formed by orthogonal vertical and horizontal straight lines is defined as one pixel, and the gradation value increases in the sub-scanning direction to 0, 32/256, 64/256, 128/256 in four stages. In the gradation image of, the line portion of the gradation value 1 (256/256) for representing a character or the like is diagonally overlapped. In the print result shown in FIG. 13B, the high gradation value line portion is printed as in the original image, but dots are generated in the gradation portions with gradation values 0, 32/256, 64/256. It does not appear, and the binary print result has low reproducibility in the low gradation part. This is because if the heating element 1 is not applied with a certain number of pulses or more (in this example, a maximum of 256 pulses are applied per pixel printing, and dots are printed only when 65 pulses or more are applied. This is because the adhesive force required for transferring the ink cannot be obtained, and in printing in the low gradation portion, dots do not appear even if a corresponding small number of pulses are applied to the heating element 1.

【0006】上記問題点に関し、低階調領域のドットや
万線の再現性を向上させ、中階調領域を滑らかに再現す
るために、副走査方向の解像度を低下させる方法が知ら
れている。より低階調部分から滑らかな階調を表現する
ためには、最小ドット面積率を低下させ、再現可能な階
調数を増加させる必要がある。ここで、最小ドット面積
率は、印字単位面積に対する最小ドット面積の割合で表
されるが、最小ドット面積は、発熱素子にパルスを順次
印加していき、インクが安定して転写を始める時の面積
であり、インクの特性や発熱素子の構造等に依存する形
で系に固有に決定される(一定)ので、印字単位面積を
増加させることによって、つまり解像度を低下させるこ
とによって、最小ドット面積率を低下させることができ
る。上記副走査分割方式においては、主走査方向の解像
度は制御できないので、副走査方向の解像度を低下させ
る。
With respect to the above problems, there is known a method of reducing the resolution in the sub-scanning direction in order to improve the reproducibility of dots and lines in the low gradation area and smoothly reproduce the intermediate gradation area. . In order to express a smooth gradation from a lower gradation portion, it is necessary to reduce the minimum dot area ratio and increase the number of reproducible gradations. Here, the minimum dot area ratio is represented by the ratio of the minimum dot area to the print unit area. The minimum dot area is the value when the pulse is sequentially applied to the heating element and the ink starts stable transfer. The area is the area that is uniquely determined (constant) in the system in a manner that depends on the ink characteristics and the structure of the heating element, etc., so by increasing the printing unit area, that is, by decreasing the resolution, the minimum dot area The rate can be reduced. In the sub-scanning division method, the resolution in the main scanning direction cannot be controlled, so that the resolution in the sub-scanning direction is lowered.

【0007】図14は、図13(a)を元画像として、
上記副走査方向の解像度を低下させる方法によって印字
した結果を示す。元画像の副走査方向に連続する4画素
を1印字単位とし、各印字単位の境界がグラデ−ション
の濃度の境界と一致するように配置した。この時、印字
時の副走査方向の解像度は元画像の1/4倍となる。印
字単位内の4画素の元画像デ−タの示す階調値を加算し
た値を、先頭画素から順に割り当てて印字デ−タとし、
各画素に対応する発熱素子へ前記印字デ−タの示す数値
に応じたパルスをそれぞれ印加して印字を行う。
FIG. 14 shows the original image of FIG.
The results of printing by the method of reducing the resolution in the sub-scanning direction are shown below. Four pixels continuous in the sub-scanning direction of the original image are set as one printing unit, and the boundaries of the printing units are arranged so as to coincide with the boundaries of the gradation density. At this time, the resolution in the sub-scanning direction during printing is 1/4 times the resolution of the original image. A value obtained by adding the gradation value indicated by the original image data of 4 pixels in the print unit is sequentially assigned as the print data from the first pixel,
Printing is performed by applying a pulse corresponding to the numerical value indicated by the print data to the heating element corresponding to each pixel.

【0008】[0008]

【発明が解決しようとする課題】上記印字方法によれ
ば、印字デ−タの作成に際して副走査方向の解像度を低
下させ、複数ドットを印字単位として、パルスの印加を
印字単位の先頭画素から集中して行うことによってより
低階調領域からの再現が可能となるので、図14に示す
印字結果は、グラデーション部分については元画像通り
の階調を再現している。しかしながら、ライン部につい
てはその特徴である連続性が失われ、元画像通りに再現
されていない。これは、元画像の全体について副走査方
向の解像度を低下させて印字を行うので、再現可能な階
調数の増加による低階調部の再現性の向上と相反するよ
うに、高階調部における画質の劣化が顕著に現れるため
である。従って、上記のライン部に代表されるような急
激な濃度変化を伴う領域を印字した場合には再現が不正
確になる場合がある。また、急激な濃度変化を伴わない
が濃度の高い領域を印字した場合には、一つ一つのドッ
トサイズが大きいために画素構造が目立ち、ざらつき感
を伴う画像となってしまう。
According to the above-mentioned printing method, the resolution in the sub-scanning direction is lowered when printing data is created, and the application of pulses is concentrated from the first pixel of the printing unit with a plurality of dots as the printing unit. By doing so, it is possible to reproduce from a lower gradation region. Therefore, in the printing result shown in FIG. 14, the gradation part reproduces the gradation as the original image. However, the line portion loses its characteristic continuity and is not reproduced exactly as the original image. This is because printing is performed with the resolution in the sub-scanning direction being reduced for the entire original image, so that in contrast to the improvement in reproducibility of the low gradation part due to the increase in the number of reproducible gradations, in the high gradation part. This is because the deterioration of the image quality is remarkable. Therefore, reproduction may be inaccurate when a region having a rapid density change such as the above line portion is printed. Further, when a high density area is printed without abrupt density change, each dot size is large and the pixel structure is conspicuous, resulting in an image with roughness.

【0009】本発明は上記実情に鑑みてなされたもので
あり、階調再現性を向上させると同時に、文字やエッジ
を正確に再現し、画素構造の目立たない印字画像を得る
ことができる画像処理方法及び画像処理装置を提供する
ものである。
The present invention has been made in view of the above circumstances, and image processing capable of improving gradation reproducibility, accurately reproducing characters and edges, and obtaining a printed image with an inconspicuous pixel structure. A method and an image processing apparatus are provided.

【0010】[0010]

【課題を解決するための手段】上記課題を解決するため
請求項1に係る画像処理方法は、主走査方向にライン状
に配置された複数の発熱素子を印字データにより選択的
に発熱させ、副走査方向の印字面積を調節することによ
り多階調印字を行う際に、多階調の元画像データに応じ
た前記印字データを以下の方法によって作成することを
特徴としている。先ず、2次元の元画像データについ
て、少なくとも副走査方向に連続する複数の画素を含む
複数ブロックに分割する。次に、前記各ブロック内の各
元画像データの示す階調値に基づいて、予め設定された
複数種類の解像度の中から前記各ブロックに対応する印
字データの解像度を選択する。続いて、前記各ブロック
内の元画像データを選択された前記解像度の印字データ
に変換する。
In order to solve the above-mentioned problems, an image processing method according to a first aspect of the present invention is configured such that a plurality of heating elements arranged in a line in the main scanning direction are caused to selectively generate heat by printing data, When performing multi-gradation printing by adjusting the printing area in the scanning direction, the print data corresponding to the multi-gradation original image data is created by the following method. First, the two-dimensional original image data is divided into a plurality of blocks including at least a plurality of pixels continuous in the sub-scanning direction. Next, the resolution of the print data corresponding to each block is selected from a plurality of preset resolutions based on the gradation value indicated by each original image data in each block. Subsequently, the original image data in each block is converted into print data of the selected resolution.

【0011】請求項2に係る画像処理装置は、主走査方
向にライン状に配置された複数の発熱素子を印字データ
により選択的に発熱させ、副走査方向の印字面積を調節
することにより多階調印字を行う際に、多階調の元画像
データに応じた前記印字データを作成する画像処理装置
において、以下の各手段を有することを特徴としてい
る。元画像データ分割手段。この元画像データ分割手段
は、2次元の元画像データについて、少なくとも副走査
方向に連続する複数の画素を含む複数ブロックに分割す
るものである。解像度選択手段。この解像度選択手段
は、前記各ブロック内の各元画像データの示す階調値に
基づいて、予め設定された複数種類の解像度の中から前
記各ブロックに対応する印字データの解像度を選択する
ものである。データ変換手段。このデータ変換手段は、
前記各ブロック内の元画像データを選択された前記解像
度の印字データに変換するものである。
In the image processing apparatus according to the second aspect, a plurality of heating elements arranged in a line in the main scanning direction are selectively caused to generate heat by print data, and the printing area in the sub-scanning direction is adjusted to adjust the multi-story. An image processing apparatus that creates the print data according to the original image data of multiple gradations when performing the tonal printing is characterized by including the following means. Original image data dividing means. The original image data dividing unit divides the two-dimensional original image data into a plurality of blocks including at least a plurality of pixels continuous in the sub-scanning direction. Resolution selection means. The resolution selecting means selects the resolution of the print data corresponding to each block from a plurality of preset resolutions based on the gradation value indicated by each original image data in each block. is there. Data conversion means. This data conversion means
The original image data in each block is converted into print data of the selected resolution.

【0012】上記画像処理方法および画像処理装置によ
れば、各ブロック内の元画像の階調値が示す特徴に応じ
て各ブロック毎に解像度を選択するので、階調再現性が
要求されるブロックについて選択する解像度を、高解像
度が要求されるブロックについて選択する解像度より低
く設定することにより、階調再現性を向上させるととも
に、文字やエッジを正確に再現することができる。
According to the image processing method and the image processing apparatus described above, the resolution is selected for each block according to the characteristic indicated by the gradation value of the original image in each block, so that the block requiring gradation reproducibility By setting the resolution to be selected for the lower than the resolution to be selected for the block requiring high resolution, it is possible to improve the gradation reproducibility and accurately reproduce the characters and edges.

【0013】請求項3に係る画像処理装置は、請求項2
に記載の画像処理装置において、前記解像度選択手段
は、前記ブロック内の各画素の元画像データの示す階調
値の平均値が、前記複数種類の解像度ごとに決められた
範囲内であるかどうかにより、前記平均値が大きくなる
にしたがい解像度が高くなるように前記各ブロックに対
応する印字データの解像度を選択することを特徴として
いる。
An image processing apparatus according to a third aspect is the image processing apparatus according to the second aspect.
In the image processing device according to the item 1, the resolution selecting unit determines whether an average value of gradation values indicated by the original image data of each pixel in the block is within a range determined for each of the plurality of types of resolutions. Thus, the resolution of the print data corresponding to each block is selected so that the resolution increases as the average value increases.

【0014】上記画像処理装置によれば、元画像におけ
る低階調領域の印字時においては、該当ブロックの解像
度を低く選択することによりドット面積率を小さくして
再現可能な階調数を増加させ、低階調からの滑らかな階
調を表現することができる。一方、高階調領域の印字時
においては、該当ブロックの解像度を高く選択すること
によりドット面積の大型化を防いで画素構造を目立たた
なくでき、また、文字やエッジを正確に再現することが
できる。
According to the above image processing apparatus, when printing a low gradation area in the original image, the resolution of the corresponding block is selected to be low to reduce the dot area ratio and increase the number of reproducible gradations. , It is possible to express smooth gradation from low gradation. On the other hand, when printing a high gradation area, by selecting a high resolution for the corresponding block, it is possible to prevent the dot area from increasing and to make the pixel structure inconspicuous, and to accurately reproduce characters and edges. .

【0015】請求項4に係る画像処理装置は、請求項2
に記載の画像処理装置において、前記解像度選択手段
は、前記ブロック内の各画素の元画像データの示す階調
値のばらつき値が、前記複数種類の解像度ごとに決めら
れた範囲内であるかどうかにより、前記ばらつき値が大
きくなるにしたがい解像度が高くなるように前記各ブロ
ックに対応する印字データの解像度を選択することを特
徴としている。
An image processing apparatus according to a fourth aspect is the second aspect.
In the image processing device described in the paragraph 1, the resolution selecting unit determines whether the variation value of the gradation value indicated by the original image data of each pixel in the block is within a range determined for each of the plurality of types of resolutions. Thus, the resolution of the print data corresponding to each block is selected so that the resolution increases as the variation value increases.

【0016】上記画像処理装置によれば、元画像におけ
る等濃度部(濃度変化が小さい領域)の印字時において
は、該当ブロックの解像度を低く選択することによりド
ット面積率を小さくして再現可能な階調数を増加させ、
より滑らかな階調を表現することができる。一方、急激
な濃度変化を伴う領域の印字時においては、該当ブロッ
クの解像度を高く選択することにより文字やエッジを正
確に再現することができる。
According to the above image processing apparatus, when printing the uniform density portion (area where the density change is small) in the original image, it is possible to reproduce by reducing the resolution of the corresponding block to reduce the dot area ratio. Increase the number of gradations,
It is possible to express a smoother gradation. On the other hand, at the time of printing an area accompanied by a sudden change in density, it is possible to accurately reproduce characters and edges by selecting a high resolution for the block.

【0017】[0017]

【発明の実施の形態】以下、本発明に係る画像処理装置
の実施の形態の一例について、図面を参照しながら説明
する。図1は本発明の画像処理装置のブロック図であ
り、図2はこの画像処理装置により作成した印字デ−タ
を用いて印字を行う熱転写記録方式の印字装置を示すも
のである。印字装置は、図2に示すように、サーマルヘ
ッド8と、このサーマルヘッド8を駆動するパルス印加
手段9と、元画像デ−タに応じた印字デ−タを作成して
パルス印加手段9へ出力する画像処理装置10とを有し
ている。サーマルヘッド8上には、パルスを印加するこ
とにより発熱する複数の発熱素子1が配置され、各発熱
素子1は、図面の表裏方向に沿ってライン状となるよう
に離散的に位置している。サ−マルヘッド8とプラテン
ローラー2との間には、記録紙3およびインクシ−ト4
が狭持されており、インクシート4上には熱溶融性イン
ク5が塗布されている。記録紙3とインクシート4は、
図示しない搬送手段によってそれぞれ矢印の方向へ搬送
されており、サ−マルヘッド8及びプラテンローラー2
間を通過後、剥離ローラー6によって離間される。
BEST MODE FOR CARRYING OUT THE INVENTION An example of an embodiment of an image processing apparatus according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an image processing apparatus of the present invention, and FIG. 2 shows a thermal transfer recording type printing apparatus for printing using print data created by this image processing apparatus. As shown in FIG. 2, the printing apparatus prepares a thermal head 8, a pulse applying means 9 for driving the thermal head 8 and print data according to the original image data, and sends it to the pulse applying means 9. The image processing apparatus 10 for outputting. A plurality of heating elements 1 that generate heat when a pulse is applied are arranged on the thermal head 8, and each heating element 1 is discretely positioned so as to form a line along the front-back direction of the drawing. . A recording paper 3 and an ink sheet 4 are provided between the thermal head 8 and the platen roller 2.
And the hot-melt ink 5 is applied onto the ink sheet 4. The recording paper 3 and the ink sheet 4 are
The thermal head 8 and the platen roller 2 are conveyed by the conveying means (not shown) in the directions of the respective arrows.
After passing through the space, they are separated by the peeling roller 6.

【0018】サーマルヘッド8の各発熱素子1は、パル
ス印加手段9からの選択的な通電により発熱する。すな
わち、画像処理装置10において、イメ−ジスキャナ等
から入力される多階調の元画像デ−タに応じた印字デ−
タを作成し、パルス印加手段9において、前記印字デ−
タの示す数値に対応するパルスを発生させて複数の発熱
素子1にそれぞれ印加して選択的に通電発熱させ、前記
各パルス数に対応するサイズの画像部のインク5aが溶
融して記録紙3に接着する潜像形成過程(図2(a))
と、記録紙3に接着した画像部のインク5aが剥離ロ−
ラ−6によってインクシート4から分離される剥離過程
(図2(b))により、画像7を形成している。
Each heating element 1 of the thermal head 8 generates heat when selectively energized by the pulse applying means 9. That is, in the image processing apparatus 10, print data corresponding to multi-tone original image data input from an image scanner or the like.
Data is created, and in the pulse applying means 9, the printing data is printed.
Pulse is generated and applied to each of the plurality of heating elements 1 to selectively energize and generate heat, and the ink 5a of the image portion having a size corresponding to each pulse is melted and the recording paper 3 Image formation process of adhering to the substrate (Fig.
And the ink 5a in the image area adhered to the recording paper 3 is peeled off.
The image 7 is formed by the peeling process (FIG. 2B) where the image 7 is separated from the ink sheet 4 by the liner 6.

【0019】次に、画像処理装置10の構成について説
明する。画像処理装置10は、図1に示すように、画像
デ−タ入力回路11と、元画像デ−タ分割回路12と、
平均値演算回路13と、解像度選択回路15と、デ−タ
変換回路16と、画像デ−タ出力回路19とを具備して
構成される。画像デ−タ入力回路11は、イメ−ジスキ
ャナ等の外部装置より元画像デ−タを入力し、主走査方
向および副走査方向についての複数画素から成る2次元
デ−タとして元画像デ−タを一時的に保持するものであ
る。元画像デ−タ分割回路12は、画像デ−タ入力回路
11からの元画像デ−タを、副走査方向に連続する複数
の画素を1ブロックとするブロック単位に分割し、順次
データとして取り込むものである。平均値演算回路13
は、ブロック内の各画素の元画像デ−タの示す階調値の
平均値を算出するものである。解像度選択回路15は、
前記平均値に応じて各ブロックに対応する印字デ−タの
解像度を選択するものである。デ−タ変換回路16は、
ブロック内の元画像デ−タを前記選択された解像度の印
字デ−タに変換するものであり、画像デ−タ出力回路1
9は、作成した印字デ−タを外部へ出力するものであ
る。
Next, the structure of the image processing apparatus 10 will be described. The image processing apparatus 10, as shown in FIG. 1, includes an image data input circuit 11, an original image data division circuit 12, and
An average value calculation circuit 13, a resolution selection circuit 15, a data conversion circuit 16, and an image data output circuit 19 are provided. The image data input circuit 11 inputs the original image data from an external device such as an image scanner and outputs the original image data as two-dimensional data composed of a plurality of pixels in the main scanning direction and the sub scanning direction. Is temporarily held. The original image data division circuit 12 divides the original image data from the image data input circuit 11 into block units each having a plurality of pixels continuous in the sub-scanning direction as one block, and sequentially captures them as data. It is a thing. Average value calculation circuit 13
Is to calculate the average value of the gradation values indicated by the original image data of each pixel in the block. The resolution selection circuit 15
The resolution of the print data corresponding to each block is selected according to the average value. The data conversion circuit 16 is
The original image data in the block is converted into the print data of the selected resolution, and the image data output circuit 1
Reference numeral 9 is for outputting the created print data to the outside.

【0020】さらにデ−タ変換回路16は、元画像デ−
タを前記選択された解像度のデータに変換する解像度変
換デ−タ生成回路17a,17b,17cと、前記解像
度変換デ−タを印字時の印加パルス数当たりの値に変換
する印字デ−タ生成回路18a,18b,18cとから
構成される。尚、本発明は、副走査分割方式によって多
階調印字を行う際に使用する印字データの作成に関し、
主走査方向の解像度については制御しないので、単に解
像度と記載した箇所は副走査方向の解像度を指す。
Further, the data conversion circuit 16 uses the original image data.
Resolution conversion data generation circuits 17a, 17b, 17c for converting data into the data of the selected resolution, and print data generation for converting the resolution conversion data into a value per applied pulse number at the time of printing. It is composed of circuits 18a, 18b and 18c. The present invention relates to creation of print data used when performing multi-gradation printing by the sub-scanning division method,
Since the resolution in the main scanning direction is not controlled, the portion simply described as the resolution indicates the resolution in the sub scanning direction.

【0021】上記画像処理装置10においては、一ブロ
ック(副走査方向に複数画素)に相当する元画像デ−タ
を取り込み、ブロック内の各画素の示す階調値の平均値
を算出し、この平均値に応じて解像度を選択し、元画像
デ−タを前記選択された解像度に変換するという手順に
よって印字デ−タを作成する。従って、元画像デ−タ分
割回路12においてはブロックサイズが、解像度選択回
路15においては複数の解像度及び平均値の範囲と解像
度との対応が、それぞれ予め設定されている必要があ
り、以下、これらの設定手順について説明する。
In the image processing apparatus 10, the original image data corresponding to one block (a plurality of pixels in the sub-scanning direction) is taken in, and the average value of the gradation values indicated by each pixel in the block is calculated. The print data is created by a procedure in which the resolution is selected according to the average value and the original image data is converted into the selected resolution. Therefore, it is necessary that the block size in the original image data division circuit 12 and the correspondence between the plurality of resolutions and the range of the average value and the resolution in the resolution selection circuit 15 are set in advance. The setting procedure of will be described.

【0022】解像度の設定は、所望の再現可能階調数に
よって左右されるが、再現可能階調数は最小ドット面積
率によって決定されるので、先ず最小ドット面積を決定
する。図3は、図2に示す熱転写記録方式において、記
録紙3およびインクシ−ト4を一定の速度で搬送すると
同時に、発熱素子1へ印加するパルス数を変化させた場
合に、同じパルス数で印字した複数ドットにおける平均
ドット面積と、その複数ドットにおけるドット面積ばら
つきを平均ドット面積で除した値との関係を示す図であ
る。図に示す通り、多数のパルスを印加して面積の大き
いドットを印字した場合、熱溶融性インク5と記録紙3
との接着力が増加し、インク転写が良好に行われ、面積
ばらつきの小さい安定したドットが形成される。逆に、
印加パルス数が減少してドット面積が小さくなるにつれ
て、記録紙表面の凹凸等の影響によりインク転写は不安
定になり、ドット面積ばらつきは非常に大きくなる。こ
こで、印字サンプルの目視評価等により、インクが安定
して転写を始めると認められるドット面積ばらつきの上
限をσmax と規定し、その時の平均ドット面積を図3に
示すように最小ドット面積Aminと決定する。
The setting of the resolution depends on the desired reproducible gradation number. Since the reproducible gradation number is determined by the minimum dot area ratio, the minimum dot area is first determined. In the thermal transfer recording system shown in FIG. 2, when the recording paper 3 and the ink sheet 4 are conveyed at a constant speed and the number of pulses applied to the heating element 1 is changed, the same number of pulses are printed. It is a figure which shows the relationship between the average dot area in the said several dot, and the value which divided the dot area variation in the said several dot by the average dot area. As shown in the figure, when a large number of pulses are applied to print a dot having a large area, the hot-melt ink 5 and the recording paper 3
The adhesive force with the ink is increased, the ink is transferred well, and stable dots with a small area variation are formed. vice versa,
As the number of applied pulses decreases and the dot area decreases, ink transfer becomes unstable due to the effects of irregularities on the surface of the recording paper, and the dot area variation becomes extremely large. Here, the upper limit of the dot area variation at which the ink is recognized to start transferring stably by visual evaluation of the printed sample is defined as σ max, and the average dot area at that time is defined as the minimum dot area A as shown in FIG. Determined as min .

【0023】最小ドット面積Aminが決定されると、解
像度を低下させて印字単位面積を大きくするほど、再現
可能な階調数を増加させることができるので、予め設定
する複数種類の解像度のうち最低解像度を、その時の最
小ドット面積率が、所望の階調数以上の階調数を再現可
能であるように設定する必要がある。以下に、解像度
と、その時の再現可能な階調数との関係を導く。
Once the minimum dot area A min is determined, the number of reproducible gradations can be increased as the resolution is lowered and the printing unit area is increased. It is necessary to set the minimum resolution so that the minimum dot area ratio at that time can reproduce a gradation number equal to or larger than a desired gradation number. The relationship between the resolution and the number of reproducible gradations at that time is derived below.

【0024】ドット面積Aと印字濃度Dの関係は、ドッ
トゲインの影響を考慮したYule-Nielsenの式を用いる
と、以下のように表される。 A=Adot ( 10-D/n−1 ) /( 10-Di/n −1 ) …(1) Adot :印字画素面積 Di :最高濃度 n :定数 この時、DおよびDiは記録紙上でのインク濃度ではな
く、インクのみの濃度である。(1)式において、ドッ
ト面積Aが先程の最小ドット面積Aminのときを第1階
調とし、このときの印字濃度をD1とすると、 Amin =Adot ( 10-D1/n−1 ) /( 10-Di/n −1 ) …(1′) となる。
The relationship between the dot area A and the print density D is expressed as follows by using the Yule-Nielsen equation considering the influence of the dot gain. A = Adot (10 -D / n -1) / (10 -Di / n -1) ... (1) Adot: Print pixel area Di: Maximum density n: Constant At this time, D and Di are inks on the recording paper. It is not the density but the density of the ink only. In the equation (1), when the dot area A is the minimum dot area A min , the first gradation and the print density at this time is D1, A min = Adot (10 −D1 / n −1) / (10 −Di / n −1) ... (1 ′)

【0025】一方、再現可能な階調数Nは以下のように
表される。 N= DP-P/D1 …(2) DP-P :インク濃度ダイナミックレンジ (1′)及び(2)式より、階調数Nは以下のように表
される。 N=− DP-P/nlog(1+(Amin /Adot)(10-Di/n−1)) …(3) ここで、印字画素面積Adot[μm2]は、主走査方向解
像度をRm[dpi](定数)、副走査方向解像度をRs[d
pi]とすると、 Adot =(25400)2/(Rs ・Rm ) …(4) と表される。(3)、(4)式より階調数Nは、 N=− DP-P/nlog(1+Amin ・Rs ・Rm (10-Di/n−1)/(25400)2) …(5) と表される。
On the other hand, the number of reproducible gradations N is expressed as follows. N = D PP / D1 (2) D PP : Ink density dynamic range From the equations (1 ') and (2), the number of gradations N is expressed as follows. N = −D PP / nlog (1+ (A min / Adot) (10 −Di / n −1)) (3) Here, the print pixel area Adot [μm 2 ] has a resolution in the main scanning direction of Rm [dpi ] (Constant), the resolution in the sub-scanning direction is Rs [d
pi], Adot = (25400) 2 / (RsRm) (4) (3), (4) the number of gradations N from equation, N = - D PP / nlog (1 + A min · Rs · Rm (10 -Di / n -1) / (25400) 2) ... (5) Table To be done.

【0026】図4は、(5)式における副走査方向解像
度Rs と、その時の階調数Nの関係を示す図である。解
像度が低くなるにつれて階調数は増加し、この時低階調
部分の再現性も当然向上する。従って、所望の再現階調
数が多いほど、副走査方向解像度Rsを低下させる必要
がある。例えば、図に示すように所望の再現階調数がN
aの場合、副走査方向解像度はRsmin以下にする必要が
ある。実際には、データ変換の効率を考慮して元画像デ
ータの解像度を2の倍数で除した値の解像度を用いる。
ここでは、元画像デ−タの解像度が300dpiである
とすると、300dpi(以後Rs 3とする)、150
dpi(以後Rs 2とする)、75dpi(以後Rs 1
とする)という3つの解像度を設定する。それぞれの解
像度は元画像デ−タの解像度と比較すると、1倍、1/
2倍、1/4倍となる。この時、印字画素サイズ(印字
単位面積)は1画素、2画素、4画素となり、最低解像
度Rs1の時の印字画素サイズである4画素を1ブロッ
クのブロックサイズとする。
FIG. 4 is a diagram showing the relationship between the sub-scanning direction resolution Rs in equation (5) and the number of gradations N at that time. The number of gradations increases as the resolution decreases, and at this time, reproducibility of low gradation parts naturally improves. Therefore, it is necessary to reduce the sub-scanning direction resolution Rs as the desired number of reproduced gradations increases. For example, as shown in FIG.
In the case of a, the resolution in the sub-scanning direction needs to be Rs min or less. In practice, the resolution of the original image data is divided by a multiple of 2 in consideration of the efficiency of data conversion.
Here, assuming that the resolution of the original image data is 300 dpi, 300 dpi (hereinafter referred to as Rs 3), 150
dpi (hereinafter referred to as Rs 2), 75 dpi (hereinafter referred to as Rs 1)
And three resolutions are set. Compared with the resolution of the original image data, each resolution is 1 time, 1 /
2 times and 1/4 times. At this time, the print pixel size (print unit area) is 1 pixel, 2 pixels, and 4 pixels, and 4 pixels, which is the print pixel size at the minimum resolution Rs1, is set as the block size of one block.

【0027】以上の手順により決定した3通りの解像度
Rs1、Rs2、Rs3を解像度選択回路15内へ、ま
た、ブロックサイズ(4画素)を元画像デ−タ分割回路
12内へそれぞれ設定する。
The three resolutions Rs1, Rs2, and Rs3 determined by the above procedure are set in the resolution selection circuit 15, and the block size (4 pixels) is set in the original image data division circuit 12.

【0028】次に、前記各複数の解像度を選択する平均
値の範囲の設定方法を説明する。図5は、元画像デ−タ
の1画素に対する前記各解像度における印字画素サイズ
を示す。ここでは、元画像データの副走査方向に隣接す
る4ドットを一つのブロックとする。図において、最小
ドット面積をAmin、元画像データの1画素面積をAと
すると、各解像度における最小ドット面積率は、解像度
Rs1、Rs2、Rs3のとき、それぞれAmin/4A、A
min/2A、Amin/Aとなる。
Next, a method of setting the range of the average value for selecting each of the plurality of resolutions will be described. FIG. 5 shows the print pixel size at each resolution for one pixel of the original image data. Here, 4 dots adjacent to the original image data in the sub-scanning direction are regarded as one block. In the figure, assuming that the minimum dot area is A min and the one-pixel area of the original image data is A, the minimum dot area ratio at each resolution is A min / 4A, A at resolutions Rs1, Rs2, and Rs3, respectively.
min / 2A and A min / A.

【0029】平均値演算回路13において算出される平
均値が高階調であるほど解像度を高く選択するので、平
均値が最高階調の場合に選択する解像度はRs3とな
る。平均値が最高階調から徐々に低下する場合を考える
と、解像度Rs3を選択して行う印字においては、階調
値Amin/A以下の階調については、発熱素子1へ印加
されるパルス数が不十分でドットとして再現できないの
で、1つ低い解像度Rs2を選択して印字する必要があ
る。平均値がさらに低下してAmin/2A以下となる
と、解像度Rs2を選択して行う印字においては同様に
ドットが再現できないので、1つ低い解像度Rs1を選
択して印字する必要がある。ただし、最低解像度Rs1
を選択する印字においては、ばらつき上限値以下のドッ
トでの印字は行えない。
Since the higher the gradation the average value calculated by the average value calculation circuit 13 is, the higher the resolution is selected, the resolution selected when the average value is the highest gradation is Rs3. Considering the case where the average value gradually decreases from the highest gradation, in the printing performed by selecting the resolution Rs3, the number of pulses applied to the heat generating element 1 is applied to the gradation having the gradation value A min / A or less. Is insufficient and cannot be reproduced as dots. Therefore, it is necessary to select and print one resolution Rs2 lower by one. If the average value further decreases and becomes A min / 2A or less, dots cannot be reproduced similarly in printing by selecting the resolution Rs2. Therefore, it is necessary to select and print one resolution Rs1 lower. However, the minimum resolution Rs1
In the printing for selecting, it is not possible to print with dots below the variation upper limit value.

【0030】上記のように、最低解像度(Rs1)以外
の各解像度(Rs2、Rs3)において、平均値の階調値
がAmin/(印字画素サイズ)以下の場合は1つ低い解
像度を選択することとし、平均値の示す階調値をaとす
ると、その階調域がa=0〜Amin/2Aの場合は解像
度Rs1、a=Amin/2A〜Amin/Aの場合は解像度
Rs2、a=Amin/A〜1の場合は解像度Rs3を選択
するよう設定すれば、連続的な階調を再現できる。この
とき、Aminが閾値となる。
As described above, in each resolution (Rs2, Rs3) other than the lowest resolution (Rs1), when the gradation value of the average value is A min / (print pixel size) or less, the resolution one lower is selected. If the gradation value indicated by the average value is a, the resolution Rs1 is set when the gradation range is a = 0 to A min / 2A, and the resolution Rs2 is set when a = A min / 2A to A min / A. , A = A min / A to 1, if the resolution Rs3 is set to be selected, continuous gradation can be reproduced. At this time, A min becomes the threshold value.

【0031】しかし、最小ドット面積Aminは目視評価
によって面積ばらつきの上限をもとに決定した値であっ
て、この面積に近付くまで発熱素子1への印加パルス数
を減少させるとドット面積のばらつきが顕著になり、階
調値がさらに低下してAmin/(印字画素サイズ)以下
となった場合に、1つ低い解像度を選択して行う印字に
おいては、ドット面積のばらつきが一旦低下する。従っ
て、最小ドット面積Aminを閾値とした場合、滑らかな
階調再現に支障を来すこととなる。そこで、実際にはあ
る程度のマージンを考慮してαAmin(α>1)を閾値
とするのが好ましい。例えば、図3においては2Amin
=3000μm2 を閾値とすれば、Aminを閾値とした
場合と比較して、解像度の変更前後におけるドット面積
のばらつきを十分抑えて、滑らかな階調再現が可能とな
る。
However, the minimum dot area A min is a value determined on the basis of the upper limit of the area variation by visual evaluation, and if the number of pulses applied to the heating element 1 is reduced until it approaches this area, the dot area variation will occur. When the gradation value further decreases and becomes less than A min / (print pixel size), the dot area variation temporarily decreases in printing performed by selecting a resolution one lower. Therefore, when the minimum dot area A min is used as a threshold value, smooth gradation reproduction is hindered. Therefore, in practice, it is preferable to set αA min (α> 1) as the threshold in consideration of some margin. For example, in FIG. 3, 2A min
= 3000 μm 2 is used as the threshold value, compared to the case where A min is used as the threshold value, it is possible to sufficiently suppress the variation in dot area before and after the change of the resolution and realize smooth gradation reproduction.

【0032】上記の通り閾値を2Aminとし、Amin=A
/4の場合、各解像度を選択する平均値aの階調域は、
図6に矢印で示す通り、a=0〜Amin/Aの場合は解
像度Rs1、a=Amin/A〜2Amin/Aの場合は解像
度Rs2、a=2Amin/A〜1の場合は解像度Rs3と
設定する。ただし、最低解像度Rs1を選択して行う印
字においては、ばらつき上限値以下のドットでの印字は
行えない。
The streets threshold above the 2A min, A min = A
In the case of / 4, the gradation range of the average value a for selecting each resolution is
As shown by the arrows in FIG. 6, a = 0~A min / resolution in the case of A Rs1, a = A min / A~2A min / in the case of A resolution Rs2, a = 2A min / For A~1 is The resolution is set to Rs3. However, in the printing performed by selecting the lowest resolution Rs1, it is not possible to print with dots below the variation upper limit value.

【0033】図7は、上記の通り各解像度に対応する平
均値aの範囲を設定した場合の、元画像デ−タとこれに
対応する印字デ−タを示す図である。このとき、元画像
データの階調数が256、最小ドット面積Aminと1画
素の面積Aの比がAmin/A=65/256である。
尚、発熱素子1へ印加する印字時のパルス数を元画像デ
ータの1画素当たり128パルスとする。平均値aの範
囲の閾値は2Amin=130とし、各解像度を選択する
平均値aの階調域は、a=0〜65/256の場合は解
像度Rs1、a=65/256〜130/256の場合
は解像度Rs2、a=130/256〜1の場合は解像
度Rs3となり、この階調域と解像度の対応を解像度選
択回路15へ予め設定する。
FIG. 7 is a diagram showing original image data and print data corresponding thereto when the range of the average value a corresponding to each resolution is set as described above. At this time, the number of gradations of the original image data is 256, and the ratio of the minimum dot area A min to the area A of one pixel is A min / A = 65/256.
The number of pulses applied to the heating element 1 at the time of printing is 128 pulses per pixel of the original image data. The threshold value of the range of the average value a is 2A min = 130, and the gradation range of the average value a for selecting each resolution is resolution Rs1 when a = 0 to 65/256, and a = 65/256 to 130/256. In this case, the resolution is Rs2, and in the case of a = 130/256 to 1, the resolution is Rs3. Correspondence between the gradation range and the resolution is preset in the resolution selection circuit 15.

【0034】図7(a)の場合、ブロック内の各画素の
元画像データの示す階調値は、24/256、32/2
56、48/256、40/256であり、平均値演算
回路13においてこれらの平均値aを算出する。a=3
6/256となり、解像度選択回路15において解像度
との対応を参照することにより、解像度Rs1が選択さ
れる。解像度Rs1のときの印字画素サイズは4画素な
ので、解像度変換デ−タ生成回路17aにおいて、上記
平均値aをそのまま用いて、階調値36/256の4画
素にわたる解像度変換データを得る。続いて、印字デー
タ生成回路18aにおいて、平均値aを4倍した値14
4/256を印字画素単位の先頭画素から順に割り当
て、第1番目の画素の階調値を144/256、第2か
ら第4番目の画素の階調値を0/256とし、さらに、
元画像データの1画素当たり128パルスを入力するた
め、それぞれ128パルス入力当たりの階調値に変換
し、第1番目の画素の階調値を72/128、第2から
第4番目の画素の階調値を0/128とした印字データ
を得る。パルス印加手段9は、この印字デ−タに対応し
たパルスを発生させ、第1番目の画素に対応する発熱素
子1に72回のパルスを印加し、第2から第4番目の画
素に対応する発熱素子1についてはパルスを印加しな
い。
In the case of FIG. 7A, the gradation values indicated by the original image data of each pixel in the block are 24/256 and 32/2.
56, 48/256, 40/256, and the average value calculating circuit 13 calculates the average value a. a = 3
The resolution becomes 6/256, and the resolution Rs1 is selected by referring to the correspondence with the resolution in the resolution selection circuit 15. Since the print pixel size at the resolution Rs1 is 4 pixels, the resolution conversion data generation circuit 17a uses the average value a as it is to obtain the resolution conversion data over 4 pixels of the gradation value 36/256. Then, in the print data generation circuit 18a, a value 14
4/256 is sequentially assigned from the first pixel of the print pixel unit, the gradation value of the first pixel is 144/256, the gradation value of the second to fourth pixels is 0/256, and
Since 128 pulses are input to each pixel of the original image data, the gradation values are converted to 128 pulses per input, and the gradation value of the first pixel is 72/128, and the gradation value of the second to fourth pixels is The print data with the gradation value of 0/128 is obtained. The pulse applying means 9 generates a pulse corresponding to the print data, applies the pulse 72 times to the heating element 1 corresponding to the first pixel, and corresponds to the second to fourth pixels. No pulse is applied to the heating element 1.

【0035】図7(b)の場合、(a)と同様に平均値
演算回路13において平均値aを算出する。a=89/
256となり、解像度選択回路15において同様に解像
度Rs2が選択される。解像度Rs2のときの印字画素サ
イズは2画素なので、解像度変換デ−タ生成回路17b
において、第1および第2番目の画素の階調値の平均値
96/256を算出し、第1および第2番目の2画素に
わたる階調値96/256の解像度変換データを得る。
また、第3および第4番目の画素の階調値の平均値82
/256を算出し、第3および第4番目の2画素にわた
る階調値82/256の解像度変換データを得る。続い
て、印字データ生成回路18bにおいて、第1および第
2番目の画素の平均階調値96/256を2倍した値1
92/256を第1番目の画素の、第3および第4番目
の画素の平均階調値82/256を2倍した値164/
256を第3番目の画素の階調値とし、さらに、それぞ
れ128パルス入力当たりの階調値に変換し、第1から
第4番目の画素の階調値を、96/128、0/12
8、82/128、0/128とした印字デ−タを得
る。
In the case of FIG. 7B, the average value a is calculated in the average value calculation circuit 13 as in the case of FIG. a = 89 /
Then, the resolution Rs2 is similarly selected by the resolution selection circuit 15. Since the print pixel size at the resolution Rs2 is 2 pixels, the resolution conversion data generation circuit 17b
In, the average value 96/256 of the gradation values of the first and second pixels is calculated, and the resolution conversion data of the gradation value 96/256 over the first and second two pixels is obtained.
In addition, the average value 82 of the gradation values of the third and fourth pixels
/ 256 is calculated, and the resolution conversion data of the gradation value 82/256 over the third and fourth two pixels is obtained. Then, in the print data generation circuit 18b, a value 1 obtained by doubling the average gradation value 96/256 of the first and second pixels is obtained.
92/256 is the value 164 / that is obtained by doubling the average gradation value 82/256 of the first and third and fourth pixels.
256 is set as the grayscale value of the third pixel, and further converted into the grayscale value per 128 pulse input, and the grayscale values of the first to fourth pixels are set to 96/128, 0/12.
Print data of 8, 82/128, 0/128 is obtained.

【0036】図7(c)の場合、(a)、(b)と同様
に平均値演算回路13において平均値を算出し、平均値
a=205/256となり、解像度選択回路15におい
て同様に解像度Rs3が選択される。解像度Rs3のとき
の印字画素サイズは1画素なので、解像度変換デ−タ生
成回路17cにおいて元画像デ−タの階調値を解像度変
換デ−タとする。さらに、印字デ−タ生成回路18cに
おいて、前記解像度変換デ−タをそれぞれ128パルス
入力当たりの階調値に変換し、第1から第4番目の画素
の階調値を、113/128、120/128、93/
128、84/128とした印字デ−タを得る。
In the case of FIG. 7C, the average value is calculated in the average value calculation circuit 13 in the same manner as in FIGS. 7A and 7B, and the average value a = 205/256, and the resolution is similarly determined in the resolution selection circuit 15. Rs3 is selected. Since the print pixel size at the resolution Rs3 is 1 pixel, the gradation value of the original image data is used as the resolution conversion data in the resolution conversion data generation circuit 17c. Further, in the print data generation circuit 18c, the resolution conversion data is converted into gradation values per 128 pulse inputs, and the gradation values of the first to fourth pixels are 113/128, 120. / 128, 93 /
Printing data of 128, 84/128 is obtained.

【0037】上記画像処理装置によれば、解像度選択回
路15において元画像データの各ブロックの平均階調値
が高いほど解像度を高く、平均階調値が低いほど解像度
を低く選択することにより、低階調部の再現性を向上さ
せると同時に、高階調部の画素構造を目立たなくでき、
また、文字やエッジを正確に再現することが可能とな
る。
According to the above image processing apparatus, the resolution selection circuit 15 selects a higher resolution as the average gradation value of each block of the original image data is higher, and a lower resolution as the average gradation value is lower. While improving the reproducibility of the gradation part, the pixel structure of the high gradation part can be made inconspicuous,
In addition, it becomes possible to accurately reproduce characters and edges.

【0038】図8は、本発明に係る画像処理装置の実施
の形態の他の例を示すブロック図である。図8において
図1と同一の構成には同一符号を付し説明を省略する。
この画像処理装置10′は、平均値演算回路13に替え
て、ブロック内の各画素の元画像デ−タの示す階調値の
標準偏差を算出する標準偏差演算回路14を備え、ま
た、解像度選択回路15′は、予め設定されている標準
偏差の範囲と解像度との対応を参照して、ブロックに対
応する印字デ−タの解像度を選択する点において、図1
に示す画像処理装置10と相違する。また、解像度変換
デ−タ生成回路17aが、平均値演算回路13において
算出された平均値を使用して解像度変換デ−タを作成す
ることに対し、解像度変換デ−タ生成回路17a′は、
元画像デ−タ分割回路12より転送される各画素の階調
値を用いて解像度変換デ−タを作成する。
FIG. 8 is a block diagram showing another example of the embodiment of the image processing apparatus according to the present invention. 8, the same components as those in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted.
This image processing apparatus 10 'is provided with a standard deviation calculation circuit 14 which replaces the average value calculation circuit 13 and calculates the standard deviation of the gradation values indicated by the original image data of each pixel in the block, and the resolution. 1 in that the selection circuit 15 'selects the resolution of the print data corresponding to the block by referring to the correspondence between the preset standard deviation range and the resolution.
The image processing device 10 shown in FIG. Further, while the resolution conversion data generation circuit 17a uses the average value calculated by the average value calculation circuit 13 to create the resolution conversion data, the resolution conversion data generation circuit 17a '
The resolution conversion data is created using the gradation value of each pixel transferred from the original image data division circuit 12.

【0039】上記の画像処理装置10′においては、ブ
ロックサイズおよび複数の解像度Rs1、Rs2、Rs3
とも画像処理装置10と同じ値に設定し、ブロック内の
各画素の元画像デ−タの示す階調値のばらつき値の範囲
と解像度の対応は以下のように設定する。ばらつき値と
しては、偏差平方和、分散、標準偏差、範囲等を用いる
ことができるが、本例においては以下に示す標準偏差を
用いる。 s=[{Σ(xi−X)2}/n]1/2 …(6) xi:各画素の階調値 X:ブロック内平均階調値 n:ブロック内画素数 ばらつき値の大きい文字およびエッジの解像度を高く、
ばらつき値の小さい等階調部の解像度を低く選択するよ
うに、各解像度を選択する標準偏差sの範囲を、s=0
〜0.1のとき解像度Rs1、s=0.1〜0.2のと
き解像度Rs2、s=0.2〜のとき解像度Rs3とし、
この標準偏差の範囲と解像度の対応を、解像度選択回路
15′へ予め設定する。
In the image processing apparatus 10 ', the block size and the plurality of resolutions Rs1, Rs2, Rs3 are set.
Both are set to the same value as that of the image processing apparatus 10, and the correspondence between the range of the variation value of the gradation value indicated by the original image data of each pixel in the block and the resolution is set as follows. As the variation value, the sum of squared deviations, variances, standard deviations, ranges, and the like can be used. In this example, the standard deviations shown below are used. s = [{Σ (xi−X) 2 } / n] 1/2 (6) xi: gradation value of each pixel X: average gradation value in block n: number of pixels in block Characters with large variation value and High edge resolution,
The range of the standard deviation s for selecting each resolution is s = 0 so that the resolution of the uniform gradation part having a small variation value is selected to be low.
When s is 0.1, the resolution is Rs1, when s is 0.1 to 0.2, the resolution is Rs2, and when s is 0.2, the resolution is Rs3.
The correspondence between the range of the standard deviation and the resolution is preset in the resolution selection circuit 15 '.

【0040】図9は、上記の通り各解像度に対応する標
準偏差sの範囲を設定した場合の、元画像デ−タとこれ
に対応する印字デ−タを示す図である。このとき、元画
像デ−タの階調数が256、最小ドット面積Aminと1
画素の面積Aの比がAmin/A=65/256である。
尚、発熱素子1へ印加する印字時のパルス数を元画像デ
ータの1画素当たり128パルスとする。
FIG. 9 is a diagram showing original image data and print data corresponding thereto when the range of the standard deviation s corresponding to each resolution is set as described above. At this time, the number of gradations of the original image data is 256, and the minimum dot area A min and 1
The ratio of the pixel area A is A min / A = 65/256.
The number of pulses applied to the heating element 1 at the time of printing is 128 pulses per pixel of the original image data.

【0041】図9(a)の場合、ブロック内の各画素の
元画像データの示す階調値は、87/256、89/2
56、95/256、97/256であり、標準偏差演
算回路14においてこれらの標準偏差sを算出する。s
=0.019となり、解像度選択回路15′において解
像度との対応を参照することにより、解像度Rs1が選
択される。解像度Rs1のときの印字画素サイズは4画
素なので、解像度変換デ−タ生成回路17a′におい
て、各画素の平均値を算出し、4画素にわたる階調値9
2/256の解像度変換データを得る。続いて、印字デ
ータ生成回路18aにおいて、前記平均値を4倍した値
368/256を印字画素単位の先頭画素から順に割り
当て、第1から第4番目の画素の階調値を256/25
6、112/256、0/256、0/256とし、さ
らに、それぞれ128パルス入力当たりの階調値に変換
し、第1から第4番目の画素の階調値をそれぞれ、12
8/128、56/128、0/128、0/128と
した印字デ−タを得る。パルス印加手段9は、この印字
デ−タに対応したパルスを発生させ、第1および第2番
目の画素に対応する発熱素子1に、それぞれ128回、
56回のパルスを印加し、第3および第4番目の画素に
対応する発熱素子1についてはパルスを印加しない。
In the case of FIG. 9A, the gradation values indicated by the original image data of each pixel in the block are 87/256 and 89/2.
56, 95/256, 97/256, and the standard deviation calculation circuit 14 calculates these standard deviations s. s
Therefore, the resolution Rs1 is selected by referring to the correspondence with the resolution in the resolution selection circuit 15 '. Since the print pixel size at the resolution Rs1 is 4 pixels, the average value of each pixel is calculated in the resolution conversion data generation circuit 17a 'and the gradation value 9 over 4 pixels is calculated.
Obtain resolution conversion data of 2/256. Subsequently, in the print data generation circuit 18a, a value 368/256 obtained by multiplying the average value by 4 is sequentially assigned from the first pixel of the print pixel unit, and the gradation values of the first to fourth pixels are set to 256/25.
6, 112/256, 0/256, 0/256, and further converted into gradation values per 128 pulse input, and the gradation values of the first to fourth pixels are respectively 12
Print data of 8/128, 56/128, 0/128, 0/128 is obtained. The pulse applying means 9 generates a pulse corresponding to the print data, and the heat generating element 1 corresponding to the first and second pixels is 128 times, respectively.
The pulse is applied 56 times, and no pulse is applied to the heating elements 1 corresponding to the third and fourth pixels.

【0042】図9(b)の場合、(a)と同様に標準偏
差演算回路14において標準偏差sを算出する。s=
0.14となり、解像度選択回路15′において同様に
解像度Rs2が選択される。解像度Rs2のときの印字画
素サイズは2画素なので、解像度変換デ−タ生成回路1
7bにおいて、第1および第2番目の画素の階調値の平
均値42/256を算出し、第1および第2番目の2画
素にわたる階調値42/256の解像度変換データとす
る。また、第3および第4番目の画素の階調値の平均値
94/256を算出し、第3および第4番目の2画素に
わたる階調値94/256の解像度変換データとする。
続いて、印字データ生成回路18bにおいて、第1およ
び第2番目の画素の平均階調値を2倍した値84/25
6を第1番目の画素の、第3および第4番目の画素の平
均階調値を2倍した値188/256を第3番目の画素
の階調値とし、さらに、それぞれ128パルス入力当た
りの階調値に変換し、第1から第4番目の画素の階調値
を、42/128、0/128、94/128、0/1
28とした印字デ−タを得る。
In the case of FIG. 9B, the standard deviation calculating circuit 14 calculates the standard deviation s as in the case of FIG. 9A. s =
The value becomes 0.14, and the resolution Rs2 is similarly selected by the resolution selection circuit 15 '. Since the print pixel size at the resolution Rs2 is 2 pixels, the resolution conversion data generation circuit 1
In 7b, the average value 42/256 of the gradation values of the first and second pixels is calculated and used as the resolution conversion data of the gradation value 42/256 over the first and second two pixels. Further, the average value 94/256 of the gradation values of the third and fourth pixels is calculated and used as the resolution conversion data of the gradation value 94/256 over the second pixels of the third and fourth pixels.
Subsequently, in the print data generation circuit 18b, a value 84/25 obtained by doubling the average gradation value of the first and second pixels
6 is the value 188/256 obtained by doubling the average gradation value of the third and fourth pixels of the first pixel, and the gradation value of the third pixel is 188/256. Converted to gradation values, the gradation values of the first to fourth pixels are changed to 42/128, 0/128, 94/128, 0/1.
The printing data of 28 is obtained.

【0043】図9(c)の場合、(a)、(b)と同様
に標準偏差演算回路14において標準偏差sを算出し、
s=0.41となり、解像度選択回路15′において同
様に解像度Rs3が選択される。解像度Rs3のときの印
字画素サイズは1画素なので、解像度変換デ−タ生成回
路17cにおいて元画像デ−タの階調値を解像度変換デ
−タとする。さらに、印字デ−タ生成回路18cにおい
て、前記解像度変換デ−タをそれぞれ128パルス入力
当たりの階調値に変換し、第1から第4番目の画素の階
調値を、23/128、128/128、128/12
8、128/128とした印字デ−タを得る。
In the case of FIG. 9 (c), the standard deviation s is calculated in the standard deviation calculation circuit 14 as in (a) and (b),
Since s = 0.41, the resolution Rs3 is similarly selected by the resolution selection circuit 15 '. Since the print pixel size at the resolution Rs3 is 1 pixel, the gradation value of the original image data is used as the resolution conversion data in the resolution conversion data generation circuit 17c. Further, in the print data generating circuit 18c, the resolution conversion data is converted into the gradation value per 128 pulse input, and the gradation values of the first to fourth pixels are changed to 23/128, 128. / 128, 128/12
Print data of 8, 128/128 is obtained.

【0044】上記画像処理装置によれば、解像度選択回
路15′において元画像データの各ブロックの階調値の
ばらつき値が高いほど解像度を高く、ばらつき値が低い
ほど解像度を低く選択することにより、文字やエッジを
正確に再現することができると同時に、等濃度部分(濃
度変化が小さい領域)においては滑らかな階調を再現す
ることが可能となる。
According to the above image processing apparatus, the resolution selecting circuit 15 'selects the higher resolution as the variation value of the gradation value of each block of the original image data is higher, and selects the lower resolution as the variation value is lower. Characters and edges can be accurately reproduced, and at the same time, smooth gradation can be reproduced in the equal density portion (area where density change is small).

【0045】上述した各例の画像処理装置においては、
副走査方向に連続する4画素を一ブロックのブロックサ
イズとしたが、例えば主走査方向に2画素と副走査方向
に連続する4画素とから成る8画素分を一ブロックのブ
ロックサイズとして、各ブロックに対応する印字データ
の解像度を選択し、元画像データを選択された解像度の
印字データに変換する画像処理を行ってもよく、一ブロ
ックを構成する画素は少なくとも副走査方向に連続する
複数画像を含むものであれば、副走査方向における低階
調部の再現性の向上等を図ることができる。
In the image processing apparatus of each example described above,
Four pixels continuous in the sub-scanning direction are set as the block size of one block. However, for example, eight pixels each including two pixels in the main scanning direction and four continuous pixels in the sub-scanning direction are set as the block size of each block. The image processing may be performed in which the resolution of the print data corresponding to is selected and the original image data is converted into print data of the selected resolution, and the pixels forming one block form a plurality of images that are continuous in at least the sub-scanning direction. If included, it is possible to improve the reproducibility of the low gradation portion in the sub-scanning direction.

【0046】[0046]

【実施例】次に、本発明の画像処理装置の一実施例につ
いて、図10及び図11を参照して説明する。図10
は、実施例に係る画像処理装置のブロック図である。図
10において、図1および図8と同一の構成には同一符
号を付し説明を省略する。この画像処理装置10″は、
元画像デ−タ分割回路12から平均値演算回路13およ
び標準偏差演算回路14に対して、ブロック内の各画素
の元画像デ−タの示す階調値を同時に転送し、両演算回
路による演算結果は、解像度選択回路15″へ同時に転
送される。解像度選択回路15″は、平均値aおよび標
準偏差sの範囲の組合わせによって対応する解像度を選
択するよう設定されている。ここでは、標準偏差sが大
きい場合は標準偏差sを、標準偏差sが小さい場合は平
均値aを優先して解像度を選択する。
Next, an embodiment of the image processing apparatus of the present invention will be described with reference to FIGS. FIG.
FIG. 3 is a block diagram of an image processing apparatus according to an embodiment. 10, the same components as those in FIGS. 1 and 8 are designated by the same reference numerals and the description thereof will be omitted. This image processing device 10 ″ is
The original image data division circuit 12 simultaneously transfers the gradation value indicated by the original image data of each pixel in the block to the average value operation circuit 13 and the standard deviation operation circuit 14, and the operation by both operation circuits is performed. The results are simultaneously transferred to the resolution selection circuit 15 ″. The resolution selection circuit 15 ″ is set to select the corresponding resolution by the combination of the range of the average value a and the standard deviation s. Here, when the standard deviation s is large, the standard deviation s is selected, and when the standard deviation s is small, the average value a is prioritized to select the resolution.

【0047】図11は、図10に示す画像処理装置1
0″によって作成した印字デ−タを用いて行った印字結
果を示す図であり、元画像は図13(a)を使用した。
ここで、元画像デ−タの階調数は256、最小ドット面
積Aminと元画像の1画素面積Aとの比はAmin/A=6
5/256である。ブロックサイズは4画素とし、各ブ
ロックは元画像の副走査方向に隣接する4画素を、グラ
デ−ション部の境界とブロックの境界が一致するように
配置した。解像度選択回路15″において予め設定する
解像度は、上記説明と同様のRs1〜Rs3とし、また、
平均値aおよび標準偏差sと解像度との対応について
は、s≧0.2の場合はaの値に拘らず解像度Rs3を
選択し、0≦s<0.2の場合は、a=0〜65/25
6であれば解像度Rs1、a=65/256〜130/
256であれば解像度Rs2、a=130/256〜1
であれば解像度Rs3を選択するよう設定した。
FIG. 11 shows the image processing apparatus 1 shown in FIG.
It is a figure which shows the printing result performed using the printing data produced by 0 ″, and used the original image of FIG. 13 (a).
Here, the number of gradations of the original image data is 256, and the ratio between the minimum dot area A min and the one pixel area A of the original image is A min / A = 6.
It is 5/256. The block size was set to 4 pixels, and in each block, 4 pixels adjacent to each other in the sub-scanning direction of the original image were arranged so that the boundary of the gradation part and the boundary of the block coincided with each other. The resolution preset in the resolution selection circuit 15 ″ is Rs1 to Rs3 similar to the above description, and
Regarding the correspondence between the average value a and the standard deviation s and the resolution, the resolution Rs3 is selected regardless of the value of a when s ≧ 0.2, and a = 0 to 0 when 0 ≦ s <0.2. 65/25
If 6, the resolution Rs1, a = 65/256 to 130 /
If 256, resolution Rs2, a = 130 / 256-1
Then, the resolution Rs3 is set to be selected.

【0048】ライン部を含むブロックについては、何れ
もs≧0.2となるので解像度Rs3を選択し、それ以
外のブロックについては何れもs=0となるので、階調
値の平均値が低いほど低解像度を選択して印字を行う。
従って、図11に示す印字結果は、ライン部については
元画像通り正確に再現し、一方、グラデーション部分に
ついては、32/256階調から階調値に応じた面積率
のドットを印字しており、低階調部分からの滑らかな階
調を再現している。
Since the resolution Rs3 is selected for s ≧ 0.2 for all blocks including the line portion and s = 0 for all other blocks, the average value of gradation values is low. A lower resolution is selected to print.
Therefore, in the printing result shown in FIG. 11, the line portion is reproduced exactly as the original image, while the gradation portion is printed with dots having the area ratio from 32/256 gradation to the gradation value. , It reproduces smooth gradation from the low gradation part.

【0049】上記画像処理装置によれば、ブロック内の
元画像の平均階調値およびばらつき値による解像度の選
択を組合わせ、ばらつき値が一定以上であれば平均階調
値に拘らず高解像度を選択し、ばらつき値が一定以下で
あれば平均階調値が低いほど低解像度を選択し、前記選
択した解像度の印字デ−タを作成することができる。こ
の印字デ−タを用いて印字を行うことにより、急激な濃
度変化を伴う文字やエッジについては元画像通り正確に
再現できる。また、濃度変化が緩やかな部分について
は、低階調部においては滑らかな階調を再現でき、高階
調部においては画素構造を目立たなくできる。
According to the above image processing apparatus, the selection of the resolution based on the average gradation value and the dispersion value of the original image in the block is combined, and if the dispersion value is equal to or more than a certain value, a high resolution is obtained regardless of the average gradation value. If the variation value is less than a certain value and the average gradation value is lower, the lower resolution is selected, and the print data of the selected resolution can be created. By performing printing using this print data, it is possible to accurately reproduce the characters and edges that are accompanied by a sudden change in density as the original image. Further, in the part where the density change is gentle, a smooth gradation can be reproduced in the low gradation part, and the pixel structure can be made inconspicuous in the high gradation part.

【0050】[0050]

【発明の効果】本発明により作成した印字デ−タを用い
た印字によれば、元画像の各ブロックにおける階調値が
示す特徴に応じて各ブロック毎に解像度を選択すること
により、再現性に優れた印字画像を得ることができる。
例えば解像度選択手段により、元画像の各ブロックの平
均階調値が高いほど解像度を高く、平均階調値が低いほ
ど解像度を低く選択することにより、低階調部の再現性
を向上させると同時に、高階調部の画素構造を目立たな
くでき、また、文字やエッジを正確に再現することがで
きる。また、解像度選択手段により、元画像の各ブロッ
クの階調値のばらつき値が高いほど解像度を高く、ばら
つき値が低いほど解像度を低く選択することにより、文
字やエッジを正確に再現することができると同時に、等
濃度部分(濃度変化が小さい領域)においては滑らかな
階調を再現することができる。さらに、元画像の各ブロ
ックの平均階調値及びばらつき値による解像度の選択を
組合わせることにより、階調再現性及び解像度を両立さ
せた優れた印字結果を得ることができる。
According to the printing using the printing data created according to the present invention, the reproducibility can be improved by selecting the resolution for each block according to the characteristics indicated by the gradation value in each block of the original image. An excellent printed image can be obtained.
For example, the resolution selecting unit selects a higher resolution as the average gradation value of each block of the original image is higher, and a lower resolution as the average gradation value is lower, thereby improving the reproducibility of the low gradation portion and at the same time. The pixel structure of the high gradation part can be made inconspicuous, and characters and edges can be accurately reproduced. Further, the resolution selecting unit selects a higher resolution as the variation value of the gradation value of each block of the original image is higher, and a lower resolution as the variation value is lower, whereby the character or the edge can be accurately reproduced. At the same time, a smooth gradation can be reproduced in the equal density portion (area where the density change is small). Furthermore, by combining the selection of the resolution based on the average gradation value and the variation value of each block of the original image, it is possible to obtain an excellent printing result that is compatible with the gradation reproducibility and the resolution.

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

【図1】 本発明に係る画像処理装置のブロック図であ
る。
FIG. 1 is a block diagram of an image processing apparatus according to the present invention.

【図2】 (a),(b)は熱転写記録方式の印字装置
を示す構成説明図である。
2A and 2B are configuration explanatory views showing a thermal transfer recording type printer.

【図3】 平均ドット面積とドット面積ばらつき率の関
係を示す図である。
FIG. 3 is a diagram showing a relationship between an average dot area and a dot area variation rate.

【図4】 副走査方向解像度と再現階調数の関係を示す
図である。
FIG. 4 is a diagram showing the relationship between sub-scanning direction resolution and the number of reproduced gradations.

【図5】 本発明の画像処理方法において設定する解像
度と印字画素サイズの関係を示す図である。
FIG. 5 is a diagram showing a relationship between a resolution and a print pixel size set in the image processing method of the present invention.

【図6】 各解像度に対応する平均値の階調域を示す図
である。
FIG. 6 is a diagram showing a gradation range of an average value corresponding to each resolution.

【図7】 (a),(b),(c)は平均値によって解
像度を選択する場合の印字デ−タの作成例を示す図であ
る。
FIGS. 7A, 7B, and 7C are diagrams showing an example of creating print data when the resolution is selected based on an average value.

【図8】 本発明に係る画像処理装置のブロック図であ
る。
FIG. 8 is a block diagram of an image processing apparatus according to the present invention.

【図9】 (a),(b),(c)はばらつき値によっ
て解像度を選択する場合の印字デ−タの作成例を示す図
である。
9A, 9B, and 9C are diagrams showing an example of creating print data when a resolution is selected according to a variation value.

【図10】 本発明に係る画像処理装置のブロック図で
ある。
FIG. 10 is a block diagram of an image processing apparatus according to the present invention.

【図11】 本発明の画像処理装置により作成した印字
デ−タを用いた印字結果を示す図である。
FIG. 11 is a diagram showing a print result using print data created by the image processing apparatus of the present invention.

【図12】 (a),(b)は副走査分割方式による多
階調の表現例を示す図である。
12A and 12B are diagrams showing an example of representation of multi-gradation by the sub-scan division method.

【図13】 従来の画像処理方法により作成した印字デ
−タを用いた印字結果を示す図であり、(a)は元画
像、(b)は印字結果である。
FIG. 13 is a diagram showing a print result using print data created by a conventional image processing method, in which (a) is an original image and (b) is a print result.

【図14】 従来の画像処理方法により作成した印字デ
−タを用いた印字結果を示す図である。
FIG. 14 is a diagram showing a print result using print data created by a conventional image processing method.

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

1…発熱素子、 2…プラテンロ−ラ−、 3…記録
紙、 4…インクシ−ト、 5…熱溶融性インク、 6
…剥離ロ−ラ−、 7…画像、 8…サ−マルヘッド、
9…パルス印加手段、 10,10′,10″…画像
処理装置、 11…画像デ−タ入力回路、 12…元画
像デ−タ分割回路、 13…平均値演算回路、 14…
標準偏差演算回路、 15,15′,15″…解像度選
択回路、16,16′…デ−タ変換回路、 17a,1
7a′,17b,17c…解像度変換デ−タ生成回路、
18a,18b,18c…印字デ−タ生成回路、 1
9…画像デ−タ出力回路
DESCRIPTION OF SYMBOLS 1 ... Heating element, 2 ... Platen roller, 3 ... Recording paper, 4 ... Ink sheet, 5 ... Thermal melting ink, 6
... peeling roller, 7 ... image, 8 ... thermal head,
9 ... Pulse applying means, 10, 10 ', 10 "... Image processing device, 11 ... Image data input circuit, 12 ... Original image data division circuit, 13 ... Average value calculation circuit, 14 ...
Standard deviation calculation circuit, 15, 15 ', 15 "... Resolution selection circuit, 16, 16' ... Data conversion circuit, 17a, 1
7a ', 17b, 17c ... Resolution conversion data generation circuit,
18a, 18b, 18c ... Print data generation circuit, 1
9 ... Image data output circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】主走査方向にライン状に配置された複数の
発熱素子を印字データにより選択的に発熱させ、副走査
方向の印字面積を調節することにより多階調印字を行う
際に、多階調の元画像データに応じた前記印字データを
作成する画像処理方法において、 2次元の元画像データについて、少なくとも副走査方向
に連続する複数の画素を含む複数ブロックに分割し、 前記各ブロック内の各元画像データの示す階調値に基づ
いて、予め設定された複数種類の解像度の中から前記各
ブロックに対応する印字データの解像度を選択し、 前記各ブロック内の元画像データを選択された前記解像
度の印字データに変換することを特徴とする画像処理方
法。
1. A plurality of heating elements arranged in a line in the main scanning direction are selectively caused to generate heat by print data, and a printing area in the sub scanning direction is adjusted to perform multi-gradation printing. In the image processing method for creating the print data according to the original image data of gradation, the two-dimensional original image data is divided into a plurality of blocks including at least a plurality of pixels continuous in the sub-scanning direction, Of the original image data, the resolution of the print data corresponding to each of the blocks is selected from a plurality of preset resolutions, and the original image data in each of the blocks is selected. And an image processing method, wherein the image data is converted into print data having the above resolution.
【請求項2】主走査方向にライン状に配置された複数の
発熱素子を印字データにより選択的に発熱させ、副走査
方向の印字面積を調節することにより多階調印字を行う
際に、多階調の元画像データに応じた前記印字データを
作成する画像処理装置において、 2次元の元画像データについて、少なくとも副走査方向
に連続する複数の画素を含む複数ブロックに分割する元
画像データ分割手段と、 前記各ブロック内の各元画像データの示す階調値に基づ
いて、予め設定された複数種類の解像度の中から前記各
ブロックに対応する印字データの解像度を選択する解像
度選択手段と、 前記各ブロック内の元画像データを選択された前記解像
度の印字データに変換するデータ変換手段と、を有する
ことを特徴とする画像処理装置。
2. A plurality of heating elements arranged in a line in the main scanning direction are selectively caused to generate heat by print data, and a printing area in the sub scanning direction is adjusted to perform multi-gradation printing. In the image processing apparatus for creating the print data according to the original image data of gradation, the original image data dividing means for dividing the two-dimensional original image data into a plurality of blocks including at least a plurality of pixels continuous in the sub-scanning direction. A resolution selecting unit that selects the resolution of the print data corresponding to each block from a plurality of preset resolutions based on the gradation value indicated by each original image data in each block, An image processing device, comprising: data conversion means for converting original image data in each block into print data of the selected resolution.
【請求項3】前記解像度選択手段は、前記ブロック内の
各画素の元画像データの示す階調値の平均値が、前記複
数種類の解像度ごとに決められた範囲内であるかどうか
により、前記平均値が大きくなるにしたがい解像度が高
くなるように前記各ブロックに対応する印字データの解
像度を選択する請求項2に記載の画像処理装置。
3. The resolution selecting means determines whether the average value of the gradation values indicated by the original image data of each pixel in the block is within a range determined for each of the plurality of types of resolutions. The image processing apparatus according to claim 2, wherein the resolution of the print data corresponding to each of the blocks is selected so that the resolution increases as the average value increases.
【請求項4】前記解像度選択手段は、前記ブロック内の
各画素の元画像データの示す階調値のばらつき値が、前
記複数種類の解像度ごとに決められた範囲内であるかど
うかにより、前記ばらつき値が大きくなるにしたがい解
像度が高くなるように前記各ブロックに対応する印字デ
ータの解像度を選択する請求項2に記載の画像処理装
置。
4. The resolution selecting means determines whether the variation value of the gradation value indicated by the original image data of each pixel in the block is within a range determined for each of the plurality of types of resolutions. The image processing apparatus according to claim 2, wherein the resolution of the print data corresponding to each block is selected so that the resolution increases as the variation value increases.
JP8063492A 1996-03-19 1996-03-19 Method and apparatus for processing image Pending JPH09254424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8063492A JPH09254424A (en) 1996-03-19 1996-03-19 Method and apparatus for processing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8063492A JPH09254424A (en) 1996-03-19 1996-03-19 Method and apparatus for processing image

Publications (1)

Publication Number Publication Date
JPH09254424A true JPH09254424A (en) 1997-09-30

Family

ID=13230809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8063492A Pending JPH09254424A (en) 1996-03-19 1996-03-19 Method and apparatus for processing image

Country Status (1)

Country Link
JP (1) JPH09254424A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7268919B2 (en) 2002-01-17 2007-09-11 Seiko Epson Corporation Image data processing apparatus, method, and program that diffuses gradiation error for each pixel in target block
JP2010274517A (en) * 2009-05-28 2010-12-09 Brother Ind Ltd Printer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7268919B2 (en) 2002-01-17 2007-09-11 Seiko Epson Corporation Image data processing apparatus, method, and program that diffuses gradiation error for each pixel in target block
JP2010274517A (en) * 2009-05-28 2010-12-09 Brother Ind Ltd Printer

Similar Documents

Publication Publication Date Title
JP6566052B2 (en) Dynamic printing system compensation mechanism
EP1343305A1 (en) Imaging apparatus and imaging method
JPS6030265A (en) Thermal half-tone recording method
JP2004531129A (en) Error diffusion method and system using intermediate dots
US7315398B2 (en) Multi-level error diffusion with color image data
US6608700B1 (en) Removal of error diffusion artifacts with alternating distribution weights
JPH09254424A (en) Method and apparatus for processing image
JP3152799B2 (en) Thermal recording method
JP2839006B2 (en) Image output device
JP4208420B2 (en) Inkjet printing method
JP3495406B2 (en) Image forming device
US6982814B1 (en) Image printing devices with AM/FM half-toning with self-determination of dot size and method of implementing same
JP5834672B2 (en) Image processing apparatus, image processing method, image forming apparatus, program, and recording medium
JPS62260476A (en) Gradation printer
JP3329078B2 (en) Thermal transfer recording device
US6356360B1 (en) Apparatus and method for rendering halftone dot structures using grey level dots
JPH0720199B2 (en) Image processing device
JP2002103691A (en) Gray scale reproducing method and gray scale reproduction image
JPH10336449A (en) Method and system for minimizing artificial product at switching between half tone dots on scanning line
JP3489288B2 (en) Image processing method and image processing apparatus
JPS62145966A (en) Method and apparatus for forming picture
JP3094540B2 (en) Thermal transfer type image forming device
JP4156190B2 (en) Image recording method and apparatus
JPH08118703A (en) Heat transfer recording method and recording apparatus
JPS6393272A (en) Gradation recording device