JPH11122493A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH11122493A
JPH11122493A JP9293482A JP29348297A JPH11122493A JP H11122493 A JPH11122493 A JP H11122493A JP 9293482 A JP9293482 A JP 9293482A JP 29348297 A JP29348297 A JP 29348297A JP H11122493 A JPH11122493 A JP H11122493A
Authority
JP
Japan
Prior art keywords
error
edge
image data
background
output
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
JP9293482A
Other languages
Japanese (ja)
Inventor
Mamoru Maeda
護 前田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP9293482A priority Critical patent/JPH11122493A/en
Priority to GB0127700A priority patent/GB2366764B/en
Publication of JPH11122493A publication Critical patent/JPH11122493A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a picture processor in which a texture level can be accurately detected and removed. SOLUTION: This device is provided with an edge judger 40 for judging the edge of inputted multi-value picture data, and deciding the weighting factor of error diffusion from the judged result, texture extractor 10 for detecting the texture components of the multi-value picture data by referring to the edge detected by the edge judger, subtractor 20 for subtracting the texture components from the multi-value picture data, output converter 30 for outputting the picture data by decreasing the concentration gradation of the inputted multi- level data, and detecting error components which can not be converted, and error arithmetic unit 50 for multiplying the detected error components by the weighting factor decided by the edge judger. Then, the error components multiplied by the weighting factor by the error arithmetic unit 50 are added to a difference value from the subtractor 20, and returned to the output converter 30 again. Thus, it is possible to accurately remove the texture components at the edge part.

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 applied to a digital copying machine, a printer and the like, and more particularly to an image processing apparatus capable of accurately detecting and removing a background level at an edge portion. .

【0002】[0002]

【従来の技術】従来、誤差拡散法を用いて入力した画像
データの処理を行うと以下に示すような問題が発生する
こととなる。 1.誤差拡散は、地肌レベルを適正に処理しないと周期
的な出力として再現される。 2.高濃度領域と低濃度領域が隣接し、その境界がはっ
きりしている領域では再現した濃度が濃度の変化に追従
することができず、変化の前の領域の影響がしばらく残
り、結果として境界部(エッジ)の再現性が悪化する。
2. Description of the Related Art Conventionally, when processing image data input using an error diffusion method, the following problems occur. 1. Error diffusion is reproduced as a periodic output if the background level is not properly processed. 2. In an area where the high density area and the low density area are adjacent and the boundary is clear, the reproduced density cannot follow the change in density, and the effect of the area before the change remains for a while. (Edge) reproducibility deteriorates.

【0003】上記の問題を解決するために提案された従
来例1として、特開平8−228284号公報の“画像
処理方法および画像処理装置”がある。本従来例は多階
調の画素データを入力し、誤差拡散法による2値化処理
を行って2値画像を出力する画像処理方法において、2
値化処理を行うべくライン内に存在する画素列の画素ご
とに、2値化処理する順番を設定し、設定された順番で
各画素ごとにその画素データを用いて誤差拡散法による
2値化処理を行い、前記誤差拡散法による2値化処理に
おいては、2値化処理中の画素に対して主走査方向に隣
接する画素の2値化処理状況に対応するべく複数の誤差
拡散マトリクスを用意し、前記2値化処理中の画素に隣
接する画素が2値化処理済か否かに応じて誤差拡散マト
リクスを選択することにより誤差拡散法を用いた2値化
処理において生ずるテクスチャの防止を図ることを目的
としている。
As a first conventional example proposed to solve the above-mentioned problem, there is “Image Processing Method and Image Processing Apparatus” of Japanese Patent Application Laid-Open No. Hei 8-228284. In this conventional example, in an image processing method of inputting multi-gradation pixel data, performing binary processing by an error diffusion method, and outputting a binary image,
The binarization processing order is set for each pixel in the pixel row existing in the line to perform the binarization processing, and binarization by the error diffusion method is performed using the pixel data for each pixel in the set order. Processing, and in the binarization processing by the error diffusion method, a plurality of error diffusion matrices are prepared to correspond to the binarization processing state of a pixel adjacent to the pixel being binarized in the main scanning direction. By selecting an error diffusion matrix according to whether or not a pixel adjacent to the pixel undergoing the binarization processing has been binarized, it is possible to prevent a texture generated in the binarization processing using the error diffusion method. It is intended for planning.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来例1の画像処理方法および画像処理装置は多階調画像
データを入力して2値画像データを出力しており、多値
の画像データを多値の画像データとして出力し、テクス
チャを防止することのできる装置については述べられて
いない。
However, the image processing method and the image processing apparatus of the above-mentioned prior art 1 input multi-tone image data and output binary image data. There is no description of a device that can output texture image data and prevent texture.

【0005】また上記の2値出力の誤差拡散法では階調
がゆっくりと変化する領域、特に肌色で代表される領域
では擬似輪郭が目立つこととなる。
In the above-described error diffusion method of binary output, a pseudo contour becomes conspicuous in a region where the gradation changes slowly, particularly in a region represented by skin color.

【0006】本発明は、入力した多階調データよりも少
ない階調のデータに変換して安定した階調の再現を可能
とした画像処理装置を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an image processing apparatus capable of converting data into data having a smaller number of gradations than input multi-gradation data and enabling stable reproduction of gradations.

【0007】[0007]

【課題を解決するための手段】かかる目的を達成するた
めに本発明の画像処理装置は、多値の画像データを入力
し多値の画像データを出力する多値誤差拡散法を適用す
る画像処理装置であり、入力した多値の画像データのエ
ッジを判定し、その判定結果から誤差拡散の重み係数を
決定するエッジ判定手段と、多値の画像データの地肌成
分をエッジ判定手段により判定されたエッジを参照して
検出する地肌抽出手段と、多値の画像データから地肌抽
出手段により抽出された地肌成分を減算する差分検出手
段と、入力した多階調データの濃度階調を落として出力
する出力変換手段と、出力変換手段による変換時に変換
しきれなかった誤差成分を検出する誤差検出手段と、誤
差検出手段により検出された誤差成分にエッジ判定手段
により決定された重み係数を乗算する乗算手段とを有
し、乗算手段により重み係数を乗算された誤差成分を差
分検出手段により検出された差分値に加えて、出力変換
手段によりもう一度出力変換を行うことを特徴としてい
る。
In order to achieve the above object, an image processing apparatus according to the present invention employs a multi-level error diffusion method for inputting multi-level image data and outputting multi-level image data. An edge determination unit that determines an edge of the input multi-valued image data and determines a weight coefficient of error diffusion from the determination result, and a background component of the multi-valued image data is determined by the edge determination unit. Background extraction means for detecting by referring to the edge; difference detection means for subtracting the background component extracted by the background extraction means from the multi-valued image data; An output conversion unit, an error detection unit that detects an error component that cannot be completely converted at the time of conversion by the output conversion unit, and an error component detected by the error detection unit determined by the edge determination unit. Multiplying means for multiplying only the coefficients by adding the error component multiplied by the weighting coefficient to the difference value detected by the difference detecting means, and performing output conversion again by the output converting means. I have.

【0008】上記の画像処理装置は、操作者が動作設定
を入力するための入力手段と、差分検出手段に出力する
地肌成分を入力手段より入力された指示に基づく地肌成
分と、地肌抽出手段により抽出された地肌成分とで切り
替える切り替え手段とをさらに有するとよい。
[0008] The above image processing apparatus includes an input means for inputting an operation setting by an operator, a background component based on an instruction input from the input means, and a background component to be output to the difference detecting means. It is preferable to further include switching means for switching between the extracted background component and the extracted background component.

【0009】上記のエッジ検出手段は、注目画素とその
周囲の画素の画像濃度により画像データのエッジとその
方向を検出し、検出した結果から誤差拡散の重み係数を
変更するとよい。
The edge detecting means may detect the edge of the image data and its direction based on the image density of the pixel of interest and its surrounding pixels, and change the error diffusion weighting coefficient based on the detected result.

【0010】[0010]

【発明の実施の形態】次に添付図面を参照して本発明の
画像処理装置の実施の形態を詳細に説明する。図1〜図
9を参照すると本発明の画像処理装置の一実施形態が示
されている。尚、図1は本発明の画像処理装置の全体の
構成を表すブロック構成図、図2は地肌抽出器の構成を
表すブロック構成図、図3は主走査方向の画像データの
濃度変化と地肌レベルの追従の様子を表す図、図4はエ
ッジ判定器の構成を表すブロック構成図、図5はエッジ
レジスタの構成を表す図、図6のAはエッジ判定を行わ
ない場合の重み配分の一例、図6のBはエッジにより再
配分された重み係数の一例、図7は誤差演算器の構成を
表すブロック構成図、図8は出力テーブルの一例、図9
は出力変換器により検出された誤差成分を表す図であ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of the image processing apparatus of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 to FIG. 9 show an embodiment of the image processing apparatus of the present invention. FIG. 1 is a block diagram showing the overall configuration of the image processing apparatus according to the present invention, FIG. 2 is a block diagram showing the configuration of a background extractor, and FIG. 3 is a diagram showing the density change and background level of image data in the main scanning direction. FIG. 4 is a block diagram illustrating a configuration of an edge determiner, FIG. 5 is a diagram illustrating a configuration of an edge register, FIG. 6A is an example of weight distribution when edge determination is not performed, FIG. 6B is an example of a weight coefficient redistributed by an edge, FIG. 7 is a block diagram showing a configuration of an error calculator, FIG. 8 is an example of an output table, FIG.
FIG. 3 is a diagram illustrating an error component detected by an output converter.

【0011】本発明は、多値誤差拡散にかかわるので、
入力画像の地肌レベルによって発生するテクスチャの除
去、階調のゆるやかな変化領域で発生しやすい擬似輪郭
の低減、急激な濃度変化部での追従遅れによる、いわゆ
る尾引きを低減することを目的としている。
Since the present invention is concerned with multi-level error diffusion,
The purpose is to remove textures that occur due to the background level of the input image, to reduce false contours that are likely to occur in areas where the gradation changes slowly, and to reduce so-called tailing due to delay in following in sharp density changes. .

【0012】図1に示すように、本実施形態の主要な構
成は、入力した多値の画像データPIから、地肌レベル
Pbを抽出する地肌抽出器10、地肌レベルPbと多値
の画像データPIの差分値PSを求める差分器20、差
分値PSと誤差出力Eroutを加算する加算器60、
その出力加算値Paを多値入力Poutと誤差入力Er
inに分ける出力変換器30、誤差入力Evinに、多
値の画像データPIからエッジを判定するエッジ判定器
40の出力エッジ(Edge)によって制御される重み
係数を乗じて、誤差出力Eroutを得る誤差演算器4
0により構成される。
As shown in FIG. 1, a main configuration of the present embodiment includes a background extractor 10 for extracting a background level Pb from input multi-value image data PI, a background level Pb and multi-value image data PI. , A difference unit 20 for calculating the difference value PS, an adder 60 for adding the difference value PS and the error output Eout,
The output addition value Pa is converted to a multi-value input Pout and an error input Er
The output converter 30, which divides the output into in, multiplies the error input Evin by a weight coefficient controlled by the output edge (Edge) of the edge determiner 40 that determines an edge from the multi-valued image data PI, thereby obtaining an error output Erout. Arithmetic unit 4
0.

【0013】次に上記の構成による動作例を説明する。
読み取られた多値の画像データPIは地肌抽出器10と
差分器20とエッジ判定器40に入力される。エッジ判
定器40は注目画素とその周囲画素データの濃度分布か
らエッジの方向とその強さを求め、重み係数を制御する
エッジ信号を出力する。エッジ信号は誤差演算器50お
よび地肌抽出器10に出力される。地肌抽出器10は多
値の画像データPIの注目画素とその周囲の画素の画像
データを蓄積し、濃度が一定レベルよりも低い画素の画
像データとエッジ判定器40からのエッジの変化による
地肌レベルの変動を条件に入れて地肌レベルを決定す
る。そして検出した地肌レベルPbを差分器20に送
る。
Next, an operation example of the above configuration will be described.
The read multi-valued image data PI is input to the background extractor 10, the differentiator 20, and the edge determiner 40. The edge determiner 40 determines the direction and strength of the edge from the density distribution of the pixel of interest and the surrounding pixel data, and outputs an edge signal for controlling the weight coefficient. The edge signal is output to the error calculator 50 and the background extractor 10. The background extractor 10 accumulates the image data of the target pixel of the multi-valued image data PI and the surrounding pixels, and obtains the image data of the pixel whose density is lower than a certain level and the background level based on the change in the edge from the edge determiner 40. The background level is determined in consideration of the fluctuation of the background. Then, the detected background level Pb is sent to the differentiator 20.

【0014】差分器20は入力した多値の画像データP
Iから地肌成分を減ずる目的で使用される。差分器20
は多値の画像データPIから地肌抽出器10より送られ
た地肌レベルPBを減じて、その値Psを加算器60に
出力する。加算器60は差分器20からの差分データP
sに誤差演算器50より検出された誤差出力Erout
を加算して、加算結果を加算値Paとして出力変換器3
0に出力する。出力変換器20内にはROMまたはRA
M等に記憶された変換テーブルが備えられ、入力した加
算値Paを出力テーブルにより加算値Paより少ない階
調のデータに変換して階調の再現性を安定化させる。変
換されたデータは多値出力Poutとして出力されると
ともに出力テーブルにより変換を行ったときに変換しき
れなかった誤差分を検出するために出力変換器30に戻
される。出力変換器に戻された多値出力Poutは加算
値Paとの差分を取られ、誤差入力Erinとして誤差
演算器50に出力される。
The differentiator 20 receives the multivalued image data P
It is used for the purpose of reducing the background component from I. Differentiator 20
Subtracts the background level PB sent from the background extractor 10 from the multi-valued image data PI, and outputs the value Ps to the adder 60. The adder 60 calculates the difference data P from the differentiator 20.
s is the error output Eout detected by the error calculator 50
And the output converter 3 outputs the addition result as an addition value Pa.
Output to 0. The output converter 20 has a ROM or RA
A conversion table stored in M or the like is provided, and the input addition value Pa is converted into data of a gradation smaller than the addition value Pa by an output table to stabilize the reproduction of the gradation. The converted data is output as a multi-value output Pout, and is returned to the output converter 30 in order to detect an error that could not be converted when the conversion was performed using the output table. The multi-value output Pout returned to the output converter takes a difference from the added value Pa and is output to the error calculator 50 as an error input Erin.

【0015】誤差演算器50はエッジ判定器40により
判定された重み係数を出力変換器30より送られた誤差
入力に乗じて、乗じた結果を誤差出力として加算器60
に出力する。加算器60は差分器20からの差分値Ps
に誤差演算器50からの誤差出力Eroutを加算し
て、加算したデータを出力変換器30に送りだす。
An error calculator 50 multiplies the weight coefficient determined by the edge determiner 40 with the error input sent from the output converter 30 and uses the multiplied result as an error output as an adder 60.
Output to The adder 60 calculates the difference value Ps from the differentiator 20.
, And the error output Eout from the error calculator 50 is added thereto, and the added data is sent to the output converter 30.

【0016】次に図2を用いて地肌抽出器の詳細な構成
および動作例を説明する。図2において、11はユーザ
により指定された地肌レベルを記憶する地肌レベルレジ
スタ、12は多値の画像データPIを蓄積する地肌抽出
レジスタ、13は複数ライン分の画像データを蓄えるラ
インメモリ、14は地肌抽出レジスタ12およびライン
メモリ13に蓄えられた注目画素とその周囲の画素デー
タにより地肌レベルを決定する地肌演算部、15は地肌
レベルレジスタからのユーザにより指定された地肌レベ
ルと地肌演算部からの地肌レベルとの出力の切り替えを
行う選択スイッチSWである。
Next, a detailed configuration and an operation example of the background extractor will be described with reference to FIG. In FIG. 2, reference numeral 11 denotes a background level register that stores a background level specified by a user, 12 denotes a background extraction register that stores multivalued image data PI, 13 denotes a line memory that stores image data for a plurality of lines, and 14 denotes a line memory. A background calculation unit for determining the background level based on the target pixel stored in the background extraction register 12 and the line memory 13 and the surrounding pixel data. Reference numeral 15 denotes a background level designated by the user from the background level register and a background level from the background calculation unit. A selection switch SW for switching the output with the background level.

【0017】次に上記の構成による動作例を説明する。
地肌抽出器10は注目画素とその周囲の画素データを地
肌抽出レジスタ12に蓄え、複数ライン分のデータをラ
インメモリ13に蓄える。そして地肌演算部14はエッ
ジ判定器により検出されたエッジによる地肌レベルの変
動も地肌レベル検出のための条件として、一定のレベル
よりも濃度の低い画素を検出して地肌レベルを判定す
る。尚、図3は上記の方法により決定された地肌レベル
を主走査方向に沿って追従したときの様子を表す図であ
る。
Next, an operation example of the above configuration will be described.
The background extractor 10 stores the pixel of interest and surrounding pixel data in a background extraction register 12, and stores data for a plurality of lines in a line memory 13. Then, the background calculation unit 14 determines a background level by detecting a pixel having a density lower than a certain level, as a condition for detecting the background level, even for a change in the background level due to the edge detected by the edge determiner. FIG. 3 is a diagram showing a state when the background level determined by the above method is followed in the main scanning direction.

【0018】次に図4を用いてエッジ判定器の構成及び
動作例を説明する。図4に示されたエッジ判定器は多値
の画像データPIを蓄積するエッジレジスタ41、複数
ライン分の画像データを蓄えるラインメモリ42、エッ
ジレジスタ41及びラインメモリに蓄えられた注目画素
及びその周辺の画素の画像データによりエッジの方向と
その強さを求め、重み係数を制御するエッジ信号を出力
するエッジ判定演算器43により構成される。尚、エッ
ジとは注目画素とその隣の画素との濃度変化の度合いを
示している。
Next, a configuration and an operation example of the edge determiner will be described with reference to FIG. 4 includes an edge register 41 for storing multi-valued image data PI, a line memory 42 for storing image data for a plurality of lines, a pixel of interest stored in the edge register 41 and the line memory, and its periphery. The edge direction and its strength are obtained from the image data of the pixel of the above, and the edge determination arithmetic unit 43 which outputs an edge signal for controlling the weight coefficient is configured. The edge indicates the degree of density change between the target pixel and the adjacent pixel.

【0019】次に上記構成による動作例を説明する。ま
ずエッジ判定器40は多値入力画像を順次エッジレジス
タ41に蓄え、また複数ライン分の遅延データをライン
メモリ42に蓄える。そしてエッジ判定器は注目画素と
その周辺画素の濃度分布からエッジの方向及びその強さ
を求める。そして検出したエッジの方向及びその強さに
より誤差を拡散するための重み係数を制御する信号エッ
ジを地肌抽出器及び誤差演算器に出力する。
Next, an operation example of the above configuration will be described. First, the edge determiner 40 sequentially stores the multi-valued input image in the edge register 41 and stores the delay data for a plurality of lines in the line memory 42. Then, the edge determiner obtains the direction and strength of the edge from the density distribution of the target pixel and its surrounding pixels. Then, a signal edge for controlling a weight coefficient for diffusing an error according to the direction and strength of the detected edge is output to the background extractor and the error calculator.

【0020】尚、図5は本実施形態に適用される3×3
マトリクスのエッジレジスタを表しており、各画素毎に
記載された数字は注目画素及びその周辺の画素の濃度を
表している。図5において、真ん中に記載された「23
0」が注目画素の濃度であり、注目画素の左上に示され
た「250」により注目画素の左上に急なエッジがある
こととなる。エッジ判定器43はこの注目画素に対する
濃度変化を検出する。そしてこの検出したエッジにより
重み係数を決定する。
FIG. 5 shows a 3 × 3 structure applied to the present embodiment.
The edge register of the matrix is shown, and the number described for each pixel represents the density of the pixel of interest and its surrounding pixels. In FIG. 5, "23" described in the middle
“0” is the density of the target pixel, and “250” indicated at the upper left of the target pixel indicates that there is a sharp edge at the upper left of the target pixel. The edge determiner 43 detects the density change for the target pixel. Then, a weight coefficient is determined based on the detected edge.

【0021】また図6のAはエッジを検出せずに重み係
数を決定した時の重み係数を表しており、図6のBは検
出したエッジにより重み係数を再配分した場合を表して
いる。重み係数を0にすることにより以下で示す誤差成
分を全てカットすることができる。
FIG. 6A shows the weight coefficient when the weight coefficient is determined without detecting the edge, and FIG. 6B shows the case where the weight coefficient is redistributed based on the detected edge. By setting the weight coefficient to 0, all error components shown below can be cut.

【0022】次に図7を用いて出力変換器及び誤差演算
器の構成及び動作について説明する。図7に示された出
力変換器30はROM及びRAMに記憶された出力テー
ブルを有し、入力した多階調データをそれより少ない階
調のデータに変換する。入力された加算データPaは出
力テーブルにより階調性の低いデータに変換され、多値
出力Poutとして出力されるとともに、もう一度出力
変換器30に戻される。出力変換器に戻された多値出力
Poutは出力テーブルで変換しきれなかった誤差成分
を検出するために、加算データPaとの差分を検出され
る。検出された誤差成分は誤差入力Erinとして誤差
演算器50に送られる。
Next, the configuration and operation of the output converter and error calculator will be described with reference to FIG. The output converter 30 shown in FIG. 7 has an output table stored in the ROM and the RAM, and converts the input multi-gradation data into data having a smaller number of gradations. The input added data Pa is converted into data having low gradation by the output table, output as the multi-value output Pout, and returned to the output converter 30 again. The multivalued output Pout returned to the output converter detects a difference from the added data Pa in order to detect an error component that could not be converted in the output table. The detected error component is sent to the error calculator 50 as an error input Erin.

【0023】多値出力Poutは図8に示されるように
多値入力に対して出力ビット数に応じた階段上の特性を
持ち、誤差入力Erinは図9に示されるように多値入
力Paと多値出力Poutの差分となるのでのこぎり状
の出力特性となる。この特性値はテーブル(ROM及び
RAM)に記述されるため柔軟な特性を与えられる。
The multi-level output Pout has a stepwise characteristic corresponding to the number of output bits with respect to the multi-level input as shown in FIG. 8, and the error input Erin has the multi-level input Pa and the multi-level input Pa as shown in FIG. Since the difference between the multi-level outputs Pout is obtained, the output characteristics have a sawtooth shape. Since these characteristic values are described in tables (ROM and RAM), flexible characteristics can be provided.

【0024】また、図7に示された誤差変換器50は上
記の出力変換器30により検出された誤差分である誤差
入力Erinを記憶する誤差メモリ51及び複数個のレ
ジスタにより構成された誤差レジスタ52、エッジ判定
器40により決定された重み係数を記憶するための重み
レジスタ53、誤差レジスタに蓄積された誤差入力に重
みレジスタに記憶された重み係数を乗算するための乗算
器54により構成される。尚、誤差メモリ51は誤差レ
ジスタ52に出力変換器30から入力される誤差入力に
対して1ライン遅延した誤差入力を出力する。これはエ
ッジ判定器によるエッジの判定方法が注目画素が含まれ
た段とその前段の画像データを参照して2段の重み係数
を決定しているためである。
The error converter 50 shown in FIG. 7 has an error memory 51 for storing an error input Erin, which is an error detected by the output converter 30, and an error register composed of a plurality of registers. 52, a weight register 53 for storing the weight coefficient determined by the edge determiner 40, and a multiplier 54 for multiplying the error input accumulated in the error register by the weight coefficient stored in the weight register. . The error memory 51 outputs an error input delayed by one line with respect to the error input input from the output converter 30 to the error register 52. This is because the edge determination method by the edge determiner determines two-stage weight coefficients with reference to the image data of the stage including the pixel of interest and the preceding stage.

【0025】次に上記構成による動作例を説明する。誤
差演算器は出力変換器30からの誤差入力Erinを誤
差メモリ51及び誤差レジスタ52に蓄積する。誤差メ
モリは誤差レジスタに入力された誤差入力に対して1ラ
イン分遅延された誤差入力を誤差レジスタに出力する。
そして誤差レジスタに蓄積された誤差入力及び重みレジ
スタに記憶された重み係数が同時に乗算器54に出力さ
れる。
Next, an operation example of the above configuration will be described. The error calculator accumulates the error input Erin from the output converter 30 in the error memory 51 and the error register 52. The error memory outputs an error input delayed by one line with respect to the error input input to the error register to the error register.
Then, the error input stored in the error register and the weight coefficient stored in the weight register are output to the multiplier 54 at the same time.

【0026】乗算器54では誤差入力に重み係数が乗算
され、誤差出力Eroutとして加算器60に出力され
る。これにより例えばエッジ判定器がエッジを検出した
場合、重み係数を0に設定することにより出力変換器か
らの誤差成分を捨てさることができる。加算器60では
差分器により地肌成分を除去された差分値Psに誤差出
力Eroutを加算して再び出力変換器30に戻す。
The multiplier 54 multiplies the error input by a weighting coefficient and outputs the result to the adder 60 as an error output Erout. Thus, for example, when the edge detector detects an edge, an error component from the output converter can be discarded by setting the weight coefficient to 0. The adder 60 adds the error output Eout to the difference value Ps from which the background component has been removed by the differentiator, and returns the result to the output converter 30 again.

【0027】上記の構成及び動作により地肌レベルを正
確に検知して除去することができるため地肌部がテクス
チャとして再現されることを防ぐことができる。またユ
ーザが予め地肌レベルを指定することができるため特性
の分かった画像データに対しては容易に対処することが
できる。
With the above configuration and operation, the background level can be accurately detected and removed, so that the background portion can be prevented from being reproduced as a texture. Further, since the user can specify the background level in advance, it is possible to easily deal with image data whose characteristics are known.

【0028】また画像のエッジを判定して誤差係数を変
更することができるためエッジ部での地肌レベルの変化
を適正につかむことができる。
Further, since the error coefficient can be changed by judging the edge of the image, a change in the background level at the edge can be properly grasped.

【0029】[0029]

【発明の効果】以上の説明より明らかなように本発明の
画像処理装置によれば、エッジ判定手段が入力した多値
の画像データのエッジを判定し、その判定結果から誤差
拡散の重み係数を決定し、地肌抽出手段が多値の画像デ
ータの地肌成分をエッジ判定手段により判定されたエッ
ジを条件に加えて検出することにより地肌成分を正確に
検知して除去することができ、誤差拡散法により地肌成
分がテクスチャとして再現されることを防止することが
できる。
As is apparent from the above description, according to the image processing apparatus of the present invention, the edge of the multi-valued image data input by the edge determination means is determined, and the weight coefficient of error diffusion is determined from the determination result. Determined, and the background extraction unit detects the background component of the multi-valued image data by adding the edge determined by the edge determination unit to the condition, thereby accurately detecting and removing the background component. Thereby, the background component can be prevented from being reproduced as a texture.

【0030】多値の画像データを入力し多値の画像デー
タを出力する多値誤差拡散法を適用する画像処理装置で
あることにより多値の画像データを入力して2値の画像
データを出力する画像処理装置に比べて擬似輪郭を目立
たなくすることができる。
An image processing apparatus to which multi-valued image data is input and multi-valued error diffusion is applied to output multi-valued image data. By inputting multi-valued image data and outputting binary image data. The pseudo contour can be made inconspicuous as compared with an image processing apparatus that performs the above.

【0031】エッジ検出手段が、注目画素とその周囲の
画素の画像濃度により画像データのエッジとその方向を
検出し、検出結果から誤差拡散の重み係数を変更するこ
とによりエッジ部での地肌成分の変化を制御することが
できる。
The edge detecting means detects the edge of the image data and its direction based on the image density of the pixel of interest and its surrounding pixels, and changes the weight coefficient of error diffusion from the detection result to thereby obtain the background component of the edge portion. Change can be controlled.

【0032】差分検出手段に出力する地肌成分を入力手
段より入力された指示に基づくデータによる地肌成分
と、地肌抽出手段により抽出された地肌成分とで切り替
える切り替え手段をさらに有することにより特性の分か
った画像データに対する処理をユーザの指示に切り替え
て処理することができ、処理が容易になる。
The characteristics can be understood by further providing a switching means for switching the background component output to the difference detecting unit between a background component based on data based on an instruction input from the input unit and a background component extracted by the background extracting unit. The processing for the image data can be switched to the user's instruction, and the processing can be facilitated.

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

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

【図2】地肌抽出器の構成を表すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a background extractor.

【図3】主走査方向の画像データの濃度の変化と地肌レ
ベルを表す図である。
FIG. 3 is a diagram illustrating a change in density of image data in the main scanning direction and a background level.

【図4】エッジ判定器の構成を表すブロック構成図であ
る。
FIG. 4 is a block diagram illustrating a configuration of an edge determiner.

【図5】エッジレジスタの構成及び記憶方法を説明する
ための図である。
FIG. 5 is a diagram illustrating a configuration and a storage method of an edge register.

【図6】Aは通常の重み配分の一例を表す図、Bはエッ
ジにより重み係数を再配分した一例を表す図である。
FIG. 6A is a diagram illustrating an example of normal weight distribution, and FIG. 6B is a diagram illustrating an example of redistributing weight coefficients by edges.

【図7】出力変換器及び誤差演算器の構成を表すブロッ
ク図である。
FIG. 7 is a block diagram illustrating a configuration of an output converter and an error calculator.

【図8】出力テーブルの一例を示す図である。FIG. 8 is a diagram illustrating an example of an output table.

【図9】出力変換器により検出された誤差成分を表す図
である。
FIG. 9 is a diagram illustrating an error component detected by an output converter.

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

10 地肌抽出器 20 差分器 30 出力変換器 40 エッジ判定器 50 誤差変換器 60 加算器 DESCRIPTION OF SYMBOLS 10 Background extractor 20 Difference device 30 Output converter 40 Edge determiner 50 Error converter 60 Adder

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 多値の画像データを入力し多値の画像デ
ータを出力する多値誤差拡散法を適用する画像処理装置
において、 入力した前記多値の画像データのエッジを判定し、その
判定結果から誤差拡散の重み係数を決定するエッジ判定
手段と、 前記多値の画像データの地肌成分を前記エッジ判定手段
により判定された前記エッジを参照して検出する地肌抽
出手段と、 前記多値の画像データから前記地肌抽出手段により抽出
された前記地肌成分を減算する差分検出手段と、 入力した多階調データの濃度階調を落として出力する出
力変換手段と、 前記出力変換手段による変換時に変換しきれなかった誤
差成分を検出する誤差検出手段と、 前記誤差検出手段により検出された前記誤差成分に前記
エッジ判定手段により決定された前記重み係数を乗算す
る乗算手段とを有し、 前記乗算手段により前記重み係数を乗算された前記誤差
成分を前記差分検出手段により検出された差分値に加え
て、前記出力変換手段によりもう一度出力変換を行うこ
とを特徴とする画像処理装置。
An image processing apparatus for applying a multi-level error diffusion method for inputting multi-level image data and outputting multi-level image data, comprising the steps of: determining edges of the input multi-level image data; Edge determination means for determining a weighting coefficient for error diffusion from the result; background extraction means for detecting a background component of the multi-valued image data with reference to the edge determined by the edge determination means; Difference detection means for subtracting the background component extracted by the background extraction means from the image data, output conversion means for lowering and outputting the density gradation of the input multi-tone data, conversion at the time of conversion by the output conversion means Error detecting means for detecting an error component that cannot be completed; and multiplying the error component detected by the error detecting means by the weight coefficient determined by the edge determining means. Multiplying means for adding the error component multiplied by the weighting coefficient to the difference value detected by the difference detecting means, and performing output conversion again by the output converting means. Characteristic image processing device.
【請求項2】 操作者が動作設定を入力するための入力
手段と、 前記差分検出手段に出力する前記地肌成分を前記入力手
段より入力された指示に基づく前記地肌成分と、前記地
肌抽出手段により抽出された前記地肌成分とで切り替え
る切り替え手段とをさらに有することを特徴とする請求
項1記載の画像処理装置。
An input unit for inputting an operation setting by an operator; the background component based on an instruction input from the input unit for the background component output to the difference detection unit; and a background extraction unit. The image processing apparatus according to claim 1, further comprising: a switching unit configured to switch with the extracted background component.
【請求項3】 前記エッジ検出手段は、注目画素とその
周囲の画素の画像濃度により画像データのエッジとその
方向を検出し、検出した結果から前記誤差拡散の重み係
数を変更することを特徴とする請求項1または2記載の
画像処理装置。
3. An edge detecting means for detecting an edge of image data and its direction based on the image density of a pixel of interest and surrounding pixels, and changing the error diffusion weighting coefficient from the detected result. 3. The image processing apparatus according to claim 1, wherein
JP9293482A 1997-10-02 1997-10-09 Picture processor Pending JPH11122493A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP9293482A JPH11122493A (en) 1997-10-09 1997-10-09 Picture processor
GB0127700A GB2366764B (en) 1997-10-02 1998-10-02 Thermal line head and ink transfer printer using same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9293482A JPH11122493A (en) 1997-10-09 1997-10-09 Picture processor

Publications (1)

Publication Number Publication Date
JPH11122493A true JPH11122493A (en) 1999-04-30

Family

ID=17795318

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9293482A Pending JPH11122493A (en) 1997-10-02 1997-10-09 Picture processor

Country Status (1)

Country Link
JP (1) JPH11122493A (en)

Similar Documents

Publication Publication Date Title
US7050650B2 (en) User selected background noise removal for scanned document images
JPS60218181A (en) Picture processor
US7327504B2 (en) Method of detecting clipped image pixels
JPS62118676A (en) Picture processing system
JPH02253765A (en) Picture processor
JPH11164145A (en) Image processor
JP4039245B2 (en) Method and apparatus for spatial smoothing of dark area of image
JPH11122493A (en) Picture processor
JPH10283470A (en) Image processor, image processing method and recording medium
JP2002209105A (en) Image processing apparatus, image processing method and recording medium recorded with image processing program
US6842267B1 (en) Image processing method
JP2954230B2 (en) Image processing device
JPH11150659A (en) Method for processing image
JP2867487B2 (en) Image processing method
JP3157870B2 (en) Image processing method
JPH09247450A (en) Image processing unit
JPH0512432A (en) Digital image display device
JP2779259B2 (en) Binarization device
JP2001136389A (en) Picture processor
JP2001358944A (en) Image processing method
JPH1166297A (en) Image processor and its method
JPH03187677A (en) Image processor
JPH06253133A (en) Picture processing device
JP2004040611A (en) Image processing apparatus, image processing method, program, and medium
JPH05130407A (en) Picture processor