JP2003230003A - Method for generating bit map - Google Patents

Method for generating bit map

Info

Publication number
JP2003230003A
JP2003230003A JP2002361327A JP2002361327A JP2003230003A JP 2003230003 A JP2003230003 A JP 2003230003A JP 2002361327 A JP2002361327 A JP 2002361327A JP 2002361327 A JP2002361327 A JP 2002361327A JP 2003230003 A JP2003230003 A JP 2003230003A
Authority
JP
Japan
Prior art keywords
edge
edges
bitmap
pixels
detecting
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
JP2002361327A
Other languages
Japanese (ja)
Inventor
Katsuaki Nagata
勝明 永田
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.)
Naltec Inc
Original Assignee
Naltec 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 Naltec Inc filed Critical Naltec Inc
Priority to JP2002361327A priority Critical patent/JP2003230003A/en
Publication of JP2003230003A publication Critical patent/JP2003230003A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for converting a low resolution image into a high resolution image with high quality. <P>SOLUTION: In the case of deploying an original bit map into a bit map 2 with high resolution, two sets of 3 lines adjacent to each other in a direction Y are scanned in a direction X to detect first and second edges E3, E4, and edges E27 to E29 extended in the direction Y are used to interpolate the lines. Thus, it is possible to reproduce triangles formed by tying particular edges of the original bit map by a straight line on the bit map with high resolution and smoother interpolation can be attained in a short period of time without using a lookup table. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像を表示または
印刷する際に、オリジナルの画像が持つ解像度よりも高
い解像度に変換する方法および装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for converting an image to a resolution higher than that of the original image when displaying or printing the image.

【0002】[0002]

【従来の技術】プリンタなどにおいては、画像を印刷す
る際に、オリジナルの画像を形成する画素が2次元に配
列されたビットマップを、解像度の大きなビットマップ
に変換して印刷し、その際に、ビットマップ中の画素パ
ターンのコーナ部分をよりスムーズな表現にすることに
より、印刷される画像の品質を向上しているものがあ
る。
2. Description of the Related Art In a printer or the like, when printing an image, a bitmap in which pixels forming an original image are two-dimensionally arranged is converted into a bitmap having a large resolution and printed. In some cases, the quality of the printed image is improved by making the corner portion of the pixel pattern in the bitmap smoother.

【0003】コーナ部分をスムージングする方法は、特
開平7−283946号あるいは特開平7−28869
3号などに開示されている。従来の方法は、ビットマッ
プからコーナ部分の画素パターンを検出し、その画素パ
ターンを予め用意されたルックアップテーブルのスムー
ジングされた画素パターンと置き換えるものである。ま
た、2つのオリジナルの画素列の平均値を、これら2つ
のオリジナルの画素列の間に挿入してスムージングする
方法も知られている。
A method for smoothing a corner portion is disclosed in JP-A-7-283946 or JP-A-7-28869.
No. 3, etc. The conventional method is to detect a pixel pattern of a corner portion from a bitmap and replace the pixel pattern with a smoothed pixel pattern of a look-up table prepared in advance. A method is also known in which the average value of two original pixel rows is inserted between these two original pixel rows to perform smoothing.

【0004】[0004]

【発明が解決しようとする課題】まず、2つのオリジナ
ルの画素列の平均値を挿入してスムージングする方法
は、処理が簡単であり、ルックアップテーブルを用意す
る必要もないので、手軽に導入することができる。しか
しながら、この方法では、コーナ部分をスムージングす
るために、コーナ部分に集中して画素が配置されるため
に段差がかえって目立ちやすくなる。その結果、オリジ
ナルの画像において、斜めの輪郭を表すために複数の段
差が断続して形成された部分が波打った状態となり、解
像度を上げることによって直線的な輪郭が損なわれると
いう問題がある。
First, the method of inserting the average value of two original pixel columns and performing smoothing is simple in processing and does not require the preparation of a lookup table. Therefore, it can be introduced easily. be able to. However, according to this method, since the corners are smoothed, the pixels are concentrated in the corners, so that the steps are rather conspicuous. As a result, in the original image, a portion where a plurality of steps are intermittently formed in order to represent an oblique contour is in a wavy state, and there is a problem that the linear contour is damaged by increasing the resolution.

【0005】ルックアップテーブルを用いてスムージン
グする方法は、スムージングするために配置される画素
がコーナ部分に集中しないような画素パターンを予め用
意することにより、上記の方法よりも滑らかな輪郭を得
ることが可能となる。たとえば、上述した特開平7−2
83946号および特開平7−288693号において
は、コーナ部分に画素を追加して埋めるだけでなく、切
り取ることによって白/黒のバランスにも配慮しながら
スムージングしている。しかしながら、ルックアップテ
ーブルを検索するので、処理時間がかかる。また、ルッ
クアップテーブルを予め生成するのも容易な作業ではな
い。さらに、ルックアップテーブルとして予め用意でき
る画素パターンは限られるので、補正できるコーナ部分
の範囲も限られる。したがって、短周期の凹凸は極めて
良好に補正できる可能性があるが、長周期の凹凸の補正
能力はない。このため、上述したような、オリジナルの
画像において、斜めの輪郭を表すために複数の段差が断
続して形成された部分があると、やはり解像度を上げる
ことにより波打った状態となり、直線的な輪郭が損なわ
れるという問題が発生する。
The smoothing method using the look-up table obtains a smoother contour than that of the above method by preparing in advance a pixel pattern in which pixels arranged for smoothing are not concentrated in a corner portion. Is possible. For example, the above-mentioned Japanese Patent Laid-Open No. 7-2
In Japanese Patent No. 83946 and Japanese Patent Laid-Open No. 7-288693, not only pixels are added to fill the corners but also the pixels are cut off to smooth the white / black balance. However, since the lookup table is searched, the processing time is long. Further, it is not easy to generate the lookup table in advance. Further, since the pixel patterns that can be prepared in advance as the look-up table are limited, the range of the corner portion that can be corrected is also limited. Therefore, there is a possibility that the short-period unevenness can be corrected very well, but there is no ability to correct the long-period unevenness. For this reason, as described above, in the original image, if there is a portion where a plurality of steps are intermittently formed in order to express an oblique contour, the resolution is increased to cause a wavy state, and a linear shape is obtained. The problem that the contour is lost occurs.

【0006】そこで、本発明においては、ルックアップ
テーブルを用いずにスムージングを行うことができ、さ
らに、長周期の凹凸も良好にスムージングすることがで
きる方法および装置を提供することを目的としている。
そして、オリジナルの画像において、斜めの輪郭を表す
ために複数の段差が断続して形成された部分の解像度を
上げるときに、直線的な輪郭を損なうことなくスムージ
ングすることができる方法および装置を提供することを
目的としている。
Therefore, it is an object of the present invention to provide a method and an apparatus which can perform smoothing without using a look-up table and can also smoothly smooth long-period irregularities.
Further, there is provided a method and an apparatus capable of smoothing without impairing a linear contour when increasing the resolution of a portion where a plurality of steps are intermittently formed in order to express an oblique contour in an original image. The purpose is to do.

【0007】[0007]

【課題を解決するための手段】このため、本発明におい
ては、コーナあるいは段差を画素で埋めたり、削ったり
してスムージングするのではなく、隣接あるいは並んで
現れるコーナ、すなわち、オリジナルのビットマップの
ある方向に並んで現れるエッジに着目し、解像度を上げ
る際に、これらのエッジの間を補間するように新たなエ
ッジを配置することによりスムージングしている。すな
わち、本発明の、画像を形成する複数の画素が2次元に
配列された第1のビットマップから、第1の方向の解像
度を上げた第2のビットマップを作成する方法は、第1
のビットマップから、第1の方向と直交する第2の方向
に現れる第1および第2のエッジを検出する第1の検出
工程と、これら第1および第2のエッジの間が補間でき
るときは、第1および第2のエッジにそれぞれ対応する
第2のビットマップの第3および第4のエッジの間に、
これら第3および第4のエッジを補間するように第1の
方向に伸びたエッジを追加する第1の追加工程とを有す
る。
Therefore, in the present invention, corners or steps are not filled with pixels or removed by smoothing, but corners appearing adjacently or side by side, that is, in the original bitmap Focusing on the edges that appear side by side in a certain direction, when increasing the resolution, smoothing is performed by arranging new edges so as to interpolate between these edges. That is, according to the first method of the present invention, the second bitmap with the increased resolution in the first direction is created from the first bitmap in which a plurality of pixels forming an image are two-dimensionally arranged.
A first detection step of detecting first and second edges appearing in a second direction orthogonal to the first direction from the bitmap of, and interpolation between these first and second edges is possible. , Between the third and fourth edges of the second bitmap corresponding to the first and second edges, respectively,
A first addition step of adding edges extending in the first direction so as to interpolate these third and fourth edges.

【0008】本発明のビットマップの作成方法である
と、第1および第2のエッジが検出されればスムージン
グができるので、ルックアップテーブルは不要である。
したがって、スムージングする範囲は予め定められた領
域に限定されることはなく、長周期の凹凸もスムージン
グできる。さらに、第2のビットマップの第3および第
4のエッジの間に、これら第3および第4のエッジを補
間するエッジを追加することにより、いずれかのエッジ
に集中して画素が配置されることも防止できる。したが
って、斜めの輪郭を表すために複数の段差が断続して形
成された部分の解像度を上げるときに、直線的な輪郭を
損なうことなくスムージングできる。
According to the method of creating a bitmap of the present invention, smoothing can be performed if the first and second edges are detected, so a look-up table is unnecessary.
Therefore, the smoothing range is not limited to a predetermined region, and long-period unevenness can be smoothed. Furthermore, by adding an edge that interpolates the third and fourth edges between the third and fourth edges of the second bitmap, pixels are arranged at any of the edges in a concentrated manner. Can also be prevented. Therefore, when increasing the resolution of a portion formed by intermittently forming a plurality of steps to represent an oblique contour, smoothing can be performed without impairing the linear contour.

【0009】また、本発明のビットマップの作成方法で
あると、予めルックアップテーブルを作成する作業は不
要であり、また、ルックアップテーブルが不要なので、
ルップアップテーブルではカバーできないような範囲の
倍率で拡大したり、解像度を上げたりすることができ
る。したがって、本発明のビットマップ作成方法は、フ
レキシブルな倍率で画像を拡大することが可能であり、
拡大された、あるいは解像度が上がったスムーズな画像
を出力することができる。
Further, according to the bitmap creating method of the present invention, the work of creating the lookup table in advance is unnecessary, and since the lookup table is not required,
You can increase the resolution by increasing the magnification in a range that cannot be covered by the look-up table. Therefore, the bitmap creation method of the present invention is capable of enlarging an image with a flexible magnification,
It is possible to output a smooth image with an enlarged or higher resolution.

【0010】本発明のビットマップの作成方法は、上記
の検出工程と追加工程を実行可能な命令を有するプログ
ラムにより実行することができる。そして、このプログ
ラムは適当な記録媒体に記録したり、ネットワークを経
由して提供することが可能である。また、第1のビット
マップから、解像度を上げる第1の方向と直交する第2
の方向に並んで現れる第1および第2のエッジを第1の
検出手段と、第1および第2のエッジにそれぞれ対応す
る第2のビットマップの第3および第4のエッジの間
に、これら第3および第4のエッジを補間するように第
1の方向に伸びたエッジを追加する第1の追加手段とし
ての機能が専用回路、ハードウェアロジックなどに実現
されたビットマップ作成装置により、本発明の作成方法
に従って、第1のビットマップから、第1の方向の解像
度を上げた第2のビットマップを作成することができ
る。
The method of creating a bitmap according to the present invention can be executed by a program having an instruction capable of executing the above-mentioned detecting step and additional step. Then, this program can be recorded in an appropriate recording medium or provided via a network. Also, from the first bitmap, a second direction orthogonal to the first direction for increasing the resolution can be obtained.
The first and second edges appearing side by side in the direction between the first detecting means and the third and fourth edges of the second bitmap respectively corresponding to the first and second edges. With the bitmap creation device in which the function as the first addition means for adding the edge extending in the first direction so as to interpolate the third and fourth edges is realized by a dedicated circuit, hardware logic, etc. According to the creating method of the invention, it is possible to create a second bitmap having an increased resolution in the first direction from the first bitmap.

【0011】スムージングは、第1のビットマップにお
いて量子化により1画素分だけ増減したエッジに対して
行うことが望ましく、2画素分以上、増減しているエッ
ジについてはスムージングを行わずにオリジナルの画像
のエッジ形状を残すことが望ましい。したがって、第1
の検出工程では、第1の方向に隣接する3つの画素を第
1の方向と直交する第2の方向に走査することにより、
解像度を上げたときに間隔を開けて並んで現れることに
なる第1および第2のエッジを検出することが可能であ
る。
It is desirable that the smoothing is performed on an edge which is increased / decreased by one pixel by quantization in the first bit map, and an edge which is increased / decreased by 2 pixels or more is smoothed and the original image is not processed. It is desirable to leave the edge shape of. Therefore, the first
In the detection step of, by scanning three pixels adjacent to each other in the first direction in the second direction orthogonal to the first direction,
It is possible to detect the first and second edges that will appear side by side with increasing resolution.

【0012】第1の検出工程では、第1の方向に隣接す
る3つの画素の中央をエッジ検出ラインとしたときに、
そのエッジ検出ラインの画素がオフからオンに変わる場
合は、3つの画素の組合せが「オフ−オフ−オフ」(モ
ノクロであれば、「白−白−白」となる)から「オフ−
オフ−オン(白−白−黒)」または「オン−オフ−オフ
(黒−白−白)」に変化した後の位置を第1のエッジと
し、その後、「オフ−オン−オン(白−黒−黒)」また
は「オン−オン−オフ(黒−黒−白)」に変化した後の
位置を第2のエッジとすることができる。また、エッジ
検出ラインの画素がオンからオフに変わる場合は、3つ
の画素の組合せが「オン−オン−オフ(黒−黒−白)」
から「オン−オフ−オフ(黒−白−白)」または「オフ
−オン−オン(白−黒−黒)」から「オフ−オフ−オン
(白−白−黒)」に変化した変化前の位置を第1のエッ
ジとし、その後、「オフ−オフ−オフ(白−白−白)」
に変化した変化前の位置を第2のエッジとすることがで
きる。そして、さらに、第1および第2のエッジの間
に、第1のエッジの変化後のパターンまたは第2のエッ
ジのパターン以外のものが検出されないときに、第1お
よび第2のエッジを並んで現れたエッジとして有効とし
て補正する。
In the first detection step, when the center of three pixels adjacent in the first direction is the edge detection line,
When the pixel of the edge detection line changes from off to on, the combination of three pixels changes from “off-off-off” (in white and black, “white-white-white”) to “off-
The position after changing to “off-on (white-white-black)” or “on-off-off (black-white-white)” is defined as the first edge, and then “off-on-on (white-white)”. The position after changing to “black-black)” or “on-on-off (black-black-white)” can be the second edge. When the pixel on the edge detection line changes from on to off, the combination of three pixels is “on-on-off (black-black-white)”.
From "ON-OFF-OFF (black-white-white)" or "OFF-ON-ON (white-black-black)" to "OFF-OFF-ON (white-white-black)" before change Position as the first edge, then "off-off-off (white-white-white)"
The position before the change that has changed to can be set as the second edge. Further, when no pattern other than the pattern after the change of the first edge or the pattern of the second edge is detected between the first and second edges, the first and second edges are arranged side by side. Correct as an edge that appears.

【0013】さらに、この作成方法では画素を追加する
ことによりスムージングを行う。したがって、白/黒の
バランスを著しく不均一にしないように、第1の追加工
程では、第3および第4のエッジを結ぶ直線を超えない
範囲でエッジを追加することが望ましい。
Further, in this creating method, smoothing is performed by adding pixels. Therefore, in order not to make the white / black balance extremely non-uniform, it is desirable to add the edges in the range that does not exceed the straight line connecting the third and fourth edges in the first addition step.

【0014】また、第2のビットマップが、第1の方向
と直交する第2の方向の解像度も向上するときは、第2
の方向についても上記と同様にスムージングすることが
可能である。すなわち、第1のビットマップから、第1
の方向に並んで現れる第5および第6のエッジを検出す
る第2の検出工程と、第5および第6のエッジにそれぞ
れ対応する第2のビットマップの第7および第8のエッ
ジの間に、これら第7および第8のエッジを補間するよ
うに第2の方向に伸びたエッジを追加する第2の追加工
程とをさらに設けることが可能である。
When the second bit map also improves the resolution in the second direction orthogonal to the first direction, the second bit map is used.
Also in the direction of, smoothing can be performed in the same manner as described above. That is, from the first bitmap, the first
Between the second detection step of detecting the fifth and sixth edges appearing side by side in the direction of and the seventh and eighth edges of the second bitmap corresponding to the fifth and sixth edges, respectively. And a second additional step of adding an edge extending in the second direction so as to interpolate these seventh and eighth edges.

【0015】第1の方向に走査する際も、同様に、第3
および第4のエッジを検出することができる。すなわ
ち、第2の検出工程では、第2の方向に隣接する3つの
画素の中央をエッジ検出ラインとしたときに、そのエッ
ジ検出ラインの画素がオフからオンに変わる場合は、3
つの画素の組合せが「オフ−オフ−オフ」から「オフ−
オフ−オン」または「オン−オフ−オフ」に変化した後
の位置を第5のエッジとし、その後、「オフ−オン−オ
ン」または「オン−オン−オフ」に変化した後の位置を
第6のエッジとし、エッジ検出ラインの画素がオンから
オフに変わる場合は、3つの画素の組合せが「オン−オ
ン−オフ」から「オン−オフ−オフ」または「オフ−オ
ン−オン」から「オフ−オフ−オン」に変化した変化前
の位置を第5のエッジとし、その後、「オフ−オフ−オ
フ」に変化した変化前の位置を第6のエッジとし、さら
に、第5および第6のエッジの間に、第5のエッジの変
化後のパターンまたは第6のエッジのパターン以外のも
のが検出されないときに、第5および第6のエッジが並
んで現れたものとして有効とする。さらに、第2の追加
工程では、第7および第8のエッジを結ぶ直線を超えな
い範囲のエッジを追加する。
Similarly, when scanning in the first direction, the third
And the fourth edge can be detected. That is, in the second detection step, when the pixel of the edge detection line changes from OFF to ON when the center of three pixels adjacent in the second direction is the edge detection line, 3
The combination of two pixels changes from "OFF-OFF-OFF" to "OFF-
The position after changing to “off-on” or “on-off-off” is defined as the fifth edge, and the position after changing to “off-on-on” or “on-on-off” is defined as the fifth edge. When the number of edges is 6, and the pixels on the edge detection line change from on to off, combinations of three pixels are changed from "on-on-off" to "on-off-off" or "off-on-on" to " The position before change changed to “off-off-on” is defined as a fifth edge, and the position before change changed to “off-off-off” is defined as a sixth edge, and further, the fifth and sixth When no pattern other than the pattern after the change of the fifth edge or the pattern of the sixth edge is detected between the edges of, the fifth and sixth edges are considered to have appeared side by side and are valid. Further, in the second addition step, the edges in the range not exceeding the straight line connecting the seventh and eighth edges are added.

【0016】これらの本発明にかかるビットマップ作成
方法は、先に説明したように、プログラムとして提供す
ることも可能であり、専用のチップとして提供すること
も可能である。
As described above, the bitmap creating method according to the present invention can be provided as a program, or can be provided as a dedicated chip.

【0017】[0017]

【発明の実施の形態】以下に図面を参照しながら、本発
明についてさらに説明する。図1に、オリジナルのビッ
トマップ(第1のビットマップ)の例を示してある。こ
のビットマップ1は、5行9列(5×9)のビットマッ
プであり、黒色のドットにより、図面上の左側から4つ
のエッジE1、E2、E3およびE4を備えた画像11
が描かれている。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be further described below with reference to the drawings. FIG. 1 shows an example of an original bitmap (first bitmap). This bitmap 1 is a 5 × 9 (5 × 9) bitmap, and an image 11 having four edges E1, E2, E3, and E4 from the left side of the drawing due to black dots.
Is drawn.

【0018】図2に示したビットマップ8は、オリジナ
ルのビットマップ1の解像度を行方向Xに4倍、列方向
Yに4倍にしたビットマップの例であり、エッジE1〜
E4のうち、エッジE2〜E4の各々によって形成され
るコーナに、2つのオリジナルの画素列の平均値を挿入
してスムージングしている。エッジE1はコーナを形成
するエッジか不明であるためにスムージングされていな
い。したがって、エッジE4の左側には、コーナC4を
埋めるためにエッジE4の半分の高さのエッジE84が
形成され、エッジE3の左側には、コーナC3を埋める
ためにエッジE3の半分の高さのエッジE83が形成さ
れ、エッジE2の左側には、コーナC2を埋めるために
エッジE2の半分の高さのエッジE82が形成されてい
る。
The bitmap 8 shown in FIG. 2 is an example of a bitmap in which the resolution of the original bitmap 1 is quadrupled in the row direction X and quadrupled in the column direction Y.
Of E4, smoothing is performed by inserting the average value of two original pixel rows into the corner formed by each of the edges E2 to E4. The edge E1 is not smoothed because it is unknown whether the edge E1 forms a corner. Therefore, on the left side of the edge E4, an edge E84 having a half height of the edge E4 is formed to fill the corner C4, and on the left side of the edge E3, a half height of the edge E3 is filled to fill the corner C3. An edge E83 is formed, and an edge E82 that is half the height of the edge E2 is formed on the left side of the edge E2 to fill the corner C2.

【0019】これらのエッジE82〜E84により、コ
ーナC2〜C4が埋まっているので、エッジE2〜E4
の近傍はスムージングされており、オリジナルのビット
マップ1の画像11に対してはエッジE2〜E4は強調
されなくなっている。しかしながら、エッジE2〜E4
の近傍だけに画素(ドットあるいはピクセル)が追加さ
れているので、エッジE2〜E4は依然として明らかで
あり、これら3つのエッジE2〜E4が強調された画像
であることに変わりはない。逆に、エッジE2〜E4の
近傍だけが斜めになっている印象となり、このビットマ
ップ8では、輪郭の曲率が細かく変動して輪郭が波打っ
た印象の画像81が印刷される。
Since the corners C2 to C4 are filled with these edges E82 to E84, the edges E2 to E4 are
The vicinity of is smoothed, and edges E2 to E4 are not emphasized with respect to the image 11 of the original bitmap 1. However, the edges E2-E4
Since the pixels (dots or pixels) are added only in the vicinity of, the edges E2 to E4 are still clear, and these three edges E2 to E4 are still the emphasized image. On the contrary, the image has an impression that only the vicinity of the edges E2 to E4 is slanted, and the bitmap 81 prints an image 81 of an impression in which the contour curvature is finely changed and the contour is wavy.

【0020】図3に示したビットマップ9も、オリジナ
ルのビットマップ1の解像度を行方向Xに4倍、列方向
Yに4倍にしたビットマップの例である。このビットマ
ップ9では、ルックアップテーブルを用いて、コーナに
ドットを追加して埋めるだけでなく、エッジを切り取る
ことによって白/黒のバランスにも配慮しながらスムー
ジングしている。したがって、エッジE4を形成する3
つのドットは削られ、コーナC4には3つのドットで埋
められており、オリジナルの画像11のコーナC4から
エッジE4の部分は、ほぼ等間隔に配置された4つの細
かなエッジE91、E92、E93およびE94により
ほぼ斜めに直線的なイメージでスムージングされてい
る。コーナC3からエッジE3の部分、コーナC2から
エッジE2の部分も同様にスムージングされている。
The bitmap 9 shown in FIG. 3 is also an example of a bitmap in which the resolution of the original bitmap 1 is quadrupled in the row direction X and quadrupled in the column direction Y. In the bitmap 9, not only dots are added to fill the corners using a look-up table, but also the edges are cut off to smooth the white / black balance. Therefore, 3 forming the edge E4
One dot is cut and the corner C4 is filled with three dots, and the part from the corner C4 to the edge E4 of the original image 11 has four fine edges E91, E92, E93 arranged at substantially equal intervals. And E94 smoothed with a substantially linear image. Similarly, the portion from the corner C3 to the edge E3 and the portion from the corner C2 to the edge E2 are smoothed.

【0021】したがって、このビットマップ9による画
像91の輪郭には強調されたエッジは見当たらない。し
かしながら、輪郭を形成する線は、上記のビットマップ
8による画像81と同様に、曲率が細かく変動し、波打
った印象を与える。したがって、このビットマップ9に
よる画像91は、強調されたエッジが見えないので、上
記の画像81と比較すると輪郭はより滑らかであるが、
やはり、輪郭が波打っており、オリジナルの画像11の
直線に近く、曲率が大きく変化しない滑らかな輪郭は現
れていない。
Therefore, no emphasized edge is found in the outline of the image 91 formed by the bitmap 9. However, the line forming the contour has a finely varying curvature and gives a wavy impression, as in the image 81 based on the bitmap 8 described above. Therefore, in the image 91 based on this bitmap 9, since the emphasized edges cannot be seen, the outline is smoother as compared with the above-mentioned image 81,
Again, the contour is wavy, and a smooth contour that is close to the straight line of the original image 11 and whose curvature does not change significantly does not appear.

【0022】図4に示したビットマップ2は、本発明の
作成方法により、オリジナルのビットマップ1の解像度
を行方向Xに4倍、列方向Yに4倍にしたビットマップ
の例である。このビットマップ2では、コーナだけにド
ットを追加して埋めるのではなく、隣接するオリジナル
のエッジの間を直線的に補間するようにエッジを追加し
ている。したがって、ビットマップ2では、オリジナル
のエッジの間が直線的にスムージングされており、曲率
の変動の少ない、直線的な輪郭により画像21が描かれ
ている。
The bitmap 2 shown in FIG. 4 is an example of a bitmap in which the resolution of the original bitmap 1 is quadrupled in the row direction X and quadrupled in the column direction Y by the creating method of the present invention. In this bit map 2, not only dots are added to fill the corners but also the edges are added so as to linearly interpolate between adjacent original edges. Therefore, in the bitmap 2, the original edges are smoothed linearly, and the image 21 is drawn with a linear contour with little variation in curvature.

【0023】すなわち、エッジE3とE4の間には、こ
れらのエッジE3およびE4を補間した直線L3に達し
ないようにY方向に伸びたエッジE27、E28および
E29が形成されており、これらのエッジE3、E2
7、E28、E29およびE4により直線的な輪郭が描
かれている。同様に、エッジE2とE3の間には、これ
らのエッジE2およびE3を補間した直線L2に達しな
いようにY方向に伸びたエッジE24、E25およびE
26が形成されており、これらのエッジE2、E24、
E25、E26およびE3により直線的な輪郭が描かれ
ている。さらに、エッジE1とE2の間には、これらの
エッジE1およびE2を補間した直線L1に達しないよ
うにエッジE21、E22およびE23が形成されてお
り、これらのエッジE1、E21、E22、E23およ
びE2により直線的な輪郭が描かれている。
That is, between the edges E3 and E4, edges E27, E28 and E29 extending in the Y direction are formed so as not to reach the straight line L3 obtained by interpolating these edges E3 and E4, and these edges are formed. E3, E2
7, E28, E29 and E4 delineate a straight line. Similarly, between the edges E2 and E3, edges E24, E25 and E extending in the Y direction so as not to reach the straight line L2 obtained by interpolating these edges E2 and E3.
26 are formed, and these edges E2, E24,
A straight line is drawn by E25, E26 and E3. Further, between the edges E1 and E2, edges E21, E22 and E23 are formed so as not to reach the straight line L1 obtained by interpolating these edges E1 and E2, and these edges E1, E21, E22, E23 and A straight line is drawn by E2.

【0024】図5に、本発明により高解像度のビットマ
ップを作成する処理をフローチャートにより示してあ
る。まず、ステップ51でオリジナルのビットマップ1
が入力されると、ステップ52で高解像度のビットマッ
プ2を作成する領域を確保する。高解像度のビットマッ
プの領域は予めメモリに用意されていても良く、このプ
ロセスで動的にメモリ内に領域を獲得しても良い。ま
た、高解像度ビットマップ2を形成するために、一度に
全ての領域を獲得しても良いが、後述するように、オリ
ジナルのビットマップ1をスキャンする毎に、それに対
応する部分の高解像度ビットマップ2を格納する領域を
逐次獲得しても良い。さらに、本例では、高解像度ビッ
トマップ2はオリジナルのビットマップ1の整数倍(4
×4)としているが、X方向およびY方向(行方向と列
方向、あるいは、主走査方向と副走査方向)で任意の倍
数とすることができ、もちろん、いずれかの方向は解像
度を上げない、すなわち、1倍とすることも可能であ
る。
FIG. 5 is a flowchart showing the process of creating a high resolution bitmap according to the present invention. First, in step 51, the original bitmap 1
Is input, a region for creating the high resolution bitmap 2 is secured in step 52. The high-resolution bitmap area may be prepared in the memory in advance, or the area may be dynamically acquired in the memory in this process. Further, in order to form the high resolution bitmap 2, all the areas may be acquired at one time, but as described later, each time the original bitmap 1 is scanned, the high resolution bit of the corresponding portion is acquired. The area for storing the map 2 may be sequentially acquired. Further, in this example, the high resolution bitmap 2 is an integer multiple (4
However, the resolution can be set to any multiple in the X and Y directions (row direction and column direction, or main scanning direction and sub scanning direction). Of course, the resolution does not increase in either direction. That is, it is also possible to make it 1 time.

【0025】次に、ステップ53で、オリジナルのビッ
トマップ1をY方向に隣接した3画素づつのデータを、
X方向に走査しながらエッジを検出する第1の検出工程
としての処理を開始する。すなわち、ビットマップ1の
内、Y方向に隣接する3ライン分のデータをX方向にス
キャンすることによりオリジナルビットマップ1のエッ
ジを検出する。たとえば、図1において、Y0、Y1お
よびY2のラインをX方向にX0からX8までスキャン
する。
Next, in step 53, the original bitmap 1 is converted into data for every 3 pixels adjacent in the Y direction.
The process as the first detection step of detecting the edge while scanning in the X direction is started. That is, the edge of the original bitmap 1 is detected by scanning the data of 3 lines adjacent in the Y direction in the bitmap 1 in the X direction. For example, in FIG. 1, the lines Y0, Y1 and Y2 are scanned in the X direction from X0 to X8.

【0026】この際、まず、ステップ54で、オリジナ
ルのビットマップ1の黒ドット部分を高解像度ビットマ
ップ2にコピーする。これにより、図6に示すように、
オリジナルのビットマップ1の画像11と同じ画像が、
4×4に拡張された高解像度ビットマップ2に再現され
る。同時に、ステップ55で、第1のエッジが発見され
ているか否かを判断する。
At this time, first, in step 54, the black dot portion of the original bitmap 1 is copied to the high resolution bitmap 2. As a result, as shown in FIG.
The same image as the image 11 of the original bitmap 1
It is reproduced in the high resolution bitmap 2 expanded to 4 × 4. At the same time, in step 55, it is determined whether the first edge has been found.

【0027】第1のエッジが発見されていなければ、ス
テップ56で第1のエッジか否かを判断する。エッジと
しての認識は、3ライン、たとえばラインY0、Y1お
よびY2をX方向にスキャンすることにより得られた1
つ前の3つのドットパターンと、今回得られたドットパ
ターンとを比較することにより行う。白から黒に変化す
る場合を検討すると、図7(a)および(b)に示すよ
うに、前のドットパターンX71またはX75が「白−
白−白」で、今回のドットパターンX72またはX76
が「白−白−黒」あるいは「黒−白−白」の場合であ
り、このとき、X72またはX76の位置のY73また
はY75のドットを第1のエッジと認識する。第1のエ
ッジが発見されると、ステップ57で、フラグあるいは
レジスタなどをセットする。
If the first edge is not found, it is judged in step 56 whether or not it is the first edge. The recognition as an edge is 1 obtained by scanning three lines, for example, lines Y0, Y1 and Y2 in the X direction.
This is performed by comparing the three dot patterns immediately before and the dot pattern obtained this time. Considering the case of changing from white to black, as shown in FIGS. 7A and 7B, the previous dot pattern X71 or X75 is “white-
"White-white", this time dot pattern X72 or X76
Is "white-white-black" or "black-white-white". At this time, the dot of Y73 or Y75 at the position of X72 or X76 is recognized as the first edge. When the first edge is found, step 57 sets a flag or register.

【0028】第1エッジが発見されている場合は、ステ
ップ58で第2のエッジの検索が継続可能な否かを判定
する。図7(a)または(b)のドットパターンX73
またはX77のように、第1のエッジが発見されたとき
と同じドットパターンが得られた場合は検索を継続す
る。また、ドットパターンX74またはX78の場合も
検索を継続する。このドットパターンX74またはX7
8は後述するように第2のエッジとなる。このように、
得られたドットパターンが第1のエッジと同じまたは黒
ドットが1つ増えた場合は検索を継続し、黒ドットが減
った場合、または黒ドットが2つ増えた場合はステップ
59で第1のエッジを発見済の状態を解消する。
If the first edge has been found, step 58 determines whether the search for the second edge can continue. Dot pattern X73 in FIG. 7A or 7B
Alternatively, if the same dot pattern as when the first edge was found, such as X77, the search is continued. Further, the search is continued even when the dot pattern is X74 or X78. This dot pattern X74 or X7
8 becomes the second edge as described later. in this way,
If the obtained dot pattern is the same as the first edge or if the number of black dots has increased by one, the search is continued. If the number of black dots has decreased or the number of black dots has increased by two, the first search is performed in step 59. The state where the edge has been found is eliminated.

【0029】この3ラインずつをX方向(Y方向でも同
等であるが)にスキャンしながらエッジを検出する場
合、白ドットから黒ドットへの変化と、黒ドットから白
ドットへの変化がある。図7(a)および(b)に基づ
き上述した、白ドットから黒ドットへの変化の場合、3
ラインの中央のラインをエッジ検出ラインとすると、そ
のラインのドットが白で、ドットパターンが「白−白−
白」から「白−白−黒」あるいは「黒−白−白」に変化
した位置の黒ドットとなった部分が第1のエッジとな
る。そして、それ以降のスキャンで、エッジ検出ライン
と第1のエッジのラインが黒で、残りのラインが白とな
るドットパターン、すなわち、「白−白−黒」に対して
「白−黒−黒」、「黒−白−白」に対して「黒−黒−
白」のパターンが出現した位置のエッジ検出ラインの黒
ドットが第2のエッジとなる。しかしながら、第1のエ
ッジを検出した以降のスキャンで、第1のエッジと同じ
ドットパターンでなく、かつ第2のエッジのドットパタ
ーンでもないドットパターンが出現した場合は、補間で
きるエッジ同士ではないので、既に発見された第1のエ
ッジを無効とし、再度、新たな第1のエッジの検出を開
始する。
When an edge is detected while scanning each of these three lines in the X direction (similarly in the Y direction), there are changes from white dots to black dots and changes from black dots to white dots. In the case of the change from the white dot to the black dot described above with reference to FIGS. 7A and 7B, 3
If the line at the center of the line is the edge detection line, the dots on that line are white and the dot pattern is "white-white-
The first edge is a portion that becomes a black dot at a position where “white” is changed to “white-white-black” or “black-white-white”. Then, in the subsequent scans, the edge detection line and the first edge line are black, and the remaining lines are white, that is, “white-black-black” with respect to “white-white-black”. , "Black-white-white" to "black-black-
The black dot on the edge detection line at the position where the "white" pattern appears is the second edge. However, when a dot pattern that is neither the same dot pattern as the first edge nor the dot pattern of the second edge appears in the scan after the detection of the first edge, it is not an edge that can be interpolated. , Invalidates the already-discovered first edge, and restarts detection of a new first edge.

【0030】たとえば、黒ドットが減った場合は、第1
のエッジと逆方向に傾いたエッジであり、これらの間を
補間することはできない。また、「黒−黒−黒」に変わ
ると、2ドット以上の距離を持つ段差であり、その段差
の高さは3ラインの比較では検出できない。2ドット以
上の距離のある段差は、曲線あるいは直線をドットに量
子化する上で生じたものである可能性はほとんどなく、
これをスムージングすることはかえって画像のシャープ
ネスを鈍化することになり、画像の劣化に繋がる。した
がって、本例では、1ドットのエッジのみを検出し、ス
ムージングしている。このため、3ラインをスキャンす
ることにより、スムージングが必要とされるエッジ同士
は全て検出することが可能である。
For example, if the number of black dots is reduced, the first
It is an edge tilted in the opposite direction to the edge of and cannot be interpolated between them. Further, when changing to "black-black-black", there is a step having a distance of 2 dots or more, and the height of the step cannot be detected by comparing three lines. A step having a distance of 2 dots or more is unlikely to have occurred in quantizing a curve or a straight line into dots,
If this is smoothed, the sharpness of the image is rather lowered, which leads to deterioration of the image. Therefore, in this example, only one dot edge is detected and smoothed. Therefore, by scanning three lines, it is possible to detect all the edges that require smoothing.

【0031】一方、図7(c)および(d)に示すよう
に、黒ドットから白ドットへの変化の場合は、ドットパ
ターンのエッジ検出ラインのドットが黒で、ドットパタ
ーンが「黒−黒−白」から「黒−白−白」に変化(図7
(d))、あるいは「白−黒−黒」から「白−白−黒」
に変化した位置のエッジ検出ラインの黒ドットが第1の
エッジとなる。そして、以降のスキャンで、「黒−白−
白」あるいは「白−白−黒」から「白−白−白」に変化
したドットパターンが検出された位置の変化前の黒ドッ
トが第2のエッジとなる。そして、第1のエッジを検出
した以降のスキャンで、第1のエッジの次のドットパタ
ーン「黒−白−白」あるいは「白−白−黒」と同じドッ
トパターンでなく、かつ、第2のエッジのパターン「白
−白−白」でもないドットパターンが検出された場合
は、補間できるエッジ同士ではないので、既に発見され
た第1のエッジを無効とし、再度新たな第1エッジの検
出を開始する。
On the other hand, as shown in FIGS. 7C and 7D, in the case of a change from a black dot to a white dot, the dot on the edge detection line of the dot pattern is black, and the dot pattern is "black-black". Change from "white" to "black-white-white" (Fig. 7
(D)), or "white-black-black" to "white-white-black"
The black dot on the edge detection line at the position changed to becomes the first edge. Then, in subsequent scans, "black-white-
The second edge is the black dot before the change in the position at which the dot pattern changed from "white" or "white-white-black" to "white-white-white" is detected. Then, in the scan subsequent to the detection of the first edge, the dot pattern is not the same as the dot pattern "black-white-white" or "white-white-black" next to the first edge, and If a dot pattern that is not an edge pattern "white-white-white" is detected, it is not an edge that can be interpolated, so the already discovered first edge is invalidated, and a new first edge is detected again. Start.

【0032】このようにして検出される第1のエッジか
ら第2のエッジの関係、すなわち、第1および第2のエ
ッジ間の長さは、検出対象となるライン、すなわち、X
方向またはY方向の先頭から終端まで有効であり、制限
は無い。したがって、非常に長い、距離の離れた凹凸で
あっても検出することができ、それに応じてスムージン
グすることが可能である。
The relationship between the first edge and the second edge thus detected, that is, the length between the first and second edges is determined by the line to be detected, that is, X.
It is valid from the beginning to the end in the direction or Y direction, and there is no limitation. Therefore, it is possible to detect even very long unevenness at a long distance, and it is possible to perform smoothing accordingly.

【0033】このようにして、ステップ60でX方向に
隣接あるいは並んで現れ、さらに補間が可能な第1およ
び第2のエッジが検出されると、ステップ61で、高解
像度ビットマップ2の上に第1および第2のエッジの補
間画像を再現する第1の追加工程を行う。すなわち、第
1および第2のエッジを補間するようにY方向に伸びた
エッジを追加する。本例の第1の追加工程としての処理
では、オリジナルの画像11の第1エッジと第2エッジ
を直線で結び、でき上がった三角形を高解像度ビットマ
ップ2の上に重ねる。この時、完全に三角形の内側に入
ってしまうドットを黒ドットとすることで補間してY方
向に伸びたエッジを形成する。これにより、オリジナル
のビットマップ1の特定のエッジ間を直線で結び、でき
上がった三角形を高解像度のビットマップ2の上に再現
することが可能となり、ルックアップテーブルを用いず
に短時間でよりスムーズな補間が行える。
In this way, when the first and second edges appearing adjacent or side by side in the X direction and which can be further interpolated are detected in step 60, in step 61, the high resolution bitmap 2 is displayed. The first additional step of reproducing the interpolated image of the first and second edges is performed. That is, an edge extending in the Y direction is added so as to interpolate the first and second edges. In the processing as the first additional step of this example, the first edge and the second edge of the original image 11 are connected by a straight line, and the resulting triangle is overlaid on the high resolution bitmap 2. At this time, the dots that completely fall inside the triangle are black dots to interpolate to form edges extending in the Y direction. This makes it possible to connect specific edges of the original bitmap 1 with straight lines and reproduce the resulting triangle on the high-resolution bitmap 2, making it smoother in a short time without using a lookup table. Various interpolations can be performed.

【0034】たとえば、図6において、ラインY0、Y
1およびY2をX方向にスキャンすると、エッジE3が
第1のエッジとして検出され、エッジE4が第2のエッ
ジとして検出される。このため、エッジE3およびE4
を直線L3で結び、この直線L3に到達しないドットを
黒ドットに変換することにより、図4に示した、Y方向
に延ばされたエッジE27、E28およびE29が形成
される。本例では、ドットの一部が直線L3で形成され
る三角形の外にはみ出てしまうものは黒ドットに変換せ
ず、追加するエッジは直線L3を越えてY方向に延ばさ
ない。本例のスムージングでは、黒ドットを増やすこと
により輪郭を滑らかにしているので、オリジナルの画像
11に対しスムージングされた画像21は黒ドットの割
合が増加する。したがって、スムージングのために追加
する黒ドットの数を最小限に抑えることにより、黒/白
の割合が大きく変化するのを防止している。
For example, in FIG. 6, lines Y0, Y
When 1 and Y2 are scanned in the X direction, the edge E3 is detected as the first edge and the edge E4 is detected as the second edge. Therefore, edges E3 and E4
Are connected by a straight line L3, and the dots that do not reach the straight line L3 are converted into black dots, whereby the edges E27, E28, and E29 extended in the Y direction shown in FIG. 4 are formed. In this example, dots that partially extend outside the triangle formed by the straight line L3 are not converted into black dots, and the edges to be added do not extend beyond the straight line L3 in the Y direction. In the smoothing of this example, the contour is smoothed by increasing the number of black dots, so the ratio of black dots in the smoothed image 21 to the original image 11 increases. Therefore, by minimizing the number of black dots added for smoothing, it is possible to prevent a large change in the black / white ratio.

【0035】第2のエッジが発見されて、第1および第
2のエッジの間の補間が終了すると、ステップ62で第
1のエッジおよび第2のエッジの情報をクリアし、ライ
ンの終端、すなわちX方向の終端まで、ステップ53に
戻って上記のエッジを検出する処理と、エッジ間にドッ
トを追加する処理とを繰り返す。そして、ステップ63
でラインの終端までスキャンしたか否かを確認する。ラ
イン終端であった場合は、ステップ64にてエッジ発見
情報をクリアし、ステップ65で全てのラインをスキャ
ンしたか否かを確認する。ラインが残っている場合は、
ステップ66でラインを1つだけずらし、たとえば、ラ
インY1、Y2およびY3をセットする。そして、ステ
ップ53に戻って、それらの3ラインを新たにX方向に
スキャンして、新たなエッジの検索と、エッジ間にドッ
トを追加してスムージングする処理を行う。
When the second edge is found and the interpolation between the first and second edges is finished, the information of the first and second edges is cleared in step 62 to the end of the line, ie Until the end in the X direction, the process returns to step 53 to detect the edge and the process of adding a dot between the edges are repeated. And step 63
Check to see if you have scanned to the end of the line. If it is the end of the line, the edge detection information is cleared in step 64, and it is confirmed in step 65 whether all the lines have been scanned. If the line remains,
Only one line is shifted in step 66, for example, lines Y1, Y2 and Y3 are set. Then, returning to step 53, the three lines are newly scanned in the X direction to search for a new edge and to add dots between the edges for smoothing.

【0036】さらに、ステップ65でオリジナルのビッ
トマップ1の終端まで、X方向にスキャンしながらスム
ージングする処理が完了したか否かどうかの判定を行
う。Y方向の全てのラインをスキャンし終えた場合は、
ステップ67で両方向をスキャンしたか否かを確認す
る。一方が残っている場合は、ステップ68でスキャン
方向をY方向に変更し、X方向に3ラインづつをセット
し、上記と同様にY方向にスキャンしながらエッジを検
出し、検出されたエッジ間にドットを追加してスムージ
ングする処理を行う。すなわち、方向を入れ替えて第2
の検出工程と第2の追加工程としての処理を行う。そし
て、ステップ67で両方向のスキャンとスムージングが
終了すると、X方向およびY方向に解像度が上げられ、
スムージングされた高解像度のビットマップ2が作成さ
れる。
Further, in step 65, it is determined whether or not the smoothing process is completed while scanning in the X direction up to the end of the original bitmap 1. When all the lines in the Y direction have been scanned,
In step 67, it is confirmed whether or not scanning is performed in both directions. If one remains, the scan direction is changed to the Y direction in step 68, three lines are set in the X direction, the edges are detected while scanning in the Y direction in the same manner as above, and the detected edges are separated. Dot is added and smoothing processing is performed. That is, the direction is switched and the second
The detection step and the second additional step are performed. Then, when scanning in both directions and smoothing are completed in step 67, the resolution is increased in the X and Y directions,
A smoothed high resolution bitmap 2 is created.

【0037】したがって、図8に示すように、X方向に
スキャンしながらエッジを検出する機能32と、X方向
に検出された第1および第2のエッジの間を補間するよ
うにドットを追加する機能33と、Y方向にスキャンし
ながらエッジを検出する機能34と、Y方向に検出され
た第1および第2のエッジの間を補間するようにドット
を追加する機能35とを備えたプロセッサ31あるいは
制御基板を内蔵したプリンタ30を提供することによ
り、ホストコンピュータ39から供給された低解像度の
オリジナルのビットマップ1を高解像度のビットマップ
2にして印刷機構36に供給することができる。したが
って、プリンタ30から、高解像度で、波打ちがなく、
スムーズに繋がった輪郭により画像が描かれたプリント
アウト39を得ることが可能となる。
Therefore, as shown in FIG. 8, a dot is added so as to interpolate between the function 32 for detecting an edge while scanning in the X direction and the first and second edges detected in the X direction. A processor 31 having a function 33, a function 34 for detecting an edge while scanning in the Y direction, and a function 35 for adding a dot so as to interpolate between the first and second edges detected in the Y direction. Alternatively, by providing the printer 30 with a built-in control board, the low-resolution original bitmap 1 supplied from the host computer 39 can be converted into the high-resolution bitmap 2 and supplied to the printing mechanism 36. Therefore, from the printer 30, with high resolution, no waviness,
It is possible to obtain the printout 39 in which the image is drawn by the smoothly connected contours.

【0038】図5に示した処理を実行可能なプロセッサ
31あるいは制御基板は、エッジを検出する機能32お
よび34、ドットを追加する機能33および35を専用
回路などのハードウェアロジックで実装したものであっ
ても良い。あるいは、図5に示したエッジを検出する処
理と、エッジ間にドットを追加して補間する処理を実行
可能な命令を有するプログラムを記憶したROMあるい
はRAMなどの記録媒体を実現したものであっても良
い。
The processor 31 or the control board capable of executing the processing shown in FIG. 5 has the functions 32 and 34 for detecting edges and the functions 33 and 35 for adding dots implemented by hardware logic such as a dedicated circuit. It may be. Alternatively, a recording medium such as a ROM or a RAM storing a program having an instruction capable of executing the edge detecting process and the dot adding and interpolating process shown in FIG. 5 is realized. Is also good.

【0039】なお、上記では、X方向およびY方向に解
像度を上げたビットマップを作成する例で説明している
が、いずれか一方にのみ解像度を上げたビットマップで
あっても同様に作成することが可能である。この場合
は、Y方向に解像度を上げたのであれば、X方向にスキ
ャンするだけで、スムージングすることが可能であり、
Y方向にスキャンする必要はない。また、X方向および
Y方向に同等に解像度を上げた場合に限らず、X方向と
Y方向の解像度が異なる場合にも本発明を適用すること
が可能である。
In the above description, an example of creating a bitmap whose resolution is increased in the X and Y directions has been described, but a bitmap whose resolution is increased in only one of them is also created in the same manner. It is possible. In this case, if the resolution is increased in the Y direction, it is possible to perform smoothing simply by scanning in the X direction.
It is not necessary to scan in the Y direction. The present invention can be applied not only when the resolutions are equally increased in the X direction and the Y direction, but also when the resolutions in the X direction and the Y direction are different.

【0040】また、上記では、プリンタに本発明を適用
した例を示してあるが、ビットマップ、すなわち画素マ
トリクスあるいは画素パターンで画像を出力する機器で
あれば、プリンタに限らず、他の印刷装置あるいはディ
スプレイなどにも本発明を適用することができる。
In the above, an example in which the present invention is applied to a printer is shown. However, the device is not limited to the printer but any other printing device as long as the device outputs an image with a bit map, that is, a pixel matrix or a pixel pattern. Alternatively, the present invention can be applied to a display or the like.

【0041】[0041]

【発明の効果】以上に説明したように、本発明のビット
マップの作成方法によれば、画像を印刷あるいは表示す
るためのビットマップを、より解像度の高いビットマッ
プに変換する際に、オリジナルのビットマップのエッジ
間に補間用のエッジを追加することによりスムージング
を行い、画質を向上する。このため、作業用ビットマッ
プやルックアップテーブル等を使用せずにスムージング
を行うことが可能であり、ルックアップテーブルの作成
の手間は不要である。また、ルックアップテーブルを参
照する時間を省くことができるので、より短い時間でス
ムージングすることが可能となる。
As described above, according to the method of creating a bitmap of the present invention, when converting a bitmap for printing or displaying an image into a bitmap having a higher resolution, the original Smoothing is performed by adding an edge for interpolation between the edges of the bitmap to improve the image quality. Therefore, smoothing can be performed without using a work bitmap, a look-up table, or the like, and the trouble of creating the look-up table is unnecessary. Further, since it is possible to save the time for referring to the lookup table, it is possible to perform smoothing in a shorter time.

【0042】さらに、距離は問わずに、ある方向に並ん
で現れるエッジが検出されれば、その間をスムージング
できるので、長周期の凹凸もスムージングの対象とする
ことが可能となる。したがって、高解像度化することに
より輪郭が波打つトラブルも解消することが可能であ
る。また、倍率に関係なくスムージングすることができ
る。このように、本発明により、より鮮明でシャープな
輪郭を持つ画像を出力することができる高解像度のビッ
トマップを短時間に製造することが可能となる。
Furthermore, regardless of the distance, if edges appearing side by side in a certain direction are detected, smoothing can be performed between the edges, so that long-period irregularities can also be the object of smoothing. Therefore, it is possible to solve the problem that the contour is wavy by increasing the resolution. Also, smoothing can be performed regardless of the magnification. As described above, according to the present invention, it is possible to manufacture a high resolution bitmap capable of outputting an image having a sharper and sharper contour in a short time.

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

【図1】オリジナルのビットマップの例である。FIG. 1 is an example of an original bitmap.

【図2】オリジナルのビットマップを高解像度化し、2
つのオリジナルの画素列の平均値を挿入してスムージン
グした例である。
[Fig. 2] High resolution original bitmap, 2
This is an example of smoothing by inserting the average value of two original pixel columns.

【図3】オリジナルのビットマップを高解像度化し、ル
ックアップテーブルを用いて、コーナにドットを追加す
ると共にエッジを切り取ることによりスムージングした
例である。
FIG. 3 is an example of smoothing an original bitmap with high resolution, using a lookup table to add dots to corners and cut edges.

【図4】オリジナルのビットマップを高解像度化し、本
発明の作成方法によりスムージングした例である。
FIG. 4 is an example in which an original bitmap has a high resolution and is smoothed by the creating method of the present invention.

【図5】本発明のビットマップの作成方法の概要を示す
フローチャートである。
FIG. 5 is a flowchart showing an outline of a bitmap creating method of the present invention.

【図6】図5に示した方法によりスムージングされる過
程を示す図である。
FIG. 6 is a diagram showing a process of smoothing by the method shown in FIG.

【図7】エッジを検出する例を説明する図である。FIG. 7 is a diagram illustrating an example of detecting an edge.

【図8】本発明のビットマップの作成方法を適用したプ
リンタの概要を示す図である。
FIG. 8 is a diagram showing an outline of a printer to which a bitmap creating method of the present invention is applied.

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

1、2、8、9 ビットマップ 11、21、81、91 画像 E1〜E4 オリジナルのビットマップのエッジ E21〜E29 追加されたエッジ 1,2,8,9 Bitmap 11, 21, 81, 91 images E1-E4 Original bitmap edges E21-E29 Added edges

フロントページの続き Fターム(参考) 2C062 AA24 5B057 AA11 CA02 CA06 CA12 CA16 CB02 CB06 CB12 CB16 CC01 CD05 CE03 CE11 CF05 CH07 CH08 CH11 CH18 5C076 AA21 AA32 BA06 BB03 5C077 LL05 LL19 MP04 PP03 PP47 PQ08 PQ12 PQ23 PQ25 RR19 SS02 SS06 TT02 Continued front page    F-term (reference) 2C062 AA24                 5B057 AA11 CA02 CA06 CA12 CA16                       CB02 CB06 CB12 CB16 CC01                       CD05 CE03 CE11 CF05 CH07                       CH08 CH11 CH18                 5C076 AA21 AA32 BA06 BB03                 5C077 LL05 LL19 MP04 PP03 PP47                       PQ08 PQ12 PQ23 PQ25 RR19                       SS02 SS06 TT02

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 画像を形成する複数の画素が2次元に配
列された第1のビットマップから、第1の方向の解像度
を上げた第2のビットマップを作成する際に、前記第1
のビットマップから、前記第1の方向と直交する第2の
方向に現れる第1および第2のエッジを検出する第1の
検出工程と、 前記第1および第2のエッジにそれぞれ対応する、前記
第2のビットマップの第3および第4のエッジの間に、
これら第3および第4のエッジを補間するように前記第
1の方向に伸びたエッジを追加する第1の追加工程とを
有するビットマップの作成方法。
1. When creating a second bitmap having a higher resolution in a first direction from a first bitmap in which a plurality of pixels forming an image are two-dimensionally arranged, the first bitmap is formed.
A first detecting step of detecting first and second edges appearing in a second direction orthogonal to the first direction from the bitmap of, and corresponding to the first and second edges, respectively. Between the third and fourth edges of the second bitmap,
A first adding step of adding an edge extending in the first direction so as to interpolate the third and fourth edges.
【請求項2】 請求項1において、前記第1の検出工程
では、前記第1の方向に隣接する3つの画素を前記第2
の方向に走査し、前記第1および第2のエッジを検出す
るビットマップの作成方法。
2. The method according to claim 1, wherein in the first detecting step, three pixels adjacent to each other in the first direction are connected to the second pixel.
A method for creating a bitmap by scanning in the direction of, and detecting the first and second edges.
【請求項3】 請求項2において、前記第1の検出工程
では、前記第1の方向に隣接する3つの画素の中央をエ
ッジ検出ラインとしたときに、 そのエッジ検出ラインの画素がオフからオンに変わる場
合は、前記3つの画素の組合せが「オフ−オフ−オフ」
から「オフ−オフ−オン」または「オン−オフ−オフ」
に変化した後の位置を前記第1のエッジとし、その後、
「オフ−オン−オン」または「オン−オン−オフ」に変
化した後の位置を前記第2のエッジとし、 前記エッジ検出ラインの画素がオンからオフに変わる場
合は、前記3つの画素の組合せが「オン−オン−オフ」
から「オン−オフ−オフ」または「オフ−オン−オン」
から「オフ−オフ−オン」に変化した変化前の位置を前
記第1のエッジとし、その後、「オフ−オフ−オフ」に
変化した変化前の位置を前記第2のエッジとし、 さらに、前記第1および第2のエッジの間に、前記第1
のエッジの変化後のパターンまたは前記第2のエッジの
パターン以外のものが検出されないときに、前記第1お
よび第2のエッジを有効とするビットマップの作成方
法。
3. The method according to claim 2, wherein in the first detecting step, when the center of three pixels adjacent to each other in the first direction is an edge detection line, the pixel on the edge detection line is turned on from off. If it changes to, the combination of the three pixels is “off-off-off”.
To "Off-Off-On" or "On-Off-Off"
To the first edge after the change to
A position after changing to “off-on-on” or “on-on-off” is defined as the second edge, and when the pixel of the edge detection line changes from on to off, a combination of the three pixels Is "on-on-off"
To "On-Off-Off" or "Off-On-On"
The position before the change from "OFF-OFF-ON" to the first edge, and the position before the change to "OFF-OFF-OFF" as the second edge, and Between the first and second edges, the first
A method of creating a bitmap that validates the first and second edges when a pattern other than the pattern after the change of the edge or the pattern of the second edge is not detected.
【請求項4】 請求項1において、前記第1の追加工程
では、前記第3および第4のエッジを結ぶ直線を超えな
い範囲のエッジを追加する、ビットマップの作成方法。
4. The method of creating a bitmap according to claim 1, wherein in the first adding step, an edge in a range not exceeding a straight line connecting the third and fourth edges is added.
【請求項5】 請求項1において、前記第2のビットマ
ップが、前記第2の方向の解像度も向上しているとき
は、 前記第1のビットマップから、前記第1の方向に現れる
第5および第6のエッジを検出する第2の検出工程と、 前記第5および第6のエッジにそれぞれ対応する前記第
2のビットマップの第7および第8のエッジの間に、こ
れら第7および第8のエッジを補間するように前記第2
の方向に伸びたエッジを追加する第2の追加工程とを有
するビットマップの作成方法。
5. The method according to claim 1, wherein when the second bitmap also has improved resolution in the second direction, the fifth bitmap appears in the first direction from the first bitmap. And a second detection step of detecting a sixth edge, and between the seventh and eighth edges of the second bitmap corresponding to the fifth and sixth edges, respectively. The second to interpolate 8 edges
A second adding step of adding an edge extending in the direction of.
【請求項6】 請求項5において、前記第2の検出工程
では、前記第2の方向に隣接する3つの画素を前記第1
の方向に走査し、前記第5および第6のエッジを検出す
るビットマップの作成方法。
6. The method according to claim 5, wherein in the second detecting step, three pixels adjacent to each other in the second direction are set to the first pixel.
A method of creating a bitmap by scanning in the direction of, and detecting the fifth and sixth edges.
【請求項7】 請求項6において、前記第2の検出工程
では、前記第2の方向に隣接する3つの画素の中央をエ
ッジ検出ラインとしたときに、 そのエッジ検出ラインの画素がオフからオンに変わる場
合は、前記3つの画素の組合せが「オフ−オフ−オフ」
から「オフ−オフ−オン」または「オン−オフ−オフ」
に変化した後の位置を前記第5のエッジとし、その後、
「オフ−オン−オン」または「オン−オン−オフ」に変
化した後の位置を前記第6のエッジとし、 前記エッジ検出ラインの画素がオンからオフに変わる場
合は、前記3つの画素の組合せが「オン−オン−オフ」
から「オン−オフ−オフ」または「オフ−オン−オン」
から「オフ−オフ−オン」に変化した変化前の位置を前
記第5のエッジとし、その後、「オフ−オフ−オフ」に
変化した変化前の位置を前記第6のエッジとし、 さらに、前記第5および第6のエッジの間に、前記第5
のエッジの変化後のパターンまたは前記第6のエッジの
パターン以外のものが検出されないときに、前記第5お
よび第6のエッジを有効とするビットマップの作成方
法。
7. The method according to claim 6, wherein in the second detection step, when the center of three pixels adjacent to each other in the second direction is an edge detection line, the pixel on the edge detection line is turned on from off. If it changes to, the combination of the three pixels is “off-off-off”.
To "Off-Off-On" or "On-Off-Off"
To the fifth edge after the change to
A position after changing to “off-on-on” or “on-on-off” is defined as the sixth edge, and when the pixel of the edge detection line changes from on to off, a combination of the three pixels Is "on-on-off"
To "On-Off-Off" or "Off-On-On"
To the "off-off-on" before the change position is the fifth edge, then the "off-off-off" before the change position is the sixth edge, further, Between the fifth and sixth edges, said fifth
A method of creating a bitmap that validates the fifth and sixth edges when a pattern other than the pattern after the change of the edge or the pattern of the sixth edge is not detected.
【請求項8】 請求項5において、前記第2の追加工程
では、前記第7および第8のエッジを結ぶ直線を超えな
い範囲のエッジを追加する、ビットマップの作成方法。
8. The method of creating a bitmap according to claim 5, wherein in the second adding step, an edge in a range not exceeding a straight line connecting the seventh and eighth edges is added.
【請求項9】 画像を形成する複数の画素が2次元に配
列された第1のビットマップから、第1の方向の解像度
を上げた第2のビットマップを作成するプログラムであ
って、 前記第1のビットマップから、前記第1の方向と直交す
る第2の方向に現れる第1および第2のエッジを検出す
る第1の検出工程と、 前記第1および第2のエッジにそれぞれ対応する前記第
2のビットマップの第3および第4のエッジの間に、こ
れら第3および第4のエッジを補間するように前記第1
の方向に伸びたエッジを追加する第1の追加工程とを実
行するための命令を有するプログラム。
9. A program for creating a second bitmap having an increased resolution in a first direction from a first bitmap in which a plurality of pixels forming an image are two-dimensionally arranged, said program comprising: A first detecting step of detecting first and second edges appearing in a second direction orthogonal to the first direction from the first bitmap; and the first and second edges corresponding to the first and second edges, respectively. Between the third and fourth edges of the second bitmap, the first so as to interpolate these third and fourth edges.
A first additional step of adding an edge extending in the direction of.
【請求項10】 請求項9において、前記第1の検出工
程では、前記第1の方向に隣接する3つの画素を前記第
2の方向に走査し、前記第1および第2のエッジを検出
する処理を実行するための命令を有するプログラム。
10. The method according to claim 9, wherein in the first detecting step, three pixels adjacent to each other in the first direction are scanned in the second direction to detect the first and second edges. A program having instructions for performing a process.
【請求項11】 請求項10において、前記第1の検出
工程では、前記第1の方向に隣接する3つの画素の中央
をエッジ検出ラインとしたときに、 そのエッジ検出ラインの画素がオフからオンに変わる場
合は、前記3つの画素の組合せが「オフ−オフ−オフ」
から「オフ−オフ−オン」または「オン−オフ−オフ」
に変化した後の位置を前記第1のエッジとし、その後、
「オフ−オン−オン」または「オン−オン−オフ」に変
化した後の位置を前記第2のエッジとし、 前記エッジ検出ラインの画素がオンからオフに変わる場
合は、前記3つの画素の組合せが「オン−オン−オフ」
から「オン−オフ−オフ」または「オフ−オン−オン」
から「オフ−オフ−オン」に変化した変化前の位置を前
記第1のエッジとし、その後、「オフ−オフ−オフ」に
変化した変化前の位置を前記第2のエッジとし、 さらに、前記第1および第2のエッジの間に、前記第1
のエッジの変化後のパターンまたは前記第2のエッジの
パターン以外のものが検出されないときに、前記第1お
よび第2のエッジを有効とする処理を実行するための命
令を有するプログラム。
11. The method according to claim 10, wherein in the first detecting step, when the center of three pixels adjacent to each other in the first direction is an edge detection line, the pixel on the edge detection line is turned on from off. If it changes to, the combination of the three pixels is “off-off-off”.
To "Off-Off-On" or "On-Off-Off"
To the first edge after the change to
A position after changing to “off-on-on” or “on-on-off” is defined as the second edge, and when the pixel of the edge detection line changes from on to off, a combination of the three pixels Is "on-on-off"
To "On-Off-Off" or "Off-On-On"
The position before the change from "OFF-OFF-ON" to the first edge, and the position before the change to "OFF-OFF-OFF" as the second edge, and Between the first and second edges, the first
A program having instructions for executing processing for validating the first and second edges when a pattern other than the pattern after the change of the edge or the pattern of the second edge is not detected.
【請求項12】 請求項9において、前記第1の追加工
程では、前記第3および第4のエッジを結ぶ直線を超え
ない範囲のエッジを追加する処理を実行するための命令
を有するプログラム。
12. The program according to claim 9, wherein in the first adding step, an instruction is added to execute a process of adding an edge in a range not exceeding a straight line connecting the third and fourth edges.
【請求項13】 請求項9において、前記第2のビット
マップが、前記第2の方向の解像度も向上しているとき
は、 前記第1のビットマップから、前記第1の方向に現れる
第5および第6のエッジを検出する第2の検出工程と、 前記第5および第6のエッジにそれぞれ対応する前記第
2のビットマップの第7および第8のエッジの間に、こ
れら第7および第8のエッジを補間するように前記第2
の方向に伸びたエッジを追加する第2の追加工程とを実
行するための命令を有するプログラム。
13. The method according to claim 9, wherein when the second bitmap also has improved resolution in the second direction, the fifth bitmap appears in the first direction from the first bitmap. And a second detection step of detecting a sixth edge, and between the seventh and eighth edges of the second bitmap corresponding to the fifth and sixth edges, respectively. The second to interpolate 8 edges
A second additional step of adding an edge extending in the direction of.
【請求項14】 請求項13において、前記第2の検出
工程では、前記第2の方向に隣接する3つの画素を前記
第1の方向に走査し、前記第5および第6のエッジを検
出する処理を実行するための命令を有するプログラム。
14. The method according to claim 13, wherein in the second detecting step, three pixels adjacent to each other in the second direction are scanned in the first direction to detect the fifth and sixth edges. A program having instructions for performing a process.
【請求項15】 請求項14において、前記第2の検出
工程では、前記第2の方向に隣接する3つの画素の中央
をエッジ検出ラインとしたときに、 そのエッジ検出ラインの画素がオフからオンに変わる場
合は、前記3つの画素の組合せが「オフ−オフ−オフ」
から「オフ−オフ−オン」または「オン−オフ−オフ」
に変化した後の位置を前記第5のエッジとし、その後、
「オフ−オン−オン」または「オン−オン−オフ」に変
化した後の位置を前記第6のエッジとし、 前記エッジ検出ラインの画素がオンからオフに変わる場
合は、前記3つの画素の組合せが「オン−オン−オフ」
から「オン−オフ−オフ」または「オフ−オン−オン」
から「オフ−オフ−オン」に変化した変化前の位置を前
記第5のエッジとし、その後、「オフ−オフ−オフ」に
変化した変化前の位置を前記第6のエッジとし、 さらに、前記第5および第6のエッジの間に、前記第5
のエッジの変化後のパターンまたは前記第6のエッジの
パターン以外のものが検出されないときに、前記第5お
よび第6のエッジを有効とする処理を実行するための命
令を有するプログラム。
15. The method according to claim 14, wherein in the second detecting step, when the center of three pixels adjacent to each other in the second direction is an edge detection line, the pixel on the edge detection line is turned on from off. If it changes to, the combination of the three pixels is “off-off-off”.
To "Off-Off-On" or "On-Off-Off"
To the fifth edge after the change to
A position after changing to “off-on-on” or “on-on-off” is defined as the sixth edge, and when the pixel of the edge detection line changes from on to off, a combination of the three pixels Is "on-on-off"
To "On-Off-Off" or "Off-On-On"
To the "off-off-on" before the change position is the fifth edge, then the "off-off-off" before the change position is the sixth edge, further, Between the fifth and sixth edges, said fifth
A program having instructions for executing processing for validating the fifth and sixth edges when a pattern other than the pattern after the change of the edge or the pattern of the sixth edge is not detected.
【請求項16】 請求項13において、前記第2の追加
工程では、前記第7および第8のエッジを結ぶ直線を超
えない範囲のエッジを追加する処理を実行するための命
令を有するプログラム。
16. The program according to claim 13, wherein in the second adding step, an instruction is added to execute a process of adding an edge in a range not exceeding a straight line connecting the seventh and eighth edges.
【請求項17】 画像を形成する複数の画素が2次元に
配列された第1のビットマップから、第1の方向の解像
度を上げた第2のビットマップを作成するビットマップ
作成装置であって、 前記第1のビットマップから、前記第1の方向と直交す
る第2の方向に現れる第1および第2のエッジを検出す
る第1の検出手段と、 前記第1および第2のエッジにそれぞれ対応する前記第
2のビットマップの第3および第4のエッジの間に、こ
れら第3および第4のエッジを補間するように前記第1
の方向に伸びたエッジを追加する第1の追加手段とを有
するビットマップ作成装置。
17. A bitmap creation device for creating a second bitmap having a higher resolution in a first direction from a first bitmap in which a plurality of pixels forming an image are two-dimensionally arranged. , First detecting means for detecting first and second edges appearing in a second direction orthogonal to the first direction from the first bit map, and to the first and second edges, respectively. Between the third and fourth edges of the corresponding second bitmap, the first and second edges are arranged to interpolate the third and fourth edges.
And a first adding means for adding an edge extending in the direction.
【請求項18】 請求項17において、前記第1の検出
手段は、前記第1の方向に隣接する3つの画素を前記第
2の方向に走査し、前記第1および第2のエッジを検出
する、ビットマップ作成装置。
18. The method according to claim 17, wherein the first detecting means scans three pixels adjacent to each other in the first direction in the second direction to detect the first and second edges. , Bitmap creation device.
【請求項19】 請求項17において、前記第1の追加
手段は、前記第3および第4のエッジを結ぶ直線を超え
ない範囲でエッジを追加する、ビットマップ作成装置。
19. The bitmap generation device according to claim 17, wherein the first adding unit adds an edge within a range not exceeding a straight line connecting the third and fourth edges.
【請求項20】 請求項17において、前記第2のビッ
トマップは、前記第2の方向の解像度も上がっており、 さらに、前記第1のビットマップから、前記第1の方向
に現れる第5および第6のエッジを検出する第1の検出
手段と、 前記第5および第6のエッジにそれぞれ対応する前記第
2のビットマップの第7および第8のエッジの間に、こ
れら第7および第8のエッジを補間するように前記第2
の方向に伸びたエッジを追加する第2の追加手段とを有
するビットマップ作成装置。
20. The resolution according to claim 17, wherein the second bitmap also has a higher resolution in the second direction, and further, the fifth and fifth appearing in the first direction from the first bitmap. Between the first detecting means for detecting the sixth edge and the seventh and eighth edges of the second bitmap corresponding to the fifth and sixth edges, respectively, the seventh and eighth edges are provided. The second to interpolate the edges of
And a second adding means for adding an edge extending in the direction.
【請求項21】 請求項20において、前記第2の追加
手段は、前記第7および第8のエッジを結ぶ直線を超え
ない範囲のエッジを追加するビットマップ作成装置。
21. The bitmap creation device according to claim 20, wherein the second adding unit adds an edge in a range not exceeding a straight line connecting the seventh and eighth edges.
JP2002361327A 2002-12-12 2002-12-12 Method for generating bit map Pending JP2003230003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002361327A JP2003230003A (en) 2002-12-12 2002-12-12 Method for generating bit map

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002361327A JP2003230003A (en) 2002-12-12 2002-12-12 Method for generating bit map

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001286503 Division 2001-09-20 2001-09-20

Publications (1)

Publication Number Publication Date
JP2003230003A true JP2003230003A (en) 2003-08-15

Family

ID=27751493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002361327A Pending JP2003230003A (en) 2002-12-12 2002-12-12 Method for generating bit map

Country Status (1)

Country Link
JP (1) JP2003230003A (en)

Similar Documents

Publication Publication Date Title
JP3971748B2 (en) How to create a bitmap
JP5209953B2 (en) Image data supply apparatus and image data supply method
JPH06233120A (en) Blue noise type method for usage in half-tone tile type screener and for masking screener-induced badness of picture
JP5202281B2 (en) Image processing apparatus and image processing method
JP4510847B2 (en) Image processing apparatus and image processing program
JP2006011967A (en) Character recognition device and character recognition program
JP3952188B2 (en) Image interpolation apparatus, image interpolation method, and image interpolation program
US20060119897A1 (en) Output apparatus and program thereof
JP4644098B2 (en) Image forming apparatus and image forming program
JP2003230003A (en) Method for generating bit map
JP2013026865A (en) Image processing apparatus and image processing method
JP2004299104A (en) Image data processor and image forming apparatus
JPH07143332A (en) Processing method for magnification of image data
JP3850661B2 (en) Smoothing expansion device
JP4379571B2 (en) Image processing apparatus and image processing method
JP3294249B2 (en) Image processing device
JP4517288B2 (en) Image processing apparatus, image processing method, and program thereof
JP2788554B2 (en) Image processing method and apparatus
JP2640591B2 (en) How to create a border image
JP4517287B2 (en) Image processing apparatus, image processing method, and program thereof
JP3359361B2 (en) Enlargement printing device
JP3567727B2 (en) Image processing method and apparatus
JP3514895B2 (en) Image expansion processing method and apparatus
JP6016483B2 (en) Image processing apparatus, image forming method, and program
JP4644099B2 (en) Image forming apparatus