JPH04222067A - Method and device for processing image - Google Patents

Method and device for processing image

Info

Publication number
JPH04222067A
JPH04222067A JP2412710A JP41271090A JPH04222067A JP H04222067 A JPH04222067 A JP H04222067A JP 2412710 A JP2412710 A JP 2412710A JP 41271090 A JP41271090 A JP 41271090A JP H04222067 A JPH04222067 A JP H04222067A
Authority
JP
Japan
Prior art keywords
pixels
pixel
image
corner
picture elements
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2412710A
Other languages
Japanese (ja)
Other versions
JP2788554B2 (en
Inventor
Katsuya Yomo
四方 克也
Makoto Matsuki
松木 眞
Yasuo Nozue
野末 康雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2412710A priority Critical patent/JP2788554B2/en
Publication of JPH04222067A publication Critical patent/JPH04222067A/en
Application granted granted Critical
Publication of JP2788554B2 publication Critical patent/JP2788554B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To execute rapid, high quality and inexpensive image processing for image expanding processing. CONSTITUTION:In order to expand an inputted image of 2X2 picture elements into 3X3 picture elements, data X11, X12, X21, X22 for the 2X2 picture elements in the original image are directly used for four picture elements Y11, Y12, Y31, Y33 on the corners of the 3X3 picture elements, four picture elements Y12, Y21, Y23, Y32 excluding the center picture element Y22 out of residual five picture elements are obtained from a memory table previously formed by calculation by referring to the data of 12 picture elements in total combining the 2X2 original picture elements X11, X12, X21, X22 and eight picture elements X01, X02, X10, X13, X20, X23, X31, X32 vertically and horizontally adjacent to the original picture elements and the center picture element is found out from the peripheral eight picture elements Y11, Y12, Y13, Y21, Y23, Y31, Y32, Y33 based upon a logical expression.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、入力された画像におけ
る画素密度を変換して拡大処理を行う画像処理方法およ
びその装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and apparatus for performing enlargement processing by converting the pixel density of an input image.

【0002】0002

【従来の技術】ファクシミリの出力装置をプリンタと共
通にすれば、コスト的に有利であり、また、適用性にも
優れたものとなる。しかし、ファクシミリの解像度は8
dot/mmであり、プリンタの解像度は一般的には3
00dpiであるので、ファクシミリで受信した画像を
そのままのサイズでプリンタで印字するためには、元の
画像を1.5倍に拡大しなければならない。そのために
、原画像を縦横2×2画素につき縦横3×3画素に拡大
変換する処理が必要となる。
2. Description of the Related Art If a facsimile output device is used in common with a printer, it is advantageous in terms of cost and has excellent applicability. However, the resolution of fax is 8
dot/mm, and the printer resolution is generally 3
00 dpi, so in order to print an image received by facsimile on a printer at its original size, the original image must be enlarged 1.5 times. For this purpose, it is necessary to perform a process of enlarging and converting the original image from 2×2 pixels vertically and horizontally to 3×3 pixels vertically and horizontally.

【0003】ところで、2×2の画素を3×3の画素に
拡大する方法としては、従来2画素目および2ライン目
を繰り返す方法が用いられてきた(図10)。この方法
は処理が簡単であるため早く処理できるが、解像度を増
やした効果が少ないのが欠点である。また、参照画素と
の距離により重み付けする方法もあるが、計算が複雑と
なるため処理に時間がかかるという欠点があった。
By the way, as a method of enlarging 2×2 pixels to 3×3 pixels, conventionally used is a method of repeating the second pixel and the second line (FIG. 10). This method is simple and can be processed quickly, but the disadvantage is that the effect of increasing resolution is small. There is also a method of weighting based on the distance to the reference pixel, but this method has the disadvantage that the calculation is complicated and the processing takes time.

【0004】0004

【発明が解決しようとする課題】上記のように、従来法
を用いて入力画像を拡大処理する場合、単純な方法を選
べば処理速度は早いが、画品質は改善されず、画品質を
改善するためには処理に時間がかかるという欠点があっ
た。
[Problems to be Solved by the Invention] As mentioned above, when enlarging an input image using the conventional method, the processing speed is faster if a simple method is chosen, but the image quality is not improved; The disadvantage is that it takes a long time to process.

【0005】本発明は、8dot/mmを300dpi
 に変換する場合など画素密度を変換する拡大処理に対
し、高速に処理ができ、しかも解像度の増加を有効利用
して、より高品質な画像を得ることができる画像処理方
法およびその装置の提供を目的とするものである。
[0005] The present invention provides 8 dots/mm at 300 dpi.
An object of the present invention is to provide an image processing method and device that can perform high-speed processing for enlargement processing that converts pixel density, such as when converting to This is the purpose.

【0006】[0006]

【課題を解決するための手段】本発明にかかる画像処理
方法は、入力された画像を2×2画素につき3×3画素
に拡大変換する処理に関して、上記課題を解決し目的を
達成するため、変換後の3×3画素の角の4画素は原画
の2×2画素のデ−タをそのまま用い、残る5画素のう
ち中心の画素を除く4画素は、該2×2画素の原画素と
上下左右にそれぞれ隣接する8画素を合わせた計12画
素のデ−タを参照することによって得るとともに、中心
の画素は今求めた周囲の8画素から求めることを特徴と
する。
[Means for Solving the Problems] The image processing method according to the present invention solves the above-mentioned problems and achieves the purpose with regard to the process of enlarging and converting an input image from 2x2 pixels to 3x3 pixels. The 4 pixels at the corners of the 3x3 pixel after conversion use the 2x2 pixel data of the original image as is, and the remaining 5 pixels, excluding the center pixel, are the same as the original pixels of the 2x2 pixel. It is characterized in that it is obtained by referring to data for a total of 12 pixels, including 8 pixels adjacent to each other in the upper, lower, left, and right directions, and that the central pixel is obtained from the surrounding 8 pixels that have just been obtained.

【0007】本発明にかかる画像処理装置は、必要な画
素を取り込む画素入力部,計算結果を記憶しておくメモ
リテ−ブル,このメモリテ−ブルを利用するメモリ参照
部,3×3画素の中心画素を求める中心画素計算部,処
理結果を出力する画素出力部からなるものである。
The image processing device according to the present invention includes a pixel input unit that takes in necessary pixels, a memory table that stores calculation results, a memory reference unit that uses this memory table, and a center pixel of 3×3 pixels. It consists of a central pixel calculation section that calculates the center pixel, and a pixel output section that outputs the processing results.

【0008】[0008]

【作用】本発明の画像処理方法においては、2×2画素
から3×3画素に拡大処理するのに、2×2画素を3×
3画素の角の4画素にそのまま用い、3×3画素の角の
4画素間の4画素は2×2画素と、それらに上下左右に
隣接する8画素を参照し、線分の連続性が確保されるよ
うにして求め、3×3画素の中心の画素は上記で求めた
3×3画素の周囲の8画素から求めるものである。
[Operation] In the image processing method of the present invention, in order to enlarge 2x2 pixels to 3x3 pixels, 2x2 pixels are expanded to 3x3 pixels.
It is used as is for the 4 pixels at the corner of 3 pixels, and the 4 pixels between the 4 pixels at the corner of 3 x 3 pixels are referred to as 2 x 2 pixels and the 8 pixels adjacent to them vertically and horizontally to ensure continuity of the line segment. The center pixel of the 3×3 pixels is determined from the 8 pixels surrounding the 3×3 pixels determined above.

【0009】また、本発明の画像処理装置は、画素入力
部において、ラスタ画像のうち拡大変換処理を行う部分
の画素を2×2画素の単位で取り出し、さらに、その2
×2画素の上下左右にそれぞれ隣接する8画素の合計1
2画素が取り出される。メモリ参照部ではメモリテ−ブ
ルを参照して画素入力部で取り出される12画素より3
×3画素のうち角の4画素の間にある4画素を求める。 さらに、中心画素計算部において3×3画素の中心画素
を上で求めた3×3画素の周囲の8画素から求め、合計
9個の画素が画素出力部から出力される。
Further, in the image processing device of the present invention, in the pixel input section, pixels of a portion of the raster image to be subjected to enlargement conversion processing are extracted in units of 2×2 pixels, and
Total of 8 pixels adjacent to the top, bottom, left and right of ×2 pixels is 1
Two pixels are taken out. The memory reference section refers to the memory table and selects 3 pixels from the 12 pixels taken out at the pixel input section.
Find the 4 pixels between the 4 corner pixels among the ×3 pixels. Furthermore, in the center pixel calculation unit, the center pixel of the 3×3 pixels is calculated from 8 pixels around the 3×3 pixels calculated above, and a total of 9 pixels are output from the pixel output unit.

【0010】0010

【実施例】まず、本発明の画像処理方法の一実施例につ
いて説明する。図1の(a),(b)に変換前の画素(
a)と変換後の画素(b)を示す。図1(a)のX11
,X12,X21,X22が変換前の2×2画素で、本
発明による拡大処理では、この4画素を図1の(b)の
3×3画素(Yij;i=1,2,3,j=1,2,3
)に変換するために、2×2画素の周囲8画素(X01
,X02,X10,X20,X13,X23,X31,
X32)を含めた合計12画素を参照する。
[Embodiment] First, an embodiment of the image processing method of the present invention will be described. Figure 1 (a) and (b) show the pixels before conversion (
A) and the converted pixel (b) are shown. X11 in Figure 1(a)
, X12, =1,2,3
), the surrounding 8 pixels (X01
,X02,X10,X20,X13,X23,X31,
A total of 12 pixels including X32) are referred to.

【0011】変換後の3×3画素の四隅は、変換前の2
×2画素をそのまま写し取る。すなわち、次式を得る。
[0011] The four corners of 3×3 pixels after conversion are 2
Copy ×2 pixels as is. That is, the following equation is obtained.

【0012】0012

【数1】Y11=X11, Y13=X12, Y31=X21, Y33=X22,                 
     (1)次に、3×3画素の各辺の中間の4画
素(Y12,Y21,Y23,Y32)は、図2(a)
,(b)に示すように線分の連続性を確保するために、
その両隣の画素が黒画素の場合に、同じく黒画素とする
。また、図3(a),(b)に示したような場合でも線
分の連続性を確保するために、例えばX01とX12が
黒画素の時は、Y12も黒画素とする。これは、X02
とX11の場合も同様である。以上のことを他の3画素
についても適用することにより、次式を得る。
[Math. 1] Y11=X11, Y13=X12, Y31=X21, Y33=X22,
(1) Next, the middle four pixels (Y12, Y21, Y23, Y32) on each side of 3×3 pixels are shown in Figure 2(a).
, In order to ensure the continuity of the line segment as shown in (b),
If the pixels on both sides of the pixel are black, the pixel is also treated as a black pixel. Further, in order to ensure continuity of line segments even in the cases shown in FIGS. 3A and 3B, for example, when X01 and X12 are black pixels, Y12 is also set as a black pixel. This is X02
The same applies to X11. By applying the above to the other three pixels, the following equation is obtained.

【0013】[0013]

【数2】     Y12=(X11∩X12)∪(X01∩X1
2)∪(X02∩X11),    Y21=(X11
∩X21)∪(X10∩X21)∪(X20∩X11)
,    Y23=(X12∩X22)∪(X13∩X
22)∪(X23∩X12),    Y32=(X2
1∩X22)∪(X31∩X22)∪(X21∩X32
),    (2)最後に、3×3画素の中心の画素Y
22は、Y11とY33,Y12とY32といった点対
称の位置にある2つの画素が、上記の場合と同じ理由に
より、共に黒画素の場合に同じく黒画素とする。すなわ
ち、次式を得る。
[Math. 2] Y12=(X11∩X12)∪(X01∩X1
2)∪(X02∩X11), Y21=(X11
∩X21)∪(X10∩X21)∪(X20∩X11)
, Y23=(X12∩X22)∪(X13∩X
22)∪(X23∩X12), Y32=(X2
1∩X22)∪(X31∩X22)∪(X21∩X32
), (2) Finally, the center pixel Y of 3×3 pixels
22 is also treated as a black pixel when two pixels located at point-symmetrical positions such as Y11 and Y33 and Y12 and Y32 are both black pixels for the same reason as in the above case. That is, the following equation is obtained.

【0014】[0014]

【数3】     Y22=(Y11∩Y33)∪(Y13∩Y3
1)∪          (Y12∩U32)∪(Y
21∩Y23)        (3)以上(1)式〜
(3)式により、2×2画素をその周囲8画素との参照
によって3×3画素に拡大変換することができる。
[Math. 3] Y22=(Y11∩Y33)∪(Y13∩Y3
1)∪ (Y12∩U32)∪(Y
21∩Y23) (3) Above formula (1) ~
According to equation (3), a 2×2 pixel can be enlarged and converted into a 3×3 pixel by referring to the surrounding 8 pixels.

【0015】次に、上記本発明の画像処理方法を実施す
る画像処理装置の実施例について説明する。図4に本発
明による画像処理装置の構成例のブロック図を示す。こ
の図において、10は画像入力装置で、画像読み取り部
11と入力画像記憶部12とで構成される。20は本発
明による画像処理装置で、画素入力部21,メモリ参照
部22,メモリテ−ブル23,中心画素計算部24,画
素出力部25から構成される。30は画像出力装置で、
画像記録部31と出力画像記憶部32とで構成される。
Next, an embodiment of an image processing apparatus for carrying out the image processing method of the present invention will be described. FIG. 4 shows a block diagram of a configuration example of an image processing apparatus according to the present invention. In this figure, reference numeral 10 denotes an image input device, which is composed of an image reading section 11 and an input image storage section 12. Reference numeral 20 denotes an image processing device according to the present invention, which is composed of a pixel input section 21, a memory reference section 22, a memory table 23, a center pixel calculation section 24, and a pixel output section 25. 30 is an image output device;
It is composed of an image recording section 31 and an output image storage section 32.

【0016】図4に示した実施例の動作を説明する。ま
ず、画像入力装置10の画像読み取り部11が画像を読
み取り、読み取った画像における各画素の値を2値化し
て、その値を入力画像記憶部12にて記憶する。次に、
画像処理装置2では、まず、画素入力部21が拡大変換
処理を行う部分の画素を縦横2×2画素の単位で入力画
像記憶部12より取り出し、さらにその2×2画素の上
下左右にそれぞれ隣接する8画素を取り出す。
The operation of the embodiment shown in FIG. 4 will be explained. First, the image reading unit 11 of the image input device 10 reads an image, binarizes the value of each pixel in the read image, and stores the value in the input image storage unit 12. next,
In the image processing device 2, first, the pixel input unit 21 extracts the pixels of the part to be enlarged and converted from the input image storage unit 12 in units of 2 x 2 pixels vertically and horizontally, and then extracts the pixels adjacent to the top, bottom, left and right of the 2 x 2 pixels, respectively. 8 pixels are extracted.

【0017】メモリ参照部22では、取り出した合計1
2画素よりメモリテ−ブル23を参照し、変換後の縦横
3×3画素のうち、角の4画素の間にある4画素を求め
る。つまり、この例では、高速に処理を行うために、上
記で説明した(2)式によって計算する代わりに、あら
かじめすべてのパタ−ンを計算しておいて、その結果を
メモリテ−ブル23に記憶しておき、処理中はこのメモ
リテ−ブル23を参照するだけで、変換後の4画素を得
ることができるようにしている。
In the memory reference unit 22, the retrieved total 1
Referring to the memory table 23 from the second pixel, out of the 3 x 3 pixels in the vertical and horizontal directions after conversion, 4 pixels located between the 4 corner pixels are found. In other words, in this example, in order to perform high-speed processing, all patterns are calculated in advance and the results are stored in the memory table 23 instead of calculating using equation (2) explained above. During processing, four pixels after conversion can be obtained by simply referring to this memory table 23.

【0018】中心画素計算部24では、初めに画素入力
部21で得た4画素と、メモリ参照部22で得た4画素
とにより上記(3)式の論理計算を実行して変換後の3
×3画素の中心画素を得る。画素出力部25は、以上に
よって求めた変換後の9画素を、出力画像記憶部32に
出力する。最後に、画像出力装置30では、画像記録部
31が出力画像記憶部32より画素を取り出しながら紙
に記録する。なお、図6,図7でANDはアンドゲ−ト
、ORはオアゲ−ト、INVはインバ−タを示す。
The center pixel calculation unit 24 executes the logical calculation of the above equation (3) using the four pixels obtained by the pixel input unit 21 and the four pixels obtained by the memory reference unit 22, and calculates the converted three pixels.
Obtain the center pixel of ×3 pixels. The pixel output unit 25 outputs the nine converted pixels obtained above to the output image storage unit 32. Finally, in the image output device 30, the image recording section 31 records the pixels on paper while extracting the pixels from the output image storage section 32. In FIGS. 6 and 7, AND represents an AND gate, OR represents an OR gate, and INV represents an inverter.

【0019】図5に本発明による画像処理装置20の回
路例を示す。この図において、Mは11ビットのアドレ
スを持つ1ワ−ド8ビットのメモリで、上記(2)式に
よる2パタ−ン分を1ワ−ドに記憶している。CB1は
回路ブロックで、図6に示した回路構成をしている。つ
まり、12個の参照画素のうち、11個でメモリMより
2パタ−ンの変換画素を得て、回路ブロックCB1では
残る1個の参照画素で1パタ−ンに絞って4画素を得て
いる。CB2は回路ブロックで、図7に示した回路構成
をしており、直前に求めた4画素と原画4画素より最後
の中心画素を得ている。
FIG. 5 shows a circuit example of the image processing device 20 according to the present invention. In this figure, M is a 1-word 8-bit memory having an 11-bit address, and stores two patterns according to the above equation (2) in one word. CB1 is a circuit block and has the circuit configuration shown in FIG. In other words, 11 of the 12 reference pixels are used to obtain 2 patterns of converted pixels from memory M, and in circuit block CB1, the remaining 1 reference pixel is narrowed down to 1 pattern to obtain 4 pixels. There is. CB2 is a circuit block having the circuit configuration shown in FIG. 7, and obtains the last center pixel from the four pixels obtained immediately before and the four pixels of the original image.

【0020】次に、本発明の応用例を示す。本発明によ
る拡大変換処理において、原画像より2×2画素を任意
の間隔で3×3画素に変換することにより、最高1.5
倍〜1倍強の任意の拡大画像を得ることができる。まず
、すべての画素を2×2画素のブロックに分割し、それ
らすべて3×3画素に変換すれば、変換後の画像は原画
像の1.5倍になっていることは明らかである。
Next, an application example of the present invention will be shown. In the enlargement conversion process according to the present invention, by converting 2 x 2 pixels from the original image to 3 x 3 pixels at arbitrary intervals, a maximum of 1.5
It is possible to obtain any enlarged image from 1 to 1 times. First, it is clear that if all pixels are divided into 2×2 pixel blocks and all of them are converted to 3×3 pixels, the converted image will be 1.5 times larger than the original image.

【0021】一方、図8の(a),(b)に示したよう
に、1ブロックおきに拡大変換すれば1.25倍の拡大
画像を得ることができる。この場合、2×2の原画素を
縦横3×2画素や同2×3画素に変換する必要があるが
、図9(a),(b)に示すように、3×3画素に変換
した後に、間の一列を取り除く手続きを追加することに
よって解決することができる。
On the other hand, as shown in FIGS. 8(a) and 8(b), if every other block is enlarged and converted, a 1.25 times enlarged image can be obtained. In this case, it is necessary to convert the 2 x 2 original pixels to 3 x 2 pixels vertically and horizontally, or 2 x 3 pixels horizontally and vertically, but as shown in Figure 9 (a) and (b), This can be solved later by adding a procedure to remove the intervening row.

【0022】このような方法を用いることにより、例え
ばファクシミリの受信画像を画素密度の異なるプリンタ
によって出力するといったことも容易に行うことができ
る。この例について、以下説明する。
By using such a method, it is possible to easily output, for example, a received facsimile image using printers having different pixel densities. This example will be explained below.

【0023】ファクシミリの画素密度は8dot/mm
であり、A4サイズでは(4)式より原稿の主走査方向
は1680dot である。一方、プリンタの画素密度
を一般的な300dpi とすると、(5)式より24
80dot である。したがって、ファクシミリ受信が
像におけるすべての画素を拡大変換すると、(6)式に
より2520dot となるので、横方向で40dot
 分だけ多くなってしまう。そこで、(7)式より主走
査方向は21ブロックにつき1ブロックの割合で、図9
(a)のパタ−ンを適用すればよい。
[0023] The pixel density of facsimile is 8 dots/mm.
For A4 size, the main scanning direction of the document is 1680 dots according to equation (4). On the other hand, if the pixel density of a printer is a typical 300 dpi, then from equation (5), 24
It is 80 dots. Therefore, if all pixels in the facsimile reception image are expanded and converted, it will be 2520 dots according to equation (6), so 40 dots in the horizontal direction.
It becomes more than that. Therefore, from equation (7), in the main scanning direction, the ratio is 1 block for every 21 blocks, and as shown in FIG.
The pattern (a) may be applied.

【0024】[0024]

【数4】   8dot /mm ×210mm=       
       1680dot     (4)
[Math. 4] 8dot/mm x 210mm=
1680dot (4)

【00
25】
00
25]

【数5】   300dip ×0.03936×210=248
0dot     (5)
[Math. 5] 300dip x 0.03936 x 210 = 248
0dot (5)

【0026】[0026]

【数6】   1680  ×1.5  =          
    2520dot     (6)
[Math. 6] 1680 × 1.5 =
2520dots (6)

【0027】[0027]

【数7】   1680  ÷40÷2=           
   21            (7)縦方向につ
いても同様の手続きを行うことによって、適切なサイズ
の出力画像を得ることができる。
[Math. 7] 1680 ÷ 40 ÷ 2 =
21 (7) By performing the same procedure in the vertical direction, an output image of an appropriate size can be obtained.

【0028】また、ファクシミリの場合は8×3.85
dot/mmの解像度があり、その場合は副走査方向に
さらに2倍の拡大が必要であるが、この方法としては、
電子写真学会誌25巻No.2 p.84 などに記載
されている補間方法等で8×7.7dot/mmに変換
後、本手法を用いる方法や、本手法で変換後に補間する
方法などが考えられる。
[0028] Also, in the case of facsimile, 8 x 3.85
There is a resolution of dot/mm, and in that case, it is necessary to further enlarge the image by a factor of two in the sub-scanning direction.
Electrophotography Society Journal Volume 25 No. 2 p. Possible methods include using this method after converting to 8×7.7 dots/mm using the interpolation method described in 84, etc., or performing interpolation after conversion using this method.

【0029】[0029]

【発明の効果】本発明の画像処理方法およびその装置は
、入力された画像を2×2画素につき3×3画素に拡大
変換する処理に関して、上記課題を解決し目的を達成す
るため、変換後の3×3画素の角の4画素は原画の2×
2画素のデ−タをそのまま用い、残る5画素のうち中心
の画素を除く4画素は、該2×2の原画素と上下左右に
それぞれ隣接する8画素を合わせた計12画素のデ−タ
を参照することによって得るとともに、中心の画素は今
求めた周囲の8画素から求めるようにしたので、簡単な
回路構成で、安価で高速、しかも品質のよい拡大処理を
有する画像処理装置を実現することができる。
Effects of the Invention The image processing method and device of the present invention solves the above problems and achieves the purpose with regard to the process of enlarging and converting an input image from 2 x 2 pixels to 3 x 3 pixels. The 4 pixels at the corners of the 3×3 pixels are 2× of the original image.
Using the data of 2 pixels as is, the 4 pixels excluding the center pixel out of the remaining 5 pixels are the data of a total of 12 pixels, including the 2 x 2 original pixel and the 8 pixels adjacent to each other on the top, bottom, left, and right. , and the center pixel is obtained from the surrounding eight pixels just obtained. Therefore, with a simple circuit configuration, an image processing device with inexpensive, high-speed, and high-quality enlargement processing can be realized. be able to.

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

【図1】本発明の画像処理方法を説明するための拡大変
換の変換前の画素(a)と変換後の画素(b)である。
FIG. 1 shows a pixel (a) before enlargement conversion and a pixel (b) after conversion for explaining the image processing method of the present invention.

【図2】原画における線の連続性を考慮した例を示す変
換前の画素(a)と変換後の画素(b)である。
FIG. 2 shows a pixel before conversion (a) and a pixel after conversion (b) showing an example in which continuity of lines in an original image is considered.

【図3】原画における線の連続性を考慮した例を示す変
換前の画素(a)と変換後の画素(b)である。
FIG. 3 shows a pixel before conversion (a) and a pixel after conversion (b) showing an example in which continuity of lines in an original image is considered.

【図4】本発明の画像処理装置の一実施例の構成を示す
ブロック図である。
FIG. 4 is a block diagram showing the configuration of an embodiment of the image processing device of the present invention.

【図5】本発明による画像処理装置の回路の一実施例を
示す図である。
FIG. 5 is a diagram showing an embodiment of a circuit of an image processing device according to the present invention.

【図6】図5における回路ブロックの回路構成例を示す
図である。
FIG. 6 is a diagram showing an example of a circuit configuration of a circuit block in FIG. 5;

【図7】図5における他の回路ブロックの回路構成例を
示す図である。
FIG. 7 is a diagram showing an example of the circuit configuration of another circuit block in FIG. 5;

【図8】本発明の応用例を示す変換前の画素(a)と変
換後の画素(b)である。
FIG. 8 shows a pixel before conversion (a) and a pixel after conversion (b) showing an application example of the present invention.

【図9】本発明の他の応用例を示す変換前の画素(a)
と変換後の画素(b)である。
FIG. 9: Pixel (a) before conversion showing another application example of the present invention.
and the pixel (b) after conversion.

【図10】従来の拡大変換の画像処理方法の一例を説明
するための変換前の画素(a)と変換後の画素(b)で
ある。
FIG. 10 shows a pixel before conversion (a) and a pixel after conversion (b) for explaining an example of a conventional enlargement conversion image processing method.

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

10    画像入力装置 11    画像読み取り部 12    入力画像記憶部 20    画像処理装置 21    画素入力部 22    メモリ参照部 23    メモリテ−ブル 24    中心画素計算部 25    画素出力部 30    画像出力装置 31    画像記録部 32    出力画像記憶部 M      メモリ CB1  回路ブロック CB2  回路ブロック 10 Image input device 11 Image reading section 12 Input image storage unit 20 Image processing device 21 Pixel input section 22 Memory reference section 23 Memory table 24 Center pixel calculation section 25 Pixel output section 30 Image output device 31 Image recording section 32 Output image storage unit M Memory CB1 circuit block CB2 circuit block

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  2値のラスタ画像の局所領域の縦横2
×2画素を縦横3×3画素に拡大処理するに際し、前記
3×3画素の角の4画素はそのままの2×2画素のデ−
タを用い、3×3画素の上側の角2画素の間の画素は、
原画の2×2画素の4画素のうち上側2画素、さらにそ
の2画素の上側にそれぞれ隣接する2画素の計4画素よ
り線分の連続性が確保されるように求め、以下同様に、
3×3画素の左側の角2画素の間の画素は原画2×2画
素の左側2画素と左側にそれぞれ隣接する2画素、3×
3画素の右側の角2画素の間の画素は原画の2×2画素
の右側2画素と右側にそれぞれ隣接する2画素、3×3
画素の下側の角2画素の間の画素は原画の2×2画素の
下側2画素と下側にそれぞれ隣接する2画素より求め、
前記3×3画素の中心画素は、上で求めた周囲8画素か
ら求めることを特徴とする画像処理方法。
Claim 1: The vertical and horizontal 2 of a local area of a binary raster image.
When enlarging ×2 pixels to 3 × 3 pixels in the vertical and horizontal directions, the four pixels at the corners of the 3 × 3 pixels remain as the 2 × 2 pixel data.
The pixels between the two upper corner pixels of the 3×3 pixel are
The continuity of the line segment is determined from the upper two pixels of the four pixels of the 2×2 pixels of the original image, and the two pixels adjacent to each of the two pixels above, in total, to ensure the continuity of the line segment.
The pixels between the two pixels on the left corner of the 3x3 pixel are the two pixels on the left side of the original 2x2 pixel, the two pixels adjacent to the left side, and the 3x3 pixel.
The pixels between the 2 pixels on the right corner of the 3 pixels are the 2 pixels on the right side of the 2 x 2 pixels of the original image and the 2 pixels adjacent to the right side, respectively, 3 x 3
The pixels between the two pixels at the bottom corner of the pixel are determined from the bottom two pixels of the 2×2 pixels of the original image and the two pixels adjacent to the bottom, respectively.
An image processing method characterized in that the center pixel of the 3×3 pixels is determined from the surrounding 8 pixels determined above.
【請求項2】  読み取られた後、各画素が2値化され
たラスタ画像のうち、拡大変換処理を行う部分の画素を
2×2画素の単位で取り出し、さらに、その2×2画素
の上下左右にそれぞれ隣接する8画素の合計12画素を
取り出す画素入力部と、2×2画素を3×3画素に拡大
処理する際に、3×3画素の角の4画素の間にある4画
素のすべてのパタ−ンを計算して、その結果をあらかじ
め記憶したメモリテ−ブルと、前記画素入力部で取り出
される12画素より前記メモリテ−ブルを参照して、3
×3画素のうち角の4画素の間にある4画素を求めるメ
モリ参照部と、前記画素入力部で得た2×2画素の4画
素と前記メモリ参照部で得た4画素とから3×3画素の
中心画素を得る中心画素計算部と、前記画素入力部の2
×2画素を3×3画素の角の画素とし、メモリ参照部で
得られた4画素と中心画素計算部で得られた中心画素の
合計9画素を出力する画像出力部とからなることを特徴
とする画像処理装置。
2. After reading, out of the raster image in which each pixel is binarized, the pixels of the part to be subjected to enlargement conversion processing are extracted in units of 2 × 2 pixels, and the upper and lower portions of the 2 × 2 pixels are A pixel input section that takes out 12 pixels in total (8 pixels adjacent to each side on the left and right) and a pixel input section that takes out 12 pixels in total (8 pixels adjacent to each other on the left and right), and 4 pixels between the 4 pixels at the corner of the 3 After calculating all the patterns, referring to the memory table in which the results are stored in advance and the memory table from the 12 pixels taken out by the pixel input section, 3.
A memory reference section that calculates 4 pixels between the corner 4 pixels out of 3 pixels, and 3 a center pixel calculation unit that obtains the center pixel of three pixels; and two of the pixel input units.
×2 pixels are taken as corner pixels of 3×3 pixels, and the image output unit outputs a total of 9 pixels, including 4 pixels obtained by the memory reference unit and the center pixel obtained by the center pixel calculation unit. Image processing device.
JP2412710A 1990-12-21 1990-12-21 Image processing method and apparatus Expired - Lifetime JP2788554B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2412710A JP2788554B2 (en) 1990-12-21 1990-12-21 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2412710A JP2788554B2 (en) 1990-12-21 1990-12-21 Image processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH04222067A true JPH04222067A (en) 1992-08-12
JP2788554B2 JP2788554B2 (en) 1998-08-20

Family

ID=18521498

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2412710A Expired - Lifetime JP2788554B2 (en) 1990-12-21 1990-12-21 Image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP2788554B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7564594B2 (en) 2004-05-10 2009-07-21 Funai Electric Co., Ltd. Digital multifunctional imaging apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7564594B2 (en) 2004-05-10 2009-07-21 Funai Electric Co., Ltd. Digital multifunctional imaging apparatus

Also Published As

Publication number Publication date
JP2788554B2 (en) 1998-08-20

Similar Documents

Publication Publication Date Title
EP0650287A2 (en) Image processing method and apparatus
JPH08228282A (en) Processing method of document picture and binary picture picture element processor
JP2008092447A (en) Image processing apparatus, image output device, and image processing method
JPH04222067A (en) Method and device for processing image
JP3478861B2 (en) Smoothing enlargement processing method for binary image data
JP4035696B2 (en) Line segment detection apparatus and image processing apparatus
JP3539552B2 (en) Image processing device
JP3783815B2 (en) Image processing device
JP2001119575A (en) Image processing unit
JP3624153B2 (en) Image processing apparatus and image processing method
JP2003032480A (en) Device and method for processing image
JPH09167222A (en) Image processor
JP3791895B2 (en) Image reduction processing method and apparatus
JPS60136476A (en) Picture processor
JP3054299B2 (en) Image processing apparatus and method
JP3014257B2 (en) Document reading device
JP3391809B2 (en) Image processing method and apparatus
JP3054315B2 (en) Image processing method and apparatus
JP3363684B2 (en) Image processing method and apparatus, and image forming apparatus
JP3147246B2 (en) Image processing apparatus and method
JPH10191058A (en) Image processing method and image processor
JPH05328144A (en) Picture communication equipment
JPH0766976A (en) Picture processing unit
JP3469658B2 (en) Image reduction method
JPH1065907A (en) Picture density converter

Legal Events

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

Free format text: PAYMENT UNTIL: 20090605

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090605

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100605

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100605

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110605

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20110605

Year of fee payment: 13