JPH07262385A - Outline data generator - Google Patents

Outline data generator

Info

Publication number
JPH07262385A
JPH07262385A JP6056070A JP5607094A JPH07262385A JP H07262385 A JPH07262385 A JP H07262385A JP 6056070 A JP6056070 A JP 6056070A JP 5607094 A JP5607094 A JP 5607094A JP H07262385 A JPH07262385 A JP H07262385A
Authority
JP
Japan
Prior art keywords
segment
contour line
segments
point
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.)
Pending
Application number
JP6056070A
Other languages
Japanese (ja)
Inventor
Masaaki Maekawa
政明 前川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP6056070A priority Critical patent/JPH07262385A/en
Publication of JPH07262385A publication Critical patent/JPH07262385A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the method and device for generating outline data so as to efficiently generate a high-quality contour line from the character data of a dot form expressing dot width for more than one. CONSTITUTION:A contour extracting part 140 prepares contour line data by chasing a contour based on the state of adjacent four picture elements surrounding the lattice point of dot data stored in a storage part 12, a smoothing processing part 141 executes smoothing by linking the respective midpoints of plural segments consisting of these contour line data, and a curving processing part replaces series of segments monotonously increasing or decreasing the X and Y coordinate values and the inclination of segments in this smoothed contour line with a Bezier curve provided with two control points.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ドット形式のデータか
ら輪郭線データを作成するアウトラインデータ生成装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an outline data generator for generating contour line data from dot format data.

【0002】[0002]

【従来の技術】従来、ワークステーション及び文書処理
装置等で用いられるフォントには、ドットパターン方式
で利用されるドット形式のフォントだけでなく、アウト
ライン文字方式等で利用されるアウトラインフォントが
ある。
2. Description of the Related Art Conventionally, fonts used in workstations and document processing apparatuses include not only dot-type fonts used in a dot pattern method, but also outline fonts used in an outline character method.

【0003】このアウトラインフォントは、ドット形式
で表現されたフォントの輪郭線を抽出することにより、
文字を形成することが多い。
This outline font is obtained by extracting the outline of the font expressed in dot format.
Often forms letters.

【0004】例えば、特開昭63−231392号公報
には、ドット形式の文字データの各ドットをスキャンし
て、水平方向、垂直方向、右斜め方向及び左斜め方向に
対して、フラグのチェックを行いつつ、黒ドットのつな
がりを調べることにより、文字データをドット形式から
ベクトル形式に変換する文字データ形式変換方法が開示
されている。
For example, in Japanese Patent Laid-Open No. 63-231392, dots of character data in a dot format are scanned to check flags in the horizontal direction, vertical direction, right diagonal direction and left diagonal direction. There is disclosed a character data format conversion method for converting character data from the dot format to the vector format by checking the connection of black dots while performing.

【0005】また、特開昭63−188277号公報に
は、ベクトルフォント生成の対象ドットイメージから雑
音ドットを除去した後、同イメージのX軸方向の遷移点
ドット、及びY軸方向の遷移点ドットを抽出して、これ
ら抽出されたX軸方向及びY軸方向の各遷移点ドットを
合成しベクトルフォント生成のための輪郭ドットデータ
を得るよう構成した輪郭抽出方式が開示されている。
Further, in Japanese Patent Laid-Open No. 63-188277, after removing noise dots from a target dot image for vector font generation, transition point dots in the X-axis direction and transition point dots in the Y-axis direction of the image are removed. Is disclosed, and the extracted transition point dots in the X-axis direction and the Y-axis direction are combined to obtain contour dot data for vector font generation.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、前者の
従来技術では、ドット形式で表現されたフォントの線幅
が1ドットである部分については、線分として抽出する
ことはできても、輪郭線として抽出することができな
い。
However, according to the former prior art, a portion having a line width of 1 dot in a font expressed in a dot format can be extracted as a line segment but as a contour line. Cannot be extracted.

【0007】このため、かかる輪郭線を抽出したアウト
ラインフォントを拡大すると、輪郭線を抽出した部分に
ついては拡大されるが、輪郭線としては抽出できず線分
として抽出された部分については拡大されないため、フ
ォント形状がアンバランスとなる。
Therefore, when the outline font in which the contour line is extracted is enlarged, the portion in which the contour line is extracted is enlarged, but the portion in which the contour line cannot be extracted cannot be enlarged in the portion extracted as the line segment. , The font shape becomes unbalanced.

【0008】特に、フォントを形成するドット数が少な
い低ドット文字から輪郭線を抽出する場合には、1ドッ
ト幅で表現される線分が数多く登場するため上記問題が
顕在化する。
In particular, when a contour line is extracted from a low-dot character having a small number of dots forming a font, a large number of line segments represented by a 1-dot width appear, and the above problem becomes apparent.

【0009】また、後者の技術では、フォントの輪郭を
X軸及びY軸方向に走査し、輪郭線を構成する線分を直
線近似により抽出するため、このアウトラインデータを
ある程度以上拡大すると、例えば輪郭線の直線部分及び
連結部分が目立つようになり、文字品質の悪さが顕著と
なる。
Further, in the latter technique, the outline of the font is scanned in the X-axis and Y-axis directions and the line segments forming the outline are extracted by linear approximation. The straight line portion and the connected portion of the line become conspicuous, and the poor character quality becomes remarkable.

【0010】このため、特開平3−78888号公報に
は、折れ線を曲線化する際に、まず曲線化方程式を用い
て2つの端点の中点を曲線上に求め、該中点と両端点の
直線距離に応じて分割数を決定し、該分割数により端点
間の曲線を分割して分割点の座標を算出する図形データ
処理装置が開示されている。
For this reason, in Japanese Patent Laid-Open No. 3-78888, when the polygonal line is curved, first, the midpoints of the two end points are obtained on the curve using a curving equation, and the midpoints of the midpoint and the end points are calculated. There is disclosed a graphic data processing device that determines the number of divisions according to a straight line distance, divides a curve between end points by the number of divisions, and calculates the coordinates of the division points.

【0011】しかしながら、この従来技術では、算出し
た一連の分割点を通る線分により輪郭線を形成するた
め、円滑な曲線に置換することはできない。
However, in this conventional technique, since the contour line is formed by the line segment passing through the calculated series of division points, it cannot be replaced with a smooth curve.

【0012】そこで、本発明では上記問題を解決し、ド
ット幅が1以上で表現されたドット形式の文字データか
ら高品質な輪郭線を効率的に生成することができるアウ
トラインデータ生成方法及び装置を提供することを目的
とする。
Therefore, the present invention solves the above problems and provides an outline data generating method and apparatus capable of efficiently generating a high-quality contour line from character data in a dot format in which a dot width is represented by 1 or more. The purpose is to provide.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、複数の画素を配置して構成されるドット
形式の画情報から複数のセグメントからなる輪郭線デー
タを生成するアウトライン生成装置において、互いに隣
接する4つの画素の接点に位置する各格子点における輪
郭線の連なり方向を前記4つの画素が持つ値に対応して
求め、各格子点が持つ輪郭線の連なり方向に基づいて輪
郭線を追跡して輪郭線データを抽出する輪郭抽出手段を
具備したことを特徴とする。
In order to achieve the above object, the present invention provides an outline generator for generating contour line data consisting of a plurality of segments from image information in a dot format formed by arranging a plurality of pixels. , The contour line continuation direction at each grid point located at the contact point of four adjacent pixels is determined in accordance with the value of the four pixels, and the contour line is defined based on the contour line continuation direction at each grid point. It is characterized by further comprising a contour extracting means for tracing a line and extracting contour line data.

【0014】また、本発明は、輪郭線を構成する複数の
セグメントのうち、連続したセグメントであって、各セ
グメントの端点におけるX座標値が単調増加又は単調減
少し、かつ該端点におけるY座標値が単調増加又は単調
減少し、さらに各セグメントの傾きが単調増加又は単調
減少する複数のセグメントを検出する検出手段と、前記
検出手段により検出された連続するセグメントの始点及
び終点の座標値及び各セグメントの傾きに基づいて、該
連続するセグメントを2つの制御点を有するベジェ曲線
に置換する曲線化手段とを具備したことを特徴とする。
Further, the present invention is a continuous segment among a plurality of segments forming a contour line, in which the X coordinate value at the end point of each segment monotonically increases or decreases, and the Y coordinate value at the end point. Monotonically increases or monotonically decreases, and further detects a plurality of segments in which the inclination of each segment monotonically increases or monotonically decreases, and the coordinate values of the start and end points of the continuous segments detected by the detector and each segment. And a curve forming means for replacing the continuous segment with a Bezier curve having two control points on the basis of the slope of.

【0015】また、本発明は、複数の画素を配置して構
成されるドット形式の画情報から複数のセグメントから
なる輪郭線データを生成するアウトライン生成装置にお
いて、互いに隣接する4つの画素の接点に位置する各格
子点における輪郭線の連なり方向を前記4つの画素が持
つ値に対応して求め、各格子点が持つ輪郭線の連なり方
向に基づいて輪郭線を追跡して輪郭線データを抽出する
輪郭抽出手段と、前記輪郭抽出手段により抽出された連
続するセグメントを、該セグメントの中点を連結した新
たなセグメントに置換する平滑化手段と、前記輪郭線を
構成する複数のセグメントのうち、連続したセグメント
であって、各セグメントの端点におけるX座標値が単調
増加又は単調減少し、かつ該端点におけるY座標値が単
調増加又は単調減少し、さらに各セグメントの傾きが単
調増加又は単調減少する複数のセグメントを検出する検
出手段と、前記検出手段により検出された連続するセグ
メントの始点及び終点の座標値及び各セグメントの傾き
に基づいて、該連続するセグメントを2つの制御点を有
するベジェ曲線に置換する曲線化手段とを具備したこと
を特徴とする。
Further, according to the present invention, in an outline generating apparatus for generating contour line data consisting of a plurality of segments from dot-form image information constituted by arranging a plurality of pixels, contact points of four pixels adjacent to each other are provided. The continuous direction of the contour lines at the respective grid points located is obtained corresponding to the values of the four pixels, and the contour lines are traced based on the continuous direction of the contour lines of the respective grid points to extract the contour line data. A contour extracting means, a smoothing means for replacing the continuous segments extracted by the contour extracting means with a new segment connecting the midpoints of the segments; and a plurality of segments forming the contour line. The X coordinate value at the end point of each segment monotonically increases or decreases and the Y coordinate value at the end point monotonically increases or decreases. Then, further, the detection means for detecting a plurality of segments in which the inclination of each segment monotonically increases or decreases monotonically, based on the coordinate values of the start and end points of the continuous segments detected by the detection means and the inclination of each segment, And a curve forming means for replacing the continuous segment with a Bezier curve having two control points.

【0016】[0016]

【作用】本発明によれば、ドットデータすなわち値を付
与された画素を格子状に配置して形成された画情報から
輪郭線データを生成する際に、輪郭抽出手段が、4つの
隣接画素の接点に位置する各格子点における輪郭線の連
なり方向を、前記4つの隣接画素の持つ値に対応して求
め、各格子点が有する方向性に基づいて格子点を追跡す
ることにより輪郭線データを抽出する。
According to the present invention, when the contour line data is generated from the image information formed by arranging the dot data, that is, the pixels to which the values are given, in a grid pattern, the contour extracting means sets the four adjacent pixels. The continuous direction of the contour line at each grid point located at the contact point is obtained corresponding to the values of the four adjacent pixels, and the contour line data is obtained by tracing the grid points based on the directionality of each grid point. Extract.

【0017】これにより、1ドット幅で構成される線分
からでもアウトラインデータを抽出することができる。
Thus, the outline data can be extracted even from the line segment having the width of 1 dot.

【0018】また、本発明によれば、輪郭線を構成する
複数のセグメントのうち、連続したセグメントであっ
て、各セグメントの端点におけるX座標値が単調増加又
は単調減少し、かつ該端点におけるY座標値が単調増加
又は単調減少し、さらに各セグメントの傾きが単調増加
又は単調減少する複数のセグメントを、検出手段が曲線
化の対象となるセグメントとして検出し、曲線化手段
が、該検出された連続するセグメントの始点及び終点の
座標値及び各セグメントの傾きに基づいて、該連続する
セグメントを2つの制御点を有するベジェ曲線に置換す
る。
Further, according to the present invention, among the plurality of segments forming the contour line, the X coordinate value at the end point of each segment is a monotonous increase or monotonous decrease and the Y coordinate at the end point is continuous. The detecting means detects a plurality of segments whose coordinate values monotonously increase or monotonically decrease, and the inclination of each segment monotonically increases or monotonically decreases, as the segments to be curved, and the curvilinearizing means detects the segments. Based on the coordinate values of the start and end points of the continuous segment and the slope of each segment, the continuous segment is replaced with a Bezier curve having two control points.

【0019】これにより、所定の連続するセグメントを
容易に曲線化することができる。
Thus, it is possible to easily curve a predetermined continuous segment.

【0020】また、本発明では、複数の画素を配置して
構成されるドット形式の画情報から複数のセグメントか
らなる輪郭線データを生成する際に、輪郭抽出手段が、
互いに隣接する4つの画素の接点に位置する各格子点に
おける輪郭線の連なり方向を前記4つの画素が持つ値に
対応して求めるとともに、各格子点が持つ輪郭線の連な
り方向に基づいて輪郭線を追跡して輪郭線データを抽出
し、平滑化手段が、該抽出された輪郭線を構成する複数
のセグメントのうち、階段状に形成される連続するセグ
メントに対して、各セグメントの中点を連結した新たな
セグメントに置換する。そして、検出手段が、輪郭線を
構成する複数のセグメントのうち、連続したセグメント
であって、各セグメントの端点におけるX座標値が単調
増加又は単調減少し、かつ該端点におけるY座標値が単
調増加又は単調減少し、さらに各セグメントの傾きが単
調増加又は単調減少する複数のセグメントを検出し、曲
線化手段が、該検出された連続するセグメントの始点及
び終点の座標値及び各セグメントの傾きに基づいて、該
連続するセグメントを2つの制御点を有するベジェ曲線
に置換する。
Further, according to the present invention, when the contour line data consisting of a plurality of segments is generated from the image information in the dot format constituted by arranging a plurality of pixels, the contour extracting means,
The connecting direction of the contour lines at each grid point located at the contact points of the four pixels adjacent to each other is obtained corresponding to the value of the four pixels, and the contour line is based on the connecting direction of the contour lines at each grid point. To extract contour line data, and the smoothing means sets the midpoint of each segment to a continuous segment formed stepwise among a plurality of segments forming the extracted contour line. Replace with a new concatenated segment. The detecting means is a continuous segment among the plurality of segments forming the contour line, and the X coordinate value at the end point of each segment monotonically increases or decreases, and the Y coordinate value at the end point monotonically increases. Alternatively, a plurality of segments that monotonically decrease and the gradient of each segment monotonically increases or monotonically decreases is detected, and the curving means detects the coordinate values of the start and end points of the detected continuous segments and the gradient of each segment. To replace the continuous segment with a Bezier curve with two control points.

【0021】これにより、ドット形式の画情報からベジ
ェ曲線を含むアウトラインデータを容易に生成すること
ができる。
Thus, the outline data including the Bezier curve can be easily generated from the dot format image information.

【0022】[0022]

【実施例】以下、本発明の一実施例について図面を参照
して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0023】図1は、本発明に係るアウトラインデータ
生成装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an outline data generating device according to the present invention.

【0024】図1に示すように、このアウトラインデー
タ生成装置は、ドット形式のフォントからアウトライン
データを生成する装置であり、入力部10と、出力部1
1と、記憶部12と、メモリ13と、アウトラインデー
タ生成部14とから構成される。
As shown in FIG. 1, this outline data generating apparatus is an apparatus for generating outline data from a dot format font, and has an input unit 10 and an output unit 1.
1, a storage unit 12, a memory 13, and an outline data generation unit 14.

【0025】入力部10は、アウトラインデータの作成
指示等を行う入力部であり、マウス等のポインティング
デバイス又はキーボード等から構成される。
The input unit 10 is an input unit for giving an instruction to create outline data, and is composed of a pointing device such as a mouse or a keyboard.

【0026】出力部11は、アウトラインデータ生成部
14において生成したアウトラインデータが出力される
出力先であり、例えば該アウトラインデータを表示する
際の画像メモリ等が該当する。
The output unit 11 is an output destination to which the outline data generated by the outline data generation unit 14 is output, and corresponds to, for example, an image memory when displaying the outline data.

【0027】記憶部12は、アウトラインデータ生成の
基となるドット形式で表現された各種フォントデータ
(以下「ドットデータ」と言う。)を記憶する記憶部で
あり、ハードディスク等により構成される。
The storage unit 12 is a storage unit for storing various font data (hereinafter referred to as "dot data") expressed in a dot format which is a basis of outline data generation, and is constituted by a hard disk or the like.

【0028】メモリ13は、記憶部12に記憶されたド
ットデータのうち、アウトラインデータの作成対象とし
て入力部10から指定されたドットデータを保持する記
憶デバイスであり、RAM等のメモリ素子から構成され
る。なお、このメモリ13内には、アウトラインデータ
作成途中のワークデータをマトリックス形式で格納する
ためのワークメモリ領域についても設けられる。
The memory 13 is a storage device for holding the dot data designated by the input unit 10 as the outline data creation target out of the dot data stored in the storage unit 12, and is composed of a memory element such as a RAM. It The memory 13 is also provided with a work memory area for storing work data in the form of a matrix while the outline data is being created.

【0029】アウトラインデータ生成部14は、メモリ
13上に保持するドットデータからアウトラインデータ
を生成して、出力部11に出力する処理部であり、輪郭
抽出部140と、平滑化処理部141と、対象セグメン
ト抽出部142a及び制御点処理部142bを内在する
曲線化処理部142とから構成される。
The outline data generation unit 14 is a processing unit that generates outline data from the dot data stored in the memory 13 and outputs the outline data to the output unit 11. The outline extraction unit 140, the smoothing processing unit 141, The target segment extraction unit 142a and the control point processing unit 142b are included in the curve processing unit 142.

【0030】輪郭抽出部140は、各画素が隣接する格
子点に着目し、該格子点を取り巻く各画素の状態を参酌
して後述する追跡処理を用うことにより、メモリ13上
に保持するドットデータに基づいて直線からなる輪郭線
データを抽出し、平滑化処理部141又は曲線化処理部
142に対して該輪郭線データを出力する処理部であ
る。
The contour extraction unit 140 pays attention to the grid points where the respective pixels are adjacent to each other, and by taking into account the state of each pixel surrounding the grid points, the tracking processing described later is used to store the dots stored in the memory 13. It is a processing unit that extracts contour line data consisting of straight lines based on the data and outputs the contour line data to the smoothing processing unit 141 or the curve processing unit 142.

【0031】平滑化処理部141は、輪郭抽出部140
が抽出した輪郭線データに対して、後述する平滑化処理
を行う処理部であり、処理結果を曲線化処理部142又
は出力部11に出力する。
The smoothing processing section 141 includes a contour extracting section 140.
Is a processing unit that performs a smoothing process to be described later on the extracted contour line data, and outputs the processing result to the curve processing unit 142 or the output unit 11.

【0032】曲線化処理部142は、平滑化処理部14
1から受け取った輪郭線データを構成するセグメントの
うち所定の条件を満たすセグメントを、「ページ記述言
語POSTSCRIPTリファレンスマニュアル」(Adobe System
著、松村訳、アスキー出版社、1988年)等に開示され
るベジェ関数を用いて曲線化した輪郭線を、出力部11
に出力する処理部である。
The curve processing section 142 is a smoothing processing section 14.
Among the segments that make up the contour line data received from No. 1, the segment satisfying a predetermined condition is referred to as "Page Description Language POSTSCRIPT Reference Manual" (Adobe System
(Written by Matsumura, ASCII Publishing Co., 1988), and the like, and outputs the curve-shaped contour line using the Bezier function.
Is a processing unit for outputting to.

【0033】また、この曲線化処理部142は、対象セ
グメント抽出部142a及び制御点処理部142bから
構成される。
The curve processing section 142 is composed of a target segment extraction section 142a and a control point processing section 142b.

【0034】対象セグメント抽出部142aは、輪郭線
を構成するセグメントのうち、セグメントの傾きが単調
増加又は単調減少であるセグメントを、曲線化対象セグ
メントとして抽出し、制御点処理部142bに出力する
処理部である。
The target segment extraction unit 142a extracts a segment having a monotonous increase or decrease in the gradient of the segment forming the contour line as a curving target segment and outputs it to the control point processing unit 142b. It is a department.

【0035】制御点処理部142bは、対象セグメント
抽出部142aが抽出したセグメントを受け取り、該セ
グメントをベジェ曲線に置換するためにベジェ曲線の制
御点を求めるとともに、該セグメントを該制御点を用い
て曲線化した後出力部11に出力する処理部である。
The control point processing unit 142b receives the segment extracted by the target segment extraction unit 142a, obtains the control point of the Bezier curve to replace the segment with the Bezier curve, and uses the segment by using the control point. It is a processing unit that outputs the output to the output unit 11 after making a curve.

【0036】次に、上記構成を有するアウトラインデー
タ生成部14の処理手順について説明する。
Next, the processing procedure of the outline data generator 14 having the above-mentioned configuration will be described.

【0037】図2は、アウトラインデータ生成部14の
処理手順を示すフローチャートである。
FIG. 2 is a flowchart showing the processing procedure of the outline data generator 14.

【0038】図2に示すように、入力部10からアウト
ラインデータの作成指示入力がなされたならば、アウト
ラインデータ作成部14は該当するドット形式のフォン
トを記憶部12から読み出し(ステップ201)、メモ
リ13に記憶する。
As shown in FIG. 2, when an outline data creation instruction is input from the input unit 10, the outline data creation unit 14 reads the corresponding dot-format font from the storage unit 12 (step 201) and stores it in the memory. Store in 13.

【0039】そして、輪郭抽出部140は、注目格子点
を取り巻く4画素のデータを調べ、該4画素のパターン
に対応する格子点を次の格子点として選択する処理を繰
り返すことにより輪郭線を抽出する(ステップ20
2)。
Then, the contour extracting section 140 examines the data of 4 pixels surrounding the grid point of interest and extracts the contour line by repeating the process of selecting the grid point corresponding to the pattern of 4 pixels as the next grid point. Yes (Step 20)
2).

【0040】なお、本実施例では、次の格子点を選択す
る際に、現格子点の隣接4画素をサーチすることとした
が、近傍12画素又は近傍16画素というようにサーチ
する範囲を拡張することも可能である。
In this embodiment, when the next grid point is selected, four pixels adjacent to the current grid point are searched, but the search range is expanded to 12 pixels in the neighborhood or 16 pixels in the neighborhood. It is also possible to do so.

【0041】次に、平滑化処理部141による平滑化処
理を行うか否かを確認し(ステップ141)、平滑化処
理を行わない場合にはステップ205に移行するのに対
して、平滑化処理を行う場合には、輪郭線抽出部140
は該輪郭線を平滑化処理部に出力する。
Next, it is confirmed whether or not the smoothing processing by the smoothing processing unit 141 is performed (step 141). If the smoothing processing is not performed, the process proceeds to step 205, whereas the smoothing processing is performed. When performing the
Outputs the contour line to the smoothing processing unit.

【0042】そして、この輪郭線を受け取った平滑化処
理部141は、該輪郭線の直線部に生じる階段状の段差
をなくする直線化処理を行う(ステップ204)。
Then, the smoothing processing unit 141 that has received this contour line performs a straightening process to eliminate the step-like step generated in the straight line portion of the contour line (step 204).

【0043】次に、この平滑化処理部141は、曲線化
処理部142による曲線化処理を行うか否かを確認し
(ステップ205)、曲線化処理を行わない場合にはス
テップ208に移行するのに対して、曲線化処理を行う
場合には、平滑化した輪郭線を曲線化処理部142に出
力する。
Next, the smoothing processing unit 141 confirms whether or not to perform the curving processing by the curving processing unit 142 (step 205), and if the curving processing is not to be performed, the process proceeds to step 208. On the other hand, when performing the curve processing, the smoothed contour line is output to the curve processing unit 142.

【0044】そして、この輪郭線を受け取った曲線化処
理部142では、対象セグメント抽出部142aが曲線
化対象となるセグメントを抽出した後(ステップ20
6)、制御点処理部142bが該セグメントに対応する
ベジェ曲線の制御点を求めてセグメントの曲線化を行い
出力部11に出力する(ステップ207、ステップ20
8)。
Then, in the curving processing unit 142 that has received this contour line, the target segment extracting unit 142a extracts the segment to be curbed (step 20).
6) The control point processing unit 142b obtains the control points of the Bezier curve corresponding to the segment, curves the segment, and outputs the segment to the output unit 11 (steps 207 and 20).
8).

【0045】上記一連の処理を行うことにより、記憶部
12に記憶したドットデータのうち入力部10から指定
されたドットデータの輪郭線データを抽出し、必要に応
じて平滑化処理及び曲線化処理を行った後、該輪郭線デ
ータをアウトラインデータとして出力することが可能と
なる。
By performing the above series of processing, the contour line data of the dot data designated from the input section 10 is extracted from the dot data stored in the storage section 12, and the smoothing processing and the curve processing are performed as necessary. After this, the contour line data can be output as outline data.

【0046】次に、上記ステップ202に示す輪郭線抽
出処理、ステップ204に示す平滑化処理、及びステッ
プ207に示す制御点処理について、具体例を用いてさ
らに詳細に説明する。
Next, the contour line extraction process shown in step 202, the smoothing process shown in step 204, and the control point process shown in step 207 will be described in more detail using a concrete example.

【0047】図3は、輪郭線抽出部140が行う輪郭線
抽出処理(ステップ202)の具体例を示す図である。
FIG. 3 is a diagram showing a specific example of the contour line extraction processing (step 202) performed by the contour line extraction unit 140.

【0048】図3(a)に示すように、線幅が1ドット
で構成されているドットデータ”J”から輪郭線データ
を抽出する際には、各ドットの交差点に位置する格子点
に着目し、該格子点が近傍格子点と連なる方向を示す0
〜Fの値(以下「方向値」と言う。)を各格子点ごとに
求め、この格子点を追跡することにより輪郭線を形成す
る。
As shown in FIG. 3A, when the contour line data is extracted from the dot data "J" having a line width of 1 dot, attention is paid to the grid point located at the intersection of each dot. 0, which indicates the direction in which the grid point continues to the neighboring grid points
A value of F (hereinafter referred to as “direction value”) is obtained for each grid point, and the contour line is formed by tracing the grid points.

【0049】すなわち、本発明では、ドットデータで表
現されたフォントの輪郭線は、格子点の連続性により表
現できるという着想に基づき、各格子点を取り巻く隣接
画素の状態を参酌したうえで方向値を決定し、該格子点
の座標位置に対応づけたワークメモリWの座標位置に該
方向値を格納する。そして、このワークメモリW上の方
向値を追跡して輪郭線を抽出する。
That is, according to the present invention, based on the idea that the outline of a font represented by dot data can be represented by the continuity of the grid points, the direction value is taken into consideration after taking into consideration the state of the adjacent pixels surrounding each grid point. Is determined and the direction value is stored in the coordinate position of the work memory W associated with the coordinate position of the grid point. Then, the contour line is extracted by tracking the direction value on the work memory W.

【0050】なお、本発明では、格子点の隣接画素の持
つデータを利用するため、ドットデータを構成するマト
リックスの範囲外についてもドット値を付与する必要が
ある。そこで、本実施例では、マトリックスの範囲外の
部分については、ドット値’0’を付与している。
In the present invention, since the data possessed by the pixels adjacent to the grid point is used, it is necessary to give the dot value even outside the range of the matrix forming the dot data. Therefore, in this embodiment, the dot value "0" is given to the portion outside the matrix range.

【0051】次に、ドットデータを構成する各格子点に
対する方向値の付与について説明する。
Next, the assignment of the direction value to each grid point forming the dot data will be described.

【0052】図3(b)に示すように、本実施例では、
マスクパターン30〜3fにそれぞれ対応する0〜Fと
いう16通りの方向値を用いている。
As shown in FIG. 3B, in this embodiment,
16 direction values 0 to F corresponding to the mask patterns 30 to 3f are used.

【0053】すなわち、格子点を取り巻く4画素が、マ
スクパターン30に表されるように全て’0’である場
合には、ワークメモリWの該格子点に対応する画素位置
に、対応する方向値’0’を付与する。
That is, when the four pixels surrounding the grid point are all “0” as shown in the mask pattern 30, the direction value corresponding to the pixel position corresponding to the grid point in the work memory W is set. Add "0".

【0054】同様に、格子点を取り巻く4画素が、マス
クパターン31〜3fのいずれかの状態にあれば、ワー
クメモリWの該格子点に対応する画素位置に、対応する
方向値1〜Fのいずれかを付与する。
Similarly, if the four pixels surrounding the grid point are in any one of the mask patterns 31 to 3f, the pixel values corresponding to the grid point in the work memory W have the corresponding direction values 1 to F. Give either.

【0055】このようにして、ワークメモリWの該格子
点に対応する画素位置に方向値を格納することにより、
図4(a)に示す方向値から構成されるワークメモリW
が得られる。
In this way, by storing the direction value at the pixel position corresponding to the grid point of the work memory W,
Work memory W composed of the direction values shown in FIG.
Is obtained.

【0056】次に、このワークメモリ内をサーチし、各
画素が持つ方向値に基づいて輪郭線の追跡処理を行うこ
とにより図4(b)に示す輪郭線データを得ることがで
きる。
Next, the work memory is searched, and the contour line tracking processing is performed based on the direction value of each pixel, whereby the contour line data shown in FIG. 4B can be obtained.

【0057】すなわち、図4(a)に示すワークメモリ
Wの画素4aから輪郭線追跡の開始(以下「追跡開始画
素」と言う。)画素を順次走査することにより、方向
値’8’を有する画素4bが追跡開始画素であることを
確認する。
That is, the direction value of "8" is obtained by sequentially scanning the pixels from the pixel 4a of the work memory W shown in FIG. 4A for starting contour tracing (hereinafter referred to as "tracing start pixel"). Confirm that pixel 4b is the tracking start pixel.

【0058】また、この追跡開始画素4bの方向値は’
8’であるため、図3(b)に示すテーブルから、この
画素では、下方(以下「−Y方向」よ言う。)から輪郭
線が到来して、右方向(以下「X方向」と言う。)に向
かっていると判断し、現画素の右隣に位置する画素4c
を次の追跡画素とする。
The direction value of the tracking start pixel 4b is'
Since it is 8 ′, from the table shown in FIG. 3B, in this pixel, a contour line comes from below (hereinafter, referred to as “−Y direction”), and to the right (hereinafter referred to as “X direction”) .), And the pixel 4c located to the right of the current pixel.
Be the next tracking pixel.

【0059】以下、同様にして、追跡開始画素4aに戻
るまで画素追跡を行うことにより、図4(b)に示す輪
郭線データを得ることができる。
In the same manner, the contour line data shown in FIG. 4 (b) can be obtained by performing the pixel tracking until the tracking start pixel 4a is returned.

【0060】このように、本発明によれば、格子点の隣
接画素の状態を考慮して、方向値を付与するとともに、
該方向値に基づき輪郭線の追跡を行うことにより、1ド
ットの幅からなるドットデータからでも輪郭線を抽出す
ることができる。
As described above, according to the present invention, the direction value is given in consideration of the states of the pixels adjacent to the lattice point, and
By tracing the contour line based on the direction value, the contour line can be extracted even from dot data having a width of one dot.

【0061】次に、複数の閉曲線から輪郭線が構成され
る場合について説明する。
Next, a case where the contour line is composed of a plurality of closed curves will be described.

【0062】図5は、ドットデータ’回’から輪郭線デ
ータを抽出する具体例を示す図である。
FIG. 5 is a diagram showing a specific example of extracting contour line data from the dot data “times”.

【0063】図5(a)に示すドットデータ’回’の輪
郭線を抽出するためには、図4に示すドットデータ’
J’の場合と同様に、格子点の隣接画素に応じて図3
(b)に示す方向値をワークメモリWに格納することに
より、図5(b)に示すワークメモリWが得られる。
In order to extract the contour line of the dot data "times" shown in FIG. 5A, the dot data shown in FIG.
As in the case of J ′, FIG.
By storing the direction value shown in FIG. 5B in the work memory W, the work memory W shown in FIG. 5B is obtained.

【0064】そして、このワークメモリWを走査するこ
とにより、追跡開始画素5aから輪郭線の追跡を開始
し、輪郭線を構成する1つの閉曲線を得ることができ
る。
Then, by scanning the work memory W, the tracing of the contour line can be started from the tracing start pixel 5a, and one closed curve forming the contour line can be obtained.

【0065】ところで、この具体例では、輪郭線を構成
する他の閉曲線が存在するため、前追跡開始画素5aか
ら、新たな追跡開始画素の走査を再開する。
By the way, in this specific example, since another closed curve forming the contour line exists, the scanning of a new tracking start pixel is restarted from the previous tracking start pixel 5a.

【0066】すなわち、画素5bが次の追跡開始画素と
して選択され、同様の手順で追跡されることにより、別
の閉曲線を得ることができる。
That is, the pixel 5b is selected as the next tracking start pixel and is tracked by the same procedure, whereby another closed curve can be obtained.

【0067】同様に、画素5c及び画素5dを追跡開始
画素とする追跡処理を行うことにより、図5(c)に示
す輪郭線を得ることができる。
Similarly, the contour line shown in FIG. 5C can be obtained by performing the tracking process using the pixels 5c and 5d as the tracking start pixels.

【0068】ここで、本実施例では、追跡の重複を防止
するために、画素5aを追跡開始画素として追跡された
各画素は、0〜F以外のデータに置換することとする
が、輪郭データを確定する際に、新たなワークメモリに
書き込むよう構成することもできる。
Here, in the present embodiment, in order to prevent the duplication of tracking, each pixel tracked with the pixel 5a as the tracking start pixel is replaced with data other than 0 to F. It can also be configured to write to a new work memory when deciding.

【0069】次に、上記輪郭線抽出部140が行う輪郭
線抽出処理の流れを図6に示すフローチャートを用いて
説明する。
Next, the flow of the contour line extracting process performed by the contour line extracting section 140 will be described with reference to the flowchart shown in FIG.

【0070】図6に示すように、まず最初にドットデー
タの各格子点を取り巻く近傍画素の状態を参酌して、該
格子点に対応する方向値を抽出し、ワークメモリWに格
納する(ステップ601)。
As shown in FIG. 6, first, the state of neighboring pixels surrounding each grid point of the dot data is taken into consideration, and the direction value corresponding to the grid point is extracted and stored in the work memory W (step 601).

【0071】そして、このワークメモリWを走査し、所
定の方向値を有する画素を追跡開始画素として選定する
(ステップ602)。そして、追跡開始画素が存在する
か否かを確認し(ステップ603)、追跡開始画素が存
在する場合には、該画素の有する方向値に基づいて順次
追跡処理を行う(ステップ604)とともに、追跡処理
済みの画素値を処理済みを示す値に置換する(ステップ
605)。
Then, the work memory W is scanned and a pixel having a predetermined direction value is selected as a tracking start pixel (step 602). Then, it is confirmed whether or not the tracking start pixel exists (step 603). If the tracking start pixel exists, the tracking process is sequentially performed based on the direction value of the pixel (step 604) and the tracking starts. The processed pixel value is replaced with a value indicating processed (step 605).

【0072】この際、ワークメモリW以外に処理結果を
格納するためのメモリが存在する場合には、追跡処理後
に画素値をクリアすれば良い。
At this time, if there is a memory for storing the processing result other than the work memory W, the pixel value may be cleared after the tracking processing.

【0073】また、上記ステップ604及び605の処
理は、追跡開始画素に戻るまで繰り返される(ステップ
606)。
The processing of steps 604 and 605 is repeated until the tracking start pixel is returned (step 606).

【0074】そして、ある追跡開始画素から開始した追
跡処理が終了したならば、他の追跡開始画素が存在する
か否かを調べる。
Then, when the tracking processing started from a certain tracking start pixel is completed, it is checked whether or not there is another tracking start pixel.

【0075】具体的には、前追跡開始画素位置から再度
新たな追跡開始画素のサーチを行い(ステップ60
2)、新たな追跡開始画素が存在する場合には同様の処
理を行い、新たな追跡開始画素が存在しない場合には処
理を終了する。
Specifically, a new tracking start pixel is searched again from the previous tracking start pixel position (step 60).
2) If the new tracking start pixel exists, the same process is performed, and if the new tracking start pixel does not exist, the process ends.

【0076】上記一連の処理を行うことにより、1ドッ
ト幅からなるドットデータからでも輪郭線を抽出するこ
とができる。
By performing the series of processes described above, the contour line can be extracted even from the dot data having a one-dot width.

【0077】次に、平滑化処理部141が行う平滑化処
理(ステップ204)について具体例を用いて説明す
る。
Next, the smoothing processing (step 204) performed by the smoothing processing section 141 will be described using a concrete example.

【0078】図7は、輪郭線抽出部140が抽出した線
分の拡大図(図7(a))と、該線分に対して平滑化処
理を行った処理結果(図7(b))を示す図である。
FIG. 7 is an enlarged view of the line segment extracted by the contour line extracting section 140 (FIG. 7A) and a processing result of smoothing the line segment (FIG. 7B). FIG.

【0079】上記輪郭線抽出部140が抽出した輪郭線
は、単に境界線をトレースしたものにすぎないため、図
7(a)に示すように、斜め方向の輪郭線が階段状に形
成される場合が生じる。
Since the contour line extracted by the contour line extracting section 140 is merely a trace of a boundary line, as shown in FIG. 7A, a diagonal contour line is formed stepwise. There are cases.

【0080】このため、本実施例では、平滑化処理部1
41を用いて、かかる階段状に形成される線分の直線化
を行っている。
Therefore, in the present embodiment, the smoothing processing unit 1
41 is used to linearize a line segment formed in such a staircase shape.

【0081】すなわち、本実施例では、図7(a)に示
すように、輪郭線抽出部140が抽出した輪郭線を構成
する点列が、a0=(x0,y0),a1=(x1,y
1),〜,a7=(x7,y7)であり、各点列間を結
ぶ線分がl0,l1,〜,l7である場合には、始点が
(x0,y0)で、終点が(x7,y7)であり、各線
分l0〜l7の中点を通るように構成している。
That is, in this embodiment, as shown in FIG. 7A, the point sequence forming the contour extracted by the contour extracting unit 140 is a0 = (x0, y0), a1 = (x1, y
1), ~, a7 = (x7, y7) and the line segments connecting the point sequences are l0, l1, ~, l7, the start point is (x0, y0) and the end point is (x7 , Y7) and pass through the midpoints of the respective line segments 10 to 17.

【0082】したがって、新たに設けられる点列b1〜
b7は、図7(b)に示すように、b0=(x0,y
0),b1=((x1+x2)/2,(y1+y2)/
2),〜,b6=(x7,y7)となる。
Therefore, the newly provided point sequences b1 to b1
b7 is, as shown in FIG. 7B, b0 = (x0, y
0), b1 = ((x1 + x2) / 2, (y1 + y2) /
2), ~, b6 = (x7, y7).

【0083】このように、点列を構成する各二点間の中
点を通るように構成することにより、階段状等に構成さ
れる線分を平滑化することができる。
As described above, by arranging so as to pass through the midpoint between each two points forming the point sequence, it is possible to smooth the line segment formed in a staircase pattern or the like.

【0084】次に、平滑化処理部141が行う上記処理
手順について、図8に示すフローチャートを用いて説明
する。
Next, the processing procedure performed by the smoothing processing unit 141 will be described with reference to the flowchart shown in FIG.

【0085】図8に示すように、まず最初に、平滑化す
べき線分を構成する点列を保持するとともに、始点及び
終点を確定した後、変数iを初期化する(i=1)(ス
テップ801)。なお、本実施例では、線分はa0〜a
nの点列から構成され、変数iを線分の点列番号に対応
させている(1≦i≦n−1)。
As shown in FIG. 8, first, the point sequence constituting the line segment to be smoothed is held, and after the start point and the end point are fixed, the variable i is initialized (i = 1) (step 1). 801). In this example, the line segments are a0 to a.
The variable i is made to correspond to the point sequence number of the line segment (1 ≦ i ≦ n−1).

【0086】そして、点列数nが3以上であるか否かを
確認し(ステップ802)、nが3未満である場合には
処理を終了する。ここで、点列数nが3以上であるか否
かを確認したのは、点列数が2以下の場合には、線分が
階段状等に形成される場合がないので、平滑化処理を行
わないよう構成するためである。
Then, it is confirmed whether or not the number of point sequences n is 3 or more (step 802). If n is less than 3, the process is terminated. Here, it is confirmed whether or not the number n of point sequences is 3 or more. When the number of point sequences is 2 or less, the line segment is not formed in a stepped shape, so the smoothing process is performed. This is because it is configured so as not to perform.

【0087】これに対して、点列数nが3以上であるこ
とが確認されたならば、 bi=((xi + xi+1)/2,(yi + yi
+1)/2) の算定式を用いて、各線分の終点biを計算するととも
に、変数iをインクリメントする(i=i+1)(ステ
ップ803)。
On the other hand, if it is confirmed that the number of point sequences n is 3 or more, then bi = ((xi + xi + 1) / 2, (yi + yi
+1) / 2) is used to calculate the end point bi of each line segment and increment the variable i (i = i + 1) (step 803).

【0088】そして、変数iがn−2よりも小さい(i
>n−2)場合には、ステップ803に移行して上記処
理を繰り返す(ステップ804)とともに、変数iがn
−2となった場合には(i=n−2)、 b0 =(x0,y0)、 bn-1=(xn,yn) として、始点及び終点を確定した後(ステップ805)
処理を終了する。
The variable i is smaller than n-2 (i
> N-2), the process proceeds to step 803 and the above process is repeated (step 804), and the variable i is n.
If it becomes -2 (i = n-2), b0 = (x0, y0), bn-1 = (xn, yn), and after the start point and the end point are confirmed (step 805).
The process ends.

【0089】上記一連の処理を行うことにより、線分が
階段状に形成される場合の線分を平滑化して直線化する
ことができることになる。
By performing the above-described series of processing, it is possible to smooth and straighten the line segment in the case where the line segment is formed stepwise.

【0090】次に曲線化処理部142が行う曲線化処理
(ステップ206〜ステップ207)について詳細に説
明する。
Next, the curve processing (step 206 to step 207) performed by the curve processing section 142 will be described in detail.

【0091】図9は、平滑化処理部141が平滑化した
輪郭線の一部分を拡大した図である。
FIG. 9 is an enlarged view of a part of the contour line smoothed by the smoothing processing unit 141.

【0092】図9(a)に示すように、始点(x0,y
0)から終点(xn,yn)に至る点列からなる線分が
ある場合には、曲線化処理部142が該点列をベジェ曲
線制御点に置換する。
As shown in FIG. 9A, the starting point (x0, y
If there is a line segment consisting of a point sequence from (0) to the end point (xn, yn), the curving processing unit 142 replaces the point sequence with a Bezier curve control point.

【0093】具体的には、まず対象セグメント抽出部1
42aが、連続するセグメントであって、X座標値が単
調増加又は単調減少であり、またY座標値も単調増加又
は単調減少であり、各セグメントの傾きが単調増加又は
単調減少であるものを曲線化対象として抽出する。
Specifically, first, the target segment extraction unit 1
42a is a continuous segment, the X coordinate value is monotonically increasing or monotonically decreasing, the Y coordinate value is also monotonically increasing or monotonically decreasing, and the slope of each segment is monotonically increasing or monotonically decreasing. Extract as an object to be converted.

【0094】例えば、図9(a)の場合には、座標原点
を左上隅に設けたとすると、各セグメントの端点におけ
るX座標値、すなわちx0、x1、x2、x3、x4、
xnが逐次単調に増加し、また、端点におけるY座標
値、すなわちy0、y1、y2、y3、y4、ynにつ
いても単調に増加している。
For example, in the case of FIG. 9A, assuming that the coordinate origin is located at the upper left corner, the X coordinate value at the end point of each segment, that is, x0, x1, x2, x3, x4,
xn successively and monotonically increases, and the Y coordinate values at the end points, that is, y0, y1, y2, y3, y4, and yn, also monotonically increase.

【0095】また、各セグメントの傾き、すなわち セグメント((x0,y0)−(x1,y1))、 セグメント((x1,y1)−(x2,y2))、 セグメント((x2,y2)−(x3,y3))、 セグメント((x3,y3)−(x4,y4))及び セグメント((x4,y4)−(xn,yn)) の傾きについても単調に増加しているため、図9(a)
に示す一連のセグメントは曲線化対象となる。
The inclination of each segment, that is, segment ((x0, y0)-(x1, y1)), segment ((x1, y1)-(x2, y2)), segment ((x2, y2)-( (3, x3, y3)), the segment ((x3, y3)-(x4, y4)) and the segment ((x4, y4)-(xn, yn)) also increase monotonically, so that FIG. a)
The series of segments shown in () are to be curved.

【0096】なお、セグメントの端点におけるX座標及
びY座標がそれぞれ単調増加又は単調減少であり、かつ
各セグメントの傾きが単調増加又は単調減少であること
を曲線化対象の条件としたのは、X座標値及びY座標値
が単調である限り、連続するセグメントの始点(x0,
y0)〜P〜終点(xn,yn)の三角形内に各セグメ
ントが納まり、かつ、各セグメントの傾きが単調である
限り、上記三角形内で輪郭線が波打つことがないため、
この連続するセグメントを容易にベジェ曲線に置換でき
るからである。
It is to be noted that the condition for the curve formation is that the X coordinate and the Y coordinate at the end points of the segments are monotonically increasing or monotonously decreasing, and the inclination of each segment is monotonically increasing or monotonically decreasing. As long as the coordinate value and the Y coordinate value are monotonic, the start point (x0,
y0) to P to end points (xn, yn), as long as each segment is within the triangle and the inclination of each segment is monotonous, the contour line does not wavy within the triangle.
This is because this continuous segment can be easily replaced with a Bezier curve.

【0097】また、制御点処理部142bは、上記対象
セグメント抽出部142aが抽出した一連のセグメント
に対応する制御点を算出して、曲線化を行う。
Further, the control point processing unit 142b calculates control points corresponding to the series of segments extracted by the target segment extraction unit 142a, and curves them.

【0098】例えば、図9(a)に示すセグメントの場
合には、始点が(x0,y0)、終点が(xn,yn)
で、制御点が(s1,y0)及び(xn,t1)である
ベジェ曲線に置換される(図9(b))。なお、このs
1及びt1は、直線の傾き及び三角形の傾きの割合に基
づいて算定される。
For example, in the case of the segment shown in FIG. 9A, the start point is (x0, y0) and the end point is (xn, yn).
Then, the control points are replaced with Bezier curves of (s1, y0) and (xn, t1) (FIG. 9 (b)). In addition, this s
1 and t1 are calculated based on the ratio of the slope of the straight line and the slope of the triangle.

【0099】次に、2つの極端な場合を捕らえて、この
s1及びt1の算定手順について説明する。なお、以下
では、制御点の座標を大文字X及びYで示すものとす
る。
Next, the calculation procedure of s1 and t1 will be described by catching two extreme cases. In the following, the coordinates of the control points are indicated by capital letters X and Y.

【0100】まず、図10(a)に示すように、セグメ
ントの傾きがX軸方向である場合には、Y0=Y1=Y
2=Y3であるため、セグメントの始点(X0,Y0)
及び終点(X3,Y3)のみを用いてセグメントを表す
ことができる(ただし、X1=X2=X3とする。)。
First, as shown in FIG. 10A, when the inclination of the segment is in the X-axis direction, Y0 = Y1 = Y
Since 2 = Y3, the start point of the segment (X0, Y0)
And the end points (X3, Y3) can be used to represent the segment (provided that X1 = X2 = X3).

【0101】ここで、X1について着目し、該X1から
X0の距離X1−X0は、X3からX0の距離X3−X
0に等しいことから、このX1はX3に比して長さが
1.00(100%)であるとする。
Here, paying attention to X1, the distance X1-X0 from X1 to X0 is the distance X3-X from X3 to X0.
Since it is equal to 0, it is assumed that the length of X1 is 1.00 (100%) as compared with X3.

【0102】また、図10(b)に示すように、セグメ
ントの傾きが終点(X3,Y3)方向である場合には、
X0=X1で表すことができるため、このX1に関して
はX3に比して長さが0.00(0%)であるとする。
As shown in FIG. 10B, when the segment inclination is in the end point (X3, Y3) direction,
Since X0 can be represented by X1, it is assumed that the length of X1 is 0.00 (0%) as compared with X3.

【0103】したがって、このX1を0(X1=X0)
から1(X1=X3)まで変化させ、またY1について
も同様に0から1まで変化させることにより、曲線を表
現することが可能となる。
Therefore, this X1 is set to 0 (X1 = X0)
To 1 (X1 = X3), and similarly for Y1 from 0 to 1, a curve can be expressed.

【0104】すなわち、この制御点処理部142bで
は、上記両極端の場合を基準とし、X軸方向及びY軸方
向に影響を与えるセグメントの傾き及び該セグメントを
包含する三角形の傾きから、比例計算により制御点のX
座標及びY座標を算定しているのである。
That is, the control point processing unit 142b controls by proportional calculation from the inclinations of the segments affecting the X-axis direction and the Y-axis direction and the inclinations of the triangles including the segments with reference to the extremes described above. Dot X
The coordinates and Y coordinates are calculated.

【0105】次に、上記制御点処理部142bが行う制
御点算出処理を具体例を用いてさらに詳細に説明する。
Next, the control point calculation process performed by the control point processing unit 142b will be described in more detail using a specific example.

【0106】図11は、単調に増加する2つのセグメン
トから制御点を算出して曲線化した場合を示す図であ
る。
FIG. 11 is a diagram showing a case where control points are calculated from two monotonically increasing segments and are made into curves.

【0107】図11(a)に示すように、始点(0,
0)から終点(7,1)に至るセグメントlと、始点
(7,1)から終点(8,10)に至るセグメントmが
存在する場合には、 三角形のX方向の長さ(X)=8 三角形のY方向の長さ(Y)=10 であり、 三角形の斜辺についてのX方向の傾き(Xd)=10/
8 となるので、X方向については、この傾きXdがしきい
値となる。
As shown in FIG. 11A, the starting point (0,
When there is a segment 1 from 0) to the end point (7, 1) and a segment m from the start point (7, 1) to the end point (8, 10), the length of the triangle in the X direction (X) = 8 The length of the triangle in the Y direction (Y) = 10, and the inclination of the hypotenuse of the triangle in the X direction (Xd) = 10 /
Therefore, the gradient Xd becomes the threshold value in the X direction.

【0108】そして、この傾き以下のセグメントが曲線
に影響を与えるため、セグメントl及びmのX方向の傾
きをそれぞれ求めると、 セグメントlの傾き(lx)=1/7 セグメントmの傾き(mx)=9/1 となる。
Then, since the segments below this slope affect the curve, when the slopes of the segments 1 and m in the X direction are respectively calculated, the slope of the segment l (lx) = 1/7 The slope of the segment m (mx) = 9/1.

【0109】すなわち、X方向についてはセグメントl
が影響を与えることが分かるため、X1の座標は、 X1=(X3−X0)×(1−lx/Xd) =8×{1−(1/7)(10/8)} =216/35 となる。
That is, in the X direction, the segment l
Therefore, the coordinates of X1 are: X1 = (X3-X0) * (1-lx / Xd) = 8 * {1- (1/7) (10/8)} = 216/35 Becomes

【0110】同様に、 三角形の斜辺についてのY方向の傾き(Yd)=8/1
0 がしきい値となり、また、 セグメントlの傾き(ly)=7/1 セグメントmの傾き(my)=1/9 であるため、Y方向についてはセグメントmが影響を与
えることが分かる。
Similarly, the inclination (Yd) in the Y direction of the hypotenuse of the triangle = 8/1
Since 0 is a threshold value and the gradient (ly) of the segment 1 is 7/1 and the gradient (my) of the segment m is 1/9, it can be seen that the segment m affects the Y direction.

【0111】このため、Y1の座標は、 Y1=(Y3−Y0)×(my/Yd) =10×(5/36) =25/18 となる。Therefore, the coordinates of Y1 are Y1 = (Y3−Y0) × (my / Yd) = 10 × (5/36) = 25/18.

【0112】したがって、この場合のベジェ曲線の始
点、終点及び2つの制御点の座標値は、(0,0)、
(216/35,0)、(8,25/18),(8,1
0)となり、該セグメントは図11(b)に示す曲線に
置換される。
Therefore, the coordinate values of the start point, the end point, and the two control points of the Bezier curve in this case are (0, 0),
(216 / 35,0), (8,25 / 18), (8,1)
0), and the segment is replaced by the curve shown in FIG. 11 (b).

【0113】次に、4つのセグメントから構成される輪
郭線分を曲線に置換する場合について説明する。
Next, the case where the contour line segment composed of four segments is replaced with a curve will be described.

【0114】図12は、単調に増加する4つのセグメン
トから制御点を算出して曲線化した場合を示す図であ
る。
FIG. 12 is a diagram showing a case where control points are calculated from four monotonically increasing segments and are made into curves.

【0115】図12(a)に示すように、始点(0,
0)から終点(3,1)に至るセグメントaと、始点
(3,1)から終点(5,2)に至るセグメントbと、
始点(5,2)から終点(6,4)に至るセグメントc
と、始点(6,4)から終点(8,10)に至るセグメ
ントdとが存在する場合には、 三角形のX方向の長さ(X)=8 三角形のY方向の長さ(Y)=10 であり、 三角形の斜辺についてのX方向の傾き(Xd)=10/
8 となるので、X方向については、この傾きXdがしきい
値となる。
As shown in FIG. 12A, the start point (0,
Segment a from 0) to end point (3,1), segment b from start point (3,1) to end point (5,2),
Segment c from start point (5,2) to end point (6,4)
And a segment d from the start point (6, 4) to the end point (8, 10), the length of the triangle in the X direction (X) = 8 the length of the triangle in the Y direction (Y) = 10 and the inclination (Xd) of the hypotenuse of the triangle in the X direction = 10 /
Therefore, the gradient Xd becomes the threshold value in the X direction.

【0116】そして、この傾き以下のセグメントが曲線
に影響を与えるため、セグメントa、b、c及びdのX
方向の傾きをそれぞれ求めると、 セグメントaの傾き(ax)=1/3 セグメントbの傾き(bx)=1/2 セグメントcの傾き(cx)=2/1 セグメントdの傾き(dx)=6/2 となる。
Then, since a segment having a slope less than this influences the curve, X of the segments a, b, c and d is
The inclinations of the respective directions are calculated as follows: inclination of segment a (ax) = 1/3 inclination of segment b (bx) = 1/2 inclination of segment c (cx) = 2/1 inclination of segment d (dx) = 6 It becomes / 2.

【0117】すなわち、X方向についてはセグメントa
及びセグメントbが影響を与えることが分かるため、X
1の座標は、 X1=(X3−X0)×(1−ax/Xd)×(1−b
x/Xd) =8×{1−(4/15)}×{1−(2/5)} =264/75 となる。
That is, in the X direction, the segment a
And segment b has an effect, so X
The coordinates of 1 are: X1 = (X3-X0) * (1-ax / Xd) * (1-b
x / Xd) = 8 * {1- (4/15)} * {1- (2/5)} = 264/75.

【0118】同様に、 三角形の斜辺についてのY方向の傾き(Yd)=8/1
0 がしきい値となり、また、 セグメントaの傾き(ay)=3/1 セグメントbの傾き(by)=2/1 セグメントcの傾き(cy)=1/2 セグメントdの傾き(dy)=2/6 であるため、Y方向についてはセグメントc及びセグメ
ントdが影響を与えることが分かる。
Similarly, the inclination (Yd) of the hypotenuse of the triangle in the Y direction = 8/1
0 is the threshold value, and the gradient of segment a (ay) = 3/1 the gradient of segment b (by) = 2/1 the gradient of segment c (cy) = 1/2 the gradient of segment d (dy) = Since it is 2/6, it can be seen that the segment c and the segment d influence in the Y direction.

【0119】このため、Y1の座標は、 Y1=(Y3−Y0)×(cy/Yd)×(dy/Y
d) =10×(5/8)×(5/12) =125/48 となる。
Therefore, the coordinates of Y1 are as follows: Y1 = (Y3-Y0) * (cy / Yd) * (dy / Y
d) = 10 × (5/8) × (5/12) = 125/48.

【0120】したがって、この場合のベジェ曲線の始
点、終点及び2つの制御点の座標値は、(0,0)、
(264/75,0)、(8,125/48),(8,
10)となり、該セグメントは図12(b)に示す曲線
に置換される。
Therefore, the coordinate values of the start point, the end point and the two control points of the Bezier curve in this case are (0, 0),
(264 / 75,0), (8,125 / 48), (8,
10) and the segment is replaced by the curve shown in FIG.

【0121】次に、この制御点処理部142bが行う処
理手順について、図13に示すフローチャートを用いて
説明する。
Next, the processing procedure performed by the control point processing unit 142b will be described with reference to the flowchart shown in FIG.

【0122】図13に示すように、まず曲線に影響を与
えるセグメントを判断するために、X方向の傾きのしき
い値Xd及びY方向の傾きのしきい値Ydを求めるとと
もに、n個のセグメント(セグメントl0〜セグメント
lnー1)の設定を行う(i=0)(ステップ130
1)。
As shown in FIG. 13, first, in order to determine the segment that affects the curve, the threshold value Xd of the tilt in the X direction and the threshold value Yd of the tilt in the Y direction are obtained, and n segments are calculated. (Segment 10 to Segment ln-1) is set (i = 0) (step 130
1).

【0123】この際、Xd及びYdについては、 Xd = Y/X Yd = X/Y により算定され、また各セグメントについては、 lj = {(xj,yj)−(xj+1,yj+1)} (ただし、0≦j≦n−1) により設定される。At this time, Xd and Yd are calculated by Xd = Y / X Yd = X / Y, and lj = {(xj, yj)-(xj + 1, yj + 1) for each segment. } (Where 0 ≦ j ≦ n−1).

【0124】次に、X方向及びY方向に対する各セグメ
ントの傾きを求める(ステップ1302〜ステップ13
03)。
Next, the inclination of each segment with respect to the X and Y directions is obtained (steps 1302 to 13).
03).

【0125】この際、セグメントliのX方向の傾きl
ix及びY方向の傾きliyは、 lix = (yi+1−yi)/(xi+1−xi) liy = (xi+1−xi)/(yi+1−yi) により求めることができる。
At this time, the inclination l of the segment li in the X direction
The tilt liy in the ix and Y directions can be obtained by lix = (yi + 1−yi) / (xi + 1−xi) liy = (xi + 1−xi) / (yi + 1−yi).

【0126】次に、各セグメントについて、ステップ1
302で求めたセグメントのX方向の傾きlix及びY
方向の傾きliyが、それぞれステップ1301で求め
たしきい値Xd及びYdより小さいか否かを確認し、該
しきい値よりも小さな傾きを持つセグメントは曲線に影
響を与えるものとみなして保持する(ステップ1305
〜ステップ1308)。
Next, for each segment, step 1
Inclination lix and Y in the X direction of the segment obtained in 302
It is confirmed whether or not the inclination liy in the direction is smaller than the threshold values Xd and Yd obtained in step 1301, respectively, and the segment having the inclination smaller than the threshold value is considered to affect the curve and is held. (Step 1305
~ Step 1308).

【0127】そして、ステップ1308で保持したセグ
メントの傾きと、しきい値から制御点の座標位置X1及
びY2を算定する(ステップ1309)。
Then, the coordinate positions X1 and Y2 of the control point are calculated from the inclination of the segment held in step 1308 and the threshold value (step 1309).

【0128】上記一連の処理を行うことにより、一連の
セグメントを曲線化する際の制御点の座標位置を容易に
求めることができる。
By performing the above series of processing, it is possible to easily obtain the coordinate position of the control point when the series of segments is curved.

【0129】上述してきたように、本実施例では、輪郭
抽出部140が、ドットデータの格子点に着目して、該
格子点に角を接する4画素の値によって方向値を格納す
るとともに、輪郭を追跡する方向を決定するよう構成し
たので、ドット幅が1以上で表現されたドット形式の文
字データから輪郭線データを生成することができる。
As described above, in the present embodiment, the contour extraction unit 140 focuses on the grid point of the dot data, stores the direction value by the value of the four pixels which are in contact with the grid point, and The contour line data can be generated from the character data in the dot format in which the dot width is represented by 1 or more.

【0130】また、平滑化処理部141が、複数のセグ
メントのそれぞれの中点を連結して輪郭線を平滑化する
よう構成したので、輪郭線を高品質化することができ
る。
Further, since the smoothing processing unit 141 is configured to connect the respective midpoints of the plurality of segments to smooth the contour line, it is possible to improve the quality of the contour line.

【0131】さらに、曲線化処理部142が、平滑化し
た連続するセグメントのうち、X座標値及びY座標値が
それぞれ単調増加又は単調減少し、各セグメントの傾き
が単調減少又は単調増加するものを検出し、該連続する
セグメントの始点及び終点の座標値に基づいて、該連続
するセグメントを2つの制御点を有するベジェ曲線に置
換するよう構成したので、直線成分で構成されるセグメ
ントをベジェ曲線に置換することができる。
Furthermore, the curve-processing section 142 selects one of the smoothed continuous segments whose X-coordinate value and Y-coordinate value monotonically increase or monotonically decrease, and whose inclination of each segment monotonically decreases or monotonically increases. Since it is configured to replace the continuous segment with a Bezier curve having two control points based on the coordinate values of the start point and the end point of the continuous segment, the segment composed of the linear component is converted into the Bezier curve. Can be replaced.

【0132】なお、本実施例では、輪郭線抽出部140
が抽出した輪郭線に対して平滑化処理部141が平滑化
を行い、さらに曲線化処理部142が曲線化する場合に
ついて説明したが、本発明はこれに限定されるものでは
なく、それぞれの処理部を独立に処理させることもでき
る。
In this embodiment, the contour line extracting section 140
The case where the smoothing processing unit 141 smoothes the contour line extracted by the above and the curve processing unit 142 further curves is described, but the present invention is not limited to this, and each processing is performed. The parts can also be processed independently.

【0133】[0133]

【発明の効果】以上詳細に説明したように、本発明で
は、各格子点における輪郭線の連なり方向を、前記4つ
の隣接画素の持つ値に対応して求め、各格子点が有する
方向性に基づいて格子点を追跡して輪郭線データを抽出
するよう構成したので、1ドット幅で構成される線分か
らでもアウトラインデータを抽出することが可能であ
る。
As described above in detail, in the present invention, the direction in which the contour lines are connected at each grid point is determined in correspondence with the values of the four adjacent pixels, and the directionality of each grid point is determined. Since the grid points are traced based on this to extract the contour line data, it is possible to extract the outline data even from a line segment having a one-dot width.

【0134】また、本発明では、連続したセグメントで
あって、各セグメントの端点におけるX座標値が単調増
加又は単調減少し、かつ該端点におけるY座標値が単調
増加又は単調減少し、さらに各セグメントの傾きが単調
増加又は単調減少する複数のセグメントを、曲線化の対
象となるセグメントとして検出し、該検出された連続す
るセグメントの始点及び終点の座標値及び各セグメント
の傾きに基づいて、該連続するセグメントを2つの制御
点を有するベジェ曲線に置換するよう構成したので、高
品質なアウトラインデータを効率良く取得することが可
能である。
Further, in the present invention, in the case of continuous segments, the X coordinate value at the end point of each segment monotonically increases or decreases, and the Y coordinate value at the end point monotonically increases or decreases monotonically. A plurality of segments whose slopes are monotonically increasing or monotonically decreasing are detected as segments to be curved, and based on the coordinate values of the start and end points of the detected continuous segments and the slope of each segment, the continuous Since the segment to be converted is replaced with the Bezier curve having two control points, it is possible to efficiently obtain high-quality outline data.

【0135】また、本発明では、連続するセグメントに
対して、各セグメントの中点を連結した新たなセグメン
トに置換するよう構成したので、輪郭線データの高品質
化を効率良く行うことが可能である。
Further, according to the present invention, since continuous segments are replaced with new segments in which the midpoints of the respective segments are connected, it is possible to efficiently improve the quality of the contour line data. is there.

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

【図1】本発明に係るアウトラインデータ生成装置の構
成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of an outline data generation device according to the present invention.

【図2】図1に示すアウトラインデータ生成部の処理手
順を示すフローチャート。
FIG. 2 is a flowchart showing a processing procedure of an outline data generation unit shown in FIG.

【図3】図1に示す輪郭線抽出部が処理するドットデー
タ及び処理に用いるマスクパターンを示す図。
FIG. 3 is a diagram showing dot data processed by a contour line extraction unit shown in FIG. 1 and a mask pattern used for the processing.

【図4】図3に示すドットデータに対して輪郭線抽出処
理を行った処理結果を示す図。
FIG. 4 is a diagram showing a processing result obtained by performing contour line extraction processing on the dot data shown in FIG. 3;

【図5】図1に示す輪郭線抽出部が処理する別のドット
データ及び処理結果を示す図。
5A and 5B are diagrams showing another dot data processed by the contour extraction unit shown in FIG. 1 and a processing result.

【図6】図1に示す輪郭線抽出部が行う処理手順を示す
フローチャート。
6 is a flowchart showing a processing procedure performed by a contour line extraction unit shown in FIG.

【図7】図1に示す平滑化処理部が処理する折れ線デー
タ及び平滑化処理結果を示す図。
FIG. 7 is a diagram showing polygonal line data processed by a smoothing processing unit shown in FIG. 1 and a smoothing processing result.

【図8】図1に示す平滑化処理部が行う処理手順を示す
フローチャート。
8 is a flowchart showing a processing procedure performed by a smoothing processing unit shown in FIG.

【図9】図1に示す曲線化処理部が処理する一連のセグ
メント及び処理後に生じる制御点を示す図。
9 is a diagram showing a series of segments processed by the curving processing unit shown in FIG. 1 and control points generated after the processing.

【図10】図1に示す曲線化処理部が曲線化を行う際の
極端な場合を示す図。
FIG. 10 is a diagram showing an extreme case in which the curving processing unit shown in FIG. 1 performs curving.

【図11】図1に示す曲線化処理部が処理した具体例を
示す図。
FIG. 11 is a diagram showing a specific example of processing performed by the curve processing unit shown in FIG. 1.

【図12】図1に示す曲線化処理部が処理した別の具体
例を示す図。
FIG. 12 is a diagram showing another specific example processed by the curving processing unit shown in FIG. 1.

【図13】図1に示す曲線化処理部が行う処理手順を示
すフローチャート。
FIG. 13 is a flowchart showing a processing procedure performed by a curve processing unit shown in FIG.

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

10 入力部、 11 出力部、 12 記憶部、 1
3 メモリ、14 アウトラインデータ生成部、 14
0 輪郭抽出部、141 平滑化処理部、 142 曲
線化処理部、142a 対象セグメント抽出部、 14
2b 制御点処理部
10 input unit, 11 output unit, 12 storage unit, 1
3 memory, 14 outline data generation unit, 14
0 contour extraction unit, 141 smoothing processing unit, 142 curve processing unit, 142a target segment extraction unit, 14
2b Control point processing unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数の画素を配置して構成されるドット
形式の画情報から複数のセグメントからなる輪郭線デー
タを生成するアウトライン生成装置において、 互いに隣接する4つの画素の接点に位置する各格子点に
おける輪郭線の連なり方向を前記4つの画素が持つ値に
対応して求め、各格子点が持つ輪郭線の連なり方向に基
づいて輪郭線を追跡して輪郭線データを抽出する輪郭抽
出手段を具備したことを特徴とするアウトラインデータ
生成装置。
1. An outline generation device for generating contour line data composed of a plurality of segments from image information in a dot format formed by arranging a plurality of pixels, wherein each grid is located at a contact point of four adjacent pixels. Contour extraction means for obtaining the contour line continuation direction at a point corresponding to the values of the four pixels, tracing the contour line based on the contour line continuation direction of each grid point, and extracting the contour line data. An outline data generation device characterized by being provided.
【請求項2】 輪郭線を構成する複数のセグメントのう
ち、連続したセグメントであって、各セグメントの端点
におけるX座標値が単調増加又は単調減少し、かつ該端
点におけるY座標値が単調増加又は単調減少し、さらに
各セグメントの傾きが単調増加又は単調減少する複数の
セグメントを検出する検出手段と、 前記検出手段により検出された連続するセグメントの始
点及び終点の座標値及び各セグメントの傾きに基づい
て、該連続するセグメントを2つの制御点を有するベジ
ェ曲線に置換する曲線化手段とを具備したことを特徴と
するアウトラインデータ生成装置。
2. A plurality of segments forming a contour line, which are continuous segments, in which the X coordinate value at the end point of each segment monotonically increases or decreases and the Y coordinate value at the end point monotonically increases or decreases. A monotonically decreasing, further detecting means for detecting a plurality of segments in which the inclination of each segment monotonically increases or monotonically decreases, based on the coordinate values of the start and end points of consecutive segments detected by the detecting means and the inclination of each segment. And a curve forming means for replacing the continuous segment with a Bezier curve having two control points.
【請求項3】 複数の画素を配置して構成されるドット
形式の画情報から複数のセグメントからなる輪郭線デー
タを生成するアウトライン生成装置において、 互いに隣接する4つの画素の接点に位置する各格子点に
おける輪郭線の連なり方向を前記4つの画素が持つ値に
対応して求め、各格子点が持つ輪郭線の連なり方向に基
づいて輪郭線を追跡して輪郭線データを抽出する輪郭抽
出手段と、 前記輪郭抽出手段により抽出された連続するセグメント
を、該セグメントの中点を連結した新たなセグメントに
置換する平滑化手段と、 前記輪郭線を構成する複数のセグメントのうち、連続し
たセグメントであって、各セグメントの端点におけるX
座標値が単調増加又は単調減少し、かつ該端点における
Y座標値が単調増加又は単調減少し、さらに各セグメン
トの傾きが単調増加又は単調減少する複数のセグメント
を検出する検出手段と、 前記検出手段により検出された連続するセグメントの始
点及び終点の座標値及び各セグメントの傾きに基づい
て、該連続するセグメントを2つの制御点を有するベジ
ェ曲線に置換する曲線化手段とを具備したことを特徴と
するアウトラインデータ生成装置。
3. An outline generation device for generating contour line data consisting of a plurality of segments from dot-form image information formed by arranging a plurality of pixels, wherein each grid is located at a contact point of four adjacent pixels. A contour extracting means for obtaining a contour line continuation direction at a point corresponding to the values of the four pixels, tracing the contour line based on the contour line continuation direction of each grid point, and extracting contour line data. A smoothing unit that replaces the continuous segment extracted by the contour extracting unit with a new segment that connects the midpoints of the segments, and a continuous segment among a plurality of segments that form the contour line. X at the end point of each segment
Detecting means for detecting a plurality of segments whose coordinate values monotonously increase or monotonically decrease, Y coordinate values at the end points monotonically increase or monotonically decrease, and the inclination of each segment monotonically increases or monotonically decreases; And a curve forming means for replacing the continuous segment with a Bezier curve having two control points on the basis of the coordinate values of the start point and the end point of the continuous segment detected by the above and the inclination of each segment. Outline data generation device.
JP6056070A 1994-03-25 1994-03-25 Outline data generator Pending JPH07262385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6056070A JPH07262385A (en) 1994-03-25 1994-03-25 Outline data generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6056070A JPH07262385A (en) 1994-03-25 1994-03-25 Outline data generator

Publications (1)

Publication Number Publication Date
JPH07262385A true JPH07262385A (en) 1995-10-13

Family

ID=13016830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6056070A Pending JPH07262385A (en) 1994-03-25 1994-03-25 Outline data generator

Country Status (1)

Country Link
JP (1) JPH07262385A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10164436A (en) * 1996-12-04 1998-06-19 Sony Corp Device and method for detecting contour and generating key signal
CN112419444A (en) * 2020-12-09 2021-02-26 北京维盛视通科技有限公司 Clothing sheet drawing method and device, electronic equipment and storage medium
CN114818181A (en) * 2022-04-21 2022-07-29 哈尔滨工程大学 Tooth profile based straight toothed spur gear finite element mesh automatic generation method and computer equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10164436A (en) * 1996-12-04 1998-06-19 Sony Corp Device and method for detecting contour and generating key signal
CN112419444A (en) * 2020-12-09 2021-02-26 北京维盛视通科技有限公司 Clothing sheet drawing method and device, electronic equipment and storage medium
CN112419444B (en) * 2020-12-09 2024-03-29 北京维盛视通科技有限公司 Clothing sheet drawing method and device, electronic equipment and storage medium
CN114818181A (en) * 2022-04-21 2022-07-29 哈尔滨工程大学 Tooth profile based straight toothed spur gear finite element mesh automatic generation method and computer equipment
CN114818181B (en) * 2022-04-21 2023-08-25 哈尔滨工程大学 Method and equipment for automatically generating finite element grid based on tooth profile straight-tooth cylindrical gear

Similar Documents

Publication Publication Date Title
US5959635A (en) Character pattern generator
JP2608571B2 (en) Apparatus and method for vectorizing input scanned image data
JP2014167635A (en) Method for processing stroke-based font for low-resolution display
JP4162670B2 (en) How to generate a silhouetted gray font
US5404431A (en) Image drawing with improved area ratio approximation process
JPH0883060A (en) Thickish/thinish character generation device
JP2000011144A (en) Eyebrow deformation system
JP2002133428A (en) Plotting processing device
JPH07262385A (en) Outline data generator
JP2007121668A (en) Topographic polygon generating method
JPH07334648A (en) Method and device for processing image
JPH11109943A (en) Font processor and recording medium recorded with font processing program
JP5629483B2 (en) Image processing method, image processing apparatus, and program
JP2769673B2 (en) Vignette image converter
JP3344538B2 (en) Character generator
JP3597637B2 (en) Image boundary correction method and apparatus
JP2782753B2 (en) Character pattern scaling device
JP2000066658A (en) Image processor and recording medium
KR100871825B1 (en) Character processing method based on outline font information, and computer software program product for allowing computer system to execute the method
JPH0442194A (en) Character generating device, document editing device, and printer
JP2782752B2 (en) Character pattern output device
Park et al. Structure extraction and automatic hinting of Chinese outline characters
JP2005071243A (en) Image processing apparatus, method and program
JP3039214B2 (en) Data converter
JP2776887B2 (en) Font pattern processing method