JPH04314183A - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH04314183A
JPH04314183A JP3079632A JP7963291A JPH04314183A JP H04314183 A JPH04314183 A JP H04314183A JP 3079632 A JP3079632 A JP 3079632A JP 7963291 A JP7963291 A JP 7963291A JP H04314183 A JPH04314183 A JP H04314183A
Authority
JP
Japan
Prior art keywords
pixel
smoothing
image
signal
picture element
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
JP3079632A
Other languages
Japanese (ja)
Inventor
Masahiro Funada
船田 正広
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP3079632A priority Critical patent/JPH04314183A/en
Publication of JPH04314183A publication Critical patent/JPH04314183A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)

Abstract

PURPOSE:To solve roughness without impairing the sharpness of an image especially in a mode part by detecting the direction of the concentration gradient of an aimed picture element, and applying the smoothing processing of the image in a direction orthogonal to a detected concentration gradient. CONSTITUTION:It is detected whether the aimed picture element is a character area or non-character area at the area processing circuits 115-11, 115-21, of a feature extraction circuit 115. Meanwhile, a picture element correction circuit 122 detects the direction of the concentration gradient of the aimed picture element, and performs the smoothing of the aimed picture element in the direction orthogonal to the direction of the detected concentration gradient. Thence, smoothed image data is outputted as it is. Or, for example, when it is judged that the aimed picture element is the character area by the area processing circuits 115-11, 115-21, the smoothed data is outputted, and when it is judged that the aimed picture element is the non-character area, picture element correction or original picture element correction circuit 122 input data is outputted.

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, for example, an image processing apparatus that processes full-color images.

【0002】0002

【従来の技術】従来、フルカラー画像を読み取り、電気
信号として処理し、出力する装置が考案されている。例
えば、キヤノン製CLC−1,CLC−500,CLC
−200等である。更に、フルカラー画像を例えば4×
4の画素ブロツクごとに符号化および復号化する方式が
提案されており(=ブロツク符号化・例えば昭63−1
41826)、読み取つたフルカラー画像を一旦メモリ
に蓄えた後に、出力する複写機についても公知とされて
いる。
2. Description of the Related Art Conventionally, devices have been devised that read full-color images, process them as electrical signals, and output them. For example, Canon CLC-1, CLC-500, CLC
-200 etc. Furthermore, full-color images can be
A method of encoding and decoding each pixel block of 4 has been proposed (= block coding, for example,
41826), a copying machine that outputs a read full-color image after temporarily storing it in a memory is also known.

【0003】0003

【発明が解決しようとしている課題】ところが、前述の
ブロツク符号化の例では、画像の符号化及び復号化の処
理を、例えば4×4の画素ブロツクで行ない、非情報保
存型の符号化方式(例えばベクトル量子化)をとるため
に、原理的に符号化誤差が画素ブロツクごと発生する。 結果として画素ブロツク単位の画像ガサツキが発生し、
特に原稿中の文字部において顕著な画質劣化を引き起こ
すという問題点があつた。
However, in the example of block encoding described above, image encoding and decoding processing is performed using, for example, 4x4 pixel blocks, and a non-information preserving encoding method ( For example, vector quantization), in principle an encoding error occurs for each pixel block. As a result, image roughness occurs in pixel block units,
In particular, there was a problem in that the image quality deteriorated significantly in the text portion of the manuscript.

【0004】即ち、例えば図23の(a)に示す様な濃
度パターンをもつ画像に対し、ブロツク符号化によつて
符号化/復号化を行つた場合、図23の(b)に示され
る様に、4×4単位で目立つことがあつた。
That is, when an image having a density pattern as shown in FIG. 23(a) is encoded/decoded by block encoding, an image as shown in FIG. 23(b) is obtained. However, it was noticeable in 4x4 units.

【0005】[0005]

【課題を解決するための手段】本発明は上述の課題を解
決することを目的として成されたもので、上述の課題を
解決する一手段として以下の構成を備える。即ち、濃淡
をもつ画像データの注目画素における濃度勾配の方向を
検知する検知手段と、該検知手段の検知濃度勾配の方向
と直交する方向に、前記濃淡をもつ画像データを平滑化
する平滑化手段とを備える。
[Means for Solving the Problems] The present invention has been made for the purpose of solving the above-mentioned problems, and has the following configuration as a means for solving the above-mentioned problems. That is, a detection means for detecting the direction of a density gradient in a pixel of interest of image data having shading, and a smoothing means for smoothing the image data having shading in a direction orthogonal to the direction of the density gradient detected by the detection means. Equipped with.

【0006】[0006]

【作用】以上の構成において、注目画素の濃度勾配の方
向を検知し、検出された濃度勾配と直交方向に画像の平
滑化処理を施すことにより、特にモード部において、画
像の先鋭度を損なうことなくガサツキを解消することが
できる。
[Operation] In the above configuration, by detecting the direction of the density gradient of the pixel of interest and performing image smoothing processing in the direction orthogonal to the detected density gradient, the sharpness of the image is lost, especially in the mode part. You can eliminate roughness without any problem.

【0007】[0007]

【実施例】以下、図面を参照して本発明に係る一実施例
を詳細に説明する。 [第1の実施例]以下、本発明に係る一実施例として、
フルカラーの複写機に適用した例を詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings. [First Example] Hereinafter, as an example according to the present invention,
An example applied to a full-color copying machine will be explained in detail.

【0008】図1に本発明に係る一実施例における装置
概観図を示す。図1において、201は原稿台ガラスで
あり、読み取られるべき原稿202が載置される。原稿
202は照明203により照射され、反射光はミラー2
04,205,206を経て光学系207の作用でCC
D208上に像が結ばれる。更に、モータ209により
、ミラー204、照明203を含むミラーユニツト21
0が速度Vで機械的に原稿台ガラス201下部を走査駆
動される。同時に、ミラー205,206を含む第2ミ
ラーユニツト211も速度(V/2)で駆動され、原稿
202の全面が走査される。
FIG. 1 shows an overview of an apparatus according to an embodiment of the present invention. In FIG. 1, reference numeral 201 denotes a document table glass, on which a document 202 to be read is placed. The original 202 is illuminated by a light 203, and the reflected light is reflected by a mirror 2.
CC through the action of optical system 207 through 04, 205, 206
An image is formed on D208. Furthermore, the mirror unit 21 including the mirror 204 and the illumination 203 is driven by the motor 209.
0 is mechanically driven to scan the lower part of the document table glass 201 at a speed V. At the same time, the second mirror unit 211 including mirrors 205 and 206 is also driven at a speed (V/2), and the entire surface of the original 202 is scanned.

【0009】212は画像処理回路部であり、読み取ら
れた画像情報を電気信号として処理し、プリント信号と
して出力する部分である。213〜216は画像処理回
路212よりの各色ごとの駆動データに従つてオン/オ
フする半導体レーザであり、それぞれの半導体レーザに
よつて発光されたレーザ光は、ポリゴンミラー217〜
220によつて感光ドラム225〜228上に潜像を形
成する。221〜224はそれぞれブラツク(Bk)、
イエロー(Y)、シアン(C)、マゼンタ(M)のトナ
ーによつて潜像を現像するための現像器であり、現像さ
れた各色のトナーは、用紙に転写され、フルカラーのプ
リントアウトがなされる。
Reference numeral 212 denotes an image processing circuit section, which processes read image information as an electrical signal and outputs it as a print signal. Semiconductor lasers 213 to 216 are turned on and off according to drive data for each color from the image processing circuit 212, and the laser light emitted by each semiconductor laser is transmitted to polygon mirrors 217 to 216.
220, latent images are formed on photosensitive drums 225-228. 221 to 224 are black (Bk), respectively.
A developing device that develops a latent image using yellow (Y), cyan (C), and magenta (M) toners.The developed toners of each color are transferred to paper and a full-color printout is made. Ru.

【0010】用紙カセツト229,230,231およ
び手差しトレイ232のいずれかにより給紙された用紙
は、レジストローラ223を経て、転写ベルト234上
に吸着され搬送される。給紙のタイミングと同期がとら
れて、予め感光ドラム228227,226,225に
は各色のトナーが現像されており、用紙の搬送とともに
トナーが用紙に転写される。
Paper fed from one of the paper cassettes 229, 230, 231 and the manual feed tray 232 passes through registration rollers 223, is attracted onto a transfer belt 234, and is conveyed. Toner of each color is developed in advance on the photosensitive drums 228227, 226, and 225 in synchronization with the timing of paper feeding, and the toner is transferred onto the paper as the paper is conveyed.

【0011】各色のトナーが転写された用紙は、分離/
搬送され、定着器235によつてトナーが用紙に定着さ
れ、排紙トレイ236に排紙される。図1に示す画像処
理回路212の詳細構成を図2及び図3に示す。図2及
び図3において、101,102,103はそれぞれレ
ツド(R)、グリーン(G)、ブルー(B)の各色を読
み取るCCDセンサであり、図1のCCDセンサ208
に対応する。該CCDセンサ101〜103よりの読み
取りアナログデータは、アナログ増幅器104〜106
により増幅され、A/D変換器107〜109によつて
それぞれ対応するデイジタル信号に変換される。110
,111はデイレイメモリであり、3つのCCDセンサ
101,102,103の間の空間的ずれを補正するも
のである。
[0011] The paper to which each color of toner has been transferred is separated/
The paper is transported, toner is fixed on the paper by a fixing device 235, and the paper is discharged onto a paper discharge tray 236. The detailed configuration of the image processing circuit 212 shown in FIG. 1 is shown in FIGS. 2 and 3. 2 and 3, 101, 102, and 103 are CCD sensors that read red (R), green (G), and blue (B), respectively, and the CCD sensor 208 in FIG.
corresponds to Analog data read from the CCD sensors 101 to 103 is sent to analog amplifiers 104 to 106.
and converted into corresponding digital signals by A/D converters 107 to 109, respectively. 110
, 111 is a delay memory, which corrects the spatial deviation between the three CCD sensors 101, 102, 103.

【0012】112は色空間変換器であり、R,G,B
信号を例えば(昭63−141826)に示される様に
、式(1),(2)により明度信号L*、色度信号a*
 ,b* に変換する。
112 is a color space converter, which converts R, G, B
For example, as shown in (Sho 63-141826), the signals are converted into a lightness signal L* and a chromaticity signal a* using equations (1) and (2).
, b*.

【0013】[0013]

【式1】 ただし、[Formula 1] however,

【0014】[0014]

【式2】           αij,βij,X0 ,Y0 
,Z0 は定数である。
[Formula 2] αij, βij, X0, Y0
, Z0 are constants.

【0015】図4に色空間変換器の明度成分L* の符
号化器の詳細構成を示す。図4において、711〜71
3は1ラインの遅延を与えるラインメモリである。71
4は4×4ブロツク切出し回路、715はベクトル量子
化を行なうベクトル量子化回路である。図5に示す様に
4×4ブロツク単位にデータを切出し、例えば(昭63
−141826等)によつて公知のベクトル量子化器7
15によつて明度情報がブロツク単位で量子化される。
FIG. 4 shows the detailed configuration of the encoder for the lightness component L* of the color space converter. In FIG. 4, 711 to 71
3 is a line memory providing one line delay. 71
4 is a 4×4 block extraction circuit, and 715 is a vector quantization circuit that performs vector quantization. As shown in Fig. 5, the data is cut out in units of 4x4 blocks.
-141826 etc.)
15, the brightness information is quantized in units of blocks.

【0016】図6に色度成分a* ,b* の符号化器
のブロツク図を示す。721,722,723,725
,726,727は、711,722,713と同様の
ラインメモリであり、724,728は714と同様の
ブロツク切出し手段であり、それぞれa* ,b* 信
号をブロツク単位で切出す。729は公知のベクトル量
子化器であり、ブロツク単位で色度情報が量子化される
FIG. 6 shows a block diagram of an encoder for chromaticity components a* and b*. 721, 722, 723, 725
, 726, 727 are line memories similar to 711, 722, 713, and 724, 728 are block extraction means similar to 714, which extract the a* and b* signals in blocks, respectively. 729 is a known vector quantizer, which quantizes the chromaticity information in units of blocks.

【0017】XPHS,YPHSは後述するが、それぞ
れ主走査/副走査方向の2ビツトカウンタ値であり、4
×4のブロツク単位の同期をとる。一方、図2の115
は特徴抽出回路であり、当該画素が黒画素であるか否か
の判定信号K1 ′を出力する黒画素検出回路115−
1、前記K1 ′信号を入力し、4×4の画素ブロツク
内が黒画素エリアであるか否かを示すK1信号を出力す
る4×4エリア処理回路115−11、更に、当該画素
が文字部分であるか否かの判定信号K2 ′を出力する
文字画素検出回路115−2、前記K2 ′信号を入力
か、4×4画素ブロツク内が文字画素エリアであるか否
かを示すK2 信号を出力する4×4エリア処理回路1
15−21で構成される。
As will be described later, XPHS and YPHS are 2-bit counter values in the main scanning/sub-scanning directions, respectively.
Synchronize in block units of ×4. On the other hand, 115 in FIG.
is a feature extraction circuit, and a black pixel detection circuit 115- outputs a determination signal K1' indicating whether or not the pixel is a black pixel.
1. A 4x4 area processing circuit 115-11 which inputs the K1' signal and outputs a K1 signal indicating whether or not the inside of the 4x4 pixel block is a black pixel area; A character pixel detection circuit 115-2 outputs a determination signal K2' indicating whether or not the above K2' signal is input, and outputs a K2 signal indicating whether or not the inside of the 4×4 pixel block is a character pixel area. 4×4 area processing circuit 1
Consists of 15-21.

【0018】黒画素検出回路115−1、文字画素検出
回路115−2については、その回路構成及び判定基準
については、公知であるので説明は省略する。116は
メモリであり、明度情報の符号であるL−code信号
、色度情報の符号であるab−code信号、特徴抽出
の結果である判定信号K1 及びK2 信号が蓄えられ
る。
Regarding the black pixel detection circuit 115-1 and the character pixel detection circuit 115-2, their circuit configurations and determination criteria are well known and will not be described here. A memory 116 stores an L-code signal that is a code for brightness information, an AB-code signal that is a code for chromaticity information, and judgment signals K1 and K2 that are the results of feature extraction.

【0019】141〜144はそれぞれマゼンタ(M)
、シアン(C)、イエロー(Y)、ブラツク(Bk)用
の濃度信号生成回路であり、各色ほぼ同じ構成であるた
め、マゼンタ用のみ示す。濃度信号生成回路141にお
いて、117は明度情報の復号化器であり、L−cod
e信号によりL* 信号を復号し、118は色度情報の
復号化器であり、ab−code信号によりa* 及び
b* 信号を復号化する。
141 to 144 are respectively magenta (M)
, cyan (C), yellow (Y), and black (Bk), and since each color has almost the same configuration, only magenta is shown. In the density signal generation circuit 141, 117 is a lightness information decoder, and L-cod
The L* signal is decoded by the e signal, and 118 is a chromaticity information decoder, which decodes the a* and b* signals by the ab-code signal.

【0020】119は色変換器であり、復号化されたL
* ,a* ,b* 信号によりトナー現像色であるマ
ゼンタ(M)、シアン(C)、イエロー(Y)、ブラツ
ク(Bk)の各色成分へ変換する手段である。図7及び
図8に色変換手段119の詳細ブロツク図を示す。図中
、501はL* ,a* ,b* 信号をR,G,B信
号に変換する手段であり、次式により変換が行なわれる
119 is a color converter, and the decoded L
*, a*, b* signals are used to convert the toner development colors into magenta (M), cyan (C), yellow (Y), and black (Bk) color components. 7 and 8 show detailed block diagrams of the color conversion means 119. In the figure, 501 is means for converting L*, a*, b* signals into R, G, B signals, and the conversion is performed according to the following equation.

【0021】[0021]

【式3】 ただし、[Formula 3] however,

【0022】[0022]

【式4】 (αij′)は(1)式の(αij)の逆行列(βij
′は(2)式の(βij)の逆行列 502,503,504は、それぞれ輝度/濃度変換器
であり、(6)式の様な変換が行なわれる。
[Formula 4] (αij') is the inverse matrix (βij) of (αij) in equation (1)
' is the inverse matrix of (βij) in equation (2). 502, 503, and 504 are brightness/density converters, respectively, and conversion as shown in equation (6) is performed.

【0023】[0023]

【式6】 503は黒抽出回路であり、   Bk1 =min (C1 ,M1 ,Y1 ) 
                     (7)の
様に黒信号Bkが生成される。
[Formula 6] 503 is a black extraction circuit, Bk1 = min (C1, M1, Y1)
A black signal Bk is generated as shown in (7).

【0024】504〜507はそれぞれ乗算器であり、
C1 ,M1 ,Y1 ,Bk1 の各信号に所定の係
数a1 ,a2 ,a3 ,a4 が乗せられた後に、
加算器508により加算されることにより、和積演算が
行なわれる((8)式)。   (出力)=a1 C1 +a2 +M1 +a3 
Y1 +a4 Bk1 )    (8)509〜51
3はレジスタであり、それぞれ119にはa11,a2
1,a31,a41,0が、120にはa12,a22
,a32,a42,0が、121にはa13,a23,
a33,a43,0が、122にはa14,a24,a
34,a44,a24′がセツトされている。
504 to 507 are multipliers,
After predetermined coefficients a1, a2, a3, a4 are added to each signal of C1, M1, Y1, Bk1,
By adding the signals in the adder 508, a sum product operation is performed (Equation (8)). (Output)=a1 C1 +a2 +M1 +a3
Y1 +a4 Bk1) (8) 509-51
3 is a register, and 119 has a11 and a2, respectively.
1, a31, a41, 0, 120 has a12, a22
, a32, a42, 0, and 121 has a13, a23,
a33, a43, 0, 122 has a14, a24, a
34, a44, a24' are set.

【0025】530,532,533はゲート信号、5
32は“2 to 1”のセレクタである。520はN
ANDゲートであり、結果的に黒画素判定信号K1 と
文字領域判定信号K2 の論理積により当該画素が黒文
字領域であるか否かの判定により、図9に示す如くa1
 ,a2 ,a3 ,a1 の値が選ばれて処理が行な
われ、黒文字部分はブラツク単位で現像し、くつきりと
した出力を得ることができる。
530, 532, 533 are gate signals, 5
32 is a "2 to 1" selector. 520 is N
This is an AND gate, and as a result, it is determined whether or not the pixel is in a black character area by the AND of the black pixel determination signal K1 and the character area determination signal K2, and a1 is determined as shown in FIG.
, a2, a3, and a1 are selected and processed, and the black text portion is developed in units of black, making it possible to obtain a sharp output.

【0026】図10及び図11に空間フイルタ121の
詳細ブロツク図を示す。図中、801,802はライン
メモリであり、1ラインの遅延を与える。810,81
1は加算器、812,813,814はそれぞれ乗算器
であり、係数b1 ,b0 ,b2 が乗せられ、81
5は加算器で和積演算が成される。一方、816〜82
1はそれぞれレジスタであり、予めb11〜b22なる
値が保持されており、セレクタ822,823,824
により文字判定信号K2 に従い、b1 ,b0 ,b
2 に値がセツトされる。
FIGS. 10 and 11 show detailed block diagrams of the spatial filter 121. In the figure, 801 and 802 are line memories, which provide one line of delay. 810,81
1 is an adder, and 812, 813, and 814 are multipliers, on which coefficients b1, b0, and b2 are placed, and 81
An adder 5 performs a sum-product operation. On the other hand, 816-82
1 are registers in which values b11 to b22 are held in advance, and selectors 822, 823, 824
According to the character determination signal K2, b1, b0, b
The value is set to 2.

【0027】図12にK2 とb0 ,b1 ,b2 
の値の関係を示す。例えば、b01=(4/8),b1
1=(1/8),b21=(1/8),b02=(12
/8),b12=−(1/8),b22=−(1/8)
なる値を予めレジスタ816〜821に書込んでおいた
場合、図12に示す様に、K2 =0、すなわち非文字
部においてはスムージングフイルタを形成することで画
像中の高周波雑音を除去することができる。
FIG. 12 shows K2, b0, b1, b2
shows the relationship between the values of For example, b01=(4/8), b1
1=(1/8), b21=(1/8), b02=(12
/8), b12=-(1/8), b22=-(1/8)
If the values are written in registers 816 to 821 in advance, K2 = 0, as shown in FIG. can.

【0028】一方、K2 =1すなわち文字部において
は、エツジ強調フイルタを形成することで、文字部の先
鋭さを補正することができる。更に、図3の122は画
素補正回路であり、復号化された画像データの補正を行
なう。図13及び図14に画素補正回路の詳細構成を示
す。
On the other hand, when K2=1, that is, in a character portion, the sharpness of the character portion can be corrected by forming an edge emphasis filter. Furthermore, 122 in FIG. 3 is a pixel correction circuit, which corrects decoded image data. 13 and 14 show detailed configurations of the pixel correction circuit.

【0029】図中、CLKは後述する画素同期信号であ
り、HSYNCは後述する水平同期信号である。401
,402はラインメモリであり、1ラインの遅延を与え
る。403〜410はフリツプフロツプであり、それぞ
れ1画素の遅延を与える。結果的に、図15に示される
様に、当該注目画素X22を中心として8近傍の周辺画
素X11,X12,X13,X21,X23,X31,
X32,X33を出力する。
In the figure, CLK is a pixel synchronization signal to be described later, and HSYNC is a horizontal synchronization signal to be described later. 401
, 402 are line memories that provide one line of delay. Flip-flops 403 to 410 each provide a delay of one pixel. As a result, as shown in FIG. 15, eight neighboring pixels X11, X12, X13, X21, X23, X31,
Outputs X32 and X33.

【0030】411〜414は、画素エツジ検出回路で
あり、図16に示される様に、A,B,Cの4入力に対
して、|A−2B+C|/2なる値を出力する。4つの
画素エツジ検出回路のB入力には、全て当該注目画素X
22が入力されている。エツジ検出回路411のA入力
とC入力にはそれぞれX12とX32が入力され、結果
としては、|X12−2X22+X32|/2が出力さ
れるが、これは図15の■に示す副走査方向の2次微分
量の絶対値となり、図15の■に示す副走査方向のエツ
ジの強さを出力する。
Reference numerals 411 to 414 denote pixel edge detection circuits, which output a value of |A-2B+C|/2 in response to four inputs A, B, and C, as shown in FIG. The B inputs of the four pixel edge detection circuits are all connected to the target pixel X.
22 has been input. X12 and X32 are input to the A input and C input of the edge detection circuit 411, respectively, and as a result, |X12-2X22+X32|/2 is output, which is 2 in the sub-scanning direction shown in This becomes the absolute value of the second differential amount, and outputs the edge strength in the sub-scanning direction shown in (■) in FIG.

【0031】エツジ検出回路412のA入力とC入力に
はそれぞれX11とX33が入力され、結果としては、
|X11−2X22+X33|/2が出力されるが、こ
れは図15の■に示す右斜め下方向の2次微分量の絶対
値となり、図15の■に示す右斜め下方向のエツジの強
さを出力する。エツジ検出回路413のA入力とC入力
にはそれぞれX21とX23が入力され、結果としては
、|X21−2X22+X23|/2が出力されるが、
これは図15の■に示す主走査方向の2次微分量の絶対
値となり、図15の■に示す主走査方向のエツジの強さ
を出力する。
X11 and X33 are input to the A input and C input of the edge detection circuit 412, respectively, and as a result,
|X11 - 2X22 + Output. X21 and X23 are input to the A input and C input of the edge detection circuit 413, respectively, and as a result, |X21-2X22+X23|/2 is output.
This becomes the absolute value of the second-order differential amount in the main scanning direction shown in ``■'' in FIG. 15, and outputs the edge strength in the main scanning direction shown in ``■'' in FIG.

【0032】エツジ検出回路414のA入力とC入力に
はそれぞれX31とX23が入力され、結果としては、
|X31−2X22+X13|/2が出力されるが、こ
れは図15の■に示す右斜め下方向の2次微分量の絶対
値となり、図15の■に示す右斜め下方向のエツジの強
さを出力する。図14の415は最大値検出回路であり
、a,b,c,dの4入力信号に対して、どの入力信号
が最大値をとるかの判定をし、2ビツトの判定結果yを
出力する。 この最大値検出回路415の詳細を図17に示す。
X31 and X23 are input to the A input and C input of the edge detection circuit 414, respectively, and as a result,
|X31 - 2X22 + Output. 415 in FIG. 14 is a maximum value detection circuit, which determines which input signal has the maximum value among the four input signals a, b, c, and d, and outputs a 2-bit determination result y. . Details of this maximum value detection circuit 415 are shown in FIG.

【0033】図17において、421はコンパレータで
あり、aとbの比較結果としてa>bの場合のみに“1
”を出力する。422は2 to 1のセレクタであり
、2入力信号A,Bにa,bを入力し、セレクタ信号S
にコンパレータ421の比較結果を入力することで、結
果的にa,bの最大max(a,b)を出力する。同様
にしてコンパレータ423、セレクタ424からは、c
とdの比較結果とcとdの最大値max(C,d)が出
力される。
In FIG. 17, 421 is a comparator, and the comparison result of a and b is "1" only when a>b.
422 is a 2 to 1 selector, which inputs a and b to two input signals A and B, and outputs a selector signal S.
By inputting the comparison result of the comparator 421 to , the maximum max (a, b) of a and b is output as a result. Similarly, from the comparator 423 and selector 424, c
The comparison result of and d and the maximum value max(C, d) of c and d are output.

【0034】更に、a,bの最大値max(a,b)と
c,dの最大値max(c,d)は、それぞれコンパレ
ータ425によつて比較され、y1 信号を出力する。 結果として、y1 信号はa,b,c,dの最大値ma
x(a,b,c,d)の値がaまたはbのときに“1”
となる。(a,b,c,d,の最大値max(a,b,
c,d)の値がcまたはdのときに“0”となる。)4
26,427,429はそれぞれ2入力のナンドゲート
、428はインバータであり、結果としてy0 信号は
a,b,c,dの最大値max(a,b,c,d)の値
がaまたはcのときに“1”となる。また、a,b,c
,dの最大値max(a,b,c,d)の値がbまたは
dのときには“0”となる。
Furthermore, the maximum value max (a, b) of a, b and the maximum value max (c, d) of c, d are compared by a comparator 425, respectively, and a y1 signal is output. As a result, the y1 signal is the maximum value ma of a, b, c, d
“1” when the value of x (a, b, c, d) is a or b
becomes. (maximum value max(a, b,
c, d) is “0” when the value is c or d. )4
26, 427, and 429 are NAND gates with two inputs, and 428 is an inverter. As a result, the y0 signal is such that the maximum value max (a, b, c, d) of a, b, c, d is a or c. Sometimes it becomes “1”. Also, a, b, c
, d becomes "0" when the value of the maximum value max (a, b, c, d) is b or d.

【0035】即ち、a,b,c,dの最大値max(a
,b,c,d)の値によつて、最大値検出回路の2ビツ
ト出力y0 ,y1 は次の様になる。   max(a,b,c,d)=a    のとき  
  y0 =1    y1 =1  max(a,b
,c,d)=b    のとき    y0 =0  
  y1 =1  max(a,b,c,d)=c  
  のとき    y0 =1    y1 =0  
max(a,b,c,d)=d    のとき    
y0 =0    y1 =0図14の416〜419
はそれぞれ平滑化回路であり、図18に示される様に、
A,B,Cの3入力に対して、(A+2B+C)/4な
る値を出力する。4つの平滑化回路のB入力には、全て
当該注目画素X22が入力されている。
That is, the maximum value max(a
, b, c, d), the 2-bit outputs y0, y1 of the maximum value detection circuit are as follows. When max (a, b, c, d) = a
y0 =1 y1 =1 max(a,b
, c, d) = b when y0 = 0
y1 = 1 max (a, b, c, d) = c
When y0 =1 y1 =0
When max (a, b, c, d) = d
y0 =0 y1 =0 416 to 419 in Figure 14
are smoothing circuits, and as shown in FIG.
For the three inputs A, B, and C, the value (A+2B+C)/4 is output. The pixel of interest X22 is input to the B inputs of all four smoothing circuits.

【0036】図14の平滑化回路413のA入力とC入
力にはそれぞれX12とX32が入力され、結果として
は、(X12+2X22+X32)/4が出力されるが
、これに対しては図15の■に示す副走査方向の平滑化
処理が施され、出力される。平滑化回路417のA入力
とC入力にはそれぞれX11とX33が入力され、結果
としては、(X11+2X22+X33)/4が出力さ
れるが、これに対しては図15の■に示す右斜め下方向
の平滑化処理が施され出力される。
X12 and X32 are respectively input to the A input and C input of the smoothing circuit 413 in FIG. 14, and as a result, (X12+2X22+X32)/4 is output. Smoothing processing in the sub-scanning direction shown in is performed and output. X11 and X33 are respectively input to the A input and C input of the smoothing circuit 417, and as a result, (X11+2X22+X33)/4 is output. is subjected to smoothing processing and output.

【0037】平滑化回路418のA入力とC入力にはそ
れぞれX21とX23が入力され、結果としては、(X
21+2X22+X23)/4が出力されるが、これに
対しては図15の■に示す主走査方向の平滑化処理が施
され出力される。平滑化回路419のA入力とC入力に
はそれぞれX31とX13が入力され、結果としては、
(X31+2X22+X13)/4が出力されるが、こ
れに対しては図15の■に示す右斜め上方向の平滑化処
理が施され出力される。
X21 and X23 are input to the A input and C input of the smoothing circuit 418, respectively, and as a result, (X
21+2X22+X23)/4 is output, but this is subjected to the smoothing process in the main scanning direction shown in (■) in FIG. 15 and then output. X31 and X13 are input to the A input and C input of the smoothing circuit 419, respectively, and as a result,
(X31 + 2X22 +

【0038】420は4 to 1のセレクタであり、
A,B,C,Dの4入力信号と2ビツトのセレクタ信号
Sに対し、次の論理で動作する。 S=00    のとき、    B入力を出力(Y←
B)S=01    のとき、    A入力を出力(
Y←A)S=10    のとき、    D入力を出
力(Y←D)S=11    のとき、    C入力
を出力(Y←C)従つて、画素補正回路122の最終出
力は、次の様になる。
420 is a 4 to 1 selector,
It operates according to the following logic for four input signals A, B, C, and D and a 2-bit selector signal S. When S=00, output B input (Y←
B) When S=01, output A input (
Y←A) When S=10, output the D input (Y←D) When S=11, output the C input (Y←C) Therefore, the final output of the pixel correction circuit 122 is as follows. Become.

【0039】即ち、図15の場合を考慮すると、■方向
のエツジ量が最大のとき、■方向に平滑化される。 ■方向のエツジ量が最大のとき、■方向に平滑化される
。 ■方向のエツジ量が最大のとき、■方向に平滑化される
。 ■方向のエツジ量が最大のとき、■方向に平滑化される
That is, considering the case of FIG. 15, when the edge amount in the {circle around (2)} direction is the maximum, smoothing is performed in the {circle over (2)} direction. When the edge amount in the ■ direction is maximum, smoothing is performed in the ■ direction. When the edge amount in the ■ direction is maximum, smoothing is performed in the ■ direction. When the edge amount in the ■ direction is maximum, smoothing is performed in the ■ direction.

【0040】以上の各構成を備える本実施例の動作を、
図19のタイミングチヤートも参照して以下に説明する
。図19におけるSTART信号は、本実施例における
原稿読取動作開始を示す信号である。WPE信号の出力
中は、原稿読取機構が原稿を読取り、符号化処理、メモ
リ書込み処理を行なう期間である。従つて、このWPE
期間が終了すると、記録準備が完了したことになる。
The operation of this embodiment having each of the above configurations is as follows.
This will be explained below with reference to the timing chart of FIG. The START signal in FIG. 19 is a signal indicating the start of the document reading operation in this embodiment. While the WPE signal is being output, this is a period during which the document reading mechanism reads the document, performs encoding processing, and memory writing processing. Therefore, this WPE
When the period ends, the recording preparation is completed.

【0041】ITOP信号はプリント動作の動作開始を
示す信号であり、MPEは図1におけるマゼンタ半導体
レーザ216を駆動する区間信号であり、CPEは図1
におけるシアン半導体レーザ215を駆動する区間信号
であり、YPEは図1におけるイエロー半導体レーザ2
14を駆動する区間信号であり、BPEは図1における
ブラツク半導体レーザ213を駆動する区間信号である
The ITOP signal is a signal indicating the start of a print operation, the MPE is a section signal for driving the magenta semiconductor laser 216 in FIG.
YPE is a section signal for driving the cyan semiconductor laser 215 in FIG.
14, and BPE is a section signal that drives the black semiconductor laser 213 in FIG.

【0042】図19に示す様に、CPE,YPE,BP
EはそれぞれMPEに対してt1 ,t2 ,t3 だ
け遅延されており、これは図1のd1 ,d2 ,d3
 に対し、t1 =d1 /ν,t2 =d2 /ν,
t3 =d3 /ν(νは用紙の送り速度)なる関係を
もつ様に制御される。また、図19の下段部に記録画像
データの具体的処理タイミングを示しており、HSYN
C信号は主走査同期信号であり、CLK信号は画素同期
信号である。YPHSは2ビツトの副走査カウンタのカ
ウント値であり、XPHSは2ビツトの主走査カウンタ
のカウント値である。図20に示す様にインバータ10
01、2ビツトカウンタ1002及び1003による回
路で発生される。
As shown in FIG. 19, CPE, YPE, BP
E are delayed by t1, t2, t3 with respect to MPE, respectively, which corresponds to d1, d2, d3 in Fig. 1.
For, t1 = d1 /ν, t2 = d2 /ν,
It is controlled to have the following relationship: t3 = d3 /v (v is the paper feed speed). In addition, the lower part of FIG. 19 shows the specific processing timing of recorded image data, and HSYN
The C signal is a main scanning synchronization signal, and the CLK signal is a pixel synchronization signal. YPHS is a count value of a 2-bit sub-scanning counter, and XPHS is a count value of a 2-bit main-scanning counter. As shown in FIG. 20, the inverter 10
01 and 2 bit counters 1002 and 1003.

【0043】BLK信号は4×4画素ブロツク単位の同
期信号であり、BDATAで示されるタイミングで4×
4のブロツク単位に処理がされる。次に、エリア処理を
行なう図2に示すエリア処理回路115−11,115
−21の詳細構成を図21に示す。本実施例のエリア処
理回路では、4×4エリア処理を実行する。
[0043] The BLK signal is a synchronization signal for each 4×4 pixel block, and the 4×4 pixel block is synchronized at the timing indicated by BDATA.
Processing is performed in units of 4 blocks. Next, area processing circuits 115-11 and 115 shown in FIG. 2 perform area processing.
-21 is shown in FIG. 21. The area processing circuit of this embodiment executes 4×4 area processing.

【0044】図中、CLKは画素同期信号、HSYNC
は主走査同期信号を示す。901〜903は1ライン分
の遅延を与えるラインメモリであり、X1,X2 ,X
3 の各信号は、入力信号Xに対し、それぞれ副走査方
向に1ライン,2ライン,3ライン分遅延している。9
04は加算器であり、結果として2値信号Xの副走査方
向4画素に対応するX,X1 ,X2 ,X3 のうち
の“1”である画素の個数をカウントする。
In the figure, CLK is a pixel synchronization signal, HSYNC
indicates the main scanning synchronization signal. 901 to 903 are line memories that provide one line of delay; X1, X2, X
3 are delayed by 1 line, 2 lines, and 3 lines, respectively, with respect to the input signal X in the sub-scanning direction. 9
04 is an adder, which counts the number of pixels that are "1" among X, X1, X2, and X3 corresponding to the four pixels of the binary signal X in the sub-scanning direction.

【0045】905〜908はフリツプフロツプであり
、それぞれ1画素分の遅延を与える。909は加算器で
あり、結果として、入力信号Xに対し4×4ブロツク(
16画素)内で“1”であるものの個数がカウントされ
る。910は“2 to 1”のセレクタ、911はN
ORゲート、912はフリツプフロツプであり、XPH
S(0)とXPHS(1)からBLK信号を生成し、4
×4ブロツク単位でカウントされたX=1である画素数
C1 が算出される。この算出値は、比較器914によ
りレジスタ913に予めセツトされているC2 と比較
される。比較器914はC1 >C2 のときのみ出力
yが1となり、それ以外では出力yは0となる。この出
力yは図19に示すタイミングチヤートのBDATAに
示されるタイミングで出力される。
Flip-flops 905 to 908 each provide a delay of one pixel. 909 is an adder, and as a result, 4×4 blocks (
The number of pixels that are "1" within 16 pixels) is counted. 910 is a “2 to 1” selector, 911 is N
OR gate 912 is a flip-flop, XPH
Generate a BLK signal from S(0) and XPHS(1),
The number of pixels C1, where X=1, is calculated in units of ×4 blocks. This calculated value is compared with C2 preset in register 913 by comparator 914. The output y of the comparator 914 is 1 only when C1 > C2, and the output y is 0 otherwise. This output y is output at the timing indicated by BDATA in the timing chart shown in FIG.

【0046】ここで、特徴的なことは、符号化によつて
得られた画像信号L−code,ab−code信号と
、特徴抽出回路によつて抽出された特徴信号K1 ,K
2 が、図5に示す4×4のブロツク単位で1対1に対
応して出力されることにある。即ち、4×4の各ブロツ
ク単位に画像符号と特徴信号を抽出し、メモリの同一ア
ドレス又は、同一アドレスより算出されるアドレスに格
納され、読出される場合においてもそれぞれ対応して読
出される。
Here, what is characteristic is that the image signals L-code and ab-code signals obtained by encoding and the feature signals K1 and K extracted by the feature extraction circuit
2 are output in a one-to-one correspondence in units of 4×4 blocks as shown in FIG. That is, an image code and a feature signal are extracted for each 4×4 block, and stored in the memory at the same address or an address calculated from the same address, and when read out, they are read out in correspondence with each other.

【0047】以上に説明した本実施例のエリア処理回路
115−11,115−21における文字画素検出処理
の具体例を、図22の場合を例に以下説明する。例えば
、本実施例における1201に示す様な原稿に対し、1
201−1に示す部分について、各画素について文字画
素か否かの判定を行なつたとする。この判定の結果、例
えば1202に示す如く、○で示される部分がK1 ′
=1、それ以外の部分がK1 ′=0と判定された場合
、上述したエリア処理回路115−11では、例えばC
2 =4をセツトすることで4×4ブロツクに対応し、
1203に示す様なノイズのとれた信号を得ることがで
きる。
A specific example of the character pixel detection process in the area processing circuits 115-11 and 115-21 of this embodiment described above will be described below using the case of FIG. 22 as an example. For example, for a document as shown in 1201 in this embodiment, 1
Assume that in the portion shown in 201-1, it is determined whether each pixel is a character pixel or not. As a result of this determination, for example, as shown in 1202, the part indicated by ○ is K1'
= 1, and the other portions are determined to be K1' = 0, in the above-mentioned area processing circuit 115-11, for example, C
By setting 2 = 4, it corresponds to 4x4 block,
A noise-free signal as shown in 1203 can be obtained.

【0048】同様に、黒画素検出回路の判定結果K2 
′についても同様の回路(図2及び図3の115−21
)で処理することにより、4×4ブロツクに対応した信
号K2を得ることができる。上述した本実施例の画像補
正結果を図23の(c)に示す。図23の(a)に示さ
れる様な濃度パターンをもつた画像に対し、ブロツク符
号化によつて符号化/復号化処理をされた場合、(b)
に示されるように、符号化誤差によつて4×4単位での
ガサツキが現れることがある。そこで、(b)に対して
本実施例の上述した平滑化処理をすることによつて、(
c)に示す様にガサツキが軽減された高品位の処理画像
が得られる。例えば、(b)のAに示される画素は、(
a)のA相当画素に比較して、高い濃度に復号化されて
いるために、画像のガサツキの要因となつている。
Similarly, the judgment result K2 of the black pixel detection circuit
'A similar circuit (115-21 in Figures 2 and 3)
), it is possible to obtain a signal K2 corresponding to a 4×4 block. The image correction results of this example described above are shown in FIG. 23(c). When an image with a density pattern as shown in FIG. 23(a) is encoded/decoded by block encoding, (b)
As shown in FIG. 2, roughness may appear in 4×4 units due to encoding errors. Therefore, by applying the smoothing process described above in this embodiment to (b), (
As shown in c), a high-quality processed image with reduced roughness is obtained. For example, the pixel shown in A in (b) is (
Since it is decoded to a higher density than the pixel corresponding to A in a), it becomes a cause of image roughness.

【0049】しかし、(b)のA画素においては、図1
5に示される■の方向のエツジ(濃度勾配)量が他の方
向のエツジ量より大きいため、本実施例では■に直交す
る■の方向に平滑化され、濃度が低めに補正される。他
の各画素に対しても同様の補正がなされ、(c)に示さ
れる様に全体としてガサツキが軽減される。また、濃度
勾配と直交する方向に平滑化処理をしているために、文
字部の先鋭さを損なうことはない。
However, in the case of pixel A in (b), as shown in FIG.
Since the amount of edge (density gradient) in the direction of ``2'' shown in 5 is larger than the edge amount in the other directions, in this embodiment, smoothing is performed in the direction of ``2'' orthogonal to ``2'', and the density is corrected to be lower. Similar corrections are made for each of the other pixels, and the overall roughness is reduced as shown in (c). Furthermore, since the smoothing process is performed in the direction perpendicular to the density gradient, the sharpness of the character portion is not impaired.

【0050】以上説明した処理を実行して、画像情報と
特徴(属性)情報を対応させてメモリの同一アドレス又
は同一アドレスより算出されるアドレスに格納すること
により、例えばメモリの読書きにおいてアドレスの制御
回路を共通化、簡略化することが可能である。また、メ
モリ上で、変倍、回転等の編集処理を行なう場合におい
ても、簡単な処理で行なうことができ、システムの最適
化を行なうことができる。
By executing the above-described processing and storing image information and feature (attribute) information in correspondence at the same address in memory or an address calculated from the same address, for example, when reading and writing from memory, the address can be changed. It is possible to share and simplify the control circuit. Further, even when editing processing such as scaling and rotation is performed on the memory, it can be performed with simple processing, and the system can be optimized.

【0051】[第2の実施例]以上説明した第1の実施
例においては、特に文字部分のガサツキを補正するため
に、復号化された画像のすべてについて画素補正を行な
う例を説明した。しかし本発明は以上の例に限定される
ものではなく、処理画像種別に応じて処理を変えること
も本発明の範囲に含まれる。
[Second Embodiment] In the first embodiment described above, an example has been described in which pixel correction is performed on all decoded images, especially in order to correct roughness in character portions. However, the present invention is not limited to the above example, and it also falls within the scope of the present invention to change the processing depending on the type of image to be processed.

【0052】例えば、文字以外の部分、特に銀塩写真等
の原稿に対しては、平滑化処理によつて画像の先鋭度が
損なわれる場合がある。そこで、原稿中の文字領域部分
について画素補正を行う様制御すれば、写真領域と文字
領域とが混在する原稿を処理しても、高品位の処理画像
を得ることができる。このように、処理画像種別に応じ
て処理を変える本発明に係る第2実施例を以下に説明す
る。
For example, the sharpness of the image may be lost due to the smoothing process for parts other than text, especially for manuscripts such as silver halide photographs. Therefore, if control is performed to perform pixel correction on the text area portion of the document, a high-quality processed image can be obtained even if the document includes both photographic areas and text areas. A second embodiment of the present invention in which the processing is changed according to the type of image to be processed will be described below.

【0053】第2実施例においても概略構成などは上述
した第1実施例と同様であるが、第2実施例では図3に
示す画素補正回路122の構成が一部異なる。本発明に
係る第2の実施例における画素補正回路122の図14
に示す第1実施例と異なる部分の詳細構成を図24に示
す。第2実施例においては、第1実施例の図13に示す
部分は全く同一構成であり、図示を省略する。また、図
24において、上述した第1の実施例における図14と
同様構成には同一番号を付し詳細説明を省略する。
The second embodiment also has a general configuration similar to that of the first embodiment described above, but the second embodiment differs in part in the configuration of the pixel correction circuit 122 shown in FIG. 3. FIG. 14 of the pixel correction circuit 122 in the second embodiment according to the present invention
FIG. 24 shows the detailed configuration of the parts that are different from the first embodiment shown in FIG. In the second embodiment, the portion shown in FIG. 13 of the first embodiment has exactly the same configuration, and illustration thereof is omitted. Further, in FIG. 24, the same components as those in FIG. 14 in the first embodiment described above are given the same reference numerals, and detailed description thereof will be omitted.

【0054】第2実施例においては、4 to 1のセ
レクタ420の出力をそのまま画素補正回路122の出
力とするのではなく、2 to 1のセレクタ1401
のB入力に入力する。一方、2 to 1のセレクタ1
401のA入力には補正前の信号X23が入力されてお
り、当該画素X23が文字領域にあることを示す文字領
域判定信号K2信号によつて補正後のセレクタ420よ
りの出力信号と補正前の信号X23を切り替えて出力す
る。
In the second embodiment, instead of using the output of the 4 to 1 selector 420 as the output of the pixel correction circuit 122, the output of the 2 to 1 selector 1401
input to the B input of On the other hand, selector 1 of 2 to 1
The signal X23 before correction is input to the A input of 401, and the output signal from the selector 420 after correction and the signal before correction are determined by the character area determination signal K2 indicating that the pixel X23 is in the character area. The signal X23 is switched and output.

【0055】この結果、K2 =“1”となる、注目画
素X23が文字領域にある場合には、画素補正されない
信号、即ち、X23そのものが出力される。一方、K2
 =“0”となる、当該画素X23が文字領域にない場
合には、画素補正された信号が出力される。その結果と
して、文字部分についてはガサツキが補正され、その他
の部分については先鋭さを失うことはない。
As a result, when the pixel of interest X23 with K2="1" is located in the character area, a signal without pixel correction, that is, X23 itself is output. On the other hand, K2
If the pixel X23 is not in the character area, which is ="0", a pixel-corrected signal is output. As a result, the roughness in the text portion is corrected, while the other portions do not lose their sharpness.

【0056】[第3の実施例]更に、第1の実施例にお
ける復号化された画像のすべてについて画素補正を行な
う処理に替え、処理ブロツクの一部のみに平滑化処理を
行なうよう制御することにより、画像種別が異なつても
、先鋭度が損なわれることのない画像処理が行なえる。 このように、処理ブロツクの一部のみに平滑化処理を行
なうよう制御する本発明に係る第3実施例を以下に説明
する。
[Third Embodiment] Furthermore, instead of performing pixel correction on all decoded images in the first embodiment, control is performed to perform smoothing processing on only a part of the processing block. Therefore, even if the image types are different, image processing can be performed without losing sharpness. A third embodiment of the present invention in which smoothing processing is performed on only a portion of a processing block will be described below.

【0057】第3実施例においても概略構成などは上述
した第1実施例と同様であるが、第3実施例では図3に
示す画素補正回路122の構成が一部異なる。本発明に
係る第3の実施例における画素補正回路122の図14
に示す第1実施例と異なる部分の詳細構成を図25に示
す。第3実施例においても、第2実施例と同様に第1実
施例の図13に示す部分は全く同一構成であり、図示を
省略する。また、図25において、上述した第1の実施
例における図14と同様構成には同一番号を付し詳細説
明を省略する。
The third embodiment also has a general configuration similar to that of the first embodiment described above, but the third embodiment differs in part in the configuration of the pixel correction circuit 122 shown in FIG. 3. FIG. 14 of the pixel correction circuit 122 in the third embodiment according to the present invention
FIG. 25 shows the detailed configuration of the parts that are different from the first embodiment shown in FIG. In the third embodiment as well, like the second embodiment, the portion shown in FIG. 13 of the first embodiment has exactly the same configuration, and illustration thereof is omitted. Further, in FIG. 25, the same components as those in FIG. 14 in the first embodiment described above are given the same reference numerals, and detailed description thereof will be omitted.

【0058】図25において、1501は2 to 1
のセレクタ、1502はアンドゲート、1503,15
04は排他的なオアゲートである。第3実施例において
は、4 to 1のセレクタ420の出力をそのまま画
素補正回路122の出力とするのではなく、2 to 
1のセレクタ1501のB入力に入力する。一方、2 
to 1のセレクタ1401のA入力には補正前の信号
X23が入力されており、アンドゲート1502よりの
信号によつて補正後のセレクタ420よりの出力信号と
補正前の信号X23を切り替えて出力する。
In FIG. 25, 1501 is 2 to 1
selector, 1502 is an AND gate, 1503, 15
04 is an exclusive OR gate. In the third embodiment, instead of directly using the output of the 4 to 1 selector 420 as the output of the pixel correction circuit 122, the output of the 4 to 1 selector 420 is
1 to the B input of selector 1501. On the other hand, 2
The signal X23 before correction is input to the A input of the selector 1401 of to 1, and the output signal from the selector 420 after correction and the signal X23 before correction are switched and outputted by the signal from the AND gate 1502. .

【0059】以上のアンドゲート1502、排他的なオ
アゲート1503,1504より成る構成において、図
19に示すタイミングチヤートの、XPHS=“0”ま
たは“3”のタイミング、かつYPHS=“0”または
“3”のタイミングの時にアンドゲート1502の出力
を「0」とし、セレクタ1401の出力は補正後のセレ
クタ420よりの出力信号を出力させ、他の場合にはア
ンドゲート1502の出力を「1」として、補正前の信
号X23を出力する。
In the configuration consisting of the AND gate 1502 and the exclusive OR gates 1503 and 1504, the timing of XPHS="0" or "3" and YPHS="0" or "3" in the timing chart shown in FIG. At the timing of ``, the output of the AND gate 1502 is set to ``0'', and the output of the selector 1401 outputs the corrected output signal from the selector 420, and in other cases, the output of the AND gate 1502 is set to ``1''. The signal X23 before correction is output.

【0060】この結果、図26に斜線で示す様に、4×
4の画素ブロツクの4隅の部分のみに平滑化補正処理を
実行した結果を出力することになる。これは、符号化・
復号化に伴う文字部のガサツキが、4×4の画素ブロツ
クの4隅の部分の符号化誤差によることが大きいことに
注目したもので、平滑化処理によつて文字部以外におい
て画像の先鋭さを損なうことを防ぐ効果がある。
As a result, as shown by diagonal lines in FIG.
The result of performing the smoothing correction process only on the four corners of the pixel block No. 4 is output. This is the encoding
This study focuses on the fact that the roughness of the text area caused by decoding is largely due to encoding errors at the four corners of a 4x4 pixel block, and smoothing processing reduces the sharpness of the image outside of the text area. It has the effect of preventing damage to the

【0061】[第4の実施例]更に、前記実施例におい
ては、符号化/復号化処理された画像について、符号化
/復号化に伴う画質劣化を補正する目的で画素補正を行
つたが、本発明は以上の例に限定されるものではない。 即ち、例えばセンサへの雑音(ノイズ)の混入をはじめ
、諸原因による文字部分のガサツキの補正に対しても有
効であり、画像メモリをもたないデイジタルの画像処理
装置に対しても有効である。
[Fourth Embodiment] Furthermore, in the above embodiments, pixel correction was performed on encoded/decoded images for the purpose of correcting image quality deterioration due to encoding/decoding. The present invention is not limited to the above examples. In other words, it is effective for correcting roughness in character parts due to various causes such as noise entering the sensor, and is also effective for digital image processing devices that do not have image memory. .

【0062】なお、本発明は、複数の機器から構成され
るシステムに適用しても、又、1つの機器から成る装置
に適用してもよい。また、システムあるいは装置にプロ
グラムを供給することによつて達成される場合にも適用
できることは言うまでもない。
Note that the present invention may be applied to a system composed of a plurality of devices, or to an apparatus composed of one device. It goes without saying that the present invention can also be applied to cases where the present invention is achieved by supplying a program to a system or device.

【0063】[0063]

【発明の効果】以上説明した様に本発明によれば、当該
画素の濃度勾配の方向を検知し、検出された濃度勾配と
直交方向に画像の平滑化処理を施すことにより、特に文
字部において画像の先鋭度を損なうことなく画素ブロツ
ク単位のガサツキを解消することができる。
As explained above, according to the present invention, by detecting the direction of the density gradient of the pixel and performing image smoothing processing in the direction orthogonal to the detected density gradient, the image is smoothed, especially in text areas. It is possible to eliminate roughness in pixel block units without impairing the sharpness of the image.

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

【図1】本発明に係る一実施例の装置外観図である。FIG. 1 is an external view of an apparatus according to an embodiment of the present invention.

【図2】及び[Figure 2] and

【図3】本実施例の画像処理回路の詳細構成を示す図で
ある。
FIG. 3 is a diagram showing the detailed configuration of the image processing circuit of this embodiment.

【図4】本実施例の明度成分L* の符号化器の詳細構
成を示す図である。
FIG. 4 is a diagram showing a detailed configuration of a lightness component L* encoder according to the present embodiment.

【図5】本実施例の符号化器のデータ切り出し例を説明
するための図である。
FIG. 5 is a diagram for explaining an example of data extraction by the encoder of this embodiment.

【図6】本実施例の明度成分a* ,b* の符号化器
の詳細構成を示す図である。
FIG. 6 is a diagram showing a detailed configuration of an encoder for brightness components a* and b* in this embodiment.

【図7】及び[Figure 7] and

【図8】本実施例の色変換回路の詳細構成を示す図であ
る。
FIG. 8 is a diagram showing a detailed configuration of the color conversion circuit of this embodiment.

【図9】本実施例のマスキング係数を説明する図である
FIG. 9 is a diagram illustrating masking coefficients of this embodiment.

【図10】及び[Figure 10] and

【図11】本実施例の空間フイルタの詳細構成を示す図
である。
FIG. 11 is a diagram showing the detailed configuration of the spatial filter of this embodiment.

【図12】本実施例の空間フイルタの各信号関係を説明
する図である。
FIG. 12 is a diagram illustrating each signal relationship of the spatial filter of this embodiment.

【図13】及び[Figure 13] and

【図14】本実施例の画素補正回路の詳細構成を示すブ
ロツク図である。
FIG. 14 is a block diagram showing the detailed configuration of the pixel correction circuit of this embodiment.

【図15】本実施例の画素補正回路の処理を説明するた
めの図である。
FIG. 15 is a diagram for explaining the processing of the pixel correction circuit of this embodiment.

【図16】図14に示す画素エツジ回路の詳細構成を示
す図である。
16 is a diagram showing a detailed configuration of the pixel edge circuit shown in FIG. 14. FIG.

【図17】本実施例の最大値検出回路の詳細構成を示す
図である。
FIG. 17 is a diagram showing the detailed configuration of the maximum value detection circuit of this embodiment.

【図18】図14に示す平滑化回路の詳細構成を示す図
である。
18 is a diagram showing a detailed configuration of the smoothing circuit shown in FIG. 14. FIG.

【図19】本実施例の画像処理タインミングチヤートで
ある。
FIG. 19 is an image processing timing chart of this embodiment.

【図20】XPHS,YPHS信号の発生回路を示す図
である。
FIG. 20 is a diagram showing a generation circuit for XPHS and YPHS signals.

【図21】エリア処理回路の詳細構成を示す図である。FIG. 21 is a diagram showing a detailed configuration of an area processing circuit.

【図22】本実施例の文字画素検出におけるエリア処理
を説明する図である。
FIG. 22 is a diagram illustrating area processing in character pixel detection in this embodiment.

【図23】画素補正の結果を示す図である。FIG. 23 is a diagram showing the results of pixel correction.

【図24】本発明に係る第2実施例の画素補正回路の一
部を示す図である。
FIG. 24 is a diagram showing a part of a pixel correction circuit according to a second embodiment of the present invention.

【図25】本発明に係る第3実施例の画素補正回路の一
部を示す図である。
FIG. 25 is a diagram showing a part of a pixel correction circuit according to a third embodiment of the present invention.

【図26】第3実施例における平滑化回路を説明する図
である。
FIG. 26 is a diagram illustrating a smoothing circuit in a third embodiment.

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

101〜103,208    CCD104〜106
    アナログ増幅器107〜109    A/D
変換器 112    色空間変換器 115    特徴抽出回路 115−1    黒画素検出回路 115−11,115−21    4×4エリア処理
回路115−2    文字画素検出回路 116    メモリ 117,118    復号化器 119    色変換器 141〜144    濃度信号生成回路201   
 原稿台ガラス 202    原稿 203    照明 204〜206    ミラー 207    光学系 210    ミラーユニツト 211    第2ミラーユニツト 212    画像処理回路部 213〜216    半導体レーザ 217〜220    ポリゴンミラー225〜228
    感光ドラム 221〜224    現像器 411〜414    画素エツジ検出回路415  
  最大値検出回路 416〜419    平滑化回路 421,423,425    コンパレータ422,
424    セレクタ 714,724,728    4×4ブロツク切出し
回路715    ベクトル量子化回路 729    ベクトル量子化器
101~103,208 CCD104~106
Analog amplifier 107-109 A/D
Converter 112 Color space converter 115 Feature extraction circuit 115-1 Black pixel detection circuit 115-11, 115-21 4×4 area processing circuit 115-2 Character pixel detection circuit 116 Memory 117, 118 Decoder 119 Color converter 141-144 Concentration signal generation circuit 201
Document table glass 202 Document 203 Illumination 204-206 Mirror 207 Optical system 210 Mirror unit 211 Second mirror unit 212 Image processing circuit section 213-216 Semiconductor laser 217-220 Polygon mirror 225-228
Photosensitive drums 221 to 224 Developing units 411 to 414 Pixel edge detection circuit 415
Maximum value detection circuits 416 to 419 Smoothing circuits 421, 423, 425 Comparator 422,
424 Selector 714, 724, 728 4×4 block extraction circuit 715 Vector quantization circuit 729 Vector quantizer

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】  濃淡をもつ画像データの注目画素にお
ける濃度勾配の方向を検知する検知手段と、該検知手段
の検知濃度勾配の方向と直交する方向に、前記濃淡をも
つ画像データを平滑化する平滑化手段とを備えることを
特徴とする画像処理装置。
1. Detecting means for detecting the direction of a density gradient in a pixel of interest of image data having shading, and smoothing the image data having shading in a direction perpendicular to the direction of the density gradient detected by the detecting means. An image processing device comprising: smoothing means.
【請求項2】  平滑化手段が平滑化する画像データは
、m×n(m,nは2以上の整数)画素の画素ブロツク
ごとに符号化/復号化されて得られたものであることを
特徴とする請求項1記載の画像処理装置。
2. The image data smoothed by the smoothing means is obtained by encoding/decoding each pixel block of m×n (m and n are integers of 2 or more) pixels. The image processing device according to claim 1.
【請求項3】  平滑化手段が平滑化する画像データは
、色分解されたフルカラー画像データであることを特徴
とする請求項1又は請求項2記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the image data smoothed by the smoothing means is color-separated full-color image data.
【請求項4】  平滑化手段は、m×n画素ブロツク中
、特定の画素のみに対して、平滑化を行うことを特徴と
する請求項2記載の画像処理装置。
4. The image processing apparatus according to claim 2, wherein the smoothing means smoothes only specific pixels in the m×n pixel block.
【請求項5】  フルカラー原稿を読み取つて符号化し
、該符号化データを蓄積する蓄積手段と、該蓄積手段の
蓄積符号化データを読出して復号化し濃淡をもつ画像デ
ータを生成して前記検知手段に出力する生成手段と、前
記平滑化手段での平滑化データを出力する画像出力手段
を有することを特徴とする請求項2または請求項3記載
の画像処理装置。
5. A storage means for reading and encoding a full-color original and storing the encoded data; and a storage means for reading and decoding the stored encoded data of the storage means to generate image data having shading and transmitting the encoded data to the detection means. 4. The image processing apparatus according to claim 2, further comprising: a generating means for outputting the data, and an image outputting means for outputting the smoothed data by the smoothing means.
【請求項6】  注目画素が原稿の文字部分であるか否
かを判定する判定手段を備え、平滑手段は該判定手段が
文字部分であると判定された場合のみに平滑化を行うこ
とを特徴とする請求項1乃至請求項5のいづれかに記載
の画像処理装置。
6. The pixel of interest is characterized by comprising a determining means for determining whether or not the pixel of interest is a character part of the document, and the smoothing means performs smoothing only when the determining means determines that the pixel is a character part. An image processing apparatus according to any one of claims 1 to 5.
JP3079632A 1991-04-12 1991-04-12 Image processing device Pending JPH04314183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3079632A JPH04314183A (en) 1991-04-12 1991-04-12 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3079632A JPH04314183A (en) 1991-04-12 1991-04-12 Image processing device

Publications (1)

Publication Number Publication Date
JPH04314183A true JPH04314183A (en) 1992-11-05

Family

ID=13695464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3079632A Pending JPH04314183A (en) 1991-04-12 1991-04-12 Image processing device

Country Status (1)

Country Link
JP (1) JPH04314183A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998045810A1 (en) * 1997-04-07 1998-10-15 Hitachi Medical Corporation Image processing method, image processing device and recording medium containing stored image processing program
US6744921B1 (en) 1993-12-29 2004-06-01 Canon Kabushiki Kaisha Image processing apparatus and method that determines the thickness of characters and lines
CN109002821A (en) * 2018-07-19 2018-12-14 武汉科技大学 A kind of Internetbank shield digit recognition method based on connected domain and tangent slope

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6744921B1 (en) 1993-12-29 2004-06-01 Canon Kabushiki Kaisha Image processing apparatus and method that determines the thickness of characters and lines
WO1998045810A1 (en) * 1997-04-07 1998-10-15 Hitachi Medical Corporation Image processing method, image processing device and recording medium containing stored image processing program
CN109002821A (en) * 2018-07-19 2018-12-14 武汉科技大学 A kind of Internetbank shield digit recognition method based on connected domain and tangent slope
CN109002821B (en) * 2018-07-19 2021-11-02 武汉科技大学 A digital identification method of online banking shield based on connected domain and tangent slope

Similar Documents

Publication Publication Date Title
US6625331B1 (en) Image forming apparatus
US6215512B1 (en) Image forming apparatus with image distortion correction system
JP3777785B2 (en) Image processing device
US6441915B1 (en) Image forming apparatus
JP6503755B2 (en) Image processing apparatus, image forming apparatus and image processing method
JP3896776B2 (en) Image data encoding apparatus, image data encoding method, image forming apparatus, and recording medium
JP2003008913A (en) Image processor
JPH04314183A (en) Image processing device
JP2000278517A (en) Image processor
JP3195005B2 (en) Image processing apparatus and method
JP2952002B2 (en) Image processing device
JP3154242B2 (en) Image processing apparatus and color image processing method
JP3147250B2 (en) Image processing device
JP2000280525A (en) Image processor
JP3937638B2 (en) Image processing apparatus and image processing apparatus control method
JP3935257B2 (en) Image processing device
JP3315441B2 (en) Color image processing apparatus and color image processing method
JP3175169B2 (en) Buffer memory switching method of recording device
JP2009012252A (en) Image forming apparatus
JP2000244746A (en) Image processor
JP2000015871A (en) Image-processing apparatus
JP2000134491A (en) Image processing apparatus, control method therefor, and storage medium
JP2000278516A (en) Image processor
JPH0630240A (en) Color image processor
JPH05236279A (en) Image processing device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000327