JPH0793675B2 - Pixel density conversion processor - Google Patents

Pixel density conversion processor

Info

Publication number
JPH0793675B2
JPH0793675B2 JP1110179A JP11017989A JPH0793675B2 JP H0793675 B2 JPH0793675 B2 JP H0793675B2 JP 1110179 A JP1110179 A JP 1110179A JP 11017989 A JP11017989 A JP 11017989A JP H0793675 B2 JPH0793675 B2 JP H0793675B2
Authority
JP
Japan
Prior art keywords
conversion
pixel
pixels
image
converted
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 - Lifetime
Application number
JP1110179A
Other languages
Japanese (ja)
Other versions
JPH02288668A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1110179A priority Critical patent/JPH0793675B2/en
Publication of JPH02288668A publication Critical patent/JPH02288668A/en
Publication of JPH0793675B2 publication Critical patent/JPH0793675B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、2値画像に対し画素密度変換をして画素密
度の違う画像を得る装置に関するものである。
Description: TECHNICAL FIELD The present invention relates to an apparatus for performing pixel density conversion on a binary image to obtain an image having a different pixel density.

〔従来の技術〕[Conventional technology]

第8図は例えば画像電子学会誌第7巻第1号pp11〜18
(1978)に示された変換処理を行なう従来の画素密度変
換処理装置を示すブロック図である。図において、1は
画素密度変換処理を施そうとしている2値画像を記憶し
ている原画像ファイル、2は原画像ファイル1から画像
ファイルを入力し、1ライン単位に画素をバッファに振
り分ける画像入力部、3,4はそれぞれ1ライン分の画素
を蓄えておく第1,第2のラインバッファ、5は原画像を
画素密度変換するため、ラインバッファ3,4から変換す
べき原画像の画素を抽出する原画像画素抽出部、7は原
画像画素抽出部5で抽出された画素を用いて、画素変換
される画像(変換画像)の画素を決める変換画素決定
部、9は変換画素を一時蓄えておくラインバッファであ
り、12は画像入力部2のバッファ内の画素の処理が全て
終了したか、あるいは原画像の全ての画素の処理が終了
したかを常に監視し、終了した場合には終了信号を送る
処理終了監視部、13はラインバッファ9内の画素をファ
イルに出力する画像出力部、14は画素密度変換された画
像を記憶する画像ファイルである。
FIG. 8 is, for example, Journal of Image Electronics Engineers, Vol. 7, No. 1, pp 11-18.
It is a block diagram which shows the conventional pixel density conversion processing apparatus which performs the conversion processing shown by (1978). In the figure, 1 is an original image file storing a binary image to be subjected to pixel density conversion processing, 2 is an image file input from the original image file 1, and image input for allocating pixels to a buffer in line units The first and second line buffers 3 and 4 store pixels for one line, respectively, and the pixel density conversion of the original image is performed by the pixel buffer 5, so that the pixels of the original image to be converted are converted from the line buffers 3 and 4. An original image pixel extraction unit for extraction, 7 is a conversion pixel determination unit that determines pixels of an image (converted image) to be pixel-converted using the pixels extracted by the original image pixel extraction unit 5, and 9 is a temporary storage of conversion pixels. The line buffer 12 keeps track of whether all the pixels in the buffer of the image input unit 2 have been processed or all the pixels of the original image have been processed. End of processing to send a signal A monitoring unit, 13 is an image output unit that outputs the pixels in the line buffer 9 to a file, and 14 is an image file that stores the image whose pixel density has been converted.

ここで言う画素密度変化とは例えば2値の原画像の画素
密度を1mmあたり縦8ドット×横8ドットとすると、仮
に変換倍率が1/2の場合、変換画像としては4×4の画
素密度画像を得ることをいう。つまり1ドットあたりの
専有面積が8×8の場合(1/8)×(1/8)mm2だったも
のが(1/4)×(1/4)mm2となるわけで、4×4の方が
原画像より粗い画像となるわけである。第9図に原画像
を(水平方向)8×(垂直方向)8の画素密度とし、変
換倍率1/2で変換した場合の例を示す。
The pixel density change referred to here is, for example, assuming that the pixel density of a binary original image is 8 dots vertically by 8 dots per mm, and if the conversion magnification is 1/2, the pixel density of the converted image is 4 × 4. To get an image. In other words, if the occupied area per dot is 8 × 8, it will be (1/8) × (1/8) mm 2 but will become (1/4) × (1/4) mm 2 , so 4 × 4 is a coarser image than the original image. FIG. 9 shows an example in which the original image has a pixel density of (horizontal direction) 8 × (vertical direction) 8 and is converted at a conversion ratio of 1/2.

次に従来の画像密度変換方式について説明する。第9図
に示されるように、変換画像の変換画素に原画像の変換
対応画素を投影すると、原画素の2×2画素の部分が変
換後の1×1の画素に対応していることになる。そこで
変換画素を得るために第10図に示す手法を用いる。その
手法とは、まず原画像の変換対象4画素(a,b,c,d)の
平均濃度Wを算出し、Wをあるしきい値αと比較して、
Wがαより大きい場合は、変換画素Xを黒(=1)と
し、小さい場合は白(=0)とするものである。
Next, a conventional image density conversion method will be described. As shown in FIG. 9, when the conversion corresponding pixels of the original image are projected on the conversion pixels of the converted image, the 2 × 2 pixel portion of the original pixel corresponds to the converted 1 × 1 pixel. Become. Therefore, the method shown in Fig. 10 is used to obtain the converted pixels. The method is to first calculate the average density W of four pixels (a, b, c, d) to be converted in the original image, compare W with a certain threshold value α,
When W is larger than α, the converted pixel X is black (= 1), and when it is small, white (= 0).

ここで具体的な処理動作を原画像の画素密度をm×nと
し、変換倍率1/2で変換し、(m/2)×(n/2)の画素密
度の変換画像を得るものとして説明する。
Here, a specific processing operation will be described assuming that the pixel density of the original image is m × n and conversion is performed at a conversion magnification of 1/2 to obtain a converted image having a pixel density of (m / 2) × (n / 2). To do.

第8図において、まず原画像ファイル1から2ライン分
の2m個の画素が画像入力部2に入力され、そのうち最初
の1ラインをラインバッファ3へ、次の1ラインをライ
ンバッファ4へ格納する。その後、原画像画素抽出部5
よりラインバッファ3から2画素(第9図のa,b)をラ
インバッファ4から2画素(第9図のc,d)を抽出す
る。そしてこの4画素の値をもとに、変換画素決定部7
が第10図の式により変換画素の値を決め(第9図の
X)、変換画素ラインバッファ9に出力する。次にライ
ンバッファ3,4内の画素ポインタを進め、原画像画素抽
出部は上記と同様にラインバッファ3から2画素(第8
図のe,f)、ラインバッファ4から2画素(第8図のg,
h)を抽出し、変換画素の決定を行い、変換画素ライン
バッファ9に出力する。この作業は原画像画素を格納し
ておいたラインバッファ3,4内の合計2m個の画素全てが
変換されるまで繰返される。この終了を常に監視してい
るのが処理終了監視部12である。
In FIG. 8, first, 2 m pixels for 2 lines from the original image file 1 are input to the image input unit 2, and the first one line is stored in the line buffer 3 and the next one line is stored in the line buffer 4. . Then, the original image pixel extraction unit 5
2 pixels (a, b in FIG. 9) from the line buffer 3 and 2 pixels (c, d in FIG. 9) from the line buffer 4 are extracted. Then, based on the values of these 4 pixels, the conversion pixel determining unit 7
Determines the value of the converted pixel by the formula of FIG. 10 (X in FIG. 9) and outputs it to the converted pixel line buffer 9. Next, the pixel pointers in the line buffers 3 and 4 are advanced, and the original image pixel extraction unit uses the same two pixels (8th pixel) from the line buffer 3 as described above.
2e from the line buffer 4 (e, f in the figure) (g,
h) is extracted, the conversion pixel is determined, and output to the conversion pixel line buffer 9. This operation is repeated until all 2m pixels in total in the line buffers 3 and 4 storing the original image pixels are converted. The processing end monitoring unit 12 constantly monitors this end.

ラインバッファ3,4内の全画素の処理が終了し、変換画
素がm/2個、変換画素ラインバッファ9に出力される
と、処理終了監視部12より1ライン終了信号が画像出力
部13に送られ、画素密度変換画像ファイル14に変換画素
ラインバッファ9内のm/2個の画素が出力される。また
終了信号は画像入力部2、原画像画素抽出部5にも送ら
れ、画像入力部2により原画像の3,4ライン目の画素が
入力され、原画像3,4ライン内の変換対象画素抽出が原
画像画素抽出部5により行われ、画素変換を行う。これ
らの処理を原画像の垂直方向のnライン分の処理が終了
するまで、つまり変換画像としてn/2ライン出力される
まで繰返す。これらによりm×nの原画像が変換倍率1/
2で変換され、(m/2)×(n/2)の変換画像が得られ
る。
When the processing of all the pixels in the line buffers 3 and 4 is completed and m / 2 converted pixels are output to the converted pixel line buffer 9, the processing end monitoring unit 12 outputs a 1-line end signal to the image output unit 13. Then, m / 2 pixels in the converted pixel line buffer 9 are output to the pixel density converted image file 14. The end signal is also sent to the image input unit 2 and the original image pixel extraction unit 5, and the pixels of the 3rd and 4th lines of the original image are input by the image input unit 2 and the conversion target pixels in the 3rd and 4th lines of the original image are input. The extraction is performed by the original image pixel extraction unit 5 to perform pixel conversion. These processes are repeated until the processing of n lines in the vertical direction of the original image is completed, that is, until n / 2 lines are output as a converted image. As a result, the original image of m × n is converted into 1 / magnification.
It is converted by 2 and a converted image of (m / 2) × (n / 2) is obtained.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

従来の画素密度変換処理装置は以上のように構成されて
おり、原画像が投影される部分のみで画像密度変換を行
っているため、画素変換画像が粗くなり、原画の特徴に
忠実な変換画像を得ることは難しいという問題点があっ
た。
The conventional pixel density conversion processing device is configured as described above, and since the image density conversion is performed only in the portion where the original image is projected, the pixel converted image becomes coarse and the converted image faithful to the characteristics of the original image. There was a problem that it was difficult to obtain.

例えば第11図に示すような原画像のパターンがあったと
する。原画像としては縞模様として見えていても、従来
の画素密度変換方式でのしきい値αを0.5とするとすべ
て黒となり、α=0.75とすると真白となってしまうとい
う問題がある。
For example, suppose that there is an original image pattern as shown in FIG. Even though the original image looks like a striped pattern, there is a problem in that when the threshold value α in the conventional pixel density conversion method is 0.5, all are black, and when α = 0.75, it is pure white.

この発明は上記のような従来のものの問題点を解消する
ためになされたもので、原画像画素の変化を反映して変
換を行なうことができ、特に原画像の特徴に合致した変
換を行なうことができる画素密度変換処理装置を得るこ
とを目的とする。
The present invention has been made in order to solve the above-mentioned problems of the conventional ones, and it is possible to perform the conversion by reflecting the change of the original image pixel, and particularly to perform the conversion that matches the characteristics of the original image. An object is to obtain a pixel density conversion processing device capable of

〔課題を解決するための手段〕[Means for Solving the Problems]

この発明に係る画素密度変換処理装置は、2値または中
間調の原画像から画素密度変換をして原画像と異なった
解像度の画像を得る画素密度変換処理装置において、既
に変換された既変換画素を蓄えておくバッファと、原画
像の最新の未変換領域である変換対象領域またはこれを
含む領域を構成する変換参照画素、および上記バッファ
から出力された,上記変換対象領域の上方向および左方
向に位置する既変換画素を参照して、上記変換対象領域
を構成する変換対象画素を画素密度変換した変換画素の
画素値を収めた変換パターンテーブルと、上記原画像の
変換参照画素および上記既変換画素に基づいて上記変換
パターンテーブルを検索して画素変換を行う画素変換手
段とを備えるようにしたものである。
The pixel density conversion processing device according to the present invention is a pixel density conversion processing device that obtains an image having a resolution different from that of an original image by performing pixel density conversion from a binary or halftone original image. , A conversion reference pixel forming a conversion target area which is the latest unconverted area of the original image or an area including the same, and the upward and leftward directions of the conversion target area output from the buffer. A conversion pattern table that stores the pixel values of the conversion pixels obtained by performing pixel density conversion on the conversion target pixels that form the conversion target area by referring to the already-converted pixels located in The conversion pattern table is searched on the basis of the pixel to perform pixel conversion, and a pixel conversion unit is provided.

〔作用〕[Action]

この発明においては、上述のように構成したことによ
り、原画像の最新の未変換領域である変換対象領域また
はこれを含む領域を構成する変換参照画素、および上記
バッファから出力された,上記変換対象領域の上方向お
よび左方向に位置する既変換画素が参照されるので、原
画像の変化情報が保存され、画素密度変換画像が、原画
像の特徴を忠実に反映したものとなる。
According to the present invention, with the above-described configuration, the conversion target area that is the latest unconverted area of the original image or the conversion reference pixel that constitutes the area including the conversion target area, and the conversion target output from the buffer Since the converted pixels located above and to the left of the area are referred to, the change information of the original image is stored, and the pixel density converted image faithfully reflects the characteristics of the original image.

〔実施例〕 以下、この発明の実施例を図について説明する。第1図
はこの発明の一実施例による画素密度変換処理装置の構
成を示し、図中、第8図の従来装置と同一または相当部
分には同一符号を付してある。第1図において、1は原
画像ファイル、2は画像入力部、3,4は原画像における
変換対象画素を格納するラインバッファ、5は原画像画
素抽出部、6は既に画素変換された画素を参照するため
に対応する画素を抽出する画素変換画像画素抽出部、7
は該両画素抽出部5,6から抽出された画素により変換画
素を決定する変換画素決定部、8は変換画素決定部7が
変換をするときに用いる変換パターンテーブル、9は変
換画素決定部7により出力された変換画素を一時蓄える
現変換ラインバッファ、10は既に画素変換された画像に
おいて現ラインより1つ前のラインの画素を蓄えておく
前変換ラインバッファ、11は現変換ラインバッファ9内
の画素全てを前ラインバッファ10へコピーするコピーバ
ッファ部であり、12は処理の終了を常に監視する処理終
了監視部、13は画像出力部、14は画素密度変換された画
像を記憶する画素変換画像ファイルである。
Embodiment An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of a pixel density conversion processing device according to an embodiment of the present invention. In the figure, the same or corresponding parts as those of the conventional device of FIG. 8 are designated by the same reference numerals. In FIG. 1, 1 is an original image file, 2 is an image input unit, 3 and 4 are line buffers that store conversion target pixels in the original image, 5 is an original image pixel extraction unit, and 6 is a pixel that has already undergone pixel conversion. A pixel conversion image pixel extraction unit for extracting the corresponding pixel for reference, 7
Is a conversion pixel determination unit that determines conversion pixels based on the pixels extracted from both pixel extraction units 5 and 6, 8 is a conversion pattern table used when conversion pixel determination unit 7 performs conversion, and 9 is conversion pixel determination unit 7 The current conversion line buffer for temporarily storing the converted pixels output by the above, 10 is a previous conversion line buffer for storing the pixels of the line immediately preceding the current line in the already pixel-converted image, and 11 is the current conversion line buffer 9 Is a copy buffer unit that copies all the pixels in the previous line buffer 10, 12 is a processing end monitoring unit that constantly monitors the end of processing, 13 is an image output unit, and 14 is a pixel conversion unit that stores the pixel density converted image. It is an image file.

次に具体的な処理動作について説明する。Next, a specific processing operation will be described.

第2図にその処理の流れを示し、第3図に画素密度変換
対象画像及び第2図で用いられた変数等の意味を示す。
FIG. 2 shows the flow of the processing, and FIG. 3 shows the image of the pixel density conversion target and the meanings of the variables used in FIG.

原画像のとり入れ方は、従来の画素密度変換装置と同様
に、原画像ファイル1から2line分の2H個の画素を画像
入力部2が取り出し、原画像において奇数番目(1,3,5,
…)ラインの画素をラインバッファ3に、偶数番目(2,
4,6,…)のラインをラインバッファ4へそれぞれ振り分
ける(ステップST1,ST2)。その後、原画像画素抽出部
5によりラインバッファ内画素ポインタKにより、参照
画素(a,b,c,d)が抽出される(ステップST3,ST4)。ま
た既変換画素を参照するため対応画素を抽出する。既変
換画素における参照画素はこの実施例の場合では、現在
画素変換されようとしている変換画素(X)の近傍の2
画素をとることとする。具体的には、直左と直上とし、
これをそれぞれe,fとする。直上画素fをとるため前変
換ラインを格納するバッファが必要となるわけである。
As with the conventional pixel density conversion device, the image input unit 2 takes out 2H pixels of 2 lines from the original image file 1 in the same manner as in the conventional pixel density conversion device, and the odd number (1, 3, 5,
…) Line pixels are stored in the line buffer 3 in even-numbered (2,
, 4, ...) are allocated to the line buffer 4 (steps ST1, ST2). After that, the original image pixel extraction unit 5 extracts the reference pixel (a, b, c, d) by the pixel pointer K in the line buffer (steps ST3, ST4). Further, the corresponding pixel is extracted to refer to the converted pixel. In the case of this embodiment, the reference pixel in the already-converted pixel is 2 in the vicinity of the converted pixel (X) which is currently undergoing pixel conversion.
We will take pixels. Specifically, it is directly above and to the left,
Let these be e and f, respectively. Since the pixel f immediately above is taken, a buffer for storing the previous conversion line is required.

既変換画素の抽出は、画素変換画像画素抽出部6で行わ
れ、現ラインバッファ9,前ラインバッファ10よりポイン
タLでもって抽出される(ステップST6)。
Extraction of already-converted pixels is performed by the pixel-converted image pixel extraction unit 6, and is extracted by the pointer L from the current line buffer 9 and the previous line buffer 10 (step ST6).

次に原画像抽出画素(a,b,c,d)と既変換画素抽出画素
(e,f)とが変換画素決定部7に入力され、変換画素の
決定を行う。変換画素の決定は変換パターンテーブル8
をサーチして求める。画素変換テーブル8は第4図に示
す構成となっており、テーブルの行方向のアドレスは原
画像抽出画素の4画素(a,b,c,d)の0(白),1(黒)
をそれぞれビットに割り当てることとし、列方向のアド
レスは既変換画素抽出画素の2画素(e,f)をそれぞれ
ビットに割り当てることとし、登場パターンに応じたア
ドレスを求め、変換画素を決定する(ステップST5,ST7,
ST8)。画素変換テーブル8は起こりうるすべてのパタ
ーンを列記した第5図に示すパターンを原画像抽出画像
による行アドレス、既変化画素による列アドレスにより
変換画素を分類して入力したROMである。
Next, the original image extraction pixel (a, b, c, d) and the already-converted pixel extraction pixel (e, f) are input to the conversion pixel determination unit 7 to determine the conversion pixel. The conversion pixel is determined by the conversion pattern table 8
To search for. The pixel conversion table 8 has the configuration shown in FIG. 4, and the address in the row direction of the table is 0 (white) and 1 (black) of the four pixels (a, b, c, d) of the original image extraction pixel.
To each bit, and for the address in the column direction, 2 pixels (e, f) of the already-converted pixel extraction pixels are assigned to each bit, and the address corresponding to the appearance pattern is obtained to determine the converted pixel (step ST5, ST7,
ST8). The pixel conversion table 8 is a ROM in which the patterns shown in FIG. 5 in which all the possible patterns are listed are classified and inputted by the row address by the original image extracted image and the column address by the changed pixel.

第5図に示した変換規則は変化情報を保存するために変
化を先に取り入れ、早めに信号を変化させることを基本
としている。第6図にその一部を取り出して示してい
る。第6図に示されるパターンでは従来の画素密度変換
処理装置ではα=0.5とするとすべて黒となっていた
が、縦方向、あるいは横方向に注目して黒→白へ変化し
ている場合には変換画素(X)を白とし、白→黒へ変化
している場合には変換画素(X)を黒としている。これ
により第7図に示すような原画像パターンが登場しても
第11図に示したような縞模様の消失は起こらず、原画像
の特徴に応じた画像密度変換画像が得ることができる。
The conversion rule shown in FIG. 5 is based on the fact that the change is first introduced and the signal is changed early in order to store the change information. FIG. 6 shows a part of it taken out. In the pattern shown in FIG. 6, in the conventional pixel density conversion processing device, when α = 0.5, all were black, but when changing from black to white by paying attention to the vertical or horizontal direction, The converted pixel (X) is white, and when it is changed from white to black, the converted pixel (X) is black. As a result, even if the original image pattern as shown in FIG. 7 appears, the striped pattern as shown in FIG. 11 does not disappear, and an image density converted image according to the characteristics of the original image can be obtained.

以上の如く、変換画素決定部7で変換画素(X)を求め
現変換ラインバッファ9へ出力する(ステップST9)。
この処理が原画像ファイル1より入力されたラインバッ
ファ3,4内の全画素の処理が終わるまで、つまり画素変
換画像の1ライン分の画素(H/2個)が現変換ラインバ
ッファ9へ出力されるまで繰返えされる。この終了を常
に監視しているのが、処理終了監視部12である。上記1
ライン分の処理を終了すると、1ライン分の画素が画像
出力部13により画素変換画像ファイル14に出力される
(ステップST13)。また画像変換された画素の1ライン
分が出力されると現画像の参照ラインを2ライン分下げ
(ステップST16)、画素変換画像の次のラインの変換画
素を求める処理に入る。そのため画素変換画像におい
て、現ラインとして扱っていたものを前ラインとして扱
う必要がある。そのためバッファコピー部11により原変
換ラインバッファ9内の画素全てを前変換ラインバッフ
ァ10へ移す(ステップST14)。その後原画像の参照ライ
ンを2ライン分下げた画素を画像入力部2によりバッフ
ァに入力し、上記原画像における2ラインの変換処理を
原画像の垂直方向V分の処理が終了するまで、つまり画
素変換画像としてV/2ライン分出力されるまで繰り返
す。これによりH×Vの原画像が変換倍率1/2で変換さ
れ、(H/2)×(V/2)の画素密度変化された画像を得る
ことができる。
As described above, the conversion pixel determining unit 7 obtains the conversion pixel (X) and outputs it to the current conversion line buffer 9 (step ST9).
Until this processing is completed for all the pixels in the line buffers 3 and 4 input from the original image file 1, that is, the pixels (H / 2) for one line of the pixel conversion image are output to the current conversion line buffer 9. Is repeated until it is done. The process end monitoring unit 12 constantly monitors this end. 1 above
When the processing for the lines is completed, the pixels for one line are output to the pixel conversion image file 14 by the image output unit 13 (step ST13). When one line of the image-converted pixel is output, the reference line of the current image is lowered by two lines (step ST16), and the process for obtaining the converted pixel of the next line of the pixel-converted image is started. Therefore, in the pixel-converted image, what has been treated as the current line needs to be treated as the previous line. Therefore, the buffer copy unit 11 moves all the pixels in the original conversion line buffer 9 to the previous conversion line buffer 10 (step ST14). After that, pixels obtained by lowering the reference line of the original image by two lines are input to the buffer by the image input unit 2, and the conversion process of the two lines in the original image is completed until the process for the vertical direction V of the original image is completed, that is, pixels Repeat until V / 2 lines are output as a converted image. As a result, the H × V original image is converted at a conversion magnification of 1/2, and an image with a pixel density change of (H / 2) × (V / 2) can be obtained.

なお、上記実施例では、既変換画素の参照画素は現変換
画素(X)の直上と直左とする場合についての例を示し
たが、現変換画素(X)の左斜上あるいはその近辺の既
変換画素を参照するようにしてもよく、こうすることに
より画素密度を変換しても特徴が失われない原画像の種
類を増やすことができる。その場合の変換パターンテー
ブルはその列アドレスを1ビット増やし、テーブルを列
方向に4つあったものを8つにして変換パターンに対応
した変換画素を入れて作成すれば良い。
In the above-described embodiment, the reference pixel of the already-converted pixel is set to be immediately above and immediately to the left of the current converted pixel (X). It may be possible to refer to already-converted pixels, and by doing so, it is possible to increase the types of original images whose characteristics are not lost even when the pixel density is converted. In this case, the conversion pattern table may be created by increasing the column address by 1 bit, changing the table from four in the column direction to eight, and inserting conversion pixels corresponding to the conversion pattern.

また原画像の参照画素についても、変換領域の画素(第
5図のa,b,c,d)に限らず,その近辺の画素を追加して
もよい。なお、その時の参照ライン数についても、原画
像参照ライン、既変換ラインの両方、あるいは一方を増
やす必要があれば対応参照ラインメモリを増やすことに
より対処できる。
Further, the reference pixels of the original image are not limited to the pixels in the conversion area (a, b, c, d in FIG. 5), and pixels in the vicinity thereof may be added. The number of reference lines at that time can be increased by increasing the corresponding reference line memory if it is necessary to increase both or one of the original image reference line and the converted line.

また、上記実施例では白黒2値画像を変換する場合につ
いて説明したが、白黒中間調画像にも当然適用でき、上
記実施例と同様の効果を奏する。
Further, in the above-described embodiment, the case of converting a black-and-white binary image has been described, but it is naturally applicable to a black-and-white halftone image, and the same effect as that in the above-described embodiment is obtained.

〔発明の効果〕〔The invention's effect〕

以上のように、この発明に係る画素密度変換処理装置に
よれば、2値または中間調の原画像から画素密度変換を
して原画像と異なった解像度の画像を得る画素密度変換
処理装置において、既に変換された既変換画素を蓄えて
おくバッファと、原画像の最新の未変換領域である変換
対象領域またはこれを含む領域を構成する変換参照画
素、および上記バッファから出力された,上記変換対象
領域の上方向および左方向に位置する既変換画素を参照
して、上記変換対象領域を構成する変換対象画素を画素
密度変換した変換画素の画素値を収めた変換パターンテ
ーブルと、上記原画像の変換参照画素および上記既変換
画素に基づいて上記変換パターンテーブルを検索して画
素変換を行う画素変換手段とを備えるようにしたので、
画素密度変換された画像が原画像の特徴を反映した画像
とすることができる効果がある。
As described above, according to the pixel density conversion processing apparatus of the present invention, in the pixel density conversion processing apparatus that performs pixel density conversion from a binary or halftone original image to obtain an image with a resolution different from the original image, A buffer for storing already-converted already-converted pixels, a conversion reference pixel forming a conversion target area which is the latest unconverted area of the original image or an area including the same, and the conversion target output from the buffer A conversion pattern table containing the pixel values of the conversion pixels obtained by performing pixel density conversion on the conversion target pixels forming the conversion target area by referring to the already-converted pixels located in the upper and left directions of the area, and the original image Since the conversion reference table and the pixel conversion means for performing pixel conversion by searching the conversion pattern table based on the already converted pixel are provided,
There is an effect that the image whose pixel density has been converted can be an image that reflects the characteristics of the original image.

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

第1図はこの発明の一実施例による画素密度変換処理装
置を示すブロック図、第2図は上記実施例の処理の概要
を示すフローチャート図、第3図は第2図で用いた変数
を示す図、第4図は変換パターンテーブルの構成を示す
図、第5図は変換パターンを起こりうる全てについて示
した図、第6図は第5図のパターンから特徴的な一部分
のパターンを選択して示した図、第7図は上記実施例に
おける画素密度変換をした例を示す図、第8図は従来の
画素密度変換処理装置を示すブロック図、第9図は画像
密度変換の概念を示す図、第10図は従来の画素密度変換
方式を示す図、第11図は従来の画素密度変換処理装置に
おける実施例を示す図である。 図において、6は画素変換画像画素抽出部、7は変換画
素決定部、8は変換パターンテーブル、10は前変換ライ
ンバッファ、11はバッファコピー部である。 なお図中同一符号は同一又は相当部分を示す。
FIG. 1 is a block diagram showing a pixel density conversion processing apparatus according to an embodiment of the present invention, FIG. 2 is a flow chart showing an outline of the processing of the above embodiment, and FIG. 3 shows variables used in FIG. 4 and 5 are diagrams showing the structure of a conversion pattern table, FIG. 5 is a view showing all possible conversion patterns, and FIG. 6 is a diagram showing a characteristic partial pattern selected from the patterns shown in FIG. FIG. 7 is a diagram showing an example of pixel density conversion in the above embodiment, FIG. 8 is a block diagram showing a conventional pixel density conversion processing device, and FIG. 9 is a diagram showing a concept of image density conversion. FIG. 10 is a diagram showing a conventional pixel density conversion system, and FIG. 11 is a diagram showing an embodiment of a conventional pixel density conversion processing device. In the figure, 6 is a pixel conversion image pixel extraction unit, 7 is a conversion pixel determination unit, 8 is a conversion pattern table, 10 is a previous conversion line buffer, and 11 is a buffer copy unit. The same reference numerals in the drawings indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】2値または中間調の原画像から画素密度変
換をして原画像と異なった解像度の画像を得る画素密度
変換処理装置において、 既に変換された既変換画素を蓄えておくバッファと、 原画像の最新の未変換領域である変換対象領域またはこ
れを含む領域を構成する変換参照画素、および上記バッ
ファから出力された,上記変換対象領域の上方向および
左方向に位置する既変換画素を参照して、上記変換対象
領域を構成する変換対象画素を画素密度変換した変換画
素の画素値を収めた変換パターンテーブルと、 上記原画像の変換参照画素および上記既変換画素に基づ
いて上記変換パターンテーブルを検索して画素変換を行
う画素変換手段とを備えたことを特徴とする画素密度変
換処理装置。
1. A pixel density conversion processing device for obtaining an image having a resolution different from that of an original image by performing pixel density conversion from a binary or halftone original image, and a buffer for storing already converted already converted pixels. , A conversion reference pixel forming a conversion target area which is the latest unconverted area of the original image or an area including the conversion target area, and already-converted pixels output from the buffer above and to the left of the conversion target area The conversion pattern table containing the pixel values of the conversion pixels obtained by performing the pixel density conversion of the conversion target pixels forming the conversion target area, and the conversion based on the conversion reference pixels of the original image and the already converted pixels. A pixel density conversion processing device, comprising: a pixel conversion unit that searches a pattern table and performs pixel conversion.
JP1110179A 1989-04-28 1989-04-28 Pixel density conversion processor Expired - Lifetime JPH0793675B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1110179A JPH0793675B2 (en) 1989-04-28 1989-04-28 Pixel density conversion processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1110179A JPH0793675B2 (en) 1989-04-28 1989-04-28 Pixel density conversion processor

Publications (2)

Publication Number Publication Date
JPH02288668A JPH02288668A (en) 1990-11-28
JPH0793675B2 true JPH0793675B2 (en) 1995-10-09

Family

ID=14529050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1110179A Expired - Lifetime JPH0793675B2 (en) 1989-04-28 1989-04-28 Pixel density conversion processor

Country Status (1)

Country Link
JP (1) JPH0793675B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0316377A (en) * 1989-06-14 1991-01-24 Kokusai Denshin Denwa Co Ltd <Kdd> Method and apparatus for reducing binary picture

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57129064A (en) * 1981-02-02 1982-08-10 Matsushita Graphic Commun Syst Inc Picture signal processing system
JPS6489664A (en) * 1987-09-30 1989-04-04 Canon Kk Picture communication system

Also Published As

Publication number Publication date
JPH02288668A (en) 1990-11-28

Similar Documents

Publication Publication Date Title
EP0650287B1 (en) Image processing method and apparatus
JPH10143604A (en) Device for extracting pattern
JP2967011B2 (en) Image processing method and apparatus
JP2502175B2 (en) Original image pattern data reproducing method and device
JPH0793675B2 (en) Pixel density conversion processor
JPS6353586B2 (en)
EP0388832B1 (en) Graphic drawing method and graphic drawing device
US4947448A (en) Image information signal transmitting system
JP2993007B2 (en) Image area identification device
JP3427354B2 (en) Video binarization method and binary image generation method
JP2588758B2 (en) Image reduction apparatus and method
JP3512462B2 (en) Black isolated point removal device
JP2878278B2 (en) Image processing method
JPH05342340A (en) Method for picture processing and device therefor
EP0673148A2 (en) Image processing apparatus with variable magnification
JP2697860B2 (en) Image processing device
JP2509448B2 (en) How to reduce the amount of image information
JP3054315B2 (en) Image processing method and apparatus
JP2687417B2 (en) Automatic linear density switching system for facsimile machines
JP2857260B2 (en) Judgment method of rectangular area
JP3009088B2 (en) Scan format converter
JPH037316B2 (en)
JPH09135348A (en) Multivalued data conversion device
JPH089148A (en) Image forming device
JPH09167228A (en) Method and device for transformation, method and device for reshaping picture using them and system using them

Legal Events

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

Free format text: PAYMENT UNTIL: 20071009

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20081009

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20091009

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20091009

Year of fee payment: 14