[go: up one dir, main page]

JPH09120450A - Image processor - Google Patents

Image processor

Info

Publication number
JPH09120450A
JPH09120450A JP7278058A JP27805895A JPH09120450A JP H09120450 A JPH09120450 A JP H09120450A JP 7278058 A JP7278058 A JP 7278058A JP 27805895 A JP27805895 A JP 27805895A JP H09120450 A JPH09120450 A JP H09120450A
Authority
JP
Japan
Prior art keywords
area
point
line
refraction
image processing
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
JP7278058A
Other languages
Japanese (ja)
Inventor
Hitoshi Nakamura
仁 中村
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP7278058A priority Critical patent/JPH09120450A/en
Priority to US08/736,605 priority patent/US5831635A/en
Publication of JPH09120450A publication Critical patent/JPH09120450A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Image Generation (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent an inflection point from being imaged unnaturally when two adjacent lines having an acute angle and a thick line are to be drawn. SOLUTION: When the start point, >=1 inflection point, end point, and width of the thick line are specified through a display and coordinate indication part, an area signal generation part 209 of an image processing part 102 generates an area signal for a quadrangular area so that the start and end point are in the center of the quadrangular area in the width direction and the inflection points are vertexes of the quadrangular area according to adjacent straight lines and a direction of rotation. The area signal generation part 209 also generates an are making the inflection points smooth, generates and stores the horizontal-scanning directional start point position and end point position of one area including a quadrangular area adjusting to the area, and generates an area signal which becomes active between the start point position and end point position.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、入力した太い線の
始点、1以上の屈折点、終点及び幅に基づいて始点と屈
折点を結ぶ直線、屈折点と屈折点を結ぶ直線、及び屈折
点と終点を結ぶ直線と入力幅に応じた複数の四角形領域
を作成することにより太い線を描画する画像処理装置に
関する。
TECHNICAL FIELD The present invention relates to a straight line connecting a start point and a refraction point, a straight line connecting a refraction point and a refraction point based on a start point, one or more refraction points, an end point and a width of an input thick line. The present invention relates to an image processing device that draws a thick line by creating a plurality of quadrilateral regions corresponding to an input width and a straight line connecting the end point.

【0002】[0002]

【従来の技術】一般に、図29(a)に示すように原稿
301に対して座標指示部から任意の領域302が指定
された場合、指定領域内と指定領域外を区別する領域信
号を発生するために原稿1ドットに対してメモリ1ビッ
ト又は数ビットが対応するビットマップメモリが用いら
れる。この場合、エリアの情報量に応じてビットマップ
メモリの容量が増加して原稿1ドットに対してメモリの
数ビットが必要になり、例えばエリアの情報を16個と
すると原稿1ドットに対して4ビットが必要になる。
2. Description of the Related Art Generally, as shown in FIG. 29A, when an arbitrary area 302 is designated on a document 301 by a coordinate designating section, an area signal for discriminating the inside of the designated area and the outside of the designated area is generated. Therefore, a bit map memory in which one bit or several bits of memory correspond to one dot of the original is used. In this case, the capacity of the bit map memory increases in accordance with the amount of information in the area, and several bits of the memory are required for one dot of the original document. You need a bit.

【0003】ビットマップメモリに領域情報を記憶する
方法としては、例えば図29(b)に示すようにエリア
の主走査方向の始点位置と終点位置のデータ303をメ
モリに書き込み、ハードウエア処理により図29(c)
に示すように始点位置と終点位置の間でアクティブにな
る領域信号を発生する方法が知られている。具体的には
エリアとして「1」の情報を持つデータをビットマップ
メモリに記憶する場合、図29(b)に示すように始点
位置と終点位置に対して「1」が記憶され、この記憶デ
ータが読み出されると図29(c)に示すように各ライ
ン毎の領域信号が始点位置でLからHになり、終点位置
でHからLになるので、例えば塗り潰しを行うことがで
きる。
As a method of storing the area information in the bit map memory, for example, as shown in FIG. 29B, the data 303 of the starting point position and the ending point position of the area in the main scanning direction is written in the memory, and the hardware processing is performed. 29 (c)
There is known a method of generating an area signal which becomes active between a start point position and an end point position as shown in FIG. Specifically, when data having information of "1" as an area is stored in the bitmap memory, "1" is stored for the start point position and the end point position as shown in FIG. 29 (b). When is read out, the area signal for each line changes from L to H at the start point position and from H to L at the end point position, as shown in FIG.

【0004】また、図30(a)に示すように2つのエ
リア「1」、「2」が重なり(領域401)、且つエリ
ア「1」、「2」の加工内容が異なる場合、例えばエリ
ア「1」が塗りつぶし、エリア「2」が反転のような場
合には、ビットマップメモリには図30(b)に示すよ
うに各エリアの始点位置と終点位置の部分に加工内容を
示すデータが記憶される。そして、例えば図30(b)
に示す第n−4ラインのエリア「2」、「1」の領域信
号はそれぞれ図30(c)に示すように402、403
のような信号となる。また、重なり領域401において
エリア「2」の加工内容を優先すると重なり領域401
の区間405ではエリア「2」の加工内容を示す領域信
号404となる。
Further, as shown in FIG. 30A, when two areas "1" and "2" overlap (area 401) and the processing contents of the areas "1" and "2" are different, for example, the area " When "1" is filled and area "2" is reversed, the bitmap memory stores data indicating the processing content at the start point position and end point position of each area as shown in FIG. 30 (b). To be done. Then, for example, FIG.
Area signals “2” and “1” of the n−4th line shown in FIG.
It becomes a signal like. Further, in the overlapping area 401, when the processing content of the area “2” is given priority, the overlapping area 401
In the section 405, the area signal 404 indicates the processing content of the area “2”.

【0005】また、図31(a)に示すように領域50
1で重なる2つのエリア502、503の加工内容が同
一の場合には、ビットマップメモリには図31(b)に
示すように加工内容を区別できないように記憶される。
したがって、重なり領域505の区間では図31(c)
に示すように領域信号はHにならず、したがって、重な
り領域501は加工されなくなる。
In addition, as shown in FIG.
When the processing contents of the two areas 502 and 503 overlapping by 1 are the same, the processing contents are stored in the bitmap memory so that the processing contents cannot be distinguished as shown in FIG.
Therefore, in the section of the overlapping region 505, FIG.
The area signal does not become H as shown in FIG. 5, and therefore the overlapping area 501 is not processed.

【0006】このような領域信号を発生する装置におい
て太い線を描画する処理について説明する。例えば図3
2に示すような太いジグザグ線の場合、図33に示すよ
うにジグザグ線の各ストローク(図では5個)の輪郭を
領域と見なし、輪郭内を塗りつぶすことにより太い線を
描画することができる。この場合、図34において2本
のストロークの始点801、屈折点802及び終点80
3と太さWが入力するすると、屈折点を滑らかにするた
めに屈折点領域を図35(a)に示すように尖らせたり
(図示901)、図35(b)に示すように平らにカッ
トしたり(図示902)、図36(c)に示すように丸
める(図示903)加工を行う。
A process of drawing a thick line in a device that generates such a region signal will be described. For example, FIG.
In the case of a thick zigzag line as shown in FIG. 2, it is possible to draw a thick line by treating the contour of each stroke (five in the figure) of the zigzag line as a region and filling the inside of the contour as shown in FIG. In this case, in FIG. 34, the start point 801, the inflection point 802, and the end point 80 of the two strokes are shown.
When 3 and the thickness W are input, the refraction point area is sharpened as shown in FIG. 35 (a) (901) to make the refraction point smooth, or flattened as shown in FIG. 35 (b). It is cut (illustrated 902) or rolled (illustrated 903) as shown in FIG. 36C.

【0007】図36を参照して尖らせる処理を説明す
る。先ず、指定された3点を2本の直線で結ぶラインを
中心線とする2つの四角形領域により接続すると図36
に示すように2本の四角形領域の接続部分において重な
り領域1001を有する画像となる。この場合、接続部
分には前述したようにエリア信号が発生しないので空白
となるが、空白を修正する従来の方法としては、例えば
特公昭61−8434号公報、特開平6−168339
号公報に示すように単純に線の延長線の交点を求めた
り、計算することにより円形に塗りつぶして修正するよ
うにしている。
The sharpening process will be described with reference to FIG. First, when connecting by two quadrangular areas whose center lines are lines connecting the designated three points with two straight lines, FIG.
As shown in, the image has an overlapping area 1001 at the connecting portion of the two rectangular areas. In this case, since the area signal is not generated in the connection portion as described above, it becomes blank. As a conventional method for correcting the blank, for example, Japanese Patent Publication No. 61-8434 and JP-A-6-168339.
As shown in the publication, the intersection of the extended line is simply calculated or calculated so as to be filled with a circle to correct it.

【0008】また、この空白の上には凹部分1002が
発生するので図37に示すように2つの四角形領域の外
側の各直線1003の交点を求めることによりこの凹部
分1002を尖らせることができる。
Since a recess 1002 is formed on this blank, the recess 1002 can be sharpened by obtaining the intersection of each straight line 1003 outside the two quadrangular areas as shown in FIG. .

【0009】[0009]

【発明が解決しようとする課題】しかしながら、図37
に示すように2本の直線A−A’、B−B’の角度が鋭
い場合には、2つの四角形領域の外側の各直線の交点O
は指定点A’、Bよりかなり離れることになり、不自然
な画像になるという問題点がある。
However, as shown in FIG.
When two straight lines AA ′ and BB ′ have sharp angles, as shown in FIG.
Is far from the designated points A ′ and B, which causes an unnatural image.

【0010】また、屈折点を滑らかにするために屈折点
領域を新たに作成すると、各領域の領域の主走査方向の
始点位置と終点位置を記憶して領域信号を発生する場合
に空白が発生するという問題点がある。
Further, when a new refraction point area is created in order to make the refraction point smooth, a blank occurs when the start point position and the end point position of each area in the main scanning direction are stored and an area signal is generated. There is a problem of doing.

【0011】本発明は上記従来の問題点に鑑み、隣接す
る2本の線の角度が鋭角な太い線を描画する場合に屈折
点が不自然な画像になることを防止することができる画
像処理装置を提供することを目的とする。
In view of the above-mentioned conventional problems, the present invention is capable of preventing an image having an unnatural refraction point from being formed when a thick line having an acute angle between two adjacent lines is drawn. The purpose is to provide a device.

【0012】本発明はまた、各領域の主走査方向の始点
位置と終点位置を記憶して領域信号を発生する場合に屈
折点を滑らかにするために屈折点領域を新たに作成して
も空白が発生することを防止することができる画像処理
装置を提供することを目的とする。
According to the present invention, even if a refraction point area is newly created in order to smooth the refraction point when the start point position and the end point position of each area in the main scanning direction are stored and the area signal is generated, it is blank. An object of the present invention is to provide an image processing device capable of preventing the occurrence of the above.

【0013】[0013]

【課題を解決するための手段】第1の手段は上記目的を
達成するために、入力した太い線の始点、1以上の屈折
点、終点及び幅に基づいて始点と屈折点を結ぶ直線、屈
折点と屈折点を結ぶ直線、及び屈折点と終点を結ぶ直線
と入力幅に応じた複数の四角形領域を作成することによ
り太い線を描画する画像処理装置において、始点及び終
点が四角形領域の幅方向の中心になるように、且つ屈折
点がその隣接する直線の回転方向に基づいて四角形領域
の頂点になるように作成する四角形領域作成手段を有す
ることを特徴とする。
In order to achieve the above-mentioned object, the first means is to form a straight line connecting the starting point and the refracting point based on the starting point, one or more refracting points, the ending point and the width of the input thick line, In an image processing device that draws a thick line by creating a straight line connecting a point and a refraction point, a straight line connecting a refraction point and an end point, and a plurality of quadrangle regions according to the input width, the start point and the end point are the width direction of the quadrangle region. It is characterized by including a quadrangle region creating means for creating the quadrangle region so that it is at the center and the refraction point is at the apex of the quadrangle region based on the rotation direction of the adjacent straight line.

【0014】第2の手段は、入力した太い線の始点、1
以上の屈折点、終点及び幅に基づいて始点と屈折点を結
ぶ直線、屈折点と屈折点を結ぶ直線、及び屈折点と終点
を結ぶ直線と入力幅に応じて複数の四角形領域を作成す
ることにより太い線を描画する画像処理装置において、
前記屈折点を滑らかにする領域を作成し、この領域と隣
接する四角形領域を含む1つの領域の主走査方向の始点
位置と終点位置を作成する位置作成手段と、前記位置作
成手段により作成された始点位置と終点位置を記憶する
記憶手段と、前記記憶手段に記憶された始点位置と終点
位置の間でアクティブになる領域信号を発生する領域信
号発生手段とを備え、前記領域信号がアクティブになる
区間を描画することにより太い線を描画することを特徴
とする。
The second means is to start the input thick line, 1
Create multiple quadrangular areas according to the input width and the line connecting the start point and the refraction point, the line connecting the refraction point and the refraction point, and the line connecting the refraction point and the end point based on the above refraction point, end point, and width In an image processing device that draws thicker lines with
A position creating unit that creates a region for smoothing the refraction point and creates a start point position and an end position in the main scanning direction of one region including a rectangular region adjacent to this region, and the position creating unit. The area signal is activated by the storage means for storing the start point position and the end point position, and the area signal generation means for generating the area signal which becomes active between the start point position and the end point position stored in the storage means. The feature is that a thick line is drawn by drawing a section.

【0015】第3の手段は、第2の手段において前記位
置作成手段が、前記屈折点を滑らかにする領域と隣接す
る四角形領域の輪郭線を追跡することによりこれらの領
域を含む1つの領域の主走査方向の始点位置と終点位置
を作成することを特徴とする。
In a third means, in the second means, the position creating means traces the contour line of a rectangular area adjacent to the area where the inflection point is smoothed, so that the position of one area including these areas is detected. It is characterized in that a start point position and an end point position in the main scanning direction are created.

【0016】第4の手段は、原稿画像を光電的に読み取
る読取手段と、当該読み取る手段によって読み取った画
像を表示する表示手段とを備え、所定の処理を施して出
力する画像処理装置において、前記表示する手段に表示
されている画像に対して太さを有する線を描画するため
の線の位置として当該線の始点、屈曲点および終点を入
力する第1の入力手段と、前記線の始点、屈曲点および
終点の位置情報を記憶する第1の記憶手段と、線の太さ
の情報を入力する第2の入力手段と、前記線の太さの情
報を記憶する第2の記憶手段と、前記第1および第2の
記憶手段に記憶された情報に基づいて演算を行い、前記
第1の入力手段によって入力された点を直線で結ぶ太さ
を有する線の領域を算出する算出手段と、前記領域に対
して画像処理を行わせる画像処理手段とを備えているこ
とを特徴とする。
A fourth means is an image processing apparatus which comprises a reading means for photoelectrically reading an original image and a display means for displaying the image read by the reading means, and which performs a predetermined process and outputs the image. First input means for inputting a starting point, a bending point and an ending point of the line as a position of the line for drawing a line having a thickness with respect to the image displayed on the displaying means, and the starting point of the line, First storage means for storing position information of the bending point and the end point, second input means for inputting line thickness information, and second storage means for storing the line thickness information, Calculation means for performing calculation based on the information stored in the first and second storage means, and calculating a region of a line having a thickness connecting a point input by the first input means with a straight line; Image processing is performed on the area. Characterized in that it comprises an image processing means for.

【0017】第5の手段は、第4の手段における前記算
出手段が、複数の領域の組み合わせにより領域を作成す
ることを特徴とする。
A fifth means is characterized in that the calculating means in the fourth means creates an area by combining a plurality of areas.

【0018】第6の手段は、第4または第5の手段が、
複数の領域の組み合わせにより領域を作成した後、単一
の領域に統合するために輪郭を追跡する追跡手段と、当
該追跡手段によって追跡しながらデータを変更する変更
手段とを備えていることを特徴とする。
The sixth means is the fourth or fifth means,
After a region is created by combining a plurality of regions, a tracking unit that tracks the contour to integrate into a single region, and a changing unit that changes the data while tracking by the tracking unit are provided. And

【0019】[0019]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。図1は本発明に係る画像処理装置
の一実施形態を示すブロック図、図2は図1の画像処理
装置を備えたディジタル複写機を示すブロック図、図3
は太い線の屈折点の尖らせ処理を説明するためのフロー
チャート、図4は太い線の指定座標を示す説明図、図5
は図4の指定座標による直線の接続方向を示す説明図、
図6は図4の指定座標による直線の回転方向を示す説明
図、図7は図4の指定座標と四角形領域の関係を示す説
明図、図8は他の指定座標と四角形領域の関係を示す説
明図、図9は従来例と本例の屈折角度を比較した説明
図、図10は図7に示す場合の太線を示す説明図、図1
1は図8に示す場合の太線を示す説明図である。
Embodiments of the present invention will be described below with reference to the drawings. 1 is a block diagram showing an embodiment of an image processing apparatus according to the present invention, FIG. 2 is a block diagram showing a digital copying machine equipped with the image processing apparatus of FIG. 1, and FIG.
5 is a flow chart for explaining the sharpening process of the inflection point of the thick line, FIG. 4 is an explanatory view showing the designated coordinates of the thick line, FIG.
Is an explanatory view showing a connecting direction of a straight line by the designated coordinates in FIG.
6 is an explanatory view showing the rotation direction of the straight line by the designated coordinates in FIG. 4, FIG. 7 is an explanatory view showing the relationship between the designated coordinates in FIG. 4 and the rectangular area, and FIG. 8 is a relationship between the other designated coordinates and the rectangular area. Explanatory drawing, FIG. 9 is an explanatory drawing comparing the refraction angles of the conventional example and this example, FIG. 10 is an explanatory view showing the thick line in the case of FIG. 7, and FIG.
1 is an explanatory view showing a thick line in the case shown in FIG.

【0020】また、図12は太い線の屈折点の丸め処理
を説明するためのフローチャート、図13は太い線の指
定座標を示す説明図、図14は指定直線の数が偶数の場
合の四角形領域を示す説明図、図15及び図16は図1
3の画像に対する丸め領域を示す説明図、図17は図1
6の丸め領域の領域信号を示すタイミングチャート、図
18及び図19は指定直線の数が偶数の場合の丸め領域
を示す説明図、図20は指定直線の数が偶数の場合の四
角形領域を示す説明図、図21は屈折点を示す説明図、
図22は図21の屈折点を平らにカット処理する場合の
領域を示す説明図、図23は屈折点が平らにカット処理
された太線を示す説明図、図24は図22の領域の輪郭
線データを示す説明図、図25は図24の輪郭線データ
を追跡する方法を示す説明図、図26は、追跡できない
場合を示す説明図、図27は終点データを示す説明図、
図28は図26において追跡できない場合を詳しく示す
説明図である。
Further, FIG. 12 is a flow chart for explaining the rounding processing of the inflection point of the thick line, FIG. 13 is an explanatory view showing the designated coordinates of the thick line, and FIG. 14 is a quadrangle region when the number of designated straight lines is an even number. And FIG. 15 and FIG. 16 show FIG.
3 is an explanatory view showing a rounding area for the image of FIG. 3, FIG.
6 and 7 are timing charts showing the region signals of the rounding region of FIG. 6, FIGS. 18 and 19 are explanatory diagrams showing the rounding region when the number of designated straight lines is an even number, and FIG. 20 shows a square region when the number of designated straight lines is an even number. Explanatory drawing, FIG. 21 is an explanatory view showing a refraction point,
22 is an explanatory view showing a region when the refraction points of FIG. 21 are flattened, FIG. 23 is an explanatory view showing a thick line where the refraction points are flattened, and FIG. 24 is a contour line of the region of FIG. FIG. 25 is an explanatory diagram showing data, FIG. 25 is an explanatory diagram showing a method of tracing the contour line data of FIG. 24, FIG. 26 is an explanatory diagram showing a case where tracing is not possible, and FIG. 27 is an explanatory diagram showing end point data.
FIG. 28 is an explanatory diagram showing in detail the case where tracking is not possible in FIG.

【0021】図2に示す複写機は、カラー原稿の画像デ
ータをデジタルデータとして読み取るスキャナ101
と、スキャナ101により読み取られた画像データに対
して加工等の処理を施す画像処理部102と、画像処理
部102が処理を施す手順を使用者が指示するための操
作部103と、処理結果を表示したり、処理対象の領域
を指示するための表示/座標指示部104を有し、表示
/座標指示部104は例えばタブレットなどで構成され
る。
The copying machine shown in FIG. 2 is a scanner 101 for reading image data of a color original as digital data.
An image processing unit 102 for performing processing such as processing on image data read by the scanner 101, an operation unit 103 for instructing a procedure by which the image processing unit 102 performs processing, and a processing result. The display / coordinate designating unit 104 has a display / coordinate designating unit 104 for displaying and designating an area to be processed. The display / coordinate designating unit 104 is composed of, for example, a tablet.

【0022】この複写機はまた、画像処理部102によ
り処理される画像データを一時保持するための記憶部1
05と、この複写機全体を制御するCPU106と、C
PU106が制御を行うためのパラメータ及び制御手順
等が予め記憶されたROM107と、処理結果をプリン
トアウトするためのプリンタ108を有する。記憶部1
05画像データメモリ105aとその書き込み/読み出
し回路等を有する。
The copying machine also includes a storage unit 1 for temporarily holding image data processed by the image processing unit 102.
05, a CPU 106 for controlling the entire copying machine, and C
It has a ROM 107 in which parameters and control procedures for the PU 106 to perform control are stored in advance, and a printer 108 for printing out the processing result. Storage unit 1
05 image data memory 105a and its write / read circuit.

【0023】画像処理部102は図1に示すように、ス
キャナ101により読み取られたR(レッド)、G(グ
リーン)及びB(ブルー)の入力信号を処理してプリン
タ108に対してY(イエロー)、M(マゼンタ)、C
(シアン)及びK(ブラック)の信号を出力するように
構成されている。
As shown in FIG. 1, the image processing unit 102 processes the R (red), G (green) and B (blue) input signals read by the scanner 101 and outputs Y (yellow) to the printer 108. ), M (magenta), C
It is configured to output (cyan) and K (black) signals.

【0024】図1において、変倍部201はスキャナ1
01により読み取られたR、G、Bの信号の主走査方向
を変倍し、RGBγ補正部202は変倍部201により
変倍されたR、G、Bのグレーバランスやスキャナ10
1のγ変換特性を補正する。RGBフィルタ203はス
キャナ101のレンズ系のぼけを補正するためにRGB
γ補正部202により補正されたR、G、Bの信号をM
TF補正(鮮鋭化)し、クリエイト部204はRGBフ
ィルタ203により補正されたR、G、Bの信号に対し
てミラー、斜体、影付け、中抜き、ペイント、移動、太
線描画などを画像加工を行う。
In FIG. 1, the scaling unit 201 is a scanner 1
The R, G, and B signals read by 01 are magnified in the main scanning direction, and the RGBγ correction unit 202 magnifies the R, G, and B gray balances by the magnifying unit 201 and the scanner 10.
The γ conversion characteristic of 1 is corrected. The RGB filter 203 is an RGB filter for correcting blur of the lens system of the scanner 101.
The R, G, and B signals corrected by the γ correction unit 202 are converted into M
The TF correction (sharpening) is performed, and the create unit 204 performs image processing on the R, G, and B signals corrected by the RGB filter 203 such as mirror, italic, shadow, hollow, paint, move, and bold line drawing. To do.

【0025】色補正部205は一次マスキング方式を用
いてクリエイト部204により加工されたR、G、Bの
信号をY、M、C、Kの信号に変換し、CMYKフィル
タ206は色補正部205により変換されたY、M、
C、Kの信号をプリンタ108のMTFに応じて補正す
る。CMYKγ補正部207はYMCKフィルタ206
により補正されたY、M、C、Kの信号をプリンタ10
8のγ特性に応じて補正し、ディザ処理部208はCM
YKγ補正部207により補正されたY、M、C、Kの
信号の中間調処理を行い、プリンタ108に出力する。
The color correction unit 205 converts the R, G, B signals processed by the create unit 204 into Y, M, C, K signals by using the primary masking method, and the CMYK filter 206 uses the color correction unit 205. Y, M, converted by
The C and K signals are corrected according to the MTF of the printer 108. The CMYKγ correction unit 207 is a YMCK filter 206.
The Y, M, C, and K signals corrected by
8 according to the γ characteristic, and the dither processing unit 208
Halftone processing of the Y, M, C, and K signals corrected by the YKγ correction unit 207 is performed and output to the printer 108.

【0026】領域信号発生部209は上記各部201〜
208に対して処理領域を示す信号(領域信号)を発生
し、特にクリエイト部204はこの領域信号がアクティ
ブになる間、画素を描画することにより太線画像を作成
する。
The area signal generation unit 209 includes the above-mentioned units 201 to 201.
A signal indicating a processing area (area signal) is generated for 208, and in particular, the create unit 204 creates a thick line image by drawing pixels while the area signal is active.

【0027】次に、図3〜図11を参照して接続部を尖
らせる処理について説明する。図3において例えば図4
に示すようなN字状の線が始点A、屈折点B、C及び終
点Dで指定され、また、その太さWが指定されるとこれ
らを記憶する(ステップS1)。なお、太さWの指定は
数種類の太さの線を表示部104に表示してオペレータ
がその1つを選択可能にしてもよい。次いで指定点A、
B、C、Dを指定順に結ぶことにより線A−B、B−
C、C−Dを求め(ステップS2)、次いで図5に示す
ようにこれらの線の接続方向A→B、B→C、C→Dを
求め(ステップS3)、次いで図6に示すようにこれら
の接続方向A→B、B→C、C→Dに基づいて屈折点
B、Cにおける屈折方向、すなわち屈折点B、Cに隣接
する直線の回転方向が右回りか左回りかを求める(ステ
ップS4)。この例では線A−B、B−Cは右回りであ
り、線B−C、C−Dは左回りである。
Next, the process of sharpening the connecting portion will be described with reference to FIGS. In FIG. 3, for example, in FIG.
An N-shaped line as shown in (1) is designated by the start point A, the inflection points B, C, and the end point D, and when the thickness W is designated, these are stored (step S1). The thickness W may be specified by displaying lines of several types of thickness on the display unit 104 so that the operator can select one of them. Next, designated point A,
By connecting B, C, and D in the specified order, the lines AB, B-
C, C-D are obtained (step S2), then the connecting directions A → B, B → C, C → D of these lines are obtained as shown in FIG. 5 (step S3), and then as shown in FIG. Based on these connection directions A → B, B → C, C → D, the refraction directions at the refraction points B and C, that is, whether the rotation direction of a straight line adjacent to the refraction points B and C is clockwise or counterclockwise is determined ( Step S4). In this example, the lines A-B and B-C are clockwise, and the lines B-C and C-D are counterclockwise.

【0028】そして、図7に示すように接続方向A→B
の四角形を、始点Aが先端の辺の中心1501に位置
し、屈折点Bが外側の頂点に位置するように作成する。
また、接続方向B→Cについては屈折点B、Cが共に外
側の頂点に位置するようにすなわち線B−Cが対角線に
なるように四角形を作成し、接続方向C→Dについては
屈折点Cが外側のコーナに位置し、終点が後端の辺の中
心1502に位置する四角形を作成する(ステップS
5)。ここで、図8に示すように線B−C、C−Dが右
回りである場合には線B−Cについては屈折点B、Cが
外側の辺になるような四角形を作成する。
Then, as shown in FIG. 7, the connection direction A → B.
The square is formed so that the starting point A is located at the center 1501 of the tip side and the inflection point B is located at the outer vertex.
Further, a quadrangle is created so that both the inflection points B and C are located at the outer vertices in the connecting direction B → C, that is, the line BC is a diagonal line, and the inflection point C is formed in the connecting direction C → D. Is located at the outer corner and the end point is located at the center 1502 of the trailing edge side (step S).
5). Here, as shown in FIG. 8, when the lines B-C and C-D are clockwise, a quadrangle is created such that the inflection points B and C are the outer sides of the line B-C.

【0029】次いで、四角形の頂点と指定点に基づいて
輪郭線を求める(ステップS6)。ここで、線B−Cが
対角線になる四角形の場合には線A−B、C−Dの各四
角形に交差する辺の点1503を求め、隣接する四角形
との重なり領域を求める。そして、重なり領域では領域
信号の始点と終点が発生し、重なり領域の外側では領域
信号の始点と終点が発生しないように領域の始点と終点
を作成し、エリアデータとしてビットマップメモリに記
憶する(ステップS7)。したがって、図9〜図11に
示すように線A−B、B−Cの角度が鋭くても接続点が
指定点Bに一致し、不自然にギザギザになることを防止
することができる。
Then, a contour line is obtained based on the vertices of the quadrangle and the designated points (step S6). Here, when the line B-C is a quadrangle that is a diagonal line, the point 1503 on the side that intersects each quadrangle of the lines A-B and C-D is obtained, and the overlapping region with the adjacent quadrangle is obtained. Then, the start point and the end point of the area signal are generated in the overlapping area, and the start point and the end point of the area signal are generated outside the overlapping area so as not to occur, and are stored in the bitmap memory as area data ( Step S7). Therefore, as shown in FIGS. 9 to 11, even if the angles of the lines A-B and B-C are sharp, it is possible to prevent the connection point from coincident with the designated point B and being unnaturally jagged.

【0030】次に図12〜図20を参照して丸める処理
を説明する。この丸め処理では複数の領域に対して同一
処理を行うように構成され、図12において、先ず、例
えば図13に示すように逆V字状の線が始点A、屈折点
B及び終点Cで指定され、また、その太さWが指定され
ると(ステップS11)、指定点A、B、Cとこれらを
結ぶ線の数nと太さWを記憶する(ステップS12)。
次いで図13において破線で示すように指定点を結ぶ線
線A−B、B−Cを求め(ステップS13)、次いで実
線で示すように線A−B、B−Cを中心線とする2つの
四角形を求める(ステップS14)。
Next, the rounding process will be described with reference to FIGS. In this rounding process, the same process is performed on a plurality of regions. First, in FIG. 12, an inverted V-shaped line is designated by the start point A, the inflection point B, and the end point C as shown in FIG. 13, for example. When the thickness W is designated (step S11), the designated point A, B, C and the number n of lines connecting these and the thickness W are stored (step S12).
Next, in FIG. 13, the lines A-B and B-C connecting the designated points are obtained as shown by the broken lines (step S13), and then the two lines A-B and B-C as the center lines are shown as solid lines. A quadrangle is obtained (step S14).

【0031】そして、指定点A、B、Cを結ぶ線の数n
が偶数か否かを判定し(ステップS15)、後述するよ
うに偶数の場合には3つのエリア「1」〜「3」を利用
し(ステップS16)、他方、奇数の場合には4つのエ
リア「1」〜「4」を利用する(ステップS17)。図
14〜図17を参照して偶数の場合について説明する
と、ステップS16では例えば図14に示すように数n
が4本であって閉ループA−B−C−D−Aの場合、線
A−Bの第1の四角形としてエリア「1」、線B−Cの
第2の四角形としてエリア「2」、線C−Dの第3の四
角形としてエリア「1」、線D−Aの第4の四角形とし
てエリア「2」を考える(ステップS18)。
The number n of lines connecting the designated points A, B and C
Is an even number (step S15), the three areas "1" to "3" are used in the case of an even number (step S16) as described later, while the four areas are included in a case of an odd number. "1" to "4" are used (step S17). The case of an even number will be described with reference to FIGS. 14 to 17. In step S16, for example, as shown in FIG.
In the case of four closed loops A-B-C-D-A, the first quadrangle of line A-B is area "1", the second quadrangle of line B-C is area "2", line Consider area "1" as the third quadrangle of CD and area "2" as the fourth quadrangle of line D-A (step S18).

【0032】そして、図15に示すように指定点A、
B、C、Dを中心とする直径wを四角形の幅Wに一致す
るように求め、これらの四角形の接続点の円領域をエリ
ア「3」とする(ステップS19)。したがって、図1
3に示す逆V字が指定された場合には、図16に示すよ
うな3つのエリア「1」〜「3」から成り、この画像の
第mラインにおけるエリア「1」〜「3」の領域信号は
図17に示すような3種類の信号2401となる。そし
て、これらの信号2401の領域を含む1つの領域の主
走査方向の始点位置と終点位置を指示する領域信号24
02を作成し(ステップS20)、この領域信号240
2の全区間「1」〜「3」を同一色で塗りつぶす設定を
行うことにより、エリア「1」〜「3」を同一色で塗り
つぶすことができる。
Then, as shown in FIG. 15, the designated point A,
The diameter w centered on B, C and D is calculated so as to match the width W of the quadrangle, and the circular area of the connection points of these quadrangle is set as the area "3" (step S19). Therefore, FIG.
When the inverted V shape shown in FIG. 3 is designated, it is composed of three areas “1” to “3” as shown in FIG. 16, and the areas “1” to “3” in the m-th line of this image. The signals are three types of signals 2401 as shown in FIG. Then, the area signal 24 that indicates the start point position and the end point position in the main scanning direction of one area including the area of these signals 2401.
02 is generated (step S20), and this area signal 240
The areas "1" to "3" can be filled with the same color by setting the setting so that all the sections "1" to "3" of 2 are filled with the same color.

【0033】次に、図18〜図20を参照して奇数の場
合について説明する。ここで、例えば図18に示すよう
に数nが3本であって閉ループA−B−C−Aの場合
に、偶数の場合と同様に、線A−Bの第1の四角形とし
てエリア「1」、線B−Cの第2の四角形としてエリア
「2」、線C−Aの第3の四角形としてエリア「1」を
考えると、第1、第3の四角形が共にエリア「1」であ
るのでその重なり領域2501では領域信号が発生しな
くなる。
Next, the case of an odd number will be described with reference to FIGS. Here, for example, in the case where the number n is 3 and the closed loop is ABCA as shown in FIG. 18, as in the case of an even number, the area “1” is set as the first quadrangle of the line AB. , The area “2” as the second quadrangle of the line B-C and the area “1” as the third quadrangle of the line C-A, both the first and the third quadrangle are the area “1”. Therefore, no area signal is generated in the overlapping area 2501.

【0034】そこで、奇数の場合には図19に示すよう
に、線A−Bの第1の四角形としてエリア「1」、線B
−Cの第2の四角形としてエリア「2」、線C−Aの第
3の四角形としてエリア「3」、これらの四角形の各接
続点の円領域をエリア「4」と考えると、領域信号を発
生させることができる。
Therefore, in the case of an odd number, as shown in FIG. 19, area "1" and line B are defined as the first quadrangle of line AB.
Considering the area “2” as the second quadrangle of −C, the area “3” as the third quadrangle of the line C-A, and the circular area of each connection point of these quadrangles as the area “4”, the area signal is Can be generated.

【0035】また、この方法によれば、偶数の場合にも
4つのエリア「1」〜「4」を利用することができる。
すなわち、図20に示すように数nが4本であって閉ル
ープA−B−C−D−Aの場合、線D−Aの第1の四角
形としてエリア「1」、線A−Bの第2の四角形として
エリア「2」、線B−Cの第3の四角形としてエリア
「3」、線C−Dの第4の四角形としてエリア「2」、
これらの四角形の各接続点の円領域をエリア「4」と考
えると、領域信号を発生させることができる。
According to this method, the four areas "1" to "4" can be used even when the number is even.
That is, as shown in FIG. 20, in the case where the number n is four and the closed loop A-B-C-D-A, the first quadrangle of the line D-A is the area "1" and the line A-B is the first quadrangle. Area "2" as a quadrangle of 2, area "3" as a third quadrangle of line BC, area "2" as a fourth quadrangle of line CD,
Considering the circular area of each connection point of these quadrangles as area "4", an area signal can be generated.

【0036】次に、図21〜図28を参照して平らにカ
ットする処理を説明する。先ず、図21に示すように同
様に線A−Bの第1の四角形としてエリア「1」、線B
−Cの第2の四角形としてエリア「2」とすると、破線
で囲んだ接続部分には凹部が発生する。そこで、先ず、
図22に示すようにエリア「1」の頂点aと、エリア
「2」の頂点cと、エリア「1」、「2」の交差する点
により囲まれる凹部領域をエリア「3」とする。なお、
エリア「1」、「2」が重なる領域Bについて前述した
処理により領域信号を発生させることができるので、エ
リア「3」について領域信号を発生させる処理について
説明する。
Next, the flat cutting process will be described with reference to FIGS. First, as shown in FIG. 21, the area “1” and the line B are similarly defined as the first quadrangle of the line AB.
If the area is “2” as the second quadrangle of −C, a concave portion is generated in the connection portion surrounded by the broken line. So, first,
As shown in FIG. 22, the recessed area surrounded by the apex a of the area "1", the apex c of the area "2", and the intersection of the areas "1" and "2" is defined as the area "3". In addition,
Since the area signal can be generated by the above-described processing for the area B where the areas "1" and "2" overlap, the processing for generating the area signal for the area "3" will be described.

【0037】図23に示すエリア「3」の近傍を拡大し
て図24に示すと、エリア「1」については白○で示す
輪郭線(始点、終点)データをビットマップメモリに書
き込み、また、エリア「2」については網○で示すデー
タを書き込み、エリア「3」については黒○で示すデー
タを書き込む。そして、このようにビットマップメモリ
に書き込まれた始点、終点データに基づいて輪郭線を追
跡する。輪郭線追跡のスタートは最初に指定された点か
ら行う。
When the vicinity of the area "3" shown in FIG. 23 is enlarged and shown in FIG. 24, for the area "1", the contour line (start point, end point) data indicated by white circle is written in the bit map memory, and Data indicated by a mesh circle is written in the area "2", and data indicated by a black circle is written in the area "3". Then, the contour line is traced based on the start point and end point data thus written in the bitmap memory. The contour tracing is started from the first designated point.

【0038】また、図25に示すように指定線(四角形
の中心線)の方向3205、3206の方向と追跡方向
によりデータ検索方向を変更する。図25に示す例で
は、 矢印3201:副走査方向に−1、主走査方向に+方向 矢印3202:副走査方向に+1、主走査方向に+方向 矢印3203:副走査方向に−1、主走査方向に−方向 矢印3204:副走査方向に+1、主走査方向に−方向 のように変更する。
Further, as shown in FIG. 25, the data search direction is changed according to the directions of designated lines (rectangular center line) 3205 and 3206 and the tracking direction. In the example shown in FIG. 25, arrow 3201: −1 in the sub scanning direction, + direction in the main scanning direction Arrow 3202: +1 in the sub scanning direction, + direction in the main scanning direction Arrow 3203: −1 in the sub scanning direction, main scanning -Direction to direction Arrow 3204: change to +1 in the sub-scanning direction and-direction to the main-scanning direction.

【0039】また、検索方法を区別すると、指定点を結
んだ直線の方向3205、3206と同じ方向に追跡し
ている場合(矢印3201、3202)には主、副走査
方向増減方向を共に同一方向にして追跡する。図25で
はエリア「1」のan点からan+1→・・・→an+
7→an+8(エリア「1」の頂点)のように追跡でき
る。次いでan+8点からエリア「1」の幅方向のb1
点に移り、b1→b2・・・→b12(エリア「2」の
頂点)のように追跡し、b12点からエリア「2」のc
1点に移る。このようにエリアが異なるデータに追跡が
移った時に直線の方向3205、3206も変化する。
但し、始点と終点を結ぶラインではそれを検知して直線
の方向を変更する。このように追跡したデータはエリア
番号を統一する。
When the search methods are distinguished, when tracing is performed in the same direction as the directions 3205 and 3206 of the straight line connecting the designated points (arrows 3201 and 3202), both the main scanning direction and the sub-scanning increasing / decreasing direction are the same direction. And track. In FIG. 25, from the an point of the area “1”, an + 1 → ... → an +
It can be tracked as 7 → an + 8 (vertex of area “1”). Next, from an + 8 points, b1 in the width direction of area "1"
Move to the point and trace as b1 → b2 ... → b12 (vertex of area “2”), and from point b12 to c of area “2”
Move to 1 point. In this way, when the tracking is shifted to data in different areas, the directions 3205 and 3206 of the straight lines also change.
However, the line connecting the start point and the end point is detected and the direction of the straight line is changed. The data tracked in this way has the same area number.

【0040】また、図26の線3301に示すように、
例えばb1の次のb2点からb12点の前のb11点
(不図示)のような凹領域の位置データは、ビットマッ
プには記憶しない。但し、図27に示すように始点と終
点を含む場合には記憶する。ここで、図26において四
角形の辺3304、3306が交差する部分3302で
は追跡ができない場合がある。このような場合について
図28を参照して説明する。なお、図28における点a
1とa2、b1とb2とb3はラインが異なる位置であ
り、また、a1とb1、a2とb2は同じ位置である。
上記検索方法によれば、図28(a)に示すようにb1
→a2→a1のように追跡できるが、図28(b)に示
す場合にはb1→b2→b3のように追跡されてa点に
移らず、追跡することができない。
Further, as indicated by the line 3301 in FIG. 26,
For example, the position data of the concave area such as the point b11 (not shown) before the point b2 to the point b12 next to b1 is not stored in the bitmap. However, as shown in FIG. 27, when the start point and the end point are included, they are stored. Here, in FIG. 26, tracking may not be possible at the portion 3302 where the sides 3304 and 3306 of the quadrangle intersect. Such a case will be described with reference to FIG. Note that point a in FIG.
1 and a2, b1 and b2 and b3 have different lines, and a1 and b1, and a2 and b2 have the same position.
According to the above search method, as shown in FIG.
It can be tracked as → a2 → a1, but in the case shown in FIG. 28 (b), it is tracked as b1 → b2 → b3 and does not move to the point a, and cannot be tracked.

【0041】そこで、図26において辺3304の終わ
り3303まで追跡した後、後戻りしてデータを消去し
ながら追跡する。逆戻りして追跡して辺3304から交
差部分3302に移り、データが変わると(データ33
05)他の辺3306に移り、統一したデータに変更し
ながら追跡する。
Therefore, in FIG. 26, after tracing to the end 3303 of the side 3304, the tracing back is performed while erasing data and tracing. When the data is changed by moving back from the side 3304 to the intersection 3302 and tracking (data 33
05) Move to another side 3306 and trace while changing to unified data.

【0042】なお、辺3306のデータは交差部分33
02のデータ3305に達したときに削除部分を追跡し
て消去するようにしてもよい。また、図26において、
白○をエリア「1」、黒○をエリア「2」、網○をエリ
ア「3」とした場合、エリア「1」及び「2」に関して
は領域処理を行わず、追跡後のエリア番号を「3」に変
更し、エリア番号「3」の領域には処理を施し、エリア
番号「1」、「2」の領域を処理対象としないようにし
てもよい。
The data of the side 3306 is the intersection 33.
The deleted portion may be tracked and erased when the data 3305 of 02 is reached. In addition, in FIG.
When the white circle is the area “1”, the black circle is the area “2”, and the mesh circle is the area “3”, the area processing is not performed for the areas “1” and “2”, and the area number after the tracking is The area may be changed to “3”, the area number “3” may be processed, and the area numbers “1” and “2” may not be processed.

【0043】以後、この追跡処理を繰り返し、エリア
「1」、「2」及び「4」を使い、エリア「4」の領域
データをビットマップメモリに記憶する。この場合、エ
リア番号の最大値max−2が最大利用可能な領域数と
なる。なお、図26における辺3304、3306のデ
ータを削除するような処理では、エリア番号の最大値m
axが最大利用可能な領域数となる。
Thereafter, this tracking process is repeated, and the area data of the area "4" is stored in the bit map memory by using the areas "1", "2" and "4". In this case, the maximum value max-2 of the area number is the maximum number of usable areas. In addition, in the process of deleting the data on the sides 3304 and 3306 in FIG. 26, the maximum value m of the area number is
ax is the maximum number of usable areas.

【0044】[0044]

【発明の効果】以上説明したように請求項1記載の発明
によれば、始点及び終点が四角形領域の幅方向の中心に
なるように、且つ隣接する直線との回転方向に基づいて
屈折点が四角形領域の頂点になるように四角形領域を作
成するので、屈折点が四角形領域の四角形領域の幅方向
の中心にならず、したがって、隣接する2本の線の角度
が鋭角な太い線を描画する場合に屈折点が不自然な画像
になることを防止することができる。
As described above, according to the first aspect of the invention, the refraction point is set so that the start point and the end point are in the center of the rectangular region in the width direction and the rotation direction with the adjacent straight line is set. Since the quadrangle region is created so as to be the apex of the quadrangle region, the refraction point does not become the center of the quadrangle region in the width direction of the quadrangle region, and therefore, the angle between two adjacent lines draws a thick line with an acute angle. In this case, it is possible to prevent the refraction point from becoming an unnatural image.

【0045】請求項2記載の発明によれば、屈折点を滑
らかにする領域を作成し、この領域と隣接する四角形領
域を含む1つの領域の主走査方向の始点位置と終点位置
を作成するので、各領域の領域の主走査方向の始点位置
と終点位置を記憶して領域信号を発生する場合に屈折点
を滑らかにするために屈折点領域を新たに作成しても空
白が発生することを防止することができる。
According to the second aspect of the present invention, the area where the refraction point is smoothed is created, and the starting point position and the ending point position in the main scanning direction of one area including the rectangular area adjacent to this area are created. , When a start point position and an end point position of each area in the main scanning direction are stored and an area signal is generated, even if a new inflection point area is created in order to smooth the inflection point, a blank may occur. Can be prevented.

【0046】請求項3記載の発明によれば、屈折点を滑
らかにする領域と隣接する四角形領域の輪郭線を追跡す
ることによりこれらの領域を含む1つの領域の主走査方
向の始点位置と終点位置を作成するので、各領域の主走
査方向の始点位置と終点位置を記憶して領域信号を発生
する場合に屈折点を滑らかにするために屈折点領域を新
たに作成しても空白が発生することを防止することがで
きる。
According to the third aspect of the present invention, by tracing the contour line of the rectangular area adjacent to the area where the refraction point is smoothed, the starting point position and the ending point of one area including these areas in the main scanning direction. Since the position is created, a blank occurs even if a new refraction point area is created in order to smooth the refraction point when the start and end positions of each area in the main scanning direction are stored and the area signal is generated. Can be prevented.

【0047】請求項4記載の発明によれば、第1の入力
手段によって入力された点から太さを有する線の形状の
輪郭線上に前記入力された点があるようにしているの
で、線の接続部の形状が鋭角になって前記点から離れた
位置に線が形成されることはなく、不自然な線の形成を
防止することができる。
According to the fourth aspect of the present invention, the input point is located on the contour line of the shape of the line having a thickness from the point input by the first input means. The shape of the connection portion does not form an acute angle and a line is not formed at a position away from the point, and it is possible to prevent the formation of an unnatural line.

【0048】請求項5記載の発明によれば、太さを有す
る線を領域処理により描画するときに、複数の領域を組
み合わせて領域を作成するので、線の交点を求めること
なく処理を行うことが可能になり、これによって処理が
容易になる。
According to the fifth aspect of the present invention, when a line having a thickness is drawn by the area processing, a plurality of areas are combined to create an area. Therefore, the processing can be performed without obtaining the intersection of the lines. Is enabled, which facilitates processing.

【0049】請求項6記載の発明によれば、太さを有す
る線を領域処理により描画するときに、複数の領域を一
時的に利用するので、領域の重なりによって領域処理が
行えなくなる部分が存在しなくなる。その結果、屈折点
領域を新たに作成しても空白が生じることはない。
According to the sixth aspect of the present invention, when a line having a thickness is drawn by the area processing, a plurality of areas are temporarily used. Therefore, there is a portion where the area processing cannot be performed due to the overlapping of the areas. Will not do. As a result, even if a new refraction point region is created, no blank is produced.

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

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

【図2】図1の画像処理装置を備えたディジタル複写機
を示すブロック図である。
FIG. 2 is a block diagram showing a digital copying machine including the image processing apparatus of FIG.

【図3】太い線の屈折点の尖らせ処理を説明するための
フローチャートである。
FIG. 3 is a flowchart for explaining sharpening processing of a thick line inflection point.

【図4】太い線の指定座標を示す説明図である。FIG. 4 is an explanatory diagram showing designated coordinates of a thick line.

【図5】図4の指定座標による直線の接続方向を示す説
明図である。
5 is an explanatory diagram showing a connecting direction of a straight line based on designated coordinates in FIG.

【図6】図4の指定座標による直線の回転方向を示す説
明図である。
6 is an explanatory diagram showing a rotation direction of a straight line based on designated coordinates in FIG.

【図7】図4の指定座標と四角形領域の関係を示す説明
図である。
FIG. 7 is an explanatory diagram showing the relationship between the designated coordinates in FIG. 4 and a rectangular area.

【図8】他の指定座標と四角形領域の関係を示す説明図
である。
FIG. 8 is an explanatory diagram showing a relationship between another designated coordinate and a rectangular area.

【図9】従来例と本例の屈折角度を比較した説明図であ
る。
FIG. 9 is an explanatory diagram comparing the refraction angles of the conventional example and the present example.

【図10】図7に示す場合の太線を示す説明図である。10 is an explanatory diagram showing thick lines in the case shown in FIG. 7. FIG.

【図11】図8に示す場合の太線を示す説明図である。FIG. 11 is an explanatory diagram showing thick lines in the case shown in FIG.

【図12】太い線の屈折点の丸め処理を説明するための
フローチャートである。
FIG. 12 is a flowchart for explaining a rounding process for a refraction point of a thick line.

【図13】太い線の指定座標を示す説明図である。FIG. 13 is an explanatory diagram showing designated coordinates of a thick line.

【図14】指定直線の数が偶数の場合の四角形領域を示
す説明図である。
FIG. 14 is an explanatory diagram showing a rectangular area when the number of designated straight lines is an even number.

【図15】図13の画像に対する丸め領域を示す説明図
である。
FIG. 15 is an explanatory diagram showing a rounding region for the image of FIG.

【図16】図13の画像に対する丸め領域を示す説明図
である。
16 is an explanatory diagram showing a rounding area for the image of FIG. 13;

【図17】図16の丸め領域の領域信号を示すタイミン
グチャートである。
17 is a timing chart showing a region signal of the rounded region of FIG.

【図18】指定直線の数が偶数の場合の丸め領域を示す
説明図である。
FIG. 18 is an explanatory diagram showing a rounding area when the number of designated straight lines is an even number.

【図19】指定直線の数が偶数の場合の丸め領域を示す
説明図である。
FIG. 19 is an explanatory diagram showing a rounding area when the number of designated straight lines is an even number.

【図20】指定直線の数が偶数の場合の四角形領域を示
す説明図である。
FIG. 20 is an explanatory diagram showing a square area when the number of designated straight lines is an even number.

【図21】屈折点を示す説明図である。FIG. 21 is an explanatory diagram showing refraction points.

【図22】図21の屈折点を平らにカット処理する場合
の領域を示す説明図である。
22 is an explanatory diagram showing a region in the case where the refraction points of FIG. 21 are flattened.

【図23】屈折点が平らにカット処理された太線を示す
説明図である。
FIG. 23 is an explanatory view showing a thick line in which the refraction points are flatly cut.

【図24】図22の領域の輪郭線データを示す説明図で
ある。
FIG. 24 is an explanatory diagram showing contour line data of the area of FIG. 22;

【図25】図24の輪郭線データを追跡する方法を示す
説明図である。
25 is an explanatory diagram showing a method of tracking the contour line data of FIG. 24. FIG.

【図26】追跡できない場合を示す説明図である。FIG. 26 is an explanatory diagram showing a case where tracking is not possible.

【図27】終点データを示す説明図である。FIG. 27 is an explanatory diagram showing end point data.

【図28】図26において追跡できない場合を詳しく示
す説明図である。
28 is an explanatory diagram showing in detail the case where tracking is not possible in FIG.

【図29】エリアが1つの場合の領域信号を示す説明図
である。
FIG. 29 is an explanatory diagram showing a region signal when there is one area.

【図30】エリアが2つであって処理内容が異なる場合
の領域信号を示す説明図である。
FIG. 30 is an explanatory diagram showing a region signal when there are two areas and the processing contents are different.

【図31】エリアが2つであって処理内容が同一の場合
の領域信号を示す説明図である。
FIG. 31 is an explanatory diagram showing a region signal when there are two areas and the processing contents are the same.

【図32】太線を示す説明図である。FIG. 32 is an explanatory diagram showing thick lines.

【図33】図32の太線の輪郭線を示す説明図である。FIG. 33 is an explanatory diagram showing a thick outline of FIG. 32.

【図34】指定座標と輪郭線を示す説明図である。FIG. 34 is an explanatory diagram showing designated coordinates and contour lines.

【図35】屈折点を滑らかにする処理例を示す説明図で
ある。
FIG. 35 is an explanatory diagram showing an example of processing for smoothing a refraction point.

【図36】屈折点を示す説明図である。FIG. 36 is an explanatory diagram showing refraction points.

【図37】従来の屈折角度を示す説明図である。FIG. 37 is an explanatory diagram showing a conventional refraction angle.

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

102 画像処理部 104 表示/座標指示部 106 CPU 204 クリエイト部 209 領域信号発生部 102 image processing unit 104 display / coordinate instruction unit 106 CPU 204 create unit 209 area signal generation unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 入力した太い線の始点、1以上の屈折
点、終点及び幅に基づいて始点と屈折点を結ぶ直線、屈
折点と屈折点を結ぶ直線、及び屈折点と終点を結ぶ直線
と入力幅に応じた複数の四角形領域を作成することによ
り太い線を描画する画像処理装置において、 始点及び終点が四角形領域の幅方向の中心になるよう
に、且つ屈折点がその隣接する直線の回転方向に基づい
て四角形領域の頂点になるように作成する四角形領域作
成手段を有することを特徴とする画像処理装置。
1. A start point of an input thick line, one or more refraction points, a straight line connecting a start point and a refraction point based on an end point and a width, a straight line connecting a refraction point and a refraction point, and a straight line connecting a refraction point and an end point. In an image processing device that draws a thick line by creating a plurality of rectangular areas according to the input width, rotate the adjacent straight line so that the start point and the end point are in the center of the rectangular area in the width direction. An image processing apparatus comprising: a rectangular area creating unit that creates a rectangular area based on a direction so as to be a vertex.
【請求項2】 入力した太い線の始点、1以上の屈折
点、終点及び幅に基づいて始点と屈折点を結ぶ直線、屈
折点と屈折点を結ぶ直線、及び屈折点と終点を結ぶ直線
と入力幅に応じて複数の四角形領域を作成することによ
り太い線を描画する画像処理装置において、 前記屈折点を滑らかにする領域を作成し、この領域と隣
接する四角形領域を含む1つの領域の主走査方向の始点
位置と終点位置を作成する位置作成手段と、 前記位置作成手段により作成された始点位置と終点位置
を記憶する記憶手段と、 前記記憶手段に記憶された始点位置と終点位置の間でア
クティブになる領域信号を発生する領域信号発生手段と
を備え、 前記領域信号がアクティブになる区間を描画することに
より太い線を描画することを特徴とする画像処理装置。
2. The input point of a thick line, one or more refraction points, a straight line connecting the start point and the refraction point based on the end point and the width, a straight line connecting the refraction point and the refraction point, and a straight line connecting the refraction point and the end point. In an image processing device that draws a thick line by creating a plurality of quadrilateral areas according to an input width, an area for smoothing the inflection point is created, and a main area of one area including a quadrilateral area adjacent to this area is created. Between a position creating means for creating a start point position and an end point position in the scanning direction, a storage means for storing the start point position and the end point position created by the position creating means, and a start point position and an end point position stored in the storage means. And an area signal generating unit that generates an area signal that becomes active at, and draws a thick line by drawing a section where the area signal becomes active.
【請求項3】 前記位置作成手段は、前記屈折点を滑ら
かにする領域と隣接する四角形領域の輪郭線を追跡する
ことによりこれらの領域を含む1つの領域の主走査方向
の始点位置と終点位置を作成することを特徴とする請求
項2記載の画像処理装置。
3. The position creating means traces a contour line of a quadrangle region adjacent to the region where the inflection point is smoothed to thereby start and end positions in the main scanning direction of one region including these regions. The image processing apparatus according to claim 2, wherein
【請求項4】 原稿画像を光電的に読み取る読取手段
と、当該読み取る手段によって読み取った画像を表示す
る表示手段とを備え、所定の処理を施して出力する画像
処理装置において、 前記表示する手段に表示されている画像に対して太さを
有する線を描画するための線の位置として当該線の始
点、屈曲点および終点を入力する第1の入力手段と、 前記線の始点、屈曲点および終点の位置情報を記憶する
第1の記憶手段と、 線の太さの情報を入力する第2の入力手段と、 前記線の太さの情報を記憶する第2の記憶手段と、 前記第1および第2の記憶手段に記憶された情報に基づ
いて演算を行い、前記第1の入力手段によって入力され
た点を直線で結ぶ太さを有する線の領域を算出する算出
手段と、 前記領域に対して画像処理を行わせる画像処理手段と、
を備えていることを特徴とする画像処理装置。
4. An image processing apparatus, comprising: a reading unit that photoelectrically reads an original image and a display unit that displays the image read by the reading unit; and an image processing apparatus that performs a predetermined process and outputs the image. First input means for inputting a starting point, a bending point and an ending point of the line as a position of the line for drawing a line having a thickness with respect to the displayed image; and a starting point, a bending point and an ending point of the line First storage means for storing position information of the line, second input means for inputting line thickness information, second storage means for storing the line thickness information, the first and Calculation means for performing calculation based on the information stored in the second storage means, and calculating a region of a line having a thickness connecting the points input by the first input means with a straight line; Image to be processed by Processing means,
An image processing apparatus comprising:
【請求項5】 前記算出手段は、複数の領域の組み合わ
せにより領域を作成することを特徴とする請求項4記載
の画像処理装置。
5. The image processing apparatus according to claim 4, wherein the calculation unit creates an area by combining a plurality of areas.
【請求項6】 複数の領域の組み合わせにより領域を作
成した後、単一の領域に統合するために輪郭を追跡する
追跡手段と、 当該追跡手段によって追跡しながらデータを変更する変
更手段と、を備えていることを特徴とする請求項4また
は5に記載の画像処理装置。
6. A tracking means for tracking a contour for integrating into a single area after creating a area by combining a plurality of areas, and a changing means for changing data while tracking by the tracking means. The image processing device according to claim 4, further comprising:
JP7278058A 1995-10-25 1995-10-25 Image processor Pending JPH09120450A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP7278058A JPH09120450A (en) 1995-10-25 1995-10-25 Image processor
US08/736,605 US5831635A (en) 1995-10-25 1996-10-25 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7278058A JPH09120450A (en) 1995-10-25 1995-10-25 Image processor

Publications (1)

Publication Number Publication Date
JPH09120450A true JPH09120450A (en) 1997-05-06

Family

ID=17592076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7278058A Pending JPH09120450A (en) 1995-10-25 1995-10-25 Image processor

Country Status (2)

Country Link
US (1) US5831635A (en)
JP (1) JPH09120450A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807293A (en) * 2010-03-19 2010-08-18 上海合合信息科技发展有限公司 Method for adjusting detection result of image quadrilateral frame
JP2011044050A (en) * 2009-08-22 2011-03-03 Oki Data Corp Image processor

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000182074A (en) * 1998-12-16 2000-06-30 Konami Co Ltd Radiant ray display method, image display device and recoding medium
US6930686B1 (en) * 1999-06-17 2005-08-16 International Business Machines Corporation Method and apparatus for drawing thick graphic primitives
JP4244816B2 (en) * 2004-01-29 2009-03-25 ヤマハ株式会社 Image processing method and apparatus
CN103646412B (en) * 2013-12-27 2017-04-05 广东威创视讯科技股份有限公司 Wide line describing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5095520A (en) * 1990-06-07 1992-03-10 Ricoh Company, Ltd. Method and apparatus for drawing wide lines in a raster graphics system
CA2060039C (en) * 1992-01-24 1999-02-02 Adrian H. Hartog Line draw pre-clipping method
JP2571662B2 (en) * 1993-09-01 1997-01-16 インターナショナル・ビジネス・マシーンズ・コーポレイション Line drawing method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011044050A (en) * 2009-08-22 2011-03-03 Oki Data Corp Image processor
CN101807293A (en) * 2010-03-19 2010-08-18 上海合合信息科技发展有限公司 Method for adjusting detection result of image quadrilateral frame

Also Published As

Publication number Publication date
US5831635A (en) 1998-11-03

Similar Documents

Publication Publication Date Title
EP0369719B1 (en) Image processing apparatus and method
US5450531A (en) Resolution enhancement system for combined binary and gray scale halftone images
JPH03273368A (en) Graphic processor
JPH09120450A (en) Image processor
JP2007265035A (en) Drawing apparatus and broken line drawing method
US5502793A (en) Resolution enhancement system for binary images
JPH0918698A (en) Image processing unit and image processing method
JP4265363B2 (en) Image processing device
JP2812401B2 (en) Image processing device
JP3587586B2 (en) Image processing device
JPH0668247A (en) Method and device for varying power of digital image data
JPH09135331A (en) Image processor
JPH0554151B2 (en)
JP3350325B2 (en) Character output device
JP2780405B2 (en) Digital image processing equipment
JP2578785B2 (en) Screen creation processing method
JP2006013803A (en) Image processing apparatus
JP3417753B2 (en) Method and apparatus for generating gradation character
JP3350324B2 (en) Character output device
JPH0612497A (en) Method and device for image processing
JP3567728B2 (en) Image processing method and apparatus
JPH06333038A (en) Image processor
JP3122664B2 (en) Drawing equipment
JPS63109650A (en) Picture reader
JPH10285387A (en) Image-processing unit