JP3212339B2 - Image magnification device - Google Patents

Image magnification device

Info

Publication number
JP3212339B2
JP3212339B2 JP02340992A JP2340992A JP3212339B2 JP 3212339 B2 JP3212339 B2 JP 3212339B2 JP 02340992 A JP02340992 A JP 02340992A JP 2340992 A JP2340992 A JP 2340992A JP 3212339 B2 JP3212339 B2 JP 3212339B2
Authority
JP
Japan
Prior art keywords
image
pixel
pixels
edge portion
edge
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 - Fee Related
Application number
JP02340992A
Other languages
Japanese (ja)
Other versions
JPH05191637A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP02340992A priority Critical patent/JP3212339B2/en
Publication of JPH05191637A publication Critical patent/JPH05191637A/en
Application granted granted Critical
Publication of JP3212339B2 publication Critical patent/JP3212339B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、2値画像を任意の倍率
で拡大したり縮小したりする画像変倍装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image scaling device for enlarging or reducing a binary image at an arbitrary magnification.

【0002】[0002]

【従来の技術】ファクシミリ装置や各種画像処理装置で
扱う原稿画像には、文字や線画のような黒白の画像(以
下、文字画像と総称する)と、絵や写真のような中間調
画像とがある。
2. Description of the Related Art Document images handled by facsimile apparatuses and various image processing apparatuses include black-and-white images such as characters and line drawings (hereinafter collectively referred to as character images) and halftone images such as pictures and photographs. is there.

【0003】通常、文字画像の画情報は、原稿画像をス
キャナで読み取って、得られた画信号を一定のスレッシ
ュレベルにより単純2値化した画情報である。一方、中
間調画像の画情報は、原稿画像を読み取って得た画信号
をディザ処理や誤差拡散処理などの疑似中間調処理によ
り2値化した画情報である。
Normally, image information of a character image is image information obtained by reading a document image with a scanner and simply binarizing the obtained image signal with a certain threshold level. On the other hand, image information of a halftone image is image information obtained by binarizing an image signal obtained by reading a document image by pseudo halftone processing such as dither processing or error diffusion processing.

【0004】ところで、上記のような装置では、画情報
の画素数を線形補間法などにより増減して、画像サイズ
の変倍がよく行なわる。
In the above-described apparatus, the number of pixels of the image information is increased or decreased by a linear interpolation method or the like, so that the image size is frequently changed.

【0005】一般に、文字画像は、このような変倍によ
る画質の劣化は小さいが、中間調画像は、変倍による画
質の劣化が著しい。例えば、中間調画像を画素数の増大
により大きく拡大した場合、画像にモアレが発生したり
濃度変化が目立ったりして、画質が劣化する。
[0005] In general, the quality of a character image deteriorates little due to such scaling, but the quality of a halftone image greatly deteriorates due to scaling. For example, when a halftone image is greatly enlarged due to an increase in the number of pixels, moiré occurs in the image or a density change is conspicuous, so that the image quality deteriorates.

【0006】このような画質劣化を軽減するために、例
えば、特開平2−239380号公報に見られるよう
に、2値画情報を一旦多値化して変倍し、その後で再度
2値化するものが提案されている。このように、多値化
した画情報を変倍することにより、中間調画像の場合、
モアレや不自然な濃度の急変などがなくなって、画質が
向上する。
In order to reduce such image quality deterioration, for example, as disclosed in Japanese Patent Application Laid-Open No. 2-239380, binary image information is once multi-valued and scaled, and then binarized again. Things have been suggested. Thus, by scaling the multi-valued image information, in the case of a halftone image,
Moire and unnatural sudden changes in density are eliminated, and image quality is improved.

【0007】ところが、従来は、処理する画像の種類や
変倍比に拘らず、常に一定の演算方法により、2値画情
報を多値化していた。
Conventionally, however, binary image information is multi-valued by a constant calculation method regardless of the type of image to be processed and the zoom ratio.

【0008】この場合、文字画像の画情報を多値化する
と、本来、白濃度または黒濃度であるべき画素が中間濃
度になってしまう部分が多くなって、文字の輪郭が不明
瞭になり、却って画質が劣化していた。また、中間調画
像のエッジ部分も、文字画像の場合と同様に、輪郭が不
明瞭で画質が劣化していた。
In this case, when the image information of the character image is multi-valued, pixels where white density or black density is supposed to have an intermediate density increase, and the outline of the character becomes unclear. Rather, the image quality was degraded. Also, as in the case of the character image, the edge portion of the halftone image has an unclear outline and the image quality is deteriorated.

【0009】[0009]

【発明が解決しようとする課題】このように、従来は、
2値画情報を一旦多値化して変倍する場合、文字画像や
中間調画像のエッジ部分で画質が劣化してしまうという
問題があった。
As described above, conventionally,
When the binary image information is once multi-valued and scaled, there is a problem that the image quality is degraded at the edge portion of the character image or the halftone image.

【0010】本発明は、上記の問題を解決し、文字画像
も中間調画像も常に良好な画質が得られる画像変倍装置
を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned problems and to provide an image scaling device capable of always obtaining good image quality for both character images and halftone images.

【0011】[0011]

【課題を解決するための手段】このために、本願の各発
明は、2値画情報の各画素に注目してその注目画素と周
囲画素とをパラメータとする演算により各画素を多値化
するもので、第1の発明では、その演算の際には、画像
サイズの変倍比が小さい場合には、パラメータとする周
囲画素の数を少なくし、変倍比が大きい場合には、その
数を多くするようにしている。
For this purpose, each invention of the present application focuses on each pixel of binary image information and multi-values each pixel by an operation using the pixel of interest and surrounding pixels as parameters. According to the first aspect of the present invention, in the calculation, when the magnification ratio of the image size is small, the number of surrounding pixels as parameters is reduced, and when the magnification ratio is large, the number is reduced. I try to make more.

【0012】第2の発明では、各画素が画像のエッジ部
分であるか非エッジ部分であるかを判定し、上記演算の
際には、エッジ部分の画素を多値化する場合には、パラ
メータとする周囲画素の数を少なく、非エッジ部分の画
素を多値化する場合には、その数を多くするようにして
いる。
In the second invention, it is determined whether each pixel is an edge portion or a non-edge portion of an image. In the above calculation, when the pixel of the edge portion is multi-valued, a parameter is determined. When the number of surrounding pixels to be used is small, and the number of pixels in the non-edge portion is multi-valued, the number is increased.

【0013】第3の発明では、各画素がエッジ部分であ
る場合に、さらにエッジ方向を判定して、そのエッジ方
向により、パラメータとする周囲画素の位置を変更する
ようにしている。
In the third aspect, when each pixel is an edge portion, the edge direction is further determined, and the position of a peripheral pixel as a parameter is changed according to the edge direction.

【0014】第4の発明では、上記演算の際には、単純
2値化により得られた画情報の場合には、パラメータと
する周囲画素の数を少なくし、疑似中間調処理により得
られた画情報の場合には、その数を多くするようにして
いる。
According to a fourth aspect of the present invention, in the above calculation, in the case of image information obtained by simple binarization, the number of surrounding pixels as parameters is reduced, and the image information is obtained by pseudo halftone processing. In the case of image information, the number is increased.

【0015】第5の発明では、単純2値化による画情報
と疑似中間調処理による画情報とが混在している場合に
両者を判別し、上記演算の際には、単純2値化部分の画
素の場合には、パラメータとする周囲画素の数を少なく
し、疑似中間調処理部分の画素の場合には、その数を多
くするようにしている。
In the fifth invention, when the image information obtained by the simple binarization and the image information obtained by the pseudo halftone processing are mixed, the two are discriminated. In the case of pixels, the number of surrounding pixels as parameters is reduced, and in the case of pixels in the pseudo halftone processing portion, the number is increased.

【0016】[0016]

【作用】多値化のための上記演算の際に、パラメータと
する周囲画素の数を多くすると、画素間の濃淡差が平滑
化されるので、中間調画像において画質が向上する。一
方、文字画像や画像のエッジ部分においては、パラメー
タとする周囲画素の数は少ない方が画像が明瞭になる。
When the number of surrounding pixels used as a parameter is increased in the above calculation for multi-value conversion, the gradation difference between the pixels is smoothed, so that the image quality of a halftone image is improved. On the other hand, in a character image or an edge portion of an image, the image becomes clearer when the number of surrounding pixels serving as parameters is smaller.

【0017】第1の発明では、変倍比が小さい場合、上
記パラメータとする周囲画素の数を少なくするので、文
字画像の画質の劣化を防止することができる。また、変
倍比が大きく中間調画像において劣化が目立ちやすくな
る場合に、上記数を多くするので、中間調画像の劣化を
軽減することができる。
In the first aspect of the invention, when the zoom ratio is small, the number of surrounding pixels used as the above parameters is reduced, so that the image quality of the character image can be prevented from deteriorating. Further, when the magnification ratio is large and the deterioration in the halftone image becomes conspicuous, the number is increased, so that the deterioration of the halftone image can be reduced.

【0018】第2の発明では、画像のエッジ部分では、
上記周囲画素の数を少なくし、非エッジ部分では多くす
るので、それぞれの画像部分の画質劣化が軽減する。
In the second invention, at the edge portion of the image,
Since the number of the surrounding pixels is reduced and the number of the surrounding pixels is increased in the non-edge portion, the image quality deterioration of each image portion is reduced.

【0019】第3の発明では、さらにエッジ方向により
上記パラメータとする周囲画素の位置を変更するので、
その画像内容に応じて画素濃度が補正され、さらに画質
が向上する。
In the third invention, the positions of the surrounding pixels as the above parameters are further changed depending on the edge direction.
The pixel density is corrected according to the image content, and the image quality is further improved.

【0020】第4の発明では、通常単純2値化されてい
る文字画像の画情報の場合には、上記周囲画素の数を少
なくするので、文字画像の画質劣化が低減し、通常疑似
中間調処理された画情報の場合には、その数を多くする
ので、中間調画像の画質劣化も軽減す。
According to the fourth aspect of the invention, in the case of image information of a character image which is usually simply binarized, the number of surrounding pixels is reduced, so that image quality deterioration of the character image is reduced, and the pseudo halftone is normally used. In the case of processed image information, the number of processed image information is increased, so that deterioration of image quality of a halftone image is also reduced.

【0021】第5の発明では、単純2値化による画情報
と中間調処理された画情報とが混在している場合に、上
記と同様の作用効果が得られる。
According to the fifth aspect of the invention, when the image information by the simple binarization and the image information subjected to the halftone processing are mixed, the same operation and effect as described above can be obtained.

【0022】[0022]

【実施例】以下、添付図面を参照しながら、本発明の実
施例を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0023】図1は、本発明の第1の実施例に係る画像
変倍装置のブロック構成図を示したものである。図にお
いて、2値画像入力部1は、2値画情報を入力するもの
で、例えば、スキャナ装置やファクシミリ装置の画像受
信部などである。多値化部2は、入力した2値画情報の
各画素に注目して、その注目画素と周囲画素とをパラメ
ータとする演算により各画素を多値化するものである。
演算方法切換手段2aは、その演算の際にパラメータと
する周囲画素の数や演算式を切り換えるものである。
FIG. 1 is a block diagram showing an image scaling device according to a first embodiment of the present invention. In FIG. 1, a binary image input unit 1 inputs binary image information, and is, for example, an image receiving unit of a scanner device or a facsimile device. The multi-level conversion unit 2 focuses on each pixel of the input binary image information, and multi-values each pixel by an operation using the pixel of interest and surrounding pixels as parameters.
The calculation method switching means 2a switches the number of surrounding pixels and the calculation formula used as parameters in the calculation.

【0024】変倍部3は、画像サイズの変倍率に応じて
既知技術により画素数を増減して画像サイズを拡大・縮
小するものである。2値化部4は、多値画情報を誤差拡
散法により2値化するものである。画像出力部5は、処
理した画情報を出力するもので、例えば、画像記録装置
やファクシミリ装置の画像送信部などである。
The scaling unit 3 enlarges or reduces the image size by increasing or decreasing the number of pixels according to a known technique according to the scaling factor of the image size. The binarizing unit 4 binarizes the multi-valued image information by an error diffusion method. The image output unit 5 outputs the processed image information, and is, for example, an image transmission unit of an image recording device or a facsimile device.

【0025】上記多値化部2内の演算方法切換手段2a
および変倍部3には、変倍率を指示する信号が入力され
ている。
The operation method switching means 2a in the multi-value conversion section 2
Further, a signal for instructing a scaling ratio is input to the scaling unit 3.

【0026】以上の構成で、いま本実施例の画像変倍装
置が起動したとすると、外部から変倍率rを示す信号が
入力される。この変倍率rは、オペレータにより設定さ
れたり、ファクシミリ装置の場合には相手先装置との交
信で決定されたりするものである。
With the above configuration, assuming that the image scaling device of this embodiment is activated, a signal indicating a scaling factor r is input from outside. The magnification r is set by an operator or, in the case of a facsimile machine, determined by communication with the destination machine.

【0027】2値画像入力部1は、図示せぬ外部装置か
ら2値画情報を順次入力する。多値化部2は、その画情
報を1画素ずつ入力すると共に、その注目画素を中央と
する周囲の8画素を抽出する。ここで、図2に示すよう
に、周囲画素の各値をA〜H、注目画素の値をX、その
注目画素を多値化した値をX’とする。なお、本実施例
では、多値化の階調数は、濃度「0」〜「7」の8階調
とする。
The binary image input unit 1 sequentially inputs binary image information from an external device (not shown). The multi-level conversion unit 2 inputs the image information one pixel at a time and extracts eight surrounding pixels centered on the target pixel. Here, as shown in FIG. 2, each value of the surrounding pixels is A to H, the value of the target pixel is X, and the value obtained by multi-valued the target pixel is X ′. In the present embodiment, the number of gradations for the multi-value quantization is eight gradations of the density “0” to “7”.

【0028】多値化部2は、図3に示すように、変倍率
rが、95%以上で105%未満に設定されているとき
には、注目画素の値Xを次式によりX’に多値化する。
As shown in FIG. 3, when the scaling factor r is set to 95% or more and less than 105%, the multivalue conversion section 2 sets the value X of the target pixel to a multivalued value X 'according to the following equation. Become

【0029】X’=7・X ・・・(1) また、変倍率rが、80%以上で95%未満または10
5%以上で120%未満のときには、次式により多値化
する。
X ′ = 7 · X (1) Further, the magnification r is 80% or more and less than 95% or 10%.
When it is 5% or more and less than 120%, multi-value is obtained by the following equation.

【0030】 X’=3・X+B+D+E+G ・・・(2) さらに、変倍率rが、80%未満または120%以上の
ときには、次式により多値化する。
X ′ = 3 · X + B + D + E + G (2) Further, when the magnification r is less than 80% or more than 120%, multi-value is obtained by the following equation.

【0031】 X’=X+B+D+E+G+(A+C+F+H)/2 ・・・(3) 多値化部2は、このような演算により8階調に多値化し
た画情報を順次出力する。
X ′ = X + B + D + E + G + (A + C + F + H) / 2 (3) The multi-value conversion unit 2 sequentially outputs image information multi-valued into eight gradations by such calculation.

【0032】変倍部3は、その多値画情報を水平・垂直
方向の画素数を所定の方法により増減して画像サイズを
拡大あるいは縮小する。例えば、拡大の場合には、線形
補間法により変倍比に応じて画素数を増やすことにな
る。
The scaling unit 3 enlarges or reduces the image size by increasing or decreasing the number of pixels in the horizontal / vertical direction in the multi-valued image information by a predetermined method. For example, in the case of enlargement, the number of pixels is increased by a linear interpolation method according to the zoom ratio.

【0033】2値化部4は、上記変倍処理された多値画
情報を、既知の誤差拡散法により2値化する。画像出力
部5は、2値化された画情報を所定の方法で出力する。
The binarizing section 4 binarizes the multi-valued image information subjected to the scaling process by a known error diffusion method. The image output unit 5 outputs the binarized image information by a predetermined method.

【0034】以上のように、本実施例では、2値画情報
を多値化する際に、変倍比が小さい場合には、演算式の
パラメータに周囲画素を入れず、注目画素を所定の階調
レベルの白または黒に変換するようにしている。これに
より、文字画像の各画素が中間濃度に変化して画質が劣
化するということが防止される。
As described above, in the present embodiment, when multi-valued binary image information is used, if the zoom ratio is small, surrounding pixels are not included in the parameters of the arithmetic expression, and the target pixel is set to a predetermined value. The gray level is converted to white or black. This prevents each pixel of the character image from changing to the intermediate density and deteriorating the image quality.

【0035】また、変倍比が大きくなるほど、演算式の
パラメータとする周囲画素数を多くしている。中間調画
像の場合、変倍比が大きくなると、画素間の急激な濃度
変化が目立ち画質が劣化しやすいが、上記のようにパラ
メータとする周囲画素数を多くすることにより、注目画
素の濃度が周囲画素の濃度に応じて平滑化されるので、
画質の劣化が軽減されるようになる。
The larger the zoom ratio, the larger the number of surrounding pixels used as parameters of the arithmetic expression. In the case of a halftone image, when the zoom ratio is large, a sharp change in density between pixels is conspicuous, and the image quality is likely to deteriorate, but by increasing the number of surrounding pixels as a parameter as described above, Since it is smoothed according to the density of surrounding pixels,
The deterioration of the image quality is reduced.

【0036】なお、上述の実施例では、変倍比を3ラン
クに分けるようにしたが、さらに多くのランクに分けて
それぞれ演算式を設定してもよいことは当然である。
In the above-described embodiment, the zoom ratio is divided into three ranks. However, it is obvious that the arithmetic expression may be set for each of more ranks.

【0037】図4は、本発明の第2実施例を示したもの
である。
FIG. 4 shows a second embodiment of the present invention.

【0038】同図において、図1と同一符号は同一部分
を示し、本実施例では、新たにエッジ部判定部6を備え
ている。このエッジ部判定部6は、画像の輪郭であるエ
ッジ部分の画素を判定するものである。
In the figure, the same reference numerals as those in FIG. 1 denote the same parts, and in this embodiment, an edge portion judging section 6 is newly provided. The edge portion determination section 6 determines a pixel at an edge portion which is an outline of an image.

【0039】この構成で、本実施例の画像変倍装置は起
動すると、2値画像入力部1は、2値画情報を順次入力
し、エッジ部判定部6は、入力した各画素がエッジ部分
の画素であるかどうかを判定する。この判定は、例え
ば、図2に示した3×3画素範囲において、注目画素が
エッジ部分に相当する場合における各画素パターンを予
め記憶しておき、それらの記憶パターンと実際の画素パ
ターンとを照合することにより行なう。
With this configuration, when the image scaling device of the present embodiment is started, the binary image input unit 1 sequentially inputs the binary image information, and the edge determination unit 6 determines that each of the input pixels has an edge portion. It is determined whether the pixel is a pixel of For this determination, for example, in the 3 × 3 pixel range shown in FIG. 2, each pixel pattern when the target pixel corresponds to an edge portion is stored in advance, and the stored pattern is compared with the actual pixel pattern. It is done by doing.

【0040】多値化部2は、上記判定結果に応じて、そ
れぞれの演算方法により2値画情報を多値化する。すな
わち、図5に示すように、処理する画素がエッジ部分の
画素である場合には、注目画素の値Xを前記(1)式に
よりX’に多値化する。また、エッジ部分の画素でない
場合には、前記(3)式により多値化する。
The multi-level conversion section 2 multi-levels the binary image information by the respective calculation methods according to the above determination results. That is, as shown in FIG. 5, when the pixel to be processed is a pixel in the edge portion, the value X of the target pixel is multi-valued to X ′ by the above equation (1). If the pixel is not a pixel at the edge portion, the pixel is multi-valued by the equation (3).

【0041】変倍部3は、このように多値化された画情
報を所定の変倍率で変倍し、2値化部4はその画情報を
2値化し、画像出力部5は、2値化した画情報を出力す
る。
The scaling unit 3 scales the multi-valued image information at a predetermined scaling ratio, the binarizing unit 4 binarizes the image information, and the image output unit 5 Outputs the valued image information.

【0042】以上のように、本実施例では、処理する画
素がエッジ部分である場合には、演算式のパラメータに
周囲画素を入れないで注目画素を多値化するようにした
ので、エッジ部分の画素が中間濃度に変化して画質が劣
化するということが防止される。
As described above, in this embodiment, when the pixel to be processed is an edge portion, the pixel of interest is multi-valued without surrounding pixels being included in the parameters of the arithmetic expression. Is prevented from changing to the intermediate density and deteriorating the image quality.

【0043】また、非エッジ部分では、多くの周囲画素
を演算式のパラメータとして注目画素の濃度を算出する
ようにしたので、各画素濃度が周囲画素に応じて平滑化
されるため、画質の劣化が軽減される。
Further, in the non-edge portion, the density of the target pixel is calculated using many peripheral pixels as parameters of the arithmetic expression, so that each pixel density is smoothed in accordance with the peripheral pixels, thereby deteriorating the image quality. Is reduced.

【0044】図6は、本発明の第3実施例を示したもの
である。
FIG. 6 shows a third embodiment of the present invention.

【0045】同図において、図4と異なる点は、エッジ
部判定部6の代りに方向別エッジ部判定部7を備えた点
である。この方向別エッジ部判定部7は、画像の輪郭で
あるエッジ部分の画素をエッジの方向別に判定するもの
である。
4 is different from FIG. 4 in that a direction-specific edge determination unit 7 is provided in place of the edge determination unit 6. The direction-specific edge portion determination section 7 determines the pixels of the edge portion, which is the outline of the image, for each edge direction.

【0046】この構成で、本実施例の画像変倍装置は起
動すると、2値画像入力部1は、2値画情報を順次入力
する。方向別エッジ部判定部7は、入力した各画素が画
像のエッジ部分であるかどうかをエッジの方向別に判定
する。
With this configuration, when the image scaling device of this embodiment is started, the binary image input unit 1 sequentially inputs binary image information. The direction-specific edge portion determination section 7 determines whether or not each input pixel is an edge portion of an image for each edge direction.

【0047】すなわち、図7のエッジパターンP1〜P
4は、方向別エッジ部判定部7が判定する画素パターン
の例を示している。各図において、空白の画素は
「白」、クロスハッチング表記の画素は「黒」、破線ハ
ッチング表記の画素は「白」,「黒」どちらでもよい不
定画素をそれぞれ示している。エッジパターンP1は、
注目画素が画像の白領域の左端に位置する場合であり、
エッジパターンP2は、注目画素が白領域の上端に位置
する場合である。また、エッジパターンP3は、注目画
素が黒領域の左端に位置する場合である。さらに、エッ
ジパターンP4は、注目画素が45度に傾斜した白領域
の左端に位置する場合である。
That is, the edge patterns P1 to P shown in FIG.
4 illustrates an example of a pixel pattern determined by the direction-specific edge portion determination unit 7. In each drawing, blank pixels indicate “white”, cross-hatched pixels indicate “black”, and broken-line hatched pixels indicate undefined pixels which may be either “white” or “black”. The edge pattern P1 is
When the target pixel is located at the left end of the white area of the image,
The edge pattern P2 is a case where the target pixel is located at the upper end of the white area. The edge pattern P3 is a case where the target pixel is located at the left end of the black area. Further, the edge pattern P4 is a case where the target pixel is located at the left end of the white region inclined at 45 degrees.

【0048】方向別エッジ部判定部7は、上記のように
注目画素が画像の白または黒領域の各方向に位置する各
種エッジパターンを判定する。そして、1つのエッジパ
ターンを判定すると、その判定結果を出力する。多値化
部2は、その判定結果に応じた演算方法により注目画素
を多値化する。
The edge determining unit 7 for each direction determines various edge patterns in which the target pixel is located in each direction of the white or black region of the image as described above. When one edge pattern is determined, the result of the determination is output. The multi-value conversion unit 2 multi-values the pixel of interest by a calculation method according to the determination result.

【0049】例えば、入力した画情報をエッジパターン
P1またはP3と判定した場合、注目画素の値XをX’
に多値化する。
For example, when the input image information is determined to be the edge pattern P1 or P3, the value X of the target pixel is set to X ′.
Multi-valued.

【0050】X’=5・X+C+H ・・・(4) また、上記エッジパターンP2と判定された場合、次式
により多値化する。 X’=5・X+F+H ・・・(5) さらに、上記エッジパターンP4と判定された場合、次
式により多値化する。 X’=5・X+E+G ・・・(6) このように、方向別エッジ部判定部7は、エッジパター
ン判定時に「白」,「黒」どちらでもよい不定画素と注
目画素とをパラメータとする演算により、注目画素を多
値化する。一方、いずれのエッジパターンと判定しなか
った場合には、図5で説明した非エッジ画素の場合の演
算法により多値化する。このようにして多値化された画
情報を前述の実施例と同様に処理する。
X '= 5.X + C + H (4) When it is determined that the edge pattern is P2, multi-value is obtained by the following equation. X ′ = 5 · X + F + H (5) Further, when it is determined that the edge pattern is P4, the value is multi-valued by the following equation. X ′ = 5 · X + E + G (6) As described above, the direction-specific edge portion determination section 7 performs the calculation using the indeterminate pixel which may be either “white” or “black” and the pixel of interest at the time of the edge pattern determination. Thus, the target pixel is multi-valued. On the other hand, when it is not determined that any of the edge patterns is used, the multi-value is obtained by the calculation method for non-edge pixels described with reference to FIG. The multivalued image information is processed in the same manner as in the above-described embodiment.

【0051】以上のように、本実施例では、処理する画
素がエッジ部分である場合、その画素が位置する画像領
域の周囲画素を、演算式のパラメータとするようにした
ので、エッジ部分の画素もその画像領域に応じた濃度に
補正され、図4の実施例よりもさらに画質の劣化が軽減
されるようになる。
As described above, in the present embodiment, when a pixel to be processed is an edge portion, pixels around the image area where the pixel is located are set as parameters of an arithmetic expression. Is also corrected to a density corresponding to the image area, and the deterioration of the image quality is further reduced as compared with the embodiment of FIG.

【0052】図8は、本発明の第4実施例に係るファク
シミリ装置を示したものである。
FIG. 8 shows a facsimile apparatus according to a fourth embodiment of the present invention.

【0053】図中、図6と同一符号は、同一部分を示し
ている。図において、光電変換部8は、原稿画像を読み
取ってアナログ画信号を得るスキャナ装置である。A/
D変換9は、そのアナログ画信号をデジタル信号に変換
するものである。2値化部10は、その画信号を一定の
スレッシュレベルにより単純2値化、あるいは誤差拡散
法などの中間調処理により2値化するものである。メモ
リ11は、その2値画情報を蓄積するものである。送信
部12は、発着信により既知手順で通信相手先に画像送
信するものである。
In the figure, the same symbols as those in FIG. 6 indicate the same parts. In FIG. 1, a photoelectric conversion unit 8 is a scanner device that reads an original image and obtains an analog image signal. A /
The D converter 9 converts the analog image signal into a digital signal. The binarizing unit 10 binarizes the image signal by simple binarization at a fixed threshold level or by halftone processing such as an error diffusion method. The memory 11 stores the binary image information. The transmitting unit 12 transmits an image to a communication partner in a known procedure by making and receiving a call.

【0054】この構成で、本実施例のファクシミリ装置
は送信処理の際には、まず画情報の蓄積動作を実行す
る。この場合、図示せぬ操作部でオペレータが所望の2
値化方式を設定する。設定された2値化方式は、2値化
部10と多値化部2とに指示される。
With this configuration, the facsimile apparatus according to the present embodiment first performs an image information accumulation operation during transmission processing. In this case, the operator operates the operation unit (not shown) to
Set the value conversion method. The set binarization method is instructed to the binarization unit 10 and the multi-value unit 2.

【0055】ファクシミリ装置が原稿画像の読み取りを
開始すると、光電変換部8から出力されたアナログ画信
号は、A/D変換9で一定階調のデジタル信号に変換さ
れ、2値化部10で2値化される。2値化された画情報
は、メモリ11に一旦蓄積される。
When the facsimile apparatus starts reading an original image, the analog image signal output from the photoelectric conversion unit 8 is converted into a digital signal of a constant gradation by an A / D converter 9, Valued. The binarized image information is temporarily stored in the memory 11.

【0056】送信部12は、この後、相手先に発信し
て、既知の伝送制御手順を実行する。このとき、相手先
装置の記録紙サイズを判定し、必要に応じて変倍率を決
定する。
Thereafter, the transmitting unit 12 transmits the call to the other party and executes a known transmission control procedure. At this time, the recording paper size of the destination apparatus is determined, and the magnification is determined as necessary.

【0057】この後、メモリ11から2値画情報を順次
読み出して、多値化部2により多値化する。この場合、
多値化部2は、図9に示すように、その2値画情報が単
純2値化により得られたものである場合、前記(1)式
により、注目画素の値XをX’に多値化する。また、誤
差拡散法などの疑似中間調処理により得られたものであ
る場合、前記(3)式により多値化する。
After that, the binary image information is sequentially read out from the memory 11 and is multi-valued by the multi-value converting section 2. in this case,
As shown in FIG. 9, when the binary image information is obtained by simple binarization, the multi-level quantization unit 2 multiplies the value X of the target pixel by X ′ according to the equation (1). Value. If the data is obtained by a pseudo halftone process such as an error diffusion method, it is converted into multi-valued data by the above equation (3).

【0058】このようにして多値化した画情報変倍部3
により変倍する。そして、2値化部4により再度2値化
した後、送信部12により相手先に送信する。
The multivalued image information scaling unit 3
To zoom. Then, after being binarized again by the binarization unit 4, the data is transmitted to the destination by the transmission unit 12.

【0059】ところで、文字画像の原稿を読み取る際に
は、通常オペレータは、単純2値化に設定する。また、
写真などの中間調画像の原稿を読み取る際には、中間調
処理に設定する。
By the way, when reading the original of the character image, the operator usually sets the simple binarization. Also,
When reading a halftone image document such as a photograph, the halftone processing is set.

【0060】本実施例では、単純2値化により得た画情
報は、周囲画素をパラメータとしないで2値化する一
方、中間調処理により得た画情報は、周囲画素をパラメ
ータとして2値化している。これにより、前述の各実施
例と同様に、文字画像も中間調画像もそれぞれ画質の劣
化が軽減される。
In the present embodiment, image information obtained by simple binarization is binarized without using surrounding pixels as parameters, whereas image information obtained by halftone processing is binarized using surrounding pixels as parameters. ing. As a result, similarly to the above-described embodiments, deterioration in image quality of both the character image and the halftone image is reduced.

【0061】図11は、本発明の第5実施例に係る画像
変倍装置を示したものである。
FIG. 11 shows an image scaling device according to a fifth embodiment of the present invention.

【0062】同図において、図6と同一符号は、同一部
分を示しており、図6と異なる点は、方向別エッジ部判
定部7の代りに、中間調部判定部13と文字部判定部1
4とを備えている点である。中間調部判定部13は、文
字画像と中間調画像とが1ページ内に混在している画像
において、中間調領域の画素を判定するもので、文字部
判定部14は、文字画像領域の画素を判定するものであ
る。
6, the same reference numerals as those in FIG. 6 denote the same parts. The difference from FIG. 6 is that the halftone part determining part 13 and the character part determining part are replaced with the edge part determining part 7 for each direction. 1
4 is provided. The halftone part determination unit 13 determines a pixel in a halftone region in an image in which a character image and a halftone image are mixed in one page. Is determined.

【0063】この構成で、本実施例の画像変倍装置は起
動すると、2値画像入力部1は、2値画情報を順次入力
する。中間調部判定部13は、入力した各画素が中間濃
度領域の画素であるかどうかを判定して、その判定結果
を出力する。また、文字部判定部14は、文字画像領域
の画素であるかどうか判定して、その判定結果を出力す
る。これらの画像領域の判定は、例えば、図2に示した
3×3画素範囲において、各種画像領域での各画素パタ
ーンを予め記憶しておき、それらの記憶パターンと実際
の画素パターンとを照合することにより行なう。
With this configuration, when the image scaling device of this embodiment is started, the binary image input unit 1 sequentially inputs binary image information. The halftone portion determination section 13 determines whether each of the input pixels is a pixel in the intermediate density area, and outputs the determination result. Further, the character part determination unit 14 determines whether the pixel is a pixel in the character image area, and outputs the determination result. In determining these image areas, for example, in the 3 × 3 pixel range shown in FIG. 2, each pixel pattern in various image areas is stored in advance, and the stored pattern is compared with an actual pixel pattern. It does by doing.

【0064】ところで、この場合、中間調部判定部13
の判定結果と文字部判定部14の判定結果とが矛盾する
場合がある。その1つは、中間調部判定部13では注目
画素が中間調領域であると判定し、文字部判定部14で
は文字画像領域と判定する場合である。もう1つは、そ
れらのどちらの領域とも判定されない場合である。本実
施例では、中間調部判定部13と文字部判定部14の内
の一方が所定の判定結果を出力した場合にその判定結果
を有効とする。そして、両者から判定結果が出力された
場合や、どちらからも判定結果が出力されない場合に
は、領域不明とする。
By the way, in this case, the halftone portion judging section 13
May be inconsistent with the determination result of the character part determination unit 14. One is a case where the halftone portion determination section 13 determines that the pixel of interest is a halftone area and the character portion determination section 14 determines that the pixel of interest is a character image area. The other is a case where neither of these areas is determined. In the present embodiment, when one of the halftone portion determination portion 13 and the character portion determination portion 14 outputs a predetermined determination result, the determination result is made valid. Then, if the determination result is output from both, or if the determination result is not output from either, the area is determined to be unknown.

【0065】多値化部2は、図11に示すように、文字
画像領域と判定される場合には、前記(1)式により注
目画素の値XをX’に多値化する。また、中間調画像領
域と判定される場合には、前記(3)式により多値化す
る。さらに、領域不明の場合には、前記(2)式により
多値化する。
As shown in FIG. 11, when it is determined that the area is a character image area, the multi-value converting section 2 multi-values the value X of the pixel of interest to X 'according to the above equation (1). If it is determined that the area is a halftone image area, the image is multi-valued by the equation (3). Further, when the region is unknown, the value is multi-valued by the equation (2).

【0066】このように、本実施例では、各画素が文字
画像領域であるか、中間調画像領域であるかを判定し
て、それぞれに適合する演算により各画素を多値化する
ようにしている。これにより、変倍処理する画像が、1
ページ内に文字画像と中間調画像とが混在している場合
でも、各画像の画質の劣化を少なくすることができる。
As described above, in this embodiment, it is determined whether each pixel is a character image area or a halftone image area, and each pixel is multi-valued by an operation suitable for each pixel. I have. As a result, the image to be scaled is 1
Even when a character image and a halftone image are mixed in a page, deterioration of the image quality of each image can be reduced.

【0067】なお、前述の(1)式では、周囲画素のパ
ラメータの項を全く無くしているが、周囲画素のパラメ
ータの項をいくつか設定してもよく、その場合、中間調
画像の画質を向上できることは当然である。
In the above equation (1), the parameter terms of the surrounding pixels are completely eliminated. However, some parameter terms of the surrounding pixels may be set. In this case, the image quality of the halftone image is reduced. Of course, it can be improved.

【0068】なお、上述の各実施例では、2値画情報を
8階調の多値画情報に多値化する例を説明したが、階調
数は任意に設定できることはいうまでもない。
In each of the embodiments described above, an example has been described in which binary image information is converted into multi-valued image information of eight gradations. However, it is needless to say that the number of gradations can be arbitrarily set.

【0069】[0069]

【発明の効果】以上のように、本願の第1の発明によれ
ば、変倍比が小さい場合、多値化演算の際にパラメータ
とする周囲画素の数を少なくしたので、文字画像の画質
劣化が軽減し、変倍比が大きい場合、その数を多くする
ようにしたので、中間調画像の画質劣化が軽減するよう
になる。
As described above, according to the first aspect of the present invention, when the zoom ratio is small, the number of surrounding pixels used as parameters in the multi-value calculation is reduced, so that the image quality of the character image is reduced. When the deterioration is reduced and the zoom ratio is large, the number is increased, so that the image quality deterioration of the halftone image is reduced.

【0070】第2の発明では、エッジ画素の場合に上記
パラメータとする周囲画素の数を少なくし、非エッジ画
素の場合に多くするので、それぞれの画像部分の画質劣
化が軽減する。
In the second invention, the number of surrounding pixels as the above parameters is reduced in the case of edge pixels, and is increased in the case of non-edge pixels, so that image quality deterioration of each image portion is reduced.

【0071】第3の発明では、さらにエッジ方向により
上記パラメータとする周囲画素の位置を変更するので、
画像状態に応じて画素濃度が補正されるため、さらに画
質が向上する。
In the third aspect of the present invention, the positions of the surrounding pixels as the above parameters are further changed according to the edge direction.
Since the pixel density is corrected according to the image state, the image quality is further improved.

【0072】第4の発明では、通常単純2値化される文
字画像の場合、上記パラメータとする周囲画素の数を少
なくするので、文字画像の画質劣化が軽減し、通常疑似
中間調処理される中間調画像の場合、その数を多くする
ので、中間調画像の画質劣化も軽減する。
According to the fourth aspect of the present invention, in the case of a character image that is usually simply binarized, the number of surrounding pixels used as the above parameters is reduced, so that the image quality deterioration of the character image is reduced and the pseudo halftone processing is usually performed In the case of a halftone image, since the number thereof is increased, deterioration of the image quality of the halftone image is also reduced.

【0073】第5の発明では、各画素が文字画像領域で
あるか、中間調画像領域であるかを判定して、それぞれ
適合する演算方法で多値化するようにしたので、文字画
像と中間調画像とが1ページ内に混在している場合に
も、各画像の画質劣化が軽減する。
According to the fifth aspect, each pixel is determined to be a character image area or a halftone image area, and multi-valued by an appropriate calculation method. Even when the toned image is mixed in one page, the image quality deterioration of each image is reduced.

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

【図1】本発明の一実施例に係る画像変倍装置のブロッ
ク構成図である。
FIG. 1 is a block diagram of an image scaling device according to an embodiment of the present invention.

【図2】注目画素と演算式のパラメータとする周囲画素
の画素位置の説明図である。
FIG. 2 is an explanatory diagram of a pixel of interest and a pixel position of a peripheral pixel used as a parameter of an arithmetic expression;

【図3】各種変倍率と演算方法との対応を示す説明図で
ある。
FIG. 3 is an explanatory diagram showing correspondence between various scaling factors and calculation methods.

【図4】本発明の第2の実施例に係る画像変倍装置のブ
ロック構成図である。
FIG. 4 is a block diagram of an image scaling device according to a second embodiment of the present invention.

【図5】画素の判定結果と演算方法との対応を示す説明
図である。
FIG. 5 is an explanatory diagram showing the correspondence between pixel determination results and calculation methods.

【図6】本発明の第3の実施例に係る画像変倍装置のブ
ロック構成図である。
FIG. 6 is a block diagram of an image scaling device according to a third embodiment of the present invention.

【図7】各種エッジパターンと演算方法との対応を示す
説明図である。
FIG. 7 is an explanatory diagram showing correspondence between various edge patterns and calculation methods.

【図8】本発明の第4の実施例に係るファクシミリ装置
のブロック構成図である。
FIG. 8 is a block diagram of a facsimile apparatus according to a fourth embodiment of the present invention.

【図9】各2値化方式と演算方法との対応を示す説明図
である。
FIG. 9 is an explanatory diagram showing a correspondence between each binarization method and a calculation method.

【図10】本発明の第5の実施例に係る画像変倍装置の
ブロック構成図である。
FIG. 10 is a block diagram of an image scaling device according to a fifth embodiment of the present invention.

【図11】各種画像領域と演算方法との対応を示す説明
図である。
FIG. 11 is an explanatory diagram showing correspondence between various image areas and calculation methods.

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

1 2値画像入力部 2 多値化部 2a 演算方法切換手段 3 変倍部 4,10 2値化部 5 画像出力部 6 エッジ部判定部 7 方向別エッジ部判定部 8 光電変換部 9 A/D変換 11 メモリ 12 送信部 13 中間調部判定部 14 文字部判定部 DESCRIPTION OF SYMBOLS 1 Binary image input part 2 Multi-value part 2a Calculation method switching means 3 Magnification part 4,10 Binarization part 5 Image output part 6 Edge part determination part 7 Edge part determination part for every direction 8 Photoelectric conversion part 9 A / D conversion 11 memory 12 transmission unit 13 halftone part determination unit 14 character part determination unit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 2値画情報を一旦多値化して画素数の増
減により変倍した後再度2値化する画像変倍装置におい
て、2値画情報の各画素が画像のエッジ部分であるか非
エッジ部分であるかを判定するエッジ判定手段と、上記
各画素に注目してその注目画素と周囲画素とをパラメー
タとする演算により各画素を多値化する多値化手段と、
上記演算の際には多値化する画素が上記エッジ部分であ
る場合には上記パラメータとする周囲画素の数を少なく
し、上記非エッジ部分である場合にはその数を多くする
演算方法切換手段とを備えていることを特徴とする画像
変倍装置。
1. An image scaling device which once binarizes binary image information, scales the image by increasing / decreasing the number of pixels, and binarizes the image again, determines whether each pixel of the binary image information is an edge portion of the image. Edge determining means for determining whether or not the pixel is a non-edge portion; multi-value converting means for converting each pixel to multi-value by performing an operation using the pixel of interest and surrounding pixels as parameters by focusing on each of the pixels;
An operation method switching means for reducing the number of surrounding pixels used as the parameter when the pixel to be multi-valued is the edge portion and increasing the number when the pixel to be multi-valued is the non-edge portion. An image scaling device, comprising:
【請求項2】 上記各画素がエッジ部分である場合にさ
らにエッジ方向を判定するエッジ方向判定手段と、多値
化する画素が上記エッジ部分である場合には判定した上
記エッジ方向により上記パラメータとする周囲画素の位
置を変更する参照画素位置変更手段とを備えていること
を特徴とする請求項1記載の画像変倍装置。
2. An edge direction determining means for further determining an edge direction when each of the pixels is an edge portion, and determining the parameter based on the determined edge direction when the pixel to be multivalued is the edge portion. 2. The image scaling device according to claim 1, further comprising: a reference pixel position changing unit that changes a position of a surrounding pixel to be changed.
JP02340992A 1992-01-14 1992-01-14 Image magnification device Expired - Fee Related JP3212339B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02340992A JP3212339B2 (en) 1992-01-14 1992-01-14 Image magnification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02340992A JP3212339B2 (en) 1992-01-14 1992-01-14 Image magnification device

Publications (2)

Publication Number Publication Date
JPH05191637A JPH05191637A (en) 1993-07-30
JP3212339B2 true JP3212339B2 (en) 2001-09-25

Family

ID=12109704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02340992A Expired - Fee Related JP3212339B2 (en) 1992-01-14 1992-01-14 Image magnification device

Country Status (1)

Country Link
JP (1) JP3212339B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW363075B (en) * 1994-11-01 1999-07-01 Daikin Ind Ltd Fluoride polymer compound painting and coating method thereof
JP4872715B2 (en) * 2007-03-02 2012-02-08 富士ゼロックス株式会社 Image processing apparatus and program

Also Published As

Publication number Publication date
JPH05191637A (en) 1993-07-30

Similar Documents

Publication Publication Date Title
JP3585703B2 (en) Image processing device
US4709274A (en) Image processing apparatus
JPH05328121A (en) Method and device for picture processing
JPH1056569A (en) Image processing method and device therefor
JPH03248674A (en) Half-tone picture processor
JPH06276392A (en) Picture processing unit
JP3578878B2 (en) Image processing device
JP2756371B2 (en) Image processing device
JP3212339B2 (en) Image magnification device
JP3386203B2 (en) Image information processing method and image information processing apparatus
JP2900907B2 (en) Image processing device
JPH07170391A (en) Picture element density converter
JP3117331B2 (en) Image data processing device
JP3468966B2 (en) Image processing device
JPS60136478A (en) Picture processor
JPH0457274B2 (en)
JPH04270561A (en) Picture processor
JP2857906B2 (en) Halftone binarization processor
JPH05191632A (en) Binary picture processor
JPH06205201A (en) Binary picture magnification/reduction device
JP2836992B2 (en) Image scaling processor
JPH07212573A (en) Resolution conversion device for binary picture
JPH0494266A (en) Half tone picture processing unit
JPH05284337A (en) Facsimile equipment
JPH05160997A (en) Binary image magnification variation system

Legal Events

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

Free format text: PAYMENT UNTIL: 20070719

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080719

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees