JPH0416060A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH0416060A
JPH0416060A JP2118705A JP11870590A JPH0416060A JP H0416060 A JPH0416060 A JP H0416060A JP 2118705 A JP2118705 A JP 2118705A JP 11870590 A JP11870590 A JP 11870590A JP H0416060 A JPH0416060 A JP H0416060A
Authority
JP
Japan
Prior art keywords
density
pixel
conversion
data
smoothing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2118705A
Other languages
Japanese (ja)
Inventor
Masami Kato
政美 加藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2118705A priority Critical patent/JPH0416060A/en
Publication of JPH0416060A publication Critical patent/JPH0416060A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To reduce ruggedness on an oblique line and to improve visual picture quality by calculating a mean density of a converted picture element in the case of applying magnification conversion to the picture element density of a binary picture, applying smoothing processing to the result and binarizing the result to output the converted picture. CONSTITUTION:A conversion picture element density arithmetic section 11 by the projection method applies density calculation of conversion picture ele ment to an input picture data 1a and a density data 1b (7-bit) is outputted to a smoothing filtering processing section 12. The smoothing filtering processing section 12 applies smoothing based on the density data 1b (7-bit) and outputs the smooth processing data 1c to a binarizing processing section 13. The binarizing processing section 13 binarizes the data 1c subject to smooth processing and outputs the conversion picture element 1d.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、ファクシミリ装置や画像編集装置等における
2値画像の解像度変換や拡大変換を行う画像処理装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device that performs resolution conversion and enlargement conversion of binary images in facsimile machines, image editing devices, and the like.

[従来の技術] 従来、解像度の異なるスキャナやプリンタ等を有する画
像端末装置間での相互通信や、画像編集装置でイメージ
データの拡大・縮小を行うような場合、画像の画素密度
変換を行う必要がある。
[Prior Art] Conventionally, it has been necessary to convert the pixel density of an image when mutual communication is required between image terminal devices having scanners, printers, etc. with different resolutions, or when image data is enlarged or reduced using an image editing device. There is.

特に、2値画像に対する画素密度変換法としてspc法
、論理和法、9分割法、投影法、線形補間法、距離反比
例法等様々な方式が提案されている(情報処理学会紙V
OL、 25No、 5)。これらの中でも投影法は、
変換による幾何学的歪が少なく、優れた方式である事が
知られている。
In particular, various methods have been proposed as pixel density conversion methods for binary images, such as the spc method, the logical sum method, the 9-division method, the projection method, the linear interpolation method, and the distance inverse proportional method (Information Processing Society of Japan Paper V
OL, 25No. 5). Among these, the projection method is
It is known to be an excellent method with little geometric distortion due to conversion.

[発明が解決しようとしている課題] しかしながら、上記投影法において、拡大変換を行う場
合、第2図に示すように、例えば2倍に拡大した場合、
斜線のギザギザが目立ち文字等の画像が不自然になる等
の問題があった。
[Problems to be Solved by the Invention] However, in the above projection method, when enlarging conversion is performed, for example, when the image is enlarged twice as shown in FIG.
There was a problem that the jagged diagonal lines were noticeable and the images of characters etc. looked unnatural.

本発明は、上記課題を解決するために成されたもので、
2値画像の画素密度を拡大変換する際に斜線のギザギザ
を減少させ、視覚的な画質を向上させることができる画
像処理装置を提供する事を目的とする。
The present invention was made to solve the above problems, and
An object of the present invention is to provide an image processing device capable of reducing jaggedness of diagonal lines and improving visual image quality when enlarging and converting the pixel density of a binary image.

[課題を解決するための手段] 上記目的を達成するために、本発明の画像処理装置は以
下の構成から成る。すなわち、任意の倍率で2値画像の
画素密度を変換可能な画像処理装置であって、2値画像
の画素密度を拡大変換する際に、変換画素の平均濃度を
演算する演算手段と、該演算手段での結果に対し、平滑
化処理を行う平滑化手段と、該平滑化手段での結果を2
値化する2値化手段とを有する。
[Means for Solving the Problems] In order to achieve the above object, an image processing device of the present invention has the following configuration. That is, the image processing device is capable of converting the pixel density of a binary image at an arbitrary magnification, and includes a calculation means for calculating the average density of converted pixels when enlarging and converting the pixel density of the binary image, and a calculation means for calculating the average density of converted pixels; A smoothing means that performs smoothing processing on the result of the smoothing means, and a smoothing means that performs smoothing processing on the result of the smoothing means.
and a binarization means for converting into values.

[作用] 以上の構成において、2値画像の画素密度を拡大変換す
る際に、変換画素の平均濃度を演算し、その結果に対し
、平滑化処理を行い、2値化して変換画像を圧力するよ
うに動作する。
[Operation] In the above configuration, when enlarging and converting the pixel density of a binary image, the average density of the converted pixels is calculated, the result is smoothed, and the converted image is compressed by being binarized. It works like this.

[実施例] 以下、添付図面を参照して本発明に係る好適な一実施例
を詳細に説明する。
[Embodiment] Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

く構成の説明 (第1図、第3図)〉 第1図は、本実施例における画素密度変換装置の構成を
示す概略ブロック図である。
Description of Structure (FIGS. 1 and 3)> FIG. 1 is a schematic block diagram showing the structure of a pixel density conversion device in this embodiment.

入力画像(原画像1a)は、例えば、第3図に示す様に
ページ同期信号31の立上り後、ライン同期信号32に
同期して1ライン分の画像データ33がそれぞれ画像ク
ロック34に同期して入力される。この入力画像データ
1aに対し、投影法による変換画素濃度演算部11では
、変換画素の濃度演算を行い、濃度データ1b(7ビツ
ト)を平滑フィルタリング処理部12へ出力する。
In the input image (original image 1a), for example, as shown in FIG. 3, after the page synchronization signal 31 rises, one line of image data 33 is synchronized with the line synchronization signal 32, and the image data 33 is synchronized with the image clock 34. is input. For this input image data 1a, a conversion pixel density calculation unit 11 using a projection method performs conversion pixel density calculation, and outputs density data 1b (7 bits) to a smoothing filtering processing unit 12.

この平滑フィルタリング処理部12では、濃度データ1
b(7ビツト)に基づいて平滑を行い、平滑処理された
データ1cを2値化処理部13へ出力する。そして、2
値化処理部13では、平滑処理されたデータlcの2値
化を行い、変換画素1dを8カする。
In this smooth filtering processing section 12, the density data 1
Smoothing is performed based on data b (7 bits), and the smoothed data 1c is output to the binarization processing section 13. And 2
The digitization processing unit 13 binarizes the smoothed data lc and converts the converted pixels 1d into eight pixels.

く投影法の説明 (第4図)〉 次に、上述した各部11,12.13の詳細について以
下に説明する。
Explanation of Projection Method (Fig. 4)> Next, details of each of the above-mentioned parts 11, 12, and 13 will be explained below.

まず初めに、第4図を参照して投影法の原理を説明する
。なお、本実施例では、主走査、副走査双方の変換倍率
が3/2の場合を例に説明する。
First, the principle of the projection method will be explained with reference to FIG. In this embodiment, a case where the conversion magnification for both main scanning and sub-scanning is 3/2 will be described as an example.

また、1画素を方形の領域とし、注目画素である変換画
素Aを原画素に投影させ、投影面上のAの画素面と重な
る画素面を有する原画素をそれぞれP、0.R,Sとす
る。
Further, one pixel is defined as a rectangular area, and the converted pixel A, which is the pixel of interest, is projected onto the original pixel, and the original pixels having a pixel surface that overlaps with the pixel surface of A on the projection plane are P, 0, . Let them be R and S.

ここで、投影された変換画素Aの画素面内にP、O,R
,Sの画素面が占める面積をそれぞれSp、 So、 
So、 Ssとすると、注目画素の平均濃度工。
Here, within the pixel plane of the projected converted pixel A, P, O, R
, S are the areas occupied by the pixel planes Sp, So, respectively.
So, Ss is the average density of the pixel of interest.

は次式で表わされる。is expressed by the following equation.

ただし、Ip、 I。、 Ip、 Isは、P、Q、R
,Sの各点における濃度である。
However, Ip, I. , Ip, Is are P, Q, R
, S is the concentration at each point.

〈各処理部の説明 (第5図〜第9図)〉次に、変換画
素濃度演算部11の構成を第5図に示すブロック図を参
照して以下に説明する。
<Description of each processing section (FIGS. 5 to 9)> Next, the configuration of the converted pixel density calculation section 11 will be described below with reference to the block diagram shown in FIG. 5.

区示する例では、変換倍率〉l/2程度の範囲を処理可
能とするものである。
In the example shown, it is possible to process a range of approximately conversion magnification>l/2.

図において、51は画素数圧部であり、投影面上の変換
画素の位置<X、Y)における近傍原画素の取出しを行
う。52は変換画素の位置演算部であり、主走査、副走
査方向それぞれの変換倍率(p、q)に応じて定まる投
影面上の変換画素の位置を演算する。53は面積演算部
であり、変換画素位置演算部52で求めた位置情報と変
換倍率に応じて各面積を算圧する。54は式(1)の演
算を行う演算処理部であり、画素取出部51と面積演算
部53からの出力を乗算し、注目変換画素の濃度データ
1bを算出する。
In the figure, numeral 51 denotes a pixel number pressure unit, which extracts neighboring original pixels at the position of the converted pixel on the projection plane (<X, Y). Reference numeral 52 denotes a converted pixel position calculation unit, which calculates the position of the converted pixel on the projection plane determined according to the conversion magnification (p, q) in each of the main scanning and sub-scanning directions. Reference numeral 53 denotes an area calculation section, which calculates each area according to the position information and conversion magnification obtained by the converted pixel position calculation section 52. Reference numeral 54 denotes an arithmetic processing section that performs the calculation of equation (1), which multiplies the outputs from the pixel extraction section 51 and the area calculation section 53 to calculate density data 1b of the target converted pixel.

なお、変換画素濃度演算部21は、上述の構成に限定さ
れるわけではな(、一般的に次式(2)で表わされる演
算結果が得られれば、どの様な構成でもよい。
Note that the converted pixel density calculation section 21 is not limited to the above-mentioned configuration (in general, any configuration may be used as long as the calculation result expressed by the following equation (2) can be obtained.

ここで、INは注目変換画素nの平均濃度又は平均輝度
であり、■、は投影面上の注目画素nの画素面に重なる
画素面を有する原画素にの濃度又は輝度である。そして
8つは原画素にの画素面のうち変換画素nの画素面に重
なる面積である。
Here, IN is the average density or average brightness of the converted pixel n of interest, and ■ is the density or brightness of an original pixel having a pixel surface that overlaps the pixel surface of the pixel of interest n on the projection plane. 8 is an area of the pixel surface of the original pixel that overlaps with the pixel surface of the converted pixel n.

そして、本実施例では、回路の簡略化の為に、参照する
原画素SKの数を4個に限定した場合を示している。
In this embodiment, in order to simplify the circuit, the number of referenced original pixels SK is limited to four.

この参照画素を多(とる事により、処理可能な変換倍率
の範囲を広げる(縮小時の最小倍率)事ができる。
By increasing the number of reference pixels, it is possible to widen the range of conversion magnification that can be processed (minimum magnification during reduction).

また、本実施例での画素取出部51は、前述した様に、
シーケンシャルに入力される画像データ1aに対する処
理だけでなく、メモリ等の記憶装置に格納された原画デ
ータに対する処理も可能である。
Furthermore, as described above, the pixel extraction unit 51 in this embodiment is
It is possible to process not only sequentially input image data 1a but also original image data stored in a storage device such as a memory.

従来の投影法では、ここで得られた濃度データ1bを単
純2値化することで変換画像を得るものである。第6図
は、従来の投影法による拡大倍率2.5倍の具体例を示
す図である。図において、61で示す様な原画像から投
影法により得られた62で示す変換画素濃度(比率)に
対し、閾値展で単純2値化処理を行う事で、63で示す
図形に変換される。従って、原画像61が斜線の一部で
あるとすると、拡大されて晧段状のギザギザが目立つ事
になる。
In the conventional projection method, a converted image is obtained by simply binarizing the density data 1b obtained here. FIG. 6 is a diagram showing a specific example of a magnification of 2.5 times using a conventional projection method. In the figure, the converted pixel density (ratio) shown at 62 obtained from the original image shown at 61 by the projection method is converted into the figure shown at 63 by performing simple binarization processing using threshold expansion. . Therefore, if the original image 61 is a part of the diagonal line, it will be enlarged and the jagged edges will become noticeable.

一方、本実施例では、第7図に示す様に原画像71から
投影法により得られた変換画素濃度73に対し、平滑フ
ィルタリング処理を施した後に、2値化処理を行う事で
、スムージングされた変換画像を得る事ができる。
On the other hand, in this embodiment, as shown in FIG. 7, the converted pixel density 73 obtained from the original image 71 by the projection method is smoothed by performing the binarization process after performing the smoothing filtering process. A converted image can be obtained.

ここで、第7図に示す例の場合、平滑フィルタとして第
8図に示す係数の平均値フィルタを用いている。すなわ
ち、注目画素濃度をPとすると、フィルタリング処理後
のデータP′は次式(3)で表わされる。
Here, in the case of the example shown in FIG. 7, the coefficient average value filter shown in FIG. 8 is used as the smoothing filter. That is, when the density of the pixel of interest is P, the data P' after filtering processing is expressed by the following equation (3).

P  ’  =  (2P+A+B+C+D+E+F+
G+)I)  /  10     ・・・ (3)A
−Hは、画素Pの近傍画素濃度を示す。
P' = (2P+A+B+C+D+E+F+
G+)I) / 10... (3)A
-H indicates the density of the neighboring pixel of the pixel P.

次に、本実施例での平滑フィルタリング処理部12の構
成を第9図に示すブロック図を参照して以下に説明する
。
Next, the configuration of the smooth filtering processing section 12 in this embodiment will be described below with reference to the block diagram shown in FIG. 9.

図において、91a、91bは1ライン遅延処理部であ
り、91a〜91fは1画素遅延素子である。そして、
このlライン遅延処理部91a。
In the figure, 91a and 91b are one-line delay processing units, and 91a to 91f are one-pixel delay elements. and,
This l line delay processing section 91a.

91bと1画素遅延素子91a〜91fに第3図で示す
画像データ列33がシリアルに入力され、注目画素Pと
その周辺画素A−Hが取出される。
The image data string 33 shown in FIG. 3 is serially input to the pixel delay elements 91b and 1-pixel delay elements 91a to 91f, and the pixel of interest P and its surrounding pixels A to H are taken out.

93はフィルタリング演算部であり、第8図に示すフィ
ルタ係数の場合であれば、上述の(3)式で表わされる
演算処理が行われ、平滑されたデータP′が圧力される
。
Reference numeral 93 denotes a filtering calculation section, in which, in the case of the filter coefficients shown in FIG. 8, the calculation process expressed by the above-mentioned equation (3) is performed, and the smoothed data P' is compressed.

以上の処理が施された後、比カデータ列P′は2値化処
理部13へ入力され、所定の閾値と比較されて2値化処
理が行われ、変換画像1dとして出力される。
After the above processing, the ratio data string P' is input to the binarization processing section 13, where it is compared with a predetermined threshold value, binarized, and output as a converted image 1d.

以上説明した本実施例によれば、投影法による2個画像
に対する画素密度変換装置において、拡大変換時、変換
画素の濃度データに対して平滑フィルタリング処理を行
う事で、変換後にスムージング処理を行う場合より、斜
線部のギザギザを抑えた高品位な画像を得る事が可能と
なる。
According to this embodiment described above, in a pixel density conversion device for two images using a projection method, smoothing filtering processing is performed on density data of converted pixels during enlargement conversion, and smoothing processing is performed after conversion. This makes it possible to obtain a high-quality image with less jaggedness in the shaded areas.

また、変換倍率に応じた適当なフィルタ係数を設定する
事で、任意の倍率での拡大変換に対して良好なスムージ
ング処理を行う事ができる。
Furthermore, by setting appropriate filter coefficients according to the conversion magnification, it is possible to perform good smoothing processing for enlargement conversion at any magnification.

本実施例では、第8図に示すフィルタにより平滑処理を
行ったが、本発明はこれに限るわけではなく、変換倍率
に応じたどの様な平滑フィルタを用いても良い。
In this embodiment, the smoothing process was performed using the filter shown in FIG. 8, but the present invention is not limited to this, and any smoothing filter depending on the conversion magnification may be used.

[発明の効果] 以上説明した様に、本発明によれば、2個画像の画素密
度を拡大変換する際に、斜線のギザギザを減少させ、高
品位な画像を得る事ができる。
[Effects of the Invention] As described above, according to the present invention, when the pixel densities of two images are enlarged and converted, jaggedness of diagonal lines can be reduced and a high-quality image can be obtained.

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

第1図は本実施例における画素密度変換装置の構成を示
す概略ブロック図、 第2図は従来の拡大変換を説明する図、第3図は入力画
像のタイミングを示す図、第4図は投影法の原理を説明
するための図、第5図は変換画素濃度演算部の構成を示
すブロック図、 第6図は従来の拡大変換を示す図、 第7図は本実施例での拡大変換を示す図、第8図は本実
施例での平滑フィルタを示す図、第9図は本実施例での
平滑フィルタリング処理部の構成を示すブロック図であ
る。 図中、11・・・変換画素濃度演算部、12・・・平滑
フィルタリング処理部、13・・・2値化処理部である
。 特許a願人  キャノン株式会社 第6”j 隼、瞥(2イiイヒー (L ぎ \11五l/2  
)  、亡舌果虎山傭 設動;七賓311.帽果 第7ぎ 第8図 干;骨フィルタ邪シ!、ム1果 (仁!1)イ1i1/2)
Figure 1 is a schematic block diagram showing the configuration of the pixel density conversion device in this embodiment, Figure 2 is a diagram explaining conventional enlargement conversion, Figure 3 is a diagram showing the timing of input images, and Figure 4 is projection. Fig. 5 is a block diagram showing the configuration of the converted pixel density calculation section, Fig. 6 is a diagram showing conventional enlargement conversion, and Fig. 7 shows enlargement conversion in this embodiment. FIG. 8 is a diagram showing a smoothing filter in this embodiment, and FIG. 9 is a block diagram showing the configuration of a smoothing filtering processing section in this embodiment. In the figure, 11...conversion pixel density calculation section, 12...smoothing filtering processing section, 13...binarization processing section. Patent a applicant Canon Co., Ltd. No. 6”J Hayabusa, Betsu (2iiiihi) (L gi \115l/2
), Mottomo to hire the dead tongue and tiger mountain; Seven guests 311. Cap fruit 7th figure 8th figure dried; Bone filter evil! ,Mu1 fruit (Jin!1)i1i1/2)

Claims (1)

【特許請求の範囲】 任意の倍率で2値画像の画素密度を変換可能な画像処理
装置であつて、 2値画像の画素密度を拡大変換する際に、変換画素の平
均濃度を演算する演算手段と、 該演算手段での結果に対し、平滑化処理を行う平滑化手
段と、 該平滑化手段での結果を2値化する2値化手段とを有す
る事を特徴とする画像処理装置。
[Scope of Claims] An image processing device capable of converting the pixel density of a binary image at an arbitrary magnification, comprising a calculation means for calculating the average density of converted pixels when enlarging and converting the pixel density of the binary image. An image processing device comprising: a smoothing unit that performs smoothing processing on the result of the arithmetic unit; and a binarization unit that binarizes the result of the smoothing unit.
JP2118705A 1990-05-10 1990-05-10 Picture processor Pending JPH0416060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2118705A JPH0416060A (en) 1990-05-10 1990-05-10 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2118705A JPH0416060A (en) 1990-05-10 1990-05-10 Picture processor

Publications (1)

Publication Number Publication Date
JPH0416060A true JPH0416060A (en) 1992-01-21

Family

ID=14743090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2118705A Pending JPH0416060A (en) 1990-05-10 1990-05-10 Picture processor

Country Status (1)

Country Link
JP (1) JPH0416060A (en)

Similar Documents

Publication Publication Date Title
US5649031A (en) Image information processor for producing high-quality output image
JP3585703B2 (en) Image processing device
EP0650287A2 (en) Image processing method and apparatus
JP3176195B2 (en) Image processing device
JP2851724B2 (en) Image processing device
JP3262425B2 (en) Image processing device
JP3783815B2 (en) Image processing device
JP4035696B2 (en) Line segment detection apparatus and image processing apparatus
JPH0793563A (en) Image processing device
JP2845376B2 (en) Pixel density converter
JPH07170372A (en) Image reader and facsimile equipment using the same
JP2777476B2 (en) Image processing device
JP3147246B2 (en) Image processing apparatus and method
JP2555199B2 (en) Image reading method
JP3190085B2 (en) Image processing apparatus and method
JP2831573B2 (en) Pseudo halftone image processing system
JP2003101780A (en) Image processing device
JP3564216B2 (en) Image processing device
JPH05328144A (en) Picture communication equipment
JPH0311876A (en) Picture element density converter
JPS61105973A (en) Picture signal processing method
JPH05199433A (en) Picture processing system
JPH09284543A (en) Picture processor
JPS60142482A (en) Reduced image creation device
JPH05211607A (en) Image processing apparatus and method