JPH0683950A - Smoothing interpolation system for facsimile equipment or printer - Google Patents
Smoothing interpolation system for facsimile equipment or printerInfo
- Publication number
- JPH0683950A JPH0683950A JP4237374A JP23737492A JPH0683950A JP H0683950 A JPH0683950 A JP H0683950A JP 4237374 A JP4237374 A JP 4237374A JP 23737492 A JP23737492 A JP 23737492A JP H0683950 A JPH0683950 A JP H0683950A
- Authority
- JP
- Japan
- Prior art keywords
- reference pixel
- image
- interpolation
- sub
- pixels
- 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
Links
- 238000009499 grossing Methods 0.000 title claims description 8
- 238000000034 method Methods 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 abstract description 4
- 230000002093 peripheral effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000014509 gene expression Effects 0.000 description 6
- 238000007796 conventional method Methods 0.000 description 1
- 238000001454 recorded image Methods 0.000 description 1
- 230000008719 thickening Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4007—Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Dot-Matrix Printers And Others (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、ファクシミリ装置、プ
リンタに利用でき、特に、線密度の細かいプリンタに記
録する際の線密度変換、または記録画を2倍に拡大する
際に利用できるスムージング補間方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention can be used in facsimile machines and printers, and in particular, in smoothing interpolation which can be used in linear density conversion when recording in a printer having a fine linear density or in doubling a recorded image. Regarding the scheme.
【0002】[0002]
【従来の技術】従来のファクシミリ装置、プリンタにお
けるスムージングデータ補間方式は、図3に示すよう
に、主走査補間部7と副走査補間部8を有し、補間され
たデータをプリンタ出力部9で出力するようになってい
る。次に動作について説明する。2. Description of the Related Art As shown in FIG. 3, a smoothing data interpolation method in a conventional facsimile apparatus or printer has a main scanning interpolation section 7 and a sub-scanning interpolation section 8, and the interpolated data is output by a printer output section 9. It is designed to output. Next, the operation will be described.
【0003】プリンタで記録しようとするデータの線密
度が200dpi、プリンタの解像度が400dpiの
ような場合では、プリントアウトする際に、主走査補間
部7で主走査方向の線密度を2倍にし、副走査補間部8
で副走査方向の線密度を2倍にし、データを400dp
iの線密度にしてからプリントアウトを行う。次に主走
査補間方式について説明する。When the linear density of data to be recorded by the printer is 200 dpi and the resolution of the printer is 400 dpi, the main scanning interpolation section 7 doubles the linear density in the main scanning direction when printing out. Sub-scanning interpolation unit 8
Doubles the line density in the sub-scanning direction with 400 dp data
Print out after setting the linear density to i. Next, the main scanning interpolation method will be described.
【0004】主走査補間方式は、図4(a)、(b)に
示すように、図4(a)が原画像、図4(b)が補間画
像である。図4(a)上のa〜hの画像は、主走査方向
に2倍されA0〜H0、A1〜H1に補間される。この
ときの補間論理を式数1に示す。In the main scanning interpolation method, as shown in FIGS. 4A and 4B, FIG. 4A is an original image and FIG. 4B is an interpolated image. The images a to h in FIG. 4A are doubled in the main scanning direction and interpolated into A0 to H0 and A1 to H1. The interpolation logic at this time is shown in Equation 1.
【数1】A0=a A1=f(a,b,e,f) B0=b B1=f(b,c,f,g) 但し、f()は、論理演算関数である。## EQU1 ## A0 = a A1 = f (a, b, e, f) B0 = b B1 = f (b, c, f, g) where f () is a logical operation function.
【0005】以上のように、A0〜H0は、原画像が補
間され、A1〜H1は周囲4画素から論理式により求め
られる。次に、副走査補間方式について説明する。As described above, the original images are interpolated for A0 to H0, and A1 to H1 are obtained from the four surrounding pixels by a logical expression. Next, the sub-scanning interpolation method will be described.
【0006】副走査補間方式は、図5(a)、(b)に
示すように、図5(a)が原画像(副走査補間前の画
像)、図5(b)が補間後の画像である。図5(a)上
のa〜h画素は、副走査方向に2倍され、A0〜H0、
A1〜H1に補間される。補間論理を式数2に示す。In the sub-scanning interpolation method, as shown in FIGS. 5A and 5B, FIG. 5A shows an original image (image before sub-scanning interpolation) and FIG. 5B shows an image after interpolation. Is. Pixels a to h in FIG. 5A are doubled in the sub-scanning direction to generate pixels A0 to H0,
Interpolated into A1 to H1. Equation 2 shows the interpolation logic.
【数2】A0=a A1=f(a,b,e,f) B0=b B1=f(b,c,f,g) C0=c C1=f(c,d,g,h) 但し、f()は、論理演算関数である。## EQU00002 ## A0 = a A1 = f (a, b, e, f) B0 = b B1 = f (b, c, f, g) C0 = c C1 = f (c, d, g, h) , F () are logical operation functions.
【0007】以上のように、A0〜H0は原画像が、A
1〜H1は、周囲4画素から論理式により求められる。As described above, in A0 to H0, the original image is A
1 to H1 are obtained from four surrounding pixels by a logical expression.
【0008】[0008]
【発明が解決しようとする課題】しかしながら、叙上の
従来におけるスムージング補間方法では、主走査補間後
のデータをさらに副走査方向に補間するために、補間さ
れたものをさらに補間を行うことにより得られる画像
は、原画像より劣化しがちである。However, in the above conventional smoothing interpolation method, in order to further interpolate the data after the main scanning interpolation in the sub-scanning direction, the interpolated data is obtained by further interpolation. The resulting image is likely to be worse than the original image.
【0009】また、論理の取り方によって、得られる画
像がつぶれぎみになり解像度が落ちるという欠点があっ
た。Further, there is a drawback in that the obtained image is crushed and the resolution is lowered depending on how to take the logic.
【0010】本発明は従来の上記実情に鑑みてなされた
ものであり、従って本発明の目的は、従来の技術に内在
する上記諸欠点を解消することを可能としたファクシミ
リ、プリンタにおける新規なスムージング補間方式を提
供することにある。The present invention has been made in view of the above-mentioned conventional circumstances, and therefore, the object of the present invention is to provide a novel smoothing for a facsimile or printer which can solve the above-mentioned drawbacks inherent in the prior art. It is to provide an interpolation method.
【0011】[0011]
【課題を解決するための手段】上記目的を達成する為
に、本発明に係るファクシミリ、プリンタにおけるスム
ージング補間方式は、入力される画信号をmラインn列
のウインドウメモリ部に格納し、参照画素部に、論理演
算部で参照画素及びその周囲画素からの論理演算によ
り、主走査・副走査同時に、2ライン2列の4画素の補
間を行うことを特徴とし、補間された画素をプリンタ部
へ出力する機能を備えて構成される。In order to achieve the above object, a smoothing interpolation method in a facsimile and a printer according to the present invention stores an input image signal in a window memory unit of m lines and n columns, and a reference pixel. Section, the logical operation section performs logical operation from the reference pixel and its surrounding pixels to simultaneously interpolate four pixels in two lines and two columns simultaneously in main scanning and sub-scanning, and the interpolated pixels are sent to the printer section. It has a function to output.
【0012】[0012]
【実施例】次に、本発明をその好ましい一実施例につい
て図面を参照して具体的に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described in detail with reference to the accompanying drawings with reference to the accompanying drawings.
【0013】図1は、本発明の一実施例を示すブロック
構成図である。FIG. 1 is a block diagram showing an embodiment of the present invention.
【0014】図1を参照するに、mラインn列のウイン
ドウメモリ部1に蓄積された0、1の2値データは、そ
の中心画素を参照画素とし、この参照画素をpとする。
参照画素部分に、論理出力部3のように、X0〜X3の
2ライン2列の4画素を、mラインn列の参照画素p
と、その周辺画素による論理演算によってそれぞれ論理
演算部2で定義された関数により求める。求めた論理演
算部3のデータをプリントアウト部4でプリントする。Referring to FIG. 1, binary data of 0 and 1 accumulated in the window memory unit 1 of m lines and n columns has a central pixel as a reference pixel, and this reference pixel is p.
In the reference pixel portion, like the logic output unit 3, 4 pixels of 2 lines and 2 columns of X0 to X3 and 4 pixels of the reference pixel p of m lines and n columns are arranged.
And the surrounding pixels to obtain the respective values by the functions defined in the logical operation unit 2. The data of the logical operation unit 3 thus obtained is printed by the printout unit 4.
【0015】論理演算方法についてウインドウメモリ部
1を3ライン3列を例にとり、図2を参照しながら説明
する。The logical operation method will be described with reference to FIG. 2 by taking the window memory unit 1 with 3 lines and 3 columns as an example.
【0016】図2(a)が原画像で図2(b)が補間後
の画像である。補間後の画像X0〜X3は、式数3によ
り原画像のa〜iにより論理演算で求められる。FIG. 2A shows the original image, and FIG. 2B shows the image after interpolation. The interpolated images X0 to X3 are obtained by logical operation from a to i of the original image according to the equation (3).
【数3】 X0=f0 (a,b,c,d,e,f,g,h,i) X1=f1 (a,b,c,d,e,f,g,h,i) X2=f2 (a,b,c,d,e,f,g,h,i) X3=f3 (a,b,c,d,e,f,g,h,i) 但し、f0 〜f3 は、それぞれ異なった論理演算関数で
ある。X0 = f 0 (a, b, c, d, e, f, g, h, i) X1 = f 1 (a, b, c, d, e, f, g, h, i) X2 = f 2 (a, b, c, d, e, f, g, h, i) X3 = f 3 (a, b, c, d, e, f, g, h, i) where f 0 ~ F 3 are different logical operation functions.
【0017】また、式数3を式数4に示すように、論理
演算関数を定義すると、原画像がそのまま主・副2倍し
た画像が得られる。If a logical operation function is defined as shown in Equation 3 and Equation 4, an image in which the original image is doubled in the main and sub directions can be obtained.
【数4】 X0=f0 (a,b,c,d,e,f,g,h,i)=e X1=f1 (a,b,c,d,e,f,g,h,i)=e X2=f2 (a,b,c,d,e,f,g,h,i)=e X3=f3 (a,b,c,d,e,f,g,h,i)=e この演算式を様々な式に変えることによって、求める画
像の性質を容易に変更することができる。以上のように
して参照画素1画素に対する処理がおこなえる。X0 = f 0 (a, b, c, d, e, f, g, h, i) = e X1 = f 1 (a, b, c, d, e, f, g, h, i) = e X2 = f 2 (a, b, c, d, e, f, g, h, i) = e X3 = f 3 (a, b, c, d, e, f, g, h, i) = e By changing this arithmetic expression to various expressions, it is possible to easily change the property of the image to be obtained. As described above, the processing for one reference pixel can be performed.
【0018】mラインn列のウインドウを主走査方向に
1画素ずつ移動し、副走査方向にも1ラインずつ移動す
れば、原画像の全画素が参照画素となり、原画像の主・
副2倍になった画像が得られる。この時、参照画素の周
囲画素が原画像上に無い画素点が生じるが、この場合に
は原画像上に無い画素点を白、または黒のどちらかに固
定しておけば、本方式により原画像上の全ての画素点が
スムージング補間することができる。If the window of m lines and n columns is moved by one pixel in the main scanning direction and also by one line in the sub-scanning direction, all pixels of the original image become reference pixels, and
A sub-doubled image is obtained. At this time, there are pixel points where the surrounding pixels of the reference pixel are not on the original image. In this case, if the pixel points that are not on the original image are fixed to either white or black, the original method will be used. All pixel points on the image can be smoothed and interpolated.
【0019】[0019]
【発明の効果】以上説明したように、本発明によれば、
入力された2値化されたデータを、主走査・副走査方向
に同時に補間を行うために、線密度変換、2倍拡大時に
おいて文字などの輪郭をなめらかにしたり、線幅を太く
したり、線幅を細くしたり等の原画像の変換処理を効率
的に行うことが可能となる。As described above, according to the present invention,
In order to simultaneously interpolate the input binarized data in the main scanning and sub-scanning directions, line density conversion, smoothing the contours of characters and the like at the time of double magnification, thickening the line width, It is possible to efficiently perform conversion processing of the original image such as thinning the line width.
【0020】本発明によれば、また、論理演算部の演算
式も原画像から求めるので、演算式が単純に構成できる
という効果が得られる。According to the present invention, the arithmetic expression of the logical operation unit is also obtained from the original image, so that the arithmetic expression can be simply constructed.
【図1】本発明の一実施例を示すブロック構成図であ
る。FIG. 1 is a block diagram showing an embodiment of the present invention.
【図2】本発明の論理方式を示す模式図であり、(a)
は原画像を示すウインドウ、(b)は補間後の画像を示
すウインドウである。FIG. 2 is a schematic diagram showing a logical system of the present invention, (a)
Is a window showing the original image, and (b) is a window showing the image after interpolation.
【図3】従来の方式を説明するためのブロック図であ
る。FIG. 3 is a block diagram for explaining a conventional method.
【図4】従来の主走査補間を説明する模式図であり、
(a)は原画像を示すウインドウ、(b)は補間後の画
像を示すウインドウである。FIG. 4 is a schematic diagram illustrating conventional main scanning interpolation,
(A) is a window showing an original image, and (b) is a window showing an image after interpolation.
【図5】従来の副走査補間方式を説明する模式図であ
り、(a)は原画像を示すウインドウ、(b)は補間後
の画像を示すウインドウである。5A and 5B are schematic diagrams illustrating a conventional sub-scanning interpolation method. FIG. 5A is a window showing an original image, and FIG. 5B is a window showing an image after interpolation.
1…mラインn列ウインドウメモリ部 2…論理演算部 3…演算出力部 4…プリントアウト部 5…原画像の3ライン3列のウインドウ 6…補間後のウインドウ 7…主走査補間部 8…副走査補間部 9…プリンタ出力部 10…主走査補間原画像のウインドウ 11…主走査補間後のウインドウ 12…副走査補間原画像のウインドウ 13…副走査補間後のウインドウ 1 ... m line n column window memory unit 2 ... logical operation unit 3 ... calculation output unit 4 ... printout unit 5 ... window of 3 lines 3 columns of original image 6 ... window after interpolation 7 ... main scanning interpolation unit 8 ... sub Scan interpolation unit 9 ... Printer output unit 10 ... Main scan interpolation original image window 11 ... Main scan interpolation window 12 ... Sub scan interpolation original image window 13 ... Sub scan interpolation window
Claims (1)
2倍に線密度変換するとき、または主走査・副走査方向
に2倍に画像を拡大する際に、プリントアウトデータの
mラインn列のウインドウメモリ部を有し、該ウインド
ウメモリ部の中心点を参照画素とし、該参照画素及び周
囲データから参照画素ポイントに2ライン2列の4画素
分のデータを論理演算でデータを補間することにより、
主走査、副走査同時に2倍ずつデータの補間をすること
を特徴としたファクシミリ、プリンタにおけるスムージ
ング補間方式。1. m lines of printout data when binary density data is converted to double the linear density in both main scanning and sub-scanning, or when the image is doubled in the main scanning and sub-scanning directions. It has a window memory unit of n columns, and uses the center point of the window memory unit as a reference pixel, and interpolates the data for 4 pixels of 2 lines and 2 columns from the reference pixel and surrounding data to a reference pixel point by a logical operation. By doing
A smoothing interpolation method for facsimiles and printers, which is characterized in that main scanning and sub-scanning are doubled at the same time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4237374A JPH0683950A (en) | 1992-09-04 | 1992-09-04 | Smoothing interpolation system for facsimile equipment or printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4237374A JPH0683950A (en) | 1992-09-04 | 1992-09-04 | Smoothing interpolation system for facsimile equipment or printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0683950A true JPH0683950A (en) | 1994-03-25 |
Family
ID=17014443
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4237374A Pending JPH0683950A (en) | 1992-09-04 | 1992-09-04 | Smoothing interpolation system for facsimile equipment or printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0683950A (en) |
-
1992
- 1992-09-04 JP JP4237374A patent/JPH0683950A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR940005247B1 (en) | Definition degree changing method for fax | |
US5701363A (en) | Binary to multi-value conversion apparatus for improved image reduction and enlargement | |
US5642203A (en) | Method of enlarging and processing image data | |
JPH1095141A (en) | Image recording apparatus | |
US6061151A (en) | Image processing method and apparatus | |
JPH0683950A (en) | Smoothing interpolation system for facsimile equipment or printer | |
JP3539552B2 (en) | Image processing device | |
JP2010253844A (en) | Image processing device | |
JP3171908B2 (en) | Image output device and image output method | |
US6246806B1 (en) | Image processing apparatus | |
JPH04186486A (en) | Image processor | |
JP3791895B2 (en) | Image reduction processing method and apparatus | |
JP2788554B2 (en) | Image processing method and apparatus | |
JP2712426B2 (en) | Image transmission device | |
JP3363684B2 (en) | Image processing method and apparatus, and image forming apparatus | |
JP3014257B2 (en) | Document reading device | |
JPH0614350B2 (en) | Image processing device | |
JP3469658B2 (en) | Image reduction method | |
JPH0766976A (en) | Picture processing unit | |
JPH05323562A (en) | Printing letter and image synthesizing and outputting device | |
JPH0698169A (en) | Picture recorder | |
JPH08214167A (en) | Image processing device | |
JPH03293167A (en) | Image forming apparatus | |
JPS6370383A (en) | Image output device | |
JPH0638038A (en) | Binary image smoothing method |