JPS6084583A - Dot interpolation control system - Google Patents

Dot interpolation control system

Info

Publication number
JPS6084583A
JPS6084583A JP58193752A JP19375283A JPS6084583A JP S6084583 A JPS6084583 A JP S6084583A JP 58193752 A JP58193752 A JP 58193752A JP 19375283 A JP19375283 A JP 19375283A JP S6084583 A JPS6084583 A JP S6084583A
Authority
JP
Japan
Prior art keywords
dot
value
interpolation
comparison
character
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.)
Granted
Application number
JP58193752A
Other languages
Japanese (ja)
Other versions
JPH0443274B2 (en
Inventor
吉井 二郎
晃 小松
弘 石井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP58193752A priority Critical patent/JPS6084583A/en
Priority to US06/661,192 priority patent/US4680720A/en
Priority to KR1019840006456A priority patent/KR890005004B1/en
Publication of JPS6084583A publication Critical patent/JPS6084583A/en
Publication of JPH0443274B2 publication Critical patent/JPH0443274B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G1/00Control arrangements or circuits, of interest only in connection with cathode-ray tube indicators; General aspects or details, e.g. selection emphasis on particular characters, dashed line or dotted line generation; Preprocessing of data

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [発明の技術分野] 本発明はドツトマトリクス構造の文字7オント情報を扱
う文書作成装置、文字出力装置等に用いられるドツト補
間制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a dot interpolation control method used in document creation devices, character output devices, etc. that handle character 7-ont information in a dot matrix structure.

[発明の技術的背景とその問題点] 文書作成装置等、規定されたドツトマトリクス構成の文
字フォントを扱う装置に於いて、規定されたドツトマト
リクス構成の文字フォントを成る倍率で拡大・縮小する
ことのできる機能をもたせる場合、従来では、第1図に
(a)乃至(C)に示すように原文字パターンドツトs
d・・・から単純にドツトを増加又は削除する所謂単純
拡大方式が採られていた。
[Technical Background of the Invention and Problems Therewith] In a device that handles a character font with a specified dot matrix structure, such as a document creation device, it is possible to enlarge or reduce the character font with a specified dot matrix structure at a specified magnification. Conventionally, when providing a function that allows for
A so-called simple enlargement method has been adopted in which dots are simply increased or deleted from d....

このような従来の拡大・縮小手段は、比較的簡単かつ安
価に実現出来るが、例えば斜線部分における階段状の形
成部(括れ)が目立つ等、出力されるパターン形状が本
来の表現すべき文字形態から逸れてしまい、認識し難い
不自然な文字表現になってしまうという不都合があった
。又、上記したような従来の拡大・縮小手段においては
、斜体、回転体、白抜き、更には線太等各種の変形字体
を容易に得ることができず又その変形範囲が大幅に制約
されるという欠点があった。
Such conventional enlarging/reducing means can be realized relatively easily and inexpensively, but the output pattern shape may not be the original character form that should be expressed, for example, the step-like formation (constriction) in the diagonal line area is noticeable. This had the disadvantage that it deviated from the original character, resulting in an unnatural character expression that was difficult to recognize. Furthermore, with the conventional enlarging/reducing means as described above, it is not possible to easily obtain various deformed fonts such as italics, rotated characters, outlines, and even thick lines, and the range of deformation is greatly restricted. There was a drawback.

[発明の目的] 本発明は上記実情に鑑みなされたもので、規定されたド
ツトマトリクス構成の文字フォントを扱う装置に於いて
、文字パターンのドツト補間を高い文字品質を保ちつつ
、しかも任意の拡大・縮小倍率にて容易に行なうことが
できるとともに、半階調輝度による斜線部分の補償等を
含む各種の文字修飾を容易に可能とした実用性の極めて
高いドツト補間制御方式を提供することを目的とする。
[Object of the Invention] The present invention has been made in view of the above-mentioned circumstances, and is a device that handles character fonts with a prescribed dot matrix structure, and is capable of performing dot interpolation of character patterns while maintaining high character quality and allowing arbitrary enlargement.・The purpose is to provide an extremely practical dot interpolation control method that can be easily performed at a reduced magnification and also allows for various character decorations, including compensation for diagonal lines using half-tone luminance. shall be.

[発明の実施例] 以下図面を参照して本発明の一実施例を説明する。[Embodiments of the invention] An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例を示す回路ブロック図である
。図中、10はシステム全体の制御を司るCPU、11
はメインメモリ(MM)、12はCPUバス、13は表
示制御回路(CRT−C) 、14A。
FIG. 2 is a circuit block diagram showing one embodiment of the present invention. In the figure, 10 is a CPU that controls the entire system;
12 is a main memory (MM), 12 is a CPU bus, 13 is a display control circuit (CRT-C), and 14A.

14Bは一対のフレームメモリ(FM)、15は一対の
パラレル−シリアル変換回路(P−8)、16はCR7
表示部である。
14B is a pair of frame memories (FM), 15 is a pair of parallel-serial conversion circuits (P-8), and 16 is CR7.
This is the display section.

21乃至24、及び25A、 25BはそれぞれCPU
バス12につながれたI10レジスタであり、21はド
ツト補間時に於けるX方向のドツト刻み幅(dx)を貯
えるレジスタ、22はドツト補間時のX方向の初期値(
イニシャルアドレス;SX)を貯えるレジスタ、23は
ドツト補間時に於けるY方向のドツト刻み幅(dy)を
貯えるレジスタ、24はドツト補間時のY方向の初期値
(イニシャルアドレス:SV)を貯えるレジスタ、25
A及び25Bはそれぞれ後述する補間値との比較を行な
うための各々異なる比較値、即ち閾値(thl ) 、
(th2 )を貯える一対のレジスタである。
21 to 24, 25A, and 25B are CPUs, respectively.
The I10 register is connected to the bus 12, 21 is a register that stores the dot width (dx) in the X direction during dot interpolation, and 22 is the initial value (dx) in the X direction during dot interpolation.
23 is a register that stores the dot width (dy) in the Y direction during dot interpolation. 24 is a register that stores the initial value (initial address: SV) in the Y direction during dot interpolation. 25
A and 25B are respectively different comparison values for comparison with interpolated values to be described later, that is, threshold values (thl),
(th2).

26は後述するラッチ回路28の値にレジスタ21の値
(dx)を加算する加算回路(ADD)、27はス5− タート時に於いてレジスタ22の値(SX)を選択し、
それ以後は加算回路26の出力を選択するデータセレク
タ(SEL)、28はデータセレクタ27より出力され
る整数部と小数部で表わされるドツト補間時の新たなド
ツトアドレス(sx+l ・dx)を貯えるラッチ回路
である。29は後述するラッチ回路31の値にレジスタ
23の値(dy)を加算する加算回路、30はスタート
時に於いてレジスタ24の値<8V)を選択し、それ以
後は加算回路29の出力を選択するデータセレクタ、3
1はデータセレクタ30より出力される整数部と小数部
で表わされるドツト補間時の新たなドツトアドレス(s
y+J −dy)を貯えるラッチ回路である。32はデ
ータセレクタ27.30の切替え制御を行なう制御フリ
ップ70ツブである。
26 is an adder circuit (ADD) that adds the value (dx) of the register 21 to the value of the latch circuit 28, which will be described later; 27 is the adder circuit that selects the value (SX) of the register 22 at the time of start;
After that, a data selector (SEL) selects the output of the adder circuit 26, and a latch 28 stores the new dot address (sx+l ・dx) during dot interpolation, which is expressed by the integer part and decimal part output from the data selector 27. It is a circuit. 29 is an adder circuit that adds the value (dy) of register 23 to the value of latch circuit 31, which will be described later. 30 selects the value of register 24 (<8V) at the start, and thereafter selects the output of adder circuit 29. data selector, 3
1 is the new dot address (s
This is a latch circuit that stores y+J-dy). Reference numeral 32 denotes a control flip 70 for controlling switching of the data selectors 27 and 30.

33は漢字を含む所定ドツトマトリクス単位(例えば1
6X 16ドツト)の文字パターンデータが格納された
漢字パターンメモリ(KPM)である。34は漢字パタ
ーンメモリ33より読出した1文字分のドツトパターン
を貯える高速RAMにより構成された1文字バッファで
あり、ここでは1文字分のド6− ットパターンをその周囲をオフドツト(“0”)のビッ
トパターンで埋めた状態で記憶する。35は1文字バッ
ファ34に貯えられた文字パターンデータのうち、ラッ
チ回路28.31の各整数部の値に従い、新たなドツト
を囲む1格子4点のドツト情報を選択的に出力するビッ
ト選択回路である。36はビット選択回路35より出力
された4ビツトの情報をラッチするラッチ回路である。
33 is a predetermined dot matrix unit (for example, 1
This is a Kanji pattern memory (KPM) in which character pattern data of 6×16 dots is stored. Reference numeral 34 denotes a single character buffer composed of a high-speed RAM that stores the dot pattern for one character read from the kanji pattern memory 33. Here, the six-dot pattern for one character is surrounded by off-dots ("0"). It is stored filled with bit patterns. 35 is a bit selection circuit that selectively outputs dot information of four points in one lattice surrounding a new dot according to the values of each integer part of the latch circuit 28 and 31 among the character pattern data stored in the one character buffer 34. It is. A latch circuit 36 latches the 4-bit information output from the bit selection circuit 35.

37乃至39はビット選択回路35より出力されるドツ
ト情報のパターンをli!I!識し、4点のドツトで囲
まれる新ドツトの補間値を選択的に切替え制御するドツ
トパターン認識部(DSP)の構成要素をなすもので、
37はラッチ回路36のピット内容から4点のドツトパ
ターン状態を認識し、後述する特定のドツトパターン状
態である際に、更にその周囲の特定の2格子分のドツト
情報を順次選択すべくビット選択回路35を制御する判
別制御回路、38はこの判別制御回路37の制御で読出
された4ピツトの情報をそれぞれラッチするラッチ回路
、39は判別制御回路37の制御で読出された2格子分
のドツト情報とラッチ回路36のドツト情報とのドツト
パターン状態に応じた1ビツトの補間値切替選択信号を
出力するドツト判別回路である。40はラッチ回路28
に貯えられた小数部の値(5ビツトのX方向オフセット
値)とラッチ回路31に貯えられた小数部の値(5ピッ
1−のY方向オフセット値)とラッチ回路36に貯えら
れた4点のドツト情報とドツト判別回路39より出力さ
れる1ビツトの補間値切替選択信号とを入力情報として
前記4点のドツト情報で囲まれた領域内に於ける新たな
ドツトの補間値(Qxy)を出力する補間テーブルRO
Mであり、ここでは256K(32Kx8)ピットのマ
スクROMを用い、前記した15ビツトの読出しアドレ
スに従い8ビツト(0〜255レベル)の補間値を出力
する。41A及び41Bはそれぞれ補間テーブルROM
40より出力される補間値と予め対応付されたレジスタ
25A、 25Bに貯えられた閾値との比較をとるコン
パレータであり、それぞれ補間値が比較値即ち閾値(t
hl、th2 )を越えた際にオンドツト(輝点)を示
す゛1″レベルの信号を出力する。42A及び42Bは
それぞれ対応するコンパレータ41A、 41Bより出
力されたドツト情報を順次貯え、所定ビット長単位(こ
こでは1バイトとする)毎にCPUバス12上に出力す
る一対のI10レジスタである。
37 to 39 indicate patterns of dot information output from the bit selection circuit 35. I! It is a constituent element of the dot pattern recognition unit (DSP) that recognizes and selectively switches and controls the interpolated value of a new dot surrounded by four dots.
37 recognizes the dot pattern state of four points from the pit contents of the latch circuit 36, and when the dot pattern state is in a specific dot pattern state described later, bit selection is performed to sequentially select dot information for two specific grids around the dot pattern state. A discrimination control circuit that controls the circuit 35; 38 a latch circuit that latches the information of 4 pits read out under the control of the discrimination control circuit 37; 39 a latch circuit that latches the information of 2 grids read out under the control of the discrimination control circuit 37; This is a dot discrimination circuit that outputs a 1-bit interpolation value switching selection signal according to the dot pattern state of the information and the dot information of the latch circuit 36. 40 is a latch circuit 28
The decimal part value stored in the latch circuit 31 (5-bit X-direction offset value), the decimal part value stored in the latch circuit 31 (5-bit Y-direction offset value), and the 4 points stored in the latch circuit 36 The interpolation value (Qxy) of a new dot in the area surrounded by the dot information of the four points is determined using the dot information of the dot information and the 1-bit interpolation value switching selection signal output from the dot discrimination circuit 39 as input information. Interpolation table RO to output
Here, a 256K (32Kx8) pit mask ROM is used to output an 8-bit (0 to 255 level) interpolated value in accordance with the 15-bit read address described above. 41A and 41B are interpolation table ROMs, respectively.
This is a comparator that compares the interpolated value output from 40 with threshold values stored in registers 25A and 25B associated with each other in advance, and each interpolated value is a comparison value, that is, a threshold value (t
hl, th2), it outputs a ``1'' level signal indicating an on-dot (bright spot). 42A and 42B sequentially store the dot information output from the corresponding comparators 41A and 41B, and store the dot information in a predetermined bit length. These are a pair of I10 registers that output onto the CPU bus 12 in units (here, 1 byte).

第3図(a)乃至(f)はそれぞれ補間処理により生成
される新たなドツトを囲む1格子4点のドツト情報(ド
ツトパターン)と補間テーブルROM40に設定された
補間値のレベル区分とテーブルタイプとの関係を示す図
であり、ここでは補間値をO〜255段階の輝度(明暗
レベル)で表わし、その区分された一部の領域を等高線
で示している。
FIGS. 3(a) to 3(f) respectively show dot information (dot pattern) of four points in one grid surrounding a new dot generated by interpolation processing, level divisions and table types of interpolation values set in the interpolation table ROM 40. Here, interpolated values are expressed in luminance levels (brightness levels) of 0 to 255, and some of the divided areas are shown with contour lines.

第4図は前記1格子4点のドツトパターンのうち、1ド
ツトのみがオン(1”)又はオフ(“0”)である際の
テーブルタイプの選択切替例を説明するためのもので、
ドツトパターン認識部(DSP)は、例えば周囲4点の
ドツト(D O。
FIG. 4 is for explaining an example of table type selection switching when only one dot out of the four dot patterns in one grid is on (1) or off (0).
The dot pattern recognition unit (DSP) detects, for example, four surrounding dots (DO).

DI、D2.Da )のうち、1点のみがオフ即ち“0
”(図では白抜きで示すDO)である際、更にその9− 周囲の格子の特定ドツト(Da、Db >のオン・オフ
状態をlilし、[)a、[)b=“1”テアtLlf
、第3図(d)に示すようなコーナタイプのテーブル(
T1)を選択し、又、Da、Dbの少なくとも何れか一
方が“0”であれば、第3図(f)に示すような斜形タ
イプのテーブル(TO)を選択する。
DI, D2. Da ), only one point is off, that is, “0
” (DO shown in white in the figure), further lil the on/off state of the specific dots (Da, Db > in the surrounding lattice), and set [)a, [)b="1" tear]. tLlf
, a corner type table as shown in Figure 3(d) (
T1) is selected, and if at least one of Da and Db is "0", a diagonal type table (TO) as shown in FIG. 3(f) is selected.

このように、4点のドツト領域内に位置する新たなドツ
トの補間値は、その4点のドツトが上記したような特定
のパターンをなすとき、更にその周囲のドツト状態によ
って定められる。
In this way, the interpolated value of a new dot located within the four dot area is further determined by the state of the surrounding dots when the four dots form a specific pattern as described above.

第5図は一実施例に於ける半filia1表示によるド
ツトパターンの補償例を示す図であり、図中、hdは半
階調(ハーフトーン)ドツトである。
FIG. 5 is a diagram showing an example of dot pattern compensation by half-filia1 display in one embodiment, and in the figure, hd is a half-tone dot.

ここで第2図乃至第5図を参照して一実施例の動作を説
明する。ドツト補間時に於いて、CPU10は先ずレジ
スタ21.22.23.24及び25A、 25Bの初
期設定を行なう。即ち、レジスタ21にX方向のドツト
刻み幅(dx)、レジスタ22にX方向の初期値(イニ
シャルアドレス;SX)、レジスタ23にY方向のドツ
ト刻み幅(dy)、レジスタ24にY方10− 向の初期値(イニシャルアドレス:sy)、レジスタ2
5A、 25Bに補間値との比較を行なうための比較値
即ち閾値(thl、th2)をそれぞれセットする。
The operation of one embodiment will now be described with reference to FIGS. 2 to 5. During dot interpolation, the CPU 10 first initializes the registers 21, 22, 23, 24, 25A, and 25B. That is, the register 21 has the dot width (dx) in the X direction, the register 22 has the initial value (initial address; SX) in the X direction, the register 23 has the dot width (dy) in the Y direction, and the register 24 has the Y direction 10- Initial value of direction (initial address: sy), register 2
Comparison values, that is, threshold values (thl, th2) for comparison with interpolated values are set in 5A and 25B, respectively.

ここで、レジスタ21.23のドツト刻み幅は拡大縮小
倍率の逆数値として与えられる。又、レジスタ22ニハ
、lx = (dx −1) /2でなるIXが初期値
S×としてセットされ、レジスタ24には、Ty−(d
y−1’) /2でなるIyが初期値syとしてセット
されるもので、dx又はdVが1以下のとき(即ち拡大
時)はIX又はIyが負となって1文字バッファ34の
原文字パターン格納領域外のアドレスを示し、dx又は
dvが1以上のとき(即ち縮小時)はlx又はIyが正
となって1文字バッファ34の原文字パターン格納領域
内のアドレスを示す。又、レジスタ25A、 25Bに
は、それぞれ補間テーブルROM40より出力される補
間値と比較をとり新ドツトの何れのレベル以上のものを
意味のあるドツトとするかを決定するための任意(0〜
255)レベルの比較値即ち閾値(thl、th2)が
セットされる。ここでは、thl >th2とし、レジ
スタ25Aに全階調のドツト情報を得るための閾値(t
hi)をセットし、レジスタ25Bに半階調のドツト情
報を得るための閾値(th2)をセットするものとする
Here, the dot step width of registers 21 and 23 is given as an inverse value of the enlargement/contraction magnification. Further, in the register 22, IX, which is lx = (dx -1) /2, is set as the initial value Sx, and in the register 24, Ty - (d
y-1') /2 is set as the initial value sy, and when dx or dV is less than 1 (i.e., during expansion), IX or Iy becomes negative and the original character in the 1-character buffer 34 is It indicates an address outside the pattern storage area, and when dx or dv is 1 or more (that is, during reduction), lx or Iy becomes positive and indicates an address within the original character pattern storage area of the one-character buffer 34. Further, the registers 25A and 25B contain arbitrary values (0 to 25B) for comparing the interpolation values outputted from the interpolation table ROM 40 and determining which level of the new dot is considered to be a meaningful dot.
255) Level comparison values or thresholds (thl, th2) are set. Here, thl > th2, and the threshold value (t
hi), and a threshold value (th2) for obtaining half-gradation dot information is set in the register 25B.

更にc p u ioは漢字パターンメモリ33よりド
ツト補間対象となる1文字分のドツトパターンデータを
読出し、1文字バッファ34に書込む。この際、1文字
バッファ34には、上述したように、ドツト補間対象と
なる1文字分のドツトパターンデータが、その周囲を意
味の無い0′°のドツトで囲まれた状態で記憶される。
Further, the cpuio reads dot pattern data for one character to be subjected to dot interpolation from the kanji pattern memory 33 and writes it into the one character buffer 34. At this time, the one-character buffer 34 stores dot pattern data for one character to be subjected to dot interpolation surrounded by meaningless 0'° dots, as described above.

この各レジスタ21.22.23.24.25A、 2
5Bへのデータセット、及び1文字バッファ34への補
間対象文字パターンの取出しが終了した後、レジスタ2
2.24に貯えられたイニシャルアドレスデータ(sx
、sy)が制御フリップフロップ32の制御のもとにデ
ータセレクタ27.30より選択され、それぞれ対応す
るラッチ回路28.31にラッチされる。このラッチ回
路28.31に貯えられたドツトアドレスデータは、そ
の整数部の値がビット選択回路35に与えられ、小数部
の値が補間テーブルROM40に与えられる。ビット選
択回路35はその整数部の値にもとずいて1文字バッフ
ァ34より1格子4点のドツト情報を選択し、補間テー
ブルROM40に供給する。この際、拡大時(dx、 
dV< 1 )に於いては、ビット選択回路35に、1
文字バッファ34の原文字パターン格納領域外のアドレ
スを示す負の値が与えらることから原文字パターン格納
領域外のドツトを含む1格子4点のドツト情報よりドツ
ト選択を開始する。又、縮小時(dx、 dy> 1 
)に於いては、ビット選択回路35に、1文字バッファ
34の原文字パターン格納領域内のアドレスを示す正の
値が与えらることから原文字パターン格納領域内の1格
子4点のドツト情報よりドツト選択を開始する。
Each of these registers 21.22.23.24.25A, 2
After completing the data set to 5B and the extraction of the interpolation target character pattern to the 1-character buffer 34, register 2
2. Initial address data stored in 24 (sx
, sy) are selected by the data selector 27.30 under the control of the control flip-flop 32 and latched into the corresponding latch circuits 28.31. The value of the integer part of the dot address data stored in the latch circuits 28 and 31 is given to the bit selection circuit 35, and the value of the decimal part is given to the interpolation table ROM 40. The bit selection circuit 35 selects dot information of four points in one grid from the one character buffer 34 based on the value of the integer part, and supplies it to the interpolation table ROM 40. At this time, when enlarging (dx,
dV<1), the bit selection circuit 35
Since a negative value indicating an address outside the original character pattern storage area of the character buffer 34 is given, dot selection is started from dot information of four points in one lattice including dots outside the original character pattern storage area. Also, when reducing (dx, dy> 1
), since the bit selection circuit 35 is given a positive value indicating the address in the original character pattern storage area of the 1 character buffer 34, the dot information of 4 points in 1 lattice in the original character pattern storage area is Start dot selection.

補間テーブルROM 40は、上記ラッチ回路28゜3
1からのX方向及びY方向の各オフセット値(計10ビ
ット)とビット選択回路35からの周囲4点のドツト情
報とドツトパターン認識部(DSP>からの1ピツトの
補間値切替選択信号とを入力情報13− として、その内容に従う8ビツトの補間値を出力する。
The interpolation table ROM 40 is connected to the latch circuit 28°3.
1 in the X and Y directions (10 bits in total), dot information on the surrounding 4 points from the bit selection circuit 35, and a 1-pit interpolation value switching selection signal from the dot pattern recognition unit (DSP). As input information 13-, an 8-bit interpolated value according to the contents is output.

この際、ビット選択回路35より出力された1格子4点
のドツトパターンがドツトパターン認識部(DSP)に
より認識され、第4図に示される如く特定のドツトパタ
ーンである際は、更にその周囲の格子の特定ドツトのオ
ン・オフ状態を認識して、そのドツト状態に応じた1ビ
ツトの補間値切替選択信号を出力する。即ち、例えば第
4図に示す如く、周囲4点のドツト(DO,DI、D2
゜Da)のうち、1点のみがオフ即ち“0”(図では白
抜きで示すDO)である際は、更にその周囲の格子の特
定ドツト(Da、Db )のオン・オフ状態を認識し、
Da、Db = ” 1 ”であれば、第3図(d)に
示すようなコーナタイプのテーブル(T1)を選択し、
又、Qa、Qbの少なくとも何れか一方が0″であれば
、第3図(f>に示すような斜形タイプのテーブル(T
O)を選択すべく補間値切替選択信号を出力する。又、
周囲4点のドツト(DO,DI、02.Da )のうち
、1点のみがオン即ち“1”(図では黒点で示すDO)
であ14− る際は、更にその周囲の格子の特定ドツト(Da。
At this time, the dot pattern of four points per grid outputted from the bit selection circuit 35 is recognized by the dot pattern recognition section (DSP), and if it is a specific dot pattern as shown in FIG. The on/off state of a specific dot on the grid is recognized and a 1-bit interpolation value switching selection signal corresponding to the dot state is output. That is, for example, as shown in FIG. 4, the surrounding four dots (DO, DI, D2
When only one point among ゜Da) is off or "0" (DO shown in white in the figure), the on/off state of specific dots (Da, Db) in the surrounding grid is further recognized. ,
If Da, Db = "1", select a corner type table (T1) as shown in Fig. 3(d),
Also, if at least one of Qa and Qb is 0'', a diagonal type table (T
An interpolation value switching selection signal is output to select O). or,
Of the four surrounding dots (DO, DI, 02.Da), only one is on, that is, "1" (DO indicated by a black dot in the figure)
14-, the specific dot (Da) of the surrounding grid is further added.

Db)のオン・オフ状態を認識し、Qa、[)b=゛0
”であれば、第3図(a)に示すようなコーナタイプの
テーブル(T1)を選択し、又、Da。
Recognize the on/off state of Db), Qa, [)b=゛0
”, select a corner type table (T1) as shown in FIG. 3(a), and select Da.

Dbの少なくとも何れか一方が“1°゛であれば第3図
(e)に示すような斜形タイプのテーブル(TO)を選
択すべく補間値切替選択信号を出力する。このように、
4点のドツト領域内に位置する新たなドツトの補間値は
、その4点のドツトが上記したような特定のバ々−ンを
なすとき、更にその周囲のドツト状態によって定められ
る。そして上記補間テーブルROM40より出力された
8ピツト(O〜255レベル)の補間値はコンパレータ
41A、 41Bに入力されて、それぞれ対応するレジ
スタ25A、 25Bに貯えられた比較値即ち閾値(t
hl、th2)と比較され、補間値が閾値を越えていれ
ば意味の有るドツトであることを示す1”レベルの信号
を出力し、又、補間値が閾値を越えていなければ意味の
無いドツトであることを示す“0”レベルの信号を出力
する。ここでは、thl> th2として、コンパレー
タ41Aより全階調のドツト情報を得、コンパレータ4
1Bより半階調のドツト情報を得ている。
If at least one of Db is "1°", an interpolation value switching selection signal is output to select a diagonal type table (TO) as shown in FIG. 3(e). In this way,
The interpolated value of a new dot located within the four-point dot area is further determined by the state of the surrounding dots when the four dots form a specific bump as described above. The interpolated values of 8 pits (0 to 255 levels) outputted from the interpolation table ROM 40 are input to comparators 41A and 41B, and are compared with the threshold value (t) stored in the corresponding registers 25A and 25B, respectively.
hl, th2), and if the interpolated value exceeds the threshold, a 1" level signal is output indicating that the dot is meaningful, and if the interpolated value does not exceed the threshold, it is output as a meaningless dot. A “0” level signal indicating that
Half-gradation dot information is obtained from 1B.

一方、補1間テーブルROM40より補間値が選択出力
された後、ラッチ回路28の内容とレジスタ21の内容
とが加算回路26により加算されるとともに、ラッチ回
路31の内容とレジスタ23の内容とが加算回路29に
より加算され、その加算結果のデータが制御フリップフ
ロップ32の制御のもとにそれぞれ対応するデータセレ
クタ27.30より選択されて、ラッチ回路28. ’
31にラッチされる。このように、補間テーブルROM
40より補間値が出力される毎に、ラッチ回路28のア
ドレス値がレジスタ21の値(刻み幅;d×)に従って
更新されるとともに、ラッチ回路31のアドレス値がレ
ジスタ23の値(刻み幅:dy)に従って更新される。
On the other hand, after the interpolation value is selected and output from the interpolation table ROM 40, the contents of the latch circuit 28 and the contents of the register 21 are added by the adder circuit 26, and the contents of the latch circuit 31 and the contents of the register 23 are added. The data are added by the adder circuit 29, and the resulting data is selected by the corresponding data selectors 27, 30 under the control of the control flip-flop 32, and then sent to the latch circuits 28, 28, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 22, 30, and 30sss. '
31. In this way, the interpolation table ROM
Every time an interpolated value is output from 40, the address value of the latch circuit 28 is updated according to the value of the register 21 (step size: d×), and the address value of the latch circuit 31 is updated according to the value of the register 23 (step size: dy).

このようにして、順次、補間テーブルROM40より出
力された補間値がコンパレータ41A、 41Bにより
、レジスタ25A、 25Bの閾値(【旧、th2)と
比較され、新たなドツト情報が全階調、半階調の別に生
成される。
In this way, the interpolated values output from the interpolation table ROM 40 are sequentially compared with the threshold values ([old, th2)] of the registers 25A and 25B by the comparators 41A and 41B, and the new dot information is divided into full gradation and half gradation. Generated for each key.

そして上記コンパレータ41A、 44Bより出力され
た補間処理後の各新ドツト情報はそれぞれ対応するレジ
スタ42A、 42Bに貯えられ、1バイト単位でCP
Uバス12上に出力される。このCPUバス12上に出
力された補間処理後の新ドツト情゛報はCPU10の制
御のもとに順次メインメモリ11内の予め定められた文
字パターン保存領域に全階調、半階調の別に貯えられた
後、表示11Ji11回路13の制御の下にフレームメ
モリ14A、 14Bに別個に記憶され各々パラレル−
シリアル変換回路15を介して、CRT表示部16のビ
デオ回路に送出されて、合成され表示出力される。これ
により、CRT表示部16の表示画面には、レジスタ2
5Aに貯えられた比較値(thl )以上の補間値をも
つドツトかが全階調で表示され、レジスタ25Aに貯え
られた比較値(thl)からレジスタ25Bに貯えられ
た比較値(th2)の範囲内にある補間値をもつドツト
のみが半階調で表示される。このように半階調部分を伴
う文字が指定された拡大・縮小倍率をもって表17− 示出力され、具体的には、例えば第5図に示す如く、斜
線部分に於ける階段状の形成部に於いて、その括れ部分
を半階調ドツト(hd)で表現した湧らかな傾斜線をも
つ文字表現が可能となる。
The new dot information outputted from the comparators 41A and 44B after interpolation processing is stored in the corresponding registers 42A and 42B, respectively, and sent to the CP in 1-byte units.
It is output onto the U bus 12. The new dot information after the interpolation process outputted onto the CPU bus 12 is sequentially stored in a predetermined character pattern storage area in the main memory 11 under the control of the CPU 10 for full gradation and half gradation. After being stored, they are stored separately in the frame memories 14A and 14B under the control of the display 11Ji11 circuit 13, and are respectively parallel-recorded.
The signals are sent via the serial conversion circuit 15 to the video circuit of the CRT display section 16, where they are combined and output for display. As a result, the register 2 is displayed on the display screen of the CRT display section 16.
Dots with interpolated values greater than or equal to the comparison value (thl) stored in register 25A are displayed in all gradations, and the comparison value (th2) stored in register 25B is calculated from the comparison value (thl) stored in register 25A. Only dots with interpolated values within the range are displayed in half-tone. In this way, characters with half-gradation areas are displayed at the specified enlargement/reduction ratio, and specifically, as shown in FIG. In this case, it is possible to express characters with natural sloped lines by expressing the constricted portions with half-gradation dots (HD).

又、コンパレータ41Aより得た文字パターンドツトと
コンパレータ41Bより得た文字パターンドツトとの排
他的論理和をとることにより、白抜き文字パターンを容
易に得ることができる。
Furthermore, by performing an exclusive OR of the character pattern dots obtained from the comparator 41A and the character pattern dots obtained from the comparator 41B, a white character pattern can be easily obtained.

又、コンパレータ41Aのみを用いてドツト補間した文
字パターンを得ることも可能であり、この際、例えばレ
ジスタ25Aに、拡大・縮小倍率の逆数を81出力され
る文字パターンの最小線幅をA、補間最大値をKとした
とき、 T= (1−(SA/2))K で与えられる値Tをセットすることにより、拡大・縮小
された文字に対し、常にバランスのとれた最適線幅の文
字パターンが得られる。
It is also possible to obtain a character pattern with dot interpolation using only the comparator 41A. In this case, for example, the reciprocal of the enlargement/reduction magnification is set to 81 in the register 25A, and the minimum line width of the character pattern to be output is A, and the interpolation When the maximum value is K, by setting the value T given by T = (1-(SA/2))K, characters with an optimal line width that is always balanced for enlarged/reduced characters can be created. A pattern is obtained.

上述したようなドツト補間処理動作により、ドツト補間
後に於ける文字パターンは、斜線部分に於ける階段状の
括れが目立たず、しかも角部が欠18− ◆− けることもなく、非常に認識し易いものとなり、本来の
文字形態に極めて近い高度の文字表現が可能となる。又
、拡大・縮小倍率及び複数の階調度等も非常に細かい値
で設定でき任意の大きさの文字を容易に得ることができ
るとともに、レジスタ21、22.23.24.24.
25A 、 25Bのうちの1個又は複数個を任意選択
的に指定して、その値をCPU10の制御の下に順次、
又は選択的に変えてゆくことにより、文字の拡大・縮小
のみならず、線太、線細、更には任意比率の長体、平体
、任意角の斜体、下揃え斜体、回転等の文字表現が容易
に可能となり、高度な文字修飾が出来る。例えばレジス
タ21.23の値を2:1に設定すれば、横幅に対し縦
幅を2倍にした長体文字が得られ、又、レジスタ21.
23の値を1 : 1.2に設定すれば、縦幅に対し横
幅を1.2倍した平体文字が得られる。又、レジスタ2
2の値を1スライス毎に順次変化させることによって所
望する斜体文字が得られ、レジスタ22、24の値を順
次変化させることによって任意の回転角をもった文字を
得ることができる。
Due to the dot interpolation process described above, the character pattern after dot interpolation is very easy to recognize, with no conspicuous step-like constrictions in diagonal lines and no missing corners. This makes it possible to express characters extremely close to the original character form. Furthermore, the enlargement/reduction ratio and multiple gradation levels can be set with very fine values, making it easy to obtain characters of any size.
One or more of 25A and 25B are optionally designated and their values are sequentially set under the control of the CPU 10.
Or by selectively changing it, you can not only enlarge or reduce the characters, but also express characters such as thick lines, thin lines, long letters of any proportion, flat letters, italics of arbitrary angles, bottom-aligned italics, rotation, etc. is easily possible, allowing advanced character decoration. For example, if the value of register 21.23 is set to 2:1, a long character whose height is twice the width will be obtained.
If the value of 23 is set to 1:1.2, a plain text whose width is 1.2 times the height can be obtained. Also, register 2
By sequentially changing the value of 2 for each slice, a desired italic character can be obtained, and by sequentially changing the values of registers 22 and 24, a character with an arbitrary rotation angle can be obtained.

尚、上記した実施例に於いては、補間値との比較をとり
新ドツト情報を得るための回路を2組設けて、2つのコ
ンパレータ41A、41Bより同時に2種のドツト情報
を得る構成としたが、これに限らず、例えば上記比較手
段を1組のみとし、比較値を書換えることによって同一
文字フォントに対し複数種の文字パターンを順次得るよ
うにしてもよい。
In the above embodiment, two sets of circuits are provided to obtain new dot information by comparison with interpolated values, and two types of dot information are simultaneously obtained from the two comparators 41A and 41B. However, the present invention is not limited to this, and for example, the comparison means may be provided as only one set, and a plurality of types of character patterns may be sequentially obtained for the same character font by rewriting the comparison values.

[発明の効果コ 以上詳記したように本発明のドツト補間制御方式によれ
ば、規定されたドツトマトリクス構成の文字フォントを
扱う装置に於いて、ドツトパターンメモリに格納された
任意文字フォントのドツト補間及び修飾を高い文字品質
を保ちつつ、しかも任意の拡大・、縮小倍率にて容易に
行なうことができ、装置のコストパフォーマンスを大幅
に向上できる。
[Effects of the Invention] As described in detail above, according to the dot interpolation control method of the present invention, in a device that handles character fonts with a prescribed dot matrix structure, dots of arbitrary character fonts stored in the dot pattern memory can be Interpolation and modification can be easily performed at arbitrary enlargement/reduction magnification while maintaining high character quality, and the cost performance of the device can be greatly improved.

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

第1図(a)乃至(C)はそれぞれ従来のドツト補間処
理手段を説明するための図、第2図は本発明の一実施例
に於ける要部の構成を示す回路ブロック図、第3図(a
)乃至(f)、第4図、及び第5図はそれぞれ上記実施
例の動作を説明するためのもので、第3図(a)乃至(
f)はそれぞれ補間処理により生成される新たなドツト
を囲む1格子4点のドツト情報(ドツトパターン)と補
間テーブルROM40に設定された補間値のレベル区分
とテーブルタイプとの関係を示す図、第4図はテーブル
タイプの選択切替動作を説明するための図、第5図は半
mm表示によるドツトパターンの補償例を示す図である
。 10・・・CPLI、11・・・メインメモリ、12・
・・CPLJバス、13・・・表示制御回路、14・・
・フレームメモリ、15・・・CRT表示部、21〜2
4・・・レジスタ、25A、 25B・・・レジスタ、
26・・・加算回路、27・・・データセレクタ、28
・・・ラッチ回路、29・・・加算回路、30・・・デ
ータセレクタ、31・・・ラッチ回路、32・・・制御
フリップ70ツブ、33・・・漢字パターンメモリ、3
4・・・1文字バッファ、35・・・ピット選択回路、
36・・・ラッチ回路、37・・・判別制御回路、38
・・・ラッチ回路、39・・・ドツト判別21− 回路、40・・・補間テーブルROM、41A、41B
・・・コンパレータ、42A 142B・・・レジスタ
、DSP・・・ドツトパターン認識部。 出願人代理人 弁理士 鈴江武彦 22− 第5図 ・・
1A to 1C are diagrams for explaining conventional dot interpolation processing means, FIG. 2 is a circuit block diagram showing the configuration of main parts in an embodiment of the present invention, and FIG. Figure (a
) to (f), FIG. 4, and FIG. 5 are for explaining the operation of the above embodiment, respectively.
f) is a diagram showing the relationship between the dot information (dot pattern) of four points in one grid surrounding each new dot generated by interpolation processing, the level classification of the interpolation value set in the interpolation table ROM 40, and the table type. FIG. 4 is a diagram for explaining the table type selection switching operation, and FIG. 5 is a diagram showing an example of compensation for a dot pattern using half-mm display. 10... CPLI, 11... Main memory, 12.
...CPLJ bus, 13...Display control circuit, 14...
・Frame memory, 15...CRT display section, 21-2
4...Register, 25A, 25B...Register,
26...Addition circuit, 27...Data selector, 28
... Latch circuit, 29 ... Addition circuit, 30 ... Data selector, 31 ... Latch circuit, 32 ... Control flip 70 knob, 33 ... Kanji pattern memory, 3
4...1 character buffer, 35...pit selection circuit,
36...Latch circuit, 37...Discrimination control circuit, 38
...Latch circuit, 39...Dot discrimination 21-circuit, 40...Interpolation table ROM, 41A, 41B
...Comparator, 42A 142B...Register, DSP...Dot pattern recognition section. Applicant's agent Patent attorney Takehiko Suzue 22- Figure 5...

Claims (7)

【特許請求の範囲】[Claims] (1) 所定ドツトマトリクス構成の文字パターンデー
タを貯えるドツトパターンメモリと、このドツトパター
ンメモリから任意の位置に於ける互いに隣接する4点の
ドツト情報を得る手段と、前記4点のドツト情報から当
該4点で囲まれた領域内に於ける複数ビットからなる補
間値を得る手段と、前記補間値との比較を行なうための
比較値を記憶する記憶手段と、前記補間値と比較値とを
比較し、ドツトオン又はドツトオフを示す判定出力を得
る補間値比較手段とを具備してなることを特徴とするド
ツト補間制御方式。
(1) A dot pattern memory for storing character pattern data having a predetermined dot matrix structure; a means for obtaining dot information on four points adjacent to each other at arbitrary positions from the dot pattern memory; means for obtaining an interpolated value consisting of a plurality of bits within an area surrounded by four points; a storage means for storing a comparison value for comparison with the interpolated value; and a comparison between the interpolated value and the comparison value. 1. A dot interpolation control system comprising: interpolation value comparison means for obtaining a determination output indicating dot on or dot off.
(2) 前記記憶手段に記憶された比較値を書換えるこ
とにより前記補間値比較手段からの出力値を制御するこ
とを特徴とする特許請求の範囲第1項記載のドツト補間
制御方式。
(2) The dot interpolation control method according to claim 1, wherein the output value from the interpolation value comparison means is controlled by rewriting the comparison value stored in the storage means.
(3) 前記比較値を記憶する記憶手段と、前記補間値
と比較値とを比較し、ドツトオン又はドツトオフを示す
判定出力を得る補間値比較手段とを複数組設け、当該複
数組の補間値比較手段より得られる各判定出力を用いて
複数種のドツト情報を得ることを特徴とする特許請求の
範囲第1項記載のドツト補間制御方式。
(3) A plurality of sets of storage means for storing the comparison value and an interpolation value comparison means for comparing the interpolation value and the comparison value and obtaining a judgment output indicating dot on or dot off are provided, and the interpolation value comparison of the plurality of sets is provided. A dot interpolation control system according to claim 1, characterized in that a plurality of types of dot information are obtained using each determination output obtained from the means.
(4) 前記記憶手段の比較値を拡大・縮小倍率に応じ
て変化せしめる特許請求の範囲第2項記載のドツト補間
制御方式。
(4) The dot interpolation control method according to claim 2, wherein the comparison value in the storage means is changed in accordance with the enlargement/reduction magnification.
(5) 拡大・縮小倍率の逆数をS、出力される文字パ
ターンの最小線幅をA、補間最大値をKとしたとき、前
記比較値を記憶する記憶手段には、T= (1−(SA
/2))K で与えられる値Tをセットすることを特徴とする特許請
求の範囲第4項記載のドツト補間制御方式。
(5) When the reciprocal of the enlargement/reduction magnification is S, the minimum line width of the output character pattern is A, and the maximum interpolation value is K, the storage means for storing the comparison value has T= (1-( S.A.
/2)) The dot interpolation control method according to claim 4, wherein a value T given by K is set.
(6) 前記複数組の補間値比較手段より得られる各判
定出力により階調の異なる複数種のドツト情報を得るこ
とを特徴とする特許請求の範囲第3項記載のドツト補間
制御方式。
(6) The dot interpolation control method according to claim 3, wherein a plurality of types of dot information having different gradations are obtained from each determination output obtained from the plurality of sets of interpolation value comparison means.
(7) 前記複数組の補間値比較手段より得られる各判
定出力の排他的論理和演算により白抜き文字のドツトパ
ターン情報を得ることを特徴とする特許請求の範囲第3
項記載のドツト補間制御方式。
(7) The third aspect of the present invention is characterized in that dot pattern information of a white character is obtained by exclusive OR operation of each determination output obtained from the plurality of sets of interpolation value comparison means.
The dot interpolation control method described in .
JP58193752A 1983-10-17 1983-10-17 Dot interpolation control system Granted JPS6084583A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP58193752A JPS6084583A (en) 1983-10-17 1983-10-17 Dot interpolation control system
US06/661,192 US4680720A (en) 1983-10-17 1984-10-15 Dot interpolation control system
KR1019840006456A KR890005004B1 (en) 1983-10-17 1984-10-17 Dot pattern interpolation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58193752A JPS6084583A (en) 1983-10-17 1983-10-17 Dot interpolation control system

Publications (2)

Publication Number Publication Date
JPS6084583A true JPS6084583A (en) 1985-05-13
JPH0443274B2 JPH0443274B2 (en) 1992-07-16

Family

ID=16313219

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58193752A Granted JPS6084583A (en) 1983-10-17 1983-10-17 Dot interpolation control system

Country Status (2)

Country Link
JP (1) JPS6084583A (en)
KR (1) KR890005004B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6747746B2 (en) 2001-07-16 2004-06-08 Therma-Wave, Inc. System and method for finding the center of rotation of an R-theta stage

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57179891A (en) * 1981-04-28 1982-11-05 Ricoh Kk Picture variable power unit
JPS5884358A (en) * 1981-11-13 1983-05-20 Toshiba Corp Picture enlargement processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57179891A (en) * 1981-04-28 1982-11-05 Ricoh Kk Picture variable power unit
JPS5884358A (en) * 1981-11-13 1983-05-20 Toshiba Corp Picture enlargement processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6747746B2 (en) 2001-07-16 2004-06-08 Therma-Wave, Inc. System and method for finding the center of rotation of an R-theta stage

Also Published As

Publication number Publication date
JPH0443274B2 (en) 1992-07-16
KR890005004B1 (en) 1989-12-04
KR850003000A (en) 1985-05-28

Similar Documents

Publication Publication Date Title
US4680720A (en) Dot interpolation control system
US4555802A (en) Compaction and decompaction of non-coded information bearing signals
US4903145A (en) Image quality control apparatus capable of density-correcting plural areas of different types
JPH03128574A (en) Pseudo halftone processing unit
GB2174278A (en) Area-fill graphic image processing system
JPS6083852A (en) Character pattern emphasis control system
JPS6084583A (en) Dot interpolation control system
JPS6084584A (en) Dot interpolation control system
JPS6083851A (en) Character pattern emphasis control system
JPS6084586A (en) Character pattern emphasis control system
JPS6157987A (en) Character pattern accentuation control system
JPS60229765A (en) Dot interpolation control system
JPS6084585A (en) Dot interpolation value generation circuit
JPS6083853A (en) Dot interpolation control system
JP3114561B2 (en) Image processing device
JPS5848104B2 (en) Data conversion method
JPS60231267A (en) Intra-character control system
JPH049152B2 (en)
JP3417753B2 (en) Method and apparatus for generating gradation character
JP3305835B2 (en) Halftone image dot processing device
JPS6138981A (en) Pattern multiplication
KR900004949B1 (en) Output controller of interpolation dot pattern
JPH083709B2 (en) Dot development processor
JP2664718B2 (en) Image output device
JP3162918B2 (en) Image processing apparatus and method