JP3227181B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3227181B2
JP3227181B2 JP23618591A JP23618591A JP3227181B2 JP 3227181 B2 JP3227181 B2 JP 3227181B2 JP 23618591 A JP23618591 A JP 23618591A JP 23618591 A JP23618591 A JP 23618591A JP 3227181 B2 JP3227181 B2 JP 3227181B2
Authority
JP
Japan
Prior art keywords
data
image
encoding
block
compression
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP23618591A
Other languages
Japanese (ja)
Other versions
JPH0575871A (en
Inventor
杉浦  進
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP23618591A priority Critical patent/JP3227181B2/en
Priority to US07/945,396 priority patent/US6041144A/en
Publication of JPH0575871A publication Critical patent/JPH0575871A/en
Application granted granted Critical
Publication of JP3227181B2 publication Critical patent/JP3227181B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、カラー画像データの圧
縮、伸長に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to compression and decompression of color image data.

【0002】[0002]

【従来の技術】従来、画像を8×8ブロック単位でDC
Tし、これを単一の量子化テーブルを用いて量子化、ハ
フマン符号化するJPEG標準の符号化方式が知られて
いる。一方で、画像の特徴に応じて、各8×8ブロック
の量子化テーブルを切り替えることにより量子化、ハフ
マン符号化する独自の符号化方式も知られている。この
方法によれば、上記標準の符号化方式と比べて、画像の
特徴を考慮した効率良い符号化が行える。
2. Description of the Related Art Conventionally, an image is converted into a DC by 8 × 8 block units.
A JPEG standard coding method is known in which the data is quantized and Huffman-coded using a single quantization table. On the other hand, a unique coding method for performing quantization and Huffman coding by switching a quantization table for each 8 × 8 block according to the characteristics of an image is also known. According to this method, it is possible to perform efficient encoding in consideration of the characteristics of the image, as compared with the standard encoding method.

【0003】[0003]

【発明が解決しようとする課題】画質劣化の抑制/符号
化効率を考慮するならば、上記独自の符号化方式をでき
るだけ使用することが好まれる。しかしながら、上記独
自の符号化方式を使用しようとすると、上記標準の符号
化方式にしか対応していない一般の装置に対しての互換
が取れないという問題が有る。
If suppression of image quality deterioration / encoding efficiency is taken into consideration, it is preferable to use the above-mentioned unique encoding system as much as possible. However, the use of the unique encoding method has a problem that compatibility with general devices that only support the standard encoding method cannot be obtained.

【0004】本発明は上記問題点に鑑みてなされたもの
であり、画像のブロック毎に特徴に応じた量子化テーブ
ルで量子化する効率良い符号化を優先的に行うと共に、
更にはブロック毎の特徴に関わらず量子化する符号化方
式にも対応可能とすることを目的とする。特に、前者の
符号化方式で得られる符号化データは速やかに送出可能
とし、後者の符号化方式で得られる符号化データは前者
の符号化方式で得られる符号化データから生成すること
で送出可能とすることを一つの目的とする。更に本発明
は、上記前者の符号化方式が、ブロック毎に量子化テー
ブルを変更する方式であることに注目し、前者の符号化
においては、画像の特徴に応じた量子化をある程度行う
と共に、ここで得られる符号化データ量を所望量にする
ことも目的とする。
[0004] The present invention has been made in view of the above-mentioned problems, and efficiently performs efficient encoding in which quantization is performed using a quantization table corresponding to a feature for each block of an image.
Further, it is another object of the present invention to be able to cope with an encoding method that performs quantization regardless of the characteristics of each block. In particular, the coded data obtained by the former coding method can be transmitted immediately, and the coded data obtained by the latter coding method can be transmitted by generating from the coded data obtained by the former coding method. One purpose is to do. Furthermore, the present invention focuses on the former encoding method, which is a method of changing a quantization table for each block.In the former encoding, while performing quantization to some extent according to the characteristics of an image, It is also an object to make the amount of encoded data obtained here a desired amount.

【0005】[0005]

【課題を解決するための手段】上記課題を解決するた
め、本発明の画像処理装置によれば、画像データを入力
する入力手段と、該画像データを複数ブロックに分割す
る分割手段と、各ブロックを周波数変換する変換手段
と、前記各ブロックの画像の特徴を判定する判定手段
と、該変換手段により得られた各ブロックの周波数変換
係数を、前記ブロック毎の判定結果に応じた量子化テー
ブルを選択的に用いて量子化、符号化し、第1符号化デ
ータを得る符号化手段と、送信相手が前記ブロック毎の
量子化テーブルの選択的使用に基づいて量子化、符号化
した符号化データを受け付けるか否かに応じて、前記第
1符号化データ及び前記判定結果を示すデータを送信す
るか、前記第1符号化データを復号して前記各ブロック
に単一の量子化テーブルを用いて再符号化することによ
り得られた第2符号化データを送信するか、制御する制
御手段とを有し、前記判定手段は、前記第1符号化デー
タの符号量を所定符号量にするべく、前記判定結果を、
前記入力手段による画像データの入力量と前記符号化手
段による発生符号量を比較した結果に応じて修正するこ
とを特徴とする。
According to the present invention, there is provided an image processing apparatus comprising: an input unit for inputting image data; a dividing unit for dividing the image data into a plurality of blocks; A frequency conversion coefficient for each block, a determination means for determining the characteristics of the image of each block, and a frequency conversion coefficient for each block obtained by the conversion means. Encoding means for selectively using the quantization and encoding to obtain the first encoded data, and encoding data encoded and encoded by the transmission partner based on the selective use of the quantization table for each block. The first coded data and the data indicating the determination result are transmitted or the first coded data is decoded and a single quantization table Control means for transmitting or controlling the second encoded data obtained by re-encoding using the first encoded data, wherein the determining means sets the code amount of the first encoded data to a predetermined code amount Therefore, the determination result is
It is characterized in that correction is made according to the result of comparing the input amount of image data by the input means and the generated code amount by the encoding means.

【0006】[0006]

【実施例】本発明はカラー画像圧縮伸長に関する発明で
ある。特にJPEG(JointPhotograph
ic Expert Group)標準の符号化方式を
用いた場合の問題点を解決する方式と電子写真方式記録
装置のように、記録方式が定速記録の装置とを整合性良
く接続するための新たな方式を提供するものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention relates to a color image compression / decompression. In particular, JPEG (Joint Photograph)
ic Expert Group) A method for solving the problems when the standard coding method is used, and a new method for connecting a device having a constant-speed recording with good consistency, such as an electrophotographic recording device. Is provided.

【0007】JPEG方式による符号化方式では1ペー
ジ内の量子化テーブル、ハフマンテーブルは固定である
ため原稿中に周波数成分の低い写真調画像や、周波数成
分の高い文字画像等が混在している場合には復元画像は
必ずしも良好な画像復元とならなかった。カラーファク
シミリやカラーDTP通信では原稿中に上記混在画像が
多いのは当然で、この様な画像が良好に画像復元されな
ければ標準化符号方式とされても、この分野では利用し
にくい。しかしカラー画像符号化の様に相手と通信し情
報交換する分野では、独自の符号化方式を用いることは
広域での通信性を損なうので、極力標準方式を守るのが
一般的考え方である。本発明は自社モードで高画質、高
符号化効率の伝送が出来、しかも、JPEG標準圧縮方
式を用いた通信に関しても自社モードから変換できる方
式を備えた新しい圧縮通信方式を提供するものである。
In the JPEG coding method, the quantization table and Huffman table in one page are fixed, so that a photographic image having a low frequency component or a character image having a high frequency component is mixed in the original. However, the restored image was not always a good image. In color facsimile and color DTP communication, it is natural that there are many mixed images in a document, and even if a standardized encoding method is used unless such an image is properly restored, it is difficult to use in this field. However, in the field of exchanging information by communicating with the other party, such as color image coding, using a unique coding method impairs communication over a wide area, and the general idea is to adhere to the standard method as much as possible. SUMMARY OF THE INVENTION The present invention provides a new compression communication system which is capable of transmitting high image quality and high coding efficiency in the in-house mode, and has a system capable of converting from the in-house mode for communication using the JPEG standard compression system.

【0008】本発明は上記考え方に基づき、異機種間と
の交信には標準符号化方式を用い、高精細画像を伝送し
たければ符号化効率を落し、高符号化効率を必要とする
時は画質を落とし伝送する。もしも相手が同じ機種であ
れば、自社モードで高画質、高符号化効率伝送ができる
ようにしたものである。
[0008] Based on the above concept, the present invention uses a standard encoding system for communication between different types of devices. If a high definition image is to be transmitted, the encoding efficiency is reduced. Transmit with reduced image quality. If the other party is the same model, high quality and high coding efficiency transmission can be performed in the company mode.

【0009】本発明の実施例では、画像の種類を示す像
域判定量に応じ符号化テーブルを8×8ブロック単位で
適宜変更し、像域情報と圧縮データを記憶させる。通信
相手が標準モードの圧縮データを要求する場合には、1
頁分の像域情報に基づいて、最適な符号化テーブルを設
定する。またはユーザーが操作パネルから指定した符号
化テーブルを用いる。符号化テーブルが設定されたら、
像域情報と圧縮データを用いて伸長する。伸長された復
元データを前に述べた符号化テーブルを用いて1頁分テ
ーブルを変えずに標準モードで符号化する。符号化され
たデータは他の圧縮ページメモリに記憶させる。1頁分
記憶された圧縮データは伝送路を通じ相手側に伝送され
る。
In the embodiment of the present invention, the encoding table is appropriately changed in units of 8 × 8 blocks according to the image area determination amount indicating the type of image, and the image area information and the compressed data are stored. If the communication partner requests compressed data in the standard mode, 1
An optimum encoding table is set based on the image area information for the page. Alternatively, an encoding table specified by the user from the operation panel is used. Once the encoding table is set,
Decompress using image area information and compressed data. The decompressed restored data is encoded in the standard mode using the above-described encoding table without changing the table for one page. The encoded data is stored in another compressed page memory. The compressed data stored for one page is transmitted to the other side through the transmission path.

【0010】一方、電子写真記録のように記録速度が比
較的早く、記録速度が定速を要求する装置とインターフ
ェイスするのに1ページ分の半導体の実メモリを持った
のではコストが高くなり実用的でないので、圧縮メモリ
で記憶させ、伸長させ乍、記録データを記録装置に伝送
する方式を用いる。このとき問題と成るのが、原稿によ
り、またホストから伝送される画像データの情報量がそ
の画質により異なるため固定の圧縮メモリでは、ある場
合はオーバーフローし、ある場合はメモリが余る様にな
る。そこで、メモリ量を一定に制御することが要求され
る。この場合も、自社独自モードと標準モードの両方を
考えに入れ、相互に変換できる様にする方式を提供す
る。即ち、ホストに蓄えられている圧縮画像は符号効率
を落し、画質を良くし、データ量の多い場合もあれば、
符号効率を良くして、データ量の少ない場合もある。更
には同じ画像でも圧縮の仕方によりデータ量が異なる。
しかし、電子写真記録のように記録時に定速記録が要求
される記録方式では記録のための画像データは通常一定
の半導体メモリに記録してから電子写真記録装置にデー
タ転送する。従って、ホストから来る圧縮データが常に
変化するのでは電子写真記録の為のバッファリングが行
えないことに成る。本発明は、入力スキャナからの画像
データと、ホストからの圧縮又は非圧縮データを高画質
にしかも一定のバファリングメモリに記録できるように
し、定速記録装置にメモリ量少なく安価に接続できるよ
うな装置を提供するものである。
On the other hand, if an actual memory of one page is provided for interfacing with a device that requires a relatively high recording speed, such as electrophotographic recording, and requires a constant recording speed, the cost is high and practical use is not possible. Therefore, a method is used in which recording data is transmitted to a recording device while being stored in a compression memory and decompressed. At this time, a problem arises in that the amount of information of image data transmitted from the host differs depending on the original and the image quality, so that a fixed compression memory overflows in some cases and leaves extra memory in some cases. Therefore, it is required to control the amount of memory constant. In this case as well, a method is provided that takes into account both the company's own mode and the standard mode, and enables mutual conversion. That is, the compressed image stored in the host has reduced coding efficiency, improved image quality, and sometimes has a large data amount.
In some cases, the code efficiency is improved and the data amount is small. Further, the data amount of the same image differs depending on the compression method.
However, in a recording method such as electrophotographic recording that requires constant-speed recording at the time of recording, image data for recording is usually recorded in a fixed semiconductor memory and then transferred to an electrophotographic recording device. Therefore, if the compressed data from the host constantly changes, buffering for electrophotographic recording cannot be performed. The present invention enables image data from an input scanner and compressed or uncompressed data from a host to be recorded in a high-quality and fixed buffering memory, and can be connected to a constant-speed recording device with a small amount of memory and inexpensively. An apparatus is provided.

【0011】本発明を実現するための方法は、原画の画
像位置情報(例えばアドレスの進み具合)と圧縮データ
の進み具合(同じくアドレスの進み具合)と圧縮すべき
8×8ブロックの像域情報の3つからブロック内を圧縮
する符号化テーブルを選択する。原画データの進み方よ
り圧縮データの進み方の方が遅く、しかも次に圧縮すべ
きブロックが高周波成分が少ない階調画像であれば次の
符号化テーブルとし、圧縮効率が大いに促進されるテー
ブルを選択する。ブロック内が高周波成分の高い文字画
像等の場合は圧縮効率がやや促進される符号化テーブル
を選択する。従って、ブロック内像域から決定される最
適符号化テーブルも、メモリ制御により実際に符号化す
るテーブルが異なる。従って、像域情報メモリはメモリ
量制御回路によって修正される。この様にし、原画の情
報量にかかわらず圧縮メモリ量は一定に保たれる。以上
はメモリ一定制御方式の概要である。
The method for realizing the present invention comprises the following steps: image position information of an original image (for example, the advance of an address), advance of compressed data (also the advance of an address), and image area information of an 8 × 8 block to be compressed. An encoding table for compressing the inside of the block is selected from the three. If the compressed data advances more slowly than the original image data, and if the next block to be compressed is a gradation image with few high-frequency components, the next encoding table is used as the next encoding table, and the table that greatly enhances the compression efficiency is used. select. If the block contains a character image or the like having a high frequency component, an encoding table that slightly increases the compression efficiency is selected. Therefore, the optimal encoding table determined from the image area in the block also differs from the table actually encoded by the memory control. Therefore, the image area information memory is modified by the memory amount control circuit. In this way, the amount of compressed memory is kept constant regardless of the information amount of the original image. The above is the outline of the constant memory control method.

【0012】また本発明を実現するための方法は、入力
装置からの原画、またはホストからの伸長画像の画像位
置情報(例えばアドレスの進み具合)と圧縮データまた
は再圧縮データの進み具合(同じくアドレスの進み具
合)と圧縮すべき8×8ブロックの像域情報の3つから
ブロック内を圧縮する符号化テーブルを選択する。圧縮
前画像データの処理進み具合より圧縮データのメモリ使
用具合の方が早い、即ち圧縮効率が一定メモリ量に比較
し悪い場合で、しかも次に圧縮すべきブロックが高周波
成分が少ない階調画像であれば次の符号化テーブルと
し、圧縮効率が大いに促進される圧縮テーブルを選択す
る。ブロック内が高周波成分の高い文字画像等の場合は
圧縮効率がやや促進される圧縮テーブルを選択する。従
って、圧縮テーブルはブロック内像域情報と入力画像の
進行状況に対する圧縮メモリの使用速度により実際に圧
縮するテーブルが決定される。この様にすると、原画の
情報量またはホストからの画像情報量にかかわらず圧縮
メモリ量は一定に保たれる。以上は本発明のメモリ一定
制御方式の概要である。
Further, the method for realizing the present invention comprises the following steps: the image position information (for example, the advance of the address) of the original image from the input device or the decompressed image from the host and the advance of the compressed data or recompressed data (also the address) An encoding table for compressing the inside of the block is selected from three of the image area information of the 8 × 8 block to be compressed. The memory usage of the compressed data is faster than the progress of the processing of the pre-compression image data, that is, when the compression efficiency is inferior to a certain amount of memory, and the next block to be compressed is a gradation image with a small high frequency component. If there is, the next encoding table is selected, and a compression table that greatly enhances compression efficiency is selected. If the block contains a character image or the like having a high high-frequency component, a compression table that slightly increases the compression efficiency is selected. Therefore, the actual compression table is determined based on the intra-block image area information and the use speed of the compression memory for the progress of the input image. In this way, the amount of compressed memory is kept constant regardless of the amount of information of the original image or the amount of image information from the host. The above is the outline of the constant memory control method of the present invention.

【0013】次に、図面を用いて、本発明の実施例を詳
細に説明する。
Next, an embodiment of the present invention will be described in detail with reference to the drawings.

【0014】図1は、本実施例の画像処理装置の全体構
成を示すブロック図である。図1において、1はカラー
複写機であり、カラースキャナ101及びカラープリン
タ102から構成される。また、双方を制御するための
コントローラを有する。2はカラー複写機インターフェ
ースであり、後述のカラーワークステーション119
と、カラー複写機1とを接続し、更に内部において、画
像データのトリミング、圧縮、蓄積、伸長、変倍等の処
理を行う。103、122はカラー複写機1とカラー複
写機インターフェース2とを接続するためのビデオイン
ターフェースであり、それぞれ画像データとコマンドデ
ータを通信する。104はトリミング回路で、入力画像
の指定した部分を105以降に出力する。同様に画像デ
ータの出力時には指定した部分をカラープリンタ102
で画像記録するためのものである。105はカラースキ
ャナ101から入力されたRGBデータを標準色空間の
rgbデータに変換する変換回路で、ゲートアレイ、R
AM、ROM等のテーブル変換器で構成される。106
は逆に、標準の色空間のrgbデータからプリンタ固有
の色特性に合わせたYMCK信号に変換する変換回路で
ある。これも通常はテーブル変換器で変換される。10
7はセレクタで入出力データの方向選択を行う。108
はダブルバッファメモリで、基本的にはJPEG標準の
8ラインX画素走査幅分のラインメモリで構成される。
例えば、16ペルA4 3色、横幅分とすると8×16
×210×2×3=161.3Kbytesのメモリが
必要になる。109は8×8のブロック毎に画像データ
をDCT(離散コサイン変換)により周波数変換する回
路である。132は8×8画素ブロック分毎に原画像の
種類(文字、写真、網点等)を判断する像域判定回路で
ある。
FIG. 1 is a block diagram showing the overall configuration of the image processing apparatus according to the present embodiment. In FIG. 1, reference numeral 1 denotes a color copying machine, which includes a color scanner 101 and a color printer 102. In addition, it has a controller for controlling both. Reference numeral 2 denotes a color copier interface, which is a color workstation 119 described later.
And the color copier 1, and further performs processing such as trimming, compression, storage, decompression, and scaling of image data inside. Reference numerals 103 and 122 denote video interfaces for connecting the color copying machine 1 and the color copying machine interface 2, and communicate image data and command data, respectively. Reference numeral 104 denotes a trimming circuit which outputs a designated portion of the input image to 105 and thereafter. Similarly, when outputting image data, the designated portion is
For recording an image. A conversion circuit 105 converts the RGB data input from the color scanner 101 into rgb data in a standard color space.
It is composed of a table converter such as AM and ROM. 106
Conversely, a conversion circuit converts rgb data in a standard color space into YMCK signals matched to the color characteristics unique to the printer. This is also usually converted by a table converter. 10
A selector 7 selects the direction of input / output data. 108
Is a double buffer memory, which is basically composed of a line memory for a JPEG standard 8-line X pixel scanning width.
For example, if 16 pels A4 3 colors and width are 8 × 16
× 210 × 2 × 3 = 161.3 Kbytes of memory is required. A circuit 109 frequency-converts image data by DCT (discrete cosine transform) for each 8 × 8 block. Reference numeral 132 denotes an image area determination circuit that determines the type (character, photograph, halftone dot, etc.) of the original image for each 8 × 8 pixel block.

【0015】像域判定回路132はDCT回路109の
直流部分と交流部分の関係から判断する方法等、各種の
方法で像域を判定できる。この像域判定量は、注目部分
が文字細線等高周波成分を多く含む画像領域では大きな
値を与え、人の顔の部分の画像領域のように周波数成分
が低周波成分に多く成分が有る画像では小さい値を与え
る。この像域判定量としては例えば、3ビットのデータ
を与える。メモリ112にはこのようにして判定した8
×8ブロックの像域判定データが格納される。この部分
のメモリ量は2×210×16×8/(8×8×2)=
420bytesのメモリ量が必要と成る。110は1
32の像域判定量に応じ最適な量子化テーブルとハフマ
ンテーブルを選択し、JPEGのADCT方式によって
圧縮する圧縮回路である。即ち、8×8ブロック毎に符
号化対象ブロックの像域にあったテーブルを選択し符号
化するので、量子化テーブルが固定の標準符号化では無
くなるが、画像品質と符号化効率を高めるには極めて効
果的となる。この圧縮データとメモリ109の像域情報
データは1頁分の圧縮ページメモリ111と1頁分の像
域情報テーブル112に格納される。後述のように送信
相手が前述の量子化テーブルの切り替えを行う独自圧縮
方式を解読出来るホストコンピュータであれば116の
scsiインターフェイスを通じホストに圧縮データと
像域情報データを伝送する。一方、送信相手が独自圧縮
方式を解読できないホストで有れば、次のようにして標
準JPEG方式に変換して伝送する。
The image area determination circuit 132 can determine the image area by various methods such as a method of determining from the relationship between the DC portion and the AC portion of the DCT circuit 109. This image area determination amount gives a large value in an image region in which the target portion includes many high-frequency components such as character thin lines, and in an image in which the frequency components are many in low-frequency components such as an image region of a human face portion. Give a small value. As the image area determination amount, for example, 3-bit data is given. The memory 112 determined in this way is 8
Stores image area determination data of × 8 blocks. The memory amount of this part is 2 × 210 × 16 × 8 / (8 × 8 × 2) =
420 bytes of memory is required. 110 is 1
This is a compression circuit that selects an optimal quantization table and Huffman table according to the image area determination amount of 32, and compresses the data by the JPEG ADCT method. That is, since a table that is in the image area of the current block is selected and coded for each 8 × 8 block, the quantization table is no longer fixed standard coding, but to improve image quality and coding efficiency. It is extremely effective. The compressed data and the image area information data in the memory 109 are stored in a compressed page memory 111 for one page and an image area information table 112 for one page. As will be described later, if the transmission destination is a host computer capable of decoding the original compression method for switching the quantization table, the compressed data and the image area information data are transmitted to the host through the scsi interface 116. On the other hand, if the transmission destination is a host that cannot decode the original compression method, the data is converted to the standard JPEG method and transmitted as follows.

【0016】113は圧縮データ伸長回路である。伸長
時に112の像域情報テーブルを利用し、圧縮の為に使
用した量子化テーブルが判明するので、伸長時にはその
テーブルに対応する逆量子化テーブルを用いて伸長す
る。
Reference numeral 113 denotes a compressed data decompression circuit. Since the quantization table used for compression is determined by using the image area information table 112 at the time of decompression, the decompression is performed by using the inverse quantization table corresponding to the table at the time of decompression.

【0017】伸長復元された画像データは変倍回路を通
じ縮小拡大されながら、108のダブルバッファメモリ
に書き込まれる。書き込まれた復元画像は、マニュアル
又はオートで指定された量子化テーブルを用い、1頁全
面的に圧縮する。この方式はJPEG標準方式である。
圧縮されたデータは115の圧縮バッファメモリを通じ
116のSCSIを通じホストにデータ伝送される。こ
のときは、112の像域情報データはホスト側に伝送せ
ず、1頁分の圧縮テーブルデータを伝送する。119は
カラーワークステーションを構成するホストコンピュー
タで、Unix,X−windowの環境下で作動す
る。言語は例えばC言語を用いる120はSCSIイン
ターフェイス、121はソフトウェア的に作動する符号
化ソフトである。124はカラー複写機1、カラー複写
機インターフェイス2を制御するアプリケーションプロ
グラムである。これにより、カラースキャナ101から
のカラー画像を圧縮しホストコンピュータ119に取り
込むことが出来る。
The decompressed and restored image data is written into the double buffer memory 108 while being reduced and enlarged through a scaling circuit. The written restored image is entirely compressed on one page by using a quantization table designated manually or automatically. This method is a JPEG standard method.
The compressed data is transmitted to the host through the SCSI of 116 through the compression buffer memory of 115. At this time, the image area information data 112 is not transmitted to the host side, but the compression table data for one page is transmitted. Reference numeral 119 denotes a host computer which constitutes a color workstation, and operates under a Unix, X-window environment. The language uses, for example, the C language, 120 is a SCSI interface, and 121 is coding software that operates in software. Reference numeral 124 denotes an application program for controlling the color copying machine 1 and the color copying machine interface 2. Thus, the color image from the color scanner 101 can be compressed and taken into the host computer 119.

【0018】117はカラー複写機インターフェイスの
各部を制御するためのコントローラ、118はカラーワ
ークステーションからのコマンドを解析し、制御信号を
発生するコマンドインタープリタである。また、例えば
エラーをホストコンピュータに知らせ、全体をインター
ロックされるなどの動作を行う。129、130、13
1はデータ量を計測するためのカウンタ、132はカウ
ンタ129とカウンタ131のいずれかの値を選択する
ためのセレクタ、115はカウンタ129〜131のカ
ウント値に応じてデータ量をコントロールするためのデ
ータ量コントローラである。133は符号化パラメータ
(量子化テーブル、ハフマンテーブル等)の選択をマニ
ュアルで行うための操作部である。
Reference numeral 117 denotes a controller for controlling each section of the color copier interface, and 118 denotes a command interpreter for analyzing commands from the color workstation and generating control signals. In addition, for example, an error is notified to the host computer, and an operation of interlocking the whole is performed. 129, 130, 13
1 is a counter for measuring the data amount, 132 is a selector for selecting one of the counters 129 and 131, and 115 is data for controlling the data amount according to the count values of the counters 129 to 131. Quantity controller. Reference numeral 133 denotes an operation unit for manually selecting an encoding parameter (a quantization table, a Huffman table, and the like).

【0019】以上の構成で行われる処理を説明する。The processing performed by the above configuration will be described.

【0020】 (1)カラースキャナ101からの画像入力 カラースキャナ101は、R(レッド)、G(グリー
ン)、B(ブルー)のラインセンサから構成され、原稿
を走査し、各々8ビットのデジタル信号を発生する。発
生したデジタル信号は、画素毎にRGBの点順次に、イ
ンターフェース103を介してカラー複写機インターフ
ェース2に入力される。
(1) Image Input from Color Scanner 101 The color scanner 101 is composed of R (red), G (green), and B (blue) line sensors, scans an original, and outputs an 8-bit digital signal. Occurs. The generated digital signal is input to the color copier interface 2 via the interface 103 in RGB dot sequence for each pixel.

【0021】 (2)カラー複写機インターフェース2の内部処理 カラースキャナ101から入力された画素毎のRGB信
号は、トリミング回路104で必要な領域のみトリミン
グされ、変換回路105で標準色空間のr,g,b信号
に変換され、同時にr,g,bの各信号はパラレル信号
として、ダブルバッファ108に送られる。これ以降の
処理は、r,g,bの各信号について各々並列に同様の
処理が行われる。
(2) Internal Processing of the Color Copier Interface 2 The RGB signal for each pixel input from the color scanner 101 is trimmed only in a necessary area by the trimming circuit 104, and r and g in the standard color space are converted by the conversion circuit 105. , B signals, and at the same time, the r, g, b signals are sent to the double buffer 108 as parallel signals. In the subsequent processing, similar processing is performed in parallel on each of the r, g, and b signals.

【0022】また、カウンタ129は入力された画像デ
ータの量を計測する。
The counter 129 measures the amount of input image data.

【0023】(3)データ圧縮 本実施例におけるデータ圧縮は、基本的には以下の様に
行われる。
(3) Data Compression Data compression in this embodiment is basically performed as follows.

【0024】データ圧縮のアルゴリズムとしては、可変
長圧縮が用いられる。例えば、JPEG(Joint
Photographic Expert Grou
p)のADCT(Adaptive Discrete
Cosine Transform)方式のように画
像データに対して、ブロック毎に周波数変換を施し、所
定の量子化パラメータによって量子化したのちにブロッ
ク内の直流成分は予測誤差をハフマン符号化し、交流成
分はジグザグにスキャンし、ハフマン符号化を行う。
Variable length compression is used as an algorithm for data compression. For example, JPEG (Joint
Photographic Expert Grou
p) ADCT (Adaptive Discrete)
As in the case of the Cosine Transform method, image data is subjected to frequency conversion for each block, quantized by a predetermined quantization parameter, and then a DC component in the block is subjected to Huffman coding of a prediction error, and an AC component is zigzag. Scan and perform Huffman coding.

【0025】この圧縮回路110の構成を図2に示す。FIG. 2 shows the configuration of the compression circuit 110.

【0026】図2において、201は入力された周波数
変換係数に対して線形量子化を行う量子化器、202は
量子化係数を記憶するROM、203は量子化された変
換係数をハフマン符号化するハフマン符号化部である。
In FIG. 2, reference numeral 201 denotes a quantizer for performing linear quantization on an inputted frequency transform coefficient, 202 denotes a ROM for storing the quantized coefficient, and 203 denotes Huffman coding of the quantized transform coefficient. Huffman encoding unit.

【0027】ROM202に格納されている量子化係数
は8×8の2次元のマトリックスで、M1からM8の8種
類である。M1からM8に近づくにつれ、高周波成分の量
子化係数の値は大きくなり、量子化ステップが大きくな
るようにあらかじめ決められている。この8種類のマト
リックスを像域判定回路132からの像域判定データ
(3ビット)により選択するようにしている。このよう
に量子化マトリックスを圧縮の対象となる画像の性質に
応じて選択することにより、画質の劣化をおさえて、高
圧縮率のデータ圧縮が可能となる。
The quantized coefficients stored in the ROM 202 are 8 × 8 two-dimensional matrices of eight types M 1 to M 8 . Nears from M 1 to M 8, the value of the quantized coefficients of the high frequency components becomes larger, it is predetermined as the quantization step becomes larger. The eight types of matrices are selected based on the image area determination data (3 bits) from the image area determination circuit 132. By selecting the quantization matrix in accordance with the characteristics of the image to be compressed in this way, it is possible to suppress the deterioration of the image quality and perform data compression at a high compression rate.

【0028】以上のデータ圧縮は、カラースキャナ10
1による画像読取と並列に行うことができる。圧縮され
た画像データは、圧縮メモリ111に格納される。この
とき、カウンタ130は圧縮メモリのアドレスをカウン
トすることにより、メモリに格納されたデータの量(メ
モリの空容量)を計測する。
The above data compression is performed by the color scanner 10.
1 can be performed in parallel with the image reading. The compressed image data is stored in the compression memory 111. At this time, the counter 130 measures the amount of data stored in the memory (the free space of the memory) by counting the addresses of the compression memory.

【0029】一方、ブロック毎の像域判定データは、メ
モリ112に格納される。
On the other hand, the image area determination data for each block is stored in the memory 112.

【0030】(4)データ伸長 データ伸長は、圧縮メモリ111に格納された圧縮画像
データをブロック毎の像域判定データを用いてデータ圧
縮とは逆の手順で行う。
(4) Data Decompression Data decompression is performed on the compressed image data stored in the compression memory 111 by using the image area determination data for each block in a procedure reverse to that of data compression.

【0031】このとき、カウンタ130は圧縮メモリの
アドレスをカウントすることによりメモリに格納された
データの量(メモリの空容量)を計測する。一方、カウ
ンタ131は伸長された後の画像データの量を計測す
る。
At this time, the counter 130 measures the amount of data stored in the memory (the free space of the memory) by counting the addresses of the compression memory. On the other hand, the counter 131 measures the amount of decompressed image data.

【0032】(5)変倍 伸長された画像データは、必要に応じて変倍回路114
において変倍処理されダブルバッファ108に送られ
る。ダブルバッファ108以降は、ループを形成してお
り、同様の処理を複数回行うことが可能である。
(5) Magnification The expanded image data is supplied to a magnification circuit 114 as necessary.
Is subjected to a scaling process and sent to the double buffer 108. After the double buffer 108, a loop is formed, and the same processing can be performed a plurality of times.

【0033】この変倍回路114を設けることにより、
例えば、カラースキャナ101の画像読み取りの際に可
能な変倍率をこえる変倍率を得ることができる。
By providing this scaling circuit 114,
For example, it is possible to obtain a magnification that exceeds the magnification that is possible when reading an image with the color scanner 101.

【0034】(6)像域判定 入力画像の特徴(文字、写真、である度合い)は像域判
定回路132において判定される。
(6) Image Area Judgment The characteristics of the input image (the degree of being a character or a photograph) are judged by the image area judgment circuit 132.

【0035】判定は基本的にはDCT部109において
ブロック毎に周波数変換された変換係数の高周波成分の
大きさを各ブロック8段階に区分することにより行う。
このようにして、高周波成分が多い文字画像である度合
いを示す像域判定データ3ビットが生成される。
The determination is basically performed by dividing the magnitude of the high-frequency component of the transform coefficient frequency-converted for each block in the DCT section 109 into eight stages for each block.
In this manner, three bits of image area determination data indicating the degree of a character image having many high frequency components are generated.

【0036】像域判定回路132は図3の様な構成とな
っている。301は高周波成分検出回路であり、DCT
の変換係数の交流部分を調べることにより、高周波成分
の大きさを示す像域判定データを生成する。302は判
定データ修正回路であり、データコントローラ115か
らの修正信号に応じて、像域判定データを修正する。
The image area determination circuit 132 has a configuration as shown in FIG. Reference numeral 301 denotes a high frequency component detection circuit,
By examining the AC part of the conversion coefficient, image area determination data indicating the magnitude of the high frequency component is generated. Reference numeral 302 denotes a determination data correction circuit that corrects image area determination data according to a correction signal from the data controller 115.

【0037】データコントローラ115はカラースキャ
ナ101からの画像データの入力の場合には、カウンタ
129とカウンタ130のカウント値を監視し、画像デ
ータの入力量と圧縮データの増加量を比較することによ
り修正信号を発生する。
When image data is input from the color scanner 101, the data controller 115 monitors the count values of the counters 129 and 130, and corrects by comparing the input amount of image data with the increase amount of compressed data. Generate a signal.

【0038】例えば、画像データの入力量に対して、圧
縮データの増加量が大きい場合には、圧縮率を上げるた
め判定データを1増加させる。即ち、M5のテーブルを
使うべき場合には、M6のテーブルを使うように修正す
る。修正信号は、入力量と増加量との関係に応じて多値
信号とすることができる。
For example, when the increase amount of the compressed data is larger than the input amount of the image data, the judgment data is increased by 1 in order to increase the compression ratio. That is, when should use a table of M 5 is modified to use the table of M 6. The correction signal can be a multi-level signal according to the relationship between the input amount and the increase amount.

【0039】同様に圧縮メモリ111に格納された圧縮
データの量を変更して再度圧縮メモリ111に格納する
場合には、カウンタ130とカウンタ131のカウント
値を比較することにより修正信号を発生する。
Similarly, when the amount of compressed data stored in the compression memory 111 is changed and stored again in the compression memory 111, a correction signal is generated by comparing the count values of the counter 130 and the counter 131.

【0040】また、データ量コントローラ115は、コ
マンドインターフェース122から入力され、コントロ
ーラ117を介して送られる原稿のサイズ情報に応じて
修正信号を発生する。本実施例においては、カラースキ
ャナ101はA3読み取り、圧縮メモリ111もA3
1枚分の容量を有する。ここで例えば、A4の原稿が読
み取られた場合には、原稿サイズ検知によって検知され
たサイズ情報がデータ量コントローラに送られ、サイズ
情報を加味した制御が行われる。
The data amount controller 115 generates a correction signal according to the size information of the document input from the command interface 122 and sent via the controller 117. In this embodiment, the color scanner 101 reads A3 and the compression memory 111 also reads A3.
It has the capacity of one sheet. Here, for example, when an A4 document is read, the size information detected by the document size detection is sent to the data amount controller, and control is performed in consideration of the size information.

【0041】更に詳しく説明すると、予め例えば、スキ
ャナやホストコンピュータから入力されるカラー画像デ
ータ量は指定されているため、入力すべき全画像データ
量は予め計算できる。一方、圧縮画像データメモリ量も
ハード的に固定されているため一定量の値に固定されて
いる。例えば、入力画像データ量が10Mbytesで
圧縮メモリ量が1Mbytesとすると、入力データが
5Mbytesまで進んできて、圧縮データが0.6M
bytesだとすると、圧縮効率が悪いことに成り、以
降は圧縮効率を高めるように115から指令が出る。従
って、109内の像域判断回路が高周波成分画像と判断
しても115からの指令が高圧縮効率を要求しないとき
より画質を落しても圧縮効率を高めるような圧縮テーブ
ルを選択する。逆に入力データが0.5Mbytesに
達しても、出力データが0.4Mbytesであれば、
例え、高周波成分の少ない画像がきても画質を高め圧縮
効率を低めるような圧縮テーブルを選択する。このよう
にして、圧縮メモリ量を原画の情報量にかかわらず常に
一定に成るよう制御する。
More specifically, since the amount of color image data input from, for example, a scanner or a host computer is specified in advance, the total amount of image data to be input can be calculated in advance. On the other hand, the amount of compressed image data memory is also fixed at a fixed value because it is fixed in hardware. For example, if the input image data amount is 10 Mbytes and the compression memory amount is 1 Mbytes, the input data advances to 5 Mbytes and the compressed data becomes 0.6 Mbytes.
If it is bytes, the compression efficiency is poor, and thereafter, a command is issued from 115 to increase the compression efficiency. Therefore, even if the image area determination circuit in 109 determines that the image is a high-frequency component image, a compression table is selected that increases the compression efficiency even when the image quality is lower than when the instruction from 115 does not require high compression efficiency. Conversely, even if the input data reaches 0.5 Mbytes, if the output data is 0.4 Mbytes,
For example, a compression table is selected that increases the image quality and lowers the compression efficiency even when an image with a small high-frequency component comes. In this way, the amount of compressed memory is controlled to be constant regardless of the amount of information of the original image.

【0042】(7)コンピュータからの入力 ホストコンピュータ119からは、SCSI I/F1
16を介して、生画像データ圧縮画像データの入力が可
能である。
(7) Input from Computer The host computer 119 sends a SCSI I / F1
16 allows input of raw image data and compressed image data.

【0043】入力されるのが生画像データの場合には、
SCSI I/F116からダブルバッファ108に送
られ、以降の処理は上述の通りである。
When the input is raw image data,
The data is sent from the SCSI I / F 116 to the double buffer 108, and the subsequent processing is as described above.

【0044】一方圧縮画像データが入力される場合に
は、圧縮が上記の様な像域によって量子化パラメータを
変化させるもの(以下「独自モード」という)であるか
1画面内において、量子化パラメータが一定のもの(以
下「標準モード」という)であるかに応じて以下の様に
処理される。
On the other hand, when the compressed image data is input, whether the compression changes the quantization parameter according to the image area as described above (hereinafter referred to as “independent mode”), Is processed as follows depending on whether is a fixed one (hereinafter, referred to as “standard mode”).

【0045】独自モード圧縮データの場合には、SCS
I I/F116を通して圧縮画像データが圧縮メモリ
111に格納され、ブロック毎の像域判定データがメモ
リ112に格納される。
In the case of original mode compressed data, the SCS
The compressed image data is stored in the compression memory 111 through the I / F 116, and the image area determination data for each block is stored in the memory 112.

【0046】一方、標準モード圧縮データの場合には、
圧縮画像データが圧縮メモリ111に格納され1画面分
の量子化テーブル(1種類)がメモリ112に格納され
る。この場合には、1度伸長回路113によって伸長
し、再度独自モード圧縮して圧縮メモリ111に再度格
納することができる。
On the other hand, in the case of standard mode compressed data,
The compressed image data is stored in the compression memory 111, and a quantization table (one type) for one screen is stored in the memory 112. In this case, the image data can be decompressed once by the decompression circuit 113, compressed in the unique mode again, and stored in the compression memory 111 again.

【0047】特に、1画面分の圧縮画像データの量が、
圧縮メモリ111の容量を超える場合には再圧縮し、圧
縮メモリ111に1画面分格納できるようにする。圧縮
画像データの量は、ホストコンピュータ119よりコマ
ンドインタープリタ118に送られてくる。
In particular, the amount of compressed image data for one screen is
When the capacity exceeds the capacity of the compression memory 111, it is recompressed so that one screen can be stored in the compression memory 111. The amount of the compressed image data is sent from the host computer 119 to the command interpreter 118.

【0048】(8)画像再生 圧縮メモリ111に格納された圧縮データに基づいて画
像を再生する際は、伸長された画像データがカラープリ
ンタ102の記録スピードに相当する実時間処理が行わ
れる。
(8) Image Reproduction When reproducing an image based on the compressed data stored in the compression memory 111, the decompressed image data is subjected to real-time processing corresponding to the recording speed of the color printer 102.

【0049】伸長、変倍を経てダブルバッファ108に
送られた復元画像データは、107のセレクタにより色
空間変換回路106において記録色信号(Y,M,C,
K)に変換され、トリミング回路104において必要な
部分のみトリミングされてビデオインターフェース10
3を通じてカラープリンタ102に送られる。
The restored image data sent to the double buffer 108 through expansion and scaling is converted by the selector 107 into a color space conversion circuit 106 to record color signals (Y, M, C,
K), and only a necessary portion is trimmed in the trimming circuit 104, so that the video interface 10
3 to the color printer 102.

【0050】一方、記録開始等を制御する制御コマンド
は、ビデオI/F122を通じて送られる。
On the other hand, a control command for controlling the start of recording and the like is sent through the video I / F 122.

【0051】なお、本実施例では、1組の感光ドラム、
転写ドラムでY,M,C,Kの4回転写を繰り返す多重
転写式の電子写真プリンタを用いているのでY,M,
C,Kの1画面分の画像データを順次プリンタに送る必
要がある。そこで圧縮メモリ111から4色分4回の読
み出しを繰り返し、色変換回路106ではY,M,C,
Kの順に1画面分のデータを出力する。
In this embodiment, one set of photosensitive drums,
Since a multi-transfer type electrophotographic printer that repeats the transfer four times of Y, M, C, and K on the transfer drum is used,
It is necessary to sequentially send image data for one screen of C and K to the printer. Therefore, reading of four times for four colors from the compression memory 111 is repeated, and the color conversion circuit 106 reads Y, M, C,
Data for one screen is output in the order of K.

【0052】(9)コンピュータへの出力 SCSI I/F116を介して生画像データ及び圧縮
画像データの出力が可能である。
(9) Output to Computer The raw image data and the compressed image data can be output via the SCSI I / F 116.

【0053】生画像データは、ダブルバッファ108か
らSCSI I/F116を介してホストコンピュータ
119に送られる。
The raw image data is sent from the double buffer 108 to the host computer 119 via the SCSI I / F 116.

【0054】一方、圧縮画像データの場合には、出力先
のコンピュータが独自モードの圧縮画像データを受け付
けるか否かにより処理が異なる。
On the other hand, in the case of compressed image data, the processing differs depending on whether or not the output destination computer accepts the compressed image data in the unique mode.

【0055】通信相手が独自モードを受け付ける相手で
あればこの圧縮データと圧縮テーブルデータを伝送する
ことにより高画質、高符号化効率のカラー画像データを
伝送できる。しかし、相手が標準モードのJPEG方式
のみしかサポートしていない場合にはこのデータを伝送
できない。従って、以下の方法で標準JPEG方式に変
換しながら伝送する。
If the communication partner is a partner that accepts the unique mode, color image data with high image quality and high coding efficiency can be transmitted by transmitting the compressed data and the compression table data. However, this data cannot be transmitted if the other party supports only the standard mode JPEG system. Therefore, the data is transmitted while being converted into the standard JPEG format by the following method.

【0056】1頁の独自モードで圧縮されたデータと8
×8ブロック内情報と圧縮メモリ進行状況情報とから決
定された112のテーブル情報データを用い、8×8ブ
ロック毎に113の伸長回路により伸長復元する。伸長
復元されたデータは114の変倍回路を通じ、108の
ダブルバッファメモリに復元データを格納する。復元デ
ータは圧縮テーブルが1頁内で一定のテーブルにより圧
縮され128の圧縮バッファメモリに格納され、116
を通じSCSIでホストに標準JPEGデータとして伝
送する。この圧縮データは1頁内が一定のテーブルで圧
縮されているためJPEG標準となる。しかし、テーブ
ルが一定のため、圧縮メモリ一定のための制御が効か
ず、固定の1頁メモリに書き込み記録することはできな
い。但し、ホストコンピュータのようにハードデスクを
有するようなものでは、1頁メモリ量が多少変動しても
問題はない。半導体メモリの様に、メモリ量が固定され
ていてメモリオーバーフローが生じる場合にやや問題が
残る。
One page of data compressed in the unique mode and 8
Using 112 table information data determined from the information in the × 8 block and the compression memory progress information, the data is decompressed and restored by the decompression circuit 113 for each 8 × 8 block. The decompressed and restored data is stored in a double buffer memory 108 through a scaling circuit 114. The decompressed data is compressed in a compression table by a fixed table within one page and stored in 128 compression buffer memories.
Is transmitted as standard JPEG data to the host via SCSI. This compressed data complies with the JPEG standard because one page is compressed in a fixed table. However, since the table is fixed, the control for keeping the compression memory constant is ineffective, and writing and recording in a fixed one-page memory is not possible. However, in a computer having a hard disk such as a host computer, there is no problem even if the amount of one page memory slightly varies. As in the case of a semiconductor memory, when a memory amount is fixed and a memory overflow occurs, a slight problem remains.

【0057】なお、上述の実施例では、標準色空間の
r,g,bの各面毎に圧縮するようにしたが、例えば、
(L*,a*,b*),(Y,Cr,Cb),(Y,I,
Q)など、輝度と色度に分けて圧縮してもよい。その際
には、像域判定は輝度信号に基づいて行うのが望まし
い。
In the above-described embodiment, the compression is performed for each of the surfaces r, g, and b in the standard color space.
(L *, a *, b *), (Y, C r, C b), (Y, I,
For example, Q and the like, compression may be performed separately for luminance and chromaticity. In this case, it is desirable that the image area is determined based on the luminance signal.

【0058】また、プリンタとしては、電子写真方式に
限らず、インクジェット熱転写方式のものを用いてもよ
い。また、熱エネルギーによる膜沸騰を利用して液滴を
吐出させるタイプのヘッドを用いたプリンタ(バブルジ
ェットプリンタ)であってもよい。
The printer is not limited to the electrophotographic system, but may be an inkjet thermal transfer system. Further, a printer (bubble jet printer) using a head of a type that discharges droplets using film boiling due to thermal energy may be used.

【0059】また、圧縮方式はADCT方式に限らな
い。また、圧縮パラメータとしては、量子化パラメータ
のほかハフマンテーブルの係数を変化させるようにして
もよい。
The compression method is not limited to the ADCT method. As the compression parameter, a coefficient of the Huffman table may be changed in addition to the quantization parameter.

【0060】[0060]

【発明の効果】以上説明した様に本発明によれば、画像
をブロック毎の特徴に応じた量子化テーブルで量子化す
る効率良い符号化を優先的に行えると共に、ブロック毎
の特徴に関わらず量子化する、JPEG標準等の符号化
方式にも対応可能となる。特に、前者の符号化方式で得
られる符号データは速やかに送出可能であり、後者の符
号化方式で得られる符号化データは前者の符号化方式で
得られる符号化データから生成することで送出可能であ
る。更に本発明によれば、上記前者の符号化方式が、ブ
ロック毎に量子化テーブルを変更する方式であることに
注目し、前者の符号化においては、画像の特徴に応じた
量子化をある程度行えると共に、ここで得られる符号化
データ量を所望量にすることも可能となる。
As described above, according to the present invention, efficient coding for quantizing an image with a quantization table corresponding to the characteristics of each block can be preferentially performed, and regardless of the characteristics of each block. It becomes possible to cope with an encoding method such as the JPEG standard for quantization. In particular, the coded data obtained by the former coding method can be transmitted quickly, and the coded data obtained by the latter coding method can be transmitted by generating from the coded data obtained by the former coding method. It is. Furthermore, according to the present invention, it is noted that the former coding method is a method of changing a quantization table for each block, and in the former coding, quantization according to the characteristics of an image can be performed to some extent. At the same time, the amount of encoded data obtained here can be set to a desired amount.

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

【図1】本発明の実施例の全体構成を示すブロック図。FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention.

【図2】圧縮回路の構成を示すブロック図。FIG. 2 is a block diagram illustrating a configuration of a compression circuit.

【図3】像域判定回路の構成を示すブロック図。FIG. 3 is a block diagram illustrating a configuration of an image area determination circuit.

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

110 圧縮回路 111 圧縮メモリ 115 データ量コントローラ 132 像域判定回路 110 compression circuit 111 compression memory 115 data amount controller 132 image area determination circuit

フロントページの続き (56)参考文献 特開 昭62−208758(JP,A) 特開 平3−166887(JP,A) 特開 平2−70127(JP,A) 特開 平2−264585(JP,A) 特開 平2−262785(JP,A) 特開 昭60−64572(JP,A) 特開 昭63−40475(JP,A) 特開 平2−205982(JP,A) 特開 昭62−178071(JP,A) 特開 平1−144778(JP,A) 特開 平3−13065(JP,A) 特開 平2−248180(JP,A) 特開 平2−194734(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 H04N 1/41 - 1/419 JICSTファイル(JOIS)Continuation of the front page (56) References JP-A-62-208758 (JP, A) JP-A-3-166887 (JP, A) JP-A-2-70127 (JP, A) JP-A-2-264585 (JP) JP-A-2-262785 (JP, A) JP-A-60-64572 (JP, A) JP-A-63-40475 (JP, A) JP-A-2-2055982 (JP, A) 62-178071 (JP, A) JP-A-1-144778 (JP, A) JP-A-3-13065 (JP, A) JP-A-2-248180 (JP, A) JP-A-2-194734 (JP, A A) (58) Fields surveyed (Int. Cl. 7 , DB name) H04N 7/ 24-7/68 H04N 1/41-1/419 JICST file (JOIS)

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像データを入力する入力手段と、 該画像データを複数ブロックに分割する分割手段と、 各ブロックを周波数変換する変換手段と、 前記各ブロックの画像の特徴を判定する判定手段と、 該変換手段により得られた各ブロックの周波数変換係数
を、前記ブロック毎の判定結果に応じた量子化テーブル
を選択的に用いて量子化、符号化し、第1符号化データ
を得る符号化手段と、 送信相手が前記ブロック毎の量子化テーブルの選択的使
用に基づいて量子化、符号化した符号化データを受け付
けるか否かに応じて、前記第1符号化データ及び前記判
定結果を示すデータを送信するか、前記第1符号化デー
タを復号して前記各ブロックに単一の量子化テーブルを
用いて再符号化することにより得られた第2符号化デー
タを送信するか、制御する制御手段とを有し、 前記判定手段は、前記第1符号化データの符号量を所定
符号量にするべく、前記判定結果を、前記入力手段によ
る画像データの入力量と前記符号化手段による発生符号
量を比較した結果に応じて修正することを特徴とする画
像処理装置。
An input unit for inputting image data; a dividing unit for dividing the image data into a plurality of blocks; a converting unit for performing frequency conversion on each block; and a determining unit for determining an image feature of each block. Encoding means for quantizing and encoding the frequency transform coefficient of each block obtained by the conversion means by selectively using a quantization table according to the determination result for each block to obtain first encoded data And data indicating the first coded data and the determination result depending on whether or not the transmission partner accepts the coded data quantized and coded based on the selective use of the quantization table for each block. Or transmit the second encoded data obtained by decoding the first encoded data and re-encoding each block using a single quantization table. Control means for controlling, wherein the determination means determines the determination result in accordance with an input amount of image data by the input means and the encoding means so as to set a code amount of the first encoded data to a predetermined code amount. An image processing apparatus for correcting the generated code amount according to a result of comparison.
【請求項2】 前記判定手段は、前記各ブロックの文
字、写真である度合いを判定することを特徴とする請求
項1に記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the determination unit determines the degree of each of the blocks as a character or a photograph.
【請求項3】 前記周波数変換はDCTであることを特
徴とする請求項1に記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the frequency transform is DCT.
【請求項4】 前記符号化手段による符号化は、ハフマ
ン符号化であることを特徴とする請求項1に記載の画像
処理装置。
4. The image processing apparatus according to claim 1, wherein the encoding by said encoding means is Huffman encoding.
JP23618591A 1991-09-17 1991-09-17 Image processing device Expired - Fee Related JP3227181B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP23618591A JP3227181B2 (en) 1991-09-17 1991-09-17 Image processing device
US07/945,396 US6041144A (en) 1991-09-17 1992-09-16 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23618591A JP3227181B2 (en) 1991-09-17 1991-09-17 Image processing device

Publications (2)

Publication Number Publication Date
JPH0575871A JPH0575871A (en) 1993-03-26
JP3227181B2 true JP3227181B2 (en) 2001-11-12

Family

ID=16997037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23618591A Expired - Fee Related JP3227181B2 (en) 1991-09-17 1991-09-17 Image processing device

Country Status (1)

Country Link
JP (1) JP3227181B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005304012A (en) * 2004-03-19 2005-10-27 Ricoh Co Ltd Image processing apparatus, image processing method and image processing program

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08214300A (en) * 1994-11-30 1996-08-20 Sanyo Electric Co Ltd Decoder and mpeg video decoder
JP4039775B2 (en) 1999-07-30 2008-01-30 富士フイルム株式会社 Image communication system, digital camera constituting the system, and operation control method thereof
JP2004080520A (en) 2002-08-20 2004-03-11 Ricoh Co Ltd Image processing apparatus, image reading apparatus and image forming apparatus
JP5560172B2 (en) * 2010-11-26 2014-07-23 京セラドキュメントソリューションズ株式会社 Image processing apparatus, image processing method, and image processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005304012A (en) * 2004-03-19 2005-10-27 Ricoh Co Ltd Image processing apparatus, image processing method and image processing program

Also Published As

Publication number Publication date
JPH0575871A (en) 1993-03-26

Similar Documents

Publication Publication Date Title
US9167107B2 (en) Image processing apparatus, image processing method, and image processing program
US7551796B2 (en) Image processing apparatus, image data generation and transmission method and image data generation and transmission program
JP2001136526A (en) Method for image processing, device thereof and storage medium
JP2001143066A (en) Image processor, image-processing system and storage medium, image-processing method and recording medium
US6041144A (en) Image processing apparatus
US20060215205A1 (en) Image processing apparatus, image processing method and image processing program
JP4559303B2 (en) Image processing apparatus, image processing method, and image processing program
JP3227181B2 (en) Image processing device
JP2005269379A (en) System, method and program for image processing
JP2004194278A (en) Image processing apparatus, program, computer readable storage medium and image processing method
JP2003046789A (en) Image coding apparatus and image decoding apparatus
JP4621445B2 (en) Image processing apparatus and image processing program
US20040263884A1 (en) Facsimile apparatus, a program, and a storage medium
US6069980A (en) Adaptive character image generation and synthesis
JPH0575868A (en) Picture processor
JP3952981B2 (en) Image processing device
JP3190118B2 (en) Image processing device
JP4136573B2 (en) Image processing method, image processing apparatus, program, and recording medium
JP2004193968A (en) Color image communication equipment
JP2002354266A (en) Image processor, image processing system, image processing method, recording medium, and program
JP4195624B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, program, and storage medium
JP2005051764A (en) Image processing apparatus, program, computer-readable storage medium, and image processing method
JP4926128B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP4368280B2 (en) Image processing device
JP2001111841A (en) Print system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010731

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

Free format text: PAYMENT UNTIL: 20070831

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080831

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090831

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090831

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100831

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110831

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees