JPH0495177A - Image enlargement processing system - Google Patents

Image enlargement processing system

Info

Publication number
JPH0495177A
JPH0495177A JP2208510A JP20851090A JPH0495177A JP H0495177 A JPH0495177 A JP H0495177A JP 2208510 A JP2208510 A JP 2208510A JP 20851090 A JP20851090 A JP 20851090A JP H0495177 A JPH0495177 A JP H0495177A
Authority
JP
Japan
Prior art keywords
image data
horizontal
black
vertical directions
picture element
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
JP2208510A
Other languages
Japanese (ja)
Inventor
Hisaaki Fudo
不動 久彰
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2208510A priority Critical patent/JPH0495177A/en
Publication of JPH0495177A publication Critical patent/JPH0495177A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To obtain the image data which is smooth by executing a specific picture element correction with respect to an image enlarged to two folds in the horizontal and the vertical directions. CONSTITUTION:A hardware 22 using a data compressing/expanding controller, etc., is used, and is connected to an original image data memory 21 by a system bus 23. In such a state, binary image data is expanded to two folds in the horizontal and the vertical directions, and by taking notice or one line of two continuous lines of the enlarged image data, the left and the right picture elements of a black picture element of the image data are set as black picture elements, and also, as for the black picture element, by performing repeatedly an operation which is not executed at all, binary image data in which the black picture element increase is generated, and moreover, by taking notice of three continuous lines of this image data, only when they are the black picture element and the black picture element, they are set as black picture elements, and in other case, they are set as white picture elements, and by correcting its binary image data, a picture element correction is executed to the image expanded to two folds in the horizontal and the vertical directions. In such a way, the expanded image comes to look smooth.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像拡大処理方式に関し、特に水平及び垂直
方向に2倍拡大のときの画素補正方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image enlargement processing method, and particularly to a pixel correction method when enlarging an image twice in the horizontal and vertical directions.

〔従来の技術〕[Conventional technology]

従来、この種の画像拡大処理で、水平及び垂直方向に2
倍拡大処理を行う場合は、第4図(a)、(b)に示す
ように、まず元画像データAの各々の画素に対してその
画素の2倍のビットを割り当てることによりまず水平方
向に2倍し、さらにそのデータを連続する2ラインに書
き込むことにより水平及び垂直方向に2倍拡大処理を実
現して2倍拡大画像データBに変換処理されていた。
Conventionally, in this type of image enlargement processing, two
When performing double enlargement processing, as shown in FIGS. 4(a) and (b), first, double the bits of that pixel are assigned to each pixel of the original image data A. By doubling the data and writing the data in two consecutive lines, double enlargement processing is realized in the horizontal and vertical directions, and conversion processing is performed to double enlarged image data B.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の水平及び垂直方向に2倍拡大処理方法で
は、水平方向には元画像データの各々の画素に対してそ
の画素の2倍のビットを割り当てることにより、また縦
方向にはデータを連続する2ラインに書き込むことによ
り処理を実現しているので、水平及び垂直方向に2倍拡
大処理されてできた画像データは、角張った画像となり
、画像が粗雑にみえるという欠点がある。
In the conventional double-enlargement processing method in the horizontal and vertical directions described above, each pixel of the original image data is allocated twice as many bits as that pixel in the horizontal direction, and the data is continuously enlarged in the vertical direction. Since the processing is realized by writing in two lines, the image data resulting from the double enlargement process in the horizontal and vertical directions becomes an angular image, which has the disadvantage that the image appears coarse.

本発明の目的は、このような欠点を除き、拡大画像をス
ムーズにみえるようにした画像拡大処理方式を提供する
ことにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an image enlargement processing method that eliminates such drawbacks and allows enlarged images to appear smoothly.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の構成は、あらかじめ格納されている2値画像デ
ータを水平及び垂直方向に2倍に拡大する2値画像の画
像拡大処理方式において、前記2値画像データを水平及
び垂直方向に2倍拡大し、この拡大した画像データの連
続した2ラインのうちの、1ラインに着目して前記画像
データの黒画素の左右の画素を黒画素とし、また黒画素
に対しては何もしないという操作を繰り返し施して黒画
素が増大した2値画像データを作成し、さらにこの黒画
素が増大した2値画像データの黒画素の増大した連続す
る3ラインに着目して、これらが黒画素と黒画素である
ときのみ黒画素とし、その他のとき白画素とするように
してその2値画像データを補正することにより、水平及
び垂直方向に2倍拡大した画像に対して画素補正を行う
ことを特徴とする。
The configuration of the present invention is to expand the binary image data twice in the horizontal and vertical directions in a binary image image enlargement processing method that doubles the binary image data stored in advance in the horizontal and vertical directions. Then, focusing on one line out of the two consecutive lines of this enlarged image data, the pixels to the left and right of the black pixel in the image data are made black pixels, and the operation is performed to do nothing to the black pixels. By repeating this process, we create binary image data in which the number of black pixels has increased, and then we focus on three consecutive lines in which the number of black pixels in the binary image data has increased, and calculate whether these are black pixels and black pixels. The pixel correction is performed on an image enlarged twice in the horizontal and vertical directions by correcting the binary image data by making the pixel a black pixel only at certain times and a white pixel at other times. .

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を説明するフロー図、第2図
(a)〜(d)は第1図の画像処理を工程順に説明する
画像データの平面図である。ます、第2図(a)に示す
ように元画像データAを水平及び垂直方向に2倍拡大し
て、第2図(b’)のように2値画像データB。を作成
し、この画像データBOにおける連続する2ラインに着
目してそのうちの1ライン(L+ 、L2 、L、)に
対して黒画素の左右の画素を黒画素にすることにより黒
画素を増加して、第2図(c)のように2値画像テータ
Blを作成する。さらに、黒画素が増大したラインL4
.L6.L、に着目して、ラインL6を中心として2ラ
イン(L4 、 I−b )を比較し、その比較した場
合に黒画素と黒画素という場合だけ黒画素にして、他の
組合せの場合には白画素にするというようにして、画像
データB1を修正し、第2図(d)のように補正画像デ
ータB2に画像を補正する方法である。
FIG. 1 is a flow diagram illustrating an embodiment of the present invention, and FIGS. 2(a) to 2(d) are plan views of image data illustrating the image processing of FIG. 1 in the order of steps. First, as shown in FIG. 2(a), the original image data A is enlarged twice in the horizontal and vertical directions to create binary image data B as shown in FIG. 2(b'). , focus on two consecutive lines in this image data BO, and increase the number of black pixels for one of them (L+, L2, L,) by making the pixels on the left and right of the black pixel black. Then, a binary image data Bl is created as shown in FIG. 2(c). Furthermore, line L4 where the number of black pixels has increased
.. L6. Focusing on L, compare two lines (L4, I-b) with line L6 as the center, and when the comparison shows black pixels, only black pixels are used, and in other combinations, black pixels are used. This is a method of correcting the image data B1 by changing it to white pixels, and correcting the image to corrected image data B2 as shown in FIG. 2(d).

第3図は本実施例の適用されるシステムのブロック図で
ある。本実施例で、データ圧縮・伸張コントローラなど
を用いたハードウェア22を用いた場合で、元画像デー
タメモリ21との間がシステムバス23により接続され
ている。このハードウェア22は、ステップ1.2で、
第2図(a)に示す元画像データAから水平及び垂直方
向に2倍拡大の画像データBo  (’第2図(b))
のファイルを作成する。この作成されたデータをもとに
、ステップ3で連続する2ラインのどちらが1ラインを
抽出しくラインL1.L2 、L5.)、ステップ4.
5で黒画素の左右の画素を黒画素にし、黒画素の増えた
画像データB1を得る。次のステップ6て該当ラインの
処理が終了すると、ステップ7で黒画素か増加した連続
する3ラインに着目して、その連続する3ラインの2ラ
イン目を中心にして上下のラインとのマスク処理(論理
積)を行ない、組合せが黒画素、黒画素の場合の・み黒
画素とし、他の場合には白画素とするライン補正を行い
、補正画像データB2を得る。ここで第2図(d)のラ
インL9が第2図(C)のラインL4 、L6をマスク
処理し、ラインL11がラインL6.L7をマスク処理
し、ラインL1oがラインL、、L6をマスク処理した
ものであり、ラインLIOは黒画素が付加されなかった
上のラインL5とマスク処理を行っている。
FIG. 3 is a block diagram of a system to which this embodiment is applied. In this embodiment, the hardware 22 using a data compression/expansion controller or the like is used, and is connected to the original image data memory 21 by a system bus 23. This hardware 22, in step 1.2,
Image data Bo ('Fig. 2(b)), which is twice the horizontal and vertical expansion of the original image data A shown in Fig. 2(a).
Create a file. Based on this created data, in step 3, it is determined which of the two consecutive lines to extract one line, line L1. L2, L5. ), step 4.
In step 5, the pixels to the left and right of the black pixel are made black pixels, and image data B1 with increased number of black pixels is obtained. When the processing of the corresponding line is completed in the next step 6, in step 7, focusing on the 3 consecutive lines where the number of black pixels has increased, mask processing is performed with the lines above and below, focusing on the 2nd line of the 3 consecutive lines. (logical product) is performed, and line correction is performed in which only when the combination is a black pixel and a black pixel, the pixel is treated as a black pixel, and in other cases, it is treated as a white pixel, thereby obtaining corrected image data B2. Here, line L9 in FIG. 2(d) masks lines L4 and L6 in FIG. 2(C), and line L11 masks line L6. Line L7 is subjected to mask processing, line L1o is obtained by masking lines L, .

このようにして水平及び垂直方向に2倍拡大の画像デー
タに対しても、よりスムージングされた画像データを得
ることができる。
In this way, it is possible to obtain more smoothed image data even for image data enlarged twice in the horizontal and vertical directions.

なお、本実施例は、ハードウェア22の場合を示したが
、このハードウェア22の代りにCPUを用いることも
できる。このCPLIは、ソフトウエアのアルゴリズム
によって書かれたプログラムがロードされると、元画像
データ(21)を順々に読み込み、そのアルゴリズムに
従ってデータを変換して水平及び垂直方向に2倍拡大の
スムージングされた画像データに変換すればよい。
Although this embodiment shows the case of the hardware 22, a CPU can also be used instead of the hardware 22. When a program written by a software algorithm is loaded, this CPLI sequentially reads the original image data (21), converts the data according to the algorithm, and smoothes the data by double enlargement in the horizontal and vertical directions. All you have to do is convert it to image data.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明の画素補正方法によれば、水
平及び垂直方向に2倍拡大の画像データに対して、より
スムージングされた画像データを得ることができる効果
がある。
As explained above, according to the pixel correction method of the present invention, it is possible to obtain more smoothed image data for image data enlarged twice in the horizontal and vertical directions.

モリ、22・・・ハードウェア、23・・・システムバ
ス、A・・・元画像データ、B、Bo・・・水平及び垂
直方向に2倍拡大画像データ、B1山黒画素付加データ
、B2・・・補正画像データ、L1〜L、・・・黒画素
が付加されるライン、L4 、 L6 、 L、s・・
・補正のライン。
22...Hardware, 23...System bus, A...Original image data, B, Bo...2x enlarged image data in the horizontal and vertical directions, B1 Yamaguro pixel additional data, B2. ...Corrected image data, L1-L, ...Line to which black pixels are added, L4, L6, L, s...
・Correction line.

Claims (1)

【特許請求の範囲】[Claims] あらかじめ格納されている2値画像データを水平及び垂
直方向に2倍に拡大する2値画像の画像拡大処理方式に
おいて、前記2値画像データを水平及び垂直方向に2倍
拡大し、この拡大した画像データの連続した2ラインの
うちの、1ラインに着目して前記画像データの黒画素の
左右の画素を黒画素とし、また黒画素に対しては何もし
ないという操作を繰り返し施して黒画素が増大した2値
画像データを作成し、さらにこの黒画素が増大した2値
画像データの黒画素の増大した連続する3ラインに着目
して、これらが黒画素と黒画素であるときのみ黒画素と
し、その他のとき白画素とするようにしてその2値画像
データを補正することにより、水平及び垂直方向に2倍
拡大した画像に対して画素補正を行うことを特徴とする
画像拡大処理方式。
In a binary image image enlargement processing method that enlarges pre-stored binary image data twice in the horizontal and vertical directions, the binary image data is enlarged twice in the horizontal and vertical directions, and the enlarged image is Focusing on one line out of two consecutive lines of data, the pixels to the left and right of the black pixel in the image data are set as black pixels, and the operation of doing nothing to the black pixels is repeated until the black pixel is Create binary image data with increased black pixels, and then focus on three consecutive lines with increased black pixels in the binary image data with increased black pixels, and only when these are black pixels, consider them as black pixels. An image enlargement processing method characterized in that pixel correction is performed on an image that has been enlarged twice in the horizontal and vertical directions by correcting the binary image data so that pixels are white at other times.
JP2208510A 1990-08-07 1990-08-07 Image enlargement processing system Pending JPH0495177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2208510A JPH0495177A (en) 1990-08-07 1990-08-07 Image enlargement processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2208510A JPH0495177A (en) 1990-08-07 1990-08-07 Image enlargement processing system

Publications (1)

Publication Number Publication Date
JPH0495177A true JPH0495177A (en) 1992-03-27

Family

ID=16557360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2208510A Pending JPH0495177A (en) 1990-08-07 1990-08-07 Image enlargement processing system

Country Status (1)

Country Link
JP (1) JPH0495177A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0610928A2 (en) * 1993-02-12 1994-08-17 Fuji Xerox Co., Ltd. Image data enlarging/smoothing processor
US6512598B2 (en) * 1996-12-06 2003-01-28 Seiko Epson Corporation Image forming apparatus capable of preventing linear nonuniformity and improving image quality

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0610928A2 (en) * 1993-02-12 1994-08-17 Fuji Xerox Co., Ltd. Image data enlarging/smoothing processor
EP0610928A3 (en) * 1993-02-12 1995-01-25 Fuji Xerox Co Ltd Image data enlarging/smoothing processor.
US6091859A (en) * 1993-02-12 2000-07-18 Fuji Xerox Co., Ltd. Image data enlarging/smoothing processor
US6512598B2 (en) * 1996-12-06 2003-01-28 Seiko Epson Corporation Image forming apparatus capable of preventing linear nonuniformity and improving image quality

Similar Documents

Publication Publication Date Title
JPH07320051A (en) Method and device for enlargement and reduction display in optional area of graphic
US7242412B2 (en) Method and apparatus for expanding a source pixel in a digital image
JPS62139081A (en) Formation of synthetic image
JP2857292B2 (en) Apparatus for realizing two-dimensional digital filter
JPH0495177A (en) Image enlargement processing system
JP2702408B2 (en) Image conversion system
JP2797660B2 (en) Pixel correction method
JPH0425892A (en) Image processor
JPH07118002B2 (en) Image processing device
JP3557673B2 (en) Image processing device
JPS6219973A (en) Data compression method
JPH02244390A (en) Stroke extracting device
JPH0213876B2 (en)
JP2776874B2 (en) Image input device
JP2002152502A (en) Method and system for reducing image and recording medium
JPH0364252A (en) Picture processor
JP2006065883A (en) Image processing method and image processing device
JPH04141787A (en) Expanding/reducing system for color picture
JPS63127385A (en) Graphic reproducing processor
JPH0950514A (en) Processing method and device for converting picture element density
JPH0285968A (en) Screen tint image processor
JPS6135073A (en) Picture processing system
JPS6220070A (en) Mask processing system
JPH06121169A (en) Line density conversion system for dot picture
JPH0250277A (en) Screening system for binary picture information