[go: up one dir, main page]

JP2002010086A - Image processing apparatus and method - Google Patents

Image processing apparatus and method

Info

Publication number
JP2002010086A
JP2002010086A JP2000182901A JP2000182901A JP2002010086A JP 2002010086 A JP2002010086 A JP 2002010086A JP 2000182901 A JP2000182901 A JP 2000182901A JP 2000182901 A JP2000182901 A JP 2000182901A JP 2002010086 A JP2002010086 A JP 2002010086A
Authority
JP
Japan
Prior art keywords
image signal
image
color space
code
unit
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
JP2000182901A
Other languages
Japanese (ja)
Inventor
Akihiro Matsutani
章弘 松谷
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 JP2000182901A priority Critical patent/JP2002010086A/en
Publication of JP2002010086A publication Critical patent/JP2002010086A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem where when a gradation image formed on a computer is converted to an sRGB space or a JFIF format supported by JPEG, a signal value to be smoothly changed is disturbed slightly by operation errors in the case of conversion, a pseudo outline is generated by a monitor, printer, etc., and image quality is deteriorated. SOLUTION: An image signal wherein a color space is converted by a second color space conversion part 206 is synthesized with an image signal having a prescribed spatial frequency and amplitude by a first image synthesizing part 207. The synthesized image signal is compressed by a JPEG compression part 208.

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 method, and more particularly to an image processing apparatus and method for compressing and outputting a color image.

【0002】[0002]

【従来の技術】コンピュータ間で交換される電子データ
は、コンピュータやネットワークのデータ転送速度など
の関係から、比較的データ量が少ない電子メールなどの
テキストデータが主であった。
2. Description of the Related Art Electronic data exchanged between computers is mainly text data such as e-mails having a relatively small amount of data due to the data transfer speed of computers and networks.

【0003】ここ数年、高性能コンピュータの入手が容
易になり、ネットワークのデータ転送速度が高速化する
など、インフラの整備が充実する中でWorld Wide Web(W
WW)の普及に伴い、コンピュータ間で交換される電子デ
ータにカラー画像データも含まれるようになった。
[0003] In recent years, as the availability of high-performance computers has become easier and the data transfer speed of networks has increased, the World Wide Web (W
With the spread of WW), electronic data exchanged between computers also includes color image data.

【0004】ネットワークのデータ転送速度は、年々、
高速化するものの、データ量の大きいカラー画像の転送
には依然、多くの時間を必要とすることから、カラー画
像は圧縮して転送することが一般化し、その技術も標準
化されている。とくに、静止画の圧縮技術では、JPEG(J
oint Photographic Experts Group of ITU-T-ISO/IEC)
が業界標準として多くの描画アプリケーションでサポー
トされている。
[0004] The data transfer rate of the network is increasing year by year.
Although the speed is increased, the transfer of a color image with a large amount of data still requires a lot of time. Therefore, it is common to transfer a color image after compressing it, and the technology is also standardized. In particular, JPEG (J
oint Photographic Experts Group of ITU-T-ISO / IEC)
Is an industry standard supported by many drawing applications.

【0005】また、カラー画像の送信元および送信先の
モニタ上などでカラー画像の色味を一致させるために、
カラー画像データの色空間が規定されるようになった。
その色空間の一つとして、IEC 61966が推奨するsRGB色
空間がモニタの標準色空間として採用され、多くの描画
アプリケーションに利用されている。
Further, in order to match the color of the color image on the monitor of the source and destination of the color image,
The color space of color image data has been defined.
As one of such color spaces, the sRGB color space recommended by IEC 61966 has been adopted as a standard color space for monitors, and is used in many drawing applications.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、コンピ
ュータ上で作成されたグラデーションを有する階調画像
を、sRGB空間や、JPEGでサポートされているJFIFフォー
マットに変換すると、変換時の演算誤差により、滑らか
に変化すべき信号値が僅かに乱され、画像を再生する装
置(モニタやプリンタ)によっては擬似輪郭が生じて、
画質を劣化させる問題がある。
However, when a gradation image having a gradation created on a computer is converted into an sRGB space or a JFIF format supported by JPEG, the image is smoothly converted due to a calculation error at the time of conversion. The signal value to be changed is slightly disturbed, and a pseudo contour is generated depending on a device (a monitor or a printer) for reproducing an image.
There is a problem of deteriorating image quality.

【0007】また、sRGB空間やJFIFフォーマットに変換
後の画像をJPEG圧縮すると、量子化やサブサンプリング
により、さらに階調性の劣化が生じて、画質を劣化させ
ることになる。
[0007] When an image converted to the sRGB space or the JFIF format is JPEG-compressed, gradation and sub-sampling cause further deterioration in gradation, thereby deteriorating image quality.

【0008】本発明は、上述の問題を解決するためのも
のであり、画像を圧縮または伸長する場合に階調性の劣
化を防ぐことを目的とする。
An object of the present invention is to solve the above-mentioned problem, and an object of the present invention is to prevent deterioration in gradation when an image is compressed or expanded.

【0009】[0009]

【課題を解決するための手段】本発明は、前記の目的を
達成する一手段として、以下の構成を備える。
The present invention has the following configuration as one means for achieving the above object.

【0010】本発明にかかる画像処理装置は、カラー画
像を圧縮して出力する画像処理装置であって、画像信号
を入力する第一の入力手段と、入力された画像信号の色
空間を変換する第一の変換手段と、所定の空間周波数と
振幅を有する画像信号を生成して、色空間変換された画
像信号に合成する第一の合成手段と、合成された画像信
号を圧縮処理する圧縮手段とを有することを特徴とす
る。
An image processing apparatus according to the present invention is an image processing apparatus for compressing and outputting a color image, wherein the first input means for inputting an image signal and a color space of the input image signal are converted. First converting means, first synthesizing means for generating an image signal having a predetermined spatial frequency and amplitude, and synthesizing the image signal with the color space converted image signal, and compression means for compressing the synthesized image signal And characterized in that:

【0011】好ましくは、さらに、圧縮処理された画像
信号を入力する第二の入力手段と、入力された画像信号
を伸長する伸長手段と、伸長された画像信号の色空間を
変換する第二の変換手段と、所定の空間周波数と振幅を
有する画像信号を生成して、色空間変換された画像信号
に合成する第二の合成手段とを有することを特徴とす
る。
Preferably, further, second input means for inputting the compressed image signal, expansion means for expanding the input image signal, and second input means for converting the color space of the expanded image signal The image processing apparatus further includes a conversion unit and a second combination unit that generates an image signal having a predetermined spatial frequency and amplitude and combines the generated image signal with the color space converted image signal.

【0012】本発明にかかる画像処理方法は、カラー画
像を圧縮して出力する画像処理方法であって、画像信号
を入力し、入力された画像信号の色空間を変換し、所定
の空間周波数と振幅を有する画像信号を生成し、色空間
変換された画像信号および生成された画像信号を合成
し、合成された画像信号を圧縮することを特徴とする。
An image processing method according to the present invention is an image processing method for compressing and outputting a color image, wherein an image signal is input, the color space of the input image signal is converted, and a predetermined spatial frequency and An image signal having an amplitude is generated, the color space-converted image signal and the generated image signal are combined, and the combined image signal is compressed.

【0013】好ましくは、さらに、圧縮処理された画像
信号を入力し、入力された画像信号を伸長し、伸長され
た画像信号の色空間を変換し、所定の空間周波数と振幅
を有する画像信号を生成し、色空間変換された画像信号
および生成された画像信号を合成することを特徴とす
る。
[0013] Preferably, further, the compressed image signal is input, the input image signal is expanded, the color space of the expanded image signal is converted, and the image signal having a predetermined spatial frequency and amplitude is converted. It is characterized in that the generated and color space converted image signal and the generated image signal are combined.

【0014】[0014]

【発明の実施の形態】以下、本発明にかかる一実施形態
の画像処理装置を図面を参照して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings.

【0015】[構成]図1は本実施形態にかかる画像処
理装置と、それにつながる周辺機器との構成例を示すブ
ロック図である。
[Configuration] FIG. 1 is a block diagram showing a configuration example of an image processing apparatus according to the present embodiment and peripheral devices connected to the image processing apparatus.

【0016】図1において、スキャナ部100は、原稿を走
査(スキャン)して、その原稿画像よりカラー画像信号
を生成する。また、コントローラ部101は、後述する画
像処理を実現する画像処理部201や画像制御部202などで
構成される(図2参照)。このコントローラ部101は、処
理された画像をプリンタ部102やWWWサーバなどが接続さ
れたネットワーク103へ転送したり、逆に、ネットワー
ク103を介して画像を受信する。プリンタ部102は、コン
トローラ部101で処理された画像や、ネットワーク103か
ら取り込まれたカラー画像を印刷出力する画像出力装置
である。
In FIG. 1, a scanner unit 100 scans a document and generates a color image signal from the document image. Further, the controller unit 101 includes an image processing unit 201, an image control unit 202, and the like that realize image processing described later (see FIG. 2). The controller unit 101 transfers the processed image to a network 103 to which a printer unit 102, a WWW server, and the like are connected, and conversely, receives the image via the network 103. The printer unit 102 is an image output device that prints out an image processed by the controller unit 101 and a color image captured from the network 103.

【0017】スキャナ部100は、例えば、600dpiの解像
度をもつCCDリニアセンサで、A/D変換、シェーディング
補正などの処理を行った後、各8ビットのRGBディジタル
画像信号を生成する。
The scanner unit 100 is, for example, a CCD linear sensor having a resolution of 600 dpi, and after performing processing such as A / D conversion and shading correction, generates an 8-bit RGB digital image signal.

【0018】プリンタ部102は、後述する画像処理部201
で生成されたCMYK信号に基づき潜像の露光、潜像のトナ
ー現像、トナー像の転写およびトナー像の定着の工程を
経てカラー画像を記録紙上に形成する電子写真方式のカ
ラープリンタ、あるいは、CMYK信号に基づき対応する色
のインクを吐出して記録紙上にカラー画像を形成するイ
ンクジェット方式のカラープリンタである。勿論、溶融
型や昇華型の熱転写方式のカラープリンタであっても構
わない。
The printer unit 102 includes an image processing unit 201 described later.
An electrophotographic color printer that forms a color image on recording paper through a latent image exposure, latent image toner development, toner image transfer and toner image fixing processes based on the CMYK signal generated in This is an ink jet color printer that forms a color image on recording paper by discharging ink of a corresponding color based on a signal. Of course, a color printer of a thermal transfer type such as a fusion type or a sublimation type may be used.

【0019】図2はコントローラ部101の構成例を示すブ
ロック図である。上述のように、コントローラ部101
は、画像処理部201および画像制御部202などで構成さ
れ、画像処理部201は本実施形態の画像処理を実現す
る。また、画像制御部202は、画像処理部201で処理され
た画像信号を、プリンタ部102あるいはネットワーク103
へ送出する機能、並びに、ネットワーク103を介して送
られてくる画像信号を、画像処理部201に処理させて、
それをプリンタ部102へ送出する機能を有する。
FIG. 2 is a block diagram showing a configuration example of the controller unit 101. As described above, the controller unit 101
Is composed of an image processing unit 201, an image control unit 202, and the like, and the image processing unit 201 implements image processing of the present embodiment. Further, the image control unit 202 transmits the image signal processed by the image processing unit 201 to the printer unit 102 or the network 103.
Function, and the image signal sent via the network 103, the image processing unit 201 to process,
It has a function of sending it to the printer unit 102.

【0020】[画像処理部および画像制御部]次に、画
像処理部201および画像制御部202の動作を詳細に説明す
る。最初に、画像処理装置が複写機として動作する場合
について説明する。
[Image Processing Unit and Image Control Unit] Next, the operations of the image processing unit 201 and the image control unit 202 will be described in detail. First, a case where the image processing apparatus operates as a copying machine will be described.

【0021】●複写機として動作する場合 画像処理装置が複写機として動作する場合、スキャナ部
100から送られてきた画像信号は、第一色空間変換部203
により色空間の変換される。第一色空間変換部203は、
例えば、下式に従い、スキャナ部100に依存する色空間
の画像信号R0、G0およびB0をsRGBなどの標準の色空間の
画像信号R1、G1およびB1に変換する。 R1 = a11×R0 + a12×G0 + a13×B0 G1 = a21×R0 + a22×G0 + a23×B0 …(1) B1 = a31×R0 + a32×G0 + a33×B0 ただし、a11〜a33は係数で、一次独立な行列とする
When the image processing apparatus operates as a copying machine, the scanner unit
The image signal sent from the first color space conversion unit 203
Converts the color space. The first color space conversion unit 203
For example, according to the following equation, the image signals R0, G0, and B0 in the color space depending on the scanner unit 100 are converted into image signals R1, G1, and B1 in a standard color space such as sRGB. R1 = a11 x R0 + a12 x G0 + a13 x B0 G1 = a21 x R0 + a22 x G0 + a23 x B0 ... (1) B1 = a31 x R0 + a32 x G0 + a33 x B0 where a11 to a33 are coefficients Is a linearly independent matrix

【0022】係数a11〜a33は、スキャナ部100に付随す
るカラーフィルタにより再現される色空間を、例えば、
モニタの標準色空間であるsRGB空間に変換する係数であ
る。なお、変換後の色空間はとくに限定されないし、あ
るいは、画像を複写する場合、画像を送信する場合な
ど、装置の動作に応じて変換後の色空間(変換係数)を
変えるようにしてもよい。
The coefficients a11 to a33 represent a color space reproduced by a color filter attached to the scanner unit 100, for example,
It is a coefficient to be converted to sRGB space which is the standard color space of the monitor. The converted color space is not particularly limited, or the converted color space (conversion coefficient) may be changed according to the operation of the apparatus, such as when copying an image or transmitting an image. .

【0023】色空間変換で得られるR1、G1およびB1信号
は、フィルタリング部204により特定の空間周波数特性
が与えられる。例えば、R1、G1およびB1信号の5×5画素
領域に、特定の係数をコンボリューション演算して、そ
のコンボリューション演算結果を128で除算処理するこ
とで、フィルタリング処理が実現される。そのための係
数として、例えば、図3に示す係数がある。複写する原
稿が文字中心の画像の場合には図3(a)に示す係数が使用
され、写真画像である場合は図3(b)に示す係数が使用さ
れる。
The R1, G1 and B1 signals obtained by the color space conversion are given specific spatial frequency characteristics by the filtering unit 204. For example, a filtering process is realized by performing a convolution operation on a specific coefficient in a 5 × 5 pixel area of the R1, G1, and B1 signals and dividing the result of the convolution operation by 128. As a coefficient for this purpose, for example, there is a coefficient shown in FIG. When the original to be copied is a character-centered image, the coefficient shown in FIG. 3A is used, and when the original is a photographic image, the coefficient shown in FIG. 3B is used.

【0024】これらの係数は、CPU制御部214内の不揮発
性メモリ(例えばROM)に格納されていて、操作部215か
ら入力された画像モードなどに応じて、図3(a)または図
3(b)に示すどちらかの係数がインタフェイス(I/F)216を
介して、フィルタリング部204に設定される。
These coefficients are stored in a non-volatile memory (for example, a ROM) in the CPU control unit 214, and are stored in FIG. 3A or FIG.
One of the coefficients shown in 3 (b) is set in the filtering unit 204 via the interface (I / F) 216.

【0025】フィルタリングにより得られるR2、G2およ
びB2信号は、多値データ変換部205によりスキャナ部100
の階調特性に合わせてガンマ補正される。多値データ変
換部205の出力信号R3、G3およびB3は第二色空間変換部2
06に入力される。第二色空間変換部206は、対数変換に
よりR3、G3およびB3信号をCMY信号に変換し、K信号を生
成して、CMYK信号をプリンタ部103の色材に特性に合わ
せるマスキング処理を行う。第二色空間変換部206の出
力信号C0、M0、Y0およびK0は、ガンマ変換部212により
ガンマ補正される。なお、スキャナ部100の階調特性が
リニアであれば、CPU制御部214は、画像信号がスルーパ
スするように多値データ変換部205を制御する。
The R2, G2, and B2 signals obtained by the filtering are converted by the multi-value data conversion unit 205 into the scanner unit 100.
Gamma correction is performed in accordance with the gradation characteristics of. The output signals R3, G3 and B3 of the multi-level data conversion unit 205 are
Entered in 06. The second color space conversion unit 206 converts the R3, G3, and B3 signals into CMY signals by logarithmic conversion, generates a K signal, and performs a masking process that matches the CMYK signals to the characteristics of the color material of the printer unit 103. The output signals C0, M0, Y0, and K0 of the second color space conversion unit 206 are gamma-corrected by the gamma conversion unit 212. If the gradation characteristic of the scanner unit 100 is linear, the CPU control unit 214 controls the multi-value data conversion unit 205 so that the image signal passes through.

【0026】ガンマ変換部212は、プリンタ部102の階調
特性を補正するもので、例えばルックアップテーブル(L
UT)として実現される。ガンマ補正された画像信号C1、M
1、Y1およびK1は、量子化部213により誤差拡散などの量
子化処理によって二値、三値または四値などの信号C2、
M2、Y2およびK2に量子化される。なお、画像信号を量子
化する必要があるのは、プリンタ部102にインクジェッ
ト方式のカラープリンタなどが使用される場合である。
プリンタ部102が、多値の画像信号から画像を形成する
ことが可能な電子写真方式のカラープリンタの場合、CP
U制御部214は、画像信号がスルーパスするように量子化
部213を制御する。
The gamma conversion unit 212 corrects the gradation characteristics of the printer unit 102, for example, a look-up table (L
UT). Gamma corrected image signals C1, M
1, Y1 and K1 are binary, ternary or quaternary signals C2 by quantization processing such as error diffusion by a quantization unit 213,
Quantized to M2, Y2 and K2. The image signal needs to be quantized when an ink-jet color printer or the like is used for the printer unit 102.
When the printer unit 102 is an electrophotographic color printer capable of forming an image from a multi-valued image signal,
The U control unit 214 controls the quantization unit 213 so that the image signal passes through.

【0027】このようにして作成されたCMYK信号は、画
像制御部202を介してプリンタ部102へ送られて、カラー
画像が印刷される。
The CMYK signal thus created is sent to the printer unit 102 via the image control unit 202, and a color image is printed.

【0028】●画像信号を送信する場合 次に、スキャナ部100によって得られた画像信号を、ネ
ットワーク103を介して他の画像再生機に送信する場合
について説明する。この場合、JPEG圧縮された画像がネ
ットワーク103へ送出される場合、並びに、RGB多値デー
タがネットワーク103に送出される場合があるが、それ
らを順に説明する。JPEG圧縮された画像をネットワークへ送出する場合
Next, a case where the image signal obtained by the scanner unit 100 is transmitted to another image reproducing device via the network 103 will be described. In this case, there are cases where a JPEG-compressed image is transmitted to the network 103 and cases where RGB multi-valued data is transmitted to the network 103. These will be described in order. When sending JPEG compressed images to a network

【0029】スキャナ部100から出力される画像信号
は、複写機動作の場合と同様に、第一色空間変換203に
よりsRGB色空間の画像信号に変換され、フィルタリング
部204により特定の空間周波数特性が与えられる。フィ
ルタリング部204から出力される画像信号は、多値デー
タ変換部205によりガンマ変換される。この場合、多値
データ変換部205は、(必要であれば)スキャナ部100の
階調特性を補正し、ネットワーク103を介した送信先の
画像再生装置(例えばモニタ)の階調特性を補正する。
補正するガンマ特性の例を図4に示す。 γ=1.0の場合、out = 255×(in/255)1.0 γ=1.4の場合、out = 255×(in/255)1/1.4 γ=1.8の場合、out = 255×(in/255)1/1.8 γ=2.2の場合、out = 255×(in/255)1/2.2 …(2) ただし、inは入力信号値(0≦in≦255) outは変換後の信号値
The image signal output from the scanner unit 100 is converted into an image signal in the sRGB color space by the first color space converter 203 as in the case of the copier operation. Given. The image signal output from the filtering unit 204 is gamma-converted by the multi-level data conversion unit 205. In this case, the multi-level data conversion unit 205 corrects the gradation characteristics of the scanner unit 100 (if necessary) and corrects the gradation characteristics of the image reproducing apparatus (for example, a monitor) of the transmission destination via the network 103. .
FIG. 4 shows an example of the gamma characteristic to be corrected. When γ = 1.0, out = 255 × (in / 255) 1.0 When γ = 1.4, out = 255 × (in / 255) 1 / 1.4 When γ = 1.8, out = 255 × (in / 255) 1 /1.8 When γ = 2.2, out = 255 × (in / 255) 1 / 2.2 … (2) where in is the input signal value (0 ≦ in ≦ 255) and out is the converted signal value

【0030】本実施形態では、モニタの特性として四つ
のガンマ値を用意するが、これは送信先で画像がプリン
トアウトされる場合に、プリンタドライバなどのガンマ
値が必ずしも標準的な値に設定されているとは限らない
ためである。そこで、ネットワーク103を介して他の画
像再生装置に画像を送信する場合に、操作部215よって
上記の四つのガンマ値を選択し設定できるようにする。
勿論、四つのガンマ値の何れかを選択するだけでなく、
操作部215から入力されたガンマ値をCPU制御部214によ
り多値データ変換部205に設定することで、画像処理装
置のオペレータが任意にガンマ値を設定することもでき
る。
In this embodiment, four gamma values are prepared as monitor characteristics. However, when an image is printed out at a destination, the gamma value of a printer driver or the like is not necessarily set to a standard value. This is because it is not always true. Therefore, when transmitting an image to another image reproducing apparatus via the network 103, the above-described four gamma values can be selected and set by the operation unit 215.
Of course, not only can you choose one of the four gamma values,
By setting the gamma value input from the operation unit 215 to the multi-level data conversion unit 205 by the CPU control unit 214, the operator of the image processing apparatus can also arbitrarily set the gamma value.

【0031】JPEG圧縮された画像をネットワーク103へ
送出する場合、第二色空間変換部206は、sRGB空間の画
像信号をJFIFフォーマットのYCbCr信号に変換する動作
を行う。第二色空間変換部206からは値が零の信号K0も
出力されるが、ここでは複写機能を実行するわけではな
いから、信号K0が以後の処理に影響することはない。こ
の場合、第二色空間変換部206が実行する演算を下式に
示す。 輝度信号Y: C0 = 0.299×R3 + 0.587×G3 + 0.144×B3 色差信号Cr: M0 = -0.1687×R3 - 0.3313×G3 + 0.5×B3 + 128 色差信号Cb: Y0 = 0.5×R3 - 0.4187×G3 - 0.0813×C0 + 128 …(3)
When transmitting a JPEG-compressed image to the network 103, the second color space conversion unit 206 performs an operation of converting an image signal in the sRGB space into a YCbCr signal in the JFIF format. The signal K0 having a value of zero is also output from the second color space conversion unit 206. However, since the copying function is not executed here, the signal K0 does not affect the subsequent processing. In this case, the calculation performed by the second color space conversion unit 206 is shown in the following equation. Luminance signal Y: C0 = 0.299 × R3 + 0.587 × G3 + 0.144 × B3 Color difference signal Cr: M0 = -0.1687 × R3-0.3313 × G3 + 0.5 × B3 + 128 Color difference signal Cb: Y0 = 0.5 × R3-0.4187 × G3 -0.0813 × C0 + 128… (3)

【0032】このようにして得られるYCrCb信号に対応
する信号C0、M0およびY0は、第一画像合成部207に入力
され、操作部215から設定されたある特性をもつ画像信
号が加算される。
The signals C0, M0 and Y0 corresponding to the YCrCb signal thus obtained are input to the first image synthesizing unit 207, and an image signal having certain characteristics set from the operation unit 215 is added.

【0033】図5は上記の加算処理を示すフローチャー
トである。なお、第一画像合成部207は、合成される画
像に任意の空間周波数を与え、かつ、その振幅成分を所
定のレベルに設定して入力信号に加算する。
FIG. 5 is a flowchart showing the above addition processing. Note that the first image combining unit 207 gives an arbitrary spatial frequency to the image to be combined, sets the amplitude component to a predetermined level, and adds the amplitude component to the input signal.

【0034】画像合成手順は、第一画像合成部207の後
段にJPEG圧縮部208があることから、あまり周波数特性
の高い成分を含む画像を加えると、圧縮率の低下を招
く。そこで、まずJPEG圧縮の量子化パラメータとの関係
から、合成画像の空間周波数を決定し(S5001)、合成画
像の振幅レベルを決定する(S5002)。空間周波数や振幅
レベルは、予め決定してCPU制御部214内のROMなどに記
憶させておいていもよい。なお、合成する画像の振幅レ
ベルが大き過ぎると、合成画像の周期成分が目立ち、却
って画質を劣化させてしまうので、本実施形態では振幅
レベルを1レベルとしている。実際、第一色空間変換部2
03や第二色空間変換部206の演算により乱される階調特
性も、振幅レベルが2レベル程度であれば目立たない。
勿論、この画質の劣化は再生する装置にも依存する。
In the image synthesizing procedure, since the JPEG compressing section 208 is provided at the subsequent stage of the first image synthesizing section 207, if an image including a component having a very high frequency characteristic is added, the compression ratio will be reduced. Therefore, first, the spatial frequency of the synthesized image is determined from the relationship with the quantization parameter of JPEG compression (S5001), and the amplitude level of the synthesized image is determined (S5002). The spatial frequency and the amplitude level may be determined in advance and stored in a ROM or the like in the CPU control unit 214. Note that if the amplitude level of the image to be synthesized is too large, the periodic components of the synthesized image are conspicuous, which degrades the image quality. Therefore, in this embodiment, the amplitude level is set to 1 level. Actually, the first color space conversion unit 2
03 and the gradation characteristics disturbed by the calculation of the second color space conversion unit 206 are inconspicuous if the amplitude level is about two levels.
Of course, the deterioration of the image quality also depends on the reproducing apparatus.

【0035】次に、入力画像に画像が合成される(S500
3)。また、ここでは特定の画像周期(空間周波数)をも
つ画像を合成する例を説明したが、画像周期自体が不規
則に変わるものでもよく、あるいは、後段のJPEG圧縮部
208での圧縮率をさらに上げたい場合は、合成信号の振
幅レベルを0にして画像を合成しない構成にもできる。
そして、最後に、合成後の画像信号が画像信号のダイナ
ミックレンジ内(0〜255レベル)に納まるように、合成
後の画像信号をクリップ処理する(S5004)。
Next, an image is synthesized with the input image (S500
3). Although an example in which an image having a specific image cycle (spatial frequency) is synthesized has been described here, the image cycle itself may be changed irregularly, or a JPEG compression unit in a subsequent stage may be used.
If it is desired to further increase the compression ratio in 208, the configuration may be such that the amplitude level of the synthesized signal is set to 0 and no image is synthesized.
Finally, the combined image signal is clipped so that the combined image signal falls within the dynamic range (0 to 255 levels) of the image signal (S5004).

【0036】図6は第一画像合成部207において画像を合
成するための構成例を示すブロック図である。図6にお
いて、入力信号と合成する画像信号とが加算器601で加
算され、加算後の画像信号はリミッタ602でクリップ処
理される。なお、図6では、一次元の信号を例にして画
像合成を説明しているが、それを二次元に拡張しても、
その本質は変わらない。
FIG. 6 is a block diagram showing a configuration example for synthesizing an image in the first image synthesizing unit 207. In FIG. 6, an input signal and an image signal to be combined are added by an adder 601, and the added image signal is clipped by a limiter 602. In FIG. 6, the image synthesis is described using a one-dimensional signal as an example.
Its essence remains the same.

【0037】第一画像合成部207で合成処理された画像
信号X0、Y0およびZ0は、JPEG圧縮部208においてJPEG圧
縮される。なお、例えば文字や細線が中心の原稿か、写
真原稿かによって適切な量子化(Q)パラメータが異なる
から、この圧縮に際して、原稿の特性に応じて異なるQ
パラメータを操作部215から選択することができる。さ
らに、JPEG圧縮部208の前段である第一画像合成部207の
処理は、圧縮率に影響がでないように、量子化パラメー
タやサブサンプリングを考慮して設定される。なお、JP
EG圧縮部208の構成については、標準仕様が存在するこ
とから、その説明を省略する。
The image signals X0, Y0 and Z0 synthesized by the first image synthesizing unit 207 are JPEG-compressed by the JPEG compression unit 208. Note that, for example, an appropriate quantization (Q) parameter differs depending on whether a document is mainly composed of characters or thin lines or a photo document.
The parameter can be selected from the operation unit 215. Further, the processing of the first image synthesizing unit 207, which is a preceding stage of the JPEG compressing unit 208, is set in consideration of the quantization parameter and the sub-sampling so as not to affect the compression ratio. In addition, JP
Regarding the configuration of the EG compression unit 208, since there is a standard specification, the description thereof is omitted.

【0038】このように、JPEG圧縮された画像(図2のJ
PG0)は、CPU制御部214による画像制御部202の制御によ
り、外部ネットワーク103に送出される。RGB多値データをネットワークへ送出する場合
As described above, the JPEG-compressed image (J in FIG. 2)
PG0) is transmitted to the external network 103 under the control of the image control unit 202 by the CPU control unit 214. When sending RGB multi-value data to a network

【0039】多値データをネットワーク103へ送出する
場合、本実施形態はsRGB信号の送出を想定している。こ
の場合、上述したJPEG圧縮された画像をネットワーク10
3へ送出する場合の構成との違いは、JPEG圧縮部208で処
理された画像が伸長されてsRGB信号になる点である。従
って、この場合も、JPEG圧縮されるまでの処理は、上述
したJPEG圧縮された画像をネットワークへ送出する場合
と全く同じである。
When transmitting multi-valued data to the network 103, the present embodiment assumes that an sRGB signal is transmitted. In this case, the JPEG-compressed image
The difference from the configuration for sending to 3 is that the image processed by the JPEG compression unit 208 is expanded to become an sRGB signal. Therefore, also in this case, the processing until the JPEG compression is performed is exactly the same as the case where the above-described JPEG compressed image is transmitted to the network.

【0040】JPEG伸長部209は、受け取ったJPEG画像JPG
0のヘッダ部の情報に従い、JPEG画像JPG0を伸長する。
このときJPEG伸長部209は、ヘッダ部に記載された圧縮
前の画像のライン数、サンプル数、色空間情報および量
子化テーブル情報を、CPU制御部214へ送る。
The JPEG decompression unit 209 receives the JPEG image JPG
The JPEG image JPG0 is decompressed according to the information in the header section of 0.
At this time, the JPEG decompression unit 209 sends the number of lines, the number of samples, the color space information, and the quantization table information of the image before compression described in the header part to the CPU control unit 214.

【0041】JPEG伸長処理で得られた画像信号X1、Y1お
よびZ1は、第三色空間変換部210へ送られる。図7は第三
色空間変換部210における処理を説明するためのフロー
チャートである。
The image signals X1, Y1, and Z1 obtained by the JPEG decompression process are sent to the third color space conversion unit 210. FIG. 7 is a flowchart for explaining processing in the third color space conversion unit 210.

【0042】最初に、CPU制御部214は、JPEG伸長部209
から送られてきた情報からJPEG圧縮される前の画像の色
空間を調べ(具体的には色空間がJFIFか否か)(S700
1)、JFIFであれば圧縮前の色空間がYCbCr色空間に変換
されているため、第三色空間変換部210に式(4)に示す演
算を実行させて、画像信号の色空間をsRGB色空間に変換
させる(S7002)。一方、JFIF色空間ではない、つまりRGB
色空間の場合、第三色空間変換部210に画像信号をスル
ーパスさせる(S7003)。第三色空間変換部210から出力さ
れる画像信号R4、G4およびB4は第二画像合成部211に入
力される。 R4 = X1 + 1.402×(Z1 - 128) G4 = X1 - 0.34414×(Y1 - 128) - 0.71414×(Z1 - 128) B4 = X1 + 1.772×(Y1 - 128) …(4)
First, the CPU control section 214 executes the JPEG decompression section 209
The color space of the image before JPEG compression is checked from the information sent from the PC (specifically, whether the color space is JFIF or not) (S700
1) In the case of JFIF, since the color space before compression has been converted to the YCbCr color space, the third color space conversion unit 210 executes the operation shown in Expression (4) to convert the color space of the image signal into sRGB. The color space is converted (S7002). On the other hand, it is not JFIF color space, that is, RGB
In the case of the color space, the image signal is passed through the third color space conversion unit 210 (S7003). The image signals R4, G4, and B4 output from the third color space conversion unit 210 are input to the second image synthesis unit 211. R4 = X1 + 1.402 × (Z1-128) G4 = X1-0.34414 × (Y1-128)-0.71414 × (Z1-128) B4 = X1 + 1.772 × (Y1-128)… (4)

【0043】第二画像合成部211における基本的な画像
処理は、第一画像合成部207と同じであるが、圧縮時の
量子化パラメータや圧縮比率に応じて、合成する画像の
特性を変えることができる点で異なる。そこで、量子化
パラメータによって、合成する画像の特性を変える方法
について説明する。
The basic image processing in the second image synthesizing unit 211 is the same as that of the first image synthesizing unit 207, except that the characteristics of the image to be synthesized are changed according to the quantization parameter and the compression ratio at the time of compression. Is different. Therefore, a method of changing the characteristics of an image to be synthesized according to the quantization parameter will be described.

【0044】図8は量子化パラメータが格納されている8
×8画素のテーブルであり、第二画像合成部211によって
使用される、平均値AVEを求めるための空間周波数帯域
を示している。このテーブルには、実際は、DCT係数を
除算するための係数(量子化係数)が格納されている。
なお、この量子化テーブルは、JPEG圧縮時のパラメータ
として、JPEG圧縮部208などに予め格納されている。
FIG. 8 shows a table in which quantization parameters are stored.
It is a table of × 8 pixels, and shows a spatial frequency band used by the second image synthesizing unit 211 for obtaining the average value AVE. This table actually stores coefficients (quantization coefficients) for dividing DCT coefficients.
Note that this quantization table is stored in the JPEG compression unit 208 or the like in advance as a parameter for JPEG compression.

【0045】本実施形態では、図8に示す量子化テーブ
ル内の高周波成分に相当する4×4画素領域80の係数と、
圧縮比率との関係から、合成する画像の特性を決める。
なお、係数を参照する量子化テーブルの領域は、必ずし
も図8に示す領域80でなくてもよい。
In this embodiment, the coefficients of the 4 × 4 pixel area 80 corresponding to the high frequency components in the quantization table shown in FIG.
The characteristics of the image to be synthesized are determined from the relationship with the compression ratio.
Note that the area of the quantization table that refers to the coefficient is not necessarily the area 80 shown in FIG.

【0046】以下、合成する画像の特性を決める処理に
ついて説明する。図9は第二画像合成部211により合成す
る画像の特性を決める処理を示すフローチャート、図10
は第二画像合成部211により合成される画像の特性例を
示す図である。
The processing for determining the characteristics of the image to be synthesized will be described below. FIG. 9 is a flowchart showing processing for determining characteristics of an image to be synthesized by the second image synthesis unit 211, and FIG.
6 is a diagram illustrating an example of characteristics of an image synthesized by a second image synthesis unit 211. FIG.

【0047】CPU制御部214は、ヘッダ部に記載された量
子化テーブルから高周波成分に相当する4×4画素領域80
の平均値AVEを求め(S9001)、ヘッダ部に記載された画像
サイズ(ビット数)と、圧縮後の画像サイズ(ビット
数)から圧縮率Pを求める(S9002)。なお、圧縮率Pは式
(5)によって計算される。 P = (圧縮後のビット数)/(圧縮前のビット数) …(5)
The CPU control unit 214 calculates a 4 × 4 pixel area 80 corresponding to a high frequency component from the quantization table described in the header section.
Is calculated (S9001), and a compression ratio P is calculated from the image size (number of bits) described in the header portion and the image size (number of bits) after compression (S9002). The compression ratio P is given by the formula
Calculated by (5). P = (number of bits after compression) / (number of bits before compression)… (5)

【0048】このようにして求めた平均値AVEと圧縮率P
により、合成する画像の特性を決める(S9003)。
The average value AVE and the compression ratio P obtained in this way are
Then, the characteristics of the image to be synthesized are determined (S9003).

【0049】入力原稿の特性により、オペレータが画像
処理モードを切り替えることができるから、設定された
画像処理モードにより、量子化テーブルの係数は異な
る。ここで「圧縮率P≦1/8、平均値AVE≧80」(条件1)
の場合は、図10(a)に示す、ランダムな周期で、振幅特
性が±2レベルの特性とする。なお、図10は、横軸が画
素位置を、縦軸が加える信号の振幅を表している。また
「圧縮率P≦1/8、平均値AVE<80」(条件2)の場合は、
図10(b)に示す、ランダム周期で、振幅特性が±1レベル
の特性する。そして、条件1および条件2に当てはまらな
いとき(条件3)は、画像解像度のナイキストの周期
で、振幅特性が±1レベルの特性とする。例えば、600dp
iの解像度を有する場合は300dpiに対応する周期とす
る。
Since the operator can switch the image processing mode depending on the characteristics of the input document, the coefficients of the quantization table differ depending on the set image processing mode. Here, “Compression rate P ≦ 1/8, average value AVE ≧ 80” (Condition 1)
In the case of, the amplitude characteristic is a characteristic of ± 2 level with a random period shown in FIG. In FIG. 10, the horizontal axis represents the pixel position, and the vertical axis represents the amplitude of the added signal. In addition, in the case of “compression ratio P ≦ 1/8, average value AVE <80” (condition 2),
As shown in FIG. 10B, the amplitude characteristic has a characteristic of ± 1 level in a random cycle. When the conditions 1 and 2 are not satisfied (condition 3), the amplitude characteristic is a ± 1 level characteristic in the Nyquist cycle of the image resolution. For example, 600dp
In the case of having a resolution of i, the period corresponds to 300 dpi.

【0050】なお、本実施形態では、p:1/8、AVE:80と
して条件を設定したが、システムの構成によっては他の
設定値でも構わない。
In this embodiment, the conditions are set as p: 1/8 and AVE: 80. However, other setting values may be used depending on the system configuration.

【0051】以上の特性をもつ画像信号が、図6に示す
構成により、入力信号に合成され、図2に示す画像信号R
5、G5およびB5が得られる。また、この合成時には、画
像のプロファイル(画像サイズ、RGBデータおよびビッ
ト数など)がヘッダ情報として付加される。そして、画
像信号R5、G5およびB5は画像制御部202へ送られる。
An image signal having the above characteristics is combined with an input signal by the configuration shown in FIG. 6, and the image signal R shown in FIG.
5, G5 and B5 are obtained. At the time of the synthesis, an image profile (image size, RGB data, bit number, etc.) is added as header information. Then, the image signals R5, G5, and B5 are sent to the image control unit 202.

【0052】そして、R5、G5およびB5の多値データは、
CPU制御部214による画像制御部202の制御により、外部
ネットワーク103に送出される。
The multivalued data of R5, G5 and B5 is
The image data is transmitted to the external network 103 under the control of the image control unit 202 by the CPU control unit 214.

【0053】●画像信号を受信する場合 次に、ネットワーク103から受信された画像データをプ
リンタ部102へ出力する場合について説明する。以下で
は、受信される画像データがJPEG画像の場合、および、
RGB多値データの場合について説明する。JPEG画像が受信された場合
Next, a case where image data received from the network 103 is output to the printer unit 102 will be described. Below, when the received image data is a JPEG image, and
The case of RGB multi-value data will be described. When a JPEG image is received

【0054】図11はネットワーク103から受信した画像
を処理する手順の一例を示すフローチャートである。
FIG. 11 is a flowchart showing an example of a procedure for processing an image received from the network 103.

【0055】ネットワーク103から画像制御部202を介し
て入力された画像は、JPEG伸長部209においてJPEG画像
か、RGBデータか、それら以外かが判断される(S1101)。
ここで、JPEG画像であると判断された場合、データの色
空間が解析される(S1102)。JFIFであれば、JPEG伸長さ
れた画像の色空間は、第三色空間変換部210により、式
(4)に従いsRGB色空間に変換される(S1103)。ただし、プ
リンタ部102に出力する場合は、色空間は必ずしもsRGB
色空間である必要はなく、他の色空間に変換してもよ
い。一方、JFIFではなくRGBの場合は、色空間変換は行
わない(S1104)。
The image input from the network 103 via the image control unit 202 is judged by the JPEG decompression unit 209 as a JPEG image, RGB data, or other data (S1101).
If it is determined that the data is a JPEG image, the color space of the data is analyzed (S1102). In the case of JFIF, the color space of the JPEG-decompressed image is calculated by the third color space conversion unit 210 using the formula
The image data is converted into the sRGB color space according to (4) (S1103). However, when outputting to the printer unit 102, the color space is not necessarily sRGB
The color space does not need to be changed, and may be converted to another color space. On the other hand, in the case of RGB instead of JFIF, color space conversion is not performed (S1104).

【0056】また、画像フォーマットが解析不能、ある
いは、色空間がJFIFおよびRGB以外の場合は、操作部215
のLCDなどにエラーメッセージを表示して(S1105)、処理
を終了する。
If the image format cannot be analyzed or the color space is other than JFIF and RGB, the operation unit 215
An error message is displayed on the LCD or the like (S1105), and the process ends.

【0057】sRGB色空間に変換された画像信号R4、G4お
よびB4には、第二画像合成部211で、上述した画像をネ
ットワーク103へ送出する場合と同様の画像合成処理が
行われる(S1106)。画像が合成された画像信号は、CPU制
御部214の制御により、画像制御部202を介して画像信号
R6、G6およびB6として多値データ変換部205へ入力され
る。
The image signals R4, G4 and B4 converted into the sRGB color space are subjected to the same image synthesizing process as in the case where the above-mentioned image is transmitted to the network 103 by the second image synthesizing unit 211 (S1106). . The image signal obtained by synthesizing the image is controlled by the CPU control unit 214 via the image control unit 202.
R6, G6, and B6 are input to the multi-level data conversion unit 205.

【0058】多値データ変換部205は、画像信号R6、G6
およびB6にガンマ補正を施す(S1107)。具体的なガンマ
値は、図12の変換特性に示すγ=1.8を使用する。なお、
操作部215からの設定により、他のガンマ値γ(1.0、1.
4、2.2)も使用することができる。
The multi-value data conversion unit 205 converts the image signals R6, G6
And B6 are subjected to gamma correction (S1107). As a specific gamma value, γ = 1.8 shown in the conversion characteristic of FIG. 12 is used. In addition,
Other gamma values γ (1.0, 1.
4, 2.2) can also be used.

【0059】多値データ変換部205から出力される画像
信号R3、G3およびB3には、第二色空間変換部206で、上
述した複写機動作の場合と同様に、対数変換およびマス
キング処理が施されて(S1108)、画像信号C0、M0、Y0お
よびK0が生成される。その後、ガンマ変換部212によ
り、プリンタ部102のエンジン特性(ガンマ特性)に応
じたガンマ補正が行われる(S1109)。そして、信号C1、M
1、Y1およびK1は、量子化部213によりプリンタ部102の
エンジンに合わせて、例えば誤差拡散法などにより二値
化される(S1110)。
The image signals R3, G3, and B3 output from the multi-value data conversion unit 205 are subjected to logarithmic conversion and masking processing by the second color space conversion unit 206 in the same manner as in the above-described copier operation. Then (S1108), image signals C0, M0, Y0 and K0 are generated. Thereafter, the gamma conversion unit 212 performs gamma correction according to the engine characteristics (gamma characteristics) of the printer unit 102 (S1109). And the signals C1, M
1, Y1, and K1 are binarized by the quantization unit 213 according to the engine of the printer unit 102, for example, by an error diffusion method or the like (S1110).

【0060】量子化後の信号C2、M2、Y2およびK2は、画
像制御部202を介して、プリンタ部102へ送られ、所定の
プリントシーケンスによりカラー画像が記録紙上に形成
される。RGB多値データが受信された場合
The quantized signals C2, M2, Y2 and K2 are sent to the printer unit 102 via the image control unit 202, and a color image is formed on a recording sheet by a predetermined print sequence. When RGB multi-value data is received

【0061】画像制御部202からJPEG伸長部209へRGB多
値データが入力された場合、ステップ1101の判定により
処理はステップ1107へジャンプする。つまり、CPU制御
部214の制御によりJPEG制御部209、第三色空間変換部21
0および第二画像合成部211がスルーパスされ、RGB多値
データは、画像制御部202を介して、多値データ変換部2
05へ入力される。以降の処理(S1107からS1110)は、JP
EG画像を受信した場合と同じである。
When the RGB multi-value data is input from the image control unit 202 to the JPEG decompression unit 209, the process jumps to step 1107 according to the determination in step 1101. That is, the JPEG control unit 209 and the third color space conversion unit 21 are controlled by the CPU control unit 214.
0 and the second image synthesizing unit 211 are passed through, and the RGB multi-valued data is passed through the image control unit 202 to the multi-value data converting unit 2.
Input to 05. Subsequent processing (S1107 to S1110) is JP
This is the same as when an EG image is received.

【0062】このように、本実施形態によれば、入力さ
れたカラー画像信号の色空間を変換し、変換後のカラー
画像信号に対して空間周波数変換を施して変換画像信号
を生成する一方で、所定の空間周波数と所定レベルの振
幅を有する画像信号を生成し、これら空間周波数変換さ
れた画像信号と生成された画像信号とを合成して得た画
像信号に圧縮処理(例えばJPEG圧縮)を施すので、色空
間変換時に生じる演算誤差や非可逆圧縮処理による情報
の欠落に起因する、それら画像の再生時に生じる階調飛
びを改善することができる。
As described above, according to the present embodiment, the color space of the input color image signal is converted, and the converted color image signal is subjected to the spatial frequency conversion to generate the converted image signal. An image signal having a predetermined spatial frequency and a predetermined level of amplitude is generated, and a compression process (for example, JPEG compression) is performed on an image signal obtained by combining the spatial frequency converted image signal and the generated image signal. Therefore, it is possible to improve the gradation jump that occurs at the time of reproducing such an image due to an arithmetic error generated at the time of color space conversion and a loss of information due to irreversible compression processing.

【0063】とくに、合成画像の振幅成分や周波数成分
を制御することで、合成後の画像が強調されることなく
再現でき、良好な画質で再生することができる。
In particular, by controlling the amplitude component and the frequency component of the synthesized image, the synthesized image can be reproduced without being emphasized, and can be reproduced with good image quality.

【0064】なお、上記では、圧縮率Pおよび量子化係
数の平均値AVEにより、合成する画像の特性を変更する
例を説明したが、圧縮率Pや量子化係数の平均値AVに関
係なく、常に、上記の条件2で与えられる特性の画像を
合成するようにしてもよい。
In the above description, an example has been described in which the characteristics of an image to be synthesized are changed by the compression ratio P and the average value AVE of the quantization coefficient. However, regardless of the compression ratio P and the average value AV of the quantization coefficient, An image having the characteristic given by the above condition 2 may always be synthesized.

【0065】また、上記では、画像処理装置がスキャ
ナ、コントローラおよびプリンタからなり、ネットワー
クに接続された構成例を説明をしたが、これに限定され
ず、例えば、コントローラにコンピュータを接続して、
そのコンピュータにつながったモニタ上のGUIを操作す
ることにより、所定の制御を行う構成にすることもでき
る。また、このコンピュータは、コントローラと直接、
接続してもよいが、ネットワークを介して、上記と同様
の制御を行うことも可能である。
In the above description, an example in which the image processing apparatus includes a scanner, a controller, and a printer and is connected to a network has been described. However, the present invention is not limited to this. For example, by connecting a computer to the controller,
By operating a GUI on a monitor connected to the computer, a configuration in which predetermined control is performed can be adopted. Also, this computer is directly connected to the controller
The connection may be established, but the same control as described above can be performed via a network.

【0066】[0066]

【他の実施形態】なお、本発明は、複数の機器(例えば
ホストコンピュータ、インタフェイス機器、リーダ、プ
リンタなど)から構成されるシステムに適用しても、一
つの機器からなる装置(例えば、複写機、ファクシミリ
装置など)に適用してもよい。
[Other Embodiments] Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine) Machine, facsimile machine, etc.).

【0067】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体(または記録媒体)を、システムあるい
は装置に供給し、そのシステムあるいは装置のコンピュ
ータ(またはCPUやMPU)が記憶媒体に格納されたプログ
ラムコードを読み出し実行することによっても、達成さ
れることは言うまでもない。この場合、記憶媒体から読
み出されたプログラムコード自体が前述した実施形態の
機能を実現することになり、そのプログラムコードを記
憶した記憶媒体は本発明を構成することになる。また、
コンピュータが読み出したプログラムコードを実行する
ことにより、前述した実施形態の機能が実現されるだけ
でなく、そのプログラムコードの指示に基づき、コンピ
ュータ上で稼働しているオペレーティングシステム(OS)
などが実際の処理の一部または全部を行い、その処理に
よって前述した実施形態の機能が実現される場合も含ま
れることは言うまでもない。
Further, an object of the present invention is to supply a storage medium (or a recording medium) in which a program code of software for realizing the functions of the above-described embodiments is recorded to a system or an apparatus, and a computer (a computer) of the system or the apparatus. It is needless to say that the present invention can also be achieved by a CPU or an MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. Also,
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also the operating system (OS) running on the computer based on the instructions of the program code.
It goes without saying that a case where the functions of the above-described embodiments are implemented by performing some or all of the actual processing, and the processing performs the functions of the above-described embodiments.

【0068】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into the memory provided in the function expansion card inserted into the computer or the function expansion unit connected to the computer, the program code is read based on the instruction of the program code. Needless to say, the CPU included in the function expansion card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0069】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明したフローチャートに対応す
るプログラムコードが格納されることになる。
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.

【0070】[0070]

【発明の効果】以上説明したように、本発明によれば、
画像を圧縮または伸長する場合に階調性の劣化を防ぐこ
とができる。
As described above, according to the present invention,
When the image is compressed or decompressed, deterioration of gradation can be prevented.

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

【図1】本実施形態の画像処理装置と、それにつながる
周辺機器との構成例を示すブロック図、
FIG. 1 is a block diagram illustrating a configuration example of an image processing apparatus according to an embodiment and peripheral devices connected to the image processing apparatus.

【図2】コントローラ部の構成例を示すブロック図、FIG. 2 is a block diagram illustrating a configuration example of a controller unit.

【図3】空間フィルタ係数の一例を示す図、FIG. 3 is a diagram showing an example of a spatial filter coefficient.

【図4】モニタのガンマ特性の一例を示す図、FIG. 4 is a diagram illustrating an example of a gamma characteristic of a monitor.

【図5】画像合成部による加算処理を示すフローチャー
ト、
FIG. 5 is a flowchart illustrating an addition process performed by an image synthesis unit;

【図6】画像を合成するための構成例を示すブロック
図、
FIG. 6 is a block diagram showing a configuration example for synthesizing images;

【図7】第三色空間変換部における処理を説明するため
のフローチャート、
FIG. 7 is a flowchart for explaining processing in a third color space conversion unit;

【図8】量子化パラメータが格納されたテーブルの一例
を示す図、
FIG. 8 is a view showing an example of a table in which quantization parameters are stored;

【図9】第二画像合成部により合成する画像の特性を決
める処理を示すフローチャート、
FIG. 9 is a flowchart illustrating processing for determining characteristics of an image to be combined by a second image combining unit;

【図10】第二画像合成部により合成される画像の特性
例を示す図、
FIG. 10 is a diagram illustrating a characteristic example of an image synthesized by a second image synthesis unit;

【図11】ネットワークから受信した画像を処理する手
順の一例を示すフローチャート、
FIG. 11 is a flowchart illustrating an example of a procedure for processing an image received from a network,

【図12】ネットワークから受信した画像に施すガンマ
補正特性の一例を示す図である。
FIG. 12 is a diagram illustrating an example of a gamma correction characteristic applied to an image received from a network.

フロントページの続き Fターム(参考) 5B057 CA01 CA16 CB01 CB16 CC01 CE16 CE18 CE20 CH11 5C077 MP08 PP10 PP14 PP15 PP31 PP32 PP34 PP37 PP46 PQ08 PQ22 RR21 5C078 AA09 BA21 DA01 DA02 5C079 HB01 HB03 HB11 LA14 LA26 LA40 MA01 NA05 Continued on front page F-term (reference)

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 カラー画像を圧縮して出力する画像処理
装置であって、 画像信号を入力する第一の入力手段と、 入力された画像信号の色空間を変換する第一の変換手段
と、 所定の空間周波数と振幅を有する画像信号を生成して、
色空間変換された画像信号に合成する第一の合成手段
と、 合成された画像信号を圧縮処理する圧縮手段とを有する
ことを特徴とする画像処理装置。
An image processing apparatus for compressing and outputting a color image, comprising: first input means for inputting an image signal; first conversion means for converting a color space of the input image signal; Generating an image signal having a predetermined spatial frequency and amplitude,
An image processing apparatus, comprising: first combining means for combining with a color space converted image signal; and compression means for compressing the combined image signal.
【請求項2】 前記第一の合成手段によって生成される
画像信号の空間周波数は、前記圧縮処理に使用される量
子化パラメータに基づいて決定されることを特徴とする
請求項1に記載された画像処理装置。
2. The image processing apparatus according to claim 1, wherein a spatial frequency of the image signal generated by the first synthesizing unit is determined based on a quantization parameter used in the compression processing. Image processing device.
【請求項3】 さらに、圧縮処理された画像信号を入力
する第二の入力手段と、入力された画像信号を伸長する
伸長手段と、 伸長された画像信号の色空間を変換する第二の変換手段
と、 所定の空間周波数と振幅を有する画像信号を生成して、
色空間変換された画像信号に合成する第二の合成手段と
を有することを特徴とする請求項1に記載された画像処
理装置。
3. A second input means for inputting the compressed image signal, an expansion means for expanding the input image signal, and a second conversion for converting the color space of the expanded image signal. Means for generating an image signal having a predetermined spatial frequency and amplitude;
2. The image processing apparatus according to claim 1, further comprising a second combining unit that combines the image signal with the color space converted image signal.
【請求項4】 前記第二の合成手段によって生成される
画像信号の空間周波数および振幅は、前記第二の入力手
段により入力された画像信号の圧縮処理に使用された量
子化パラメータおよび圧縮比に基づき決定されることを
特徴とする請求項3に記載された画像処理装置。
4. A spatial frequency and an amplitude of an image signal generated by said second synthesizing means are determined by a quantization parameter and a compression ratio used for a compression process of the image signal input by said second input means. 4. The image processing apparatus according to claim 3, wherein the image processing apparatus is determined based on:
【請求項5】 さらに、合成後の画像信号のダイナミッ
クレンジを所定範囲に制限する制限手段を有することを
特徴とする請求項1または請求項3に記載された画像処理
装置。
5. The image processing apparatus according to claim 1, further comprising a limiting unit that limits a dynamic range of the synthesized image signal to a predetermined range.
【請求項6】 カラー画像を圧縮して出力する画像処理
方法であって、 画像信号を入力し、 入力された画像信号の色空間を変換し、 所定の空間周波数と振幅を有する画像信号を生成し、 色空間変換された画像信号および生成された画像信号を
合成し、 合成された画像信号を圧縮することを特徴とする画像処
理方法。
6. An image processing method for compressing and outputting a color image, comprising inputting an image signal, converting a color space of the input image signal, and generating an image signal having a predetermined spatial frequency and amplitude. An image processing method comprising: synthesizing the color space converted image signal and the generated image signal; and compressing the synthesized image signal.
【請求項7】 さらに、圧縮処理された画像信号を入力
し、 入力された画像信号を伸長し、 伸長された画像信号の色空間を変換し、 所定の空間周波数と振幅を有する画像信号を生成し、 色空間変換された画像信号および生成された画像信号を
合成することを特徴とする請求項6に記載された画像処
理方法。
7. A compressed image signal is input, the input image signal is expanded, the color space of the expanded image signal is converted, and an image signal having a predetermined spatial frequency and amplitude is generated. 7. The image processing method according to claim 6, wherein the color space-converted image signal and the generated image signal are combined.
【請求項8】 さらに、合成後の画像信号のダイナミッ
クレンジを所定範囲に制限することを特徴とする請求項
6または請求項7に記載された画像処理方法。
8. The method according to claim 1, wherein a dynamic range of the image signal after the synthesis is limited to a predetermined range.
8. The image processing method according to claim 6 or 7.
【請求項9】 カラー画像を圧縮して出力する画像処理
のプログラムコードが記録された記録媒体であって、前
記プログラムコードは少なくとも、 画像信号を入力するステップのコードと、 入力された画像信号の色空間を変換するステップのコー
ドと、 所定の空間周波数と振幅を有する画像信号を生成するス
テップのコードと、 色空間変換された画像信号および生成された画像信号を
合成するステップのコードと、 合成された画像信号を圧縮するステップのコードとを有
することを特徴とする記録媒体。
9. A recording medium on which a program code for image processing for compressing and outputting a color image is recorded, wherein the program code includes at least a code for inputting an image signal and a code for the input image signal. A code of a step of converting a color space, a code of a step of generating an image signal having a predetermined spatial frequency and an amplitude, a code of a step of synthesizing the image signal subjected to the color space conversion and the generated image signal, And a code for compressing the compressed image signal.
【請求項10】 さらに、圧縮処理された画像信号を入
力するステップのコードと、 入力された画像信号を伸長するステップのコードと、 伸長された画像信号の色空間を変換するステップのコー
ドと、 所定の空間周波数と振幅を有する画像信号を生成するス
テップのコードと、 色空間変換された画像信号および生成された画像信号を
合成するステップのコードとを有することを特徴とする
請求項9に記載された記録媒体。
10. A code of a step of inputting a compressed image signal, a code of a step of expanding the input image signal, a code of a step of converting a color space of the expanded image signal, 10. The code according to claim 9, further comprising a code of a step of generating an image signal having a predetermined spatial frequency and an amplitude, and a code of a step of synthesizing the color space-converted image signal and the generated image signal. Recording media.
【請求項11】 さらに、合成後の画像信号のダイナミ
ックレンジを所定範囲に制限するステップのコードとを
有することを特徴とする請求項9または請求項10に記載
された記録媒体。
11. The recording medium according to claim 9, further comprising a code for limiting a dynamic range of the synthesized image signal to a predetermined range.
JP2000182901A 2000-06-19 2000-06-19 Image processing apparatus and method Withdrawn JP2002010086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000182901A JP2002010086A (en) 2000-06-19 2000-06-19 Image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000182901A JP2002010086A (en) 2000-06-19 2000-06-19 Image processing apparatus and method

Publications (1)

Publication Number Publication Date
JP2002010086A true JP2002010086A (en) 2002-01-11

Family

ID=18683570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000182901A Withdrawn JP2002010086A (en) 2000-06-19 2000-06-19 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP2002010086A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8179548B2 (en) 2006-06-06 2012-05-15 Ricoh Company, Ltd. Apparatus and method for data processing
JP2013098625A (en) * 2011-10-28 2013-05-20 Canon Inc Image processing device, image processing method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8179548B2 (en) 2006-06-06 2012-05-15 Ricoh Company, Ltd. Apparatus and method for data processing
JP2013098625A (en) * 2011-10-28 2013-05-20 Canon Inc Image processing device, image processing method, and program

Similar Documents

Publication Publication Date Title
US8817328B2 (en) Image processing apparatus, image processing method, and image processing program
JP3608533B2 (en) Image processing via network
US20050018258A1 (en) Image processing apparatus, image processing method, and computer product
US7551796B2 (en) Image processing apparatus, image data generation and transmission method and image data generation and transmission program
US20040114172A1 (en) Method of and apparatus for processing image data, and computer product
JPH11127340A (en) Image processor and image processing method
US20080018920A1 (en) Image processing apparatus
US20070058224A1 (en) Image processing apparatus and image processing method
US20080043291A1 (en) Image forming apparatus
US6005673A (en) Facsimile machine and facsimile communication system
US7672004B2 (en) Format convertible image processing system, and program
JP5225201B2 (en) Image processing device
EP1487189A2 (en) Image forming apparatus and method and storage medium therefor
JP2002010086A (en) Image processing apparatus and method
US20060215205A1 (en) Image processing apparatus, image processing method and image processing program
JP4559303B2 (en) Image processing apparatus, image processing method, and image processing program
JP4496817B2 (en) Image processing via network
JP2006011754A (en) Image processing apparatus and image processing method
JP4368280B2 (en) Image processing device
JP4279710B2 (en) Image processing system
JP2006085455A (en) Image processing device
JP2006087006A (en) Image processing apparatus and image processing system
JP3258372B2 (en) Color facsimile apparatus and color image processing method
JP2006033572A (en) Image processor
JP2005051764A (en) Image processing apparatus, program, computer-readable storage medium, and image processing method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070904