JPH0256874B2 - - Google Patents

Info

Publication number
JPH0256874B2
JPH0256874B2 JP58037963A JP3796383A JPH0256874B2 JP H0256874 B2 JPH0256874 B2 JP H0256874B2 JP 58037963 A JP58037963 A JP 58037963A JP 3796383 A JP3796383 A JP 3796383A JP H0256874 B2 JPH0256874 B2 JP H0256874B2
Authority
JP
Japan
Prior art keywords
dot
pattern
character
pixel pattern
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP58037963A
Other languages
Japanese (ja)
Other versions
JPS59163948A (en
Inventor
Yoshinobu Tonomura
Kimitomo Kobayashi
Hiroshi Ogawa
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP58037963A priority Critical patent/JPS59163948A/en
Publication of JPS59163948A publication Critical patent/JPS59163948A/en
Publication of JPH0256874B2 publication Critical patent/JPH0256874B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals
    • H04N1/393Enlarging or reducing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 (1) 発明の属する分野の説明 本発明は、ドツト文字出力処理装置、特にドツ
ト文字で構成される文字等を縦/横に拡大してフ
アクシミリ等のドツトイメージ出力装置に出力す
る場合において、高品質な画面を得るドツト文字
出力処理装置に関するものである。
[Detailed Description of the Invention] (1) Description of the field to which the invention pertains The present invention relates to a dot character output processing device, particularly a dot image output device such as a facsimile machine that enlarges characters, etc. composed of dot characters vertically and horizontally. The present invention relates to a dot character output processing device that provides a high quality screen when outputting to a computer.

(2) 従来の技術の説明 文字コード形態で表現されている文書をフアク
シミリ等のドツトイメージ出力装置に出力する場
合には、文字コードを文字パタンに変換するコー
ド/パタン(C/P)変換処理が必要となる。
C/P変換処理で用いるドツト文字には16×16、
18×16、24×24、32×32等各種あるが、これらの
ドツト文字を用いてフアクシミリ等のドツトイメ
ージ出力装置に出力する場合、縦/横のバランス
がとれた所望の大きさの文字を得るために、ドツ
ト文字の1ドツトに対応させる縦/横の画素数
(拡大率と呼ぶ)を調整することが行われる。た
とえば18×16ドツト文字を約4mm角の寸法で縦
3.85ライン/mm、横8画素/mmの分解能を有する
フアクシミリに出力する場合には、18×16ドツト
文字の各ドツトを縦1倍、横2倍に拡大する。ま
た同じ18×16ドツト文字を約8mm角の寸法で縦
7.7ライン/mm、横8画素/mmの分解能を有する
フアクシミリに出力する場合には、18×16ドツト
文字の各ドツトを縦/横とも4倍に拡大する。し
かしドツト文字のドツトマトリクスサイズが小さ
い場合や、マトリクスサイズが大きくても拡大率
が大きい場合には、ドツト文字に含まれる斜線が
かすれて見えたり、階段状が目立ち、文字品質を
悪くする欠点があつた。第1図は18×16ドツト文
字の例を示し、第2図は第1図のドツト文字の1
ドツトを縦/横とも4倍に拡大した場合の文字パ
タンを示しているが、いずれも斜線がかすれて見
えたり、斜線の凸凹が目立ち、文字品質が必らず
しも良くない。
(2) Description of conventional technology When outputting a document expressed in character code form to a dot image output device such as a facsimile, a code/pattern (C/P) conversion process is used to convert the character code into a character pattern. Is required.
The dot characters used in the C/P conversion process are 16×16,
There are various types such as 18 x 16, 24 x 24, 32 x 32, etc., but when using these dot characters to output to a dot image output device such as a facsimile, it is necessary to create characters of the desired size with a good balance between vertical and horizontal directions. In order to obtain this, the number of vertical and horizontal pixels (referred to as enlargement ratio) that correspond to one dot of the dot character is adjusted. For example, 18 x 16 dot characters are approximately 4 mm square and vertical.
When outputting to a facsimile with a resolution of 3.85 lines/mm and 8 pixels/mm horizontally, each dot of an 18×16 dot character is enlarged by 1 times vertically and 2 times horizontally. In addition, the same 18 x 16 dot characters are vertically printed with dimensions of approximately 8 mm square.
When outputting to a facsimile with a resolution of 7.7 lines/mm and 8 pixels/mm horizontally, each dot of an 18×16 dot character is enlarged four times both vertically and horizontally. However, if the dot matrix size of the dot character is small, or if the magnification ratio is large even if the matrix size is large, the diagonal lines included in the dot character will appear blurred or the steps will become noticeable, resulting in poor character quality. It was hot. Figure 1 shows an example of 18x16 dot characters, and Figure 2 shows an example of 18x16 dot characters.
The character patterns are shown when the dots are enlarged four times both vertically and horizontally, but in both cases the diagonal lines appear faded and the diagonal lines are uneven, and the quality of the characters is not necessarily good.

(3) 発明の目的 本発明はこれらの欠点を除去するために、ドツ
ト文字の各ドツト毎にその周辺ドツトを参照し、
周辺ドツトの論理条件に応じて各ドツトを拡大率
に応じた置換画素パタンに置き換えることによ
り、拡大処理と同時に墨画素の付加あるいは除去
を伴う補間処理を行うことを特徴とし、ドツト文
字に含まれる斜線を平滑化して出力文字品質を向
上させることを目的としたものである。
(3) Purpose of the invention In order to eliminate these drawbacks, the present invention refers to the surrounding dots for each dot of a dot character,
By replacing each dot with a replacement pixel pattern according to the enlargement rate according to the logical conditions of the surrounding dots, interpolation processing that involves the addition or removal of black pixels is performed simultaneously with the enlargement process. The purpose is to improve the quality of output characters by smoothing diagonal lines.

(4) 発明の構成および作用の説明 本発明はそれに限られるものではないが、第2
図に示すごとく第1図の18×16ドツト文字を縦/
横4倍に拡大した文字パタンの平滑化処理を例に
とり、本発明による処理装置を説明する。
(4) Explanation of the structure and operation of the invention Although the present invention is not limited thereto,
As shown in the figure, the 18 x 16 dot characters in Figure 1 are
The processing apparatus according to the present invention will be explained by taking as an example smoothing processing of a character pattern enlarged four times horizontally.

第3図a,bは第1図のドツト文字中に含まれ
る平滑化処理対象の斜線例を示した図であり、1
はドツト文字のドツトの単位(拡大率によつて大
きさが異なる)、2はフアクシミリ出力文字の画
素の単位を対応して示したものである。また第3
図cに示す如くドツト3〜6はドツトから置き換
えた画素パタン中の画素の属性を示したものであ
り、3は白画素、4は黒ドツトを単純拡大した画
素パタン中の黒画素、5は白ドツトから置き換え
た補間のための画素パタン(補間画素パタンと呼
ぶ)中の黒画素、6は黒ドツトから置き換えた補
間画素パタン中の黒画素を示したものである。
Figures 3a and 3b are diagrams showing examples of diagonal lines to be smoothed included in the dot characters in Figure 1;
2 corresponds to the dot unit of the dot character (the size varies depending on the enlargement ratio), and 2 corresponds to the pixel unit of the facsimile output character. Also the third
As shown in Figure c, dots 3 to 6 indicate the attributes of pixels in the pixel pattern replaced from the dots, 3 is a white pixel, 4 is a black pixel in a pixel pattern simply enlarged from a black dot, and 5 is a black pixel in a pixel pattern simply enlarged. A black pixel in a pixel pattern for interpolation (referred to as an interpolation pixel pattern) replaced from a white dot. 6 indicates a black pixel in an interpolation pixel pattern replaced from a black dot.

本発明では、ドツト文字に含まれる斜線に対
し、文字品質を悪くする2つのタイプの部分に着
目して、補間処理を行う。すなわち第3図aに示
すように斜線は斜線の上側と下側の2つの部分に
分けることができ、本発明では第3図bに示すよ
うに斜線の上側については黒ドツトにはさまれる
白ドツトを、斜線の下側については斜線の角の部
分に当る黒ドツトを、補間処理として一部分黒画
素にした拡大率対応の補間画素パタンに置き換え
る。斜線の上側に対する処理は黒画素の付加によ
る補間、斜線の下側に対する処理は黒画素の除去
による補間を行つていることになる。一方補間処
理をしない場合には処理ドツトを単純に拡大した
画素パタン(単純拡大画素パタンと呼ぶ)に置き
換える。以下の説明では、補間画素パタンと単純
拡大画素パタンを合わせて置換画素パタンと呼
ぶ。
In the present invention, interpolation processing is performed with respect to diagonal lines included in dot characters, focusing on two types of parts that degrade character quality. That is, as shown in FIG. 3a, the diagonal line can be divided into two parts, the upper side and the lower side of the diagonal line, and in the present invention, as shown in FIG. For the dots below the diagonal lines, the black dots corresponding to the corners of the diagonal lines are replaced with an interpolation pixel pattern corresponding to the magnification ratio in which part of the pixels are made black as an interpolation process. Processing above the diagonal line is interpolation by adding black pixels, and processing below the diagonal line is interpolation by removing black pixels. On the other hand, when interpolation processing is not performed, the processed dots are replaced with simply enlarged pixel patterns (referred to as simple enlarged pixel patterns). In the following description, the interpolation pixel pattern and the simple enlarged pixel pattern will be collectively referred to as a replacement pixel pattern.

次に補間処理を行うか行わないか、あるいは行
う場合どのように補間するかを判定する補間論理
条件について説明する。第4図は補間論理条件を
設けるための参照範囲を説明したものであり、a
〜n、Zはそれぞれドツト文字の1ドツト1(p
×q画素分)に対応し、Zは特に処理の対象とな
るドツトを表わしている。本発明ではドツト文字
の3×5ドツト(a〜n、Z)を参照し、補間論
理条件に合致する場合には中心ドツトZを補間画
素パタンに置き換える。補間論理条件と合致しな
い場合には単純拡大画素パタンに置き換える。補
間画素パタン中の黒画素位置(補間位置)は、処
理ドツトZの4つの隅部分にあり、これらの位置
はe,g,j,hのドツトの論理、すなち処理ド
ツトZを中心とする3×3文字ドツトの参照によ
る論理で判定できるが、補間処理により、(1)直角
であるべき角を丸める恐れのある場合、(2)白ドツ
トをつぶす恐れのある場合には補間処理をしない
ことが必要となるため、3×5文字ドツトの如く
参照範囲を広げて論理条件を設ける。この補間条
件は上記(1)、(2)を考慮すれば文字パタンの特徴に
応じて柔軟に設定できる。第5図a,bは補間論
理条件の例を3×5の参照ドツトに対応して示し
たもので、第5図a図示の場合、補間位置が左上
1ケ所、左上/左下の2ケ所の場合について示し
たものである。また各ドツトの表現については第
5図b図示の如く、7は白ドツト(p×p画素
分)、8は黒ドツト、9は白または黒どちらでも
良いドツト文字(Don′t careドツト)を示す。
10は補間処理として白ドツトを補間画素パタン
に置き換える場合、11は黒ドツトを補間画素パ
タンに置き換える場合を、補間位置の説明のため
に示したものである。例えば図示ドツト1aにつ
いてドツト1bの如く置き換えを行うに当つて
は、第4図図示の参照範囲でみて、第5図図示パ
ターンh,l,m,nのいずれかが現われたとき
処理ドツトZについてドツト1bの形の文字ドツ
トに置き換える。但し、図示パターンpが現われ
たときにはこの置き換えは行なわない。他の場合
も同様である。他の補間位置に関する補間論理条
件は第5図の条件を補間位置に応じて上/下ある
いは左/右対称にして得られる。
Next, interpolation logic conditions for determining whether or not to perform interpolation processing, and, if performed, how to interpolate, will be described. Figure 4 explains the reference range for establishing interpolation logic conditions, and a
~n, Z are each dot character 1 dot 1 (p
xq pixels), and Z specifically represents a dot to be processed. In the present invention, the 3.times.5 dots (an, Z) of the dot character are referred to, and if the interpolation logic conditions are met, the center dot Z is replaced with an interpolation pixel pattern. If the interpolation logic conditions are not met, the pixel pattern is replaced with a simple enlarged pixel pattern. The black pixel positions (interpolated positions) in the interpolated pixel pattern are located at the four corners of the processing dot Z, and these positions are based on the logic of the dots e, g, j, and h, that is, with the processing dot Z as the center. This can be determined using logic by referring to 3 x 3 character dots, but if interpolation processing (1) may round corners that should be right angles, or (2) may crush white dots, interpolation processing may be performed. Therefore, the reference range is expanded to 3×5 character dots and a logical condition is provided. This interpolation condition can be flexibly set according to the characteristics of the character pattern by considering (1) and (2) above. Figures 5a and 5b show examples of interpolation logic conditions corresponding to 3x5 reference dots. In the case shown in Figure 5a, the interpolation positions are one at the upper left and two at the upper left/lower left. This is a case in point. Regarding the representation of each dot, as shown in Figure 5b, 7 is a white dot (p x p pixels), 8 is a black dot, and 9 is a dot character that can be either white or black (don't care dot). show.
10 shows a case where a white dot is replaced with an interpolated pixel pattern as an interpolation process, and 11 shows a case where a black dot is replaced with an interpolated pixel pattern for explanation of interpolation positions. For example, when replacing the illustrated dot 1a with the dot 1b, when any of the patterns h, l, m, n shown in FIG. 5 appears in the reference range illustrated in FIG. Replace it with a character dot in the shape of dot 1b. However, this replacement is not performed when the illustrated pattern p appears. The same applies to other cases. Interpolation logic conditions for other interpolation positions can be obtained by making the conditions shown in FIG. 5 symmetrical upward/downward or left/right depending on the interpolation position.

次に置換画素パタンおよびその出力について説
明する。本発明ではドツト文字の各ドツトを例え
ば4×4画素分のものを8×8画素分のものに拡
大する如く、拡大率に応じた画素パタンに置き換
えることにより、拡大および補間処理を行うが、
この処理のためにあらかじめ用途に応じた最大拡
大率に対応する置換画素パタンを用意する。置換
画素パタンは、一部を黒画素にしたいくつかの補
間画素パタンおよび黒または白ドツトを単純に拡
大した拡大画素パタンからなり、上記3×5の参
照範囲に対応する論理判定によりこれらの画素パ
タンのうち1つが選ばれる。そして選ばれた画素
パタンを別途与えられる拡大率に応じてサンプル
することにより処理ドツトに置き換える画素パタ
ンを出力するようにする。第6図は置換画素パタ
ンの例であり、処理ドツトの左上を補間する場合
に用いる置換画素パタンを示したものである。第
6図の置換画素パタンは拡大率が最大8の場合ま
で利用することができる。また第6図中の矢印は
サンプルを行う位置を示したものであり、12〜
15は縦、16〜19は横に対するサンプル位置
を、それぞれ矢印の数に等しい拡大率について示
したものである。即ち、例えば1文字ドツトが4
×4画素分のものを得るには、図示13で示す矢
印位置と17で示す矢印位置との各交点に対応す
る画素を抽出すれば、左上隅が黒となる形で4×
4画素分のパターンが得られる。したがつてこの
ように置換画素パタンの内容あるいはサンプル位
置を適切に選ぶことにより、拡大率が小さい場合
でも、大きい場合でも、また縦/横で拡大率が異
なる場合でも、効果的な補間が実現できる。
Next, a replacement pixel pattern and its output will be explained. In the present invention, enlargement and interpolation processing is performed by replacing each dot of a dot character with a pixel pattern according to the enlargement rate, such as enlarging each dot of 4 x 4 pixels to 8 x 8 pixels.
For this process, a replacement pixel pattern corresponding to the maximum enlargement ratio according to the purpose is prepared in advance. The replacement pixel pattern consists of several interpolation pixel patterns in which some pixels are black, and an enlarged pixel pattern in which black or white dots are simply enlarged. One of the patterns is selected. Then, by sampling the selected pixel pattern according to a separately given enlargement rate, a pixel pattern to be replaced with the processed dot is output. FIG. 6 is an example of a replacement pixel pattern, which is used when interpolating the upper left corner of a processing dot. The replacement pixel pattern shown in FIG. 6 can be used up to a magnification of 8. In addition, the arrows in Figure 6 indicate the positions where the sample is taken.
Reference numeral 15 indicates sample positions in the vertical direction, and 16 to 19 indicate sample positions in the horizontal direction, each with an enlargement factor equal to the number of arrows. That is, for example, one character dot is 4
To obtain 4× pixels, extract the pixels corresponding to the intersections between the arrow positions 13 and 17, and the upper left corner will be black.
A pattern for 4 pixels is obtained. Therefore, by appropriately selecting the content or sample position of the replacement pixel pattern in this way, effective interpolation can be achieved regardless of whether the magnification is small or large, or if the magnification is different vertically/horizontally. can.

第7図に示す文字パタンを第5図で代表される
補間処理条件と、第6図で代表される補間画素パ
タンおよび13,17で示すサンプル位置により
処理した例を示したものである。
This figure shows an example in which the character pattern shown in FIG. 7 is processed using the interpolation processing conditions shown in FIG. 5, the interpolation pixel pattern shown in FIG. 6, and the sample positions shown at 13 and 17.

次に本発明による実施例について述べる。第8
図は実施例を示すブロツク図であり、20はドツ
ト文字を格納するバツフアメモリ、21〜22は
ドツト文字の1行分を格納するラインメモリ、2
3〜25は第4図の参照ドツトに対応するシフト
レジスタ、26はクロツク入力端子、27は拡大
率の入力端子、28は補間画素パタンを格納して
おくROM、29はシフトジスタ23〜25の出
力をアドレス入力としてROM28に対するアド
レスを出力するROM、30はROM29の出力
により選択されたアドレスに対応するROM28
のデータについて端子27から入力される拡大率
に従つてサンプルするサンプル制御回路、31は
ROM28の出力を格納するバツフアメモリであ
る。これらで構成される第8図のブロツク図の動
作について以下説明する。
Next, embodiments according to the present invention will be described. 8th
The figure is a block diagram showing an embodiment, in which 20 is a buffer memory for storing dot characters, 21 to 22 are line memories for storing one line of dot characters, and 2 is a buffer memory for storing dot characters.
3 to 25 are shift registers corresponding to the reference dots in FIG. 4, 26 is a clock input terminal, 27 is an input terminal for enlargement ratio, 28 is a ROM for storing interpolation pixel patterns, and 29 is the output of shift registers 23 to 25. 30 is a ROM 28 that corresponds to the address selected by the output of the ROM 29.
A sample control circuit 31 samples the data according to the magnification input from the terminal 27.
This is a buffer memory that stores the output of the ROM28. The operation of the block diagram shown in FIG. 8, which is composed of these components, will be explained below.

まず端子26にクロツクを与え、更に端子27
に縦/横の拡大率を与えると、バツフアメモリ2
0からドツト文字のパタンが行毎、ドツト単位で
ラインメモリ21,22、シフトレジスタ23〜
25に転送される。ROM29は入力クロツク毎
にシフトレジスタ23〜25の出力をアドレス入
力として読み取り、パタンROM28のアドレス
情報をサンプル制御回路30に出力する。次にサ
ンプル制御回路30は、ROM29によつて選択
されたアドレスに対応するROM28の内容を、
端子27から入力された縦/横の拡大率に従つた
適切なタイミングでサンプルしながら順次読み出
し、バツフアメモリ31に出力する。
First, a clock is applied to the terminal 26, and then a clock is applied to the terminal 27.
If you give vertical/horizontal enlargement ratio to , buffer memory 2
The pattern of dot characters from 0 is stored in line memories 21 and 22, shift registers 23 and 23 in dot units.
Transferred to 25. The ROM 29 reads the outputs of the shift registers 23 to 25 as address inputs every input clock, and outputs the address information of the pattern ROM 28 to the sample control circuit 30. Next, the sample control circuit 30 reads the contents of the ROM 28 corresponding to the address selected by the ROM 29.
The data are sequentially read out while being sampled at appropriate timings according to the vertical/horizontal enlargement ratio input from the terminal 27 and output to the buffer memory 31.

以上のようにして、入力クロツク毎にバツフア
メモリ20に格納されているドツト文字の1ドツ
トを読取り、縦/横の拡大率に応じた拡大および
補間処理を行い、処理ドツトに対応して当該処理
ドツトを置き換えるべき画素パタンを出力する。。
なお本発明は、その原理上ドツト文字の種類(字
体、ドツトマトリクスサイズ)やドツトイメージ
出力装置の種類を選ばないため、上記説明で用い
た18×16ドツト文字をフアクシミリに出力する場
合に適用が限られるものではない。
As described above, one dot of the dot character stored in the buffer memory 20 is read for each input clock, enlargement and interpolation processing are performed according to the vertical/horizontal enlargement ratio, and the corresponding processing dot is Outputs the pixel pattern that should be replaced. .
In principle, the present invention does not care about the type of dot characters (font, dot matrix size) or the type of dot image output device, so it cannot be applied to the case of outputting the 18 x 16 dot characters used in the above explanation to a facsimile. It is not limited.

(5) 効果の説明 以上説明したように、本発明によれば、ドツト
マトリクスで構成された文字等のドツトパタンを
フアクシミリ等のドツトイメージ出力装置に出力
する場合、縦/横のバランスのとれた所望の大き
さの文字を得るために指定される任意の拡大率に
対し、補間処理による平滑化により、斜線のかす
れや階段状の目立たない高品質な出力を得ること
ができ、しかも比較的簡単なハードウエア構成で
順次処理による高速処理が可能である利点を有し
ている。また本発明はドツト文字の種類(字体、
ドツトマトリクスサイズ)やドツトイメージ出力
装置の種類を選ばないという利点を有している。
(5) Explanation of Effects As explained above, according to the present invention, when outputting dot patterns such as characters composed of dot matrix to a dot image output device such as a facsimile, it is possible to achieve desired vertical/horizontal balance. For any enlargement ratio specified to obtain a character size of It has the advantage of being able to perform high-speed processing through sequential processing due to its hardware configuration. In addition, the present invention provides various types of dot characters (fonts,
This method has the advantage that it does not depend on the dot matrix size) or the type of dot image output device.

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

第1図は18×16ドツト文字を示した図、第2図
は第1図のドツト文字を縦/横とも4倍に拡大し
た文字パタンを示した図、第3図aは第1図のド
ツト文字中に含まれる斜線の一例、第3図bは第
3図aに対する補間処理結果を示した説明図、第
3図Cは各文字ドツトの種類を説明する説明図、
第4図は本発明の処理に必要な3×5の参照ドツ
トを示した説明図、第5図a,bは本発明の処理
に必要な補間画素論理条件の例を示した説明図、
第6図は本発明の処理に必要な置換画素パタンの
例、第7図は本発明による処理例、第8図は本発
明の実施例のブロツク図を示す。 図中、a〜n,Z……参照ドツト中の文字ドツ
ト、1……文字ドツト、2……画素の単位、3…
…白黒画素、4……黒ドツトに置き換える単純拡
大画素パタン中の黒画素、5……白ドツトに置き
換える補間画素パタン中の黒画素、6……黒ドツ
トに置き換える補間画素パタン中の黒画素、7…
…白文字ドツト、8……黒文字ドツト、9……
Don′t care文字ドツト、12〜15……横サン
プル位置、16〜19……縦サンプル位置、20
……バツフアメモリ、21,22……ラインメモ
リ、23〜25……シフトレジスタ、26……ク
ロツク入力端子、27……拡大率入力端子、28
……置換画素パタンROM、29……置換画素パ
タンアドレス選択ROM、30……サンプル制御
回路、31……バツフアメモリ。
Figure 1 is a diagram showing an 18x16 dot character, Figure 2 is a diagram showing a character pattern in which the dot character in Figure 1 is enlarged four times both vertically and horizontally, and Figure 3a is a diagram of the character pattern in Figure 1. An example of a diagonal line included in a dot character, FIG. 3B is an explanatory diagram showing the interpolation processing result for FIG. 3A, FIG. 3C is an explanatory diagram explaining the types of each character dot,
FIG. 4 is an explanatory diagram showing 3×5 reference dots necessary for the processing of the present invention, FIGS. 5 a and b are explanatory diagrams showing examples of interpolation pixel logic conditions necessary for the processing of the present invention,
FIG. 6 shows an example of a replacement pixel pattern necessary for the processing of the present invention, FIG. 7 shows an example of the processing according to the invention, and FIG. 8 shows a block diagram of an embodiment of the invention. In the figure, a to n, Z...Character dots in the reference dots, 1...Character dots, 2...Pixel units, 3...
...Black and white pixels, 4...Black pixels in the simple enlarged pixel pattern to be replaced with black dots, 5...Black pixels in the interpolation pixel pattern to be replaced with white dots, 6...Black pixels in the interpolation pixel pattern to be replaced with black dots, 7...
...White letter dot, 8...Black letter dot, 9...
Don't care character dots, 12-15...Horizontal sample position, 16-19...Vertical sample position, 20
...Buffer memory, 21, 22...Line memory, 23-25...Shift register, 26...Clock input terminal, 27...Enlargement rate input terminal, 28
... Replacement pixel pattern ROM, 29 ... Replacement pixel pattern address selection ROM, 30 ... Sample control circuit, 31 ... Buffer memory.

Claims (1)

【特許請求の範囲】 1 ドツトマトリクスで構成されたドツトパタン
を、出力装置対応の画素パタンに変換するドツト
文字出力処理装置において、 ドツト文字を行毎にドツト単位で読み出す第1
の手段と、 第1の手段で読み出されたドツトパタンからp
×qドツト分の部分パタンを取り出す第2の手段
と、 拡大および補間処理を行うための複数種類の画
素パタンを夫々拡大率最大の画素パタンをもつて
あらかじめ格納しておく第3の手段と、 第2の手段により取り出した参照ドツトの論理
条件から第3の手段により格納された複数種類の
置換画素パタンの1つを選択する第4の手段と、 縦/横の拡大率を入力する第5の手段と、 第4の手段によつて前記拡大率最大の画素パタ
ンをもつ置換画素パタンの1つを選択すると共に
第5の手段により入力される拡大率に従つて当該
置換画素パタンをサンプリングして出力せしめる
第6の手段とを有し、 第1の手段によつてp×qの部分パタンに対応
する参照範囲を1ドツトずつ順次移動させながら
当該参照範囲の中心ドツトに対応して当該ドツト
に対する置換画素パタンを出力することにより、
ドツト文字の縦/横の拡大処理と同時に黒画素の
付加あるいは除去を伴う補間処理とを行う ことを特徴とするドツト文字出力処理装置。
[Scope of Claims] 1. In a dot character output processing device that converts a dot pattern composed of a dot matrix into a pixel pattern compatible with an output device,
and p from the dot pattern read out by the first means.
a second means for extracting a partial pattern for ×q dots; a third means for storing in advance a plurality of types of pixel patterns for performing enlargement and interpolation processing, each with a pixel pattern having the maximum enlargement rate; a fourth means for selecting one of the plurality of types of replacement pixel patterns stored by the third means from the logical condition of the reference dot extracted by the second means; and a fifth means for inputting a vertical/horizontal enlargement ratio. selecting one of the replacement pixel patterns having the pixel pattern with the maximum magnification rate by the fourth means, and sampling the replacement pixel pattern according to the magnification rate input by the fifth means; and a sixth means for outputting the reference range corresponding to the p×q partial pattern by the first means, while sequentially moving the reference range corresponding to the p×q partial pattern one dot at a time, and outputting the dot corresponding to the center dot of the reference range. By outputting the replacement pixel pattern for
A dot character output processing device characterized by performing vertical/horizontal enlargement processing of a dot character and interpolation processing involving addition or removal of black pixels simultaneously.
JP58037963A 1983-03-08 1983-03-08 System for processing dot character output Granted JPS59163948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58037963A JPS59163948A (en) 1983-03-08 1983-03-08 System for processing dot character output

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58037963A JPS59163948A (en) 1983-03-08 1983-03-08 System for processing dot character output

Publications (2)

Publication Number Publication Date
JPS59163948A JPS59163948A (en) 1984-09-17
JPH0256874B2 true JPH0256874B2 (en) 1990-12-03

Family

ID=12512212

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58037963A Granted JPS59163948A (en) 1983-03-08 1983-03-08 System for processing dot character output

Country Status (1)

Country Link
JP (1) JPS59163948A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0824337B2 (en) * 1985-02-07 1996-03-06 沖電気工業株式会社 Image processing method
JPS62151350A (en) * 1985-12-25 1987-07-06 Canon Inc Printer
JPS62272374A (en) * 1986-05-21 1987-11-26 Matsushita Electric Ind Co Ltd Character enlarging device
JP2695955B2 (en) * 1989-03-20 1998-01-14 株式会社日立製作所 Optical recording device
US4975785A (en) * 1989-08-04 1990-12-04 International Business Machines Corporation Pel resolution addressing conversion

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5248929A (en) * 1975-10-17 1977-04-19 Hitachi Ltd Enlarged character correction system
JPS5591022A (en) * 1978-12-28 1980-07-10 Nec Corp Interpolation system for character pattern

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5248929A (en) * 1975-10-17 1977-04-19 Hitachi Ltd Enlarged character correction system
JPS5591022A (en) * 1978-12-28 1980-07-10 Nec Corp Interpolation system for character pattern

Also Published As

Publication number Publication date
JPS59163948A (en) 1984-09-17

Similar Documents

Publication Publication Date Title
EP0597556B1 (en) Image processing apparatus
JPH1098619A (en) Method for changing edge position of continuous tone image smaller
JPH06225140A (en) Method and apparatus for smoothing edge of picture element image
JPH11331609A (en) Method for detecting pixel where alias in raster-converted image data is removed
JPH11341286A (en) Processing method for image including pixel for which alias is removed
JPH03189878A (en) Edit control system for image processing device
JPH07322057A (en) Increase of resolution of binary input picture and its increasing device together with improvement of appearance ofbinary input picture
JPH0256874B2 (en)
JPH04294166A (en) Image processor
JPH05207266A (en) Picture edit processing unit
JPH07118002B2 (en) Image processing device
JPH0668271A (en) Image processor
JP2513636B2 (en) Image processing device
JP3359361B2 (en) Enlargement printing device
JPH08297739A (en) Picture processor and method therefor
JPH03254275A (en) Picture magnification and reduction method
JP2829932B2 (en) Image forming device
JPH09326920A (en) Digital image processing method in the unit of sub pixel
JPH08263644A (en) Picture processor and its method
JPH07281657A (en) Method and device for image contraction
JP2000253235A (en) Picture processing method
JPH064658A (en) Method and device for processing image
JPS6359674A (en) Interface device
JPH0476677A (en) Method and device for thinning-out reduction of image data
JPS63136275A (en) Picture processor