JPS63199569A - Image processor - Google Patents

Image processor

Info

Publication number
JPS63199569A
JPS63199569A JP62032257A JP3225787A JPS63199569A JP S63199569 A JPS63199569 A JP S63199569A JP 62032257 A JP62032257 A JP 62032257A JP 3225787 A JP3225787 A JP 3225787A JP S63199569 A JPS63199569 A JP S63199569A
Authority
JP
Japan
Prior art keywords
value
color
density
circuit
density gradient
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
JP62032257A
Other languages
Japanese (ja)
Inventor
Yuzuru Suzuki
譲 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP62032257A priority Critical patent/JPS63199569A/en
Publication of JPS63199569A publication Critical patent/JPS63199569A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reproduce the color half tone of a colored original and a color character at a high quality through the aid of a simple processing circuit constitution by provid ing a circuit which generates one kind of a signal, being common to the respective color signals of red, green and blue, and the circuit which detects a value, correspond ing to the density gradient of the colored original, and a data conversion circuit which converts an input density value adaptively. CONSTITUTION:The density information of the colored original is read as the density signal of 8-bits through three kinds of color separation filters of red, green and blue. In a picture processing device 8, the respective color signals R,G,B of red, green and blue are supplied to the adaptive data conversion circuit 5, and at the same time, the density gradient value of one kind of the density signal is detected by a density gradient detection circuit 1a, and the operation of the adaptive data conversion circuit 5 is controlled according to this density gradient value. Namely, the respective color signals R, G, B are converted adaptively according to the density gradient value of one kind of the density signal. Thus, by simply dither-processing a converted density data by a dither-processing circuit 3, the part of the character is binarized, the part of the half tone is dither-processed, and an area where both are mixed, is adaptively processed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、デジタル複写機、ファクシミリ等において使
用される原稿読取装置に関し、特に文字等の2値画像領
域と写真等の中間調画像領域とが混在するカラー原稿を
読み取った後に、両領域を識別し、それぞれの領域に適
切な処理を施す画像処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document reading device used in a digital copying machine, a facsimile machine, etc. The present invention relates to an image processing apparatus that identifies both areas after reading a color document containing a mixture of areas, and performs appropriate processing on each area.

〔従来の技術及びその問題点〕[Conventional technology and its problems]

一般の文書原稿中には、文字等の2値画像と写真や印刷
等の中間調画像とが混在しているものが多数ある。この
ような原稿を単純に2値化して記録すると、文字の品質
は良いが写真の品質が劣化し、また逆にディザ等の中間
調生成法により2値化して記録すると、写真の品質は良
好となるが文字の品質が劣化してしまう。文字及び写真
のそれぞれに対して品質が良好となるようにするために
は、異なった2種の領域を識別し、例えば文字は単純2
値化し、写真はディザ処理することが必要になる。
Many common documents contain a mixture of binary images such as characters and halftone images such as photographs and prints. If such a document is simply converted into a binary format and recorded, the quality of the text will be good, but the quality of the photo will deteriorate; conversely, if the document is converted into a binary format using halftone generation methods such as dithering, the quality of the photo will be good. However, the quality of the characters deteriorates. In order to obtain good quality for each text and photo, two different types of areas should be identified. For example, text should be divided into two simple
Then, the photo needs to be dithered.

この文字領域と中間調領域を識別するための方式として
、原稿中の濃度勾配を検出するものがある。その一つと
して、特開昭58−220563号公報で示されるよう
に、注目画素の濃淡値データであるフォーカス値と、注
目画素の周囲の画素の平均値であるデフォーカス値の差
の絶対値をとり、これがある閾値を越えたときに文字領
域と判定する方法がある。また、特開昭58−3374
号公報で示されるように、ブロック内の画素の濃淡値の
最大値と最小値との差で各領域を判定するものもある。
As a method for distinguishing between the character area and the halftone area, there is a method that detects the density gradient in the document. One of them is the absolute value of the difference between the focus value, which is the gray value data of the pixel of interest, and the defocus value, which is the average value of the pixels surrounding the pixel of interest, as shown in Japanese Patent Application Laid-Open No. 58-220563. There is a method of determining that it is a character area when it exceeds a certain threshold. Also, JP-A-58-3374
As shown in the above publication, there is a method in which each area is determined based on the difference between the maximum and minimum gray values of pixels within a block.

これらの方式によってカラー文字、中間調画像を忠実に
再現するための回路として、第7図、第8図に示される
ものがある。
As circuits for faithfully reproducing color characters and halftone images using these methods, there are circuits shown in FIGS. 7 and 8.

第7図に示される回路は、赤、緑、青の色分解フィルタ
によりそれぞれ読み取った3種類の入力信号R,G、 
Bに対して、各分離処理回路IR,IG。
The circuit shown in Figure 7 uses three types of input signals R, G, and
For B, each separation processing circuit IR, IG.

IBにおいて上記濃度勾配検出法を使用して文字。Characters using the concentration gradient detection method described above in IB.

中間調の分離を行い、3種類の信号R,G、 Bに対し
てそれぞれ2値化回路2R,2G、 2Bで2値化処理
を、またディザ処理回路3R,3G、 3Bでディザ処
理を独立に行なうことにより出力色信号r、 g、 b
を得るものである。この各色独立に領域を分離する方式
は、分n確度は高いがハードウェア規模が大きくなると
いう問題がある。
Separates halftones, performs binarization processing on three types of signals R, G, and B using binarization circuits 2R, 2G, and 2B, and independently performs dither processing using dither processing circuits 3R, 3G, and 3B. By doing this, the output color signals r, g, b
This is what you get. This method of separating regions independently for each color has a high accuracy, but has the problem of increasing the hardware scale.

これに対して第8図に示す回路は、特定の1種類の信号
、例えば、3種類の信号R,G、 Bから図示しないマ
トリックス回路等により輝度信号Yを形成し、分離処理
回路1においてこの輝度信号Yのみで文字、中間調分離
を行い、その結果を赤。
On the other hand, in the circuit shown in FIG. 8, a luminance signal Y is formed from one specific type of signal, for example, three types of signals R, G, and B by a matrix circuit (not shown), and this signal is processed in the separation processing circuit 1. Characters and halftones are separated using only the luminance signal Y, and the result is red.

緑、青の3種類に振り分けるようにしたものである。第
8図に示す回路によれば、分離処理の軽減はできるが、
カラー文字に対する確度を上げるため新たに文字判定の
処理が必要になる。
It is designed to be divided into three types: green and blue. According to the circuit shown in FIG. 8, the separation process can be reduced, but
In order to increase the accuracy for color characters, new character determination processing is required.

すなわち、赤、緑、青の3種類の信号R,G、 Bに対
して文字の色を判定し、これを7色化するための文字色
判定回路4を設ける必要がある。なお、第8図において
は、各色に対する2値化回路2及びディザ処理回路3を
共通のブロックで表している。
That is, it is necessary to provide a character color determining circuit 4 for determining the character color based on the three types of signals R, G, and B, red, green, and blue, and converting it into seven colors. In FIG. 8, the binarization circuit 2 and dither processing circuit 3 for each color are represented by a common block.

また、第7図、第8図の両回路ともに、濃度勾配値があ
る閾値を越えるか否かで絶対的に中間調領域と文字領域
を分離しているために、中間調部に存在する急峻な濃度
変化を文字と誤識別してしまい色付いたエツジとして出
力する場合がある。
In addition, in both the circuits shown in FIGS. 7 and 8, the halftone area and the character area are absolutely separated depending on whether the density gradient value exceeds a certain threshold value, so the sharpness that exists in the halftone area is In some cases, a change in density may be mistakenly identified as a character and output as a colored edge.

本発明は、上述の問題点を解決するために案出されたも
のであって、簡単な処理回路構成でカラー原稿のカラー
中間調、カラー文字を高画質で再現することを目的とす
る。
The present invention was devised to solve the above-mentioned problems, and an object of the present invention is to reproduce color halftones and color characters of a color original with high image quality using a simple processing circuit configuration.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、前記目的を達成するため、文字領域と中間調
領域とが混在するカラー原稿を読み取って記録する装置
において、前記カラー原稿を色分解して得た赤、  !
!l、  青の各色信号から該各色信号に共通する1種
類の信号を生成する回路と、前記1種類の信号から前記
カラー原稿の濃度勾配に相当する値を検出する回路と、
前記濃度勾配に相当する値に応じて前記各色信号の入力
濃淡値を適応的に変換するデータ変換回路とを設けたこ
とを特徴とする。
In order to achieve the above object, the present invention provides an apparatus for reading and recording a color original in which a character area and a halftone area are mixed.
! l. a circuit that generates one type of signal common to each blue color signal; and a circuit that detects a value corresponding to the density gradient of the color original from the one type of signal;
The present invention is characterized in that it further includes a data conversion circuit that adaptively converts the input gray value of each of the color signals according to a value corresponding to the density gradient.

前記データ変換回路としては、前記濃度勾配に相当する
値を高閾値及び低閾値と比較し、前記高閾値より高いと
きは2値化処理を、前記低閾値より低いときはディザ処
理を、また両闇値間にあるときは前記人力濃淡信号及び
濃度勾配に相当する値に基づいて所定の変換処理を行う
ものを使用することができる。
The data conversion circuit compares a value corresponding to the concentration gradient with a high threshold value and a low threshold value, and performs binarization processing when it is higher than the high threshold value, dither processing when it is lower than the low threshold value, and performs both. When the value is between the dark values, it is possible to use a method that performs a predetermined conversion process based on the manual grayscale signal and a value corresponding to the density gradient.

〔作用〕[Effect]

本発明においては、カラー原稿を色分解して得た赤、緑
、青の各色信号から同各色信号に共通する1種類の信号
、例えば、輝度信号を生成し、この1種類の信号からカ
ラー原稿の濃度勾配に相当する値を検出する。そして、
この濃度勾配に相当する値に応じて前記色信号の人力濃
淡信号が適応的に変換される。例えば、濃度勾配に相当
する値が高閾値より高いときは文字領域と見做して2値
化処理が行われ、低閾値より低いときは中間調領域と見
做してディザ処理が行われる。また、濃度勾配に相当す
る値が両閾値間にあるときは前記人力濃淡信号及び濃度
勾配値に基づいて所定の変換処理が行われ擬似的に誤り
が補正される。
In the present invention, one type of signal, for example, a luminance signal, common to each color signal is generated from red, green, and blue color signals obtained by color separation of a color original, and from this one type of signal, the color original is The value corresponding to the concentration gradient of is detected. and,
The manual grayscale signal of the color signal is adaptively converted in accordance with a value corresponding to this density gradient. For example, when the value corresponding to the density gradient is higher than a high threshold, the area is treated as a character area and binarization processing is performed, and when it is lower than the low threshold, it is regarded as a halftone area and dither processing is performed. Further, when the value corresponding to the density gradient is between the two thresholds, a predetermined conversion process is performed based on the human-powered gradation signal and the density gradient value, and the error is corrected in a pseudo manner.

〔実施例〕〔Example〕

以下、図面を参照しながら実施例に基づいて本発明の特
徴を具体的に説明する。
DETAILED DESCRIPTION OF THE INVENTION Hereinafter, features of the present invention will be specifically described based on examples with reference to the drawings.

第2図は画像処理装置全体の概略ブロック図を示す。FIG. 2 shows a schematic block diagram of the entire image processing device.

図において、6は例えばCCD(電荷結合素子)イメー
ジセンサ等を使用したカラー画像人力装置であって、カ
ラー原稿の濃淡情報を赤、緑、青の3種類の色分解フィ
ルタを介して8ピツトの濃淡信号として読み取るもので
ある。なあ、解像度は約160ドツト/cm(400ド
ツト/インチ)とする。読み取ったカラー原稿の濃淡信
号は、1画素8ビツトの画像メモリ7に格納される。こ
の画像メモリ7は、カラー原稿の赤、a、青各色信号を
A4版で1頁分格納できる容量を有しており、その出力
は画像処理装置8に供給される。
In the figure, reference numeral 6 is a color image human-powered device using, for example, a CCD (charge-coupled device) image sensor, which converts the grayscale information of a color document into an 8-pit image through three types of color separation filters: red, green, and blue. It is read as a grayscale signal. The resolution is approximately 160 dots/cm (400 dots/inch). The gray level signals of the read color original are stored in an image memory 7 of 8 bits per pixel. The image memory 7 has a capacity to store red, a, and blue color signals of a color document for one page of A4 size, and its output is supplied to an image processing device 8.

画像処理装置8は、第1図に示されるように、カラー原
稿の濃度勾配を検出する濃度勾配検出回路1a、検出さ
れた濃度勾配値に応じて人力信号R9G、Bを適応的に
変換する適応データ変換回路5゜変換された画像信号を
カラープリンタ等のカラー画像出力装置10で出力でき
るようにするディザ処理回路3で構成されている。なお
、画像処理装置8の詳細は後述する。        
  ゛また、前記装置全体の信号制御は制御装置9によ
り行なわれる。なお、前記のカラー画像出力袋W10は
約320ドツト/cm(800ドツト/インチ)の解像
度で2値画像の記録を行なうものである。ここでは、電
子写真式フルカラー・レーザビーム・プリンタを例とし
て挙げているが、カラー・サーマル・プリンタ、カラー
・インクジェット・プリンタを使用することもできる。
As shown in FIG. 1, the image processing device 8 includes a density gradient detection circuit 1a that detects the density gradient of a color document, and an adaptive circuit that adaptively converts the human input signals R9G and B according to the detected density gradient value. The data conversion circuit 5 is composed of a dither processing circuit 3 that allows the image signal converted by 5° to be outputted to a color image output device 10 such as a color printer. Note that details of the image processing device 8 will be described later.
Further, signal control of the entire device is performed by a control device 9. The color image output bag W10 is for recording a binary image at a resolution of approximately 320 dots/cm (800 dots/inch). Although an electrophotographic full-color laser beam printer is taken as an example here, a color thermal printer or a color inkjet printer may also be used.

次に、画像処理装置8について説明する。Next, the image processing device 8 will be explained.

画像処理装置8においては、赤、緑、青の各色信号R,
C,、Bを適応データ変換回路5に供給すると共に、カ
ラー原稿の濃淡を表す1種類の濃淡信号の濃度勾配値を
濃度勾配検出回路1aで検出し、この濃度勾配値により
適応データ変換回路5の動作を制御する。すなわち、1
種類の濃淡信号の濃度勾配値に応じて赤、緑、青の3色
フィルタで得られた各色信号R,G、 Bを適応的に変
換することで文字部の再現性をよくしている。
In the image processing device 8, red, green, and blue color signals R,
C, , B are supplied to the adaptive data conversion circuit 5, and the density gradient detection circuit 1a detects the density gradient value of one type of density signal representing the density of the color document. control the behavior of That is, 1
The reproducibility of character parts is improved by adaptively converting each color signal R, G, and B obtained by three color filters of red, green, and blue according to the density gradient value of each type of gray signal.

この濃度勾配検出回路1aで用いる濃淡信号としては、
人間の視覚特性に対応した輝度信号を使用することが良
好であると考えられる。
The density signal used in this density gradient detection circuit 1a is as follows:
It is considered best to use a luminance signal that corresponds to human visual characteristics.

輝度信号Yは、例えば式(1)で求められる。The luminance signal Y is obtained, for example, using equation (1).

y=OJR+0.59G+O,lIB   ・ ・ ・
 ・ (0式(1)におけるR、 G、 Bの係数はテ
レビジョン等で知られるものであるが、濃度信号Y、を
式(2)のように一般式で表し、入力装置の分光特性の
相違に応じて、式(2)の係数a、 b、 cの値は任
意に設定してもよい。
y=OJR+0.59G+O,lIB ・ ・ ・
・(0) The R, G, and B coefficients in equation (1) are known from televisions, etc., but the density signal Y is expressed in a general equation as shown in equation (2), and the spectral characteristics of the input device are Depending on the difference, the values of coefficients a, b, and c in equation (2) may be set arbitrarily.

Yd= a−R+ b−c+ c−B  ・・・・−(
2)本実施例では、濃度勾配検出回路1aにおいて、式
(1)に基づいて各色信号R,G、 Bから例えば、マ
トリックス演算により求められた輝度信号Yを用いてカ
ラー原稿中の濃度勾配を検出している。この濃度勾配検
出回路1aとして、ここでは、本発明者が先に提案した
特願昭61−197665号明細書に記載した文字成分
を抽出する帯域フィルタの出力によって判定する回路を
使用している。この帯域フィルタの係数を第3図、周波
数特性を第4図に示す。
Yd= a-R+ b-c+ c-B...-(
2) In this embodiment, the density gradient detection circuit 1a detects the density gradient in a color original using the luminance signal Y obtained from each color signal R, G, and B by matrix calculation based on equation (1). Detected. As the concentration gradient detection circuit 1a, a circuit that makes a determination based on the output of a bandpass filter for extracting character components, which is described in Japanese Patent Application No. 197665/1988, which was previously proposed by the present inventor, is used here. The coefficients of this bandpass filter are shown in FIG. 3, and the frequency characteristics are shown in FIG. 4.

第4図から判るように、帯域フィルタの周波数特性は、
133線(5,23fl p/mm) 〜175線(6
,91p /mm)の網点印刷の網点成分を除去するよ
うに設定されており、網点成分を除いた原稿中の高域周
波数成分、すなわち、文字成分を抽出するようになって
いる。なお、lpはラインペアズ(li]e pair
s)  を意味し、また133線、175線とは、網点
密度がそれぞれ1334!p/インチ、175βp/イ
ンチであることを意味している。
As can be seen from Figure 4, the frequency characteristics of the bandpass filter are:
133 lines (5,23fl p/mm) ~175 lines (6
, 91p/mm) is set to remove the halftone dot components of halftone dot printing, and the high frequency components in the document excluding the halftone dot components, that is, the character components, are extracted. Note that lp is line pairs (li]e pair
s), and 133 lines and 175 lines each have a dot density of 1334! p/inch, meaning 175βp/inch.

この処理によって得られた濃度勾配値gに対する中間調
部1文字部の分離誤りを第5図に示す。
FIG. 5 shows the separation error of one character part in the halftone part with respect to the density gradient value g obtained by this process.

この図から判るように、濃度勾配値gに対して分離閾値
を図中r。Xで示されるように高(設定すると文字部の
誤りが高くなり、図中r sin で示されるように分
離閾値の値を低くすると中間調部の誤りが高くなる。す
なわち、中間調部と文字部との間に相反の関係が存在す
ることが判る。
As can be seen from this figure, the separation threshold is r in the figure for the concentration gradient value g. If set to high (as shown by It can be seen that there is a reciprocal relationship between the two departments.

このような特性のものを単一の閾値で完全に2つの領域
に分離しようとすると、文字領域でありながら閾値より
少し低い値を有するところはディザ処理され、一方、閾
値より少し高い値を有する中間調領域は完全に2値化さ
れ、両者とも品質の低下を招く。
If you try to completely separate something with such characteristics into two areas using a single threshold, areas that are text areas but have values slightly lower than the threshold will be dithered, while areas that have values slightly higher than the threshold will be dithered. The halftone area is completely binarized, and both result in a decrease in quality.

そこで、本実施例では特願昭61−197665号と同
様に濃度勾配値gに対する閾値として、高、低2つの閾
値’@all+ rainを設け、文字領域と中間調領
域との判別がつきにくい両開値r□8.r1゜間の値を
有する領域に対しては、適応的に濃淡値を変換させるこ
とによって画質をそれほど低下させることなく再現させ
るという方式をとっている。
Therefore, in this embodiment, as in the case of Japanese Patent Application No. 61-197665, two threshold values '@all+rain', high and low, are provided as thresholds for the density gradient value g. Opening price r□8. For regions having values between r1°, a method is adopted in which the grayscale values are adaptively converted to reproduce the image without much deterioration in image quality.

本実施例では、第1図に示すように、濃度勾配検出回路
1aにおいて、前記の輝度信号Yを用いて前記帯域フィ
ルタにより濃淡勾配値gを検出する。
In this embodiment, as shown in FIG. 1, in the density gradient detection circuit 1a, the luminance signal Y is used to detect the density gradient value g by the bandpass filter.

そして、以下に示す式に基づいて各色信号R,G。Then, each color signal R, G is determined based on the formula shown below.

Bの人力画像の濃淡値をそれぞれを変換する構成になっ
ている。なお、各色信号R,G、 Bに対しては同じ処
理が施されるのでここでは、各信号R1G、Bの濃淡値
をdで代表する。
The configuration is such that each of the grayscale values of the human image B is converted. Note that since the same processing is applied to each color signal R, G, and B, the gray value of each signal R1G and B is represented by d here.

今、走査中の画素の濃淡値をdSa度勾配値をgとした
とき、gをr。lz rainの範囲で正規化した正規
化濃度勾配値rを式(3)で求める。
Now, when the gray value of the pixel being scanned is dSa and the gradient value is g, g is r. A normalized concentration gradient value r normalized within the range of lz rain is obtained using equation (3).

roam     rain 次に、正規化濃度勾配値「が1より大きいときはr=l
とし、rが0より小さいときはr=Qとする。
roam rain Next, when the normalized concentration gradient value is greater than 1, r=l
and when r is smaller than 0, r=Q.

この正規化濃度勾配値rの変化を第5図の横軸に濃度勾
配値gの変化と共に示す。
Changes in the normalized concentration gradient value r are shown on the horizontal axis of FIG. 5 along with changes in the concentration gradient value g.

式(3)で得られた正規化濃度勾配値rにより濃淡値d
を式(4)のように変換する。
The density value d is determined by the normalized density gradient value r obtained by equation (3).
is converted as shown in equation (4).

但し、dc:変換後の濃淡値 d:変換前の濃淡値 th:文字用の2値化閾値 dmax:最大濃淡値 すなわち、もし、変換前の濃淡値dが文字用の2値化閾
値th以上であるならば、 dC=r(dmax  ti) + dとし、そうでな
ければ dc= rd+dとする。
However, dc: gradation value after conversion d: gradation value before conversion th: Binarization threshold for text dmax: Maximum gradation value, that is, if the gradation value d before conversion is equal to or greater than the binarization threshold for text th If so, then dC=r(dmax ti) + d; otherwise, dc=rd+d.

適応データ変換回路5において、式(3)、  (4)
を計算し、変換後の濃淡値dcを求めることによって、
文字部、中間調部それぞれに適したデータが生成される
In the adaptive data conversion circuit 5, Equations (3) and (4)
By calculating the gradation value dc after conversion,
Data suitable for each of the text portion and halftone portion is generated.

例えば、いま濃度勾配値gが高閾値r3.Hより大きい
場合、すなわち文字領域である場合は、式(3)から、
r>lとなり、r=lと置き換えられる。
For example, the concentration gradient value g is now the high threshold value r3. If it is larger than H, that is, if it is a character area, from equation (3),
r>l, and is replaced by r=l.

ここで式(4)により、変換前の濃淡値dが文字用の2
値化閾値th以上であるときは、d C=d ma、、
となり、また閾値thより小さいときは、dc=Qとな
り、完全に2値化されたデータに変換されることが判る
Here, according to equation (4), the gray value d before conversion is 2 for characters.
When it is equal to or greater than the value threshold th, d C = d ma,,
When it is smaller than the threshold th, dc=Q, and it can be seen that the data is converted into completely binarized data.

また、濃度勾配値gが低閾値rmi□より小さい場合、
すなわち、中間調領域である場合は、r=0とされ、式
(4)からd、−dとなり濃淡値はそのまま保存される
Furthermore, if the concentration gradient value g is smaller than the low threshold value rmi□,
That is, in the case of a halftone area, r=0, and from equation (4), d and -d are obtained, and the grayscale value is preserved as is.

もし濃度勾配値gが高閾値rつ、8と低閾値r ++I
nの間であるときは、式(4)に基づき、正規化濃度勾
配値rと変換前の濃淡値dによって適応的にデータ変換
が行われ、擬似的に誤りを補正することが可能になる。
If the concentration gradient value g is high threshold r, 8 and low threshold r ++I
When the value is between n, data conversion is performed adaptively using the normalized concentration gradient value r and the pre-conversion gray value d based on equation (4), making it possible to correct errors in a pseudo manner. .

このようにして、変換された濃淡データをディザ処理回
路3で単純にディザ処理することによって、文字部は2
値化され、中間調部はディザ処理され、また両者が混在
している領域は適応的に処理される。
In this way, by simply dithering the converted grayscale data in the dither processing circuit 3, the character part can be divided into 2 parts.
The halftone part is dithered, and areas where both are mixed are adaptively processed.

次に、適応データ変換回路5におけるデータ変換の他の
例を以下に説明する。
Next, another example of data conversion in the adaptive data conversion circuit 5 will be described below.

いま、走査中の画素の濃淡値をd1濃度勾配値をgとし
たとき、gを以下のように変換する。
Now, when the gray value of the pixel being scanned is d1 and the density gradient value is g, g is converted as follows.

r 11411     r m111但し、RC:濃
度勾配の強度 n:強度定数 次に、RCがnより大きいときはR6−nとし、Roが
0より小さいときはR6二〇とする。なお、R1がnよ
り大きいときにRc=nとしたのは、Rcの最大値を制
限するためであって、この変換は必ずしも必要ではない
r 11411 r m111 However, RC: Intensity of concentration gradient n: Intensity constant Next, when RC is larger than n, it is set as R6-n, and when Ro is smaller than 0, it is set as R620. Note that the reason for setting Rc=n when R1 is larger than n is to limit the maximum value of Rc, and this conversion is not necessarily necessary.

更に、濃度勾配の強度Rとして R=RC+1  ・・・・・・・・・・(6)と設定し
直し、濃度勾配強度Rと濃淡値dにより濃淡値を次のよ
うに変換する。
Further, the intensity R of the density gradient is set again as R=RC+1 (6), and the density value is converted as follows using the density gradient intensity R and the density value d.

dc = R(d −th) +th  ・・・・・・
・(7)但し、dc:変換後の濃淡値 th:文字用の2値化閾値 以上の変換により、低閾値r1□より高い濃度勾配値g
を有する画素の濃淡値dは、その値が2値化閾値thよ
り高い場合には、thにR(d−th)を加えた値に変
換され、閾値thより低い場合には、thからR(d−
th)を引いた値に変換される。
dc = R (d - th) + th ・・・・・・
・(7) However, dc: gradation value after conversion th: density gradient value g higher than low threshold r1□ due to conversion equal to or higher than the binarization threshold for characters
If the value is higher than the binarization threshold th, the gray value d of a pixel having (d-
th).

また、低閾値r1、より低い濃度勾配値gを有する画素
の濃淡値dでは、Rc”Oとなるため、式(6)からR
=1となる。したがって、式(7)からdc=dとなり
濃淡値は変化しない。
Furthermore, at the gray value d of a pixel having a low threshold value r1 and a lower density gradient value g, Rc''O is obtained, so from equation (6), R
=1. Therefore, from equation (7), dc=d, and the gray value does not change.

つまり、以上に説明したように濃淡値dが低閾値rsl
h より小さい領域、すなわち中間調領域では、濃淡デ
ータがそのまま保存されるが、混在領域1文字領域の画
像は、2値化のため・の閾値th。
In other words, as explained above, the gray value d is the low threshold rsl
In an area smaller than h, that is, in a halftone area, the grayscale data is saved as is, but for an image in a mixed area and one character area, the threshold value th for binarization is applied.

濃淡値dの大小間係及び濃度勾配の強度Rとによって適
応的に適切に変換される。
It is adaptively and appropriately converted depending on the magnitude of the grayscale value d and the intensity R of the density gradient.

次に、黄、マゼンタ、シアン、青、緑、赤及び黒の各文
字色に対する処理の例を第6図に示す。
Next, an example of processing for each character color of yellow, magenta, cyan, blue, green, red, and black is shown in FIG.

いま、第6図においては、濃度勾配値gが高閾値r、。Now, in FIG. 6, the concentration gradient value g is the high threshold value r.

以上であるとする。このときは、原稿が文字領域と判断
され、人力濃淡値が文字用の2値化闇値thより大きい
場合は最大濃淡値r255」に引き上げられ、小さい場
合は最小濃淡値「0」に引き下げられる。このとき、2
値化の閾値thを色文字を構成する主成分色の濃淡値よ
り小さく設定しておけば、主成分色のみが最大値に引き
上げられ、その他の色は最小値に引き下げられる。した
がって、人力の色文字は赤、緑、青それぞれで2値化さ
れ、破線で示す処理前の信号が実線で示す信号に変換さ
れ、色文字が忠実に再現される。
Assume that the above is the case. At this time, the document is determined to be a text area, and if the manual gradation value is larger than the binary darkness value th for text, it is raised to the maximum gradation value r255, and if it is smaller, it is lowered to the minimum gradation value ``0''. . At this time, 2
If the value conversion threshold th is set to be smaller than the gradation value of the main component colors constituting the color character, only the main component colors will be raised to the maximum value, and the other colors will be lowered to the minimum value. Therefore, the human-powered color characters are binarized into red, green, and blue, respectively, and the unprocessed signal shown by the broken line is converted into the signal shown by the solid line, so that the color character is faithfully reproduced.

また、文字部については最大値「255」と最小値「0
」とに2値化されているために、ディザ処理回路3でデ
ィザ処理しても画像が劣化することはない。
Also, for the character part, the maximum value is "255" and the minimum value is "0".
'', the image does not deteriorate even if dither processing is performed by the dither processing circuit 3.

第1図の適応データ変換回路5では、このように赤、緑
、青それぞれの人力信号R,G、 Bに対して適応的に
データを変換している。なお、データの変換はルックア
ップテーブル等を使用すれば容易に行うことができ、非
常に簡単なハードウェア構成で適応データ変換回路5を
実現することができる。
In this way, the adaptive data conversion circuit 5 shown in FIG. 1 adaptively converts data for the red, green, and blue human input signals R, G, and B, respectively. Note that data conversion can be easily performed using a look-up table or the like, and the adaptive data conversion circuit 5 can be realized with a very simple hardware configuration.

また、本実施例においては、データを直接変換している
ので、従来例のように、ディザ処理と2値化処理を使い
分けて出力する必要がなく、変換されたデータを単純に
ディザ処理することで、中間調領域はディザ処理、文字
領域は2値化処理に相当した画像を出力でき、文字及び
中間調それぞれの領域を適切に高画質で再現できる。
In addition, in this embodiment, since the data is directly converted, there is no need to use dither processing and binarization processing for output as in the conventional example, and it is possible to simply dither the converted data. In this way, it is possible to output an image corresponding to dither processing for the halftone region and binarization processing for the text region, and it is possible to appropriately reproduce the text and halftone regions with high image quality.

なお、上述の実施例においては、帯域フィルタにより濃
度勾配値を検出したが、原稿中の濃度勾配値を検出する
方法としては、先に述べたように特開昭58−3374
号公報に示される窓内の最大値と最小値との差をとるも
のや、特開昭58−220563号公報に示されるよう
にフォーカス値とデフォーカス値の差の絶対値をとるも
のを採用してもよい。
In the above-mentioned embodiment, the density gradient value was detected using a bandpass filter, but the method for detecting the density gradient value in the original document is as described in Japanese Patent Application Laid-open No. 58-3374.
The method that takes the difference between the maximum value and the minimum value within the window as shown in the Japanese Patent Publication No. 58-220563, and the method that takes the absolute value of the difference between the focus value and the defocus value as shown in Japanese Patent Application Laid-Open No. 58-220563 are adopted. You may.

すなわち、カラー原稿の濃度勾配に相当する値を検出で
きるものであればどのような方法でもよく、文字領域と
中間調領域における誤りが第5図に示したような相反の
関係となるものについては全てに対して適用可能である
In other words, any method may be used as long as it can detect a value corresponding to the density gradient of a color original, and it is not suitable for methods where errors in the character area and halftone area have a contradictory relationship as shown in Figure 5. Applicable to all.

〔発明の効果〕〔Effect of the invention〕

以上のように、本発明においては、カラー原稿の濃度勾
配に相当する値を検出し、この値に応じて赤、緑、青の
人力濃淡信号を適応的に変換するようにしている。例え
ば、領域識別のための闇値を2レベルとし、読み取った
画像の濃度勾配値が両閾値にあるときは、a淡値及び濃
度勾配値に応じて、適応的にデータを所定の値に変換す
る。これにより、中間調部等に存在する急峻な濃度変化
が文字と誤認されることがなくなり、不自然な色付きの
エツジの発生を防止することができる。また、本発明に
右いては、1種類の人力信号からカラー原稿の濃度勾配
に相当する値を検出しているので、赤、緑、青の3系統
においてそれぞれ濃度勾配を検出する必要がなく、回路
構成が簡単となる。したがって、本発明によれば、カラ
ー文字。
As described above, in the present invention, a value corresponding to the density gradient of a color document is detected, and manual grayscale signals of red, green, and blue are adaptively converted according to this value. For example, if the darkness value for area identification is set to two levels and the density gradient value of the read image is at both thresholds, the data is adaptively converted to a predetermined value according to the a-light value and the density gradient value. do. This prevents sharp density changes in halftone areas from being mistaken for characters, and prevents unnaturally colored edges from occurring. Further, according to the present invention, since the value corresponding to the density gradient of a color original is detected from one type of human input signal, there is no need to detect the density gradient in each of the three systems of red, green, and blue. The circuit configuration becomes simple. Therefore, according to the invention, colored characters.

カラー中間調画像が混在したカラー原稿に対しても、簡
単な回路構成で高画質の画像を提供できる。
High-quality images can be provided with a simple circuit configuration even for color originals containing color halftone images.

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

第1図は本発明の画像処理装置の構成例を示すブロック
図、第2図は画像処理装置全体の構成を示す概略図、第
3図は文字成分抽出用の帯域フィルタの係数を示す説明
図、第4図は同帯域フィルタの空間周波数特性を示すグ
ラフ、第5図は濃度勾配値に対する中間調1文字領域の
分離誤りの変化を示すグラフ、第6図は文字色に対する
処理を説明するためのグラフ、第7図及び第8図はそれ
ぞれ異なる従来のカラー画像処理装置のブロック図であ
る。 l;分離処理回路     la:濃度勾配検出回路2
:2値化回路      3:ディザ処理回路4:文字
色判定回路    5:適応データ変換回路6:カラー
画像入力装置  7:画像メモリ8:画像処理装置  
   9:制御装置10:カラー画像出力装置 特許出願人  富士ゼロックス株式会社代 理 人  
小 堀  益(ほか2名)第1図 第 2 図 第3図 箪 4 図 空間周波数[jlp/mmコ 慎 5 U O,、、、、OO,250,50,75L、、、、、I
  正規化濃度勾配値r第 6 図 RGB 第7図 第8図
FIG. 1 is a block diagram showing an example of the configuration of an image processing device of the present invention, FIG. 2 is a schematic diagram showing the overall configuration of the image processing device, and FIG. 3 is an explanatory diagram showing coefficients of a bandpass filter for character component extraction. , Fig. 4 is a graph showing the spatial frequency characteristics of the same band filter, Fig. 5 is a graph showing changes in the separation error of one halftone character area with respect to the density gradient value, and Fig. 6 is for explaining the processing for text color. 7 and 8 are block diagrams of different conventional color image processing devices, respectively. l: Separation processing circuit la: Concentration gradient detection circuit 2
: Binarization circuit 3: Dither processing circuit 4: Character color determination circuit 5: Adaptive data conversion circuit 6: Color image input device 7: Image memory 8: Image processing device
9: Control device 10: Color image output device Patent applicant: Fuji Xerox Co., Ltd. Agent
Masu Kobori (and 2 others) Fig. 1 Fig. 2 Fig. 3 Fig. 4 Fig. Spatial frequency [jlp/mm Koshin 5 U O,,,,,OO,250,50,75L,,,,,I
Normalized concentration gradient value r Fig. 6 RGB Fig. 7 Fig. 8

Claims (1)

【特許請求の範囲】 1、文字領域と中間調領域とが混在するカラー原稿を読
み取って記録する装置において、前記カラー原稿を色分
解して得た赤、緑、青の各色信号から該各色信号に共通
する1種類の信号を生成する回路と、前記1種類の信号
から前記カラー原稿の濃度勾配に相当する値を検出する
回路と、前記濃度勾配に相当する値に応じて前記各色信
号の入力濃淡値を適応的に変換するデータ変換回路とを
設けたことを特徴とする画像処理装置。 2、前記データ変換回路は、前記濃度勾配に相当する値
を高閾値及び低閾値と比較し、前記高閾値より高いとき
は2値化処理を、前記低閾値より低いときはディザ処理
を、また両閾値間にあるときは前記入力濃淡信号及び濃
度勾配に相当する値に基づいて所定の変換処理を行うも
のであることを特徴とする特許請求の範囲第1項記載の
画像処理装置。
[Claims] 1. In an apparatus for reading and recording a color original in which a character area and a halftone area are mixed, each color signal is obtained from red, green, and blue color signals obtained by color-separating the color original. a circuit that generates one type of signal common to the two, a circuit that detects a value corresponding to the density gradient of the color original from the one type of signal, and an input of each color signal according to the value corresponding to the density gradient. An image processing device comprising: a data conversion circuit that adaptively converts grayscale values. 2. The data conversion circuit compares a value corresponding to the concentration gradient with a high threshold value and a low threshold value, and performs binarization processing when the value is higher than the high threshold value, dither processing when it is lower than the low threshold value, and 2. The image processing apparatus according to claim 1, wherein when the value is between both threshold values, a predetermined conversion process is performed based on the input gradation signal and a value corresponding to the density gradient.
JP62032257A 1987-02-14 1987-02-14 Image processor Pending JPS63199569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62032257A JPS63199569A (en) 1987-02-14 1987-02-14 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62032257A JPS63199569A (en) 1987-02-14 1987-02-14 Image processor

Publications (1)

Publication Number Publication Date
JPS63199569A true JPS63199569A (en) 1988-08-18

Family

ID=12353960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62032257A Pending JPS63199569A (en) 1987-02-14 1987-02-14 Image processor

Country Status (1)

Country Link
JP (1) JPS63199569A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0630289A (en) * 1992-07-08 1994-02-04 Mita Ind Co Ltd Color conversion circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0630289A (en) * 1992-07-08 1994-02-04 Mita Ind Co Ltd Color conversion circuit

Similar Documents

Publication Publication Date Title
JP4531606B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP4331159B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP3784649B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JP4373312B2 (en) Image forming method and image forming system for reproducing color image into monochrome image
JP2009038537A (en) Image processor, image formation device, image processing program, and recording medium for recording image processing program therein
JP4115999B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
JPH0722330B2 (en) Image region identification method for image processing apparatus
US7880927B2 (en) Image forming apparatus, image forming method, program, and recording medium
JPS63174472A (en) Color image processing device
JP3334047B2 (en) IMAGE PROCESSING APPARATUS, IMAGE READING APPARATUS AND IMAGE FORMING APPARATUS EQUIPPED WITH THE SAME, IMAGE PROCESSING METHOD, AND COMPUTER-READABLE STORAGE MEDIUM CONTAINING IMAGE PROCESSING PROCEDURE
JP4260774B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP6474315B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP4545766B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing program, and recording medium
JPH10145623A (en) Original discrimination method and device therefor
JP3847565B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP4740913B2 (en) Image processing apparatus, image processing method, image forming apparatus and program, and recording medium
JPS63199569A (en) Image processor
JP3767210B2 (en) Document type determination device and image processing device
JP4176053B2 (en) Image processing method, image processing apparatus, image forming apparatus, and computer program
JP4498316B2 (en) Image processing apparatus, image processing method, image forming apparatus, and computer program
JP3064896B2 (en) Image processing device
JP2003224718A (en) Image processing method and image processor
JP4545134B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2008035478A (en) Method and apparatus for image processing, image forming apparatus, computer program, and recording medium