Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3039673B2 - Image processing apparatus and method - Google Patents
[go: Go Back, main page]

JP3039673B2 - Image processing apparatus and method - Google Patents

Image processing apparatus and method

Info

Publication number
JP3039673B2
JP3039673B2 JP2163606A JP16360690A JP3039673B2 JP 3039673 B2 JP3039673 B2 JP 3039673B2 JP 2163606 A JP2163606 A JP 2163606A JP 16360690 A JP16360690 A JP 16360690A JP 3039673 B2 JP3039673 B2 JP 3039673B2
Authority
JP
Japan
Prior art keywords
black
image
input
signal
image data
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
JP2163606A
Other languages
Japanese (ja)
Other versions
JPH0453364A (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 JP2163606A priority Critical patent/JP3039673B2/en
Publication of JPH0453364A publication Critical patent/JPH0453364A/en
Application granted granted Critical
Publication of JP3039673B2 publication Critical patent/JP3039673B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Color, Gradation (AREA)
  • Processing Or Creating Images (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像処理装置及び方法に関する。Description: TECHNICAL FIELD The present invention relates to an image processing apparatus and an image processing method.

〔従来の技術〕[Conventional technology]

従来、デイジタルカラー複写機は、原稿をR,G,B3原色
に色分解し、該3色信号からC,M,Y,K4色の記録材色信号
に変換したうえで記録する。この時原稿の無彩色領域に
対しては黒単色信号のみで表現するのではなく、より黒
い黒色を表現する為に他の色信号C,M,Y3色信号をも含め
最大2〜3色の記録材を重ねて表現する事が知られてい
る。
2. Description of the Related Art Conventionally, a digital color copying machine separates a document into three primary colors of R, G, and B, converts the three-color signals into recording material color signals of C, M, Y, and K colors, and records the signals. At this time, the achromatic region of the original is not represented by only a single black signal, but is expressed by a maximum of two or three colors including other color signals C, M, and Y in order to represent blacker black. It is known that recording materials are expressed in layers.

〔発明が解決しようとしている課題〕[Problems to be solved by the invention]

しかしながら、上記従来例では黒色細線を表現するた
めには記録装置において4色分の記録が位置的に完全に
合致していなければ色ゴーストが発生する為に、例えば
コンピユータグラフイツクスやページ記述言語等で生成
されたR,G,B3色信号で入力される黒色文字、細線を鮮明
に記録表現出来ないという欠点が生じる。
However, in the above-described conventional example, in order to represent a black thin line, if recording of four colors does not completely match in position in a recording apparatus, a color ghost will occur. For example, computer graphics and page description language However, there is a drawback that black characters and fine lines input by the R, G, B three color signals generated by the above method cannot be clearly recorded and expressed.

そこで、本発明は外部コンピュータにより発生された
画像データと撮像素子で得られる画像データにおける特
定色画像エッジ部をいずれも良好に判定できる画像処理
装置及び方法を提供することを目的とする。
Accordingly, an object of the present invention is to provide an image processing apparatus and method capable of favorably determining both a specific color image edge portion in image data generated by an external computer and image data obtained by an image sensor.

〔課題を解決するための手段及び作用〕[Means and Actions for Solving the Problems]

上述の課題を解決するために請求項1の発明は、外部
コンピュータにより発生された画像データと、撮像素子
で得られる画像データを入力する入力手段、前記入力手
段により入力された画像データにおける特定画像エッジ
部を判定する判定手段とを有する画像処理装置であっ
て、前記入力手段から外部コンピュータにより発生され
た画像データが入力された場合、該外部コンピュータに
より発生された画像データ用の判定方法を用いて、前記
判定手段により前記特定色画像エッジ部の判定を行い、
前記入力手段から撮像素子で得られる画像データが入力
された場合、該撮像素子で得られる画像データ用の判定
方法を用いて、前記特定色画像エッジ部の判定を行なう
ことを特徴とする。
In order to solve the above-mentioned problem, the invention according to claim 1 is an input unit for inputting image data generated by an external computer and image data obtained by an image sensor, and a specific image in the image data input by the input unit. An image processing apparatus comprising: a determination unit for determining an edge portion, wherein when image data generated by an external computer is input from the input unit, a determination method for image data generated by the external computer is used. The determination unit determines the specific color image edge portion,
When image data obtained by an image sensor is input from the input means, the edge of the specific color image is determined using a determination method for image data obtained by the image sensor.

請求項2の発明は、外部コンピュータにより発生され
た画像データと、撮像素子で得られる画像データを入力
し、前記入力された画像データにおける特定色画像エッ
ジ部を判定し、前記外部コンピュータにより発生された
画像データが入力された場合、該外部コンピュータによ
り発生された画像データ用の判定方法を用いて、前記特
定色画像エッジ部の判定を行い、前記撮像素子で得られ
る画像データが入力された場合、該撮像素子で得られる
画像データ用の判定方法を用いて前記特定色画像エッジ
部の判定を行なうことを特徴とする。
According to a second aspect of the present invention, image data generated by an external computer and image data obtained by an image sensor are input, a specific color image edge portion in the input image data is determined, and the image data is generated by the external computer. When the image data is input, the specific color image edge portion is determined using the determination method for image data generated by the external computer, and the image data obtained by the image sensor is input. The edge of the specific color image is determined by using a determination method for image data obtained by the image sensor.

〔実施例〕〔Example〕

第1図に本発明の実施例のブロツク図を示す。第1図
において、1は例えばR,G,B、Y,M,C,Kの2値データ、多
値データなどの画像データや、文字コードデータ、カラ
ーコードデータ、描画コマンドデータなどを発生するホ
ストコンピユータ、2はコンピユータと記録装置との間
データのやりとりを行うためのインターフエースであ
り、例えばポストスクリプトの様なページ記述言語のイ
ンタープリタやコードデータからイメージデータへの展
開を行うためのメモリ等により構成される。3はインタ
ーフエース2から出力されるR,G,B各色8ビツトの信号
中より黒色画素を検出し、記録制御信号KB,KWを生成す
る黒文字処理部、9はR,G,BのCCDラインセンサを含むデ
ジタル複写機等のリーダー部、10はスチルビデオカメ
ラ、11はTVカメラ、12はSVカメラ11やTVカメラ12からの
画像データからR,G,B各8ビツトの1画面分の静止画像
を生成する入力インターフエース、13はリーダー9、入
力インターフエース12からのR,G,B信号に対して黒文字
処理を行い、記録制御信号KB,KWを生成する黒文字処理
部、14は上記複数の入力手段からの画像信号と記録制御
信号をパラレルに入力し、はめ込み合成、変倍、移動等
の画像編集を行う編集処理部であり、R,G,B信号の編集
に対応させてKB,KW信号の編集も行うものである。
FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes image data such as binary data of R, G, B, Y, M, C, and K, multi-valued data, character code data, color code data, drawing command data, and the like. The host computer 2 is an interface for exchanging data between the computer and the recording device. For example, an interpreter of a page description language such as PostScript, a memory for developing code data into image data, and the like. It consists of. Reference numeral 3 denotes a black character processing unit for detecting a black pixel from the 8-bit signal of each color of R, G and B outputted from the interface 2 and generating recording control signals KB and KW, and 9 denotes a CCD line of R, G and B. Reader unit such as digital copier including sensors, 10 is a still video camera, 11 is a TV camera, 12 is a still image for one screen of 8 bits each of R, G, B from image data from SV camera 11 or TV camera 12. An input interface 13 for generating an image, a black character processing unit 13 for performing black character processing on the R, G, B signals from the reader 9 and the input interface 12 and generating recording control signals KB, KW; An image processing unit that inputs image signals and recording control signals in parallel from the input means and performs image editing such as inset synthesis, scaling, movement, and the like. It also edits the KW signal.

4は黒文字処理部3、13の出力、編集処理部14の出力
を選択し、記録信号R,G,Bを対数変換部5に、記録制御
信号KB,KWを2値化制御部7に送るセレクタである。
4 selects the output of the black character processing units 3 and 13 and the output of the editing processing unit 14 and sends the recording signals R, G and B to the logarithmic conversion unit 5 and the recording control signals KB and KW to the binarization control unit 7. It is a selector.

5はR,G,Bの8ビツト信号を輝度信号から濃度信号に
変換する対数変換部、6は対数変換後logR,logG,logBよ
り記録色であるC,M,Y,K信号にマトリツクス演算して変
換するいわゆるマスキングUCR処理部、7は各8bitで生
成されたC,M,Y,K信号を2値化すると共に、前記黒信号
処理部で生成した記録制御信号に基づき、黒色細線画素
の2値化を適応的に制御する2値化制御部、8は該2値
化画像信号に基づき2値記録する記録部である。
5 is a logarithmic conversion unit for converting an R, G, B 8-bit signal from a luminance signal to a density signal, and 6 is a matrix operation on the C, M, Y, K signals, which are recording colors from logR, logG, logB after logarithmic conversion. A so-called masking UCR processing unit 7 that converts the C, M, Y, and K signals generated by each 8 bits into a binary signal, and based on the recording control signal generated by the black signal processing unit, generates a black thin line pixel. A binarization control section 8 for adaptively controlling the binarization of, and a recording section 8 for performing binary recording based on the binarized image signal.

<黒文字処理部13> 第2図(a)に黒文字処理部を示す。図中最大値検出
部61及び最小値検出部62はそれぞれ8bitで表わされるRG
B信号を画素毎にそのレベルを比較し、レベルの最も大
きい値と最も小さい値をそれぞれmax(RGB)、min(RG
B)として得る。加算器63は同信号の差max(RGB)−min
(RGB)を演算し、その結果を乗算器66で所定定数α倍
して加算器64でmax(RGB)に加算する。加算結果は制限
器(リミツタ)65にて8bit幅を越えた場合255に制限し
て黒信号dを得る。
<Black Character Processing Unit 13> FIG. 2A shows a black character processing unit. In the figure, a maximum value detection unit 61 and a minimum value detection unit 62 each have an RG represented by 8 bits.
The level of the B signal is compared for each pixel, and the largest value and the smallest value of the level are max (RGB) and min (RG
B) get as. The adder 63 calculates the difference max (RGB) −min
(RGB) is calculated, and the result is multiplied by a predetermined constant α in a multiplier 66 and added to max (RGB) in an adder 64. When the addition result exceeds the 8-bit width by a limiter (limiter) 65, the addition result is limited to 255 to obtain a black signal d.

第2図(b)に本処理の説明図を示す。本実施例では
各色信号R、G、Bとも値が大きい程、白色、つまりR
=G=B=0の時、黒色であるとする。従って第2図
(b)でAの部分は色味を有する細線、Bの部分は黒い
線を示している。
FIG. 2B is an explanatory diagram of this processing. In this embodiment, the greater the value of each of the color signals R, G, and B, the whiter, that is, R
When = G = B = 0, black is assumed. Accordingly, in FIG. 2 (b), the portion A is a thin line having a tint, and the portion B is a black line.

d=max(RGB)+α〔max(RGB)−min(RGB)〕… (max(GRB)はグレイ成分信号、max(RGB)−min(RG
B)は色味を示す信号、αは色抑圧定数) 本処理の物理的意味は、max(RGB)−min(RGB)を色
味ととらえかつmax(RGB)をグレイ成分(明るさ)とす
るならば、max(RGB)−min(RGB)が大の時つまり色味
を有する点ではこの値を定数α倍してmax(RGB)に加え
る事でより明るい(白い)方向に変換出来る。従って定
数αの値が大である程色味を持つ点をより白い点とする
為に色味を抑圧する程度を表わす値として、αを色抑圧
定数と呼ぶ。即ち、不図示のCPUにより乗算器66にセツ
トされるαの値を変化させることにより、dが示す黒成
分検出の度合いを変化させることができる。第2図
(b)ではα=1として表わしたが、max(RGB)が大き
くかつmax(RGB)−min(RGB)が大きい場合は第2図
(a)の制限器65により完全な白い点を表わす最大値25
5となる。従って生成される信号dの変化はほぼ黒成分
の変化を意味すると考えられる。
d = max (RGB) + α [max (RGB) −min (RGB)] (max (GRB) is a gray component signal, max (RGB) −min (RG
(B) is a signal indicating tint, α is a color suppression constant. The physical meaning of this processing is that max (RGB) -min (RGB) is regarded as tint and max (RGB) is a gray component (brightness). If max (RGB) -min (RGB) is large, that is, at a point having a color, the value can be converted to a brighter (white) direction by multiplying this value by a constant α and adding it to max (RGB). Therefore, as the value of the constant α increases, α is referred to as a color suppression constant as a value representing the degree to which the tint is suppressed in order to make a point having a tint a whiter point. That is, the degree of black component detection indicated by d can be changed by changing the value of α set in the multiplier 66 by a CPU (not shown). In FIG. 2 (b), α = 1 is shown. However, when max (RGB) is large and max (RGB) −min (RGB) is large, a complete white point is obtained by the limiter 65 of FIG. 2 (a). 25 representing the maximum
It becomes 5. Therefore, it is considered that the change in the generated signal d substantially means a change in the black component.

さて黒信号dは第3図に示す2値化部7に入力され
る。
The black signal d is input to the binarizing unit 7 shown in FIG.

<2値化部> 第3図において黒信号dはそれぞれ1ライン分づつデ
ータをメモリ71を用いて遅延保持され順次ライン遅延さ
れた5画素分のデータが加算器72で加算される。さらに
該加算値をF/F73で1画素毎に遅延保持した5個の加算
値をさらに加算器75で加算する。同加値器出力は入力デ
ータより2ラインとして画素遅延したつまりメモリ71−
2出力をF/F73−5、73−6で遅延したF/F73−6出力位
置を注目画素位置とするならば、その周辺25画素分の積
算値であり、従って除算器76で1/25倍すれば注目画素近
傍の黒信号の平均値mが得られる。
<Binarizing Unit> In FIG. 3, the data for one line of the black signal d is delayed and held by the memory 71 using the memory 71, and the data of five pixels sequentially line-delayed are added by the adder 72. Further, the adder 75 adds the five adder values obtained by delaying the adder by the F / F 73 for each pixel. The output of the adder is delayed by two pixels from the input data, that is, the memory 71-
If the output position of the F / F 73-6 obtained by delaying the two outputs by the F / F 73-5 and 73-6 is set as the target pixel position, it is an integrated value of 25 pixels around the target pixel position. If it is multiplied, the average value m of the black signal near the target pixel can be obtained.

比較器79において注目画素位置のデータdを上記平均
値mをしきい値として比較してより精細な2値信号Bが
得られる。
The comparator 79 compares the data d at the pixel position of interest with the average value m as a threshold value to obtain a finer binary signal B.

即ち とする。That is And

さらに加算器77で平均値mとdとの差を求め、絶対値
回路78で絶対値に変換した後、比較器74で定数δと比較
して2値信号Cが得られる。
Further, the difference between the average values m and d is obtained by the adder 77, converted into the absolute value by the absolute value circuit 78, and compared with the constant δ by the comparator 74 to obtain the binary signal C.

即ち とする。That is And

両信号の物理的意味は前者Bが黒信号を高精細に2値
化した信号であり、後者Cが注目画素でのレベル変化量
を2値化した信号である。つまりB=1でかつC=1は
注目画素での濃度変化が定数δより大きく、かつ黒方向
に変化していると判断出来る。つまりこの点が文字細線
の一部である確率が高いと言える。
The physical meaning of both signals is that the former B is a signal obtained by binarizing the black signal with high definition, and the latter C is a signal obtained by binarizing the level change amount at the target pixel. That is, when B = 1 and C = 1, it can be determined that the density change at the target pixel is larger than the constant δ and changes in the black direction. That is, it can be said that there is a high probability that this point is a part of the character thin line.

しかしながら注目画素が網点で表現された中間調画像
部分である可能性もあるので、この網点を除去する為に
同2bit信号を黒文字識別部8に入力し文字部の識別を行
う。
However, since the pixel of interest may be a halftone image portion represented by a halftone dot, the same two-bit signal is input to the black character identification unit 8 to identify the character portion in order to remove the halftone dot.

<黒文字識別部> 第4図に黒文字識別部を示す。まず入力される2値信
号Bはラインメモリ80−1、80−2、80−3、80−4を
用いて順次1ラインづつ遅延保持すると共にフリツプフ
ロツプ81−0〜81−9で1画素毎に遅延保持する。従っ
て、今注目する画素位置をF/F81−4出力位置とするな
らば、注目画素に隣接する8画素の2値データBはF/F8
1−2、81−4、81−6の入力位置及びF/F81−2、81−
6、81−3、81−5、81−7出力端子に位置し、注目画
素を含む9個の隣接画素データは共にゲート回路83−2
に入力される。
<Black Character Recognition Unit> FIG. 4 shows the black character recognition unit. First, the input binary signal B is successively delayed and held line by line using line memories 80-1, 80-2, 80-3, and 80-4, and flip-flops 81-0 to 81-9 are used for each pixel. Hold delayed. Therefore, if the current pixel position is the F / F81-4 output position, the binary data B of eight pixels adjacent to the target pixel is F / F8
1-2, 81-4, 81-6 input position and F / F 81-2, 81-
9, 81-3, 81-5, and 81-7 output terminals, and the nine adjacent pixel data including the target pixel are all gate circuit 83-2.
Is input to

同様に考えればゲート回路83−1には前記注目画素よ
り1ライン後の画素データつまりF/F81−2出力位置に
隣接する9点、ゲート回路83−4へは注目画素より1ラ
イン前のつまりF/F81−6出力位置に隣接する9点のデ
ータが入力される。同ゲート回路83内部では(後に詳説
するが)それぞれ中央の点が隣接する8点の2値レベル
(0又は1)から反転しているか否かつまり中央の点が
周辺から孤立して“0"又は“1"のレベルを有しているか
否かによって画素毎に0〜4の値Sを割り付ける。該値
Sはその値が大きい程網点画素の可能性が大きく、逆に
0ならば文字等の1部である可能性が高いと言える。な
ぜならば文字、線は1次元的に連続したドツトの集合で
あるからである。しかしながら文字か否かは必ずしも1
点では判断出来ない為に上記各画素毎に割り付けられた
孤立性を示す値Sを2次元的に積算して判定する。即
ち、孤立性の度合いを示す多値データを判定に用いるも
のである。まず加算器85−1のライン方向の3画素分を
加算し、その結果をF/F84−1〜84−6で6画素分遅延
保持して加算器85−2で加算すれば、入力画像データB
に対して2ラインと4画素遅れた画素を注目画素位置と
するなら、注目画素を中心とする3×7画素分のデータ
Sの加算器Pfが求まる。該特徴量Pfは二次元的空間周波
数を意味する。つまりPf値が大である程注目画素近傍は
2値データBの値が“0"←→“1"の反転が多く、即ち、
空間周波数が高く、従って二次元的にドツトが孤立した
点が多い事を意味する。
Similarly, the gate circuit 83-1 has pixel data one line after the target pixel, that is, nine points adjacent to the F / F81-2 output position, and the gate circuit 83-4 has one line before the target pixel. Data of 9 points adjacent to the F / F81-6 output position is input. In the gate circuit 83, whether or not the center point is inverted from the eight binary levels (0 or 1) of the eight adjacent points, that is, the center point is isolated from the periphery and "0" Alternatively, a value S of 0 to 4 is assigned to each pixel depending on whether or not the pixel has the level of “1”. As the value S increases, the possibility of a halftone pixel increases as the value increases. Conversely, if the value S is 0, it is highly likely that the value is a part of a character or the like. This is because characters and lines are a set of one-dimensionally continuous dots. However, it is not always 1
Since it cannot be determined in terms of points, the value S indicating the isolation assigned to each pixel is integrated two-dimensionally and determined. That is, multi-value data indicating the degree of isolation is used for the determination. First, three pixels in the line direction of the adder 85-1 are added, and the result is delayed and held by the F / Fs 84-1 to 84-6 for six pixels and added by the adder 85-2 to obtain input image data. B
If a pixel delayed by 2 lines and 4 pixels is used as the target pixel position, an adder Pf for data S of 3 × 7 pixels centered on the target pixel is obtained. The feature amount Pf means a two-dimensional spatial frequency. In other words, the larger the Pf value is, the more the value of the binary data B is inverted from “0” to “1” in the vicinity of the target pixel.
This means that there are many points where the spatial frequency is high and therefore the dots are two-dimensionally isolated.

従って該Pf値を所定定数K(4〜5程度)と比較器86
で比較し、かつ、注目画素位置つまりメモリ80−5、80
−6で2ラインとF/F82−1〜82−4でさらに4画素遅
延させた2値信号C及び同位置の2値信号Bとのアンド
をとった87出力値E=1は、黒文字の一部の点である。
Therefore, the Pf value is set to a predetermined constant K (about 4 to 5) and the comparator 86.
And the target pixel position, that is, the memories 80-5 and 80-5
-7, the binary signal C and the binary signal B at the same position delayed by 4 pixels at the F / Fs 82-1 to 82-4 and the binary signal B at the same position are 87 output values E = 1. Some points.

同信号Eと注目画素位置より1ラインとF/F89−1〜
2で2画素遅延させた信号Bを黒文字信号発生部88に入
力し、最終出力である黒文字信号KBとKWを生成する。
One line from the signal E and the pixel position of interest and F / F89-1 to
The signal B delayed by two pixels by 2 is input to the black character signal generator 88 to generate black character signals KB and KW which are final outputs.

さて、前述のゲート回路83の内部について詳説してお
く。第5図はゲート回路83を示す図であり、中央の画素
iに隣接するa、b、c、d、e、f、g、hは前述し
たF/F81の各入出力信号Bである。EX−ORゲート831−
1、831−2はa、i、h方向に注目画素iが反転して
いるか否かを検出する。つまり両EX−ORゲート出力が共
に“1"であればアンドゲート832−1出力が1となり、
注目画素iはaih方向に孤立している。同様にEX−ORゲ
ート831−3、831−4、ANDゲート832−2はcif方向、E
X−ORゲート831−5、831−6、ANDゲート832−3はbig
方向、EX−ORゲート831−7、831−8、ANDゲート832−
4はdie方向の孤立性を検出する。ここでANDゲート833
−1、833−2、ORゲート834は注目画素iがbig方向か
又はdie方向に連続して同レベル“0"又は“1"の場合を
検出し、該当する場合はORゲート834出力が“0"とな
る。該信号はANDゲート835−1〜835−4で先述のアン
ドゲート832−1〜832−4出力とアンドし、その出力効
果を加算器836で加算すれば0〜4の値を示すSが求ま
る。
Now, the inside of the gate circuit 83 will be described in detail. FIG. 5 is a diagram showing the gate circuit 83, and a, b, c, d, e, f, g, and h adjacent to the central pixel i are the input / output signals B of the F / F 81 described above. EX-OR gate 831−
1, 831-2 detects whether or not the target pixel i is inverted in the a, i, and h directions. That is, if both EX-OR gate outputs are “1”, the output of the AND gate 832-1 becomes 1, and
The target pixel i is isolated in the aih direction. Similarly, the EX-OR gates 831-3 and 831-4, and the AND gate 832-2 are in the cif direction, E
X-OR gates 831-5 and 831-6, AND gate 832-3 are big
Direction, EX-OR gates 831-7, 831-8, AND gate 832-
Reference numeral 4 detects the isolation in the die direction. Here AND gate 833
-1, 833-2, and the OR gate 834 detect the case where the target pixel i is continuously at the same level "0" or "1" in the big direction or the die direction. 0 ". The signal is ANDed with the outputs of the AND gates 832-1 to 832-4 by AND gates 83-1 to 835-4, and the output effect is added by an adder 836 to obtain S indicating a value of 0 to 4. .

アンドゲート833とORゲート834による条件の物理的意
味は、その連続性が紙面(原稿又は記録紙面)上で直交
する線分である為文字の一部分である可能性が高い。従
ってこの場合は一意的にS=0として結果として特微量
Pfを下げる。尚、Pf値として積算する領域は望ましくは
7×7程度に方形で本実施例より広い方が高精細に文字
を識別出来る。但し、そのブロツクサイズ、ブロツク形
状は上述の例に限らず、検出精度等に応じて適宜設定す
ることができる。
The physical meaning of the condition by the AND gate 833 and the OR gate 834 is likely to be a part of a character because its continuity is a line segment orthogonal to the paper surface (document or recording paper surface). Therefore, in this case, S = 0 is uniquely set, and as a result, a very small amount
Lower Pf. The area to be integrated as the Pf value is desirably a square of about 7 × 7, and a wider area than in the present embodiment can identify characters with higher definition. However, the block size and the block shape are not limited to the above-described example, and can be appropriately set according to the detection accuracy and the like.

次に黒文字信号発生部88の内部を第6図を用いて詳説
する。同処理部分は黒文字の一部を示すKB=1(1bit)
信号と該信号に隣接しB=0である黒文字に隣接する画
素位置信号KW=1(1bit)信号を生成する事を目的とす
る。前述の1bit信号EとBを入力し、E信号をライン遅
延し、F/F880−1〜880−5で1画素毎さらに遅延する
事で注目画素位置をF/F880−3出力位置とすればORゲー
ト881は注目画素に隣接する8画素のうちいずれかがE
=1の時その出力に“1"を得る。従って、B信号をF/F8
80−7で遅延し注目画素位置に合わせた後反転してAND
ゲート882に入力すればKW信号が得られる。
Next, the inside of the black character signal generator 88 will be described in detail with reference to FIG. The part of the processing is KB = 1 (1 bit) indicating a part of black characters
An object is to generate a signal and a pixel position signal KW = 1 (1 bit) adjacent to the signal and adjacent to a black character having B = 0. If the above-mentioned 1-bit signals E and B are input, the E signal is line-delayed, and the target pixel position is set to the F / F880-3 output position by further delaying each pixel by F / F880-1 to 880-5. The OR gate 881 has one of eight pixels adjacent to the pixel of interest.
When = 1, "1" is obtained at the output. Therefore, the B signal is changed to F / F8
Delayed at 80-7, adjusted to the target pixel position, then inverted and AND
When input to the gate 882, a KW signal is obtained.

<黒信号生成部の別の実施例(1)> 第2図(c)に黒信号生成の別の実施例を示す。前実
施例中色味抑圧定数はグレイ成分max(RGB)にかかわら
ず一定値αであるが、一般にグレイ成分が大、つまり明
るい程、色味を持つ事が多い為に色味抑圧の程度を明る
い程大きくする。そうする事でよりコントラストの高い
黒信号dを生成できる。
<Another Embodiment (1) of Black Signal Generation Unit> FIG. 2 (c) shows another embodiment of the black signal generation. In the previous embodiment, the tint suppression constant is a constant value α irrespective of the gray component max (RGB). However, in general, the gray component is large, that is, the lighter the gray component is, the more the tint is suppressed. Increase the lighter. By doing so, a black signal d having higher contrast can be generated.

加算器63で得られるmax(RGB)−min(RGB)の値に乗
算器661で最大値検出部61出力max(RGB)を乗算し、そ
の結果を除算器662で定数βで割る。βの値は例えば128
程度が良好である。さらにその結果を加算器64でmax(R
GB)に加えて制限器65で255にクランプする。
The value of max (RGB) -min (RGB) obtained by the adder 63 is multiplied by the output max (RGB) of the maximum value detector 61 by the multiplier 661, and the result is divided by the constant β by the divider 662. The value of β is, for example, 128
Good degree. Further, the result is max (R
(GB) and clamp to 255 with limiter 65.

<黒信号生成部の別の実施例(2)> 前実施例は色味をmax(RGB)とmin(RGB)の差で定義
し、その抑圧を加算演算で実施したが、色味をmax(RG
B)とmin(RGB)の比で定義し、抑圧をmax(RGB)への
乗算演算で定義しても良い。つまり ここで定数γは63程度が良好である。上式によればグ
レイ成分が大程、つまり明るい程色味の抑圧が効果的で
あり、又定数γによりその抑圧の程度がある領域つまり
max(RGB)、min(RGB)が共に小さい場合緩和される
為、黒成分から多少の色味をおびている場合であっても
dの値が大きくならずよりコントラストの高い黒信号d
を生成出来る。第2図(d)の実施例においてまず最小
値検出部62出力に加算器663で定数γを加え、除算器664
で最大値検出部61出力を割る。その後乗算器665でmax
(RGB)を乗算する。
<Another Embodiment (2) of Black Signal Generating Unit> In the previous embodiment, the color was defined by the difference between max (RGB) and min (RGB), and the suppression was performed by an addition operation. (RG
B) and min (RGB) may be defined, and the suppression may be defined by a multiplication operation on max (RGB). I mean Here, the constant γ is preferably about 63. According to the above expression, the larger the gray component, that is, the brighter the lighter, the more effective the suppression of the tint is.
Since both max (RGB) and min (RGB) are alleviated when they are small, the value of d does not increase even when the color is slightly shaded from the black component.
Can be generated. In the embodiment shown in FIG. 2 (d), a constant γ is first added to the output of the minimum value detector 62 by an adder 663, and a divider 664 is added.
Divides the maximum value detection unit 61 output by. Then the multiplier 665 sets max
(RGB).

以上述べた様にR、G、Bの各データより色味を抑圧
した多値データを生成するアルゴリズムは本発明に限定
される事なく特に1次色RGBに限定されず記録色である
例えばYMCなど他の色成分信号を用いても同様の効果が
得られる事は述べるまでもない。
As described above, the algorithm for generating the multi-valued data in which the tint is suppressed from each of the R, G, and B data is not limited to the present invention, and is not particularly limited to the primary color RGB. Needless to say, the same effect can be obtained by using other color component signals.

<黒文字処理部3> 第2図に本発明に基づく黒信号処理部1の内容を示
す。まず、ホストコンピユータ1より入力されるR,G,B8
ビツト信号は、加算器100で加算した後、比較器101で下
記の式により定数α1でしきい値処理し、黒色か否かの
1bit信号aを生成する。
<Black Character Processing Unit 3> FIG. 2 shows the contents of the black signal processing unit 1 based on the present invention. First, R, G, B8 input from the host computer 1
After the bit signal is added by the adder 100, the comparator 101 performs a threshold process with a constant α1 by the following equation to determine whether or not the signal is black.
Generate a 1-bit signal a.

いま黒色判定について考えると、純粋な黒色はR=G
=B=0で表現される。通常、複写機等のリーダー、SV
カメラ、TVカメラなどの入力の場合には、読取特性や読
取誤差の関係上対象画像が純粋な黒色の場合であって
も、R=G=B=0とはならない場合が多い。そこで上
述の様に、黒文字処理部13においては、黒色判定の際に
R=G=B=0とならない画素であってもある所定の基
準内の値の場合には、黒色判定する様にしている。しか
し、コンピユータグラフイツクの場合には、純粋な黒色
の場合にはR=G=B=0のデータが送られてくるの
で、上記α1を0に設定しても、黒色判定を精度良く行
うことができる。なお純粋な黒色のみでなく、黒色に近
い一定範囲内の色も同時に検出したい場合には、α1を
0に近い値に設定すればよい。
Now, considering the black determination, pure black is R = G
= B = 0. Normally, leaders of copying machines, SV
In the case of an input from a camera, a TV camera, or the like, R = G = B = 0 is not often satisfied even when the target image is pure black due to reading characteristics and reading errors. Therefore, as described above, the black character processing unit 13 determines black if a pixel that does not satisfy R = G = B = 0 at the time of black determination is within a predetermined standard. I have. However, in the case of computer graphics, in the case of pure black, data of R = G = B = 0 is sent. Therefore, even if the above α1 is set to 0, it is necessary to perform the black determination with high accuracy. Can be. If it is desired to detect not only pure black but also a color in a certain range close to black at the same time, α1 may be set to a value close to 0.

このようにして抽出された1bitの黒信号aはそれぞれ
1ライン分遅延保持するメモリ102、103で遅延された過
去の2ライン分のデータと共にF/F105、106、107及び10
8で数画素分遅延保持する。そしてF/F106出力位置を注
目画素位置とした後、直交方向に隣接する4画素位置に
おける黒判定2値データaを同時に検出できるようにす
る。つまり注目画素に隣接する4画素位置の2値データ
aをORゲート109に入力すればその出力端で該4画素中
いずれかの画素がa=0、つまり黒色画素でなければ
“1"を得る。アンドゲート110は該ORゲート出力と注目
画素位置のaデータより注目画素が「黒色画素」であ
り、隣接4画素中いずれか1画素でも「黒色画素でな
い」場合、注目画素が黒色画像のエツジであると判断
し、1bitの記録制御信号KB=1を出力する。なお黒文字
処理部3においては、注目画素の周辺の画素の黒色判定
結果を用いた判定信号KWは常に0とする。即ち、CG画像
については黒色判定の誤りが極めて少ないと考えられる
ため、周辺画素の判定結果を用いた適応的処理は必要な
いからである。
The 1-bit black signal a extracted in this manner is stored in the memories 102 and 103, each of which holds a delay of one line, and data of the past two lines delayed by the F / Fs 105, 106, 107 and 10 respectively.
8 holds a delay of several pixels. Then, after setting the output position of the F / F 106 as the target pixel position, the black determination binary data a at the four pixel positions adjacent in the orthogonal direction can be simultaneously detected. That is, if the binary data a at the four pixel positions adjacent to the pixel of interest is input to the OR gate 109, at the output end, any one of the four pixels has a = 0, that is, "1" if not a black pixel. . The AND gate 110 determines that the target pixel is a “black pixel” from the OR gate output and the “a” data at the target pixel position, and if any one of the four adjacent pixels is “not a black pixel”, the target pixel is an edge of a black image. It determines that there is, and outputs a 1-bit recording control signal KB = 1. In the black character processing unit 3, the determination signal KW using the black determination result of the pixels around the target pixel is always set to 0. That is, since it is considered that the error of the black color determination is extremely small for the CG image, it is not necessary to perform the adaptive processing using the determination result of the peripheral pixels.

第15図にR=G=B=α1なる黒色パターンが入力さ
れた場合(同図a)におけるKB信号例(同図b)を示
す。
FIG. 15 shows an example of a KB signal (b in the figure) when a black pattern of R = G = B = α1 is input (a in the figure).

尚、入力されたR,G,B信号は上記KB信号に同期化する
為にメモリ104で約1ライン分遅延させて対数変換部2
に入力する。
The input R, G, B signals are delayed by about one line in the memory 104 in order to synchronize with the KB signal, and the logarithmic conversion unit 2
To enter.

<黒文字処理部3の別の実施例> 前記実施例ではR+G+B≦α1なる点のその周囲か
らの濃度変化量を検出しないで制御信号KBを生成した
が、第8図においては、いわゆるラプラシアンを求めて
所定量のエツジ成分が検出された場合のみKB=1を生成
しても良い。第5図において、加算器100で加算し、8bi
t幅にまるめ、前述同様にライン遅延用メモリ102、103
及びF/F105、106、107を用いて注目画素F/F106出力Xに
隣接する画素の黒み量、つまりR+G+Bを同時に検出
する。該データをそれぞれA,B,C,D,Xとすれば加算器11
1、116、乗算器112を用いていわゆる注目画素Xのラプ
ラシアン4X−(A+B+C+D)が得られ、比較器114
で定数α2でしきい値処理してエツジの有無をANDゲー
ト115に入力する。一方、比較器113は注目画素の黒成分
を定数α3でしきい値処理して同ANDゲート115に入力す
れば前記実施例に比べより高精度でKB信号が得られる。
<Another Embodiment of Black Character Processing Unit 3> In the above-described embodiment, the control signal KB is generated without detecting the amount of density change from around the point of R + G + B ≦ α1, but in FIG. 8, a so-called Laplacian is obtained. Thus, KB = 1 may be generated only when a predetermined amount of edge component is detected. In FIG. 5, the addition is performed by an adder 100, and 8bi is added.
Rounded to the width t, the line delay memories 102 and 103
And the F / Fs 105, 106, and 107 are used to simultaneously detect the amount of blackness of a pixel adjacent to the target pixel F / F 106 output X, that is, R + G + B. If the data are A, B, C, D, and X, respectively, the adder 11
The Laplacian 4X− (A + B + C + D) of the target pixel X is obtained by using the multipliers 112 and 116 and the comparator 114.
Then, threshold processing is performed with a constant α2, and the presence or absence of an edge is input to the AND gate 115. On the other hand, if the comparator 113 processes the threshold value of the black component of the pixel of interest with the constant α3 and inputs the threshold value to the AND gate 115, a KB signal can be obtained with higher accuracy than in the above embodiment.

<対数変換部5、マスキング・UCR部6> 次に対数変換部5及びマスキング・UCR6の概要を述べ
る。ここでは、下記のような式を用いる。
<Logarithmic Conversion Unit 5, Masking / UCR Unit 6> Next, an outline of the logarithmic conversion unit 5 and the masking / UCR6 will be described. Here, the following equation is used.

まず対数変換部5は式に従い8bitに量子化された輝
度データR,G,Bを8bit濃度データr,g,bに変換する。さら
に次のマスキング・UCR部6は該r,g,bデータ中の最小値
を黒k1とし抽出し、非線系UCRの項として該k1を自乗し
た黒k2信号を得る。式は上記黒成分k1,k2項とr,g,b項
に基づき記録信号C,M,Y,Kを生成する4×5のマトリツ
クス演算によるマスキング演算式である。実施例で用い
た係数より、今R=G=B=0となる黒色信号が入力さ
れた場合、式よりr=g=b=255となり、その結果
式で得られる(C,M,Y,K)は(111、127、95、255)と
なる。従って該入力信号に対してK信号の他にC,M,Y信
号が積算値として約1.3色分重なる事になる。
First, the logarithmic converter 5 converts the luminance data R, G, B quantized to 8 bits into 8-bit density data r, g, b according to the equation. Further masking · UCR part 6 of the following the r, g, the minimum value in the b data and black k 1 is extracted to obtain the black k 2 signal squaring the k 1 as terms of non-linear UCR. The formula is a masking calculation formula by a 4 × 5 matrix calculation for generating the recording signals C, M, Y, K based on the black component k 1 , k 2 terms and r, g, b terms. When a black signal with R = G = B = 0 is input from the coefficients used in the embodiment, r = g = b = 255 from the equation, and as a result, (C, M, Y, K) becomes (111, 127, 95, 255). Therefore, in addition to the K signal, the C, M, and Y signals overlap the input signal by about 1.3 colors as an integrated value.

<2値化制御部7> 第9図において39−1〜39−4はC,M,Y,Kそれぞれ8bi
tのデータを2値化する2値化部であり、デイザ法、平
均濃度保存法、誤差拡散等を用いる。40−1〜40−4は
2値化データをそれぞれ遅らせてKB,KW信号の位置に合
わせるタイミング調整用のメモリである。
<Binarization control unit 7> In FIG. 9, reference numerals 39-1 to 39-4 denote C, M, Y, and K of 8 bi each.
This is a binarization unit that binarizes the data of t, and uses a dither method, an average density storage method, error diffusion, and the like. Reference numerals 40-1 to 40-4 denote timing adjustment memories for delaying the binarized data to match the positions of the KB and KW signals.

また、各2値記録信号KB,KWは KB=1の時 KW=1の時 C,M,Y=0 のごとく制御する。つまり黒色記録信号は2K信号とKB=
1とのORで記録すると共に同位置に色記録信号が有った
場合混色をさける為に色記録を中止して抑圧する。又KW
=1信号画素は同様に色記録信号を抑圧する事で黒文字
周辺の記録ドツトを中止する事でより鮮明に記録表現出
来る。
Also, each of the binary recording signals KB and KW is when KB = 1 When KW = 1, control as C, M, Y = 0. That is, the black recording signal is 2K signal and KB =
In addition, when the color recording signal is recorded at the same position with the OR with 1, the color recording is stopped and suppressed in order to avoid color mixture. Also KW
= 1 signal pixel can be recorded more clearly by suppressing the color recording signal and stopping the recording dot around the black character.

KB,2K,KWとドツト記録の関係を下表1に示す。 The relationship between KB, 2K, KW and dot recording is shown in Table 1 below.

<2値化制御部7の別の実施例(1)> 前述の実施例では2値化後に記録データを制御する例
を開示したが、第10図を用いて2値化前の多値データを
制御する例を示す。
<Another Embodiment (1) of Binarization Control Unit 7> In the above-described embodiment, an example in which print data is controlled after binarization has been disclosed. However, multivalued data before binarization will be described with reference to FIG. Is shown below.

マスキング・UCR部62でC,M,Y,K4色信号に変換された
データを前述の黒文字信号発生部3,13の出力の2bit信号
KW,KBで制御した後、2値化部で2値化し記録する。
尚、本実施例の場合、記録素子8がパルス幅変調でドツ
トサイズが多段に変調出来るLBPあるいはピエゾ型のイ
ンクジエツトプリンタや熱転写プリンタなどのようなド
ツトが濃淡記録可能な熱記録素子の場合においては2値
化部3は必ずしも必要ではなく、制御した多値データを
そのまま記録に用いても良い。
The masking / UCR unit 62 converts the data converted into C, M, Y, and K4 color signals into 2-bit signals output from the black character signal generation units 3 and 13 described above.
After controlling by KW and KB, binarization is performed by a binarization unit and recorded.
In the case of the present embodiment, in the case where the recording element 8 is a thermal recording element capable of density recording of dots such as an LBP or a piezo-type ink jet printer or a thermal transfer printer in which the dot size can be modulated in multiple steps by pulse width modulation. The binarizing unit 3 is not always necessary, and the controlled multi-value data may be used for recording as it is.

さて、該記録信号制御部の内部を第10図を用いて詳説
する。第10図(a)においてメモリ91,92,93,94はタイ
ミング調整用の遅延回路を構成し、各色共に画素毎にK
B,KWに応じてROM95,96,97,98のLUTにより多値データを
直接変換する。
Now, the inside of the recording signal control unit will be described in detail with reference to FIG. In FIG. 10 (a), memories 91, 92, 93 and 94 constitute a delay circuit for timing adjustment.
Multi-value data is directly converted by LUT of ROM95,96,97,98 according to B and KW.

黒信号Kの場合、KB=1の時、第10図(c)のように
入力データを黒方向に強調すると共に、第10図(b)の
ように色信号C,M,Yは逆に白方向に強調するようなγテ
ーブルを選択して用いる。
In the case of the black signal K, when KB = 1, the input data is emphasized in the black direction as shown in FIG. 10 (c), and the color signals C, M and Y are reversed as shown in FIG. 10 (b). A γ table that emphasizes in the white direction is selected and used.

又、KW=1の場合、色信号C,M,Y信号はKB=1の時に
比べてやや強調の度合を緩和させる。本実施例は多値レ
ベルを制御する為に特にKW=1の場合、地色を有する黒
文字の周辺を自然な程度に淡い色に制御出来る為、より
高品位な記録画像が得られる。
When KW = 1, the degree of enhancement of the color signals C, M, Y is slightly reduced as compared with the case of KB = 1. In the present embodiment, in order to control the multi-value level, especially when KW = 1, the periphery of a black character having a ground color can be controlled to a light color as natural as possible, so that a higher quality recorded image can be obtained.

尚、KB=1の場合においては、入力データにかかわら
ずCK=255、CM,CC,CY=0としても良い事は述べるまで
もない。
When KB = 1, it goes without saying that CK = 255 and CM, CC, CY = 0 may be set regardless of the input data.

<2値化制御部7の別の実施例(2)> 前述の実施例はマスキングUCR後で黒文字処理を実施
したが、直接1次色であるR,G,B信号を制御しても同様
の効果が得られる。
<Another Embodiment (2) of Binarization Control Unit 7> In the above-described embodiment, black character processing is performed after masking UCR. However, the same applies when the R, G, and B signals that are primary colors are directly controlled. The effect of is obtained.

第11図(a)において、前述実施例同様の遅延メモリ
101,102,103は第10図に示す実施例における91,92,93,94
と同容量のメモリであるが、本実施例では1色分のメモ
リが不要となる為、より簡単な構成で実現出来る。さて
データ変換は各色共ROM104、105、106を用いたLUT変換
で実施する。
In FIG. 11 (a), a delay memory similar to the above-described embodiment is used.
101, 102, 103 are 91, 92, 93, 94 in the embodiment shown in FIG.
Although the memory has the same capacity as that of the first embodiment, a memory for one color is not required in the present embodiment, so that the memory can be realized with a simpler configuration. Data conversion is performed by LUT conversion using ROMs 104, 105, and 106 for each color.

第10図(c)のようにKW=1の時は各色共に白方向に
強調し、逆に第10図(d)のようにKB=1の場合黒方向
に強調する。該変換後データを通常のマスキング、UCR
を施す事によってKW=1の場合、Y,M,C,K共に白方向に
強調され、逆にKB=1の時K信号が黒方向に強調される
反面、C,M,Y信号は白方向に強調される。尚、前記実施
例共に変換特性は線型な特性に限定されず、非線型な特
性を持たせればKB=1の場合入力信号をより黒く、KW=
1の場合色信号をより白く制御可能となる。
When KW = 1 as shown in FIG. 10 (c), each color is emphasized in the white direction, and when KB = 1 as shown in FIG. 10 (d), it is enhanced in the black direction. Normal masking, UCR
When KW = 1, both Y, M, C, and K are emphasized in the white direction. Conversely, when KB = 1, the K signal is emphasized in the black direction, whereas the C, M, and Y signals are white. Emphasized in the direction. In both of the above embodiments, the conversion characteristic is not limited to a linear characteristic. If a non-linear characteristic is provided, the input signal becomes blacker when KB = 1 and KW =
In the case of 1, the color signal can be controlled to be whiter.

以上のようにして、前記第15図(a)に示す入力画像
でα1=0とするならば、同図(b)においてKB=1が
示す黒色画像のエツジ部分あるいは線幅2画素以下の細
線部分は黒色単色での記録として記録装置8が各色記録
毎にレジストの一致を必要とするインクジエツト記録、
電子写真記録等であっても鮮明に表現出来る。尚、同図
中、線幅の広い領域ではKB=0である為に平均的に黒色
ドツトを含め2、3色を重ねて記録可能とする為により
反射濃度の高い(黒い)記録が出来る為、細線部の高解
像記録と多重記録による高階調性を両立して記録が可能
となる。
As described above, if α1 = 0 in the input image shown in FIG. 15 (a), the edge portion of the black image indicated by KB = 1 in FIG. 15 (b) or a thin line having a line width of 2 pixels or less. The portion is recorded in black and single color, and the recording device 8 uses the ink jet recording that requires registration of the resist for each color recording.
Even electrophotographic records can be clearly expressed. In the same figure, in a region having a large line width, since KB = 0, it is possible to record two or three colors including black dots on average, so that a high reflection density (black) can be recorded. In addition, it is possible to perform recording while achieving both high-resolution recording of fine line portions and high gradation by multiplex recording.

<記録部8> 次に第1図の記録部8の構成について説明する。<Recording Unit 8> Next, the configuration of the recording unit 8 in FIG. 1 will be described.

本発明は、インクジエツト記録、サーマル転写記録、
静電記録等種々の記録法に適用可能である。ここではイ
ンクジエツト記録に用いた場合の例について説明する。
The present invention provides ink jet recording, thermal transfer recording,
It is applicable to various recording methods such as electrostatic recording. Here, an example in the case of using for ink jet recording will be described.

第12図は発熱素子を用いたインクジエツト記録装置の
ヘツド周辺の斜視図である。
FIG. 12 is a perspective view around the head of an ink jet recording apparatus using a heating element.

同図において51はヘツドユニツトでノズル52を合計4
本有する。即ちヘツドユニツト51は黒インク吐出ノズル
52K、イエローインク吐出ノズル52Y、マゼンタインク吐
出ノズル52M、シアンインク吐出ノズル52Cを有してい
る。53はインク供給チユーブ、54はメインタンクで各ノ
ズルに対応して4個のメインタンクが設けられる。
In the figure, reference numeral 51 denotes a head unit, which is a total of four nozzles 52.
Have a book. That is, the head unit 51 is a black ink discharge nozzle.
52K, a yellow ink discharge nozzle 52Y, a magenta ink discharge nozzle 52M, and a cyan ink discharge nozzle 52C. 53 is an ink supply tube, and 54 is a main tank provided with four main tanks corresponding to each nozzle.

ノズル52の構成を第13図の断面図を用いて説明する。
55は上板、56は底板、57は発熱素子、58はオリフイス
部、59はインクである。
The configuration of the nozzle 52 will be described with reference to the cross-sectional view of FIG.
55 is an upper plate, 56 is a bottom plate, 57 is a heating element, 58 is an orifice portion, and 59 is ink.

発熱素子57に電圧を印加すると発熱し、素子57の周辺
に気泡が形成され、電圧の印加が終了すると気泡が収縮
する。この気泡の形成及び収縮動作に伴ってオリフイス
部58付近のインクがオリフイス部58から吐出する。
When a voltage is applied to the heating element 57, heat is generated, and bubbles are formed around the element 57. When the application of the voltage is completed, the bubbles shrink. The ink near the orifice portion 58 is ejected from the orifice portion 58 in accordance with the formation and contraction of the bubble.

この記録ヘツドは、熱エネルギーによってインクに膜
沸騰などの状態変化を生起させて、気泡(バブル)を発
生させ、このバブルを使用してインクを吐出口(ノズ
ル)から被記録材に向けて吐出して文字、画像等の記録
を行ういわゆるバブルジエツト式の記録ヘツドである。
この記録ヘツドは各ノズル内に設けられた発熱抵抗体
(ヒータ)のサイズが従来のインクジエツト記録に使わ
れている圧電素子と比べて格段に小さく、ノズルの高密
度のマルチ化が可能であって、高品位の記録画像が得ら
れ、高速、低騒音等の特色を有する。
The recording head causes a state change such as film boiling in the ink by thermal energy to generate air bubbles (bubbles), and the ink is discharged from the discharge ports (nozzles) toward the recording material using the bubbles. This is a so-called bubble jet recording head for recording characters, images and the like.
In this recording head, the size of a heating resistor (heater) provided in each nozzle is much smaller than that of a piezoelectric element used for conventional ink jet recording, and high-density multiple nozzles are possible. High quality recorded images can be obtained, and it has characteristics such as high speed and low noise.

一種類の着色材について多数のヘツドを有する記録装
置を用いてもよい。
A recording device having a number of heads for one type of coloring material may be used.

第14図において、101は一種類の着色材について多数
のインクジエツトヘツドを副走査方向に配置したヘツド
ユニツトであり、ブラツク、イエロー、シアン、マゼン
タのユニツトを有する。107は各ヘツドユニツト用のイ
ンクタンク、109は信号ライン、104は搬送ベルト105と
協働してヘツドユニツトを取付けたキヤリツジ105をレ
ール103に沿って移動させるキヤリツジ駆動モータであ
る。106は記録紙、120はプラテン、111、112は記録紙搬
送ローラ、113は記録紙ロール、114はガイドローラを夫
々示している。ヘツドユニツト101は第13図に示した発
熱素子を利用した複数インクジエツトヘツドより成る
が、例えばピエゾ素子等の電気機械変換手段を用いたイ
ンクジエツトヘツドも勿論使用しうる。
In FIG. 14, reference numeral 101 denotes a head unit in which a number of ink jet heads are arranged in the sub-scanning direction for one type of coloring material, and has black, yellow, cyan, and magenta units. 107 is an ink tank for each head unit, 109 is a signal line, and 104 is a carriage drive motor for moving a carriage 105 with the head unit attached along a rail 103 in cooperation with a transport belt 105. 106 is a recording paper, 120 is a platen, 111 and 112 are recording paper transport rollers, 113 is a recording paper roll, and 114 is a guide roller. The head unit 101 is composed of a plurality of ink jet heads using the heating elements shown in FIG. 13, but an ink jet head using electromechanical conversion means such as a piezo element can of course be used.

<その他の実施例> 外部コンピユータからの入力信号をR,G,Bで実施した
が、独立の3次元色座標系信号であれば良く、例えばCI
Eが決めるところの等色空間座標系のL,a,bやL
,u,vであっても同様に実施可能である。例えば第
2図に示す実施例においてα1=0とするならば、R=
G=B=0は座標変換によりL=a=b=0であ
り、L,a,bを用いてより正確に実施するには
,|a|,|b|をR,G,Bに置き換えると良好な結果が
得られる。同様にしてXYZ表色系を用いても実施が可能
である。
<Other Embodiments> Although input signals from an external computer are implemented by R, G, and B, it is sufficient if they are independent three-dimensional color coordinate system signals.
L * , a * , b * and L of the color space coordinate system determined by E
* , U * , v * can be similarly implemented. For example, if α1 = 0 in the embodiment shown in FIG.
When G = B = 0, L * = a * = b * = 0 due to the coordinate conversion, and L * , | a * |, | b is required to perform more accurately using L * , a * , b *. * Replace | with R, G, B for good results. Similarly, the present invention can be implemented using the XYZ color system.

第7図、第8図においては、R,G,B信号を加算器100で
加算した後、黒味の判定を行っているが、 1)min(R,G,B)が所定値より小さければ黒としたり、 2)max(R,G,B)+α×(max(R,G,B) −min(R,G,B)) 等を用いても同様の効果が得られる。
7 and 8, blackness is determined after adding the R, G, B signals by the adder 100. 1) If min (R, G, B) is smaller than a predetermined value, A similar effect can be obtained by using black or 2) max (R, G, B) + α × (max (R, G, B) −min (R, G, B)).

以上説明したように、本発明の上記実施例によれば、
画像データを入力するための複数の入力手段と、前記入
力手段から入力された画像データの特定色線画部を判定
する判定手段とを有し、前記入力手段の種類に応じて前
記判定手段の判定基準を異ならしめることにより、コン
ピユータグラフイツクなどのように、黒文字の検出が比
較的容易な画像に対しては、黒文字処理回路の構成を簡
単にすることができ、また、CCDセンサなどにより読み
取った画像に対しては、誤判定が生じた場合のフオロー
を行うことにより、画質を良好に保つことができる。
As described above, according to the above embodiment of the present invention,
A plurality of input means for inputting image data; and a determination means for determining a specific color line drawing part of the image data input from the input means, wherein the determination means determines the type of the input means according to the type of the input means. By using different standards, the configuration of the black character processing circuit can be simplified for images where the detection of black characters is relatively easy, such as computer graphics, and the image is read by a CCD sensor or the like. By performing a follow-up on an image when an erroneous determination occurs, it is possible to maintain good image quality.

従って、仮に色毎のレジスト精度が良くない場合であ
っても、高品位の画像記録が可能となる。
Therefore, even if the registration accuracy for each color is not good, high-quality image recording can be performed.

また、黒文字処理部において、記録信号を制御する信
号を発生するので、入力特性の異なる入力手段を併設し
た場合でも、マスキング、UCR等の画像処理を変更する
ことなく、上述の様に記録部の直前の記録信号を制御す
ることができる。従って回路構成が簡単になる。
Further, since a signal for controlling the recording signal is generated in the black character processing unit, even when input means having different input characteristics are provided, without changing the image processing such as masking and UCR, the recording unit is processed as described above. It is possible to control the immediately preceding recording signal. Therefore, the circuit configuration is simplified.

なお、上述の様に生成された記録信号の出力のための
プリンタとしては、カラーインクジエツトプリンタ、カ
ラー熱転写プリンタ、カラードツトプリンタ、カラーレ
ーザービームプリンタなどカラー記録の可能なプリンタ
を用いることができる。
As a printer for outputting the recording signal generated as described above, a printer capable of color recording, such as a color ink jet printer, a color thermal transfer printer, a color dot printer, and a color laser beam printer, can be used.

特に高速処理に適するので、USP4723129、USP4740793
に示される様な熱エネルギーによる膜沸騰を利用して液
滴を吐出するタイプのヘツドを用いたプリンタに有効で
ある。
Particularly suitable for high-speed processing, USP4723129, USP4740793
This is effective for a printer using a head of a type that discharges droplets using film boiling due to thermal energy as shown in FIG.

また、上述の演算回路はROM、RAM等を用いて構成して
もよく、上述の演算を行うことのできるコンピユータの
ソフトウエアによって実現してもよい。
Further, the above-described arithmetic circuit may be configured using a ROM, a RAM, or the like, or may be realized by software of a computer capable of performing the above-described arithmetic.

〔発明の効果〕〔The invention's effect〕

以上のように請求項1、2の発明によればノイズのほ
とんどない外部コンピュータにより発生された画像デー
タが入力された場合、該外部コンピュータにより発生さ
れた画像データ用の判定方法を用いて、特定色画像エッ
ジ部の判定を行い、ノイズのある撮像素子で得られる画
像データが入力された場合、該撮像素子で得られる画像
データ用の判定方法を用いて特定色画像エッジ部の判定
を行なうので、外部コンピュータにより発生された画像
データであっても精度よい判定を実現でき、ノイズのあ
る撮像素子で得られる画像データに対しても良好な判定
を実現できる。
As described above, according to the first and second aspects of the present invention, when image data generated by an external computer having almost no noise is input, identification is performed using the determination method for image data generated by the external computer. When a color image edge portion is determined, and image data obtained by an image sensor having noise is input, a specific color image edge portion is determined using a determination method for image data obtained by the image sensor. In addition, accurate determination can be realized even for image data generated by an external computer, and good determination can be realized for image data obtained by a noisy imaging device.

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

第1図は本発明の実施例の全体構成を示す図、 第2図は黒信号生成を示す図、 第3図は2値化部を示す図、 第4図は黒文字識別部を示す図、 第5図は網点判定の回路を示す図、 第6図は黒文字信号発生部を示す図、 第7図、第8図は黒文字処理部3を示す図、 第9図、第10図、第11図は2値化制御部を示す図、 第12図、第13図、第14図は記録部8を示す図、 第15図は黒文字判定を説明する図である。 3、13……黒文字処理部 7……2値化制御部 FIG. 1 is a diagram showing an overall configuration of an embodiment of the present invention, FIG. 2 is a diagram showing black signal generation, FIG. 3 is a diagram showing a binarization unit, FIG. FIG. 5 is a diagram showing a circuit for determining a halftone dot, FIG. 6 is a diagram showing a black character signal generator, FIGS. 7 and 8 are diagrams showing a black character processing unit 3, FIGS. 11 is a diagram illustrating a binarization control unit, FIGS. 12, 13, and 14 are diagrams illustrating a recording unit 8, and FIG. 15 is a diagram illustrating black character determination. 3, 13: Black character processing unit 7: Binarization control unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 H04N 1/46 - 1/62 G06T 1/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int. Cl. 7 , DB name) H04N 1/40-1/409 H04N 1/46-1/62 G06T 1/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】外部コンピュータにより発生された画像デ
ータと、撮像素子で得られる画像データを入力する入力
手段、 前記入力手段により入力された画像データにおける特定
色画像エッジ部を判定する判定手段とを有する画像処理
装置であって、 前記入力手段から外部コンピュータにより発生された画
像データが入力された場合、該外部コンピュータにより
発生された画像データ用の判定方法を用いて、前記判定
手段により前記特定色画像エッジ部の判定を行い、前記
入力手段から撮像素子で得られる画像データが入力され
た場合、該撮像素子で得られる画像データ用の判定方法
を用いて前記特定色画像エッジ部の判定を行なうことを
特徴とする画像処理装置。
An input means for inputting image data generated by an external computer and image data obtained by an image sensor, and a determination means for determining a specific color image edge portion in the image data input by the input means. An image processing apparatus comprising: when image data generated by an external computer is input from the input unit, using a determination method for image data generated by the external computer, the determination unit determines the specific color. An image edge portion is determined, and when image data obtained by an image sensor is input from the input means, the specific color image edge portion is determined using a determination method for image data obtained by the image sensor. An image processing apparatus characterized by the above-mentioned.
【請求項2】外部コンピュータにより発生された画像デ
ータと、撮像素子で得られる画像データを入力し、 前記入力された画像データにおける特定色画像エッジ部
を判定し、 エッジ部を判定し、 前記外部コンピュータにより発生された画像データが入
力された場合、該外部コンピュータにより発生された画
像データ用の判定方法を用いて、前記特定色画像エッジ
部の判定を行い、前記撮像素子で得られる画像データが
入力された場合、該撮像素子で得られる画像データ用の
判定方法を用いて前記特定色画像エッジ部の判定を行な
うことを特徴とする画像処理方法。
2. An image data generated by an external computer and image data obtained by an image sensor are input, a specific color image edge portion in the input image data is determined, and an edge portion is determined. When image data generated by a computer is input, the specific color image edge portion is determined using a determination method for image data generated by the external computer, and image data obtained by the image sensor is obtained. An image processing method, wherein, when input, an edge portion of the specific color image is determined using a determination method for image data obtained by the image sensor.
JP2163606A 1990-06-20 1990-06-20 Image processing apparatus and method Expired - Lifetime JP3039673B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2163606A JP3039673B2 (en) 1990-06-20 1990-06-20 Image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2163606A JP3039673B2 (en) 1990-06-20 1990-06-20 Image processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH0453364A JPH0453364A (en) 1992-02-20
JP3039673B2 true JP3039673B2 (en) 2000-05-08

Family

ID=15777127

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2163606A Expired - Lifetime JP3039673B2 (en) 1990-06-20 1990-06-20 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP3039673B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3121006B2 (en) 1990-11-30 2000-12-25 キヤノン株式会社 Image processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3121006B2 (en) 1990-11-30 2000-12-25 キヤノン株式会社 Image processing device

Also Published As

Publication number Publication date
JPH0453364A (en) 1992-02-20

Similar Documents

Publication Publication Date Title
JP3184512B2 (en) Image processing apparatus and image processing method
US5729624A (en) Image processing method and apparatus
JP6566052B2 (en) Dynamic printing system compensation mechanism
US6192152B1 (en) Image processing apparatus
JPH10109443A (en) Color image processing method
JPH10334228A (en) Method for improving resolution of raster image
JPH08512444A (en) High quality multi-level halftoning method for color images with reduced memory requirements
US7315398B2 (en) Multi-level error diffusion with color image data
US6411741B1 (en) Image processing apparatus
JPH07184041A (en) Image processing apparatus and image processing method
EP0949807B1 (en) Transforms for digital images
US6661921B2 (en) Image process apparatus, image process method and storage medium
JPH115298A (en) Method and device for edge interpolation for image forming device
JP3039673B2 (en) Image processing apparatus and method
US6693731B1 (en) Image processing apparatus and method
US6574010B1 (en) Image processing apparatus and method
JP3796985B2 (en) Image processing apparatus, image processing method, and storage medium
JP4050382B2 (en) Multi-value image smoothing apparatus and image forming apparatus
JP3155751B2 (en) Image processing device
JPH09261469A (en) Image processing apparatus and image processing method
JPH0630272A (en) Device and method for processing image
JP3143480B2 (en) Image processing device
JP3143511B2 (en) Image processing device
JP3021001B2 (en) Image processing device
JP3143481B2 (en) Image processing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080303

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090303

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100303

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100303

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110303

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110303

Year of fee payment: 11