JPH07170391A - Picture element density converter - Google Patents

Picture element density converter

Info

Publication number
JPH07170391A
JPH07170391A JP5313270A JP31327093A JPH07170391A JP H07170391 A JPH07170391 A JP H07170391A JP 5313270 A JP5313270 A JP 5313270A JP 31327093 A JP31327093 A JP 31327093A JP H07170391 A JPH07170391 A JP H07170391A
Authority
JP
Japan
Prior art keywords
character
image data
pixel
picture
resolution
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
JP5313270A
Other languages
Japanese (ja)
Inventor
Nobuhiko Nakahara
信彦 中原
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.)
TEC CORP
Original Assignee
TEC 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 TEC CORP filed Critical TEC CORP
Priority to JP5313270A priority Critical patent/JPH07170391A/en
Publication of JPH07170391A publication Critical patent/JPH07170391A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/403Edge-driven scaling

Abstract

PURPOSE:To improve resolution and gray level properties by performing a picture element density transformation by performing a filter processing with a filter coefficient suitably used based on a character or picture decision. CONSTITUTION:After and A/D conversion 2 is performed for the 200dpi analog image data read by a scanner 1 and a gamma correction 3 is performed for the data as 8-bit digital image data, the data is transformed into 300dpi and 8-bit multivalued image data in a resolution transformation part 5 and the data is inputted in a filter processing part 7. At the same time, the result as to whether the gamma corrected image is the picture area or the character area of noted picture elements is decided in a character/picture decision part 6 is supplied to the filter processing part 7 and a binarization processing part 8. After the calculations of the weighing coefficients of an edge emphasis and a smoothing are performed the coefficient of a filter is switched by an objectiveness in the filter processing part 7, an optimum binarization processing is performed based on the result of the character/picture decision in the threshold processing part 8. Thus, a proper picture element density transformation which is suitable to each characteristic of character and picture images can be performed for the character and picture images.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、入力多値画像データの
画素密度を変換する画素密度変換装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pixel density conversion device for converting the pixel density of input multivalued image data.

【0002】[0002]

【従来の技術】近年、画像入出力装置の高解像度化、高
階調化が進み、200dpi、300dpi、400d
pi、600dpiといったように様々な解像度の画像
が扱われるようになっている。例えば、ファクシミリで
扱う画像は200dpi、400dpiが基準となるの
に対し、レーザプリンタ等では300dpiが基準とな
ることが多い。
2. Description of the Related Art In recent years, resolution and gradation of image input / output devices have been increased, and 200 dpi, 300 dpi, 400 d have been developed.
Images of various resolutions such as pi and 600 dpi are handled. For example, an image handled by a facsimile has a standard of 200 dpi and 400 dpi, whereas a laser printer or the like often has a standard of 300 dpi.

【0003】このため解像度の異なる装置間で画像の入
出力を行なうときには解像度変換が行なわれることにな
る。
Therefore, when inputting / outputting an image between apparatuses having different resolutions, resolution conversion is performed.

【0004】例えば200dpiのスキャナーで読み取
った画像データを300dpiのレーザプリンタで印字
出力する場合にはスキャナーで読み取った多値の画像デ
ータを300dpiに解像度変換した後、2値化してレ
ーザプリンタに出力する制御が行なわれる。
For example, when image data read by a scanner of 200 dpi is printed out by a laser printer of 300 dpi, multi-valued image data read by the scanner is resolution-converted to 300 dpi and binarized and output to the laser printer. Control is performed.

【0005】このような多値画像データの解像度変換を
行なう方法としては、従来から最近接画素置換法(SP
C法)、線形補間法、3次関数コンボリューション法な
どが知られている。
As a method for performing resolution conversion of such multi-valued image data, the closest pixel replacement method (SP) has hitherto been used.
C method), linear interpolation method, cubic function convolution method and the like are known.

【0006】最近接画素置換法は、処理が最も簡単であ
るが、写真などの階調画像に適用すると階調性が失われ
て画質が劣化したり、エッジ自体は保存されるが文字や
線等の斜線部にジャギ(ギザギザ)が発生するという問
題があり、また線形補間法は、階調画像に対して保存性
が良くなるが、文字や線画等の画像のエッジ部がなまり
解像性が低下するという問題があり、また3次関数コン
ボリューション法は、上記2つの方式に比べて最も画質
的に優れており、解像性、階調性ともに良好に保存され
るが、処理が複雑でハードウエアの規模が非常に大きく
なるという問題がある。
The closest pixel replacement method is the simplest to process, but when applied to a gradation image such as a photograph, the gradation is lost and the image quality is deteriorated. There is a problem that jaggies (jagged) occur in the shaded areas such as, and the linear interpolation method has good storage stability for gradation images, but the edge parts of images such as characters and line drawings are rounded and resolved. However, the cubic function convolution method is superior in image quality to the above two methods and has good resolution and gradation, but the processing is complicated. Therefore, there is a problem that the scale of hardware becomes very large.

【0007】このようにどの解像度変換法も一長一短が
あるというのが現状である。
As described above, all the resolution conversion methods have advantages and disadvantages under the present circumstances.

【0008】従来、このような解像度変換法を利用した
画素密度変換装置としては、特開平4−170868号
公報のものが知られている。
Conventionally, as a pixel density conversion device using such a resolution conversion method, that disclosed in Japanese Patent Laid-Open No. 4-170868 has been known.

【0009】これは、画像読取部からの画像データを記
録特性に適合するようにγ補正した後、ラインメモリに
格納し、そのラインメモリに格納した画像データを画素
密度変換部で最近接画素置換法により画素密度変換して
エリアメモリに書き込む。そしてエリアメモリの変換後
の画像データを平滑化フィルタを使用してフィルタ処理
し、それを2値化するようにしている。
This is because the image data from the image reading unit is γ-corrected so as to match the recording characteristics, then stored in a line memory, and the image data stored in the line memory is replaced with the nearest pixel by a pixel density conversion unit. The pixel density is converted by the method and written in the area memory. Then, the converted image data in the area memory is filtered using a smoothing filter to be binarized.

【0010】[0010]

【発明が解決しようとする課題】しかしこの公報のもの
は、どのような画像もすべて一律に平滑化処理を行なっ
ているため、文字画像に対してはエッジ情報が失われと
いう問題があった。
However, this publication has a problem that edge information is lost for a character image because all images are uniformly smoothed.

【0011】そこで本発明は、文字及び写真の画像に対
してそれぞれ特性に合った適切な画素密度変換を行なう
ことができ、解像性、階調性に優れた画素密度変換がで
きる画素密度変換装置を提供する。
Therefore, according to the present invention, it is possible to perform an appropriate pixel density conversion suitable for the characteristics of a character image and a photographic image, and to perform pixel density conversion excellent in resolution and gradation. Provide a device.

【0012】[0012]

【課題を解決するための手段】本発明は、入力多値画像
データを所望の解像度に変換する解像度変換手段と、入
力多値画像データを注目画素毎にその注目画素とその注
目画素の周辺画素の画素レベルに基づいて文字、写真の
判定を行なう文字/写真判定手段と、解像度変換手段で
解像度変換した画像データを文字/写真判定手段の文字
あるいは写真判定に基づいてフィルタ係数を切替えてフ
ィルタ処理するフィルタ処理手段とを備えたものであ
る。
According to the present invention, there is provided a resolution conversion means for converting input multi-valued image data into a desired resolution, a target pixel for each input pixel of the input multi-valued image data, and a peripheral pixel of the target pixel. Character / photo determination means for determining characters / photos based on the pixel level of, and image data whose resolution has been converted by the resolution conversion means are switched by filtering the filter coefficient based on the characters / photo determination of the character / photo determination means. And a filter processing means for performing the same.

【0013】[0013]

【作用】このような構成の本発明においては、入力多値
画像データは文字/写真判定手段により画素毎に文字、
写真の判定が行なわれ、解像度変換手段で解像度変換し
た画像データはフィルタ処理手段により、文字あるいは
写真判定に基づいてそれぞれに適した異なるフィルタ係
数でフィルタ処理される。
In the present invention having such a structure, the input multi-valued image data is a character for each pixel by the character / photograph judging means,
A photograph is determined, and the image data subjected to the resolution conversion by the resolution conversion means is filtered by the filter processing means with different filter coefficients suitable for the character or the photograph determination.

【0014】[0014]

【実施例】以下、本発明の実施例を図面を参照して説明
する。なお、本実施例は本発明を200dpiのスキャ
ナで読取った画像データを300dpiのレーザプリン
タで印字出力する装置に適用したものについて述べる。
Embodiments of the present invention will be described below with reference to the drawings. In this embodiment, the present invention is applied to an apparatus which prints out image data read by a 200 dpi scanner with a 300 dpi laser printer.

【0015】図1において1は解像度が200dpiの
スキャナで、原稿から画像を光学的に読取り、アナログ
データとして出力する。
In FIG. 1, reference numeral 1 denotes a scanner having a resolution of 200 dpi, which optically reads an image from a document and outputs it as analog data.

【0016】前記スキャナ1からの200dpiのアナ
ログデータをA/D変換部2で例えば8ビットのデジタ
ルデータに変換した後、γ補正部3でスキャナ1の持つ
入力階調特性を補正している。なお、人間の視覚特性に
合わせて階調補正するものであってもよい。
After the analog data of 200 dpi from the scanner 1 is converted into, for example, 8-bit digital data by the A / D conversion unit 2, the γ correction unit 3 corrects the input gradation characteristic of the scanner 1. The gradation may be corrected according to the human visual characteristics.

【0017】前記γ補正部3で補正した多値画像データ
を要部を構成する画素密度変換部4に入力している。
The multivalued image data corrected by the γ correction unit 3 is input to a pixel density conversion unit 4 which constitutes a main part.

【0018】前記画素密度変換部4は、解像度変換部
5、文字/写真判定部6及びフィルタ処理部7からな
り、前記γ補正部3で補正した多値画像データを解像度
変換部5及び文字/写真判定部6にそれぞれ入力してい
る。
The pixel density conversion unit 4 comprises a resolution conversion unit 5, a character / photograph determination unit 6 and a filter processing unit 7. The multi-valued image data corrected by the γ correction unit 3 is converted into the resolution conversion unit 5 and the character / photo image data. Inputs are made to the photo determination unit 6, respectively.

【0019】前記解像度変換部5は、200dpiの8
ビット多値画像データを300dpiの8ビット多値画
像データに解像度変換、すなわち画素密度変換するもの
で、例えば最近接画素置換法あるいは線形補間法により
解像度変換するようになっている。
The resolution conversion unit 5 has a resolution of 8 at 200 dpi.
The resolution of the bit multi-valued image data is converted into 8-bit multi-valued image data of 300 dpi, that is, the pixel density is converted, and the resolution is converted by, for example, the nearest pixel replacement method or the linear interpolation method.

【0020】ここで最近接画素置換法及び線形補間法に
ついて、簡単のために1次元変換により説明すると、最
近接画素置換法は図2に示すように、変換画素の値とし
て、変換画素のサンプリング点に最も近い原画素のサン
プリング点の値を用いる。また、線形補間法は図3に示
すように、変換画素のサンプリング点に隣接する原画素
のサンプリング点の距離に応じて変換画素の値を決定す
る。
Here, the nearest pixel replacement method and the linear interpolation method will be described by a one-dimensional conversion for the sake of simplicity. The nearest pixel replacement method, as shown in FIG. The value of the sampling point of the original pixel closest to the point is used. Further, in the linear interpolation method, as shown in FIG. 3, the value of the conversion pixel is determined according to the distance between the sampling points of the original pixels adjacent to the sampling point of the conversion pixel.

【0021】解像度変換は、アルゴリズムにより行って
いるが、変換率が数種類に特定されているときには変換
テーブルを使用して行ってもよい。
The resolution conversion is carried out by an algorithm, but it may be carried out by using a conversion table when the conversion rate is specified in several types.

【0022】前記文字/写真判定部6は、入力多値画像
データにおける注目画素を含む所定範囲内の画像データ
から注目画素が写真領域であるか文字領域かを判定し、
これを1頁分行うことによって1画素毎の文字/写真の
判定結果を得るようになっている。そしてその判定結果
を文字/写真判定信号として前記フィルタ処理部7及び
後段の2値化処理部8に出力している。
The character / photo discriminating unit 6 discriminates whether the pixel of interest is a photo region or a character region from image data within a predetermined range including the pixel of interest in the input multi-valued image data,
By performing this for one page, the character / photo determination result for each pixel is obtained. Then, the determination result is output to the filter processing unit 7 and the subsequent binarization processing unit 8 as a character / photograph determination signal.

【0023】前記文字/写真判定部6は、具体的には、
入力多値画像データを3×3画素のブロックに分割し、
その中央の画素を注目画素とし、かつその周囲の8画素
を周辺画素とし、この各画素のうち、画素レベルが最大
の画素と最小の画素のレベル差を求め、そのレベル差を
ある決められた定数で除算し、その除算結果に最小の画
素のレベル値を加算したものを第1のパラメータP1 と
する。また、注目画素と周辺画素との各濃度差の絶対値
の平均を第2のパラメータP2 とする。そしてP1 <P
2 であればそのときの注目画素を文字(2値画像領域)
の画素とし、またP1 ≧P2 であればそのときの注目画
素を写真(中間調領域)の画素とする。前記フィルタ処
理部7は、文字/写真の判定結果に基づいて解像度変換
された画像データのフィルタの係数を切替えてフィルタ
処理するもので、解像度変換された画像データに対して
3×3のフィルタ演算を行うようになっている。
The character / photo discriminating unit 6 is, specifically,
Divide the input multi-valued image data into blocks of 3 × 3 pixels,
The central pixel is set as the pixel of interest, and the eight surrounding pixels are set as peripheral pixels. Among these pixels, the level difference between the pixel with the maximum pixel level and the pixel with the minimum pixel level is obtained, and the level difference is determined in advance. The first parameter P1 is obtained by dividing by a constant and adding the level value of the minimum pixel to the division result. Further, the average of the absolute values of the respective density differences between the target pixel and the peripheral pixels is set as the second parameter P2. And P1 <P
If it is 2, the pixel of interest at that time is a character (binary image area)
, And if P1 ≥P2, the pixel of interest at that time is the pixel of the photograph (halftone area). The filter processing unit 7 switches the filter coefficient of the resolution-converted image data based on the determination result of the character / photograph to perform the filtering process, and performs the filter calculation of 3 × 3 on the resolution-converted image data. Is supposed to do.

【0024】すなわち、前記フィルタ処理部7は、図4
に示すように、入力する画像データをフリップフロップ
7a,7b,7c,7dに順次格納している。そしてフ
リップフロップ7bの出力を第1のFIFO(先入れ先
出し)メモリ71に入力している。この第1のFIFO
メモリ71は1ライン分の画像データを記憶できるよう
になっている。
That is, the filter processing unit 7 is configured as shown in FIG.
As shown in, the input image data is sequentially stored in the flip-flops 7a, 7b, 7c, 7d. The output of the flip-flop 7b is input to the first FIFO (first in, first out) memory 71. This first FIFO
The memory 71 can store image data for one line.

【0025】前記第1のFIFOメモリ71の出力をフ
リップフロップ7e,7f,7g,7hに順次格納して
いる。そしてフリップフロップ7eの出力を第2のFI
FOメモリ72に入力している。この第2のFIFOメ
モリ72も第1のFIFOメモリ71と同様、1ライン
分の画像データを記憶できるようになっている。
The output of the first FIFO memory 71 is sequentially stored in the flip-flops 7e, 7f, 7g and 7h. Then, the output of the flip-flop 7e is set to the second FI.
It is input to the FO memory 72. Like the first FIFO memory 71, the second FIFO memory 72 can also store image data for one line.

【0026】前記第2のFIFOメモリ72の出力をフ
リップフロップ7i,7jに順次格納している。
The output of the second FIFO memory 72 is sequentially stored in the flip-flops 7i and 7j.

【0027】そして前記フリップフロップ7d及び7f
の出力を第1の加算器73に入力し、前記フリップフロ
ップ7h及び7jの出力を第2の加算器74に入力して
いる。
The flip-flops 7d and 7f
Is input to the first adder 73, and the outputs of the flip-flops 7h and 7j are input to the second adder 74.

【0028】前記第1の加算器73の出力はフリップフ
ロップ7kに格納し、前記第2の加算器74の出力はフ
リップフロップ7lに格納している。そして前記各フリ
ップフロップ7k,7lの出力を第3の加算器75に入
力している。
The output of the first adder 73 is stored in the flip-flop 7k, and the output of the second adder 74 is stored in the flip-flop 7l. The outputs of the flip-flops 7k and 7l are input to the third adder 75.

【0029】前記第3の加算器75の出力をフリップフ
ロップ7mに入力し、前記フリップフロップ7hの出力
をフリップフロップ7nに入力している。そして前記各
フリップフロップ7m,7nの出力をROM(リード・
オンリー・メモリ)76に入力している。
The output of the third adder 75 is input to the flip-flop 7m, and the output of the flip-flop 7h is input to the flip-flop 7n. The outputs of the flip-flops 7m and 7n are read by a ROM (read
It is input to the (only memory) 76.

【0030】前記ROM76はまた、前記文字/写真判
定部6からの文字/写真判定信号を入力している。
The ROM 76 also receives the character / photo judgment signal from the character / photo judgment unit 6.

【0031】前記フリップフロップ7c,7d,7f,
7g,7h,7i,7jは参照画素群を構成し、フィル
タ処理対象画素である注目画素をフリップフロップ7g
の画素とし、参照画素をフリップフロップ7d,7f,
7h,7jの画素としている。
The flip-flops 7c, 7d, 7f,
Reference numerals 7g, 7h, 7i, and 7j constitute a reference pixel group, and a pixel of interest that is a pixel to be filtered is flip-flop 7g.
, And the reference pixels are flip-flops 7d, 7f,
The pixels are 7h and 7j.

【0032】この参照画素により図5に示すエッジ強調
を行う重み付け係数を持った演算や図6に示す平滑化を
行う重み付け係数を持った演算を行うことができる。な
お、図4の回路では、フィルタ演算の係数は、注目画素
を中心とした対象性により、先に周辺画素を第1、第
2、第3の加算器73,74,75により加算し、最後
に注目画素との演算を行う構成になっている。
With this reference pixel, the calculation with the weighting coefficient for edge enhancement shown in FIG. 5 and the calculation with the weighting coefficient for smoothing shown in FIG. 6 can be performed. In the circuit of FIG. 4, the coefficient of the filter calculation is performed by adding the peripheral pixels first by the first, second, and third adders 73, 74, and 75 according to the symmetry centered on the pixel of interest, and finally In addition, the calculation is performed with the pixel of interest.

【0033】最終的な重み付けは前記ROM76で行う
ようになっている。前記ROM76は、重み付けのパタ
ーンテーブルを文字領域用、写真領域用の2つのパター
ン持っていて、前記文字/写真判定部6からの文字/写
真判定信号により使用するパターンテーブルを切替える
構成になっている。
The final weighting is performed by the ROM 76. The ROM 76 has a weighted pattern table for two patterns, one for a character area and the other for a photograph area, and the pattern table to be used is switched according to a character / photo judgment signal from the character / photo judgment unit 6. .

【0034】なお、前記文字/写真判定部6による文字
/写真判定は解像度変換する前の画像データに対して行
っているため、ROM76に入力する文字/写真判定信
号は解像度変換用の倍率に単順に拡張しておく必要があ
る。
Since the character / photo judgment by the character / photo judgment unit 6 is performed on the image data before the resolution conversion, the character / photo judgment signal input to the ROM 76 has a single magnification for the resolution conversion. Must be expanded in order.

【0035】前記ROM76からの出力、すなわち画素
密度変換部4からの解像度変換後の多値画像データを前
記2値化処理部8に入力し、この2値化処理部8で文字
/写真判定結果に基づいて最適な2値化処理を行うよう
になっている。
The output from the ROM 76, that is, the multi-valued image data after the resolution conversion from the pixel density conversion unit 4 is input to the binarization processing unit 8, and the binarization processing unit 8 outputs the character / photograph determination result. The optimum binarization process is performed based on

【0036】すなわち、文字領域であれば文字部に適し
た2値化方法である単純2値化処理を使用して2値化
し、写真領域であれば写真部に適した2値化方法である
組織的ディザ法あるいは誤差拡散法を使用して2値化す
るようになっている。
That is, in the case of a character area, it is binarized by using a simple binarization process which is a binarizing method suitable for the character portion, and in the case of a photograph area, it is a binarizing method suitable for the photograph portion. Binarization is performed using the systematic dither method or the error diffusion method.

【0037】前記2値化処理部8で2値化した画像デー
タをレーザプリンタ9に供給している。前記レーザプリ
ンタ9は、入力する画像データを電子写真方式による画
像形成処理を行って規定に用紙に印字を行なうようにな
っている。
The image data binarized by the binarization processing unit 8 is supplied to the laser printer 9. The laser printer 9 is designed to print the input image data on a sheet by performing an image forming process by an electrophotographic method.

【0038】このような構成の実施例においては、スキ
ャナ1で画像を読取って得られる200dpiのアナロ
グ画像データはA/D変換部2で8ビットのデジタル画
像データに変換された後、γ補正部3でγ補正される。
そしてγ補正された200dpi、8ビットの多値画像
データは解像度変換部5及び文字/写真判定部6にそれ
ぞれ入力する。
In the embodiment having such a configuration, the analog image data of 200 dpi obtained by reading the image with the scanner 1 is converted into 8-bit digital image data by the A / D conversion unit 2 and then the γ correction unit. Γ correction is performed in 3.
Then, the gamma-corrected 200-dpi, 8-bit multivalued image data is input to the resolution conversion unit 5 and the character / photo determination unit 6, respectively.

【0039】解像度変換部5は、200dpi、8ビッ
トの多値画像データを最近接画素置換法あるいは線形補
間法により300dpi、8ビットの多値画像データに
変換する。
The resolution converting section 5 converts 200 dpi, 8-bit multivalued image data into 300 dpi, 8-bit multivalued image data by the nearest pixel replacement method or linear interpolation method.

【0040】また、文字/写真判定部6は、入力多値画
像データを3×3画素のブロックに分割し、その中央の
画素を注目画素とし、かつその周囲の8画素を周辺画素
として画素レベルが最大の画素と最小の画素のレベル差
を求め、そのレベル差をある決められた定数で除算し、
その除算結果に最小の画素のレベル値を加算して第1の
パラメータP1 を求める。また、注目画素と周辺画素と
の各濃度差の絶対値の平均により第2のパラメータP2
を求める。そして各パラメータP1 ,P2 を比較し、P
1 <P2 であればそのときの注目画素を文字の画素と
し、またP1 ≧P2 であればそのときの注目画素を写真
の画素とする。
Further, the character / photograph determination unit 6 divides the input multi-valued image data into blocks of 3 × 3 pixels, the pixel at the center thereof is set as the pixel of interest, and the surrounding 8 pixels are set as peripheral pixels. Finds the level difference between the maximum pixel and the minimum pixel, divides the level difference by a fixed constant,
The minimum pixel level value is added to the division result to obtain the first parameter P1. In addition, the second parameter P2
Ask for. Then, the parameters P1 and P2 are compared and P
If 1 <P2, the pixel of interest at that time is the pixel of the character, and if P1 ≧ P2, the pixel of interest at that time is the pixel of the photograph.

【0041】解像度変換部5で300dpiに解像度変
換された画像データはフィルタ処理部7に入力される。
The image data whose resolution has been converted to 300 dpi by the resolution conversion unit 5 is input to the filter processing unit 7.

【0042】フィルタ処理部7では入力する画像データ
をフリップフロップ7a〜7dに順次シフトして取込む
と共にフリップフロップ7aの出力を第1のFIFOメ
モリ71に取込む。そして第1のFIFOメモリ71に
1ライン分の画像データを記憶した後、フリップフロッ
プ7e〜7h,7nに順次シフトして取込むと共にフリ
ップフロップ7eの出力を第2のFIFOメモリ72に
取込む。そして第2のFIFOメモリ72に1ライン分
の画像データを記憶した後、フリップフロップ7i,7
jに順次シフトして取込む。
The filter processing unit 7 sequentially shifts the input image data into the flip-flops 7a to 7d and fetches it, and fetches the output of the flip-flop 7a into the first FIFO memory 71. Then, after the image data for one line is stored in the first FIFO memory 71, it is sequentially shifted into the flip-flops 7e to 7h, 7n and taken in, and the output of the flip-flop 7e is taken into the second FIFO memory 72. After the image data for one line is stored in the second FIFO memory 72, the flip-flops 7i, 7
sequentially shift to j.

【0043】そしてフリップフロップ7d,7fの出力
を第1の加算器73で加算し、その結果をフリップフロ
ップ7kに格納すると共に、フリップフロップ7h,7
jの出力を第2の加算器74で加算し、その結果をフリ
ップフロップ7lに格納する。さらにフリップフロップ
7k,7lの出力を第3の加算器75で加算し、その結
果をフリップフロップ7mに格納する。
Then, the outputs of the flip-flops 7d and 7f are added by the first adder 73, the result is stored in the flip-flop 7k, and the flip-flops 7h and 7f are also stored.
The output of j is added by the second adder 74, and the result is stored in the flip-flop 7l. Further, the outputs of the flip-flops 7k and 7l are added by the third adder 75, and the result is stored in the flip-flop 7m.

【0044】そしてフリップフロップ7m,7nの出力
をROM76に供給する。ROM76は文字/写真判定
部6からの文字/写真判定信号により、注目画素が文字
領域のものであれば文字領域用のパターンテーブルに基
づいて重み付けを行ない。また注目画素が写真領域のも
のであれば写真領域用のパターンテーブルに基づいて重
み付けを行なう。
Then, the outputs of the flip-flops 7m and 7n are supplied to the ROM 76. The ROM 76 performs weighting based on the character / photograph determination signal from the character / photograph determination unit 6 based on the pattern table for the character region if the pixel of interest is in the character region. If the pixel of interest is in the photograph area, weighting is performed based on the pattern table for the photograph area.

【0045】この場合に解像度変換部5での解像度変換
が最近接画素置換法で行なわれたときには、この方法で
はエッジ情報は保持されるが階調性が失われるという特
徴があるため、ROM76は注目画素が文字領域と判定
されたときには図7に示すスルーモードフィルタの重み
付け係数を持ったパターンテーブルを使用して重み付け
を行ない、注目画素が写真領域と判定されたときには図
6に示す平滑フィルタの重み付け係数を持ったパターン
テーブルを使用して重み付けを行なう。
In this case, when the resolution conversion in the resolution conversion unit 5 is performed by the closest pixel replacement method, the edge information is retained but the gradation is lost by this method, so the ROM 76 is stored in the ROM 76. When the pixel of interest is determined to be a character region, weighting is performed using the pattern table having the weighting coefficient of the through mode filter shown in FIG. 7, and when it is determined that the pixel of interest is a photographic region, the smoothing filter shown in FIG. Weighting is performed using a pattern table having weighting factors.

【0046】このようなフィルタ処理を行なうことによ
り、文字と写真が混在した画像に対しても解像性、階調
性ともに優れた解像度変換画像を得ることができる。
By performing such filter processing, it is possible to obtain a resolution-converted image having excellent resolution and gradation even for an image in which characters and photographs are mixed.

【0047】また、解像度変換部5での解像度変換が線
形補間法で行なわれたときには、この方法では写真等の
階調性は保持されるのに対して文字のエッジ部がなまっ
てしまうという特徴があるため、ROM76は注目画素
が文字領域と判定されたときには図5に示すエッジ強調
フィルタの重み付け係数を持ったパターンテーブルを使
用して重み付けを行ない、注目画素が写真領域と判定さ
れたときには図7に示すスルーモードフィルタの重み付
け係数を持ったパターンテーブルを使用して重み付けを
行なう。
Further, when the resolution conversion in the resolution conversion section 5 is performed by the linear interpolation method, the gradation characteristic of a photograph or the like is maintained but the edge portion of the character is blunted by this method. Therefore, the ROM 76 performs weighting using the pattern table having the weighting coefficient of the edge emphasis filter shown in FIG. 5 when the pixel of interest is determined to be the character region, and the ROM 76 performs drawing when the pixel of interest is determined to be the photographic region. Weighting is performed using the pattern table having the weighting coefficient of the through mode filter shown in FIG.

【0048】このようなフィルタ処理を行なうことによ
り、文字と写真が混在した画像に対しても解像性、階調
性ともに優れた解像度変換画像を得ることができる。
By performing such filter processing, it is possible to obtain a resolution-converted image having excellent resolution and gradation even for an image in which characters and photographs are mixed.

【0049】こうしてフィルタ処理部7からは文字領域
と写真領域とで異なった重み付けを行なった多値画像デ
ータが出力され、その多値画像データは、さらに2値化
処理部8で2値化される。このとき文字領域には文字部
に適した2値化が行なわれ、写真領域には写真部に適し
た2値化が行なわれる。
In this way, the filter processing unit 7 outputs multivalued image data in which the character region and the photograph region are weighted differently, and the multivalued image data is further binarized by the binarization processing unit 8. It At this time, the character area is binarized suitable for the character portion, and the photograph area is binarized suitable for the photograph portion.

【0050】そして2値化処理部8で2値化した画像デ
ータはレーザプリンタ9に供給され、このレーザプリン
タ9により300dpiの解像度で印字が行なわれる。
The image data binarized by the binarization processing unit 8 is supplied to a laser printer 9, and the laser printer 9 prints at a resolution of 300 dpi.

【0051】このように文字と写真が混在した画像に対
してもそれぞれに適したフィルタ処理を行なって重み付
けを行なうことができ、これにより解像性、階調性とも
に優れた解像度変換ができ、従ってレーザプリンタ9に
より印字出力する画像の品質を向上できる。
In this way, even for an image in which characters and photographs are mixed, weighting can be performed by performing filter processing suitable for each, and resolution conversion excellent in both resolution and gradation can be performed. Therefore, the quality of the image printed out by the laser printer 9 can be improved.

【0052】なお、前記実施例では200dpiの画像
データを300dpiの画像データに解像度変換する場
合について述べたが必ずしもこれに限定するものではな
く、他の変換率の解像度変換にも適用できるものであ
る。
In the above embodiment, the resolution conversion of 200 dpi image data into 300 dpi image data is described, but the present invention is not limited to this and can be applied to resolution conversion of other conversion rates. .

【0053】[0053]

【発明の効果】以上、本発明によれば、文字及び写真の
画像に対してそれぞれ特性に合った適切な画素密度変換
を行なうことができ、解像性、階調性に優れた画素密度
変換ができる画素密度変換装置を提供できる。
As described above, according to the present invention, it is possible to perform an appropriate pixel density conversion suitable for the characteristics of a character image and a photographic image, respectively, and to obtain a pixel density conversion excellent in resolution and gradation. It is possible to provide a pixel density conversion device capable of performing

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

【図1】本発明の実施例を示すブロック図。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】最近接画素置換法による解像度変換を説明する
ための図。
FIG. 2 is a diagram for explaining resolution conversion by the nearest pixel replacement method.

【図3】線形補間法による解像度変換を説明するための
図。
FIG. 3 is a diagram for explaining resolution conversion by a linear interpolation method.

【図4】同実施例のフィルタ処理部の構成を示す回路
図。
FIG. 4 is a circuit diagram showing a configuration of a filter processing unit of the embodiment.

【図5】同実施例で使用するエッジ強調フィルタの構成
を示す図。
FIG. 5 is a diagram showing a configuration of an edge enhancement filter used in the same embodiment.

【図6】同実施例で使用する平滑化フィルタの構成を示
す図。
FIG. 6 is a diagram showing a configuration of a smoothing filter used in the example.

【図7】同実施例で使用するスルーモードフィルタの構
成を示す図。
FIG. 7 is a diagram showing a configuration of a through mode filter used in the same embodiment.

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

5…解像度変換部 6…文字/写真判定部 7…フィルタ処理部 76…ROM(リード・オンリー・メモリ) 5 ... Resolution conversion unit 6 ... Character / photograph determination unit 7 ... Filter processing unit 76 ... ROM (read only memory)

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/40 1/407 H04N 1/40 F 101 E ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI Technical display location H04N 1/40 1/407 H04N 1/40 F 101 E

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力多値画像データを所望の解像度に変
換する解像度変換手段と、入力多値画像データを注目画
素毎にその注目画素とその注目画素の周辺画素の画素レ
ベルに基づいて文字、写真の判定を行なう文字/写真判
定手段と、前記解像度変換手段で解像度変換した画像デ
ータを前記文字/写真判定手段の文字あるいは写真判定
に基づいてフィルタ係数を切替えてフィルタ処理するフ
ィルタ処理手段とを備えたことを特徴とする画素密度変
換装置。
1. A resolution conversion means for converting input multi-valued image data into a desired resolution, and input multi-valued image data for each target pixel based on a pixel level of the target pixel and peripheral pixels of the target pixel, A character / photograph judging means for judging a photograph and a filter processing means for switching the filter coefficient of the image data whose resolution is converted by the resolution converting means based on the character or photograph judgment of the character / photograph judging means and performing a filtering process. A pixel density conversion device characterized by being provided.
JP5313270A 1993-12-14 1993-12-14 Picture element density converter Pending JPH07170391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5313270A JPH07170391A (en) 1993-12-14 1993-12-14 Picture element density converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5313270A JPH07170391A (en) 1993-12-14 1993-12-14 Picture element density converter

Publications (1)

Publication Number Publication Date
JPH07170391A true JPH07170391A (en) 1995-07-04

Family

ID=18039193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5313270A Pending JPH07170391A (en) 1993-12-14 1993-12-14 Picture element density converter

Country Status (1)

Country Link
JP (1) JPH07170391A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1117931A (en) * 1997-06-25 1999-01-22 Fuji Xerox Co Ltd Pixel density converter
US6760131B2 (en) 1996-12-11 2004-07-06 Pfu Limited Image scanner
JP2006252443A (en) * 2005-03-14 2006-09-21 Ricoh Co Ltd Image processing device, image processing method, image processing program and recording medium in which image processing program is recorded
CN1321522C (en) * 2003-11-18 2007-06-13 佳能株式会社 Image processing method and apparatus
US7583859B2 (en) 1999-05-06 2009-09-01 Ricoh Company, Ltd. Method, computer readable medium and apparatus for converting color image resolution
JP2013070185A (en) * 2011-09-21 2013-04-18 Fuji Xerox Co Ltd Image processor and image processing program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6760131B2 (en) 1996-12-11 2004-07-06 Pfu Limited Image scanner
JPH1117931A (en) * 1997-06-25 1999-01-22 Fuji Xerox Co Ltd Pixel density converter
US7583859B2 (en) 1999-05-06 2009-09-01 Ricoh Company, Ltd. Method, computer readable medium and apparatus for converting color image resolution
CN1321522C (en) * 2003-11-18 2007-06-13 佳能株式会社 Image processing method and apparatus
JP2006252443A (en) * 2005-03-14 2006-09-21 Ricoh Co Ltd Image processing device, image processing method, image processing program and recording medium in which image processing program is recorded
JP2013070185A (en) * 2011-09-21 2013-04-18 Fuji Xerox Co Ltd Image processor and image processing program

Similar Documents

Publication Publication Date Title
JP3585703B2 (en) Image processing device
EP1505821B1 (en) Image processing apparatus, an image forming apparatus and an image processing method
US7064862B2 (en) Printer and printing method for image-quality correction
JP4568748B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JPH04354470A (en) Picture processing method, scanning/printing system for executing said method and picture selector for said scanning/printing system
JPH1056569A (en) Image processing method and device therefor
JPH03248674A (en) Half-tone picture processor
JPH07170391A (en) Picture element density converter
JP3310744B2 (en) Resolution converter
JP2756371B2 (en) Image processing device
JP2009201023A (en) Devide and method for image processing
JPH10155089A (en) Image processor
JP4545167B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP3468966B2 (en) Image processing device
JP3780664B2 (en) Image processing apparatus and image processing method
JP3212339B2 (en) Image magnification device
JP3475606B2 (en) Image processing device
JP3445847B2 (en) Image processing device
JPS6335071A (en) Variable power method
JP2507927B2 (en) Image processing device
JP3014257B2 (en) Document reading device
JPH0698163A (en) Picture area discriminating device
JP2002262070A (en) Image processing unit
JPH07121063B2 (en) Image processing device
JPH10126613A (en) Image processor