[go: up one dir, main page]

JP2635306B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2635306B2
JP2635306B2 JP59180806A JP18080684A JP2635306B2 JP 2635306 B2 JP2635306 B2 JP 2635306B2 JP 59180806 A JP59180806 A JP 59180806A JP 18080684 A JP18080684 A JP 18080684A JP 2635306 B2 JP2635306 B2 JP 2635306B2
Authority
JP
Japan
Prior art keywords
signal
input
edge
color
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59180806A
Other languages
Japanese (ja)
Other versions
JPS6159569A (en
Inventor
宏明 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP59180806A priority Critical patent/JP2635306B2/en
Publication of JPS6159569A publication Critical patent/JPS6159569A/en
Application granted granted Critical
Publication of JP2635306B2 publication Critical patent/JP2635306B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [技術分野] 本発明は、入力された複数の色成分信号によって表さ
れるカラー画像の特徴に応じて、互いに異なる第1,第2
の解像度の複数の色成分信号を選択的に出力する画像処
理装置に関する。
Description: TECHNICAL FIELD The present invention relates to first and second different color images according to characteristics of a color image represented by a plurality of input color component signals.
The present invention relates to an image processing apparatus that selectively outputs a plurality of color component signals having resolutions of.

[従来技術] 従来、この種の画像処理装置では文字等の線画を鮮明
に表現し、かつ写真等の連続階調画像を階調性良く表現
し、また印刷写真のような網点画像等のドットあるいは
線等の面積変化で階調が表現された画像を階調性良く、
しかもモアレ等の画質劣化を発生させずに表現すること
を目的としていた。このような目的を達成するために提
案された画像処理方式については、例えば、電気通信学
会画像工学研究資料IE 83−67「文字写真混在画像の網
点化」等の文献に報告が行われている。だが、これらの
報告で開示されている従来方式では、入力画像信号をデ
イジタルプリントで用いるドット配列の信号に変換する
再に、入力された画像の種類に応じて例えばディザ法と
濃度パターン法とを使いわけるというようにその処理方
法を変換する等の処理が必要であるので、そのアルゴリ
ズムがかなり複雑となるという欠点があった。
[Prior Art] Conventionally, this type of image processing apparatus clearly expresses line drawings such as characters, expresses continuous tone images such as photographs with good gradation, and displays halftone images such as printed photographs. An image in which gradation is expressed by an area change of dots or lines, etc., with good gradation
Moreover, the purpose is to express the image without causing image quality deterioration such as moiré. The image processing method proposed to achieve such an object has been reported in literatures such as IE83-67 "Dotding of mixed text and photograph images", etc. I have. However, according to the conventional methods disclosed in these reports, for example, a dither method and a density pattern method are used in accordance with the type of an input image in order to convert an input image signal into a signal having a dot arrangement used in digital printing. Since processing such as conversion of the processing method is necessary, such as using differently, there is a drawback that the algorithm is considerably complicated.

そこで、本願人はこの欠点を解消するために、解像力
の高い入力系の高い入力系の他に解像力の低い入力系を
用い、この解像力の低い入力系からの入力信号に低周波
成分のカットを行うハイパスフィルタリングを行って、
その結果に基づき入力信号が文字線画領域に属するか写
真網点領域に属するかの領域判定を行い、この領域判定
の結果に基づいて解像力の高い入力系からの入力信号と
解像力の低い入力系からの入力信号のいずれかを選択し
て出力信号とする画像所為装置を提案した。この装置に
よれば、比較的単純なアルゴリズムにより網点原稿を入
力画像とした場合のモアレ等の画質劣化や写真原稿の粒
子性ノイズを解消し、かつ文字や写真のエッジ部分を鮮
明に出力することができる。
Therefore, in order to eliminate this drawback, the present applicant uses an input system having a low resolution in addition to a high input system having a high resolution, and cuts a low frequency component into an input signal from the input system having a low resolution. Perform high-pass filtering,
Based on the result, an area determination is made as to whether the input signal belongs to the character / line drawing area or the photographic halftone area, and based on the result of the area determination, the input signal from the high-resolution input system and the low-resolution input system are used. An image localization device which selects any one of the input signals and uses it as an output signal is proposed. According to this apparatus, image quality degradation such as moire when a halftone dot document is used as an input image and particle noise of a photo document are eliminated by a relatively simple algorithm, and the edges of characters and photos are clearly output. be able to.

しかしながら、上述の提案の装置において用いた画像
処理方式をそのままカラー画像データの入力信号に適用
しようとすると、色分解された数だけ処理を繰り返す
か、あるいは並列に処理を行う必要があり、そのため処
理回路の数を増加するか、そうでない場合は処理時間が
増加するという欠点があった。
However, if the image processing method used in the above-described proposed apparatus is applied to the input signal of color image data as it is, it is necessary to repeat the processing by the number of color separations or to perform the processing in parallel. The disadvantage is that the number of circuits is increased or otherwise the processing time is increased.

[目的] 本発明は、上述の欠点を除去し、入力された複数の色
成分信号によって表されるカラー画像の特徴を簡潔な回
路規模で、しかも精度よく判定することができ、良好な
出力カラー画像データを得ることができる画像処理装置
を提供することを目的とする。
[Purpose] The present invention eliminates the above-mentioned drawbacks, and can determine the characteristics of a color image represented by a plurality of input color component signals with a simple circuit scale and with high accuracy, thereby providing a good output color. It is an object to provide an image processing device capable of obtaining image data.

[実施例] 以下に、図面を参照して、本発明を詳細に説明する。Examples Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図は本発明の実施例の構成を示す。ここで11,12
および13はそれぞれバッファメモリであり、特定の設定
値より低い解像力のボケ入力系から入力される色分解さ
れた各色毎のデータr′,g′およびb′を蓄える。14は
判定用信号作成回路であり、上述のバッファメモリ11,1
2および13から得られる各色のデータri,giおよびbiから
領域判定を行なうための判定よう信号fを作り出す。15
はエッジ検出回路であり、判定信号fに対して低周波成
分をカットするハイパスフィルタをかける。16は領域判
定回路であり、エッジ検出回路15の出力信号であるエッ
ジ信号hを用いてエッジ領域か非エッジ領域か、すなわ
ち文字線画と写真のいずれの領域に属するかの判定を行
なう。17,18および19はそれぞれ信号選択回路であり、
領域判定回路16から出力される領域信号iに基づき出力
信号ir,ig,ibとして高解像力入力系からのデータr,g,b
と低解像力入力系からのデータr″,g″,b″のいずれか
を選択して出力する。
FIG. 1 shows the configuration of an embodiment of the present invention. Where 11,12
Reference numerals 13 and 13 denote buffer memories for storing data r ', g' and b 'for each of the color-separated colors inputted from the blur input system having a resolution lower than a specific set value. Reference numeral 14 denotes a determination signal generation circuit, and the buffer memories 11, 1
From the data r i , g i, and b i of each color obtained from 2 and 13, a signal f for making a region judgment is generated. Fifteen
Is an edge detection circuit that applies a high-pass filter to the determination signal f to cut low-frequency components. Reference numeral 16 denotes an area determination circuit, which determines whether an area belongs to an edge area or a non-edge area, that is, a text line image or a photograph, using an edge signal h which is an output signal of the edge detection circuit 15. 17, 18, and 19 are signal selection circuits, respectively.
The output signal i r on the basis of the area signal i output from the area determining circuit 16, i g, data from the high resolution input system as i b r, g, b
And data r ″, g ″, and b ″ from the low-resolution input system are selected and output.

上述のr,g,bはそれぞれ対応の赤,緑,青のフィルタ
を通過して色分解された後、高い解像力を有する不図示
の入力系から入力された画像データである。すなわちr
は赤、gは緑、bは青の画像データである。また、
r′,g′,b′はそれぞれ対応の赤,緑、青のフィルタを
通過して色分解された後、特定の設定値より低い解像力
の不図示の入力系から入力された画像データである。
The above-described r, g, and b are image data input from an input system (not shown) having high resolution after being color-separated through corresponding red, green, and blue filters, respectively. That is, r
Is red, g is green, and b is blue image data. Also,
r ', g', and b 'are image data input from an input system (not shown) having a resolution lower than a specific set value after being color-separated through corresponding red, green, and blue filters, respectively. .

低解像度の入力系からの入力画像データr′,g′,b′
は対応のそれぞれのバッファメモリ11,12,13に一旦蓄え
られる。これと平行して後段の判定用信号作成回路14で
必要とされる画データri,gi,biがバッファメモリ11,12,
13から読み出される。この各色の画像データri,gi,bi
判定用信号作成回路14に入力され、この回路14からその
後の領域判定操作に用いる判定用信号fが出力される。
判定用信号fはエッジ検出回路15に入力されて、その低
周波成分がカットされ、画像中のエッジに対応する高周
波成分のみのエッジ信号hとなる。エッジ信号hは領域
判定回路16に入力され、この回路16からエッジ領域と非
エッジ領域を分割する領域信号iが出力される。領域信
号iは信号選択回路17,18および19に入力され、信号選
択回路17ではこの領域信号iに基づき、上述の高解像力
を有する高精細入力系からの入力画像データr,g,bとバ
ッファメモリ11,12,13から得られる画像データr″,
g″,b″のいずれかを選択して出力信号ir,ig,ibとす
る。
Input image data r ', g', b 'from low-resolution input system
Are temporarily stored in the corresponding buffer memories 11, 12, and 13. In parallel with this, the image data r i , g i , b i required in the subsequent determination signal generation circuit 14 are stored in the buffer memories 11, 12,
Read from 13. The image data r i , g i , and b i for each color are input to the determination signal generation circuit 14, which outputs a determination signal f to be used in the subsequent area determination operation.
The determination signal f is input to the edge detection circuit 15 and its low-frequency components are cut off to become edge signals h of only high-frequency components corresponding to edges in the image. The edge signal h is input to the area determination circuit 16, which outputs an area signal i for dividing the edge area and the non-edge area. The area signal i is input to signal selection circuits 17, 18 and 19, and based on the area signal i, the input signal data r, g, b from the high-definition input system having the high resolution and the buffer Image data r ″ obtained from the memories 11, 12, and 13,
One of g ″ and b ″ is selected to be output signals i r , i g and i b .

第2図(A)は上述の高解像力を有する高精細入力系
の入力解像力の一例を示し、また第2図(B)は上述の
低解像力のボケ入力系の入力解像力の一例を示す。ここ
で、低解像力の入力系の解像力の上限は例えば50線/i
nchの網点原稿の基本格子の周波数あるいは75線/inchの
網点原稿の基本格子の周波数となるように設定する。
FIG. 2 (A) shows an example of the input resolution of the high-definition input system having the above-mentioned high resolution, and FIG. 2 (B) shows an example of the input resolution of the above-mentioned low-resolution blur input system. Here, the upper limit of the resolution of a low-resolution input system is, for example, 50 lines / i.
The frequency is set so as to be the frequency of the basic lattice of an nch halftone original or the basic lattice frequency of a halftone original of 75 lines / inch.

第3図は上述の判定用信号作成回路14の構成の一例を
示す。本図で示すように、バッファメモリ11,12,13から
送られる画像データri,gi,biに対して、それぞれの色毎
に設定された重み係数ar,ag,abを各々の乗算器31,32,33
で掛け合わせ、その乗算結果を加算器34で加え合わせ、
その加算結果を判定用信号fとして出力する。この変換
式は次式(1)で示される。
FIG. 3 shows an example of the configuration of the above-described determination signal generation circuit 14. As shown in the figure, for image data r i , g i , b i sent from buffer memories 11, 12, 13, weight coefficients a r , a g , a b set for each color are set. Each multiplier 31, 32, 33
, And the result of the multiplication is added by the adder 34.
The result of the addition is output as a determination signal f. This conversion equation is represented by the following equation (1).

f=ar・ri+ag・gi+ab・bi ……(1) 第4図は上述の判定用信号作成回路14の他の構成例を
示す。第4図の場合では、バッファメモリ11,12,13から
出力されるデータri,gi,biのうちの1色をスイッチ41に
より選択して、判定用信号fとして出力する。
f = a r · r i + a g · g i + a b · b i (1) FIG. 4 shows another configuration example of the above-described determination signal generation circuit 14. In the case of FIG. 4, one of the data r i , g i , b i output from the buffer memories 11, 12, 13 is selected by the switch 41 and output as the determination signal f.

第5図は上述のエッジ検出回路15で使用する係数行列
M(i,j)の例を示す。ここで、係数行列M(i,j)の中
心を(0,0)行列の大きさを(2a+1)×(2a+1)と
し、判定用信号fを画像中の座標に対応した2次元配列
f(i,j)と考えると(第6図参照)、エッジ検出回路1
5の出力であるエッジ信号h(i,j)は次式(2)のf′
(i,j)の絶対値で与えられる。
FIG. 5 shows an example of a coefficient matrix M (i, j) used in the edge detection circuit 15 described above. Here, the center of the coefficient matrix M (i, j) is set to (2a + 1) × (2a + 1) with the size of the (0,0) matrix, and the determination signal f is converted to a two-dimensional array f ( i, j) (see FIG. 6), the edge detection circuit 1
The edge signal h (i, j) which is the output of 5 is f ′ of the following equation (2).
It is given by the absolute value of (i, j).

エッジ検出回路15では当然のことながら、M(i,j)
の係数行列中で要素が“0"となる部分に関しては、上式
(2)の計算を行なわずに、要素が“0"でない部分に対
してのみ上式(2)の計算を実行する。第7図はこの計
算処理の一例を図で示したものである。
In the edge detection circuit 15, M (i, j)
In the coefficient matrix having the element “0”, the calculation of the above equation (2) is not performed, and the calculation of the above equation (2) is performed only on the part where the element is not “0”. FIG. 7 shows an example of this calculation processing.

第8図(A)は判定用信号f(第6図参照)を1次元
のX座標方向に沿って切断した波形を示し、第8図
(B)は第8図(A)の波形データを基に上式(2)で
計算したf′(i,j)に対応する波形を示し、第8図
(C)は第8図(B)の波形の絶対値をとって得たエッ
ジ信号hの波形を示す。
FIG. 8 (A) shows a waveform obtained by cutting the determination signal f (see FIG. 6) along the one-dimensional X coordinate direction, and FIG. 8 (B) shows the waveform data of FIG. 8 (A). 8 (C) shows a waveform corresponding to f '(i, j) calculated by the above equation (2), and FIG. 8 (C) shows an edge signal h obtained by taking the absolute value of the waveform of FIG. 8 (B). 3 shows the waveforms of FIG.

また、第8図(D)は上述のエッジ信号hを特定の第
1の閾値S1で2値化した信号h′を示し、第8図(E)
は第6図(D)の信号h′をあらかじめ設定した範囲分
だけ加算して得た信号h″を示し、第8図(F)は第8
図(E)の信号h″を特定の第2の閾値S2で2値化して
得た領域信号iを示す。
FIG. 8 (D) shows a signal h 'obtained by binarizing the above-mentioned edge signal h with a specific first threshold value S1, and FIG. 8 (E).
FIG. 8F shows a signal h ″ obtained by adding the signal h ′ of FIG. 6D by a predetermined range, and FIG.
An area signal i obtained by binarizing the signal h ″ in FIG. 9E with a specific second threshold value S2 is shown.

第1図の領域判定回路16ではエッジ信号hを特定の閾
値S1で閾値処理し、判定しようとする画素近傍のn×n
画素の正方形領域内にエッジ信号hが閾値S1以上となる
画素データh′がいくつあるかを計算する。その閾値処
理した結果が“1"と“0"であるとすると、その係数は上
述の正方形領域内で閾値処理後の信号を加算することと
同じなので、その結果として第8図(E)に示すような
信号h″を得ることになる。さらに領域判定回路16では
上述の計数した結果である信号h″を特定の閾値S2で2
値化し第8図(F)に示すような領域信号iを出力す
る。
In the area determination circuit 16 shown in FIG. 1, the edge signal h is subjected to threshold processing at a specific threshold S1, and n × n pixels near the pixel to be determined are determined.
The number of pixel data h 'in which the edge signal h is equal to or larger than the threshold value S1 in the square area of the pixel is calculated. Assuming that the result of the threshold processing is “1” and “0”, the coefficient is the same as adding the signal after the threshold processing in the above-described square area, and as a result, FIG. A signal h "as shown in the figure is obtained. In addition, the area determination circuit 16 compares the signal h", which is the result of the counting, with a specific threshold value S2 by two.
It outputs a region signal i as shown in FIG. 8 (F).

第9図は上述の領域判定回路16の構成の一例を示す。
ここで、50はコンパレータであり、第8図(D)に示す
ようにエッジ信号hを特定の閾値S1と比較し、信号hが
閾値S1より大ならば“1"、閾値S1以下ならば“0"という
1bit(ビット)の2値化したエッジ候補点信号h′を出
力する。
FIG. 9 shows an example of the configuration of the area determination circuit 16 described above.
Here, reference numeral 50 denotes a comparator, which compares the edge signal h with a specific threshold value S1 as shown in FIG. 8 (D). If the signal h is larger than the threshold value S1, it is set to "1". 0 "
A 1-bit (bit) binarized edge candidate point signal h 'is output.

51はこのエッジ候補点信号h′を複数ライン分蓄える
ランダムアクセスメモリ(RAM)である。第10図はこのR
AM51内のアドレス空間を示している。RAM51はY方向に
後述するブロックのY方向の大きさであるn画素分の大
きさで、Yアドレスをnで割った剰余を物理アドレスと
することでメモリ量を減少させている。第11図はRAM51
中のエッジ候補点h′の格納状態の一例を示す。物理的
にはnライン分のメモリであるがここでは全画面分のラ
イン数のメモリとして図示する。第11図で示すRAM51内
のデータに対して、読出し時にn×m画素の長方形のブ
ロック(破線で示す)またはn×n画素の正方形のブロ
ックを判定する。このブロックを読出しアドレス制御に
より1画素づつ移動する。
Reference numeral 51 denotes a random access memory (RAM) for storing the edge candidate point signal h 'for a plurality of lines. Figure 10 shows this R
The address space in AM51 is shown. The RAM 51 has a size corresponding to n pixels, which is a size in the Y direction of a block described later in the Y direction, and reduces the amount of memory by using a remainder obtained by dividing the Y address by n as a physical address. Figure 11 shows RAM51
An example of the storage state of the middle edge candidate point h 'is shown. Although it is physically a memory for n lines, it is illustrated here as a memory for the number of lines for the entire screen. For the data in the RAM 51 shown in FIG. 11, a rectangular block of nxm pixels (shown by a broken line) or a square block of nxn pixels is determined at the time of reading. This block is moved one pixel at a time by the read address control.

52は上述のブロック内のエッジ候補点(すなわち、エ
ッジ候補点信号h′が“1"である画素)の数をカウント
するカウンタである。すなわち、カウンタ52は第11図の
破線で示すブロック中でエッジ信号hが所定の閾値以上
になっている画素h′が何画素あるかをカウントする
が、この図の場合は2画素となる。このブロックを移動
させながらカウントした結果をi方向だけで図示したも
のが第8図(E)である。
Reference numeral 52 denotes a counter for counting the number of edge candidate points (that is, pixels for which the edge candidate point signal h 'is "1") in the block. That is, the counter 52 counts the number of pixels h 'in which the edge signal h is equal to or more than the predetermined threshold value in the block indicated by the broken line in FIG. 11, but in this case, the number is 2 pixels. FIG. 8E shows the result of counting while moving the block only in the i direction.

53は第8図(F)に示すように、カウンタ52から出力
されるエッジ数信号h″を特定の閾値S2と比較して、2
値化した領域信号iを出力するコンパレータである。
53 compares the edge number signal h ″ output from the counter 52 with a specific threshold value S2, as shown in FIG.
This is a comparator that outputs a coded area signal i.

また、54はRAM51の書込み読み出し用のYアドレスを
支持するためのYアドレス信号YADRを出力するYアドレ
スカウンタ、55はRAM52の書込み、読出し用のXアドレ
スを指示するXアドレス信号XADRを出力する減算器であ
る。56はXアドレスカウンタであり、第1のクロック信
号CK1をカウントしてそのカウント値を減算器55へ出力
する。57はオフセットカウントであり、第1のクロック
信号CK1によりクリアされ、第2のクロック信号CK2をカ
ウントしてそのカウント値を減算器55へ出力し、所定の
オフセット値に達したら桁上がり信号をオアゲート58に
出力してゼロとなる。オアゲート58は水平同期信号Hsyn
cとオフセットカウンタ57の桁上がり信号との論理和を
とり、その結果をYアドレスカウンタ54に出力する。
A Y address counter 54 outputs a Y address signal YADR for supporting a write / read Y address of the RAM 51, and a subtraction 55 outputs an X address signal XADR indicating a write / read X address of the RAM 52. It is a vessel. An X address counter 56 counts the first clock signal CK1 and outputs the count value to the subtractor 55. 57 is an offset count, which is cleared by the first clock signal CK1, counts the second clock signal CK2, outputs the count value to the subtractor 55, and when the offset value is reached, the carry signal is OR gated. Output to 58 and becomes zero. The OR gate 58 is connected to the horizontal synchronizing signal Hsyn.
The logical sum of c and the carry signal of the offset counter 57 is calculated, and the result is output to the Y address counter 54.

次に、上述のブロックを5×5画素とした例を用い
て、第9図の領域判定回路16の動作を更に詳細に説明す
る。まず不図示の信号発生器からのクロックCK1により
Xアドレスカウンタ56が“1"だけ増加し、オフセットカ
ウンタ57がクリアされ、かつカウンタ52がクリアされ
る。次いで、入力信号であるエッジ信号hがコンパレー
タ50で所定の閾値S1と比較され、1bitのエッジ候補点信
号h′となる。また、減算器55では、Xアドレスカウン
タ56の内容からオフセットカウンタ57の内容が差し引か
れ、Xアドレス信号XADRとなる。最初は、オフセットカ
ウンタ57の内容が“0"なので、Xアドレス信号XADRはX
アドレスカウンタ56の内容と等しくなる。一方、Yアド
レスカウンタ54は水平同期信号Hyncとオフセットカウン
ト57から桁上がり信号との論理和結果により“1"づつ増
加するカウンタであり、カウント内容はYアドレス信号
YADRとして出力している。またYアドレスカウンタはブ
ロックサイズによって決まるn進カウンタなのでブロッ
ク全体を計数した後はもとのアドレスにもどることにな
る。
Next, the operation of the area determination circuit 16 in FIG. 9 will be described in further detail using an example in which the above-described block is formed of 5 × 5 pixels. First, the X address counter 56 is increased by "1" by the clock CK1 from a signal generator (not shown), the offset counter 57 is cleared, and the counter 52 is cleared. Next, the edge signal h, which is the input signal, is compared with a predetermined threshold value S1 by the comparator 50 to become a 1-bit edge candidate point signal h '. Further, in the subtracter 55, the content of the offset counter 57 is subtracted from the content of the X address counter 56, and the result becomes the X address signal XADR. At first, since the content of the offset counter 57 is “0”, the X address signal XADR becomes X
It is equal to the contents of the address counter 56. On the other hand, the Y address counter 54 is a counter which increases by "1" according to the result of the logical sum of the horizontal synchronization signal Hync and the carry signal from the offset count 57, and the count content is the Y address signal.
Output as YADR. Since the Y address counter is an n-ary counter determined by the block size, it returns to the original address after counting the entire block.

次に、コンパレータ50から出力された上述のエッジ候
補点信号h′が、Xアドレス信号XADRとXアドレス信号
YADRとを書込みアドレスとしてRAM51に書き込まれる。
続いて、この時入力されたエッジ候補点信号h′が“1"
ならばカウンタ52は“1"だけ増加し、この信号h′が
“0"ならばカウンタ52はそのままの値(このときは、
“0")を保持する。
Next, the above-mentioned edge candidate point signal h 'output from the comparator 50 is used for the X address signal XADR and the X address signal.
YADR is written to the RAM 51 as a write address.
Subsequently, the edge candidate point signal h 'input at this time is "1".
If the signal h 'is "0", the counter 52 increments by "1", and if the signal h' is "0", the counter 52 retains the same value (in this case,
“0”) is retained.

この後、第2のクロック信号CK2の発生に基づいて以
下の動作が繰返えされる。すなわち、クロック信号CK2
によりオフセットカウンタ57が増加し、これにより減算
器55から出力するXアドレス信号XADRが“1"だけ減少す
る。このXアドレス信号XADRと上述のYアドレス信号YA
DRとを読出しアドレスとして、それ以前に入力されたエ
ッジ候補点信号h′がRAM51から読み出される。カウン
タ52はこの読み出されたエッ候補点信号h′が“1"なら
ばカウント値を“1"だけ増加し、また“0"ならばそのま
まの値を保持する、ここで、オフセットカウント57及び
Yアドレスカウンタ54はブロックを5×5画素とするた
めに5進カウンタとなっている。従って、上述の動作を
4回繰返した後のクロック信号CK2によりオフセットカ
ウンタ57は桁上がり信号を発生して“0"となる。なお、
クロック信号CK2はクロック信号CK1の5分間とする。
Thereafter, the following operation is repeated based on generation of second clock signal CK2. That is, the clock signal CK2
As a result, the offset counter 57 increases, whereby the X address signal XADR output from the subtractor 55 decreases by "1". This X address signal XADR and the above-mentioned Y address signal YA
With DR as a read address, the previously input edge candidate point signal h 'is read from the RAM 51. The counter 52 increases the count value by "1" if the read edge candidate point signal h 'is "1", and holds the value as it is if it is "0". The Y address counter 54 is a quinary counter to make the block 5 × 5 pixels. Therefore, the offset counter 57 generates a carry signal and becomes “0” by the clock signal CK2 after the above operation is repeated four times. In addition,
The clock signal CK2 is 5 minutes of the clock signal CK1.

上述のオフセットカウンタ57の桁上がり信号はYアド
レスカウンタ54に入力され、Yアドレスカウンタ54は
“1"だけ増加する。これにより“1"だけ増加したYアド
レス信号YADRと、Xアドレスカウンタ56の内容に戻った
Xアドレス信号XADRとを読み出しアドレスとして、RAM5
1からエッジ候補点信号h′が読み出され、カウンタ52
はこの信号h′の値により上述の動作と同様に、カウン
ト内容の増加もしくはデータ保持をする。
The carry signal of the offset counter 57 is input to the Y address counter 54, and the Y address counter 54 increases by "1". As a result, the Y address signal YADR increased by “1” and the X address signal XADR returned to the contents of the X address counter 56 are used as read addresses in the RAM 5.
The edge candidate point signal h 'is read from 1 and the counter 52
Increases the contents of the count or holds the data in accordance with the value of the signal h ', similarly to the above-described operation.

ここで、RAM51のYアドレスは第10図に示すように
“0"から“4"までの5ライン分であり、Yアドレスカウ
ンタ54は5進カウンタなので、上述の動作を5回繰返す
ことにより、第11図に破線で示す5×5画素のブロック
内の全ての画素に対応するエッジ候補点信号h′がRAM5
1から読み出され、カウンタ52により同ブロック中のエ
ッジ候補点の数がカウントされたことになる。この時の
カウンタ52の内容は、エッジ数信号h″としてコンパレ
ータ53に出力され、コンパレータ53は所定のエッジ数信
号h″と閾値S2とを比較することにより、領域信iを出
力する(第8図(E)および(F)参照)。a尚、この
ときYアドレスカウンタ54は5進カウンタなので、上述
の処理過程で5回増加し、最初にクロックCK1が入力さ
れた時と同じ内容となっている。
Here, the Y address of the RAM 51 is five lines from "0" to "4", as shown in FIG. 10, and the Y address counter 54 is a quinary counter. The edge candidate point signal h 'corresponding to all the pixels in the block of 5 * 5 pixels indicated by the broken line in FIG.
It is read from 1 and the number of candidate edge points in the same block is counted by the counter 52. The content of the counter 52 at this time is output to the comparator 53 as an edge number signal h ″, and the comparator 53 compares the predetermined edge number signal h ″ with the threshold value S2 to output an area signal i (eighth signal). Figures (E) and (F). a At this time, since the Y address counter 54 is a quinary counter, it is incremented five times in the above-described process, and has the same contents as when the clock CK1 was input first.

このようにして領域判定回路16から出力された上述の
領域信号iは第1図の信号選択回路17,18および19に入
力される。信号選択回路17,18および19では8領域信号
iが“1"であるエッジ領域ならば高精細入力系からの画
像データr,g,bを選択して出力信号ir,ig,ibとして出力
し、領域信号iが“0"である非エッジ領域ならばボケ入
力系からバッファメモリ11,12,13を通じて入力するボケ
入力系データr″,g″,b″を選択して出力信号ir,ig,ib
として出力する。
The above-described area signal i output from the area determination circuit 16 in this manner is input to the signal selection circuits 17, 18, and 19 in FIG. In the signal selection circuits 17, 18, and 19, if the eight-region signal i is an edge region where the signal is "1", the image data r, g, b from the high-definition input system is selected and the output signals i r , ig , i b And if the area signal i is a non-edge area of “0”, the blur input system data r ″, g ″, b ″ to be input from the blur input system through the buffer memories 11, 12, 13 are selected and output signals are output. i r , i g , i b
Output as

この結果、本発明装置で得られる出力信号ir,ig,ib
網点入力原稿や文字の背景の画像に対してはボケ入力系
カラー画データr″,g″,b″となり、文字や画像中のエ
ッジ部分に対しては高精細入力系カラー画像データr,g,
bとなるので、ディザ法等の処理を施す多色デイジタプ
リントの際にも網点が原因で発生するモアレ等の画質劣
化が発生せず、また文字や画像中のエッジ部分をぼかす
ことなく鮮明に出力することができる。
As a result, the output signals i r , i g , and i b obtained by the apparatus of the present invention become blurred input type color image data r ″, g ″, b ″ with respect to a halftone dot input document or a background image of a character. High-definition input color image data r, g,
b, so there is no image quality degradation such as moiré caused by halftone dots even during multicolor digital printing that performs processing such as dithering, and without blurring characters or edges in images. It can output clearly.

上述の本発明の実施例では、入力画像信号を赤,緑,
青のフィルタで色分解された画像データとして説明した
が、この入力画像信号としてはカラーTVで用いられるよ
うな、強度信号と色差信号との組み合わせからなるカラ
ー信号を適用することもできる。この場合には、強度信
号(白/黒)信号を第1図で示す判定用信号fとして用
いて領域判定を行うことができる。また、印刷等の分野
では、カラー画像信号はY(黄),M(マゼンタ),C(シ
アン),K(黒)を示す色別データからなるので、このK
データまたはMデータを判定用信号fとして用いて領域
判定を行なうこともできる。
In the embodiment of the present invention described above, the input image signal is set to red, green,
Although described as the image data that has been color-separated by a blue filter, a color signal composed of a combination of an intensity signal and a color difference signal, such as used in a color TV, can be applied as the input image signal. In this case, the area determination can be performed using the intensity signal (white / black) signal as the determination signal f shown in FIG. In the field of printing and the like, a color image signal is composed of color-specific data indicating Y (yellow), M (magenta), C (cyan), and K (black).
Region determination can also be performed using data or M data as the determination signal f.

[効果] 以上説明したように、本発明によれば、入力された複
数の色成分信号によって表されるカラー画像の特徴を簡
潔な回路規模で、しかも精度良く判定することができ、
良好な出力カラー画像データを得ることができるという
顕著な効果が得られる。
[Effects] As described above, according to the present invention, it is possible to determine the characteristics of a color image represented by a plurality of input color component signals with a simple circuit scale and with high accuracy.
A remarkable effect that good output color image data can be obtained is obtained.

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

第1図は本発明カラー画像処理装置の構成の一例を示す
ブロック図、 第2図(A)は特定の設定値より高解像力を有する入力
系の入力解像力の一例を示す特性図、 第2図(B)は特定の設定値より低解像力の入力系の入
力解像力の一例を示す特性図、 第3図は第1図の判定用信号作成回路14の構成の一例を
示すブロック図、 第4図は第1図の判定用信号作成回路14の他の構成例を
示すブロック図、 第5図は第1図のエッジ検出回路15に用いる係数行列M
(k,l)の一例を示す線図、 第6図は判定用信号fの一例を示した図、 第7図は第1図のエッジ検出回路15の動作を説明する説
明図、 第8図(A)は判定用信号fの一例を示す波形図、 第8図(B)はその判定用信号fをハイパスフィルタリ
ングして得られる信号f′の一例を示す波形図、 第8図(C)は第8図(B)の信号f′を絶対値化して
得た第1図のエッジ信号hの一例を示す波形図、 第8図(D)はそのエッジ信号hを所定の閾値S1で処理
した信号h′の一例を示す波形図、 第8図(E)はその閾値処理をした信号h′を所定のブ
ロック範囲内で加算した信号h″の一例を示す波形図、 第8図(F)は領域信号iの一例を示す波形図、 第9図は第1図の領域判定回路16の構成の一例を示すブ
ロック図、 第10図は第9図のRAM51のデータ領域を示す説明図、 第11図はそのRAM51のデータ格納状態の一例を示す説明
図である。 11,12,13……バッファメモリ、 14……判定用信号作成回路、 15……エッジ検出回路、 16……領域判定回路、 17,18,19……信号選択回路。
FIG. 1 is a block diagram showing an example of the configuration of the color image processing apparatus of the present invention. FIG. 2A is a characteristic diagram showing an example of an input resolution of an input system having a higher resolution than a specific set value. FIG. 3B is a characteristic diagram showing an example of an input resolution of an input system having a lower resolution than a specific set value. FIG. 3 is a block diagram showing an example of the configuration of the determination signal generation circuit 14 in FIG. 5 is a block diagram showing another example of the configuration of the determination signal generation circuit 14 in FIG. 1. FIG. 5 is a coefficient matrix M used in the edge detection circuit 15 in FIG.
FIG. 6 is a diagram showing an example of the determination signal f, FIG. 7 is an explanatory diagram for explaining the operation of the edge detection circuit 15 in FIG. 1, and FIG. (A) is a waveform diagram showing an example of the determination signal f, FIG. 8 (B) is a waveform diagram showing an example of a signal f ′ obtained by high-pass filtering the determination signal f, and FIG. 8 (C). Is a waveform diagram showing an example of the edge signal h in FIG. 1 obtained by converting the signal f 'in FIG. 8 (B) into an absolute value, and FIG. 8 (D) processes the edge signal h with a predetermined threshold value S1. FIG. 8 (E) is a waveform diagram showing an example of a signal h ″ obtained by adding the threshold-processed signal h ′ within a predetermined block range, and FIG. 8 (F). 9) is a waveform diagram showing an example of the area signal i, FIG. 9 is a block diagram showing an example of the configuration of the area determination circuit 16 in FIG. 1, and FIG. 10 is a data diagram of the RAM 51 in FIG. 11 is an explanatory diagram showing an example of a data storage state of the RAM 51. 11, 12, 13... Buffer memory, 14... A determination signal generation circuit, 15... Edge detection Circuit, 16 ... Area judgment circuit, 17,18,19 ... Signal selection circuit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力された複数の色成分信号によって表さ
れるカラー画像の特徴に応じて、互いに異なる第1,第2
の解像度の複数の色成分信号を選択的に出力する画像処
理装置であって、 前記入力された複数の色成分信号の夫々に対して、色成
分毎に設定された重み係数を乗じ、その乗算結果を加算
することにより、前記カラー画像の特徴の所定用信号を
出力する判定用信号発生手段と、 前記判定用信号に基づき、前記カラー画像のエッジ信号
を抽出するエッジ検出手段と、 前記エッジ信号に基づき、前記カラー画像の特徴を判定
し、その判定結果を各色成分信号に対して共通に用い
て、前記互いに異なる第1,第2の解像度の複数の色成分
信号を選択的に出力する出力手段と を有することを特徴とする画像処理装置。
1. A method according to claim 1, wherein said first and second different color image signals are represented by a plurality of color component signals.
An image processing apparatus for selectively outputting a plurality of color component signals having a resolution of: multiplying each of the plurality of input color component signals by a weight coefficient set for each color component, A determination signal generating unit that outputs a signal for determining a feature of the color image by adding a result; an edge detection unit that extracts an edge signal of the color image based on the determination signal; Based on the characteristic of the color image, and using the result of the determination in common for each color component signal, selectively outputting a plurality of color component signals having the first and second resolutions different from each other. An image processing apparatus comprising:
JP59180806A 1984-08-31 1984-08-31 Image processing device Expired - Lifetime JP2635306B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59180806A JP2635306B2 (en) 1984-08-31 1984-08-31 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59180806A JP2635306B2 (en) 1984-08-31 1984-08-31 Image processing device

Publications (2)

Publication Number Publication Date
JPS6159569A JPS6159569A (en) 1986-03-27
JP2635306B2 true JP2635306B2 (en) 1997-07-30

Family

ID=16089671

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59180806A Expired - Lifetime JP2635306B2 (en) 1984-08-31 1984-08-31 Image processing device

Country Status (1)

Country Link
JP (1) JP2635306B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6834807B2 (en) 2001-07-13 2004-12-28 Hand Held Products, Inc. Optical reader having a color imager

Also Published As

Publication number Publication date
JPS6159569A (en) 1986-03-27

Similar Documents

Publication Publication Date Title
JPS6110360A (en) Picture processing device
JPH08228282A (en) Processing method of document picture and binary picture picture element processor
JPS6198069A (en) Image processor
US5515456A (en) Process for providing digital halftone image with random error diffusion, color correction and enlargement
JPH04354470A (en) Picture processing method, scanning/printing system for executing said method and picture selector for said scanning/printing system
JP2635306B2 (en) Image processing device
JP2972172B2 (en) Halftone area detection method
JPH0722327B2 (en) Color image processor
JPH0457274B2 (en)
JP2947823B2 (en) Image processing device
JP2777380B2 (en) Halftone area detection method
JPS59204378A (en) Image processor
JPS6115466A (en) Halftone picture display device
JP2972171B2 (en) Halftone area detection method
JP3004245B2 (en) Halftone area detection method
JP2941852B2 (en) Image processing method
JP2724177B2 (en) Halftone area separation method
JP2913867B2 (en) Color image processing method
JP3004244B2 (en) Area separation device
JP2893700B2 (en) Image processing device
JPH05176168A (en) Adaptive halftone processing system
JP3146516B2 (en) Image processing device
JPH01173971A (en) Picture processor
JP3089688B2 (en) Image information processing method
JPH1032713A (en) Picture processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term