JPH03181276A - Picture copying machine - Google Patents
Picture copying machineInfo
- Publication number
- JPH03181276A JPH03181276A JP1319021A JP31902189A JPH03181276A JP H03181276 A JPH03181276 A JP H03181276A JP 1319021 A JP1319021 A JP 1319021A JP 31902189 A JP31902189 A JP 31902189A JP H03181276 A JPH03181276 A JP H03181276A
- Authority
- JP
- Japan
- Prior art keywords
- black character
- character area
- black
- probability
- area
- 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
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
【産業上の利用分野]
本発明は、入力した画像情報に対して像域分離を行い、
その分離情報に基づいて画像を処理して複写を行う画像
複写装置に関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention performs image area separation on input image information,
The present invention relates to an image copying apparatus that processes and copies images based on the separation information.
[従来の技術]
従来、この種の装置では、COD等の撮像素子によって
原稿を読み取り、A/D変換された画像情報に対して黒
文字領域の抽出を行い、その結果に基づいて画像を出力
し、レーザビームプリンタ(LBP)等により複写を行
っている。そして、黒文字領域の抽出を行う像域分離技
術としては、特に白黒原稿の場合が良く知られており、
一般的には3×3画素程度の画素マトリクスを抽出し、
中心画素とその周囲画素との濃度値の差により、文字で
あるか写真であるかを判定するように構成されている。[Prior Art] Conventionally, this type of device reads a document using an image sensor such as a COD, extracts a black character area from the A/D converted image information, and outputs an image based on the result. Copies are made using a laser beam printer (LBP) or the like. Image area separation technology for extracting black character areas is well known, especially for black and white originals.
Generally, a pixel matrix of about 3 x 3 pixels is extracted,
It is configured to determine whether it is a text or a photograph based on the difference in density values between the center pixel and its surrounding pixels.
また近年、カラーの複写機においても、文字。In recent years, color copying machines are also using text.
写真領域を画素単位で分離しようという製品もあるが、
これは画素単位で、例えば無彩色でエツジ成分が存在す
れば、黒文字のエツジ部であると判断するのが一般的で
ある。There are products that attempt to separate photographic areas pixel by pixel, but
This is done pixel by pixel. For example, if an edge component is present in an achromatic color, it is generally determined that it is an edge part of a black character.
[発明が解決しようとしている課題1
しかしながら、上記従来例では、ハードウェアの構成上
、どうしても判断基準が単純化し、また判断基準も2値
であるため、黒文字領域の抽出を誤判定しやすいという
問題があった。[Problem to be Solved by the Invention 1] However, in the conventional example described above, the judgment criteria are inevitably simplified due to the hardware configuration, and the judgment criteria are also binary, so there is a problem that it is easy to misjudge the extraction of black character areas. was there.
そして、エツジ成分の存在する領域であるという2値情
報と、無彩色であるという2値情報とのANDにより、
黒文字のエツジ領域であると判断しているが、例えば無
彩色に近い色でエツジ成分が少しあるような場合の判断
、あるいは無彩色に近い色でも、それが白に近い色か黒
に近い色かの判断には反映されておらず、そのため、誤
判定しやすいという欠点もあった。Then, by ANDing the binary information indicating that the area contains an edge component and the binary information indicating that it is an achromatic color,
Although it is determined that it is an edge area of black text, for example, the judgment can be made when the color is close to an achromatic color and there is a slight edge component, or even if the color is close to an achromatic color, it is a color that is close to white or close to black. This has the disadvantage that it is not reflected in the judgment, and as a result, it is easy to make a false judgment.
本発明は、上記課題を解決するために成されたもので、
複数の分布量から黒文字領域である確率を求め、これら
から黒文字領域であるか否かを判定することにより、良
好な画像を複写できる画像複写装置を提供することを目
的とする。The present invention was made to solve the above problems, and
It is an object of the present invention to provide an image copying apparatus that can copy good images by determining the probability of a black text area from a plurality of distribution amounts and determining from these whether the area is a black text area.
[課題を解決するための手段]
上記目的を達成するために、本発明の画像複写装置は以
下の構成から成る。すなわち、入力した画像情報に対し
て像域分離を行い、分離された情報に基づいて画像を処
理して複写を行う画像複写装置において、前記画像情報
に対して複数の分布量をそれぞれ求める第1の演算手段
と、該第1の演算手段で求めた各分布量から黒文字領域
確率を求める第2の演算手段と、該第2の演算手段で求
めた黒文字領域確率から黒文字領域の判定を行、う判定
手段と、該判定手段での結果に基づいて画像を処理して
複写を行う複写手段とを備える。[Means for Solving the Problems] In order to achieve the above object, an image copying apparatus of the present invention has the following configuration. That is, in an image copying apparatus that performs image area separation on input image information, processes the image based on the separated information, and copies the image, a first step that calculates a plurality of distribution amounts for the image information, respectively. a calculating means, a second calculating means for calculating a black character area probability from each distribution amount determined by the first calculating means, and determining a black character area from the black character area probability calculated by the second calculating means; and a copying means for processing and copying an image based on the result of the determining means.
また好ましくは、前記複数の分布量は、それぞれ中間調
、黒ドツト密度、コントラスト、有彩色の各分布量であ
ることを一態様とする。Preferably, each of the plurality of distribution amounts is a distribution amount of a halftone, a black dot density, a contrast, and a chromatic color.
[作用]
以上の構成において、画像情報に対して複数の分布量を
測定し、各分布量から黒文字領域確率を求める。そして
求めた黒文字領域確率により黒文字領域の判定し、その
結果に基づいて画像処理を行い、画像を複写するように
動作する。[Operation] In the above configuration, a plurality of distribution amounts are measured for image information, and a black character area probability is determined from each distribution amount. Then, a black character area is determined based on the obtained black character area probability, image processing is performed based on the result, and the image is copied.
[実施例]
以下、添付図面を参照して本発明に係る好適な実施例を
詳細に説明する。[Embodiments] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
く第1の実施例〉
第1図は、実施例における画像複写装置を示す外観斜視
図である。図において、1−1は原稿読取部および画像
処理部であり、原稿を走査する光学系受光素子であるラ
イン状のCCDおよび後述する各種画像処理部を含む。First Embodiment> FIG. 1 is an external perspective view showing an image copying apparatus in an embodiment. In the figure, reference numeral 1-1 denotes a document reading section and an image processing section, which includes a line-shaped CCD that is an optical system light receiving element for scanning a document and various image processing sections to be described later.
また、実施例におけるCODはR(レッド)、G(グリ
ーン)。Moreover, COD in Examples is R (red) and G (green).
B(ブルー)の各種光学フィルタによって構成される3
ラインのカラー撮像素子である。1−2は原稿を押える
圧板を兼ねたディジタイザである。3 consisting of various B (blue) optical filters
It is a line color image sensor. 1-2 is a digitizer which also serves as a pressure plate for pressing the original.
1−3は操作部であり、原稿読み取りのスタート指示、
複写枚数の選択、各種画像処理の選択等を行う。そして
、■−4は2値データを出力するプリンタであり、実施
例では、レーザビームプリンタ(LBP)を用いている
。1-3 is the operation unit, which instructs to start reading the original;
Select the number of copies, select various image processing, etc. 2-4 is a printer that outputs binary data, and in this embodiment, a laser beam printer (LBP) is used.
次に、実施例での原稿読取部および画像処理部1−1の
構成を第2図に示すブロック図を参照して以下に説明す
る。Next, the configuration of the document reading section and image processing section 1-1 in the embodiment will be explained below with reference to the block diagram shown in FIG.
2−1は原稿であり、第1図の原稿圧板1−2の下に置
かれる。2−2は光学レンズであり、CCD上に原稿画
像を結像する。2−3はCODであり、R(レッド)、
G(グリーン)、B(ブルー)各光学フィルタを持った
3ラインのCODにより構成される。Reference numeral 2-1 denotes an original, which is placed below the original pressing plate 1-2 in FIG. 2-2 is an optical lens that forms an image of the original on the CCD. 2-3 is COD, R (red),
It is composed of three lines of COD with G (green) and B (blue) optical filters.
ここで、COD、1ラインの受光部数は原稿台の1方向
、例えばX方向全体を読み取る数で構成されており、X
方向が30cmで16pe 1読み取りであれば、30
x160=4800個以上の受光部により構成されてい
る。そして原稿を走査する場合には、結像レンズ2−2
.C0D2−3をX方向に走査し、原稿の読み取りを行
う。Here, COD, the number of light-receiving parts for one line, consists of the number of light-receiving parts for one line of the document table, for example, the entire X direction;
If the direction is 30cm and 16pe 1 reading, then 30
It is composed of x160=4800 or more light receiving sections. When scanning a document, the imaging lens 2-2
.. C0D2-3 is scanned in the X direction to read the original.
このCCD2−3により、原稿情報はアナログ電気信号
に変換され、変換されたR、G、B各種信号がアナログ
信号処理部2−4へ出力される。The CCD 2-3 converts the document information into analog electrical signals, and outputs the converted R, G, and B various signals to the analog signal processing section 2-4.
2−4はアナログ信号処理部であり、各色毎に、サンプ
ル&ホールド、ダークレベルの補正ダイナミックレンジ
の制御等を行った後に、A/D変換(アナログデジタル
変換)を行い、入力画像処理部2−5へR,G、B信号
を出力する。2−5は入力画像処理部であり、入力した
R、G、Bの各色毎にCCDの各受光部の受光感度の補
正であるシェーディング補正を行い、詳細は後述する画
像処理部2−6へ出力する。2-4 is an analog signal processing section, which performs sample & hold, dark level correction dynamic range control, etc. for each color, performs A/D conversion (analog-digital conversion), and input image processing section 2. Outputs R, G, and B signals to -5. 2-5 is an input image processing unit, which performs shading correction, which is correction of the light-receiving sensitivity of each light-receiving part of the CCD, for each of the input R, G, and B colors.For details, refer to the image processing unit 2-6, which will be described later. Output.
2−6は画像処理部であり、実施例の中心である黒文字
領域を分離する像域分離、R,G、Bの色情報からプリ
ンタの色インクに対応したC(シアン)9M(マゼンタ
)、Y(イエロー)に変換する対数変換部、プリンタの
出力色特性に応じた変換を行うマスキング変換部、C,
M、Yからグレイ成分を分離してB、(ブラック)に置
換える下色除去部(UCR)等により構成される。2-6 is an image processing unit, which performs image area separation for separating the black character area, which is the center of the embodiment, C (cyan), 9M (magenta), and 9M (magenta) corresponding to the color ink of the printer from the R, G, and B color information. A logarithmic conversion unit that converts to Y (yellow), a masking conversion unit that performs conversion according to the output color characteristics of the printer, C,
It is composed of an under color removal unit (UCR) that separates gray components from M and Y and replaces them with B and (black).
上述のC,M、Y、Bx各濃度情報はプリンタ部2−7
へ出力され、出力装置によって紙に複写される。2−8
は上述の各処理を制御する制御部(CPU)であり、2
−9は第1図に示す1−3に対応する操作部である。The C, M, Y, and Bx density information mentioned above is stored in the printer section 2-7.
and is copied onto paper by an output device. 2-8
is a control unit (CPU) that controls each of the above-mentioned processes, and 2
-9 is an operation unit corresponding to 1-3 shown in FIG.
次に、本発明の趣旨である黒文字領域確率関数を第3図
(a)〜(d)を参照して説明する。Next, the black character area probability function, which is the gist of the present invention, will be explained with reference to FIGS. 3(a) to 3(d).
第3図(a)〜(d)に示すいずれの関数も、縦軸(y
軸)は、黒文字領域である確率を表し、y軸の値が増加
すると確率が高くなる事を示す。All functions shown in Figures 3(a) to (d) are plotted on the vertical axis (y
The axis) represents the probability of being in a black text area, and indicates that the probability increases as the value on the y-axis increases.
また、横軸(y軸)の各種分布は単位面積当たりの分布
量を示すものであり、y軸の値が増加すると分布量が増
加する事を示す。以下、各関数に対して順に説明を加え
る。Further, the various distributions on the horizontal axis (y-axis) indicate the amount of distribution per unit area, and as the value on the y-axis increases, the amount of distribution increases. Below, each function will be explained in turn.
第3図(a)に示す図は、黒ドツト密度分布と黒文字領
域確率との関数を表している。ここで、黒ドツト密度と
は、一定濃度以上の無彩色データ密度を表すものである
。一般に、黒ドツト密度は白黒写真原稿等では非常に高
く、逆にカラー写真原稿では非常に小さい値をとる。こ
れに対して、文字の種類によっても異るが、通常の2m
m角の活字を基準とすれば、ある密度分布において、確
率は極大値をとる事になり、黒ドツト密度分布と黒文字
領域確率との関係は、■式となる。The diagram shown in FIG. 3(a) represents a function between the black dot density distribution and the black character area probability. Here, the black dot density represents the achromatic color data density above a certain density. In general, the black dot density is very high in monochrome photographic originals, and on the contrary, it takes a very small value in color photographic originals. On the other hand, although it varies depending on the type of character, the normal 2m
If m-square type is used as a standard, the probability will take a maximum value in a certain density distribution, and the relationship between the black dot density distribution and the black character area probability is expressed by the formula (2).
P+ =−(B IXI +a) ” ・”
■但し、以下の関数に対しても同様に言える事であるが
、黒ドツト密度分布のみから一義的に黒文字領域確率が
求まるものではなく、他の関数と組み合せて考える必要
がある。P+ =-(B IXI +a) ”・”
■However, the same can be said for the following functions, but the black character area probability cannot be determined uniquely from the black dot density distribution alone, and must be considered in combination with other functions.
次に、第3図(b)に示す図は、コントラスト分布と黒
領域確率との関係を示す。コントラスト分布とは、一定
面積内における輝度情報のエツジ成分量を示すものであ
り、X軸が増加すると一定量以上のエツジ成分量が増加
する事を示す。一般に黒文字原稿は文字の種類にもよる
が、ある一定のエツジ成分を持ち、例えばトッドで表現
された絵の方が、エツジ分を多量に持つ。しかし、本来
黒文字領域を分離する大きな目的は、COD等の読み取
り系の色ずれ、トナーの重ね合せに対する色ずれ等によ
り、本来、黒である文字が色ずれをおこして再現される
のを防ぐ事であるから、例えば、ドツトの集合は文字で
あると判断しても差し支えない。そのため、コントラス
ト分布と黒文字領域確率の関係は、■式となる。Next, the diagram shown in FIG. 3(b) shows the relationship between contrast distribution and black area probability. The contrast distribution indicates the amount of edge components of luminance information within a certain area, and indicates that as the X-axis increases, the amount of edge components increases by a certain amount or more. In general, black text manuscripts have a certain edge component, depending on the type of characters, and for example, a picture expressed in tod has a larger amount of edge component. However, the main purpose of separating the black character area is to prevent characters that are originally black from being reproduced with color shift due to color shift in the reading system such as COD, color shift due to overlapping toner, etc. Therefore, for example, it is safe to judge that a collection of dots is a character. Therefore, the relationship between the contrast distribution and the black character area probability is expressed by the following equation.
P t ” Ctx+
・・・■第3図(c)に示す図は、有彩色分布と黒
文字領域確率の確率を示している。有彩色分布とは、単
位面積当たりの有彩色の量を示すものであり、有彩色分
布と黒文字領域確率の関係は、0式としている。Pt” Ctx+
...■ The diagram shown in FIG. 3(c) shows the chromatic color distribution and the probability of black character area. The chromatic color distribution indicates the amount of chromatic color per unit area, and the relationship between the chromatic color distribution and the black character area probability is set to the equation 0.
Ps =−L +−+ +1 ・”■但
し、この関係は、カラー原稿の場合のみ成立する関係で
あり、例えば、白黒写真原稿の場合には全面無彩色であ
るが、文字ではないため、この関係から外れる。Ps = -L +-+ +1 ・"■However, this relationship only holds true for color originals. For example, in the case of a black-and-white photo original, the entire surface is achromatic, but since it is not text, this relationship holds true only for color originals. Get out of the relationship.
次に、第3図(d)に示す図は、中間調分布と黒文字領
域確率との関係を示している。一般的に黒文字原稿には
中間調がほとんど存在せず、両者の関係は、■式となる
。Next, the diagram shown in FIG. 3(d) shows the relationship between halftone distribution and black character area probability. Generally, there are almost no halftones in black text manuscripts, and the relationship between the two is expressed by the formula (■).
P4 =1/M(+B ・・・■但
し、実際にハードウェアで本発明を実施する際に、その
構成によっては点線のように、■式の関係と考えても良
い。P4 = 1/M(+B...■ However, when the present invention is actually implemented in hardware, depending on the configuration, it may be considered that the relationship is expressed by the formula (■) as shown by the dotted line.
P4 =−M、x、+1 ・・・0以上の
4種類の関数により、求められた黒文字領域確率p、、
p、、ps、p、から存在確率Pを■式から求め、その
Pの値により(0式の条件に応じて)原稿の種類を分離
するものである。P4 = -M, x, +1 . . . Black character area probability p, determined by four types of functions greater than or equal to 0.
The existence probability P is obtained from p, , ps, p using the equation (2), and the type of manuscript is separated based on the value of P (according to the conditions of the equation 0).
P=嵐(P+ +Px +Ps +P4 ) ・・・
■P≧%の時、黒文字領域
Pく%の時、その他の原稿領域 ・・・0次に、
上述した像域分離を行う第1の実施例を第4図に示す回
路構成ブロックを参照して以下に説明する。P=Arashi (P+ +Px +Ps +P4)...
■When P≧%, black character area P≧%, other document areas ...0th order,
A first embodiment for performing the above-mentioned image area separation will be described below with reference to the circuit configuration block shown in FIG.
図中、入力端子のに、R,G、Bは画像情報のK(輝度
)、R(レッド)、G(グリーン)、B(ブルー)をそ
れぞれ示し、S出力端子は黒文字領域であるか否かを示
す2値情報である。In the figure, R, G, and B of the input terminal indicate image information K (luminance), R (red), G (green), and B (blue), respectively, and the S output terminal indicates whether or not it is a black text area. This is binary information indicating whether the
4−1.4−2は中間調データを切り取る画像情報濃度
の上限値及び下限値をそれぞれ格納するレジスタであり
、CPU2−8により任意の値がセットされる。4−3
.4−4はそれぞれ比較回路であり、入力したKの値と
各レジスタ4−1゜4−2の値とを比較し、結果をAN
D回路4−5へ出力する。そして、その画素が中間調で
あればl” それ以外であれば“O”となる。1−6は
カウンタであり、一定画素領域分ごとにクリアがかかり
、AND回路4−5からの出力が1゛。4-1 and 4-2 are registers that store the upper and lower limit values of image information density for cutting out halftone data, and are set to arbitrary values by the CPU 2-8. 4-3
.. 4-4 is a comparison circuit, which compares the input value of K with the value of each register 4-1 and 4-2, and outputs the result to AN.
Output to D circuit 4-5. If the pixel is a halftone, it is "l", otherwise it is "O". 1-6 is a counter, which is cleared every certain pixel area, and the output from the AND circuit 4-5 is 1゛.
である画素の場合のみ、カウントアツプするように構成
されている。そして、一定領域分カウントアップしたカ
ウント値が中間調分布量として一定領域毎にROM4−
18へ送られる。It is configured to count up only if the pixel is . Then, the count value counted up for a certain area is stored in the ROM4- for each certain area as the halftone distribution amount.
Sent to 18.
以下、この実施例では、10画素毎に分布量を求めると
し、例えば、最初の10画素中に中間調画素は4画素、
次の10画素中、2画素であるとすれば、r4J、r2
Jというカウント値が順に加算回路4−20へ送られろ
。4−7はMAX(最大)、MIN(最小)抽出回路で
あり、R9G、B各入力に対して最大である色情報と最
小である色情報を取り出す回路であり、詳細な説明は後
で行う。4−8は減算回路であり、(MAX)(MIN
)を演算する。理想的には、無彩色は(MAX)−(M
IN)=Oであるが、誤差、余裕度を考慮してレジスタ
4−9に無彩色、有彩色の境界値をセットしておく。1
−10は比較回路であり、減算回路4−8からの減算結
果(B)とレジスタ4−9の値(A)とを比較する。A
<B出力は減算値が一定値以下であり、有彩色である事
を示す。またA≧B出力は一定値以下であり、無彩色で
ある事を示す。In the following, in this example, the distribution amount is calculated every 10 pixels, and for example, there are 4 halftone pixels in the first 10 pixels,
If it is 2 pixels out of the next 10 pixels, r4J, r2
The count value J is sequentially sent to the adder circuit 4-20. 4-7 is a MAX (maximum) and MIN (minimum) extraction circuit, which extracts the maximum color information and minimum color information for each input of R9G and B, and a detailed explanation will be given later. . 4-8 is a subtraction circuit, (MAX) (MIN
) is calculated. Ideally, the achromatic color is (MAX) - (M
IN)=O, but the boundary value between achromatic color and chromatic color is set in register 4-9 in consideration of error and margin. 1
-10 is a comparison circuit, which compares the subtraction result (B) from the subtraction circuit 4-8 and the value (A) of the register 4-9. A
<B output indicates that the subtracted value is less than a certain value and is a chromatic color. Further, A≧B output is below a certain value, indicating an achromatic color.
4−11はカウンタであり、上述のカウンタ4−6と同
様、一定領域毎の有彩色分布量をカウントする機能を持
つ。また、4−13はAND回路であり、上述した比較
回路4−10からの無彩色を示す2値情報と、多値の輝
度情報とのANDをとる。つまり、AND回路4−13
の出力は無彩色でなければ(有彩色であれば)“O”、
無彩色であれば輝度情報となる。レジスタ4−12には
黒レベルの境界値がセットされ、無彩色であり、しがち
輝度情報のレベル的に黒であると判断されると、比較回
路4−14の出力は“1”となる。4-11 is a counter, which, like the counter 4-6 described above, has a function of counting the amount of chromatic color distribution for each fixed area. Further, 4-13 is an AND circuit which performs an AND operation between the binary information indicating the achromatic color from the above-mentioned comparison circuit 4-10 and the multi-value luminance information. In other words, AND circuit 4-13
The output is “O” if it is not achromatic (if it is chromatic),
If it is an achromatic color, it becomes luminance information. The boundary value of the black level is set in the register 4-12, and when it is determined that the color is achromatic and black based on the level of brightness information, the output of the comparison circuit 4-14 becomes "1". .
その結果を入力するカウンタ4−15は、上述のカウン
タ4−6と同様に、一定領域毎の黒ドツト分布量をカウ
ント。The counter 4-15 to which the result is input counts the amount of black dot distribution in each fixed area, similar to the counter 4-6 described above.
エツジ抽出回路4−16は、輝度項のエツジを抽出し、
エツジ量が一定値上であれば、“1”を出力する回路で
あり、カウンタ4−17も同様、一定領域毎のエツジ(
コントラスト)分布量をカウントする。The edge extraction circuit 4-16 extracts edges of the luminance term,
If the edge amount is above a certain value, the circuit outputs "1", and the counter 4-17 similarly outputs the edge amount (
Contrast) Count the amount of distribution.
以上説明したように、第1の実施例は、中間調分布量、
有彩色分布量、黒ドツト分布量、コントラスト分布量を
それぞれ算出し、各員により総合的に黒文字領域である
か否かを判断しようとするものである。また、前述した
第3図に示すグラフでは、簡単のため各分布量と黒文字
領域確率との関係を黒ドツト分布量以外は直線で表わし
たが、一般的には、理想的な直線関係とはならず、また
各種条件の重みづけも異なるのが一般的である。As explained above, in the first embodiment, the amount of halftone distribution,
The chromatic color distribution amount, the black dot distribution amount, and the contrast distribution amount are calculated respectively, and each member comprehensively determines whether or not the area is a black character area. In addition, in the graph shown in Figure 3 mentioned above, for simplicity, the relationship between each distribution amount and the black character area probability is expressed as a straight line except for the black dot distribution amount, but in general, the ideal linear relationship is In addition, it is common for various conditions to be weighted differently.
例えば、有彩色分布量が最小である時と、中間調分布量
が最小である時とでは、黒文字領域確率は異なるのが一
般的である。For example, the black character area probability is generally different when the chromatic color distribution amount is the minimum and when the halftone distribution amount is the minimum.
そこで、第4図の各テーブルROM4−18゜4−24
.4−19.4−25により各種分布量と、黒文字領域
確率との関係をノーマライズする事になる。つまり、加
算回路4−20で加算した際に、黒の値に応じて一義的
に黒文字領域であるか否かが判定される事になる。また
、4−21は%除算回路であり、前述した■式の馬を説
明するために別途もうけたが、実際にはテーブルROM
に馬回路を吸収する事になる。そして、レジスタ4−2
2は4−21の多値、黒文字領域確率情報の境界値がセ
ットされ、確率情報が境界値以上であれば、比較回路4
−23から黒文字領域である事を示す2値情報が端子S
に出力される。Therefore, each table ROM4-18゜4-24 in Fig.
.. 4-19.4-25 normalizes the relationship between various distribution amounts and black character area probability. In other words, when the addition circuit 4-20 performs addition, it is uniquely determined whether or not it is a black character area according to the black value. In addition, 4-21 is a % division circuit, which was provided separately to explain the above-mentioned formula (2), but it is actually a table ROM.
will absorb the horse circuit. And register 4-2
2 is a multi-value of 4-21, a boundary value of black character area probability information is set, and if the probability information is greater than or equal to the boundary value, the comparator circuit 4
Binary information indicating that it is a black character area from -23 is terminal S
is output to.
次に、MAX、MIN抽出回路4−7について第5図に
より説明する。Next, the MAX and MIN extraction circuit 4-7 will be explained with reference to FIG.
図中、R,G、Bは上述の第4図のR,G、Bにそれぞ
れ対応し、(レッド)、(グリーン)。In the figure, R, G, and B correspond to R, G, and B in FIG. 4 described above, respectively, and are (red) and (green).
(ブルー)の略である。またMAX出力、MIN出力は
それぞれ3色のうち、量大の色情報、最小の色情報が出
力される。5−1.5−2.5−3は比較回路であり、
5−4〜5−9はAND回路である。5−10〜5−1
5は出力コントロール付きバッファ回路を示し、そのコ
ントロール端子が“1”であれば、出力はハイ・インピ
ーダンスとなる。AND回路5−4〜5−9の各出力は
、例えば、R入力が最大であればAND回路5−4から
の2値出力RMAXが“1”となる。また、G、Bにつ
いても同様である。そして、各出力RMAX、GMAX
、BMAX(7)うち、必ず1つの出力のみ“1”とな
るように比較回路5−1〜5−3が構成されており、M
AX出力には、量大である色情報が出力される。、また
同様に、MIN出力には、最小である色情報が出力され
る。さらに、R,G、B各入力が等量であった場合には
、MAX出力にはRが、MIN出力には、Gがそれぞれ
出力される。(Blue). Further, the MAX output and the MIN output output the largest amount of color information and the smallest amount of color information among the three colors, respectively. 5-1.5-2.5-3 is a comparison circuit,
5-4 to 5-9 are AND circuits. 5-10 to 5-1
Reference numeral 5 indicates a buffer circuit with output control, and when its control terminal is "1", the output becomes high impedance. For each output of the AND circuits 5-4 to 5-9, for example, if the R input is maximum, the binary output RMAX from the AND circuit 5-4 becomes "1". The same applies to G and B. And each output RMAX, GMAX
, BMAX(7), the comparison circuits 5-1 to 5-3 are configured so that only one output is always "1", and M
A large amount of color information is output to the AX output. , Similarly, the minimum color information is output to the MIN output. Furthermore, if the R, G, and B inputs are equal, R is output to the MAX output, and G is output to the MIN output.
次に、上述のエツジ抽出回路4−16について第6図に
より説明する。Next, the above-mentioned edge extraction circuit 4-16 will be explained with reference to FIG.
図中、VCK入力は画像転送りロックであり、K入力は
輝度情報、B出力はエツジ成分であるか否かを示す2値
情報である。6−1.6−2はD−FF (D−タイプ
フリップフロップ)であり、3画素分の輝度情報が一時
的に保存される。6−3は2倍乗算回路であり、6−4
.6−5は各々減算回路を示す。ここで、連続した3画
素の輝度情報を順にに、、に2.に3とすれば、減算回
路6−5は2に2−に、−に、を演算し、その結果が一
定値(レジスタ6−6の値)以上であれば、エツジ成分
として、比較回路6−7より“1”がB端子に出力され
る事になる。In the figure, the VCK input is an image transfer lock, the K input is luminance information, and the B output is binary information indicating whether or not it is an edge component. 6-1.6-2 is a D-FF (D-type flip-flop), which temporarily stores luminance information for three pixels. 6-3 is a double multiplication circuit; 6-4
.. 6-5 each indicate a subtraction circuit. Here, the luminance information of three consecutive pixels is sequentially divided into 2. If the value is 3, the subtraction circuit 6-5 calculates 2, 2-, and -, and if the result is equal to or greater than a certain value (the value of the register 6-6), the comparator circuit 6-5 treats it as an edge component. -7, “1” will be output to the B terminal.
[他の実施例]
中間調、黒ドツト、有彩色、コントラスト各員に対して
黒文字領域確率を与え、その確率の加算結果により、黒
文字領域であるか否かを判断する第1の実施例では、例
えば、コントラストによる黒文字確率が“0”であって
も、他の確率が高ければ総合的に黒文字領域であると判
断される場合もある。そこで、第2の実施例では、各分
布量に対して他の3種類の分布量に係わらず、強制的に
黒文字領域ではない、あるいは黒文字領域であると判断
可能な構成をとるものである。[Other Embodiments] In the first embodiment, black character area probabilities are given to each of halftone, black dot, chromatic color, and contrast, and whether or not it is a black character area is determined based on the addition result of the probabilities. For example, even if the black character probability based on contrast is "0", if other probabilities are high, it may be determined that the area is a black character area overall. Therefore, in the second embodiment, a configuration is adopted in which it is possible to forcibly determine that each distribution amount is not a black character area or is a black character area, regardless of the other three types of distribution amounts.
〈第2の実施例〉 以下、第2の実施例を第7図により説明する。<Second example> The second embodiment will be explained below with reference to FIG.
第7図において、第4図の回路と同様の部分はそえ数字
を共通にしているので説明は省略する。In FIG. 7, parts similar to those in the circuit of FIG. 4 have the same numerals, so a description thereof will be omitted.
つまり、追加された部分は、7−26.7−28のOR
回路、7−27のNOR回路、7−29のAND回路で
ある。そして、各テーブルROM7−18.7−24.
7−19.7−25から他の条件に係わらず、強制的に
黒文字とする信号と強制的に黒文字でないとする信号と
を取り出し、OR回路7−26で強制的に黒文字とする
信号のORをとり、NOR回路で強制的に黒文字でない
とする信号のNORをとる。In other words, the added part is the OR of 7-26.7-28
The circuit is a NOR circuit of 7-27, and an AND circuit of 7-29. And each table ROM7-18.7-24.
7-19.Regardless of other conditions, take out the signal to force a black character and the signal to force a non-black character from 7-25, and use the OR circuit 7-26 to OR the signal to force a black character. is taken, and a NOR circuit is used to force a signal that is not a black character to be NORed.
次に、OR回路7−28により強制的に黒文字とする条
件が1つでも存在すれば、2値出力を黒文字領域とし、
また、AND回路7−29により強制的に黒文字でない
とする条件が1つでも存在すれば、2値出力を黒文字で
ない領域と判断するように構成している。この強制黒文
字と、強制黒文字以外の2条件の優位光は、強制黒文字
以外が優先されるように構成している。Next, if there is even one condition for forcing a black character by the OR circuit 7-28, the binary output is made into a black character area,
Furthermore, if there is even one condition that forces the area to be a non-black character using the AND circuit 7-29, the binary output is determined to be a non-black character area. This forced black character and the dominant light of the two conditions other than the forced black character are configured so that the characters other than the forced black character are given priority.
これは、−数的に黒文字領域と判断した領域に対して、
特殊な画像処理をかけるのであるから、疑わしき領域に
は、処理をかけないという前提に基づくものである。This is for areas that are numerically determined to be black text areas.
Since special image processing is applied, this is based on the premise that suspicious areas are not processed.
〈第3の実施例〉
次に、前述の黒文字領域確率を格納するメモリがRAM
であり、書き込み可能である場合を例に説明する。<Third Example> Next, the memory for storing the black character area probability described above is RAM.
, and the case where it is writable will be explained as an example.
基本的な構成は、前述の第4図あるいは第7図と同様で
あり、メモリに書き込む内容は、装置を制御するメイン
プログラムを格納しているROMにあらかじめ用意して
おき、必要に応じてイニシャルデータをRAMに書き込
む事になる。また、−数的には、RAMの内容を変更す
る事は少ないため、バックアップ付きのRAMを使用す
る事により電源OFF時にもメモリの内容を記憶させて
おく構成をとる事が望ましい。そして、RAMの内容を
変更する必要性、その方法について以下に説明する。The basic configuration is the same as shown in Figure 4 or Figure 7 above, and the contents to be written to the memory are prepared in advance in the ROM that stores the main program that controls the device, and initialized as necessary. Data will be written to RAM. Furthermore, numerically speaking, since the contents of the RAM are seldom changed, it is desirable to use a RAM with a backup so that the contents of the memory can be stored even when the power is turned off. The necessity and method of changing the contents of the RAM will be explained below.
装置を実際に使用するユーザーにより使用する原稿に特
徴のある場合が多い。例えば、文字原稿として、鉛筆文
字を良く使用する場合、活字を使用する場合、また活字
にしても、文字サイズに関してユーザーにより特徴のあ
る場合がある。その場合、一種類の黒文字領域確率関数
だけを準備しておいても、誤判定しやすくなるため、良
く使用する原稿に合わせて黒文字領域確率関数を数種類
準備しておき、その中から最適な関数を選択する事が望
ましい。In many cases, the documents used by the users who actually use the apparatus have characteristics. For example, when a text manuscript is often written in pencil, when printed text is used, and even when printed text is used, the size of the text may be unique to the user. In that case, even if you prepare only one type of black text area probability function, it is easy to misjudge, so prepare several types of black text area probability functions according to the manuscripts that are often used, and select the optimal function from among them. It is desirable to select .
第8図は、黒文字領域確率関数を選択する場合の装置構
成を示す概略ブロック図である。FIG. 8 is a schematic block diagram showing the configuration of an apparatus when selecting a black character area probability function.
図中、8−3〜8−6は4−18.4−24゜4−25
に対応した黒文字確率を格納するRAMであり、CPU
8−7がその内容を読み書きするものである。8−1は
CPU8−7のプログラムを格納しているROM、8−
2はワークRAM、8−8は装置の操作部、8−9は表
示部である。In the figure, 8-3 to 8-6 are 4-18.4-24°4-25
This is a RAM that stores the black character probability corresponding to the CPU.
8-7 is for reading and writing the contents. 8-1 is a ROM that stores the program for the CPU 8-7;
2 is a work RAM, 8-8 is an operating section of the apparatus, and 8-9 is a display section.
そして、8−10はCPU8−7が制御する必要のある
画像処理及び編集部である。Further, 8-10 is an image processing and editing section that needs to be controlled by the CPU 8-7.
以上の構成において、あらかじめ各文字原稿の種類に対
応した黒文字領域関数をROM8−1に数種類準備して
おき、使用者は、操作部8−8、表示部8−9を用いて
その種類を選択し、RAM8−3〜84への書き込みを
指示する。この指示によりCPU8−7は、選択された
種類に応じてROM8−1から各RAM8−3〜8−6
へ対応した内容を書き込む。また、選択された種類の情
報は表示部8−9に表示しておき、使用者が現在どの種
類の関数を選択しているか常に認識できるようにしてお
く。In the above configuration, several kinds of black character area functions corresponding to each type of character document are prepared in advance in the ROM 8-1, and the user selects the type using the operation section 8-8 and the display section 8-9. and instructs writing to RAMs 8-3 to 84. In response to this instruction, the CPU 8-7 selects each of the RAMs 8-3 to 8-6 from the ROM 8-1 according to the selected type.
Write the corresponding content to. Further, information on the selected type is displayed on the display section 8-9 so that the user can always recognize which type of function is currently selected.
さらに、不図示の電池により、各RAM8−3〜8−6
の内容をバックアップしておき、RAMの未使用領域(
黒文字領域関数として使用しない領域)に関数の種類を
示す情報を書き込み、電源OFF%ON後にCPU8−
7が各RAM8−3〜8−6の種類の情報を読み取り、
表示部8−9にその種類を表示することができる。Furthermore, each RAM8-3 to 8-6 is powered by a battery (not shown).
Back up the contents of , and save the unused area of RAM (
Write information indicating the type of function in the black text area (area not used as a function), and then turn the CPU 8-
7 reads the type information of each RAM 8-3 to 8-6,
The type can be displayed on the display section 8-9.
〈第4の実施例〉
黒ット、有彩色、中間調など各種条件に対する1黒文字
領域であるか否かの判定を、1つのメモリで構成した系
について第9図により説明する。<Fourth Embodiment> A system configured with one memory for determining whether or not it is a single black character area for various conditions such as black dots, chromatic colors, and halftones will be described with reference to FIG.
第9図において、K%R,G、B容入力はそれぞれ輝度
、レッド、グリーン、ブルーの色情報であり、S出力は
黒文字領域であるか否かを示す2値情報である。9−1
は黒文字領域確率テーブルメモリであり、主に色に関し
て文字の色であるか否かを判定する。9−2はカウンタ
であり、黒文字の色の分布をカウントする。9−3はテ
ーブルメモリであり、その分布量から黒文字領域である
か否かの判定を行う、また、詳細な制御ブロックは省略
しているが、前述したカウンタと同様に、この実施例で
のカウンタ9−2も一定領域毎に各領域内での黒文字判
定結果の個数をカウントす様に構成されている。In FIG. 9, the K%R, G, and B inputs are brightness, red, green, and blue color information, respectively, and the S output is binary information indicating whether or not the area is a black character area. 9-1
is a black character area probability table memory, which mainly determines whether the color is the color of a character or not. 9-2 is a counter that counts the color distribution of black characters. Reference numeral 9-3 is a table memory, which determines whether or not it is a black character area based on its distribution amount.Detailed control blocks are omitted, but similar to the counter described above, in this embodiment, The counter 9-2 is also configured to count the number of black character determination results within each predetermined area.
[発明の効果]
以上説明したように、本発明によれば、黒文字領域を判
定する条件を数種類持ち、各条件に対する黒文字領域確
率の関数(関係)を求め、各確率から総合的に黒文字領
域であるか否かを判断する事により、より正確な黒文字
領域判定を行う事ができる。[Effects of the Invention] As explained above, according to the present invention, there are several types of conditions for determining a black text area, a function (relationship) of the black text area probability for each condition is found, and the black text area is comprehensively determined from each probability. By determining whether or not there is a black character area, it is possible to more accurately determine a black character area.
第1図は実施例における画像複写装置の外観を示す外観
斜視図、
第2図は実施例における画像複写装置の構成を示す概略
ブロック図、
第3図(a)〜(d)は黒文字領域゛関数を説明するた
めの図、
第4図は第1の実施例での像域判定ブロックを示す図、
第5図は最大、最小抽出ブロックを示す図、第6図はエ
ツジ抽出ブロックを示す図、第7図は第2の実施例での
像域判定ブロックを示す図、
第8図は第3の実施例での構成を示す図、第9図は第4
の実施例でのメモリ構成を示す図である。
図中、
4−1.2,9,12.22・・・レジスタ、4−3.
4,10,14.23・・・比較回路、4−5゜13・
・・AND回路、4−6.11,15.17・・・カウ
ンタ、4−7・・・MAX、MIN抽出回路、4−8・
・・減算回路、4−16・・・エツジ抽出回路、4−1
8.19,24.25・・・ROM、4−20・・・4
人力加算回路、4−21・・・k除算回路である。FIG. 1 is an external perspective view showing the appearance of the image copying apparatus in the embodiment, FIG. 2 is a schematic block diagram showing the configuration of the image copying device in the embodiment, and FIGS. 3(a) to (d) are the black text areas. Figure 4 is a diagram showing the image area determination block in the first embodiment; Figure 5 is a diagram showing the maximum and minimum extraction blocks; Figure 6 is a diagram showing the edge extraction block. , FIG. 7 is a diagram showing the image area determination block in the second embodiment, FIG. 8 is a diagram showing the configuration in the third embodiment, and FIG. 9 is a diagram showing the configuration of the fourth embodiment.
FIG. 2 is a diagram showing a memory configuration in an embodiment. In the figure, 4-1.2, 9, 12.22... register, 4-3.
4, 10, 14.23... Comparison circuit, 4-5°13.
...AND circuit, 4-6.11, 15.17...Counter, 4-7...MAX, MIN extraction circuit, 4-8.
...Subtraction circuit, 4-16...Edge extraction circuit, 4-1
8.19, 24.25...ROM, 4-20...4
These are a manual addition circuit and a 4-21...k division circuit.
Claims (2)
された情報に基づいて画像を処理して複写を行う画像複
写装置において、 前記画像情報に対して複数の分布量をそれぞれ求める第
1の演算手段と、 該第1の演算手段で求めた各分布量から黒文字領域確率
を求める第2の演算手段と、 該第2の演算手段で求めた黒文字領域確率から黒文字領
域の判定を行う判定手段と、 該判定手段での結果に基づいて画像を処理して複写を行
う複写手段とを備えることを特徴とする画像複写装置。(1) In an image copying device that performs image area separation on input image information, processes the image based on the separated information, and copies the image, a step that calculates each of a plurality of distribution amounts for the image information is provided. a second calculating means for determining a black character area probability from each distribution amount determined by the first calculating means; determining a black character area from the black character area probability determined by the second calculating means; An image copying apparatus comprising a determining means and a copying means for processing and copying an image based on the result of the determining means.
密度、コントラスト、有彩色の各分布量であることを特
徴とする請求項第1項に記載の画像複写装置。(2) The image copying apparatus according to claim 1, wherein the plurality of distribution amounts are respective distribution amounts of halftone, black dot density, contrast, and chromatic color.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1319021A JPH03181276A (en) | 1989-12-11 | 1989-12-11 | Picture copying machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1319021A JPH03181276A (en) | 1989-12-11 | 1989-12-11 | Picture copying machine |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03181276A true JPH03181276A (en) | 1991-08-07 |
Family
ID=18105622
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1319021A Pending JPH03181276A (en) | 1989-12-11 | 1989-12-11 | Picture copying machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03181276A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09233322A (en) * | 1996-02-28 | 1997-09-05 | Canon Inc | Image processing method and apparatus |
-
1989
- 1989-12-11 JP JP1319021A patent/JPH03181276A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09233322A (en) * | 1996-02-28 | 1997-09-05 | Canon Inc | Image processing method and apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3626966B2 (en) | Image processing device | |
| US7889917B2 (en) | Device and method for image color determination | |
| US5583667A (en) | Color image processing apparatus for forming a color image based on image attributes of an original image | |
| JPH0722330B2 (en) | Image region identification method for image processing apparatus | |
| JP2002232708A (en) | Image processing apparatus, image forming apparatus including the same, and image processing method | |
| US6775031B1 (en) | Apparatus and method for processing images, image reading and image forming apparatuses equipped with the apparatus, and storage medium carrying programmed-data for processing images | |
| EP0823811A2 (en) | Image processing method and system | |
| JPH1127542A (en) | Color type discriminator | |
| JP3262326B2 (en) | Image processing apparatus and image processing method | |
| JP3313592B2 (en) | Document type determination method, color image processing device | |
| US7693332B2 (en) | Image processing apparatus capable of generating distributable image while maintaining readability and security | |
| US6707951B1 (en) | Halftone dot image discrimination method and image processing device | |
| US20080273746A1 (en) | Image Processing Apparatus | |
| JPH04249975A (en) | Picture processing unit | |
| US20070070463A1 (en) | Image forming apparatus | |
| JP2010119006A (en) | Image processing apparatus,and image processing method | |
| US7697163B2 (en) | Image processing apparatus, image processing method, and image processing program for distinguishing pixels of an edge portion | |
| US6798544B1 (en) | Image reading method, image reading device and image processing device | |
| JP5549836B2 (en) | Image processing apparatus and image processing method | |
| JPH03230683A (en) | Copying machine | |
| JP3039674B2 (en) | Color image processing equipment | |
| JPH04160981A (en) | Image processing device for each image area of a copying machine | |
| EP1898625A2 (en) | Apparatus and method for deciding image color | |
| US7948662B2 (en) | Image processing apparatus and method for performing shade correction on generated image using a shading coefficient | |
| JP3150137B2 (en) | Image processing method |