JPH07274026A - Picture processor and its method - Google Patents

Picture processor and its method

Info

Publication number
JPH07274026A
JPH07274026A JP6063409A JP6340994A JPH07274026A JP H07274026 A JPH07274026 A JP H07274026A JP 6063409 A JP6063409 A JP 6063409A JP 6340994 A JP6340994 A JP 6340994A JP H07274026 A JPH07274026 A JP H07274026A
Authority
JP
Japan
Prior art keywords
image
color space
image signal
unit
input
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.)
Withdrawn
Application number
JP6063409A
Other languages
Japanese (ja)
Inventor
Hiroyuki Tsuji
博之 辻
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 JP6063409A priority Critical patent/JPH07274026A/en
Publication of JPH07274026A publication Critical patent/JPH07274026A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Ink Jet (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To provide a picture processor and a its method capable of performing color space compression and obtaining improved pictures for which hardware constitution is reduced and a cost is reduced. CONSTITUTION:The picture signals of original pictures read by an image sensor 34 are sampled in a sampling part 123 and stored in the memory of a variable magnification part 122. A CPU part 116 calculates a matrix transformation coefficient by a base level, color distribution and a dark level detected from the picture signals stored in the memory and sets it to a color space comparession part 121. The picture signals outputted from the image sensor 34 again are matrix-transformed in the color space compression part 121, sent to a printer part and printed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は画像処理装置およびその
方法に関し、例えば、カラー画像信号に色空間圧縮など
の画像処理を施す画像処理装置およびその方法に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and a method thereof, and more particularly to an image processing apparatus and a method thereof for performing image processing such as color space compression on a color image signal.

【0002】[0002]

【従来の技術】入力したカラー画像をハードコピー出力
する装置において、ハードコピー出力画像の色再現性,
階調性などは、原稿画像に対して忠実に再現されること
が望ましい。しかし、実際には、原稿画像の色分布とハ
ードコピー出力装置の色再現範囲との違いから忠実に再
現することは難しい。従って、色再現範囲の違いを吸収
し、原稿画像に対してできるだけ忠実に再現するため
に、入力したカラー画像にルックアップテーブルを用い
た色空間圧縮を行って出力する画像処理装置が考えられ
ている。
2. Description of the Related Art In a device for outputting a hard copy of an input color image, the color reproducibility of the hard copy output image,
It is desirable that the gradation and the like be reproduced faithfully with respect to the original image. However, in reality, it is difficult to faithfully reproduce due to the difference between the color distribution of the original image and the color reproduction range of the hard copy output device. Therefore, in order to absorb the difference in the color reproduction range and reproduce the original image as faithfully as possible, an image processing apparatus that performs color space compression using a look-up table on the input color image and outputs it has been considered. There is.

【0003】一方、カラー画像を、例えばイメージスキ
ャナと外部装置などの複数の入力部から入力する画像処
理システムが知られている。
On the other hand, there is known an image processing system for inputting a color image from a plurality of input units such as an image scanner and an external device.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記従来例に
おいては、次のような問題点があった。ルックアップテ
ーブルを用いて色空間圧縮を行うため回路構成が複雑に
なり、かつ、大きなメモリサイズを必要とするため、コ
ストが上昇する問題がある。また、入力部が異なる場
合、一方の入力部からは色空間圧縮が施されていない画
像信号が入力され、他方の入力部からは色空間圧縮が施
された画像信号が入力されることがあり得る。従って、
既に色空間圧縮が施された画像信号にもう一度色空間圧
縮を行い、出力画像を著しく劣化させてしまう問題があ
る。
However, the above-mentioned conventional example has the following problems. Since color space compression is performed using a look-up table, the circuit configuration becomes complicated, and a large memory size is required, which causes a problem of increased cost. When the input units are different, an image signal that is not color space compressed may be input from one input unit and an image signal that is color space compressed may be input from the other input unit. obtain. Therefore,
There is a problem that the image signal already subjected to the color space compression is subjected to the color space compression again, and the output image is remarkably deteriorated.

【0005】本発明は、上述の問題を解決するためのも
のであり、その目的は次のようなものである。本願の第
一の発明は、ハードウェア構成の縮小とともにコストの
低減を図った色空間圧縮を行い、良好な画像を得ること
ができる画像処理装置およびその方法を提供することを
目的とする。また、本願の第二の発明は、色空間圧縮が
不要な画像信号には色空間圧縮を行わないことによっ
て、余計な画質の劣化を防ぎ良好な画像を得ることがで
きる画像処理装置およびその方法を提供することを目的
とする。
The present invention is to solve the above-mentioned problems, and its purpose is as follows. It is an object of a first invention of the present application to provide an image processing apparatus and a method thereof that can obtain a good image by performing color space compression with a reduced hardware configuration and cost reduction. A second invention of the present application is an image processing apparatus and method capable of obtaining an excellent image by preventing unnecessary deterioration of image quality by not performing color space compression on an image signal that does not require color space compression. The purpose is to provide.

【0006】[0006]

【課題を解決するための手段および作用】本発明は、前
記の目的を達成する一手段として、以下の構成を備え
る。本発明にかかる画像処理方法は、原稿画像を走査し
て画像信号を入力する入力手段の第一の走査で得られた
画像信号に基づき前記原稿画像の色分布および下地レベ
ルを判別する判別ステップと、前記入力手段による第二
の走査で得られる画像信号に対して前記判別ステップの
判別結果に基づいて色空間圧縮および下地レベルの調整
を行う色変換ステップとを有することを特徴とする。
The present invention has the following structure as one means for achieving the above object. An image processing method according to the present invention comprises a determination step of determining a color distribution and a background level of the document image based on the image signal obtained by the first scanning of the input unit which scans the document image and inputs the image signal. , And a color conversion step of performing color space compression and adjustment of the background level on the image signal obtained by the second scanning by the input means based on the determination result of the determination step.

【0007】また、原稿画像を走査して画像信号を入力
する入力手段の第一の走査で得られた画像信号に基づい
て複数の係数を算出する算出ステップと、前記算出ステ
ップで算出された複数の係数に基づいたマトリクス変換
により前記入力手段による第二の走査で得られる画像信
号を色空間圧縮する色空間圧縮ステップとを有すること
を特徴とする。
Further, a calculation step for calculating a plurality of coefficients based on the image signal obtained by the first scanning of the input means for scanning the original image and inputting the image signal; And a color space compression step of performing color space compression on the image signal obtained by the second scanning by the input means by matrix conversion based on the coefficient of.

【0008】また、原稿画像を走査する画像信号を入力
する第一の入力手段によって入力された画像信号に対し
て色空間圧縮を行う色空間圧縮ステップと、前記色空間
圧縮ステップから出力された画像信号を出力信号に変換
する変換ステップとを備えた画像処理方法であって、外
部装置から画像信号を入力する第二の入力手段によって
入力された画像信号は前記色空間圧縮ステップを介さず
に前記変換ステップへ入力されることを特徴とする。
Further, a color space compression step of performing color space compression on the image signal input by the first input means for inputting an image signal for scanning the original image, and an image output from the color space compression step. An image processing method comprising a conversion step of converting a signal into an output signal, wherein the image signal input by the second input means for inputting the image signal from an external device is the above-mentioned without the color space compression step. It is characterized in that it is input to the conversion step.

【0009】本発明にかかる画像処理装置は、原稿画像
を走査して画像信号を入力する入力手段と、前記入力手
段による第一の走査で得られた画像信号に基づき前記原
稿画像の色分布および下地レベルを判別する判別手段
と、前記入力手段による第二の走査で得られる画像信号
に対して前記判別手段による判別結果に基づいて色空間
圧縮および下地レベルの調整を行う色変換手段とを有す
ることを特徴とする。
An image processing apparatus according to the present invention comprises an input means for scanning a document image and inputting an image signal, and a color distribution of the document image based on the image signal obtained by the first scanning by the input means. And a color conversion unit for performing color space compression and adjustment of the background level on the basis of the result of the determination by the determining unit for the image signal obtained by the second scanning by the input unit. It is characterized by

【0010】また、原稿画像を走査して画像信号を入力
する入力手段と、前記入力手段による第一の走査で得ら
れた画像信号に基づいて複数の係数を算出する算出手段
と、前記算出手段によって算出された複数の係数に基づ
いたマトリクス変換により前記入力手段による第二の走
査で得られる画像信号を色空間圧縮する色空間圧縮手段
とを有することを特徴とする。
Also, input means for scanning the original image to input the image signal, calculating means for calculating a plurality of coefficients based on the image signal obtained by the first scanning by the input means, and the calculating means. Color space compression means for compressing the color space of the image signal obtained by the second scanning by the input means by matrix conversion based on the plurality of coefficients calculated by the above.

【0011】また、原稿画像を走査して第一の画像信号
を入力する第一の入力手段と、外部装置から第二の画像
信号を入力する第二の入力手段と、前記第一の画像信号
に対して色空間圧縮を行う色空間圧縮手段と、前記色空
間圧縮手段から出力された画像信号を出力信号に変換す
る変換手段とを備えた画像処理装置であって、前記第二
の画像信号は前記色空間圧縮手段を介さずに前記変換手
段へ入力されることを特徴とする。
Further, first input means for scanning the original image to input the first image signal, second input means for inputting the second image signal from an external device, and the first image signal. An image processing apparatus comprising: a color space compression unit that performs color space compression on a color image, and a conversion unit that converts an image signal output from the color space compression unit into an output signal, wherein the second image signal Is input to the conversion means without passing through the color space compression means.

【0012】[0012]

【実施例】以下、本発明にかかる一実施例の画像処理装
置を図面を参照して詳細に説明する。なお、以下の実施
例では、本発明を電子写真方式のカラー複写機に適用す
る例を説明するが、本発明はこれに限定されるものでは
なく、インクジェット方式のカラー複写機、電子写真方
式あるいはインクジェット方式のプリンタ、画像形成部
を備えない画像処理ユニット(以下「IPU」という)な
どにも適用できることはいうまでもない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An image processing apparatus according to an embodiment of the present invention will be described in detail below with reference to the drawings. In the following embodiments, an example in which the present invention is applied to an electrophotographic color copying machine will be described, but the present invention is not limited to this, and an ink jet type color copying machine, an electrophotographic method or It goes without saying that the invention can be applied to an inkjet printer, an image processing unit (hereinafter referred to as “IPU”) that does not include an image forming unit, and the like.

【0013】[0013]

【第1実施例】 [本体構成]図1は本発明にかかる一実施例の画像処理
装置の概観図で、その上部はカラー画像などを読取って
画像処理を行うリーダ部、その下部はリーダ部で読取ら
れた画像などを印刷するプリンタ部である。
First Embodiment [Structure of Main Body] FIG. 1 is a schematic view of an image processing apparatus according to an embodiment of the present invention. An upper portion thereof is a reader unit for performing image processing by reading a color image, and a lower portion thereof is a reader unit. The printer unit prints an image or the like read by the printer.

【0014】リーダ部において、原稿30を原稿台ガラ
ス31上に載置し、光学系読取駆動モータ35により、
露光ランプ32を含む公知の原稿走査ユニットを予め設
定された複写倍率に応じた一定の速度で走査する。そし
て、原稿30からの反射光像を、レンズ33によりイメ
ージセンサ34に集光して、色分解された画像信号を得
る。イメージセンサ34には、例えば、互いに隣接配置
され、それぞれレッドR,グリーンG,ブルーBのフィル
タを備えた3ラインのCCDを用いる。
In the reader section, the original 30 is placed on the original table glass 31, and the optical system reading drive motor 35
A known document scanning unit including the exposure lamp 32 is scanned at a constant speed according to a preset copy magnification. Then, the reflected light image from the original 30 is condensed on the image sensor 34 by the lens 33 to obtain a color-separated image signal. As the image sensor 34, for example, a three-line CCD, which is arranged adjacent to each other and includes red R, green G, and blue B filters, is used.

【0015】イメージセンサ34から出力された色分解
画像信号は、画像処理部36およびコントローラ部37
において画像処理を施された後、プリンタ部へ送出され
る。なお、原稿台ガラス31の周辺に操作部が設けてあ
り、複写シーケンスに関する各種モードの設定を行うス
イッチおよび表示用のディスプレイなどが配置されてい
る。
The color-separated image signal output from the image sensor 34 is used as an image processing unit 36 and a controller unit 37.
After being subjected to image processing in (1), it is sent to the printer section. An operation unit is provided around the platen glass 31, and switches for setting various modes related to the copy sequence and a display for display are arranged.

【0016】プリンタ部において、像担持体である感光
ドラム1は矢印方向に回転自在に軸支され、感光ドラム
1の周りには、前露光ランプ11,コロナ帯電器2,レ
ーザ露光光学系3,電位センサ12,各色の現像器4,
光量検知器13,転写装置5,クリーニング器6が配置
されている。リーダ部からの画像信号は、レーザ露光光
学系3においてレーザ光信号に変換され、該レーザ光E
は、ポリゴンミラー3aに反射され、レンズ3bおよび
ミラー3cを経て、感光ドラム1の表面に照射される。
画像形成時には、感光ドラム1を矢印方向に回転させ、
前露光ランプ11で除電し帯電器2により一様に帯電さ
せた後、各色分解像毎に潜像を形成する。
In the printer section, a photosensitive drum 1 which is an image bearing member is rotatably supported in the direction of an arrow, and a pre-exposure lamp 11, a corona charger 2, a laser exposure optical system 3 are provided around the photosensitive drum 1. Potential sensor 12, developing device 4 for each color
A light amount detector 13, a transfer device 5, and a cleaning device 6 are arranged. The image signal from the reader unit is converted into a laser light signal in the laser exposure optical system 3, and the laser light E
Is reflected by the polygon mirror 3a, passes through the lens 3b and the mirror 3c, and is irradiated onto the surface of the photosensitive drum 1.
During image formation, rotate the photosensitive drum 1 in the direction of the arrow,
After the charge is removed by the pre-exposure lamp 11 and uniformly charged by the charger 2, a latent image is formed for each color separation image.

【0017】次に、所定の現像器4を動作させ形成した
潜像を現像して、樹脂を基体とするトナー画像を形成す
る。現像器4は、偏心カム24y,24m,24c,24
kの動作により、各分解色に応じて択一的に感光ドラム
1に接近するになっている。さらに、予め選択された記
録紙カセット7a,7b,7cの何れかから、搬送系およ
び転写装置5を介して、感光ドラム1と対向する位置に
供給された記録紙へ形成したトナー画像を転写する。な
お、この記録紙カセット7の選択は、記録画像の大きさ
に応じたコントローラ部37からの制御信号により、ピ
ックアップローラ27a,27b,27cの何れか一つが
駆動されることにより行われる。
Next, the predetermined developing device 4 is operated to develop the formed latent image to form a toner image using resin as a substrate. The developing device 4 includes eccentric cams 24y, 24m, 24c, 24.
By the operation of k, the photosensitive drum 1 is selectively approached according to each separated color. Further, the toner image formed is transferred from any one of the preselected recording paper cassettes 7a, 7b, 7c to the recording paper supplied to the position facing the photosensitive drum 1 via the transport system and the transfer device 5. . The selection of the recording paper cassette 7 is performed by driving any one of the pickup rollers 27a, 27b, 27c by a control signal from the controller unit 37 according to the size of the recorded image.

【0018】転写装置5は、本例では転写ドラム5a,
転写帯電器5b,記録紙を静電吸着する吸着帯電器5c
と対向する吸着ローラ5g,内側帯電器5d,外側帯電
器5eとを有する。回転駆動されるように軸支された転
写ドラム5aの周面開口域には、誘電体からなる記録紙
担持シート5fを円筒状に一体に張設する。なお、記録
紙担持シート5fには、例えばポリカーボネートフィル
ムなどの誘電体シートを使用する。転写ドラム5aを回
転させるに従って、感光ドラム1上のトナー像は、記録
紙担持シート5fに担持された記録紙上に、転写帯電器
5bによって転写される。
The transfer device 5 includes a transfer drum 5a,
Transfer charger 5b, adsorption charger 5c for electrostatically attracting recording paper
And a suction roller 5g, an inner charging device 5d, and an outer charging device 5e facing each other. A recording paper carrying sheet 5f made of a dielectric material is integrally stretched in a cylindrical shape in the peripheral opening area of the transfer drum 5a which is rotatably driven. A dielectric sheet such as a polycarbonate film is used as the recording paper carrying sheet 5f. As the transfer drum 5a is rotated, the toner image on the photosensitive drum 1 is transferred onto the recording paper carried on the recording paper carrying sheet 5f by the transfer charger 5b.

【0019】このように、記録紙担持シート5fに吸着
搬送される記録紙には所望数の色画像が転写されて、フ
ルカラー画像が形成される。四色のトナー像の転写が終
了すると、分離爪8a,分離押上コロ8bおよび分離帯
電器5hの作用によって、記録紙は転写ドラム5aから
分離され、定着器9を介してトレイ10に排紙される。
In this way, a desired number of color images are transferred to the recording paper that is adsorbed and conveyed by the recording paper carrying sheet 5f, and a full-color image is formed. When the transfer of the four-color toner image is completed, the recording paper is separated from the transfer drum 5a by the action of the separation claw 8a, the separation push-up roller 8b, and the separation charger 5h, and is discharged to the tray 10 via the fixing device 9. It

【0020】他方、感光ドラム1は、転写終了後、その
表面の残留トナーをクリーニング器6で清掃された後、
再度画像形成工程に供される。記録紙の両面に画像を形
成する場合は、ガイド19を駆動して、定着器9から排
出された記録紙を、搬送縦パス20を経て反転パス21
aに導いた後、反転ローラ21bを逆転させることによ
り導入の際と反対向きに導出して、中間トレイ22に収
納する。その後、再び上述した画像形成工程を経て、も
う一方の面に画像を形成する。
On the other hand, the photosensitive drum 1 is cleaned of residual toner on the surface thereof by the cleaning device 6 after the transfer is completed,
The image forming process is performed again. When images are formed on both sides of the recording paper, the guide 19 is driven so that the recording paper discharged from the fixing device 9 passes through the conveyance vertical path 20 and the reverse path 21.
After being guided to a, the reversing roller 21b is reversed so that the reversing roller 21b is led out in the direction opposite to that of the introduction and is stored in the intermediate tray 22. After that, an image is formed on the other surface through the above-described image forming process.

【0021】また、記録紙担持シート5f上へトナーな
どの粉体が付着するのを防ぎ、記録紙にオイルなどが付
着するのを防ぐために、ファーブラシ14と記録紙担持
シート5fを介して該ブラシ14に対向するバックアッ
プブラシ15や、オイル除去ローラ16と記録紙担持シ
ート5fを介して該ローラ16に対向するバックアップ
ブラシ17によって清掃を行う。このような清掃は、画
像形成前後に行い、また、ジャム(紙づまり)発生時に
は随時行う。
Further, in order to prevent powder such as toner from adhering to the recording paper carrying sheet 5f and prevent oil from adhering to the recording paper, the fur brush 14 and the recording paper carrying sheet 5f are used to remove the powder. Cleaning is performed by the backup brush 15 facing the brush 14, and the backup brush 17 facing the roller 16 via the oil removing roller 16 and the recording paper carrying sheet 5f. Such cleaning is performed before and after image formation, and at any time when a jam (paper jam) occurs.

【0022】また、本実施例においては、所望のタイミ
ングで偏心カム25を動作させて、転写ドラム5aと一
体化しているカムフォロワ5iを作動させることによ
り、記録紙担持シート5fと感光ドラム1とのギャップ
を任意に設定可能な構成としている。例えば、スタンバ
イ中または電源オフ時には、転写ドラム5aと感光ドラ
ム1とを離間させる。
Further, in this embodiment, the eccentric cam 25 is operated at a desired timing to operate the cam follower 5i integrated with the transfer drum 5a, whereby the recording paper carrying sheet 5f and the photosensitive drum 1 are separated from each other. The gap can be set arbitrarily. For example, during standby or when the power is off, the transfer drum 5a and the photosensitive drum 1 are separated from each other.

【0023】[画像処理ブロック]図2は画像処理部3
6,コントローラ部37およびその周辺の構成例を示す
ブロック図である。同図において、イメージセンサ34
は、101〜103のそれぞれR,G,B画像を読取るため
の三つのラインCCDで構成され、原稿から反射された1ラ
インの光情報を色分解して、400dpiの解像度でRGB画像
信号を出力する。本実施例は、1ラインとして最大297mm
(A4縦)の読取りを行うため、ラインCCD101〜103
からはそれぞれ4,677画素/ラインの画像信号が出力され
る。
[Image Processing Block] FIG. 2 shows the image processing unit 3
6 is a block diagram showing a configuration example of a controller unit 37 and its periphery. FIG. In the figure, the image sensor 34
Is composed of three line CCDs for reading R, G, and B images of 101 to 103, respectively, and color-separates one line of light information reflected from the original to output an RGB image signal at a resolution of 400 dpi. To do. In this embodiment, one line has a maximum of 297 mm.
To read (A4 portrait) lines CCD101-103
Output image signals of 4,677 pixels / line respectively.

【0024】104は主走査アドレスカウンタで、ライ
ン毎のレーザ記録同期信号である信号BDによってクリア
され、画素クロック発生器105から入力された信号VC
LKをカウントして、イメージセンサ34から読出される
1ラインの各画素に対応するカウント出力H-ADRを発生す
る。この信号H-ADRは、0から5,000までアップカウント
するので、イメージセンサ34から1ライン分の画像信
号を充分に読出すことができる。
A main scanning address counter 104 is a signal VC which is cleared by a signal BD which is a laser recording synchronization signal for each line and which is input from a pixel clock generator 105.
The LK is counted and read from the image sensor 34.
The count output H-ADR corresponding to each pixel on one line is generated. Since this signal H-ADR counts up from 0 to 5,000, the image signal for one line can be sufficiently read from the image sensor 34.

【0025】106はCCD駆動信号生成部で、信号H-ADR
をデコードして、CCDのシフトパルス,リセットパルス
や転送クロックである信号CCD-DRIVEを発生する。これ
により、イメージセンサ34から信号VCLKに同期して、
同一画素に対するR,G,Bの色分解画像信号が順次出力さ
れる。107はアナログ/ディジタル変換器A/Dで、RGB
画像信号を例えば8ビットのディジタル信号に変換す
る。
Reference numeral 106 denotes a CCD drive signal generator, which is a signal H-ADR.
To generate a CCD shift pulse, a reset pulse, and a signal CCD-DRIVE that is a transfer clock. As a result, in synchronization with the signal VCLK from the image sensor 34,
R, G, B color separation image signals for the same pixel are sequentially output. 107 is an analog / digital converter A / D, which is RGB
The image signal is converted into, for example, an 8-bit digital signal.

【0026】121は色空間圧縮部で、CPU部116の
制御に応じて、入力されたRGB画像信号に次式のマトリ
クス演算を施す。 ただし、X: R,G,Bの最小値 図3は色空間圧縮部121のR信号演算部の詳細な構成
例を示すブロック図である。
Reference numeral 121 denotes a color space compression unit which, under the control of the CPU unit 116, applies a matrix operation of the following formula to the input RGB image signal. However, the minimum values of X: R, G, B FIG. 3 is a block diagram showing a detailed configuration example of the R signal calculation unit of the color space compression unit 121.

【0027】同図において、301は最小値抽出回路MI
Nで、入力されたRGB信号からその最小値の信号を抽出し
て、最小値信号Xを出力する。302,303,304は
それぞれ減算器で、入力RGB信号と最小値信号Xの差、R-
X,G-X,B-Xをそれぞれ出力する。305〜312はそれ
ぞれ乗算器であり、乗算器305はマトリクス変換係数
a11×(R-X)を、乗算器306はa12×(G-X)を、乗算器3
07はa13×(B-X)、乗算器308はa14×(R-X)(G-X)、
乗算器309はa15×(G-X)(B-X)、乗算器310はa16×
(B-X)(R-X)、乗算器311はa17×RGBをそれぞれ演算す
る。また、乗算器312は、インバータ314で反転さ
れた信号を入力して、されるのでa18×(255-R)(255-G)
(255-B)を演算する。
In the figure, 301 is a minimum value extraction circuit MI.
At N, the signal of the minimum value is extracted from the input RGB signal, and the minimum value signal X is output. 302, 303, 304 are subtractors, respectively, which are the difference between the input RGB signal and the minimum value signal X, R-
Output X, GX, BX respectively. 305 to 312 are multipliers, and the multiplier 305 is a matrix conversion coefficient.
a11 × (RX), the multiplier 306 calculates a12 × (GX), and the multiplier 3
07 is a13 × (BX), multiplier 308 is a14 × (RX) (GX),
The multiplier 309 is a15 × (GX) (BX), and the multiplier 310 is a16 × (GX) (BX).
(BX) (RX) and the multiplier 311 respectively calculate a17 × RGB. Further, the multiplier 312 inputs the signal inverted by the inverter 314, and is thus a18 × (255-R) (255-G)
Calculate (255-B).

【0028】315と316はそれぞれ加算器で、加算
器316は、加算器315の演算結果Σ(乗算結果の総
和)とR信号とを加算したR'信号を出力する。詳細は示
さないが、同様の構成によってG',B'信号も生成する。
再び図2において、108は対数変換器LOGで、8ビット
のRGB画像信号を対数変換して、シアンC,マゼンタM,
イエローY各8ビットの濃度信号を出力する。
Reference numerals 315 and 316 denote adders, and the adder 316 outputs an R ′ signal obtained by adding the calculation result Σ of the adder 315 (sum of multiplication results) and the R signal. Although not shown in detail, G ′ and B ′ signals are also generated by the same configuration.
Referring again to FIG. 2, reference numeral 108 denotes a logarithmic converter LOG, which performs a logarithmic conversion of the 8-bit RGB image signal to produce cyan C, magenta M,
Yellow Y Outputs 8-bit density signals.

【0029】109はUCR/マスキング処理部で、既知の
UCR処理によりCMY三色の濃度信号から黒Kの濃度信号を
抽出するとともに、各濃度信号に対応した現像剤の色濁
りを除去する既知のマスキング演算を施す。このように
して生成されてM',C',Y',K'の各濃度信号の内から、セ
レクタ110によって形成する色画像に対応する濃度信
号を選択する。信号CSは、この色選択のためにCPU部1
16から出力された2ビットの信号であり、信号CSが‘0
0’の場合はM'信号が、信号CSが‘01’の場合はC'信号
が、信号CSが‘10’の場合はY'信号が、信号CSが‘11’
の場合はK'信号が、それぞれ選択されて画像データREAD
-DTとして出力される。
Reference numeral 109 denotes a UCR / masking processing unit, which is known
A black K density signal is extracted from the CMY three-color density signals by UCR processing, and a known masking operation for removing color turbidity of the developer corresponding to each density signal is performed. The density signal corresponding to the color image formed by the selector 110 is selected from the density signals of M ′, C ′, Y ′, and K ′ thus generated. Signal CS is the CPU part 1 for this color selection.
It is a 2-bit signal output from 16 and the signal CS is' 0.
When it is 0 ', the M'signal, when the signal CS is'01', the C'signal, when signal CS is' 10 ', the Y'signal, and signal CS is'11'
, The K'signal is selected and the image data READ
-It is output as DT.

【0030】123はサンプリング部で、入力されたRG
B画像信号および同信号から生成された濃度信号NDを、
例えば四画素毎にサンプリングして、R,G,B,NDの順のシ
リアル信号SMP-DTを出力する。なお、濃度信号NDは例え
ば(R+G+B)/3によって演算される。112はセレクタ
で、CPU部116の制御に応じて、信号READ-DTまたは信
号SMP-DTを選択し出力する。
Reference numeral 123 is a sampling unit, which receives the input RG.
B image signal and the density signal ND generated from the signal,
For example, it samples every four pixels and outputs a serial signal SMP-DT in the order of R, G, B, ND. The density signal ND is calculated by (R + G + B) / 3, for example. A selector 112 selects and outputs the signal READ-DT or the signal SMP-DT under the control of the CPU unit 116.

【0031】122は変倍部で、少なくとも画像信号1
ライン分のメモリを備え、CPU部116の制御に応じ
て、セレクタ112から入力された画像の主走査方向の
拡大縮小を行う。また、サンプリング時には、CPU部1
16によって、メモリにサンプリングデータSMP-DTを蓄
積し、ヒストグラムの作成に用いられる。なお、変倍部
122のメモリの記憶容量に応じて、サンプリングデー
タSMP-DTのサンプリングレートを設定することができる
ので、該メモリの記憶容量は比較的小さくてもよい。
Reference numeral 122 is a variable power unit, and at least the image signal 1
The memory for lines is provided, and the image input from the selector 112 is enlarged or reduced in the main scanning direction under the control of the CPU unit 116. Also, at the time of sampling, CPU unit 1
16, the sampling data SMP-DT is stored in the memory and used for creating a histogram. Since the sampling rate of the sampling data SMP-DT can be set according to the storage capacity of the memory of the scaling unit 122, the storage capacity of the memory may be relatively small.

【0032】113はレーザドライバで、変倍部122
から入力された信号VIDEOに応じてレーザ素子113a
の発光量を制御する。レーザ素子113aで発光された
レーザ光は、ポリゴンミラー3aで感光ドラム1の軸方
向に走査され、感光ドラム1に静電潜像を形成する。1
14はフォトディテクタで、感光ドラム1に近接して設
けられ、感光ドラム1を走査する直前のレーザ光の通過
を検出して、ライン同期信号BDを発生する。
Reference numeral 113 denotes a laser driver, which is a variable power unit 122.
Laser element 113a according to the signal VIDEO input from
Control the amount of light emitted. The laser light emitted from the laser element 113a is scanned in the axial direction of the photosensitive drum 1 by the polygon mirror 3a to form an electrostatic latent image on the photosensitive drum 1. 1
A photodetector 14 is provided in the vicinity of the photosensitive drum 1, detects the passage of the laser beam immediately before scanning the photosensitive drum 1, and generates a line synchronization signal BD.

【0033】303,304はフォントセンサで、転写
ドラム5aが所定位置まで回転したことを検出して、そ
れぞれページ同期信号ITOPA,ITOPBを発生する。ANDゲー
ト305は信号ITOPBとCPU部116の信号ITOP-GTとを
論理積し、ORゲート306は信号ITOPAとANDゲート30
5の出力とを論理和する。ORゲート306の出力ITOP
は、副走査アドレスカウンタ118およびCPU部116
へ入力される。
Reference numerals 303 and 304 denote font sensors, which detect that the transfer drum 5a has rotated to a predetermined position and generate page synchronization signals ITOPA and ITOPB, respectively. The AND gate 305 logically ANDs the signal ITOPB and the signal ITOP-GT of the CPU section 116, and the OR gate 306 the signal ITOPA and the AND gate 30.
OR the output of 5. Output ITOP of OR gate 306
Is the sub-scanning address counter 118 and the CPU unit 116.
Is input to.

【0034】118は副走査アドレスカウンタで、信号
ITOPにより初期化され、信号BDをカウントして副走査ア
ドレスカウント値を生成する。CPU部116は、例え
ば、ワンチップマイクロコンピュータなどからなり、内
蔵するROMに格納されたプログラムによって本実施例の
制御を行う。例えば、操作部51から指示されたコピー
枚数や動作モードに応じて、読取モータコントローラ1
17を介して画像読取りを制御し、I/Oポート120を
介して画像記録を制御する。つまり、読取モータコント
ローラ117は、読取モータ35の前進/後進および速
度制御を行い、I/Oポート120は、複写動作の制御に
必要な上記以外のセンサからの信号や、アクチュエータ
への信号を中継する。I/Oポート120を中継する信号
には、記録紙カセット7から記録紙を給紙させる信号PF
も含まれる。また、その他に、記録紙カセット7に取付
けられた不図示の記録紙サイズセンサが検知した記録紙
サイズ信号なども含まれる。
A sub-scanning address counter 118 is a signal
Initialized by ITOP, the signal BD is counted to generate a sub-scanning address count value. The CPU unit 116 is composed of, for example, a one-chip microcomputer, and controls the present embodiment by a program stored in a built-in ROM. For example, according to the number of copies and the operation mode instructed from the operation unit 51, the reading motor controller 1
Image reading is controlled via 17 and image recording is controlled via the I / O port 120. That is, the reading motor controller 117 controls forward / backward movement and speed of the reading motor 35, and the I / O port 120 relays signals from sensors other than the above necessary for controlling copying operation and signals to actuators. To do. The signal relaying the I / O port 120 is a signal PF for feeding the recording paper from the recording paper cassette 7.
Is also included. In addition, a recording paper size signal detected by a recording paper size sensor (not shown) attached to the recording paper cassette 7 is also included.

【0035】[シーケンス]次に、色空間圧縮シーケン
スを説明する。図4は色空間圧縮手順の一例を示すフロ
ーチャートで、原稿30が原稿台ガラス31上に載置さ
れ、操作部51のコピースタートキーが押されると、CP
U部116によって実行されるものである。なお、CPU部
116は、内蔵するRAMや変倍部122のメモリをワー
クメモリとして、以下の演算を実行する。
[Sequence] Next, the color space compression sequence will be described. FIG. 4 is a flow chart showing an example of the color space compression procedure. When the original 30 is placed on the original table glass 31 and the copy start key of the operation unit 51 is pressed, CP
It is executed by the U unit 116. The CPU unit 116 uses the built-in RAM and the memory of the scaling unit 122 as a work memory to execute the following calculations.

【0036】まず、ステップS402で初期設定を行
う。このときセレクタ112には信号SMP-DTを選択さ
せ、変倍部122のメモリを初期化する。次に、ステッ
プS403で光学系により原稿画像を読取る第一の走査
であるプリスキャン動作を行う。このときプリンタ部は
動作させない。続いて、ステップS404で、読取られ
たRGB画像信号はサンプリング部123でR,G,B,NDの順
に変換されて、変倍部122のメモリに順次書込まれ、
その信号レベルのヒストグラムが生成される。このヒス
トグラムに基づいて、ステップS405で、下地レベ
ル,色分布およびダークレベルの検出を行う。
First, initial setting is performed in step S402. At this time, the selector 112 is caused to select the signal SMP-DT, and the memory of the scaling unit 122 is initialized. Next, in step S403, a prescan operation, which is a first scan for reading an original image by the optical system, is performed. At this time, the printer unit is not operated. Subsequently, in step S404, the read RGB image signal is converted in the order of R, G, B, and ND by the sampling unit 123 and sequentially written in the memory of the scaling unit 122,
A histogram of that signal level is generated. Based on this histogram, the background level, color distribution, and dark level are detected in step S405.

【0037】図5は下地レベル検出の一例を説明する図
である。R,G,Bのうちの二つの信号(例えばR信号とG信
号)を一組として、その二つの値に応じたメモリアドレ
スのデータをインクリメントする。このようにして得ら
れたヒストグラムは、図5に一例を示すように二次元の
等高線として表され、最も出現頻度の高い部分が画像の
下地レベルであり、同図において下地レベルは(Rw,Gw)
である。同様にしてBwを例えばR信号とB信号の組合せで
求めれば、下地レベル(RGB)wを得ることができる。
FIG. 5 is a diagram for explaining an example of background level detection. Two signals (for example, R signal and G signal) of R, G, and B are set as a set, and the data of the memory address corresponding to the two values is incremented. The histogram thus obtained is represented as two-dimensional contour lines as shown in an example in FIG. 5. The most frequently appearing portion is the background level of the image. In the figure, the background level is (Rw, Gw )
Is. Similarly, if Bw is obtained from, for example, a combination of the R signal and the B signal, the background level (RGB) w can be obtained.

【0038】次に、図6,図7は色分布検出の一例を説
明する図である。同図において、401は例えばCRTの
色再現範囲を、402はプリンタ部の色再現範囲をそれ
ぞれ表す。いま入力画像中のある画素の信号値がRs,Gs,
Bsであったとし、これをLuv空間で表すと403で示す
点Sになる。ここで、同図に400で示す領域を拡大し
た、図7に示すようなマゼンタ方向のベクトルを考え
る。なお、MHはプリント出力のLuv空間上の座標、MCはC
RTのLuv空間上の座標である。MHから点S(入力色)への
ベクトルMHSの、MHからMCへのベクトルMHMC方向の余弦r
Mを求めると、rMが大きいほど、点S(入力色)のマゼン
タ方向の彩度が高いことがわかる。rMは次の内積演算で
求めることができる。
Next, FIGS. 6 and 7 are views for explaining an example of color distribution detection. In the figure, reference numeral 401 represents a color reproduction range of a CRT, and 402 represents a color reproduction range of a printer unit. If the signal value of a pixel in the input image is Rs, Gs,
If it is Bs, and expressed in Luv space, it becomes a point S indicated by 403. Here, consider a magenta direction vector as shown in FIG. 7, which is obtained by enlarging an area indicated by 400 in FIG. Note that M H is the coordinates of the printed output in Luv space, and M C is C
The coordinates of RT in Luv space. Vector M H S from M H to the point S (input color), the vector M H M C direction cosine r from M H to M C
When M is obtained, it can be seen that the larger r M is, the higher the saturation of the point S (input color) in the magenta direction is. r M can be obtained by the following inner product calculation.

【0039】 rM=(MHS,MHMC)/|MHMC| …(2) ただし、(X,Y): ベクトルXとYの内積 |Z|: ベクトルZの絶対値 同様にして、他の原色についてもその方向余弦rR,rG,
rB,rC,rYを求め、この中から最大のものを選べば入力色
がどの方向の色、つまり色相を得ることができる。この
ようにして、入力画像中のすべての画素、あるいは一定
間隔でサンプリングされた画素について、その方向余弦
の最大値を各色毎に求め、この最大値を与えるLuv値を
逆変換することによって、プリンタ部の色再現範囲を逸
脱する色信号のうち、基本原色R,G,B,C,M,Y各々の最も
彩度の高いRGB信号値、つまり(RGB)R,(RGB)G,(RGB)B,(R
GB)C,(RGB)M,(RGB)Yを得ることができる。
R M = (M H S, M H M C ) / | M H M C | ... (2) where (X, Y): dot product of vectors X and Y | Z |: absolute value of vector Z Similarly, for other primary colors, the direction cosines r R , r G ,
If r B , r C , and r Y are found and the maximum one is selected from these, the color in which direction the input color is, that is, the hue can be obtained. In this way, for all pixels in the input image, or for pixels sampled at regular intervals, the maximum value of the direction cosine is obtained for each color, and the Luv value that gives this maximum value is inversely transformed to obtain the maximum value. Among the color signals that deviate from the color reproduction range of each part, the RGB signal values with the highest saturation of each of the basic primary colors R, G, B, C, M, Y, that is, (RGB) R, (RGB) G, (RGB ) B, (R
GB) C, (RGB) M, (RGB) Y can be obtained.

【0040】次に、ダークレベルの検出を説明する。例
えば、 R<Rpd かつ G<Gpd かつ B<Bpd …(3) のようにRGBの値の何れもがある一定値Rpd,Gpd,Bpd以下
であるような信号のうち、最小値の信号をダークレベル
(RGB)Dとして検出する。なお、Rpd,Gpd,Bpdは、本実施
例が再現できる最も暗い灰色のRGB信号値で、予めROMな
どに記憶されている。
Next, the detection of the dark level will be described. For example, among R <Rpd and G <Gpd and B <Bpd ... level
Detect as (RGB) D. Note that Rpd, Gpd, and Bpd are RGB signal values of the darkest gray that can be reproduced by this embodiment, and are stored in advance in the ROM or the like.

【0041】続いて、ステップS406で、式(1)のマ
トリクス変換係数a11〜a38を求める。つまり、検出した
下地レベル,色分布,ダークレベルの合計24個の値を変
換前の値RGBとし、予めROMなどに記憶された本実施例が
再現可能な最大値を変換後の値R'G'B'として、24個の連
立一次方程式を解くことによって、式(1)のマトリクス
変換係数a11〜a38を算出する。つまり、この演算によっ
て、色空間圧縮部121へ入力された画像信号の下地を
除去し、その色分布をプリンタ部の色再現範囲内にマッ
ピングし、そのダーク部の階調性を損なうことなくダイ
ナミックレンジを圧縮できるマトリクス変換係数a11〜a
38を得ることができる。
Then, in step S406, the matrix conversion coefficients a11 to a38 of the equation (1) are obtained. That is, a total of 24 values of the detected background level, color distribution, and dark level are set as the value RGB before conversion, and the maximum value reproducible by the present embodiment stored in the ROM or the like in advance is the converted value R'G. As “B”, the matrix conversion coefficients a11 to a38 of the equation (1) are calculated by solving 24 simultaneous linear equations. That is, by this calculation, the background of the image signal input to the color space compression unit 121 is removed, the color distribution thereof is mapped within the color reproduction range of the printer unit, and dynamics are performed without impairing the gradation of the dark portion. Matrix conversion coefficient a11 to a that can compress range
You can get 38.

【0042】続いて、ステップS407で、算出したマ
トリクス変換係数a11〜a38を色空間圧縮部121に設定
し、セレクタ112に信号READ-DTを選択させる。次
に、ステップS408で信号PFにより出力サイズに応じ
た記録紙を給紙させ、ステップS409で、読取モータ
コントローラ117を制御して、光学系を移動させて原
稿画像を読取る第二以降の走査であるメインスキャン動
作を行う。読取られた画像信号は、ステップS407で
設定したマトリクス変換係数a11〜a38によって、色空間
圧縮部121でマトリクス演算される。
Subsequently, in step S407, the calculated matrix conversion coefficients a11 to a38 are set in the color space compression unit 121, and the selector 112 is caused to select the signal READ-DT. Next, in step S408, the recording paper according to the output size is fed by the signal PF, and in step S409, the reading motor controller 117 is controlled to move the optical system to read the original image in the second and subsequent scans. Perform a certain main scan operation. The read image signal is subjected to matrix calculation in the color space compression unit 121 by the matrix conversion coefficients a11 to a38 set in step S407.

【0043】次に、ステップS410で、セレクタ11
1により選択されたマゼンタ成分信号M'が、感光ドラム
1へ記録され現像されて、記録紙へ転写される。以下同
様に、シアン成分信号C',イエロー成分信号Y',黒成分
信号K'の順に記録・現像・転写されて、フルカラー画像
がプリント出力される。以上説明したように、本実施例
によれば、下地レベルの補正,色空間圧縮,ダークレベ
ルの補正をマトリクス変換により一括して処理すること
ができるので、各補正が他の補正に影響を及ぼすことな
く、良好な処理結果を得ることができる。さらに、この
マトリクス変換による補正を行う処理部は、色空間圧縮
部などの一つの処理ブロックにまとめることができるの
で、ハードウェア規模を大きくすることなく、そのコス
トも低減できる。
Next, in step S410, the selector 11
The magenta component signal M ′ selected by 1 is recorded on the photosensitive drum 1, developed, and transferred to recording paper. Similarly, the cyan component signal C ′, the yellow component signal Y ′, and the black component signal K ′ are recorded, developed, and transferred in this order, and a full-color image is printed out. As described above, according to the present embodiment, the background level correction, the color space compression, and the dark level correction can be collectively processed by the matrix conversion, so that each correction affects other corrections. It is possible to obtain a good processing result. Furthermore, since the processing unit that performs the correction by the matrix conversion can be integrated into one processing block such as the color space compression unit, the cost can be reduced without increasing the hardware scale.

【0044】[0044]

【第2実施例】以下、本発明にかかる第2実施例の画像
処理装置を説明する。なお、第2実施例において、第1
実施例と略同様の構成については、同一符号を付して、
その詳細説明を省略する。前述した実施例の色空間圧縮
部121は、図3に示したように、(1)式のマトリクス
演算のすべてのマトリクス変換係数と画像信号との乗算
を行う。しかし、図3の減算器302,303,304の
何れか一つの出力は必ず零になるので、乗算器305,
306,307の何れか一つの出力も必ず零になり、乗
算器308,309,310の何れか二つの出力も必ず零
になる。従って、乗算回路を簡略化することが可能であ
る。
[Second Embodiment] An image processing apparatus according to a second embodiment of the present invention will be described below. In the second embodiment, the first
About the same configuration as the embodiment, the same reference numerals are given,
Detailed description thereof will be omitted. As shown in FIG. 3, the color space compression unit 121 of the above-described embodiment multiplies all the matrix conversion coefficients of the matrix calculation of Expression (1) by the image signal. However, since the output of any one of the subtractors 302, 303, 304 in FIG.
The output of any one of 306 and 307 is always zero, and the output of any two of the multipliers 308, 309 and 310 is always zero. Therefore, the multiplication circuit can be simplified.

【0045】図8は第2実施例の色空間圧縮部121の
R信号演算部の詳細な構成例を示すブロック図である。
同図において、601はコンパレータで、入力された信
号RGBの値の最大値MAX,中間値MED,最小値MINを出力す
る。602と603はそれぞれ減算器で、それぞれMAX-
MIN,MED-MINを演算する。
FIG. 8 shows the color space compression unit 121 of the second embodiment.
3 is a block diagram illustrating a detailed configuration example of an R signal calculation unit. FIG.
In the figure, a comparator 601 outputs a maximum value MAX, an intermediate value MED, and a minimum value MIN of the values of the input signals RGB. 602 and 603 are subtractors, respectively, MAX-
Calculates MIN and MED-MIN.

【0046】604〜606はそれぞれ乗算器で、乗算
器604はa1a×(MAX-MIN)を、乗算器605はa1b×(ME
D-MIN)を、乗算器606はa1c×(MAX-MIN)(MED-MIN)を
それぞれ演算する。ここで、係数a1aとa1bは、マトリク
ス変換係数a11,a12,a13のうち、それぞれ最大値MAXと中
間値MEDの項に対応するものである。また係数a1cは、マ
トリクス変換係数a14,a15,a16のうち、最大値MAXと中間
値MEDの乗算項に対応するものである。
Reference numerals 604 to 606 denote multipliers, respectively. The multiplier 604 is a1a × (MAX-MIN), and the multiplier 605 is a1b × (ME.
The multiplier 606 calculates a1c × (MAX-MIN) (MED-MIN). Here, the coefficients a1a and a1b correspond to the terms of the maximum value MAX and the intermediate value MED of the matrix conversion coefficients a11, a12, and a13, respectively. The coefficient a1c corresponds to the multiplication term of the maximum value MAX and the intermediate value MED among the matrix conversion coefficients a14, a15, and a16.

【0047】加算器315は、乗算器604〜606の
乗算結果と、乗算器311と312の乗算結果との総和
を演算し、加算器316は、加算器315の演算結果Σ
(乗算結果の総和)とR信号とを加算したR'信号を出力
する。このように、図8と図3を比べるとわかるよう
に、本実施例では、加算器を三個,乗算器を九個を減ら
して、色空間圧縮部121の回路を簡略化することがで
きる。
The adder 315 calculates the sum of the multiplication results of the multipliers 604 to 606 and the multiplication results of the multipliers 311 and 312, and the adder 316 calculates the calculation result Σ of the adder 315.
An R ′ signal obtained by adding the (sum of multiplication results) and the R signal is output. Thus, as can be seen by comparing FIG. 8 and FIG. 3, in the present embodiment, the number of adders and the number of multipliers can be reduced to three and the circuit of the color space compression unit 121 can be simplified. .

【0048】以上説明したように、本実施例によれば、
第1実施例と同様の効果があるほか補正を行う処理部を
簡略化してコストをさらに低減することができる。
As described above, according to this embodiment,
In addition to the effect similar to that of the first embodiment, the processing unit for performing the correction can be simplified to further reduce the cost.

【0049】[0049]

【変形例】コンピュータなどの外部装置から入力される
画像信号は、その装置内で色空間圧縮などが施されてい
る場合もある。図9は外部装置から入力される画像信号
には色空間圧縮などを施さない構成例を示すブロック図
で、上述した実施例の色空間圧縮部121と対数変換部
108の間に、CPU部116により設定される領域信号A
REAによって制御されるセレクタ140を備え、外部装
置からの画像信号と色空間圧縮部121からの画像信号
とを切替えるものである。
[Modification] An image signal input from an external device such as a computer may be subjected to color space compression or the like in the device. FIG. 9 is a block diagram showing a configuration example in which an image signal input from an external device is not subjected to color space compression, and the CPU unit 116 is provided between the color space compression unit 121 and the logarithmic conversion unit 108 of the above-described embodiment. Area signal A set by
The selector 140 controlled by REA is provided to switch between an image signal from an external device and an image signal from the color space compression unit 121.

【0050】また、外部装置であるIPUからの画像信号
と、原稿画像を読取った画像信号とを、所謂はめ込み合
成する場合、IPUからの画像信号は既に色空間圧縮など
が施されているので、色空間圧縮部121を通す必要は
ないが、原稿画像を読取った画像信号は色空間圧縮部1
21を通す。なお、はめ込み合成を行う場合、その合成
領域指定は、ディジタイザ,ホストコンピュータなどか
ら直接あるいはIPUを介したアドレス指定などによっ
て、あるいはマーカ指定などによって行われる。これら
の合成領域指定情報は画像データのヘッダとして、不図
示のインタフェイスを介してCPU部116へ入力され、C
PU部116はヘッダを解析した結果に応じて信号AREAを
発生する。
When the image signal from the IPU which is an external device and the image signal obtained by reading the original image are so-called inset-combined, the image signal from the IPU is already subjected to color space compression. Although it is not necessary to pass through the color space compression unit 121, the image signal obtained by reading the original image is not included in the color space compression unit 1.
Pass 21. In the case of the inset composition, the composition area is specified directly from a digitizer, a host computer or the like, by address specification via the IPU, or by marker specification. These pieces of synthesis area designation information are input to the CPU unit 116 as an image data header via an interface (not shown), and C
The PU unit 116 generates a signal AREA according to the result of analyzing the header.

【0051】このようにすれば、外部装置から入力され
た画像に繰返し色空間圧縮を行わずにすみ、画像の劣化
を防ぐことができ適切なプリント出力を得ることがで
き、さらに、外部装置から入力された画像と読取った画
像とを合成する場合も、適切な合成プリント出力を得る
ことができる。また、上述した実施例においては、プリ
スキャンで得た画像信号によりマトリクス変換係数を算
出して色空間圧縮部121へ設定し、次のスキャンで得
た画像信号をマトリクス変換する例を説明したが、例え
ば、画像信号を一旦画像メモリへ記憶して、記憶した画
像信号を色空間圧縮部121およびサンプリング部12
3へ入力する構成にすれば、スキャンを一度で済ませる
ことができる。
By doing so, it is possible to prevent the image input from the external device from being repeatedly subjected to color space compression, prevent the image from deteriorating, and obtain an appropriate print output. Even when the input image and the read image are combined, an appropriate combined print output can be obtained. Further, in the above-described embodiment, an example has been described in which the matrix conversion coefficient is calculated from the image signal obtained by the prescan and set in the color space compression unit 121, and the image signal obtained by the next scan is matrix-converted. For example, the image signal is temporarily stored in the image memory, and the stored image signal is stored in the color space compression unit 121 and the sampling unit 12.
With the configuration of inputting to 3, the scan can be completed once.

【0052】なお、本発明は、複数の機器から構成され
るシステムに適用しても、一つの機器からなる装置に適
用してもよい。また、本発明は、システムあるいは装置
にプログラムを供給することによって達成される場合に
も適用できることはいうまでもない。また、本発明は、
熱エネルギによる膜沸騰を起こしてインクを吐出するタ
イプのヘッドおよびこれを用いる記録方法を適用した画
像処理装置に用いてもよい。
The present invention may be applied to either a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus. Further, the present invention is
It may be used for a head of a type that ejects ink by causing film boiling due to thermal energy and an image processing apparatus to which a recording method using the same is applied.

【0053】[0053]

【発明の効果】以上説明したように、本願の第一の発明
によれば、ハードウェア構成の縮小とともにコストの低
減を図った色空間圧縮を行い、良好な画像を得ることが
できる画像処理装置およびその方法を提供することがで
きる。また、本願の第二の発明によれば、色空間圧縮が
不要な画像信号には色空間圧縮を行わないことによっ
て、余計な画質の劣化を防ぎ良好な画像を得ることがで
きる画像処理装置およびその方法を提供することができ
る。
As described above, according to the first invention of the present application, the image processing apparatus capable of obtaining a good image by performing the color space compression with the hardware configuration reduced and the cost reduced. And a method therefor can be provided. Further, according to the second invention of the present application, an image processing apparatus capable of preventing an unnecessary deterioration of image quality and obtaining a good image by not performing color space compression on an image signal which does not require color space compression, The method can be provided.

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

【図1】本発明にかかる一実施例の画像処理装置の概観
図である。
FIG. 1 is a schematic view of an image processing apparatus according to an embodiment of the present invention.

【図2】本実施例の画像処理部,コントローラ部および
その周辺の構成例を示すブロック図である。
FIG. 2 is a block diagram showing a configuration example of an image processing unit, a controller unit, and the periphery thereof according to the present embodiment.

【図3】本実施例の色空間圧縮部のR信号演算部の詳細
な構成例を示すブロック図である。
FIG. 3 is a block diagram showing a detailed configuration example of an R signal calculation unit of the color space compression unit of the present embodiment.

【図4】本実施例の色空間圧縮手順の一例を示すフロー
チャートである。
FIG. 4 is a flowchart showing an example of a color space compression procedure of the present embodiment.

【図5】本実施例の下地レベル検出の一例を説明する図
である。
FIG. 5 is a diagram illustrating an example of background level detection according to the present embodiment.

【図6】本実施例の色分布検出の一例を説明する図であ
る。
FIG. 6 is a diagram illustrating an example of color distribution detection according to the present exemplary embodiment.

【図7】本実施例の色分布検出の一例を説明する図であ
る。
FIG. 7 is a diagram illustrating an example of color distribution detection according to the present exemplary embodiment.

【図8】本発明にかかる第2実施例の色空間圧縮部のR
信号演算部の詳細な構成例を示すブロック図である。
FIG. 8 is an R of the color space compression unit of the second embodiment according to the present invention.
It is a block diagram which shows the detailed structural example of a signal calculation part.

【図9】図2または図8に示す構成の変形例の示すブロ
ック図である。
9 is a block diagram showing a modified example of the configuration shown in FIG. 2 or FIG.

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

104 主走査アドレスカウンタ 106 CCD駆動信号生成部 107 アナログ/ディジタル変換器A/D 108 対数変換器LOG 109 UCR/マスキング処理部 110 セレクタ 112 セレクタ 113 レーザドライバ 114 フォトディテクタ 116 CPU部 118 副走査アドレスカウンタ 121 色空間圧縮部 122 変倍部 123 サンプリング部 104 main scanning address counter 106 CCD drive signal generating unit 107 analog / digital converter A / D 108 logarithmic converter LOG 109 UCR / masking processing unit 110 selector 112 selector 113 laser driver 114 photodetector 116 CPU unit 118 subscanning address counter 121 colors Spatial compression section 122 Variable magnification section 123 Sampling section

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 5/00 H04N 1/46 G06F 15/64 400 C 15/66 310 15/68 310 A H04N 1/46 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06T 5/00 H04N 1/46 G06F 15/64 400 C 15/66 310 15/68 310 A H04N 1 / 46 Z

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 原稿画像を走査して画像信号を入力する
入力手段と、 前記入力手段による第一の走査で得られた画像信号に基
づき前記原稿画像の色分布および下地レベルを判別する
判別手段と、 前記入力手段による第二の走査で得られる画像信号に対
して前記判別手段による判別結果に基づいて色空間圧縮
および下地レベルの調整を行う色変換手段とを有するこ
とを特徴とする画像処理装置。
1. Input means for scanning an original image to input an image signal, and discriminating means for discriminating a color distribution and a background level of the original image based on the image signal obtained by the first scanning by the input means. And an image processing unit that performs color space compression and background level adjustment on the image signal obtained by the second scanning by the input unit based on the determination result by the determination unit. apparatus.
【請求項2】 原稿画像を走査して画像信号を入力する
入力手段と、 前記入力手段による第一の走査で得られた画像信号に基
づいて複数の係数を算出する算出手段と、 前記算出手段によって算出された複数の係数に基づいた
マトリクス変換により前記入力手段による第二の走査で
得られる画像信号を色空間圧縮する色空間圧縮手段とを
有することを特徴とする画像処理装置。
2. An input unit for scanning an original image to input an image signal, a calculating unit for calculating a plurality of coefficients based on the image signal obtained by the first scanning by the input unit, and the calculating unit. An image processing apparatus comprising: a color space compression unit that performs color space compression of an image signal obtained by the second scanning by the input unit by matrix conversion based on a plurality of coefficients calculated by the above.
【請求項3】 さらに、前記色空間圧縮手段から出力さ
れた画像信号に基づいて画像を形成する形成手段を有す
ることを特徴とする請求項2に記載の画像処理装置。
3. The image processing apparatus according to claim 2, further comprising a forming unit that forms an image based on an image signal output from the color space compressing unit.
【請求項4】 さらに、前記入力手段による第一の走査
で得られた画像信号をサンプリングして記憶する記憶手
段を有することを特徴とする請求項1または請求項2に
記載の画像処理装置。
4. The image processing apparatus according to claim 1, further comprising a storage unit that samples and stores the image signal obtained by the first scanning by the input unit.
【請求項5】 前記圧縮手段は色空間圧縮に加えて下地
レベルの調整およびダークレベルの調整を行うことを特
徴とする請求項2に記載の画像処理装置。
5. The image processing apparatus according to claim 2, wherein the compression unit adjusts a background level and a dark level in addition to the color space compression.
【請求項6】 原稿画像を走査して第一の画像信号を入
力する第一の入力手段と、 外部装置から第二の画像信号を入力する第二の入力手段
と、 前記第一の画像信号に対して色空間圧縮を行う色空間圧
縮手段と、 前記色空間圧縮手段から出力された画像信号を出力信号
に変換する変換手段とを備えた画像処理装置であって、 前記第二の画像信号は前記色空間圧縮手段を介さずに前
記変換手段へ入力されることを特徴とする画像処理装
置。
6. A first input unit for scanning a document image to input a first image signal, a second input unit for inputting a second image signal from an external device, and the first image signal. An image processing apparatus comprising: a color space compression unit that performs color space compression on the image processing apparatus; and a conversion unit that converts the image signal output from the color space compression unit into an output signal, wherein the second image signal Is input to the conversion means without passing through the color space compression means.
【請求項7】 原稿画像を走査して画像信号を入力する
入力手段の第一の走査で得られた画像信号に基づき前記
原稿画像の色分布および下地レベルを判別する判別ステ
ップと、 前記入力手段による第二の走査で得られる画像信号に対
して前記判別ステップの判別結果に基づいて色空間圧縮
および下地レベルの調整を行う色変換ステップとを有す
ることを特徴とする画像処理方法。
7. A determination step of determining a color distribution and a background level of the original image based on the image signal obtained by the first scanning of the input means for scanning the original image and inputting the image signal, and the input means. And a color conversion step of performing color space compression and adjustment of the background level on the basis of the discrimination result of the discrimination step with respect to the image signal obtained by the second scanning.
【請求項8】 原稿画像を走査して画像信号を入力する
入力手段の第一の走査で得られた画像信号に基づいて複
数の係数を算出する算出ステップと、 前記算出ステップで算出された複数の係数に基づいたマ
トリクス変換により前記入力手段による第二の走査で得
られる画像信号を色空間圧縮する色空間圧縮ステップと
を有することを特徴とする画像処理方法。
8. A calculating step of calculating a plurality of coefficients based on an image signal obtained by a first scanning of an input means for scanning an original image and inputting an image signal, and a plurality of calculating steps calculated in the calculating step. And a color space compression step of performing color space compression on the image signal obtained by the second scanning by the input means by matrix conversion based on the coefficient of.
【請求項9】 原稿画像を走査する画像信号を入力する
第一の入力手段によって入力された画像信号に対して色
空間圧縮を行う色空間圧縮ステップと、 前記色空間圧縮ステップから出力された画像信号を出力
信号に変換する変換ステップとを備えた画像処理方法で
あって、 外部装置から画像信号を入力する第二の入力手段によっ
て入力された画像信号は前記色空間圧縮ステップを介さ
ずに前記変換ステップへ入力されることを特徴とする画
像処理方法。
9. A color space compression step of performing color space compression on an image signal input by first input means for inputting an image signal for scanning an original image, and an image output from the color space compression step. An image processing method comprising: a conversion step of converting a signal into an output signal, wherein the image signal input by the second input means for inputting the image signal from an external device is the above-mentioned without the color space compression step. An image processing method, characterized in that the image is input to a conversion step.
JP6063409A 1994-03-31 1994-03-31 Picture processor and its method Withdrawn JPH07274026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6063409A JPH07274026A (en) 1994-03-31 1994-03-31 Picture processor and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6063409A JPH07274026A (en) 1994-03-31 1994-03-31 Picture processor and its method

Publications (1)

Publication Number Publication Date
JPH07274026A true JPH07274026A (en) 1995-10-20

Family

ID=13228479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6063409A Withdrawn JPH07274026A (en) 1994-03-31 1994-03-31 Picture processor and its method

Country Status (1)

Country Link
JP (1) JPH07274026A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0709808A3 (en) * 1994-10-25 1996-10-30 Fujitsu Ltd Color picture processing method and apparatus
US6707939B1 (en) 1998-04-21 2004-03-16 Heidelberger Druckmaschinen Ag Method for image data compression for two-color images

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0709808A3 (en) * 1994-10-25 1996-10-30 Fujitsu Ltd Color picture processing method and apparatus
US6707939B1 (en) 1998-04-21 2004-03-16 Heidelberger Druckmaschinen Ag Method for image data compression for two-color images

Similar Documents

Publication Publication Date Title
EP1187459B1 (en) Image data correcting device for correcting image data
US6577761B1 (en) Image processor and image processing system
JPH05153383A (en) Color correcting device containing color converting function
US5189523A (en) Image processing apparatus
US6259811B1 (en) Image processing apparatus and method
JP3376081B2 (en) Image processing method and apparatus
JP3477858B2 (en) Image processing apparatus and image data processing method
JP2006227444A (en) Printer, printing method, printing program and recording medium
US5754316A (en) Color correction device for correcting color deviations resulting from color filter characteristics
JP3176212B2 (en) Image processing device
JPH07274026A (en) Picture processor and its method
JP2000278533A (en) Image processor
JP2000032257A (en) Device and method for processing image and storage medium
JP3289530B2 (en) Image processing device
JP3729131B2 (en) Image forming apparatus
JP3306875B2 (en) Image forming device
JP2005341417A (en) Image processing apparatus, storage medium, image scanner, and image forming apparatus
JPH0846804A (en) Image processor
JP3888662B2 (en) Image reading processing method, image reading apparatus, and image forming apparatus
JP2002057886A (en) Image processor and image processing method
JP2000118044A (en) Imaging system and method
JP3360456B2 (en) Image processing device
JP3245883B2 (en) Image forming device
JPH08186728A (en) Image processor
JPH04342370A (en) Image forming device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010605