JP4376372B2 - Image development processing method - Google Patents

Image development processing method Download PDF

Info

Publication number
JP4376372B2
JP4376372B2 JP27749599A JP27749599A JP4376372B2 JP 4376372 B2 JP4376372 B2 JP 4376372B2 JP 27749599 A JP27749599 A JP 27749599A JP 27749599 A JP27749599 A JP 27749599A JP 4376372 B2 JP4376372 B2 JP 4376372B2
Authority
JP
Japan
Prior art keywords
axis direction
value
dots
coordinate
vector data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP27749599A
Other languages
Japanese (ja)
Other versions
JP2001101434A (en
Inventor
英夫 野田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mutoh Industries Ltd
Original Assignee
Mutoh Industries 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 Mutoh Industries Ltd filed Critical Mutoh Industries Ltd
Priority to JP27749599A priority Critical patent/JP4376372B2/en
Publication of JP2001101434A publication Critical patent/JP2001101434A/en
Application granted granted Critical
Publication of JP4376372B2 publication Critical patent/JP4376372B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Generation (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、ベクタデータを点列(ラスタ)データへ展開する画像展開処理方法に関し、特にDDA(Digital Differential Analyzer)アルゴリズムを使用して千鳥配列上にドットを形成する画像展開処理方法に関する。
【0002】
【従来の技術】
ベクタデータで表現された直線データをラスタデータへ展開するためのDDAアルゴリズムを用いた画像展開処理方法は、プリンタ及びディスプレイ装置等に広く使用されている。一般的なDDAアルゴリズムとしては、実数型のデータ演算を伴わず乗除算が不要な Bresenham のDDAアルゴリズムが良く知られている。このアルゴリズムは、直線の描画を例にとると、両端点P1,P2の座標値(x1,y1),(x2,y2)が与えられたとき、両端点P1,P2間のX軸方向の距離と、Y軸方向の距離とを比較して、その絶対値が大きい方の軸の座標値を1つずつ増加させながら、小さい方の軸の座標に短軸長さを余りとして累積加算していき、その余りが長軸長さを超えたらキャリーを出力して短軸方向のドット形成位置を1つ変化させるという処理を逐次実行するものである。
【0003】
出力画像の解像度を上げるためには、ビットマップ展開密度を高めればよいが、解像度を単純に通常の2倍とすると、ビットマップメモリの容量を通常の4倍にしなければならず、しかも描画時間が通常の4倍になってしまう。また、インクジェット方式の出力装置においては、ドット密度が高くなった分だけ、塗り潰し等の部分で、インクの過多による流れ、すれ、乾きの遅れ、及び用紙のふやけ等の問題が生じる。
【0004】
そこで、通常のドットに加え、縦横に半ピッチ分だけずれた位置に補間ドットを形成し、出力の際には、主ドットに対して補間ドットのタイミング及び紙送りタイミングをそれぞれ半ピッチずつずらすことにより、メモリ容量及び描画時間共に2倍に抑えるようにした千鳥擬似倍精度DDA方式も提案されている(特開平4−320862号)。
【0005】
図10は、この千鳥擬似倍精度DDA方式を実現する方法を示すフローチャートである。
いま、例えば720dpi単位の座標系で(13,5)というベクタをDDAする場合、座標系を2倍して1440dpiの座標系を生成し、この座標系の上で倍精度のベクタ(26,10)のDDAを実行し、千鳥配列上にドットが位置する場合のみドットを形成する。図10の処理では、演算ベースを通常の2倍の数値でおこなっている。フローチャートを参照すると、まず、x,yの初期値をx=0,y=0とし、処理の簡単化のために、余りrが0以上になったときにキャリーを発生させるべく、余りrの初期値をベクタの長軸値の半分の2倍、即ち−X=−26とする(S1)。次に、x,yにドットを形成したのち(S2)、xが長軸値Xに達するまで(S3)xのインクリメントと短軸値Yの2倍値を余りrへ累積する処理とを実行する(S4)。もし、余りrが0以上になったら(S5)、余りrから長軸値Xの2倍を減算し、yを1つ加算して(S6)x,yを出力する(S2)。このように、短軸方向の座標値yの更新をここではキャリー発生と呼ぶ。
【0006】
この処理を実行すると、図11に示すような結果となる。この図でcarryがYESになっている座標は、キャリーが発生して斜め方向の座標値(XもYも共に増加する)を生成する。on Gridの欄は、千鳥倍精度のグリッドに乗るかどうかを表している。図4(b)は、これをプロットした結果を示している。図中●は千鳥配列に乗っているドット、○は千鳥配列に乗っていないドットをそれぞれ示している。実際のドットは、●で示した位置にのみ形成される。
【0007】
【発明が解決しようとする課題】
上述した従来の千鳥配列型の画像展開処理方法では、長軸方向に2ドット以上連続してドットが形成されない部分が現れる。この傾向は、傾きが45゜に近くなると、より顕著に現れる。図12及び図6(b)は、単精度ベクトル(13,12)、倍精度ベクトル(26,24)の場合のDDA処理結果と、そのプロット結果をそれぞれ示している。これらの図から明らかなように、直線の傾きが45゜に近づくと、途中のドットが極端に消失してしまう。
【0008】
このようなドットの消失は線分形状を著しく損なう。また、ドットが連続して消失すると、図形内部の塗りつぶし処理の起点を与えるドットが形成されないので、塗りつぶし処理が複雑になるという問題がある。
【0009】
この発明はこのような問題点に鑑みなされたもので、千鳥配列上にドットを形成する擬似倍精度DDA処理において、ドットの欠落を生じることがなく、線分形状を損なうことがない画像展開処理方法を提供することを目的とする。
【0010】
【課題を解決するための手段】
本願に係る画像展開処理方法は、CPU及びバンドメモリを有するシステムにベクタデータを入力し、前記CPUにてこのベクトルデータによって特定される直交座標系の第1軸方向の各座標値に対し、前記ベクトルデータの傾き相当値を蓄積し、その蓄積量が所定値を超えた時点で前記直交座標系の第2軸方向の座標値を1つ変化させると共に前記蓄積量から所定値を減算することにより前記ベクトルデータに沿ってドットを形成し、前記バンドメモリの座標領域上に前記ドットにより構成されるラスタデータの画像を展開していくDDA処理による画像展開処理方法において、前記CPUが、前記直交座標系の第1軸方向及び第2軸方向の精度がそれぞれ倍となる直交座標系で前記入力されたベクトルデータに基づく前記DDA処理を実行し、前記ベクトルデータの傾き相当値の蓄積量が前記所定値を超えるか否かを判定して、前記蓄積量が前記所定値を超えた際に、前記第2軸方向の座標値を1つ変化させる前のドット位置が前記第1軸方向及び第2軸方向の座標値を加算したとき偶数となる千鳥配列上にないときに限り、前記第2軸方向へ座標値を1つ変換させるようにして前記ベクトルデータに沿ってドットを形成し、前記バンドメモリの座標領域上に前記ラスタデータの画像を展開するようにしたことを特徴とする。
【0011】
本発明によれば、第2軸方向への座標値変化(キャリー発生)を伴う際に、その第2軸方向へ座標値を変化させる前にそのドット形成位置が千鳥配列上にあるかどうかを判定し、千鳥配列上にない場合に限り、第2軸方向へ座標値を変化させるようにしているので、あらたに形成される座標値は、必ず千鳥配列上に存在することになる。また、キャリーが発生していないときには、ドットは水平又は垂直方向に連続して形成され、この場合には、ドットが必ず1つおきに千鳥配列上に形成される。キャリー発生前にドットが千鳥配列上に形成されていない場合でも、キャリー発生時には、次のドットは必ず千鳥配列上に形成されるので、欠落ドットが2つ以上続くことがない。このため、本発明によれば、ドットの欠落を生じることがなく、線分形状を損なうことがない。
【0012】
【発明の実施の形態】
以下、図面を参照して、この発明の実施例を説明する。
図1は、本発明の一実施例に係る画像展開処理方法を実現するインクジェットプリントシステムの構成を示すブロック図である。
このシステムは、ホストコンピュータ1とインクジェットプリンタ2とにより構成されている。インクジェットプリンタ2は、ホストコンピュータ1とのインタフェース11と、CPU12と、バンドメモリ13と、インクジェットヘッド14とを備えている。ホストコンピュータ1から与えられるベクトルデータは、インタフェース11を介してCPU12に与えられ、ここでDDA処理されてラスタデータに変換されバンドメモリ13に展開される。バンドメモリ13に展開されたラスタデータは、インクジェットヘッド14に送られて印字処理に供される。
【0013】
図2は、この実施例に係る直線DDA処理を説明するためのフローチャートである。ここで、Xはベクトルデータの長軸値、Yはベクトルデータの短軸値、xは長軸現在位置、yは短軸現在位置、rは余り(蓄積量)である。
図2のDDA処理は、図10のDDA処理と基本は同じであるが、図10の処理と異なる点は、図10のステップS5と、図1のステップS11である。ステップS5では、余りrが0以上のときに、無条件にキャリー発生処理(S6)を実行したが、本実施例のシステムでは、余りrが0以上で、且つx+yが奇数(x+y+1が偶数)であるときのみ、つまり現在位置が千鳥格子上に乗っていないときのみキャリー発生処理(S6)を行うようにしている。これにより、形成されるドットは必ず千鳥格子上に乗ることになる。
【0014】
図11のDDA処理と同様にベクトルデータとして(13,5)、倍精度で(26,10)が与えられたときの処理結果を図3に示す。従来例(図11)と比較すると、従来例ではx=2でrが14となり0を超えるため、キャリーが発生してy=1となったが、結果的に生成されたドットはon Gridにはならなかった。このため、ドットが2回連続して欠落している。この点、図3に示した本実施例では、余りrが14になり0を超えた場合でも、X軸座標値とY軸座標値の加算値x+y=2+0=2が偶数であるために、キャリーは発生せず、Y軸座標値はy=0のままである。次のx=3では、x+y=3+0=3と奇数になるので、キャリーが発生し、y=1になる。この場合には、on Gridとなる。この処理では、図3から明らかなように、on Gridとならないドットが2つ以上連続することはない。
【0015】
図4(a)は、これをプロットした結果を示す図である。
この図から明らかなように、本実施例の画像展開方法では、欠落するドットが2以上続かないため、線分形状が損なわれない。これに対し、同図(b)に示した従来例は、ドットの欠落が2以上続く部分が4箇所も存在する。
図5は、図12に対応したベクトルデータ(13,12)、倍精度(26,24)のプロット例である。従来例では、x=8でキャリーが発生し、y=7となって、以後、連続的にドットが欠落したが、本実施例では、x=8で余りr=46となってもキャリーが発生せず、この結果、y=6が維持されてon Gridが保たれている。図6(a)が、これをプロットした結果である。この例では、同図(b)の従来例と顕著に違いが出てくる。従来例では、塗り潰し処理に支障を来したが、本実施例では塗り潰し処理も支障無く行える。
【0016】
図7は、円発生のDDA処理を示すフローチャートである。
円の場合、中心と半径Xが与えられ、1/8円が生成されれば、後はx,y変換及び対称点算出処理により全ての座標値が求められる。従って、図7の処理も1/8円を生成するアルゴリズムとなっている。
まず、x,yの初期値としてx=0,y=X=30を、余りrによるキャリー発生を0基準に設定すべく余りrの初期値をベクタの長軸値のマイナス値−X=−30とする(S21)。次に、x,yにドットを形成したのち(S22)、xがyと一致するまで(S23)、即ち傾きが45゜に達するまで、xのインクリメントと2x+1を余りrへ累積する処理とを実行する(S24)。もし、余りrが0以上になり、且つx+yが奇数になったら(S25)、余りrから2y−1を減算し、yを1つ減算して(S26)x,yを出力する(S22)。
【0017】
以上の処理結果を図8に示す。この処理結果からも明らかなように、x=9のときに余りr=10であり、これは0を超えているが、x+y=9+29=38であるためにキャリーは発生せず、この結果、on Gridを維持している。
このプロット結果は、図9(a)のようになる。ちなみに、図9(b)は従来処理によるプロット結果である。本実施例の方法がいかに線分形状を損ねていないかが明らかである。
【0018】
【発明の効果】
以上述べたようにこの発明によれば、第2軸方向への座標値変化(キャリー発生)を伴う際に、その第2軸方向へ座標値を変化させる前にそのドット形成位置が千鳥配列上にあるかどうかを判定し、千鳥配列上にない場合に限り、第2軸方向へ座標値を変化させるようにしているので、あらたに形成される座標値は、必ず千鳥配列上に存在することになり、ドットの欠落を防止して線分形状が良好になるという効果を奏する。
【図面の簡単な説明】
【図1】 この発明の一実施例に係るインクジェットプリントシステムのブロック図である。
【図2】 同システムを使用した本発明の一実施例に係る直線生成DDAアルゴリズムを示すフローチャートである。
【図3】 同DDAアルゴリズムに基づくドット形成処理結果を示す図である。
【図4】 同ドット形成処理によってプロットしたドットを従来法により形成したドットと比較して示す図である。
【図5】 同DDAアルゴリズムに基づくドット形成処理結果を示す図である。
【図6】 同ドット形成処理によってプロットしたドットを従来法により形成したドットと比較して示す図である。
【図7】 同システムを使用した本発明の一実施例に係る円生成DDAアルゴリズムを示すフローチャートである。
【図8】 同DDAアルゴリズムに基づくドット形成処理結果を示す図である。
【図9】 同ドット形成処理によってプロットしたドットを従来法により形成したドットと比較して示す図である。
【図10】 従来のDDAアルゴリズムに基づくドット形成処理結果を示す図である。
【図11】 従来のDDAアルゴリズムに基づくドット形成処理結果を示す図である。
【図12】 従来のDDAアルゴリズムに基づくドット形成処理結果を示す図である。
【符号の説明】
1…ホストコンピュータ、2…インクジェットプリンタ、11…インタフェース、12…CPU、13…バンドメモリ、14…インクジェットヘッド。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image development processing method for developing vector data into point sequence (raster) data, and more particularly to an image development processing method for forming dots on a staggered array using a DDA (Digital Differential Analyzer) algorithm.
[0002]
[Prior art]
An image expansion processing method using a DDA algorithm for expanding linear data expressed by vector data into raster data is widely used in printers and display devices. As a general DDA algorithm, Bresenham's DDA algorithm that does not involve real number data calculation and does not require multiplication and division is well known. In this algorithm, taking a straight line as an example, when the coordinate values (x1, y1) and (x2, y2) of both end points P1, P2 are given, the distance in the X-axis direction between the end points P1, P2 And the distance in the Y-axis direction, increasing the coordinate value of the axis with the larger absolute value one by one, and cumulatively adding the minor axis length as the remainder to the coordinate of the smaller axis If the remainder exceeds the major axis length, a process of outputting a carry and changing the dot formation position in the minor axis direction by one is sequentially executed.
[0003]
In order to increase the resolution of the output image, it is sufficient to increase the bitmap development density. However, if the resolution is simply doubled as usual, the capacity of the bitmap memory must be increased to four times the normal, and the drawing time is increased. Will be 4 times the normal. In addition, in the ink jet output device, problems such as excessive flow of ink, blurring, delay in drying, and paper wiping occur in the portion where the dot density is increased due to the increased dot density.
[0004]
Therefore, in addition to normal dots, interpolation dots are formed at positions shifted by a half pitch vertically and horizontally, and when outputting, the timing of interpolation dots and the paper feed timing are shifted by half a pitch from the main dot, respectively. Therefore, a staggered pseudo double precision DDA system is also proposed in which both the memory capacity and the drawing time are suppressed (Japanese Patent Laid-Open No. 4-320862).
[0005]
FIG. 10 is a flowchart showing a method for realizing this staggered pseudo double precision DDA system.
For example, when DDA is performed on a vector of (13, 5) in a coordinate system of 720 dpi unit, a coordinate system of 1440 dpi is generated by doubling the coordinate system, and a double-precision vector (26, 10) is generated on this coordinate system. ) DDA is executed, and dots are formed only when the dots are positioned on the staggered arrangement. In the processing of FIG. 10, the calculation base is performed with a numerical value that is twice the normal value. Referring to the flowchart, first, the initial values of x and y are set to x = 0 and y = 0, and in order to simplify the process, when the remainder r becomes 0 or more, a carry is generated to generate a carry. The initial value is set to twice the half value of the vector, that is, -X = -26 (S1). Next, after forming dots at x and y (S2), until x reaches the major axis value X (S3), the process of incrementing x and the process of accumulating the double value of the minor axis value Y to the remainder r is executed. (S4). If the remainder r becomes 0 or more (S5), twice the major axis value X is subtracted from the remainder r, one y is added (S6), and x and y are output (S2). In this way, the update of the coordinate value y in the minor axis direction is referred to as carry generation here.
[0006]
When this process is executed, the result shown in FIG. 11 is obtained. In the figure, the coordinates for which carry is YES generate a coordinate value in the oblique direction (both X and Y increase) when a carry occurs. The on Grid column indicates whether or not to ride on a staggered double precision grid. FIG. 4B shows the result of plotting this. In the figure, ● indicates dots that are in a staggered arrangement, and ○ indicates dots that are not in a staggered arrangement. Actual dots are formed only at the positions indicated by ●.
[0007]
[Problems to be solved by the invention]
In the above-described conventional zigzag array type image development processing method, a portion in which dots are not continuously formed appears in the major axis direction. This tendency appears more prominently when the inclination is close to 45 °. FIG. 12 and FIG. 6B show the DDA processing results in the case of single-precision vectors (13, 12) and double-precision vectors (26, 24), and the plot results, respectively. As is clear from these figures, when the inclination of the straight line approaches 45 °, the dots on the way are extremely lost.
[0008]
Such disappearance of the dot significantly impairs the shape of the line segment. Further, when dots disappear continuously, there is a problem that the dot that gives the starting point of the painting process inside the figure is not formed, and the painting process becomes complicated.
[0009]
The present invention has been made in view of such problems, and in the pseudo double precision DDA processing for forming dots on a staggered array, image development processing that does not cause dot loss and does not impair line segment shape. It aims to provide a method.
[0010]
[Means for Solving the Problems]
In the image development processing method according to the present application, vector data is input to a system having a CPU and a band memory, and for each coordinate value in the first axis direction of the orthogonal coordinate system specified by the vector data by the CPU , By accumulating the slope equivalent value of the vector data, when the accumulated amount exceeds a predetermined value, the coordinate value in the second axis direction of the orthogonal coordinate system is changed by one and the predetermined value is subtracted from the accumulated amount In the image development processing method by DDA processing in which dots are formed along the vector data and the raster data image composed of the dots is developed on the coordinate area of the band memory , the CPU has the orthogonal coordinates The DDA processing based on the input vector data is performed in an orthogonal coordinate system in which the accuracy in the first axis direction and the second axis direction of the system is doubled. And determining whether or not the accumulated amount of the value corresponding to the gradient of the vector data exceeds the predetermined value. When the accumulated amount exceeds the predetermined value, the coordinate value in the second axis direction is set to 1 One coordinate value is converted in the second axis direction only when the dot position before the change is not on the staggered array that is even when the coordinate values in the first axis direction and the second axis direction are added. In this manner, dots are formed along the vector data, and the raster data image is developed on the coordinate area of the band memory .
[0011]
According to the present invention, when coordinate value change (carry occurrence) in the second axis direction is accompanied, it is determined whether the dot formation position is on the staggered arrangement before changing the coordinate value in the second axis direction. Since the coordinate value is changed in the second axis direction only when it is determined and not on the staggered array, the newly formed coordinate value always exists on the staggered array. When no carry occurs, dots are formed continuously in the horizontal or vertical direction. In this case, every other dot is always formed on a staggered arrangement. Even if the dots are not formed on the staggered array before the carry occurs, the next dot is always formed on the staggered array when the carry occurs, so that two or more missing dots do not continue. For this reason, according to the present invention, no missing dot occurs and the line segment shape is not impaired.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of an inkjet printing system that realizes an image development processing method according to an embodiment of the present invention.
This system includes a host computer 1 and an ink jet printer 2. The inkjet printer 2 includes an interface 11 with the host computer 1, a CPU 12, a band memory 13, and an inkjet head 14. Vector data given from the host computer 1 is given to the CPU 12 via the interface 11, where it is DDA processed, converted into raster data, and developed in the band memory 13. The raster data developed in the band memory 13 is sent to the inkjet head 14 and used for printing processing.
[0013]
FIG. 2 is a flowchart for explaining the straight line DDA processing according to this embodiment. Here, X is the long axis value of the vector data, Y is the short axis value of the vector data, x is the long axis current position, y is the short axis current position, and r is the remainder (accumulated amount).
The DDA process of FIG. 2 is basically the same as the DDA process of FIG. 10, but differs from the process of FIG. 10 in step S5 of FIG. 10 and step S11 of FIG. In step S5, the carry generation process (S6) is executed unconditionally when the remainder r is 0 or more. However, in the system of this embodiment, the remainder r is 0 or more and x + y is an odd number (x + y + 1 is an even number). Only when the current position is not on the staggered pattern, the carry generation process (S6) is performed. As a result, the dots to be formed are always on the houndstooth.
[0014]
FIG. 3 shows a processing result when (13, 5) is given as vector data and (26, 10) is given in double precision as in the DDA processing of FIG. Compared to the conventional example (FIG. 11), in the conventional example, since x = 2 and r is 14 and exceeds 0, a carry occurs and y = 1. However, as a result, the generated dots are turned on grid. I didn't. For this reason, dots are missing twice consecutively. In this respect, in the present embodiment shown in FIG. 3, even when the remainder r is 14 and exceeds 0, the added value x + y = 2 + 0 = 2 of the X-axis coordinate value and the Y-axis coordinate value is an even number. No carry occurs and the Y-axis coordinate value remains y = 0. At the next x = 3, since x + y = 3 + 0 = 3, which is an odd number, a carry occurs and y = 1. In this case, it is on Grid. In this process, as is apparent from FIG. 3, two or more dots that do not become on grid do not continue.
[0015]
FIG. 4A shows the result of plotting this.
As is apparent from this figure, in the image development method of the present embodiment, since the missing dots do not continue two or more, the line segment shape is not impaired. On the other hand, in the conventional example shown in FIG. 4B, there are four portions where the missing dots continue two or more.
FIG. 5 is a plot example of vector data (13, 12) and double precision (26, 24) corresponding to FIG. In the conventional example, a carry occurs when x = 8, and y = 7. Thereafter, dots are continuously lost. However, in this embodiment, even if x = 8 and the remainder r = 46, the carry occurs. As a result, y = 6 is maintained and on Grid is maintained. FIG. 6A shows the result of plotting this. This example is significantly different from the conventional example in FIG. In the conventional example, the filling process is hindered, but in the present embodiment, the filling process can be performed without any trouble.
[0016]
FIG. 7 is a flowchart showing a DDA process for generating a circle.
In the case of a circle, if a center and a radius X are given and a 1/8 circle is generated, all coordinate values are obtained by x, y conversion and symmetry point calculation processing. Therefore, the process of FIG. 7 is also an algorithm for generating 1/8 circle.
First, x = 0, y = X = 30 are set as initial values of x and y, and the initial value of the remainder r is set to a negative value of the major axis value of the vector −X = − 30 (S21). Next, after forming dots at x and y (S22), the process of incrementing x and accumulating 2x + 1 to the remainder r until x matches y (S23), that is, until the inclination reaches 45 °. Execute (S24). If the remainder r becomes 0 or more and x + y becomes an odd number (S25), 2y-1 is subtracted from the remainder r, y is subtracted by 1 (S26), and x and y are output (S22). .
[0017]
The above processing results are shown in FIG. As apparent from this processing result, when x = 9, the remainder is r = 10, which exceeds 0. However, since x + y = 9 + 29 = 38, no carry occurs, and as a result, On Grid is maintained.
The plot result is as shown in FIG. Incidentally, FIG. 9B is a plot result by the conventional processing. It is clear how the method of this embodiment does not impair the line segment shape.
[0018]
【The invention's effect】
As described above, according to the present invention, when a coordinate value change (carry occurs) in the second axis direction is accompanied, the dot formation position on the staggered arrangement is changed before the coordinate value is changed in the second axis direction. Since the coordinate value is changed in the second axis direction only when it is not on the staggered array, the newly formed coordinate value must be on the staggered array. Thus, the dot segment is prevented from being lost and the line segment shape is improved.
[Brief description of the drawings]
FIG. 1 is a block diagram of an ink jet printing system according to an embodiment of the present invention.
FIG. 2 is a flowchart showing a straight line generation DDA algorithm according to an embodiment of the present invention using the system.
FIG. 3 is a diagram showing a dot formation processing result based on the DDA algorithm.
FIG. 4 is a diagram showing dots plotted by the dot formation processing in comparison with dots formed by a conventional method.
FIG. 5 is a diagram showing a dot formation processing result based on the DDA algorithm.
FIG. 6 is a diagram showing dots plotted by the dot forming process compared with dots formed by a conventional method.
FIG. 7 is a flowchart showing a circle generation DDA algorithm according to an embodiment of the present invention using the system.
FIG. 8 is a diagram showing a dot formation processing result based on the DDA algorithm.
FIG. 9 is a diagram showing a comparison of dots plotted by the dot formation process with dots formed by a conventional method.
FIG. 10 is a diagram showing a dot formation processing result based on a conventional DDA algorithm.
FIG. 11 is a diagram illustrating a dot formation processing result based on a conventional DDA algorithm.
FIG. 12 is a diagram showing a dot formation processing result based on a conventional DDA algorithm.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Host computer, 2 ... Inkjet printer, 11 ... Interface, 12 ... CPU, 13 ... Band memory, 14 ... Inkjet head.

Claims (1)

CPU及びバンドメモリを有するシステムにベクトルデータを入力し、前記CPUにてこのベクトルデータによって特定される直交座標系の第1軸方向の各座標値に対し、前記ベクトルデータの傾き相当値を蓄積し、その蓄積量が所定値を超えた時点で前記直交座標系の第2軸方向の座標値を1つ変化させると共に前記蓄積量から所定値を減算することにより前記ベクトルデータに沿ってドットを形成し、前記バンドメモリの座標領域上に前記ドットにより構成されるラスタデータの画像を展開していくDDA処理による画像展開処理方法において、
前記CPUが、前記直交座標系の第1軸方向及び第2軸方向の精度がそれぞれ倍となる直交座標系で前記入力されたベクトルデータに基づく前記DDA処理を実行し、前記ベクトルデータの傾き相当値の蓄積量が前記所定値を超えるか否かを判定して、前記蓄積量が前記所定値を超えた際に、前記第2軸方向の座標値を1つ変化させる前のドット位置が前記第1軸方向及び第2軸方向の座標値を加算したとき偶数となる千鳥配列上にないときに限り、前記第2軸方向へ座標値を1つ変換させるようにして前記ベクトルデータに沿ってドットを形成し、前記バンドメモリの座標領域上に前記ラスタデータの画像を展開するようにし
ことを特徴とする画像展開処理方法。
Vector data is input to a system having a CPU and a band memory, and an inclination equivalent value of the vector data is accumulated for each coordinate value in the first axis direction of the orthogonal coordinate system specified by the vector data by the CPU. When the accumulated amount exceeds a predetermined value, the coordinate value in the second axis direction of the orthogonal coordinate system is changed by one and a predetermined value is subtracted from the accumulated amount to form dots along the vector data. In the image development processing method by DDA processing for developing an image of raster data constituted by the dots on the coordinate area of the band memory ,
The CPU executes the DDA processing based on the input vector data in an orthogonal coordinate system in which the accuracy in the first axis direction and the second axis direction of the orthogonal coordinate system is doubled, and corresponds to the inclination of the vector data It is determined whether the accumulated amount of the value exceeds the predetermined value, and when the accumulated amount exceeds the predetermined value, the dot position before changing the coordinate value in the second axis direction by one is the Only when the coordinate values in the first axis direction and the second axis direction are not on the zigzag array that is an even number, the coordinate data is converted into one in the second axis direction along the vector data. An image expansion processing method characterized in that dots are formed and the image of the raster data is expanded on the coordinate area of the band memory .
JP27749599A 1999-09-29 1999-09-29 Image development processing method Expired - Fee Related JP4376372B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27749599A JP4376372B2 (en) 1999-09-29 1999-09-29 Image development processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27749599A JP4376372B2 (en) 1999-09-29 1999-09-29 Image development processing method

Publications (2)

Publication Number Publication Date
JP2001101434A JP2001101434A (en) 2001-04-13
JP4376372B2 true JP4376372B2 (en) 2009-12-02

Family

ID=17584403

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27749599A Expired - Fee Related JP4376372B2 (en) 1999-09-29 1999-09-29 Image development processing method

Country Status (1)

Country Link
JP (1) JP4376372B2 (en)

Also Published As

Publication number Publication date
JP2001101434A (en) 2001-04-13

Similar Documents

Publication Publication Date Title
WO2003032256A1 (en) Method of preparing bit map
JP3238580B2 (en) Thicker text generator
JPH01195063A (en) Lateral magnifying device of bit map font
JP4376372B2 (en) Image development processing method
KR0142162B1 (en) Character generating method and apparatus
JPH089242B2 (en) Dot printer printing method
JP4376371B2 (en) Circle expansion processing method
WO2001064448A1 (en) Image correction method and image correction device
JP4369995B2 (en) Method and apparatus for draft printing
JPH0263854A (en) Output device
JP3029135B2 (en) Character processing apparatus and method
JP4376011B2 (en) Font enlargement apparatus and method, and printing apparatus and method
JP6168757B2 (en) Image data output apparatus, image forming apparatus, image data output apparatus control method, and image forming apparatus control method
JP2858443B2 (en) High density image forming method and its output device
JP3055306B2 (en) Data output device
KR940001106B1 (en) Image processing method and apparatus therefor
JP3057963B2 (en) Data converter
JP2614319B2 (en) Pixel number conversion method
JPH0511736A (en) Character pattern output device
JP3496381B2 (en) Line drawing device
JP2841631B2 (en) Data converter
JPH02291016A (en) Character dot pattern signal generator
JP2748715B2 (en) Dot line width correction device
JPH04250496A (en) Data converter
JP3075247B2 (en) Color electrophotographic printing equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060602

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20070820

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090602

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090731

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090901

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090909

R150 Certificate of patent or registration of utility model

Ref document number: 4376372

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120918

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120918

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20120918

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20130918

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees