JPH06223173A - Reduction converting method - Google Patents

Reduction converting method

Info

Publication number
JPH06223173A
JPH06223173A JP4049501A JP4950192A JPH06223173A JP H06223173 A JPH06223173 A JP H06223173A JP 4049501 A JP4049501 A JP 4049501A JP 4950192 A JP4950192 A JP 4950192A JP H06223173 A JPH06223173 A JP H06223173A
Authority
JP
Japan
Prior art keywords
pixel
thin line
value
original
image
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
JP4049501A
Other languages
Japanese (ja)
Other versions
JP2694765B2 (en
Inventor
Fumio Adachi
文夫 安達
Yoshiori Wakabayashi
佳織 若林
Kimitomo Kobayashi
公知 小林
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 JP4049501A priority Critical patent/JP2694765B2/en
Publication of JPH06223173A publication Critical patent/JPH06223173A/en
Application granted granted Critical
Publication of JP2694765B2 publication Critical patent/JP2694765B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To provide the reduction converting method which can obtain a reduction converted image even from a character which is originally broken owing to blurring without deformation and thickening and the a breaking of a new character while reducing the influence of the break of the original character. CONSTITUTION:The reduction converting method which obtains the reduction converted image by performing a process for decreasing the number of original pixels of an original image consisting of binary pixels decides whether or not there is a thin line as to the original pixels of the original image by the converted pixels of the reduction converted image at the time of correspondence between the original image and reduction converted image, and substitutes the value of the thin line in a converted pixel of the reduction converted image when it is decided that there is the thin line and the value of the thin line is a specific value.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像処理に関するもの
であり、特に、2値の画素からなる画像の画素密度を変
換して画像を縮小する縮小変換方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to image processing, and more particularly to a reduction conversion method for converting an image density of binary pixels to reduce the image.

【0002】[0002]

【従来の技術】2値の画素からなる画像の縮小変換は、
人が見て劣化が少ないと感じられる、画質の良い縮小画
像を得るものである。さらに画像の縮小変換は、この他
に、スキャナあるいはファクシミリ装置から読み取った
文字を縮小して文字認識を行う際にも必要となる。通常
のOCR(光学的文字読取装置)では、読み取りの解像
度に合わせて、文字認識のパラメータを設定したり、認
識辞書を用意するため、縮小変換を必要とすることはな
い。しかし、例えば400ppiの解像度を持つG4フ
ァクシミリ装置から出力した文字を200ppiの解像
度を持つG3ファクシミリ装置を利用して文字認識する
場合などでは、縮小変換が必要となる。このような縮小
変換に際しては、認識率の低下を招かないように、文字
の特徴を変化させないことが必要であり、文字の切れ、
つぶれ、あるいは太まりが生じないことが要求される。
2. Description of the Related Art Reduction conversion of an image composed of binary pixels is
This is to obtain a reduced image with high image quality, which is perceived by humans as having little deterioration. Further, the reduction conversion of the image is also necessary when the characters read by the scanner or the facsimile are reduced and the characters are recognized. A normal OCR (optical character reading device) does not require reduction conversion because it sets character recognition parameters and prepares a recognition dictionary according to the reading resolution. However, for example, when a character output from a G4 facsimile apparatus having a resolution of 400 ppi is recognized using a G3 facsimile apparatus having a resolution of 200 ppi, reduction conversion is necessary. In such a reduction conversion, it is necessary not to change the characteristics of the character so as not to reduce the recognition rate.
It is required that crushing or thickening does not occur.

【0003】このような縮小変換方法として、従来、変
換比率に応じて原画像の画素(原画素)を単純にサンプ
リングして、変換画像の画素(変換画素)の値を定める
方法や、原画像に変換画像を写像させたときの変換画素
の近傍に黒の原画素がある場合に優先的に変換画素を黒
とする論理和法が知られている。しかし、このサンプリ
ングによる方法では、文字のつぶれ、太まりが生じない
代わりに文字の切れが生じ、論理和法では文字の切れは
ないが、つぶれ、太まりが生じるため、画質上の問題だ
けではなく、文字認識のための縮小変換としても欠点が
あった。
As such a reduction conversion method, conventionally, a method of simply sampling a pixel (original pixel) of an original image according to a conversion ratio to determine a value of a pixel (converted pixel) of the converted image, or an original image There is known a logical sum method in which a converted pixel is preferentially set to black when there is a black original pixel in the vicinity of the converted pixel when the converted image is mapped to. However, in this sampling method, the characters are not crushed or thickened, but the characters are cut off.The logical sum method does not cause the characters to be broken, but the crushed and thickened characters are generated. However, there was a drawback as a reduction conversion for character recognition.

【0004】この問題を解決し、つぶれや太まりを起こ
さずに文字の切れを防ぐ方法として、細線の保存を基本
とした縮小変換方法がある(特願昭59−270414
号、特願昭60−38871号、特願昭61−3838
1号、特願昭62−236087号、特願平1−119
539号)。これらは、縮小変換の比率や、画像を読み
取ったときの凹凸に対する効果に応じて構成上の差異が
あるが、基本的には、細線を判別し、細線がある場合に
は細線の値を変換画素へ代入することにより細線の消失
を防ぎ、細線を保存する方法である。
As a method for solving this problem and preventing character breakage without causing crushing or thickening, there is a reduction conversion method based on the preservation of thin lines (Japanese Patent Application No. 59-270414).
Japanese Patent Application No. 60-38871, Japanese Patent Application No. 61-3838.
No. 1, Japanese Patent Application No. 62-236087, Japanese Patent Application No. 1-119.
539). These differ in configuration depending on the ratio of reduction conversion and the effect on unevenness when an image is read, but basically, thin lines are distinguished, and if there are thin lines, the values of thin lines are converted. This is a method of preventing the thin line from disappearing by substituting it into a pixel and saving the thin line.

【0005】これら縮小変換方法について、特願昭62
−236087号の例をもとにして説明する。図7はブ
ロック構成図であり、図において、10は制御手段、1
1は原画像の読み出し手段、12は細線の判定手段、1
3は細線の値を変換画素へ代入する手段、14は変換画
素の値の決定手段である。なお、前記細線の判定手段1
2は、特願昭62−236087号にいう「細線の検出
手段」と「変換画素の判定手段」の2つの手段を合わせ
たものである。
Regarding these reduction conversion methods, Japanese Patent Application No.
A description will be given based on the example of No. 236087. FIG. 7 is a block configuration diagram. In FIG.
Reference numeral 1 is an original image reading means, 12 is a thin line determination means, 1
3 is a means for substituting the value of the thin line into the conversion pixel, and 14 is a means for determining the value of the conversion pixel. The thin line determination means 1
Reference numeral 2 is a combination of two means, "fine line detecting means" and "converted pixel determining means" described in Japanese Patent Application No. 62-236087.

【0006】原画像の読み出し手段11は、制御手段1
0からの制御により原画像から縮小変換に必要な原画素
を読み出す。細線の判定手段12は、原画像の読み出し
手段11で読み出された原画素から細線の有無を判定
し、細線が有ると判定した場合は、細線の値を変換画素
に代入する手段13へ処理を要求し、細線が無いと判定
した場合は、変換画素の値の決定手段14へ処理を要求
する。細線の値を変換画素へ代入する手段13は、処理
が終了すると制御手段10へ次の処理要求を出す。
The original image reading means 11 is a control means 1.
By controlling from 0, original pixels required for reduction conversion are read from the original image. The thin line determination means 12 determines the presence or absence of a thin line from the original pixel read by the original image reading means 11, and when it is determined that there is a thin line, the thin line value is processed by the means 13 for substituting the thin pixel value into the converted pixel. If it is determined that there is no thin line, the conversion pixel value determination unit 14 is requested to perform processing. The means 13 for substituting the value of the thin line into the converted pixel issues a next processing request to the control means 10 when the processing is completed.

【0007】変換画素の値の決定手段14は、変換画素
の値を何らかの方法で決定し、その値を変換画素へ代入
した後、制御手段10へ次の処理要求を出す。変換画素
の値の決定手段14における決定方法としては、変換画
素の近傍の4原画素の多数決値を選択する方法等、いく
つかあるが、変換画素に最近傍の原画素の値を選択する
方法が簡単である。このような構成によって、制御手段
10の制御のもとに全画面について縮小変換を行う。
The conversion pixel value determining means 14 determines the conversion pixel value by some method, substitutes the value into the conversion pixel, and then issues the next processing request to the control means 10. There are several methods for determining the value of the converted pixel in the determining unit 14, such as a method of selecting the majority value of the four original pixels in the vicinity of the converted pixel, but a method of selecting the value of the original pixel in the vicinity of the converted pixel. Is easy. With this configuration, reduction conversion is performed on the entire screen under the control of the control unit 10.

【0008】次に、細線の判定手段12による細線の判
定の具体的な例を図3を用いて説明する。図3は、縦横
共変換比率が1/3より大きく1/2より小さい場合の
例で、(a)は、原画像の読み出し手段11により得ら
れた原画素を表す。(b)は、縮小変換画像の変換画素
を表す。(b)の変換画素は、原画素の縦2×横2〜縦
3×横3の画素を1つの変換画素としたものである。
Next, a specific example of thin line determination by the thin line determination means 12 will be described with reference to FIG. FIG. 3 shows an example in which the vertical / horizontal co-conversion ratio is larger than 1/3 and smaller than 1/2, and FIG. 3A shows the original pixel obtained by the original image reading unit 11. (B) represents a conversion pixel of the reduced conversion image. The conversion pixel of (b) is one in which pixels of vertical 2 × horizontal 2 × vertical 3 × horizontal 3 of the original pixel are one converted pixel.

【0009】図において、○及び●は画素で、その座標
をPn,mで表している。□は着目する変換画素41であ
る。図の例では、着目変換画素41の最近傍の原画素は
P0,0である。細線の判定細線には、ウインドX,Yに
囲まれた原画素を用いる。ウインドXには、着目変換画
素41の左右の各3画素の原画素が含まれ、ウインドY
には、着目変換画素41の上下の各3画素の原画素が含
まれる。このウインドX,Yに囲まれた各原画素につい
て、図4(b)に示す判定条件で細線の判定を行う。
In the figure, circles and circles are pixels, and their coordinates are represented by Pn, m. □ is the conversion pixel 41 of interest. In the illustrated example, the original pixel closest to the target conversion pixel 41 is P0,0. Determination of Thin Line For the thin line, the original pixel surrounded by the windows X and Y is used. The window X includes three original pixels on the left and right of the target conversion pixel 41, and the window Y
Includes three original pixels above and below the target conversion pixel 41. For each original pixel surrounded by the windows X and Y, thin line determination is performed under the determination conditions shown in FIG.

【0010】図3(a)のように、P1,-2〜1,2の画素
が黒で、その周りが白の場合、すなわち、黒の細線があ
る場合は、図4(b)の(2)の条件を満たすこととな
り、着目変換画素41は細線を有すると判定される。こ
のように判定されると、図7の細線の値を変換画素へ代
入する手段13において、細線の値として黒が変換画素
へ代入される。また、着目変換画素が42の位置にある
とすると、着目変換画素42について、以上の方法が行
われ、細線は無いと判定され、図7の変換画素の値の決
定手段14において、着目変換画素42の近辺の画素の
値、すなわち白が変換画素の値として決定される。この
判定作業を全画面について行うことにより、図3(b)
に示す変換画素が得られる。
As shown in FIG. 3A, when the pixels P1, -2 to 1,2 are black and the surroundings are white, that is, when there is a black thin line, ((b) in FIG. The condition 2) is satisfied, and it is determined that the conversion pixel 41 of interest has a thin line. When the determination is made in this way, the means 13 for substituting the value of the thin line into the conversion pixel in FIG. 7 substitutes black as the value of the thin line into the conversion pixel. If the conversion pixel of interest is at the position 42, the above method is performed for the conversion pixel of interest 42, it is determined that there is no thin line, and the conversion pixel of interest value determination unit 14 of FIG. The value of the pixel in the vicinity of 42, that is, white is determined as the value of the conversion pixel. By performing this determination work on all screens, the result shown in FIG.
The converted pixel shown in is obtained.

【0011】[0011]

【発明が解決しようとする課題】以上の縮小変換方法に
おいては、例えばファクシミリ装置から得た文字を原画
像とした場合、記載されている文字の濃度にバラツキが
多いため、かすれて、切れが生じている場合がある。こ
のような例を図5(a)に示す。図において、P-4,0〜
P5,0の細線が点P1,0で切れている場合、上記従来の縮
小変換方法では、P1,-2〜P1,3の画素が白い細線と見
なされて、図4(b)の(2)の条件を満たすこととな
り、変換画素に細線の値として白が代入されることとな
る。このため、縮小変換画像は図5(b)のようにな
り、P-4,0〜P5,0に対応する黒い細線が切れることと
なる。
In the above reduction conversion method, for example, when a character obtained from a facsimile apparatus is used as an original image, the density of the described character varies so that the character becomes faint and cut. There is a case. Such an example is shown in FIG. In the figure, P-4,0-
When the thin line of P5,0 is cut at the point P1,0, the pixels of P1, -2 to P1,3 are regarded as white thin lines in the above-described conventional reduction conversion method, and (2) in FIG. ) Is satisfied, and white is assigned to the converted pixel as the value of the thin line. Therefore, the reduced converted image is as shown in FIG. 5B, and the black thin lines corresponding to P-4,0 to P5,0 are cut off.

【0012】なお、前記の特願平1−119539号で
は、細線の候補の長さが規定長以上のとき細線と判定す
る手段を設けているが、切れにより細線と判定される図
5(a)のP1,-2〜P1,3のような線は十分に長いた
め、やはり切れない白い細線が保存されて、図5(b)
の結果が生じる。
In the above-mentioned Japanese Patent Application No. 1-119539, there is provided means for determining a thin line when the length of the candidate for the thin line is not less than the specified length. Since lines such as P1, -2 to P1,3 in) are sufficiently long, white lines that cannot be cut are saved as shown in Fig. 5 (b).
Results in.

【0013】図6(b)に、上記従来の縮小変換方法に
よる縮小変換画像の例を示す。この例では、カタカナの
「ウ」の横線に切れが生じている。
FIG. 6B shows an example of a reduced conversion image obtained by the above-described conventional reduction conversion method. In this example, the horizontal line of the katakana "U" is cut.

【0014】このように、従来の細線を保存する縮小変
換方法では、白い線も黒い線も対等に保存するため、も
ともと切れが生じている文字に対しては、切れを忠実に
再現してしまい、文字認識のための縮小変換方法として
は欠陥があった。
As described above, in the conventional reduction conversion method for preserving thin lines, white lines and black lines are equally stored, so that a character that is originally distorted is faithfully reproduced. However, there was a defect as a reduction conversion method for character recognition.

【0015】本発明は、もともとかすれによる切れがあ
るような文字に対しても、つぶれや太まりを起こさず、
新たな文字の切れを生じさせずに、かつ、もともとの文
字の切れの影響を少なくした縮小変換画像が得られる縮
小変換方法を提供することを目的とする。
The present invention does not cause crushing or thickening even for a character that originally has a cut due to fading,
An object of the present invention is to provide a reduction conversion method capable of obtaining a reduced conversion image in which the effect of the original character breakage is reduced without causing new character breaks.

【0016】本発明の前記ならびに他の目的と新規な特
徴は、本明細書の記述および添付図面から明らかにす
る。
The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0017】[0017]

【課題を解決するための手段】上記目的を達成するため
に、本発明の代表的手段は、2値の画素からなる原画像
の原画素数を少なくする処理を行うことにより縮小変換
画像を得る縮小変換方法において、原画像と縮小変換画
像を対応させたときの縮小変換画像の変換画素毎に、原
画像の原画素について細線の有無を判定し、細線が有と
判定され、かつ該細線の値が特定の値であるときに縮小
変換画像の変換画素に当該細線の値を代入するものであ
る。
In order to achieve the above object, a representative means of the present invention is to obtain a reduced converted image by performing processing for reducing the number of original pixels of an original image consisting of binary pixels. In the conversion method, the presence or absence of a thin line is determined for the original pixel of the original image for each conversion pixel of the reduced conversion image when the original image and the reduced conversion image are associated, and it is determined that there is a thin line and the value of the thin line. Is a specific value, the value of the thin line is substituted into the conversion pixel of the reduced conversion image.

【0018】[0018]

【作用】上記した手段によれば、切れによる白い細線を
保存することがない。また、黒い細線は保存されるか
ら、新たな切れが生ずることはない。したがって、もと
もとの文字の切れの影響を少なくした縮小変換画像を得
ることができるものである。
According to the above-mentioned means, the white thin line due to the break is not stored. Moreover, since the black thin line is preserved, no new cut occurs. Therefore, it is possible to obtain a reduced converted image in which the influence of the original character breakage is reduced.

【0019】以下、本願発明の構成について、2値の画
素からなる画像として、通常の白地に黒で描かれた画像
を用いた実施例と共に説明する。
The structure of the present invention will be described below with reference to an embodiment in which an image formed of normal pixels in black is used as an image composed of binary pixels.

【0020】なお、実施例を説明するための全図におい
て、同一機能を有するものは同一符号を付け、その繰り
返しの説明は省略する。
In all the drawings for explaining the embodiments, parts having the same functions are designated by the same reference numerals, and the repeated description thereof will be omitted.

【0021】[0021]

【実施例】【Example】

〔実施例1〕図1は、本発明の実施例1を説明するため
のブロック構成図である。図において、10は制御手
段、11は原画像の読み出し手段、12は細線の判定手
段、21は細線の値の判定手段、22は処理要求合成手
段、13は細線の値を変換画素へ代入する手段、14
は、変換画素の値の決定手段である。符号10〜14の
ものは、図7における従来の細線を保存する縮小変換方
法の場合と同一である。また、細線の判定手段12で用
いられる細線の判定条件は、図4(a)のようになる。
[Embodiment 1] FIG. 1 is a block diagram for explaining Embodiment 1 of the present invention. In the figure, 10 is a control unit, 11 is an original image reading unit, 12 is a thin line determination unit, 21 is a thin line value determination unit, 22 is a processing request synthesizing unit, and 13 is a thin line value assigned to a conversion pixel. Means, 14
Is a means for determining the value of the converted pixel. The reference numerals 10 to 14 are the same as those in the case of the conventional reduction conversion method for preserving thin lines in FIG. Further, the thin line determination condition used by the thin line determination means 12 is as shown in FIG.

【0022】原画像の読み出し手段11は、制御手段1
0から制御により原画像から縮小変換に必要な原画素を
読み出す。細線の判定手段12は、原画像の読み出し手
段11で読み出された原画素から細線の有無を判定し、
細線が有ると判定した場合は、細線の値の判定手段21
へ処理要求が出され、ここで細線の値が判定され、黒で
あれば、細線の値を変換画素に代入する手段13へ処理
要求が出される。ここで細線の値が変換画素の値として
代入される。
The original image reading means 11 is a control means 1.
The original pixel required for the reduction conversion is read from the original image by control from 0. The thin line determination unit 12 determines the presence or absence of a thin line from the original pixel read by the original image reading unit 11.
When it is determined that there is a thin line, the thin line value determination unit 21
A processing request is issued to the thin line value, and if it is black, the processing request is sent to the means 13 for substituting the value of the thin line into the conversion pixel. Here, the value of the thin line is substituted as the value of the converted pixel.

【0023】一方、細線の判定手段12で細線が無いと
判定した場合及び、細線の値の判定手段21で細線の値
が白と判定された場合は、共に処理要求合成手段22を
経由して変換画素の値の決定手段14へ処理要求が出さ
れ、変換画素の値の決定手段14で変換画素の値が予め
定めた方法、簡単には最近傍原画素の値として決定され
る。この処理を制御手段10のもとに全画面について行
う。
On the other hand, when the thin line determination means 12 determines that there is no thin line, and when the thin line value determination means 21 determines that the thin line value is white, both are passed through the processing request combining means 22. A processing request is issued to the conversion pixel value determining means 14, and the conversion pixel value determining means 14 determines the conversion pixel value as a value of a nearest original pixel in a predetermined method. This process is performed for all screens under the control means 10.

【0024】細線の判定手段12による細線の判定の具
体的な説明は、既に従来例の説明で用いた図3における
方法と同様に行われる。そして、その結果の変換画像
は、図3(b)と同様になる。したがって、ここでの改
めての説明は省略する。
The detailed description of the thin line determination by the thin line determination means 12 is made in the same manner as the method in FIG. 3 which has already been used in the description of the conventional example. The resulting converted image is similar to that of FIG. Therefore, a further description here is omitted.

【0025】次に、前述の図5に示した原画像に切れが
生じている場合の例について本例の説明をする。図5
(a)の原画像に対して、細線の判定手段12により着
目変換画素41について判定を行う場合、P1,-2〜P1,
3の画素が図4(a)の(2)の条件を満たすので、白
い細線が有ると見なされる。同時に、P-4,0〜P5,0の
画素は図4(a)の(10)の条件を満たすので、黒い
細線が有ると見なされる。次に、この2本の細線と判定
された結果は、細線の値の判定手段21へ出力される。
ここでは、2本の細線のうち、細線の値が黒と判定され
る細線が有るので、細線の値として、黒が細線の値を変
換画素へ代入する手段13により変換画素へ代入され
る。このような動作により、黒い細線のみ保存され、切
れによる白い細線を保存することがない。したがって、
前述の従来例の説明に用いた図5(a)の例では、P1,
-2〜P1,3の細線の値は白と判定されるから保存され
ず、その縮小変換画像は図5(c)のようになる。
Next, this example will be described with respect to an example in which the original image shown in FIG. Figure 5
When the thin line determination unit 12 determines the conversion pixel 41 of interest in the original image of (a), P1, -2 to P1,
Since 3 pixels satisfy the condition of (2) in FIG. 4A, it is considered that there is a white thin line. At the same time, the pixels of P-4,0 to P5,0 satisfy the condition (10) of FIG. 4A, and are therefore considered to have a black thin line. Next, the result of the determination of the two thin lines is output to the determination unit 21 for the value of the thin lines.
Here, of the two thin lines, there is a thin line for which the value of the thin line is determined to be black. Therefore, as the value of the thin line, black is substituted into the conversion pixel by the means 13 for substituting the value of the thin line into the conversion pixel. By such an operation, only the black thin line is saved, and the white thin line due to the break is not saved. Therefore,
In the example of FIG. 5 (a) used for the description of the conventional example described above, P1,
Since the values of the thin lines from -2 to P1,3 are determined to be white, they are not saved, and the reduced converted image is as shown in FIG. 5 (c).

【0026】以上説明したように、本例によれば、もと
もとかすれによる切れがある文字に対しても、つぶれや
太まりを起こさずに、縮小変換画像が得られる。図6
(a)に本例による縮小変換画像の例を示す。従来例の
(b)のものと比較すると明らかなように、「ウ」の横
線に切れが生じていないことが理解できる。
As described above, according to this example, a reduced conversion image can be obtained without causing crushing or thickening even for a character originally having a discontinuity due to fading. Figure 6
An example of a reduced conversion image according to this example is shown in (a). As is clear from comparison with the conventional example (b), it can be understood that the horizontal line of "c" does not have a break.

【0027】〔実施例2〕上記実施例1の方法におい
て、細線がないと判定されたとき、変換画素に最近傍の
原画素の値を変換画素の値を代入するが、この場合、最
近傍の原画素自身が細線の候補となる場合の判定を行わ
なくとも、最近傍の原画素の値が変換画素に代入され、
細線が消失することはなく、処理を簡単化できる。すな
わち、細線の判定条件を示した図4(a)の内、垂直方
向の細線に関する(4)〜(6)、水平方向の細線に関
する(10)〜(12)の判定を省略できる。本例は、
このような変換画素の最近傍の原画素自身が細線の候補
となる場合の判定を行わない細線判定条件と、細線がな
いと判定されたときに、変換画素に最近傍の原画素の値
を代入する方法において有効な方法である。
[Embodiment 2] In the method of Embodiment 1, when it is determined that there is no thin line, the value of the nearest original pixel is substituted into the converted pixel, and the value of the converted pixel is substituted. The value of the nearest original pixel is substituted for the converted pixel even if the determination is not made when the original pixel of
The thin line does not disappear, and the processing can be simplified. That is, in FIG. 4A showing the determination conditions for the thin lines, the determinations (4) to (6) regarding the vertical thin lines and the determinations (10) to (12) regarding the horizontal thin lines can be omitted. In this example,
A thin line determination condition that does not determine when the original pixel closest to the converted pixel itself is a candidate for a thin line and the value of the original pixel closest to the converted pixel when it is determined that there is no thin line. This is an effective method for substituting.

【0028】図2は、本例を説明するためのブロック構
成図である。図において、10の制御手段、11の原画
像の読み出し手段、12の細線の判定手段、13の細線
の値を変換画素に代入する手段、22の処理要求合成手
段は、前記実施例1と同様のものである。ただし、細線
の判定手段12の判定には、変換画素の最近傍の原画素
自身が細線の候補となる場合の判定を含まない判定条件
である図4(b)の判定条件を採用する。
FIG. 2 is a block diagram for explaining the present example. In the figure, the control means 10; original image reading means 11; thin line determination means 12; thin line value substitution means 13 for converting pixels; belongs to. However, the determination of the thin line determination unit 12 adopts the determination condition of FIG. 4B, which is a determination condition that does not include the determination in the case where the original pixel itself closest to the converted pixel is a candidate for the thin line.

【0029】本例では、原画像の読み出し手段11と細
線の判定手段12との間に、最近傍原画素の値の判定手
段31が挿入される。該手段31は、変換画素に最近傍
の原画素の値を判定し、該原画素が白の場合は細線の判
定手段12へ処理要求がされ、該原画素が黒の場合は、
処理要求合成手段22へ処理要求がされる。また、処理
要求合成手段22の出力は、変換画素の値の決定手段1
4の代わりに最近傍原画素の値を変換画素に代入する手
段32へ入力される。ここでは、処理要求合成手段22
からの処理要求を受けて、最近傍原画素の値を変換画素
に代入し、制御手段10へ次の処理要求を出す。
In this example, a determining unit 31 for determining the value of the nearest original pixel is inserted between the reading unit 11 for the original image and the determining unit 12 for the thin line. The means 31 determines the value of the original pixel closest to the converted pixel, and when the original pixel is white, a processing request is made to the thin line determination means 12, and when the original pixel is black,
A processing request is made to the processing request combining means 22. Further, the output of the processing request synthesis means 22 is the conversion pixel value determination means 1
Instead of 4, the value of the nearest original pixel is input to the means 32 for substituting into the converted pixel. Here, the processing request combining unit 22
In response to the processing request from, the value of the nearest original pixel is substituted into the conversion pixel, and the next processing request is issued to the control means 10.

【0030】以上の構成により、制御手段10の制御の
もとで、原画像の読み出し手段11で原画素を読み出
し、最近傍原画素の値の判定手段31で判定を行う。こ
こで、最近傍原画素の値が白と判定された場合、細線の
判定手段12へ処理要求が出され、ここで細線の判定が
行われ、細線が有れば、細線の値を変換画素へ代入する
手段13へ処理要求が出され、ここで細線の値が変換画
素の値として代入される。
With the above configuration, under the control of the control means 10, the original pixel is read by the original image reading means 11 and the judgment is made by the nearest original pixel value judging means 31. Here, if the value of the nearest original pixel is determined to be white, a processing request is issued to the thin line determination means 12, and the thin line determination is performed here. If there is a thin line, the value of the thin line is converted into a pixel. A processing request is issued to the substituting means 13 for substituting the value of the thin line as the value of the converted pixel.

【0031】一方、最近傍原画素の値の判定手段31で
最近傍の原画素が黒と判定された場合及び、細線の判定
手段12で細線が無いと判定された場合は、共に処理要
求合成手段22を経由して最近傍原画素の値を変換画素
に代入する手段32へ処理要求が出され、ここで変換画
素に最近傍の原画素の値が変換画素に代入される。この
処理を、制御手段10の制御のもとに全画面について行
う。このように動作するから、本例では、変換画素に最
近傍の原画像が白の細線の場合のみ、細線を保存するこ
ととなる。
On the other hand, if the nearest neighbor original pixel value is judged to be black by the nearest neighbor original pixel value judging means 31 and if the thin line judging means 12 judges that there is no thin line, the processing request composition is performed. A processing request is issued via the means 22 to the means 32 for substituting the value of the nearest original pixel into the converted pixel, where the value of the original pixel nearest to the converted pixel is substituted into the converted pixel. This process is performed for all screens under the control of the control means 10. Since the operation is performed in this way, in this example, the thin line is stored only when the original image closest to the converted pixel is the white thin line.

【0032】細線の判定手段12による細線の判定の具
体的な説明を行うと、図3の原画素の例では、着目変換
画素41の最近傍原画素はP0,0であり、その値は白で
ある。したがって、最近傍原画素の値の判定手段31か
らは細線の判定手段12へ処理要求が出される。細線の
判定手段12では、図4(b)の条件式の(2)が成立
するため、細線が有ると判定し、細線の値を変換画素へ
代入する手段13へ処理要求を行う。細線の判定手段1
2で判定された細線の値は黒であるから、細線の値を変
換画素へ代入する手段13は黒を変換画素に代入する。
したがって、その結果の変換画像は、図3(b)のよう
になり、細線に切れは生じない。
A detailed description of the thin line determination by the thin line determination means 12 will be given. In the example of the original pixel of FIG. 3, the nearest original pixel of the conversion pixel 41 of interest is P0,0, and its value is white. Is. Therefore, the processing request is issued from the determination means 31 of the value of the nearest original pixel to the determination means 12 of the thin line. Since the condition (2) of the conditional expression in FIG. 4B is satisfied, the thin line determination unit 12 determines that there is a thin line and makes a processing request to the unit 13 that substitutes the value of the thin line into the conversion pixel. Fine line determination means 1
Since the value of the thin line determined in 2 is black, the means 13 for substituting the value of the thin line into the conversion pixel substitutes black into the conversion pixel.
Therefore, the converted image obtained as a result is as shown in FIG. 3B, and the fine line is not broken.

【0033】次に、前述の図5に示した原画像に切れが
生じている場合の例について、本例の動作を説明する。
着目変換画素41の最近傍原画素はP0,0であり、その
値は黒である。したがって、最近傍原画素の値の判定手
段31からは処理要求合成手段22へ処理要求が出さ
れ、最近傍原画素の値を変換画素に代入する手段32は
変換画素に黒を代入する。したがって、その結果の変換
画像は、図5(c)となり、細線に切れは生じない。
Next, the operation of this example will be described with respect to an example in which the original image shown in FIG.
The nearest original pixel of the conversion pixel 41 of interest is P0,0, and its value is black. Therefore, a processing request is issued from the closest original pixel value determining means 31 to the processing request combining means 22, and the means 32 for substituting the nearest original pixel value for the converted pixel substitutes black for the converted pixel. Therefore, the resulting converted image is as shown in FIG. 5C, and the fine line is not broken.

【0034】なお、本例においては、着目変換画素41
の位置により、原画像の切れがそのまま変換画像に出力
されることがある。
In this example, the conversion pixel 41 of interest.
Depending on the position of, the cut of the original image may be directly output to the converted image.

【0035】例えば、図5において、最近傍原画素がP
1,0となる場合は、最近傍原画素の値の判定手段31
は、最近傍原画素の値を白と判定し、細線の判定手段1
2へ処理要求を出す。細線の判定手段12は、図4
(b)の判定条件を満たさないことにより、細線を無と
判定し、処理要求合成手段22を経由して最近傍原画素
の値を変換画素に代入する手段32へ処理要求を出す。
最近傍原画素の値を変換画素に代入する手段32は、最
近傍原画素の値の白を変換画素に代入する。
For example, in FIG. 5, the nearest original pixel is P
When it becomes 1,0, the determination means 31 of the value of the nearest original pixel
Determines that the value of the nearest original pixel is white, and the thin line determination means 1
Issue a processing request to 2. The thin line determination means 12 is shown in FIG.
When the determination condition of (b) is not satisfied, the thin line is determined to be absent, and a processing request is issued to the means 32 for substituting the value of the nearest original pixel into the conversion pixel via the processing request combining means 22.
The means 32 for substituting the value of the nearest original pixel into the conversion pixel substitutes the white of the value of the nearest original pixel into the conversion pixel.

【0036】この結果、変換画像の細線には切れが生じ
ることとなる。しかしながら、本実施例2は、原画像の
切れをそのまま変換画像に出力する場合があっても、従
来例と比較して、もともと存在する切れを少なくして縮
小変換を行うという効果を有するものである。
As a result, the thin lines of the converted image will be cut. However, the present embodiment 2 has an effect of performing reduction conversion by reducing existing cuts as compared with the conventional example, even when the cut of the original image may be directly output to the converted image. is there.

【0037】以上本発明者によってなされた発明を実施
例に基づき具体的に説明したが、本発明は、上記実施例
に限定されることなく、その要旨を逸脱しない範囲にお
いて種々変更可能であることはいうまでもない。例え
ば、以上の例では、白の地に黒の文字が描かれているも
のとして説明しているが、黒の地に白の文字が描かれて
いる場合は、白と黒を反転した画像に対して本発明を適
用してもよいし、白と黒の判定を逆にして本発明を実施
してもよいものである。
Although the invention made by the present inventor has been specifically described based on the embodiments, the invention is not limited to the above-mentioned embodiments and various modifications can be made without departing from the scope of the invention. Needless to say. For example, in the above example, it is explained that black characters are drawn on a white background, but if white characters are drawn on a black background, the image is reversed from white to black. On the other hand, the present invention may be applied, or the present invention may be implemented by reversing the determination of white and black.

【0038】[0038]

【発明の効果】以上説明したように、本発明によれば、
切れによる白い細線を保存することがない。また、黒い
細線は保存されるから、新たな切れが生ずることはな
い。そして、本発明は、切れによる白い細線を保存しな
いだけであるから、文字の太まりやつぶれを生ずること
もない。したがって、もともとかすれによる切れがある
ような文字に対しても、つぶれや太まりを起こさず、新
たな文字の切れを生じさせずに、かつ、もともとの文字
の切れの影響を少なくした縮小変換画像を得ることがで
きる。
As described above, according to the present invention,
Never save white thin lines due to breaks. Moreover, since the black thin line is preserved, no new cut occurs. In addition, the present invention does not store white thin lines due to cuts, and thus does not cause thickening or crushing of characters. Therefore, a reduced conversion image that does not cause crushing or thickening, does not cause a new character break, and reduces the influence of the original character break even if the character originally has a break due to blur Can be obtained.

【0039】そして、本発明の方法は、従来の細線を保
存する縮小変換方法にごく少ない機能を追加することで
実現でき、切れをつないで白の細線を除去する方法に比
べて、少ない規模の追加でかつ高速に処理できる。
The method of the present invention can be realized by adding a very small number of functions to the conventional reduction conversion method for preserving fine lines, and is of a smaller scale than the method of connecting white lines to remove fine lines. It can be added and processed at high speed.

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

【図1】 本発明の実施例1のブロック構成図。FIG. 1 is a block configuration diagram of a first embodiment of the present invention.

【図2】 本発明の実施例2のブロック構成図。FIG. 2 is a block configuration diagram of a second embodiment of the present invention.

【図3】 原画像の細線判定の例を示す図。FIG. 3 is a diagram showing an example of thin line determination of an original image.

【図4】 細線の判定条件を示す図。FIG. 4 is a diagram showing a determination condition for a thin line.

【図5】 切れが生じている原画像の細線判定の例を示
す図。
FIG. 5 is a diagram showing an example of thin line determination of an original image with a break.

【図6】 本発明及び従来例により得られる縮小変換画
像を示す図。
FIG. 6 is a diagram showing a reduced conversion image obtained by the present invention and a conventional example.

【図7】 従来例のブロック構成図。FIG. 7 is a block diagram of a conventional example.

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

10…制御手段、11…原画像の読み出し手段、12…
細線の判定手段、13…細線の値を変換画素へ代入する
手段、14…変換画素の値の決定手段、21…細線の値
の判定手段、22…処理要求合成手段、31…最近傍原
画素の値の判定手段、32…最近傍原画素の値を変換画
素に代入する手段、41,42…着目変換画素。
10 ... Control means, 11 ... Original image reading means, 12 ...
Thin line determination means, 13 ... Substitution of thin line values into converted pixels, 14 ... Converted pixel value determination means, 21 ... Thin line value determination means, 22 ... Processing request combining means, 31 ... Nearest original pixel , 32 ... Means for substituting the value of the nearest original pixel into the converted pixel, 41, 42 ... Converted pixel of interest.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 2値の画素からなる原画像の原画素数を
少なくする処理を行うことにより縮小変換画像を得る縮
小変換方法において、原画像と縮小変換画像を対応させ
たときの縮小変換画像の変換画素毎に、原画像の原画素
について細線の有無を判定し、細線が有と判定され、か
つ該細線の値が特定の値であるときに縮小変換画像の変
換画素に当該細線の値を代入することを特徴とする縮小
変換方法。
1. A reduction conversion method for obtaining a reduced conversion image by performing a process of reducing the number of original pixels of an original image composed of binary pixels, in a reduced conversion image when the original image and the reduced conversion image are associated with each other. For each conversion pixel, the presence or absence of a thin line is determined for the original pixel of the original image, and when the thin line is determined to be present and the value of the thin line is a specific value, the value of the thin line is set to the conversion pixel of the reduced conversion image. A reduction conversion method characterized by substituting.
【請求項2】 2値の画素からなる原画像の原画素数を
少なくする処理を行うことにより縮小変換画像を得る縮
小変換方法において、原画像と縮小変換画像を対応させ
たときの縮小変換画像の変換画素に最近傍の原画素の値
を判定し、前記変換画素毎に、原画像の原画素について
細線を判定し、細線が有と判定され、かつ該原画素の値
が特定の値であるときに当該変換画素に前記細線の値を
代入することを特徴とする縮小変換方法。
2. A reduction conversion method for obtaining a reduction conversion image by performing a process of reducing the number of original pixels of an original image composed of binary pixels, in a reduction conversion image when the original image and the reduction conversion image are associated with each other. The value of the original pixel closest to the converted pixel is determined, the thin line is determined for the original pixel of the original image for each of the converted pixels, the thin line is determined to be present, and the value of the original pixel is a specific value. A reduction conversion method, wherein the value of the thin line is substituted into the conversion pixel at times.
JP4049501A 1992-03-06 1992-03-06 Reduction conversion method Expired - Lifetime JP2694765B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4049501A JP2694765B2 (en) 1992-03-06 1992-03-06 Reduction conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4049501A JP2694765B2 (en) 1992-03-06 1992-03-06 Reduction conversion method

Publications (2)

Publication Number Publication Date
JPH06223173A true JPH06223173A (en) 1994-08-12
JP2694765B2 JP2694765B2 (en) 1997-12-24

Family

ID=12832893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4049501A Expired - Lifetime JP2694765B2 (en) 1992-03-06 1992-03-06 Reduction conversion method

Country Status (1)

Country Link
JP (1) JP2694765B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8098960B2 (en) 2006-07-28 2012-01-17 Fuji Xerox Co., Ltd. Image processing apparatus, computer readable medium storing program, image processing method, and computer data signal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59191966A (en) * 1983-04-15 1984-10-31 Hitachi Ltd Compression system for facsimile original
JPH01212074A (en) * 1988-02-18 1989-08-25 Nec Corp Image area separator

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59191966A (en) * 1983-04-15 1984-10-31 Hitachi Ltd Compression system for facsimile original
JPH01212074A (en) * 1988-02-18 1989-08-25 Nec Corp Image area separator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8098960B2 (en) 2006-07-28 2012-01-17 Fuji Xerox Co., Ltd. Image processing apparatus, computer readable medium storing program, image processing method, and computer data signal

Also Published As

Publication number Publication date
JP2694765B2 (en) 1997-12-24

Similar Documents

Publication Publication Date Title
US7177049B2 (en) Image reconstruction architecture
JPH07200799A (en) Image-video input signal processor, corrected-digital-image-signal-array generation device and selective control method of application of image processing effect
JP3772262B2 (en) How to identify the type of an image
JP2694765B2 (en) Reduction conversion method
JPH07288679A (en) Image processing unit
JPH07107268A (en) Image processing device
US5323250A (en) Pixel-skipping apparatus in an image processor
JP2559710B2 (en) Image processing method
JP2777476B2 (en) Image processing device
KR930008774B1 (en) Method of data compression of text image
JP3452202B2 (en) Image processing method
JPS63224472A (en) Reading system for area specifying sheet
KR930003484B1 (en) Transmission method for fax
KR100205599B1 (en) Binary coding method of character image in letter
JP3211515B2 (en) Image reduction processing method
JPH06169398A (en) Image processor
KR930018923A (en) How to improve image quality
JPS6335071A (en) Variable power method
JPH0338782A (en) Detector for density of original
JPH08289137A (en) Image reduction device
JPH064706A (en) Picture processor
JPH0256677B2 (en)
JPH11266352A (en) Image processing unit
JP2000013606A (en) Image reader
JPH07273995A (en) Image processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070912

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080912

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20080912

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090912

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20090912

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100912

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20100912

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20110912

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20120912

Year of fee payment: 15

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120912

Year of fee payment: 15