JPH0951431A - Image processing unit - Google Patents

Image processing unit

Info

Publication number
JPH0951431A
JPH0951431A JP7197803A JP19780395A JPH0951431A JP H0951431 A JPH0951431 A JP H0951431A JP 7197803 A JP7197803 A JP 7197803A JP 19780395 A JP19780395 A JP 19780395A JP H0951431 A JPH0951431 A JP H0951431A
Authority
JP
Japan
Prior art keywords
image
area
pixel
character
value
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
JP7197803A
Other languages
Japanese (ja)
Inventor
Hiroshi Sekine
弘 関根
Kunikazu Ueno
邦和 上野
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP7197803A priority Critical patent/JPH0951431A/en
Publication of JPH0951431A publication Critical patent/JPH0951431A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Record Information Processing For Printing (AREA)
  • Color, Gradation (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent production of fog in the vicinity of an edge part by converting an input image into high gradation image based on picture elements other than those of a specific attribute included in an area of a prescribed size including a conversion object picture element. SOLUTION: An attribute discrimination section 201 discriminates whether or not a picture element of interest of a received binary image as to whether or not the picture element belongs to a character/line drawing area. When the noted picture element belongs to the character/line drawing area, a selector 203 selects an output of a simple multilevel section 202 to provide an output of a multilevel image obtained by applying simple multilevel processing to the picture element of interest. When the noted picture element does not belong to the character/line drawing area, the selector 203 selects an output of an arithmetic section 206. In this case, a block size decision section 204 applies convolution to 25 picture elements in total consisting of 5 vertical picture elements × 5 horizontal picture elements around the picture element of interest and indicates a small block size to a block processing section 205 when a maximum absolute value is a threshold level or over, and indicates a large block size thereto when the maximum absolute value is less than the threshold level. An arithmetic section 206 counts number of black level picture elements in the picture element block except the character/line drawing area to calculate a high gradation image. As a result the input image is converted into a multilevel image where the edge part of the character/line drawing area is sharpened.

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 apparatus capable of converting a low gradation image into a high gradation image without causing a so-called blur at an edge portion of a character or a line drawing.

【0002】[0002]

【従来の技術】従来より、N(N≧2)値の低階調画像
をM(M>N)値の高階調画像に変換する階調変換の手
法が知られており、その一態様として2値画像を多値化
する2値多値変換がある。この変換の主たる目的は、
(1)ファクシミリ信号のような2値画像を多値化して
高画質な出力を得る、(2)2値画像を変倍するために
一旦多値化する、(3)多値データを2値化して圧縮・
記憶した2値データを出力時に復元するために多値化す
る、などである。上記目的を達成するため、従来より種
々の多値化手法が提案されており、この種の手法は概ね
以下の4つに分類することができる。 (1)単純な平滑化処理を行って多値化する方式(特開
昭63−013579号、特開平5−160996号
等)。 (2)組織的ディザ法によって2値化された画像におい
て、2値化時に使用したディザマトリクスを用いて元の
中間調画像(多値画像)を推定する方式(特公昭61−
288567号等)。 (3)一定領域内の明るさ(すなわち、黒画素数)を検
出し、これに応じて多値化フィルタサイズを適応的に切
り替える方式(特開平2−76370号等)。 (4)エッジの強度と方向を検出し、これに応じて多値
化フィルタのサイズや形状・係数を適応的に切り替える
方式(特開平5−143726号、特開平5−3443
40号等)。
2. Description of the Related Art Conventionally, there has been known a gradation conversion method for converting a low gradation image having N (N ≧ 2) values into a high gradation image having M (M> N) values. There is a binary multi-value conversion that multi-values a binary image. The main purpose of this conversion is
(1) Multi-value a binary image such as a facsimile signal to obtain high-quality output, (2) Multi-value the binary image once for scaling, (3) Binary multi-valued data Compress and
For example, the stored binary data is multivalued to be restored at the time of output. In order to achieve the above object, various multi-value quantization methods have been conventionally proposed, and these types of methods can be roughly classified into the following four. (1) A method in which a simple smoothing process is performed to obtain multi-values (Japanese Patent Laid-Open No. 63-013579, Japanese Patent Laid-Open No. 5-160996, etc.). (2) A method of estimating an original halftone image (multi-valued image) using a dither matrix used for binarization in an image binarized by the systematic dither method (Japanese Patent Publication No. 61-
288567). (3) A method of detecting the brightness (that is, the number of black pixels) in a certain area and adaptively switching the multi-value quantization filter size according to the detected brightness (Japanese Patent Laid-Open No. 2-76370, etc.). (4) A method of detecting the strength and direction of an edge and adaptively switching the size, shape, and coefficient of the multi-valued filter according to the detection (Japanese Patent Laid-Open No. 5-143726, Japanese Patent Laid-Open No. 5-3443).
No. 40).

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記手
法(1)は、多値変換後における画像のエッジ部がぼけ
るなどの難点がある。また、上記手法(2)は、組織的
ディザ法で2値化されたものを対象としており、誤差拡
散法で2値化された画像の場合には鮮明に多値化できな
いことがある。また、上記手法(3)は、画像中の暗部
をエッジに類似した箇所とみなして小さなサイズのフィ
ルタで多値化する一方、明部を非エッジ部とみなして大
きなサイズのフィルタで多値化していることから、微妙
な濃度変化を比較的捉え易いという利点があるものの、
正確なエッジ検出処理を行わずに明るさだけを基準とし
て多値化フィルタを選択しているため、必ずしも階調の
必要な個所で大きなサイズの多値化フィルタが選択され
ないという欠点がある。例えば、暗い箇所であるが階調
を重要視したい箇所においても小さいサイズの多値化フ
ィルタが選択され、滑らかさのない多値画像に変換され
てしまう。さらに、上記手法(4)は、上記(1)〜
(3)の手法と比較し、エッジの劣化は少ないものの、
多くは特定の成分のみに基づいて検出されたエッジに対
する処理しか行わない。
However, the above method (1) has a drawback that the edge portion of the image after multi-value conversion is blurred. Further, the above method (2) is intended for binarized by the systematic dither method, and in the case of an image binarized by the error diffusion method, it may not be possible to clearly multivalue. Further, in the above method (3), the dark part in the image is regarded as a part similar to an edge and multivalued by a filter of a small size, while the bright part is regarded as a non-edge part and multivalued by a filter of a large size. Therefore, although it has an advantage that it is relatively easy to catch a slight change in density,
Since the multi-valued filter is selected on the basis of only the brightness without performing the accurate edge detection process, there is a disadvantage that the large-valued multi-valued filter is not always selected at a place where gradation is required. For example, a small-sized multi-valued filter is selected even in a dark place where it is desired to attach importance to gradation, and a multi-valued image without smoothness is converted. Furthermore, the above method (4) includes the above (1) to
Compared with the method of (3), although the edge deterioration is less,
Most of them only process the detected edges based on only specific components.

【0004】上述した理由から、結局、上記(1)〜
(4)の手法に共通する問題点は、入力画像がすべて疑
似中間調処理されている画像では、高階調化によるある
程度の画質向上が期待できるが、文字や線画等のエッジ
部と誤差拡散法等による疑似中間調領域とが混在した画
像については、エッジ部の近傍がぼけてしまうことであ
る。
For the above-mentioned reasons, the above (1)-
The problem common to the method of (4) is that an image in which all input images are processed with pseudo-halftone can be expected to have some improvement in image quality due to higher gradation, but the edge portion of characters and line drawings and the error diffusion method can be expected. In the case of an image in which a pseudo-halftone area due to, for example, is mixed, the vicinity of the edge portion is blurred.

【0005】例えば、入力される2値画像について、変
換対象画素(以下、注目画素という)を中心とした縦5
画素、横5画素の合計25画素からなるブロック内に含
まれる「1」の数(すなわち、黒画素数)を計数し、こ
の計数値を出力すべき多値画像の階調数に正規化する場
合を考える。この場合、上記従来の手法(1)〜(4)
では、入力2値画像がすべて疑似中間調領域であれば良
好な多値復元が行われるが、疑似中間調以外の文字や線
画等のエッジ部を含んでいる場合には、多値化後の画像
はぼけた画像になってしまう。
For example, with respect to an input binary image, vertical 5 pixels centering on a pixel to be converted (hereinafter referred to as a target pixel)
The number of "1" (that is, the number of black pixels) included in a block consisting of 25 pixels in total of 5 pixels in the horizontal direction is counted, and this count value is normalized to the number of gradations of the multi-valued image to be output. Consider the case. In this case, the above conventional methods (1) to (4)
In the case, if the input binary images are all pseudo-halftone regions, good multi-valued restoration is performed. However, if the input binary images include edge parts such as characters and line drawings other than pseudo-halftones, they are The image becomes blurry.

【0006】この点、上記手法(4)においては、エッ
ジ部では多値化のためのブロックサイズを小さくするこ
とによって対処することが考えられる。すなわち、例え
ば図5に示すようなエッジ部を含む2値画像の太線30
4内の画素に対しては、注目画素を中心とした縦3画
素、横3画素の合計9画素からなる小さなブロック内に
含まれる黒画素数を計数し、多値画像の階調数(この場
合、8ビットすなわち256階調とする。)に正規化す
る。しかしながら、この場合でも多値化後の画像は、図
13に示すようにエッジ部の近傍がぼけた画像になる。
In view of this, in the above method (4), it can be considered to reduce the block size for multi-value quantization at the edge portion. That is, for example, the thick line 30 of the binary image including the edge portion as shown in FIG.
For the pixels in 4, the number of black pixels included in a small block consisting of a total of 9 pixels vertically 3 pixels horizontally 3 with the pixel of interest at the center is counted, and the number of gradations of the multivalued image (this In this case, it is normalized to 8 bits, that is, 256 gradations). However, even in this case, the multi-valued image is an image in which the vicinity of the edge portion is blurred as shown in FIG.

【0007】さらに極端な例として、文字や線画からな
る領域(以下、文字/線画領域という)では注目画素を
中心とするブロックを設定せずに、注目画素が「1」で
あれば多値化後の画素値として「255」(ただし、8
ビット値の画像の場合)を割り当てることを考える。こ
のような考えに基づく多値化は、例えば図14に示すよ
うな処理過程によって実現される。すなわち、3×3平
均多値化部101では、注目画素を中心とする縦3画
素、横3画素の合計9画素からなるウィンドウ内の黒画
素数を計数し、8ビットに正規化することにより入力2
値画像を多値化し、単純多値化部102では、注目画素
が「0」(すなわち、白画素)の場合は「0」に、
「1」(すなわち、黒画素)の場合は「255」に変換
する。また、属性判別部103では、入力される2値画
像の各画素毎に、当該画素が文字/線画領域であるか否
かを判定し、セレクタ104では、属性判別部103で
文字/線画領域と判定された画素については単純多値化
部102の出力を選択し、そうでない画素については3
×3平均多値化部101の出力を選択する。そして、仮
に図5に示す2値画像を入力した場合に属性判別部10
3で誤り無く判定がなされたとすると、図15に示すよ
うな判定結果(ただし、文字/線画領域は「1」、それ
以外は「0」)が得られる。さらにこの判定結果に基づ
き、3×3平均多値化部101と単純多値化部102と
が切り替えられると、図16に示すような多値画像が出
力される。この多値画像では、図13と比較して多少の
改善は認められるが、それでもまだエッジ部の近傍には
ぼけが生じてしまう。
As a more extreme example, in an area consisting of characters and line drawings (hereinafter referred to as a character / line drawing area), a block centering on the pixel of interest is not set, and if the pixel of interest is "1", it is multivalued. Subsequent pixel value is "255" (however, 8
(For bit-valued images). Multi-value quantization based on such an idea is realized by a processing process as shown in FIG. 14, for example. That is, the 3 × 3 average multi-value quantization unit 101 counts the number of black pixels in a window consisting of 9 pixels in total including 3 pixels in the vertical direction and 3 pixels in the horizontal direction with the pixel of interest at the center, and normalizes it to 8 bits. Input 2
The value image is multivalued, and the simple multivalue conversion unit 102 sets it to "0" when the pixel of interest is "0" (that is, a white pixel),
If it is "1" (that is, a black pixel), it is converted to "255". In addition, the attribute determination unit 103 determines, for each pixel of the input binary image, whether or not the pixel is a character / line drawing region. In the selector 104, the attribute determination unit 103 determines whether the pixel is a character / line drawing region. The output of the simple multi-value quantization unit 102 is selected for the determined pixel, and 3 is selected for the other pixels.
The output of the × 3 average multilevel conversion unit 101 is selected. Then, if the binary image shown in FIG.
If it is determined that there is no error in No. 3, the determination result as shown in FIG. 15 (however, "1" for the character / line drawing area and "0" for other cases) is obtained. Further, when the 3 × 3 average multi-value conversion unit 101 and the simple multi-value conversion unit 102 are switched based on this determination result, a multi-value image as shown in FIG. 16 is output. In this multi-valued image, some improvement is recognized as compared with FIG. 13, but blurring still occurs near the edge portion.

【0008】この発明は、このような背景の下になされ
たもので、文字や線画等のエッジ部分とそれ以外の誤差
拡散法等による疑似中間調部分とが混在する画像を高階
調化する場合に、エッジ部分の近傍でいわゆるぼけが生
じることがなく、高品質な多値画像を得ることができる
画像処理装置を提供することを目的としている。
The present invention has been made under such a background, and in the case of enhancing the gradation of an image in which an edge portion such as a character or a line drawing and a pseudo halftone portion other than the above are mixed. In addition, it is an object of the present invention to provide an image processing apparatus capable of obtaining a high-quality multivalued image without causing so-called blurring in the vicinity of an edge portion.

【0009】[0009]

【課題を解決するための手段】上述した課題を解決する
ために、請求項1記載の発明は、N(N≧2)値で表さ
れる入力画像をM(M>N)値で表される画像に変換し
て出力する画像処理装置において、前記入力画像内で変
換対象画素を含む所定の大きさの第1の領域を設定する
第1の領域設定手段と、前記第1の領域に含まれる画素
の特性を判別する属性判別手段と、前記属性判別手段に
より特定の属性であると判定された画素を前記第1の領
域から除いた第2の領域を設定する第2の領域設定手段
と、前記第2の領域に含まれる画素の値に基づき、該第
2の領域内の変換対象画素をN値からM値に変換する変
換手段とを具備することを特徴としている。
In order to solve the above-mentioned problems, the invention according to claim 1 represents an input image represented by N (N ≧ 2) values by M (M> N) values. In an image processing apparatus for converting into an image and outputting the converted image, a first area setting means for setting a first area having a predetermined size including a pixel to be converted in the input image, and included in the first area An attribute discriminating unit for discriminating characteristics of pixels to be displayed, and a second region setting unit for setting a second region excluding the pixels determined to have a specific attribute by the attribute discriminating unit from the first region. , And a conversion means for converting the conversion target pixel in the second area from the N value to the M value based on the value of the pixel included in the second area.

【0010】また、請求項2記載の発明は、画素の属性
情報とともに供給されるN(N≧2)値で表される入力
画像をM(M>N)値で表される画像に変換して出力す
る画像処理装置において、前記入力画像内で変換対象画
素を含む所定の大きさの第1の領域を設定する第1の領
域設定手段と、前記画素の属性情報に基づき、前記第1
の領域に含まれる入力画像から特定の属性を有する画素
を除いた第2の領域を設定する第2の領域設定手段と、
前記第2の領域に含まれる画素の値に基づき、該第2の
領域内の変換対象画素をN値からM値に変換する変換手
段とを具備することを特徴としている。
Further, according to the invention of claim 2, the input image represented by the N (N ≧ 2) value supplied together with the attribute information of the pixel is converted into the image represented by the M (M> N) value. In the image processing apparatus for outputting the first image, the first area setting means for setting a first area having a predetermined size including the conversion target pixel in the input image, and the first area setting means based on the attribute information of the pixel.
Second area setting means for setting a second area excluding pixels having a specific attribute from the input image included in the area,
And a conversion unit that converts the conversion target pixel in the second area from the N value to the M value based on the value of the pixel included in the second area.

【0011】(作用)請求項1記載の発明によれば、第
1の領域設定手段は、N(N≧2)値で表される入力画
像内で変換対象画素を含む所定の大きさの第1の領域を
設定し、属性判別手段は、第1の領域に含まれる画素の
特性を判別し、第2の領域設定手段は、属性判別手段に
より特定の属性であると判定された画素を第1の領域か
ら除いた第2の領域を設定し、変換手段は、第2の領域
に含まれる画素の値に基づき、該第2の領域内の変換対
象画素をN値からM(M>N)値に変換する。これによ
り、文字/線画等のエッジ部の画素の値に基づくことな
く、中間調領域のN値からM値への変換を行うことがで
きるので、エッジ部の近傍でいわゆるぼけが生じること
がない。
(Operation) According to the first aspect of the present invention, the first area setting means has a predetermined size including the conversion target pixel in the input image represented by an N (N ≧ 2) value. The first area is set, the attribute determining means determines the characteristics of the pixels included in the first area, and the second area setting means determines the pixel determined to have the specific attribute by the attribute determining means as the first area. The second region is set to the region other than the first region, and the conversion means sets the conversion target pixel in the second region from the N value to M (M> N) based on the value of the pixel included in the second region. ) Convert to a value. As a result, the conversion from the N value to the M value in the halftone region can be performed without being based on the pixel value of the edge portion of the character / line drawing or the like, so that so-called blurring does not occur near the edge portion. .

【0012】また、請求項2記載の発明によれば、入力
画像とともに供給される画素の属性情報に基づき、請求
項1記載の発明と同様の作用を奏するので、文字/線画
等のエッジ部の近傍でいわゆるぼけを生じさせることが
ない。
According to the second aspect of the invention, the same operation as that of the first aspect of the invention is achieved based on the attribute information of the pixel supplied together with the input image. So-called blurring does not occur in the vicinity.

【0013】[0013]

【発明の実施の形態】以下、図面を参照して、この発明
の実施形態について説明する。 A:第1実施形態 (1)実施形態の構成 図1はこの発明の第1実施形態による画像処理装置の構
成を示すブロック図である。図1において、201は属
性判別部であり、入力される2値画像について画素毎に
文字または線画からなる領域(以下、「文字/線画領
域」という)に属する画素であるか否かを判定し、この
判定結果を出力する。
DETAILED DESCRIPTION OF THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. A: First Embodiment (1) Configuration of the Embodiment FIG. 1 is a block diagram showing the configuration of the image processing apparatus according to the first embodiment of the present invention. In FIG. 1, reference numeral 201 denotes an attribute determination unit, which determines whether or not the input binary image is a pixel belonging to a region consisting of a character or a line drawing (hereinafter referred to as “character / line drawing region”) for each pixel. , This determination result is output.

【0014】202は単純多値化部であり、入力される
2値画像を8ビット値に単純多値化する。すなわち、単
純多値化部202は、値「0」の入力画素(白画素)を
値「0」に、値「1」の入力画素(黒画素)を値「25
5」に変換する。
Reference numeral 202 denotes a simple multi-value conversion unit which converts an input binary image into 8-bit values. That is, the simple multi-value quantization unit 202 sets an input pixel (white pixel) having a value “0” to a value “0” and an input pixel (black pixel) having a value “1” to a value “25”.
5 ".

【0015】203はセレクタであり、属性判別部20
1の判定結果に応じて単純多値化部201の出力と後述
する演算部206の出力のいずれかを選択して出力す
る。すなわち、セレクタ203は、入力画素が「文字/
線画領域」に属すると判定された場合、単純多値化部2
02の出力を選択し、入力画素が「文字/線画領域」に
属しないと判定された場合、演算部206の出力を選択
する。
Reference numeral 203 denotes a selector, which is an attribute discrimination unit 20.
Either the output of the simple multi-value quantization unit 201 or the output of the calculation unit 206 described later is selected and output according to the determination result of 1. That is, in the selector 203, the input pixel is "character /
If it is determined to belong to the “line drawing area”, the simple multi-value quantization unit 2
If the output of No. 02 is selected and it is determined that the input pixel does not belong to the “character / line drawing area”, the output of the calculation unit 206 is selected.

【0016】204はブロックサイズ決定部であり、入
力される2値画像を多値化変換するためにブロック化す
る際のブロックサイズを決定する。205はブロック化
部であり、ブロックサイズ決定部204によって決定さ
れたブロックサイズによって入力2値画像をブロック化
するとともに、このブロック化した画素群から属性判別
部201によって「文字/線画領域」に属すると判定さ
れた画素を除いた画素群を演算部206に出力する。
A block size determining unit 204 determines a block size when the input binary image is divided into blocks for multi-value conversion. A blocking unit 205 blocks the input binary image into blocks according to the block size determined by the block size determination unit 204, and belongs to a “character / line drawing area” from the blocked pixel group by the attribute determination unit 201. The pixel group excluding the pixels determined to be output to the calculation unit 206.

【0017】演算部206は、ブロック化部205から
供給される画素を多値化変換し、この結果を出力する。
すなわち、演算部206は、ブロック化部205から供
給される画素群に含まれる黒画素数を計数し、8ビット
に正規化した値を出力する。例えば、演算部206に入
力される画素群の総画素数をN、当該画素群に含まれる
黒画素数をnとすると、下式(1)によって多値化データ
Mを算出する。 M=255×(n/N) …………(1)
The arithmetic unit 206 multivalues the pixels supplied from the blocking unit 205 and outputs the result.
That is, the calculation unit 206 counts the number of black pixels included in the pixel group supplied from the blocking unit 205 and outputs a value normalized to 8 bits. For example, assuming that the total number of pixels of the pixel group input to the calculation unit 206 is N and the number of black pixels included in the pixel group is n, the multivalued data M is calculated by the following equation (1). M = 255 × (n / N) ………… (1)

【0018】(2)実施形態の動作 次に、上記構成からなる画像処理装置の動作を説明す
る。まず、当該画像処理装置に2値画像が入力される
と、属性判別部201において、各画素毎に変換対象画
素(以下、注目画素という)が「文字/線画領域」に属
するか否かが判定される。
(2) Operation of Embodiment Next, the operation of the image processing apparatus having the above configuration will be described. First, when a binary image is input to the image processing apparatus, the attribute determination unit 201 determines for each pixel whether or not the conversion target pixel (hereinafter, referred to as a target pixel) belongs to the “character / line drawing area”. To be done.

【0019】ここで、注目画素が「文字/線画領域」に
属すると判定された場合、セレクタ203において単純
多値化部202の出力が選択され、これにより注目画素
を単純多値化した多値画像データが出力される。
If it is determined that the pixel of interest belongs to the "character / line drawing area", the selector 203 selects the output of the simple multi-value quantization unit 202, and the multi-value obtained by simple multi-value conversion of the pixel of interest is thereby selected. Image data is output.

【0020】一方、属性判別部201において、注目画
素が「文字/線画領域」に属しないと判定された場合、
セレクタ203において演算部206の出力が選択され
る。この場合、注目画素はブロックサイズ決定部20
4、ブロック化部205および演算部206を経て、以
下のように多値化される。
On the other hand, when the attribute discrimination unit 201 determines that the pixel of interest does not belong to the "character / line drawing area",
The output of the calculation unit 206 is selected by the selector 203. In this case, the pixel of interest is the block size determination unit 20.
4, through the blocking unit 205 and the arithmetic unit 206, the signal is multivalued as follows.

【0021】まず、ブロックサイズ決定部204では、
入力2値画像のうち注目画素を中心とした縦5画素、横
5画素の合計25画素について、例えば図2に示すA、
B、C、Dの4通りの係数によって畳み込み演算を行
う。そして、これら演算結果のうち絶対値が最も大きい
ものが予め設定された閾値以上の場合には、図3に示す
注目画素を中心とした縦3画素、横3画素の小ブロック
サイズをブロック化部204に指示し、閾値未満の場合
には図4に示す注目画素を中心とした縦5画素、横5画
素の大ブロックサイズをブロック化部204に指示す
る。
First, in the block size determination unit 204,
For a total of 25 pixels of 5 pixels in the vertical direction and 5 pixels in the horizontal direction in the input binary image, the pixel of interest is the center, for example, A shown in FIG.
The convolution operation is performed using four types of coefficients B, C, and D. Then, if the one with the largest absolute value among these calculation results is greater than or equal to a preset threshold value, a block size of 3 pixels in the vertical direction and 3 pixels in the horizontal direction with the pixel of interest shown in FIG. If it is less than the threshold, the block forming unit 204 is instructed of a large block size of 5 pixels in the vertical direction and 5 pixels in the horizontal direction with the pixel of interest shown in FIG. 4 as the center.

【0022】ここで、例えば図5に示すエッジ部を含む
2値画像を入力画像とした場合、ブロックサイズ決定部
204の出力および属性判別部201の判別結果は、図
6に示すように模式的に表される。図6において、
「T」は属性判別部201によって「文字/線画領域」
と判定された画素を、「S」は属性判別部201によっ
て「文字/線画領域」以外と判定され、かつブロックサ
イズ決定部204によって小ブロックサイズが指示され
た画素を、「W」は属性判別部201によって「文字/
線画領域」以外と判定され、かつ大ブロックサイズが指
示された画素をそれぞれ表している。
Here, for example, when the binary image including the edge portion shown in FIG. 5 is used as the input image, the output of the block size determining unit 204 and the determination result of the attribute determining unit 201 are schematically shown in FIG. Represented by. In FIG.
“T” is a “character / line drawing area” by the attribute determination unit 201.
“W” is an attribute determination pixel for which the “S” is determined to be other than “character / line drawing area” by the attribute determination unit 201 and a small block size is instructed by the block size determination unit 204. According to the part 201, "character /
Pixels which are determined to be other than the "line drawing area" and whose large block size is designated are shown.

【0023】図6において、太線で囲まれた画素301
を注目画素とすると、ブロック化部204は、この注目
画素301が「文字/線画領域」以外で、かつ小ブロッ
クサイズが指示されていることから、当該注目画素30
1を中心とした縦3画素、横3画素の画素ブロック30
2を選択する。さらに、ブロック化部204は、画素ブ
ロック302内の画素群から属性判別部203によって
「文字/線画領域」と判定された画素(すなわち、右下
の「T」で表される画素)を除き、図7に示すような新
たな画素ブロックを作成する。
In FIG. 6, a pixel 301 surrounded by a thick line
Is the target pixel, the blocking unit 204 determines that the target pixel 301 is outside the “character / line drawing area” and a small block size is designated.
Pixel block 30 with 3 pixels vertically and 3 pixels horizontally
Select 2. Further, the blocking unit 204 excludes pixels determined by the attribute determination unit 203 as “character / line drawing areas” from the pixel group in the pixel block 302 (that is, pixels represented by “T” in the lower right). A new pixel block as shown in FIG. 7 is created.

【0024】こうして作成された画素ブロックは演算部
206に供給され、該演算部206においては、「文字
/線画領域」を除く画素ブロック内の黒画素数が計数さ
れ、式(1)に基づき多値画像データMが算出される。こ
の結果、図5に示す太線304内の入力2値画像は、図
8に示すように、「文字/線画領域」のエッジ部分がシ
ャープに現れた多値画像に変換される。
The pixel block thus created is supplied to the arithmetic unit 206, and in the arithmetic unit 206, the number of black pixels in the pixel block excluding the "character / line drawing area" is counted and calculated based on the equation (1). The value image data M is calculated. As a result, the input binary image within the thick line 304 shown in FIG. 5 is converted into a multivalued image in which the edge portion of the “character / line drawing area” appears sharply, as shown in FIG.

【0025】また、例えば図9に示す疑似中間調の2値
画像を入力画像とした場合、ブロックサイズ決定部20
4の出力および属性判別部201の判別結果は、図10
に示すように模式的に表される。図10において、すべ
ての入力画素は、属性判別部201によって「文字/線
画領域」以外と判定されることから、ブロックサイズ決
定部204は、すべての入力画素について大ブロックサ
イズ「W」を指示する。
Further, for example, when the pseudo-halftone binary image shown in FIG. 9 is used as the input image, the block size determining unit 20
4 and the discrimination result of the attribute discrimination unit 201 are shown in FIG.
It is represented schematically as shown in. In FIG. 10, since all the input pixels are determined to be other than the “character / line drawing area” by the attribute determination unit 201, the block size determination unit 204 indicates the large block size “W” for all the input pixels. .

【0026】これにより、すべての入力画素について、
図4に示す注目画素を中心とした大ブロックサイズの画
素ブロック内で黒画素数が計数され、式(1)に基づき多
値画像データMが算出される。この結果、図9に示す太
線303内の入力2値画像は、図11に示すように多値
化され、良好な中間調画像の変換結果が得られる。
Thus, for all input pixels,
The number of black pixels is counted in a pixel block having a large block size centered on the pixel of interest shown in FIG. 4, and the multi-valued image data M is calculated based on the equation (1). As a result, the input binary image within the thick line 303 shown in FIG. 9 is multivalued as shown in FIG. 11, and a good halftone image conversion result is obtained.

【0027】B:第2実施形態 次に、この発明の第2実施形態について説明する。図1
2はこの発明の第2実施形態による画像処理装置の構成
を示すブロック図である。この図において、図1に示し
た第1実施形態と共通する部分については同一の符号を
付し、説明を省略する。また、図12に示す第2実施形
態が図1に示した第1実施形態と異なる点は、入力画素
が「文字/線画領域」に属するか否かを示す情報を2値
画像とともに送信側から供給する構成にしたところにあ
る。したがって、第1実施形態において設けられていた
属性判別部201が不要となっている。その他の構成に
ついては、第1実施形態と同様である。
B: Second Embodiment Next, a second embodiment of the present invention will be described. FIG.
2 is a block diagram showing the configuration of an image processing apparatus according to the second embodiment of the present invention. In this figure, parts common to those of the first embodiment shown in FIG. 1 are designated by the same reference numerals, and description thereof will be omitted. The difference between the second embodiment shown in FIG. 12 and the first embodiment shown in FIG. 1 is that information indicating whether or not an input pixel belongs to a “character / line drawing area” is sent from the transmission side together with a binary image. It is in a place to supply. Therefore, the attribute discriminating unit 201 provided in the first embodiment is unnecessary. Other configurations are the same as in the first embodiment.

【0028】このような構成によれば、送信側から供給
される「文字/線画領域」に属するか否かを示す情報に
基づき、セレクタ206の切り替えが行われ、ブロック
化部201にて「文字/線画領域」を除く新たな画素ブ
ロックが作成される。その他の動作については上記第1
実施形態と同様であり、結果として第1実施形態と同様
の作用効果を奏する。
According to such a configuration, the selector 206 is switched based on the information supplied from the transmitting side and indicating whether or not it belongs to the “character / line drawing area”, and the blocking unit 201 displays “character / line drawing area”. A new pixel block excluding "/ line drawing area" is created. For other operations, refer to the above 1st
This is the same as the embodiment, and as a result, the same operational effect as that of the first embodiment is obtained.

【0029】C:変更例等 なお、既述した実施形態では、属性判別部201におけ
る具体的な判別方式について詳述しなかったが、例えば
特開平5−143726号公報に開示された判別手法が
適用可能である。この公報には、一次微分フィルタを用
いてエッジ検出を行うことにより中間調部とその他のエ
ッジ部とを判別する手法が記載されている。勿論、属性
判別手段201に適用すべき判別手法としては、上記公
報に記載のものに限らず、その他のいずれか公知の手法
を適用してもよい。
C: Modifications, etc. In the above-described embodiment, the specific discrimination method in the attribute discrimination unit 201 was not described in detail, but the discrimination method disclosed in, for example, Japanese Patent Laid-Open No. 5-143726 is used. Applicable. This publication describes a method of discriminating between a halftone portion and other edge portions by performing edge detection using a first-order differential filter. Of course, the discrimination method to be applied to the attribute discrimination means 201 is not limited to that described in the above publication, and any other known method may be applied.

【0030】また、演算部206における多値化手法に
ついては、上記実施形態に示した注目画素を中心とした
画素ブロック内の黒画素数を計数することによるものに
限らず、例えば上記特開平5−143726号公報に開
示された手法を適用することも可能である。該公報に
は、誤差拡散法による中間調画像に特有の高調波成分を
除去すべく、なだらかな山形の多値変換用フィルタを用
いて多値化する手法が記載されている。勿論、その他の
公知の多値化手法を採用することも可能である。
Further, the multi-valued method in the arithmetic unit 206 is not limited to the method of counting the number of black pixels in the pixel block centering on the pixel of interest shown in the above embodiment, and for example, the above-mentioned Japanese Patent Laid-Open No. It is also possible to apply the method disclosed in Japanese Patent Publication No. 143726. This publication describes a method of multi-valued conversion using a gentle mountain-shaped multi-value conversion filter in order to remove a harmonic component peculiar to a halftone image by the error diffusion method. Of course, it is also possible to adopt other known multi-valued methods.

【0031】さらに、上記実施形態では、2値画像を多
値化する場合について説明したが、これに限らず、本発
明は、いわゆる低階調データから高階調データへの変換
という広い範囲の高階調化変換に適用可能である。
Further, in the above embodiment, the case where the binary image is multi-valued has been described. However, the present invention is not limited to this, and the present invention has a wide range of higher order conversion from so-called low gradation data to high gradation data. It is applicable to modulation conversion.

【0032】[0032]

【発明の効果】以上説明したように、この発明によれ
ば、文字や線画等のエッジ部分とそれ以外の誤差拡散法
等による疑似中間調部分とが混在する画像をN(N≧
2)値からM(M>N)値へ高階調化する場合に、エッ
ジ部の近傍でいわゆるぼけが生じることがなく、高品質
な高階調化変換が可能となる。
As described above, according to the present invention, an image in which an edge part such as a character or a line drawing and a pseudo halftone part other than the error diffusion method are mixed is N (N ≧ N).
When the gradation is increased from the 2) value to the M (M> N) value, so-called blurring does not occur in the vicinity of the edge portion, and high-quality gradation conversion can be performed.

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

【図1】 この発明の第1実施形態による画像処理装置
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to a first embodiment of the present invention.

【図2】 第1実施形態によるブロックサイズ決定部の
フィルタ係数を示す図である。
FIG. 2 is a diagram showing filter coefficients of a block size determination unit according to the first embodiment.

【図3】 第1実施形態による小サイズブロック化を説
明する図である。
FIG. 3 is a diagram illustrating small size block formation according to the first embodiment.

【図4】 第1実施形態による大サイズブロック化を説
明する図である。
FIG. 4 is a diagram illustrating large-sized block formation according to the first embodiment.

【図5】 文字/線画領域を含む2値画像の例を示す図
である。
FIG. 5 is a diagram showing an example of a binary image including a character / line drawing area.

【図6】 図5に示す2値画像に対する属性判定結果お
よびブロックサイズ決定結果を示す模式図である。
6 is a schematic diagram showing an attribute determination result and a block size determination result for the binary image shown in FIG.

【図7】 第1実施形態によるブロック化処理結果を示
す図である。
FIG. 7 is a diagram showing a block processing result according to the first embodiment.

【図8】 第1実施形態による文字/線画領域の高階調
化処理結果を示す図である。
FIG. 8 is a diagram showing a high gradation processing result of a character / line drawing area according to the first embodiment.

【図9】 疑似中間調処理された2値画像の例を示す図
である。
FIG. 9 is a diagram showing an example of a binary image subjected to pseudo halftone processing.

【図10】 図9に示す2値画像に対する属性判定結果
およびブロックサイズ決定結果を示す模式図である。
10 is a schematic diagram showing attribute determination results and block size determination results for the binary image shown in FIG.

【図11】 第1実施形態による図9に示す2値画像の
高階調化処理結果を示す図である。
FIG. 11 is a diagram showing a high gradation processing result of the binary image shown in FIG. 9 according to the first embodiment.

【図12】 この発明の第2実施形態による画像処理装
置の構成を示すブロック図である。
FIG. 12 is a block diagram showing a configuration of an image processing apparatus according to a second embodiment of the present invention.

【図13】 従来技術による文字/線画領域の高階調化
処理結果の一例を示す図である。
FIG. 13 is a diagram showing an example of a high gradation processing result of a character / line drawing area according to a conventional technique.

【図14】 従来技術に基づく処理過程を説明するブロ
ック図である。
FIG. 14 is a block diagram illustrating a processing process based on a conventional technique.

【図15】 図14に示す処理過程における属性判定結
果を示す図である。
FIG. 15 is a diagram showing an attribute determination result in the process shown in FIG.

【図16】 図14に示す処理過程における文字/線画
領域の高階調化処理結果を示す図である。
FIG. 16 is a diagram showing a result of high gradation processing of a character / line drawing area in the processing process shown in FIG. 14;

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

201 属性判別部 202 単純多値化部 203 セレクタ 204 ブロックサイズ決定部 205 ブロック化部 206 演算部 201 Attribute discriminating unit 202 Simple multi-valued unit 203 Selector 204 Block size determining unit 205 Blocking unit 206 Computing unit

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 5/00 G06F 15/68 310J H04N 1/405 H04N 1/40 B Continuation of front page (51) Int.Cl. 6 Identification code Office reference number FI Technical display location G06T 5/00 G06F 15/68 310J H04N 1/405 H04N 1/40 B

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 N(N≧2)値で表される入力画像をM
(M>N)値で表される画像に変換して出力する画像処
理装置において、 前記入力画像内で変換対象画素を含む所定の大きさの第
1の領域を設定する第1の領域設定手段と、 前記第1の領域に含まれる画素の特性を判別する属性判
別手段と、 前記属性判別手段により特定の属性であると判定された
画素を前記第1の領域から除いた第2の領域を設定する
第2の領域設定手段と、 前記第2の領域に含まれる画素の値に基づき、該第2の
領域内の変換対象画素をN値からM値に変換する変換手
段とを具備することを特徴とする画像処理装置。
1. An input image represented by N (N ≧ 2) values is M
In an image processing device for converting and outputting to an image represented by (M> N) value, first region setting means for setting a first region of a predetermined size including a conversion target pixel in the input image. An attribute discriminating unit that discriminates the characteristics of pixels included in the first region; and a second region in which the pixels determined to have a specific attribute by the attribute discriminating unit are excluded from the first region. A second area setting means for setting; and a conversion means for converting a conversion target pixel in the second area from an N value to an M value based on a value of a pixel included in the second area. An image processing device characterized by:
【請求項2】 画素の属性情報とともに供給されるN
(N≧2)値で表される入力画像をM(M>N)値で表
される画像に変換して出力する画像処理装置において、 前記入力画像内で変換対象画素を含む所定の大きさの第
1の領域を設定する第1の領域設定手段と、 前記画素の属性情報に基づき、前記第1の領域に含まれ
る入力画像から特定の属性を有する画素を除いた第2の
領域を設定する第2の領域設定手段と、 前記第2の領域に含まれる画素の値に基づき、該第2の
領域内の変換対象画素をN値からM値に変換する変換手
段とを具備することを特徴とする画像処理装置。
2. N supplied together with pixel attribute information
An image processing apparatus for converting an input image represented by (N ≧ 2) value into an image represented by M (M> N) value and outputting the image, wherein the input image has a predetermined size including a conversion target pixel. Area setting means for setting a first area of the first area, and a second area of the input image included in the first area, excluding pixels having a specific attribute, based on the attribute information of the pixel. A second area setting means for converting the N-value to the M-value for the conversion target pixel in the second area based on the values of the pixels included in the second area. A characteristic image processing device.
JP7197803A 1995-08-02 1995-08-02 Image processing unit Pending JPH0951431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7197803A JPH0951431A (en) 1995-08-02 1995-08-02 Image processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7197803A JPH0951431A (en) 1995-08-02 1995-08-02 Image processing unit

Publications (1)

Publication Number Publication Date
JPH0951431A true JPH0951431A (en) 1997-02-18

Family

ID=16380615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7197803A Pending JPH0951431A (en) 1995-08-02 1995-08-02 Image processing unit

Country Status (1)

Country Link
JP (1) JPH0951431A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006319975A (en) * 2005-05-11 2006-11-24 Xerox Corp Method and system for extending binary image data to contone image data
JP2007088970A (en) * 2005-09-26 2007-04-05 Fuji Xerox Co Ltd Output apparatus
US7773254B2 (en) 2005-11-10 2010-08-10 Xerox Corporation Method and system for improved copy quality in a multifunction reprographic system
US7869093B2 (en) 2005-11-17 2011-01-11 Xerox Corporation Method and system for improved copy quality in a multifunction reprographic system
US8797601B2 (en) 2012-03-22 2014-08-05 Xerox Corporation Method and system for preserving image quality in an economy print mode
US9460491B2 (en) 2008-08-25 2016-10-04 Xerox Corporation Method for binary to contone conversion with non-solid edge detection

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006319975A (en) * 2005-05-11 2006-11-24 Xerox Corp Method and system for extending binary image data to contone image data
US7787703B2 (en) 2005-05-11 2010-08-31 Xerox Corporation Method and system for extending binary image data to contone image data
JP4610517B2 (en) * 2005-05-11 2011-01-12 ゼロックス コーポレイション Method and system for extending binary image data to contone image data
JP2007088970A (en) * 2005-09-26 2007-04-05 Fuji Xerox Co Ltd Output apparatus
US7773254B2 (en) 2005-11-10 2010-08-10 Xerox Corporation Method and system for improved copy quality in a multifunction reprographic system
US8023150B2 (en) 2005-11-10 2011-09-20 Xerox Corporation Method and system for improved copy quality by generating contone value based on pixel pattern and image context type around pixel of interest
US7869093B2 (en) 2005-11-17 2011-01-11 Xerox Corporation Method and system for improved copy quality in a multifunction reprographic system
US9460491B2 (en) 2008-08-25 2016-10-04 Xerox Corporation Method for binary to contone conversion with non-solid edge detection
US8797601B2 (en) 2012-03-22 2014-08-05 Xerox Corporation Method and system for preserving image quality in an economy print mode

Similar Documents

Publication Publication Date Title
JP3640979B2 (en) Inverse halftoning method using linear filtering and statistical smoothing
KR100477656B1 (en) Method and apparatus for improvement of digital image quality
JP2871127B2 (en) Image processing apparatus and method
EP0113016B1 (en) Correction of shading effects in video images
JPH1127517A (en) Image-processing apparatus
EP1392047A2 (en) Digital document processing for image enhancement
US7327504B2 (en) Method of detecting clipped image pixels
JP3700357B2 (en) Image processing device
JPH10214339A (en) Picture filtering method
CN113781367B (en) Noise reduction method after low-illumination image histogram equalization
JPH0951431A (en) Image processing unit
JP4499095B2 (en) Method for selectively smoothing pixels of an image to reduce bleed-through
JP3142279B2 (en) Halftone dot area separation device
JP3703180B2 (en) Image processing apparatus and image processing method
EP0531923A2 (en) Method and apparatus for gray-level quantization
JPH08191387A (en) Image processor
JP2778669B2 (en) Halftone area detection method
JP2004282532A (en) Image processing apparatus
JP2860039B2 (en) Pseudo halftone image reduction device
JP2978363B2 (en) Halftone image estimation device
JP3245586B2 (en) Pole pixel detection device
JP2878695B2 (en) Image processing apparatus and multi-value image estimation method
JP3393433B2 (en) Image processing apparatus and method
Baldin et al. Development and Analysis Methods of Images Quality Improvement with Violation of Contrast
JPH03219774A (en) Picture processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050124

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050308