JPH1051643A - Image processor and its method - Google Patents

Image processor and its method

Info

Publication number
JPH1051643A
JPH1051643A JP8202037A JP20203796A JPH1051643A JP H1051643 A JPH1051643 A JP H1051643A JP 8202037 A JP8202037 A JP 8202037A JP 20203796 A JP20203796 A JP 20203796A JP H1051643 A JPH1051643 A JP H1051643A
Authority
JP
Japan
Prior art keywords
block
component
color
processing apparatus
image
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.)
Granted
Application number
JP8202037A
Other languages
Japanese (ja)
Other versions
JP3352330B2 (en
Inventor
Makoto Fujimoto
良 藤本
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 JP20203796A priority Critical patent/JP3352330B2/en
Publication of JPH1051643A publication Critical patent/JPH1051643A/en
Application granted granted Critical
Publication of JP3352330B2 publication Critical patent/JP3352330B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To minimize the increase of an information quantity by satisfactorily judging the image area of a color image to select an optimum encoding means. SOLUTION: Color image data read from an image scanner is converted into Y, CR and CB color spaces to be DCT-transformed (discrete cosine transformed) by the block unit of a prescribed size concerning the component of each. Then, whether or not the sum of the square of the DC component of CR and the sum of the square of the DC component of CB is not more than α(S1) and whether or not the total sum of the square of the high frequency components of Y is not more than β (S2) are detected. In addition, the blocks of plural Y components are made capable of being housed in the block size of CR or CB and whether or not the total sum of the square of the difference between the block of the DC component of each Y component and an average value is larger than γ is judged (S3). When one of these condition is satisfied, the block is MMR-encoded and the others are JEPG-encoded.

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 image area separation and encoding of a color image.

【0002】[0002]

【従来の技術】通常、ファクシミリ装置では、白黒原稿
を読み取り、それを符号化して回線を介して送信、或い
は回線を介して受信した符号化データに対して復号化処
理を行って記録紙等に記録出力することを行う。
2. Description of the Related Art Normally, a facsimile apparatus reads a black-and-white document, encodes the document, transmits it via a line, or performs a decoding process on coded data received via a line to print on recording paper or the like. Record and output.

【0003】その一方で、カラー原稿を伝送可能なファ
クシミリ装置についての提案もこれまでなされてきてい
る。この場合、送信する原稿がカラーであるか白黒であ
るかに応じて伝送時の符号化方式を切り替えることによ
り、伝送効率、及び画質を向上させることが必要にな
る。原稿がカラーであるか白黒であるかは、1ページ分
の原稿全体について、操作者が手動によりその指定を切
り替えるか、或いは、装置内で自動的に判定するかにな
る。後者の場合には読取センサのR,G,B出力の比等
により、原稿がカラーか白黒かを判定することになる。
On the other hand, there has been proposed a facsimile apparatus capable of transmitting a color original. In this case, it is necessary to improve the transmission efficiency and the image quality by switching the encoding method at the time of transmission according to whether the original to be transmitted is color or black and white. Whether the original is color or black and white is determined by the operator manually switching the designation of the entire original for one page or automatically determined in the apparatus. In the latter case, it is determined whether the original is color or monochrome based on the ratio of the R, G, and B outputs of the reading sensor.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、最近1
ページにカラー画像と白黒2値の文字とが複雑に混在し
ているような文書が一般に広く使用される様になってき
ている。上述した様な従来のファクシミリ装置において
は、1ページ分の原稿全体についてカラー原稿であるか
白黒原稿であるかを判定するため、このように1ページ
の原稿内にカラー画像と白黒2値の文字とが複雑に混在
している場合には適切な判定を行うことが困難となり、
例えば、少しでもカラー部分があると原稿全体をカラー
原稿と判断してしまい、全体がJPEG等カラー画像
(特に自然画像)にふさわしい圧縮符号化方式により圧
縮されて伝送される。
SUMMARY OF THE INVENTION However, recently,
Documents in which color images and binary black-and-white characters are mixed in a page in a complicated manner have been widely used. In the conventional facsimile apparatus as described above, in order to determine whether the entire original for one page is a color original or a black-and-white original, a color image and a monochrome binary character are included in the one-page original. It is difficult to make an appropriate decision if
For example, if there is any color portion, the entire original is determined to be a color original, and the entire original is compressed and transmitted by a compression encoding method suitable for a color image (particularly a natural image) such as JPEG.

【0005】従って、ほんの少しのカラー領域のため次
のような問題が発生する。すなわち、 ・原稿全体に対する伝送量が大きくなり、伝送コストが
かさむ。 ・カラー画像(特に自然画像)にふさわしい圧縮符号化
方式を用いるため、白黒の文字の品位が低下する。
[0005] Therefore, the following problem occurs due to the small number of color areas. That is, the transmission amount for the entire original is increased, and the transmission cost is increased. The use of a compression encoding method suitable for a color image (especially a natural image) reduces the quality of black and white characters.

【0006】[0006]

【課題を解決するための手段】本発明はかかる問題点に
鑑みなされたものであり、カラー画像の像域を良好に判
定することで、最適な符号化手段を選択し、情報量の増
大を極力防ぐことを可能ならしめる画像処理装置を提供
しようとするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems. The present invention has been made in view of the above, and by appropriately judging the image area of a color image, it is possible to select an optimal encoding means and reduce the amount of information. It is an object of the present invention to provide an image processing apparatus that can prevent such a situation as much as possible.

【0007】この課題を解決するため、本発明の画像処
理装置は以下に示す構成を備える。すなわち、原稿画像
をカラー画像として入力する入力手段と、入力されたカ
ラー画像データに対して所定の色空間のデータに変換す
る色変換手段と、該変換手段で変換された画像データの
各成分の所定サイズのブロック単位に直交変換する直交
変換手段と、直交変換された各成分のブロック内のデー
タに基づいて、当該ブロックの属性を判定する判定手段
と、該判定手段の判定結果に応じて、注目ブロックのカ
ラー画像データに対して、少なくとも2以上の異なる符
号化の中から選択的に符号化する符号化手段とを備え
る。
[0007] In order to solve this problem, the image processing apparatus of the present invention has the following configuration. That is, input means for inputting a document image as a color image, color conversion means for converting the input color image data into data of a predetermined color space, and each component of the image data converted by the conversion means. Orthogonal transformation means for performing orthogonal transformation on a block unit of a predetermined size, determination means for determining the attribute of the block based on data in the block of each component subjected to orthogonal transformation, and according to the determination result of the determination means, Encoding means for selectively encoding the color image data of the block of interest from at least two or more different encodings.

【0008】また、他の発明は、一律同じ条件で原稿画
像或いは領域を判定して符号化するのではなく、適宜条
件を調整することを可能ならしめる画像処理装置を提供
しようとするものである。
Another object of the present invention is to provide an image processing apparatus which does not judge and encode a document image or area under the same conditions, but can adjust the conditions appropriately. .

【0009】このため、本発明は以下に示す構成を備え
る。すなわち、原稿画像をカラー画像として入力する入
力手段と、少なくとも2以上の異なる符号化手段と、入
力されたカラー画像データの所定サイズの画素ブロック
のデータに基づいて、注目画素ブロックに対する符号化
手段のいずれを選択するかを判定する判定手段とを備
え、更に、前記判定手段の判定条件を外部から調整する
調整手段とを備える。
Therefore, the present invention has the following configuration. That is, an input unit for inputting a document image as a color image, at least two or more different encoding units, and an encoding unit for a target pixel block based on data of a pixel block of a predetermined size of the input color image data. A determination unit for determining which one to select; and an adjustment unit for externally adjusting a determination condition of the determination unit.

【0010】[0010]

【発明の実施の形態】以下、添付図面に従って本発明に
かかる実施形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0011】<概要の説明>本実施形態においては.1
ページの原稿の内をJPEG等で伝送する部分と、MM
R等で伝送する部分とに領域判定し、それぞれに適切な
符号を割り当てることにより、画質の劣化もなく、か
つ、伝送データ量を低減する。JPEGはカラー自然画
に適し、圧縮率をあまり上げなければ、人間の目で見
て、ほとんど劣化のわからない様に伝送することが可能
であるものの、データ量は多くなる。一方、MMRは2
値の黒白データに適し、データ量は少なくなるが、色の
情報は全て失われるし、また、黒白であっても中間調の
ところは白又は黒に転化されてしまう。そこで、基本的
には黒白の文字部はMMR化し、それ以外は全てJPE
G化するのが、画質の劣化を発生させない上で望まし
い。
<Outline of Outline> In this embodiment,. 1
A part for transmitting the page manuscript by JPEG or the like, and an MM
By determining the area to be transmitted with R or the like and assigning an appropriate code to each area, the image quality is not degraded and the amount of transmission data is reduced. JPEG is suitable for a color natural image, and if the compression ratio is not increased too much, it can be transmitted to the human eye with little noticeable deterioration, but the data amount increases. On the other hand, MMR is 2
It is suitable for black-and-white data of a value, and the data amount is small, but all color information is lost, and even black and white is converted to white or black at a halftone portion. Therefore, basically, black and white characters are converted to MMR, and all other parts are JPE.
The use of G is desirable so as not to cause deterioration in image quality.

【0012】この符号化の割り振りを行うアルゴリズム
として、次の様なやり方が考えられる。
The following method can be considered as an algorithm for allocating the coding.

【0013】まず、JPEG化の為の基本ブロックに注
目し、そのブロックが、白黒文字部なのか、それ以外な
のかを判定する。白黒文字部であるかどうかは、色がつ
いていないことにより基本的には判定できる。個々の画
素自身について見ると印刷時のドットの影響などが出て
しまうので、ブロックでの平均を見る方がよい。そこ
で、JPEGの基本ブロックのDCT係数の値を見れば
よいことになる。
First, attention is paid to a basic block for JPEG conversion, and it is determined whether the block is a black-and-white character portion or not. Whether or not it is a black-and-white character portion can be basically determined by not having a color. When the individual pixels themselves are viewed, the influence of dots at the time of printing appears, so it is better to look at the average in the block. Therefore, it is only necessary to look at the value of the DCT coefficient of the basic block of JPEG.

【0014】一般に、JPEGでは輝度情報と色情報で
各々DCT化する。Y,CR,CBやL*a*b*などであ
る。ここでは、Y,CR,CBで説明する。
In general, in JPEG, DCT is performed using luminance information and color information. Y, CR, CB and L * a * b *. Here, Y, CR, and CB will be described.

【0015】Y,CR,CBは4:1:1とか4:2:2
の様にとる。ここではY,CR,CBの4:2:2で説明
する。
Y, CR and CB are 4: 1: 1 or 4: 2: 2
Take like. Here, a description will be given of 4: 2: 2 of Y, CR, and CB.

【0016】この場合、CR,CBは16画素×16画素
を1ブロックとし、Yは8画素×8画素を1ブロックと
する。図2に示す様に、CR,CBの1ブロックにYのブ
ロックが4個入る様になる。今、黒白文字かどうかを見
るには、CR,CBのDCT係数の各直流成分が十分小さ
いかどうかで判定すればよいことになる。
In this case, for CR and CB, 16 pixels × 16 pixels constitute one block, and for Y, 8 pixels × 8 pixels constitute one block. As shown in FIG. 2, four blocks of Y are included in one block of CR and CB. In order to check whether or not the character is a black and white character, it is necessary to determine whether each DC component of the DCT coefficients of CR and CB is sufficiently small.

【0017】即ち、例えば、 (CRの直流成分)^2+(CBの直流成分)^2≦α … (ここで、x^2はxの2乗を意味)ここで、右項が
“0”でなくαであるのは、黒白画像であってもノイズ
等の影響で完全には“0”とはならないからである。
That is, for example, (DC component of CR) ^ 2 + (DC component of CB) ^ 2≤α (where x ^ 2 means the square of x) where the right term is "0" Is not α because black and white images are not completely “0” due to the influence of noise and the like.

【0018】また、さらに、黒白の文字の場合は高周波
成分が多くなることが考えられる。たとえ黒白でも一面
グレーの中間色の場合は、は成立するが、輝度の高周
波成分は非常に小さくなる。
Further, in the case of black and white characters, it is conceivable that high frequency components increase. Even in the case of a black-and-white intermediate color of gray, the above condition is satisfied, but the high-frequency component of the luminance becomes very small.

【0019】即ち、例えば、 (YのDCT係数の高周波成分の2乗の総和)≧β … である。That is, for example, (sum of the square of the high-frequency component of the DCT coefficient of Y) ≧ β.

【0020】ここでβは、実験的に適切な値を求める。
一般に自然画像での条件を満たす所は非常に少なく、
かりにそれを満たしても、カラーであればの条件でハ
ネられる。
Here, β is experimentally determined to be an appropriate value.
In general, there are very few places that meet the conditions for natural images,
Even if it meets the crisp, it will still splatter under the conditions of color.

【0021】また、ごく一部に、黒白でかつ高周波の高
い、例えば黒白のタテジマ部分が自然画像の中に存在し
た時などは、,の条件では判定できず、黒白2値文
字部と判定されてMMRが割り当てられるが、そもそも
その部分はそれだけ高周波成分が高いということは、ほ
とんど黒白で変化しているということであり、仮に2値
化され、MMR化され、それが復号されて画像に再現さ
れたとしても、正確に復元することはできないものの、
ほぼ原画像に等しく、その分画像の劣化は目立たなく、
実用上問題が無い。
Further, when a black-and-white high-frequency portion, for example, a black-and-white vertical portion is present in a natural image, it cannot be determined under the condition of, but is determined as a black-and-white binary character portion. MMR is assigned, but the fact that the high frequency component is high in the first place means that it is almost black and white, and it is temporarily binarized, MMR-converted, decoded and reproduced in the image Even if it is done, it cannot be restored exactly,
Almost equal to the original image, the deterioration of the image is not so noticeable,
There is no practical problem.

【0022】このとの条件で、大部分は実用上問題
の無いレベルで判定され、画像を劣化させずに、伝送情
報量を削減するという目的を達成できるのであるが、次
の様な例外がある。
Under the conditions described above, most of the judgments are made at a level having no problem in practical use, and the purpose of reducing the amount of transmission information without deteriorating the image can be achieved. is there.

【0023】それは、印刷物に於ける薄いグレー部であ
る。この場合、色は付いていないので、は満足する
が、は本来満足すべきでなく(一面薄いグレーより本
来高周波成分でない)、従って、黒は文字部ではないと
正しく判定され、JPEG符号が割り当てられるはずで
ある。
It is a light gray area in the printed matter. In this case, since no color is attached, is satisfied, but is not originally satisfied (it is not originally a high-frequency component than light gray). Therefore, it is correctly determined that black is not a character part, and the JPEG code is assigned. Should be done.

【0024】ところが、印刷物の場合、網点処理によ
り、薄い部分ではドットが点々と打たれることになる。
拡大鏡で見た時のその様子は図3に示すようになる。
However, in the case of a printed matter, dots are hit in thin portions by dot processing.
The appearance when viewed with a magnifying glass is as shown in FIG.

【0025】この様な状況の場合、単に目で見たのと異
なり、の高周波成分がかなりの量発生し、も満足さ
れ、黒白文字部であるという誤った判定が為され、MM
R符号化を行うために2値化作業が行われる。この結
果、ある場合には黒、ある場合には白になり、どちらに
せよ本来のグレーを実現することができず、その部分に
画質の劣化を発生させる。
In such a situation, a large amount of high-frequency components are generated, which is different from what is simply seen by the naked eye.
A binarization operation is performed to perform R encoding. As a result, the color becomes black in some cases and white in some cases, so that the original gray cannot be realized in any case, and the image quality deteriorates in that portion.

【0026】本実施形態では、例えば、Y,CR,CBに
於て、4:2:2や4:1:1の様に、1つの判定ブロ
ック(それは最大の大きさのブロックが判定ブロックと
なる)に複数のYのブロックが存在することに注目し、
一様で平坦的なグレーであればその4つのY(4:2:
2の時)にばらつきが少なく、文字であればその4つの
Yにばらつきが発生することを利用し、その条件を付加
することにより、平坦的なグレー部と黒白文字部を正し
く識別する様にする。
In the present embodiment, for example, in Y, CR and CB, one judgment block such as 4: 2: 2 or 4: 1: 1 (the block having the largest size is the judgment block) Note that there are multiple Y blocks in
If the gray is uniform and flat, the four Y (4: 2:
2), the variation is small in the case of a character, and the variation occurs in the four Ys. If the condition is added, a flat gray portion and a black-and-white character portion can be correctly identified. I do.

【0027】なお、グレーといっても、の様にαとい
うある有限の値をおいている為、非常に色の薄い部分も
実際には含まれることは言うまでもない。
It is needless to say that even if it is gray, a certain finite value of α is set as described above, so that a very light color portion is actually included.

【0028】<第1の実施形態>第1の実施形態では、
付加する条件として次のものを考える。即ち、4つのY
のブロックのDCT係数の直流成分をそれぞれY0,Y
1,Y2,Y3とすると、 Yave=(Y0+Y1+Y2+Y3)/4 とし、 σ^2=(Y0−Yave)^2+(Y1−Yave)^2+(Y2−Yave)
^2+(Y3−Yave)^2 として、 σ^2≧γ … を第3の条件とする。即ち、式,,を満たす16
×16の画素ブロックについては白黒文字部としてMM
R符号化を行ない、それ以外をJPEG符号化を行う。
なお、γは実験的に選ばれた適切な値である。
<First Embodiment> In the first embodiment,
The following are considered as conditions to be added. That is, four Y
The DC components of the DCT coefficients of the block
Assuming that 1, Y2, Y3, Yave = (Y0 + Y1 + Y2 + Y3) / 4, and σ ^ 2 = (Y0−Yave) ^ 2 + (Y1-Yave) ^ 2 + (Y2-Yave)
As ^ 2 + (Y3−Yave) ^ 2, σ ^ 2 ≧ γ... Is the third condition. That is, the expression 16 is satisfied.
For the × 16 pixel block, MM
R encoding is performed, and the rest is subjected to JPEG encoding.
Here, γ is an appropriate value experimentally selected.

【0029】図1は、実施形態におけるファクシミリ装
置における原稿画像の読み取りから送信する直前のデー
タを作成するまでの主要部分のブロック構成図である。
FIG. 1 is a block diagram of a main part of the facsimile apparatus according to the embodiment, from reading of a document image to creation of data immediately before transmission.

【0030】図示において、100は本装置全体の制御
を司るCPUであり、101はメモリ部であり、ファク
シミリとして機能を果たすためのプログラム(後述する
図4のフローチャートに対応するプログラムを含む)を
格納しているROMと、CPU100のワークエリアと
して使用されるRAMとで構成されている。
In FIG. 1, reference numeral 100 denotes a CPU for controlling the entire apparatus, and 101 denotes a memory unit which stores a program for performing a function as a facsimile (including a program corresponding to a flowchart of FIG. 4 described later). And a RAM used as a work area of the CPU 100.

【0031】1は原稿画像を読み取るイメージスキャ
ナ、2はイメージスキャナから出力されてきたRGBの
各アナログ信号を、たとえばそれぞれを8ビットのデジ
タルデータに変換すると共に、それをY、CR,CBの色
データに変換する色変換器である。3は色変換器から出
力されたきたY信号(輝度に相当する)に基づいて、所
定大の画素ブロックを単位として2値化する2値化回路
であり、5は2値化されたデータをMMR符号化するM
MR回路である。6は、色変換回器2から出力されてき
た色データに基づいて、所定大の画素ブロックを単位と
してJPEG符号化するJPEG回路であり、6はこれ
らMMR回路、JPEG回路4からのいずれからの信号
を選択し、不図示の送信部に出力するスイッチである。
Numeral 1 denotes an image scanner for reading an original image, and numeral 2 converts each of RGB analog signals output from the image scanner into, for example, 8-bit digital data, and converts them into Y, CR, CB colors. This is a color converter that converts data. Numeral 3 denotes a binarizing circuit for binarizing a predetermined large pixel block based on the Y signal (corresponding to luminance) output from the color converter, and numeral 5 denotes binarizing data. M for MMR encoding
It is an MR circuit. Reference numeral 6 denotes a JPEG circuit that performs JPEG encoding on a pixel block of a predetermined size based on the color data output from the color conversion circuit 2, and 6 denotes a signal from any of the MMR circuit and the JPEG circuit 4. A switch for selecting a signal and outputting the signal to a transmitting unit (not shown).

【0032】上記スイッチ6の制御は、以下の構成によ
って実現している。
The control of the switch 6 is realized by the following configuration.

【0033】7〜9は色変換器2から出力されてきた色
データに従い、DCT変換するDCT回路である。DC
T回路7は、先に説明したようにたとえば8×8サイズ
のYデータに基づいて変換し、DCT8、9は16×1
6サイズのデータに基づいて変換する。
Reference numerals 7 to 9 denote DCT circuits for performing DCT conversion in accordance with the color data output from the color converter 2. DC
As described above, the T circuit 7 performs conversion based on, for example, 8 × 8 size Y data, and the DCTs 8 and 9 convert
Conversion is performed based on 6-size data.

【0034】10は上記式に基づく判定を行う第1判
定回路、11は式に基づく判定を行う第2判定回路、
そして、12は式に基づく判定を行う第3判定回路で
ある。各判定回路で判定された結果は、符号13で示さ
れる判定決定回路13に供給され、ここで注目ブロック
に対し、MMR回路5、JPEG回路4のいずれかを選
択するための信号をスイッチ6に出力することになる。
10 is a first judgment circuit for making a judgment based on the above equation, 11 is a second judgment circuit for making a judgment based on the equation,
Reference numeral 12 denotes a third determination circuit that makes a determination based on an equation. The result determined by each determination circuit is supplied to a determination determination circuit 13 indicated by reference numeral 13, and a signal for selecting one of the MMR circuit 5 and the JPEG circuit 4 is supplied to the switch 6 for the target block. Output.

【0035】なお、第1判定回路10〜第3判定回路1
2には、判定のための閾値α〜γがCPU100より供
給される。これらの閾値は、電源投入時に供給される
が、不図示の操作パネルからの指示に従い、CPU10
0が適宜変更することも可能になっている。
The first to third determination circuits 10 to 1
2, threshold values α to γ for determination are supplied from the CPU 100. These threshold values are supplied when the power is turned on. However, according to an instruction from an operation panel (not shown), the CPU 10
It is also possible for 0 to be changed as appropriate.

【0036】さて、上記構成における各構成要素の動作
を説明すると図4に示すフローチャートのようになる。
Now, the operation of each component in the above configuration will be described with reference to a flowchart shown in FIG.

【0037】すなわち、ステップS1〜ステップS3で
式〜式に基づく判定を行ない、いずれか1つでもそ
れぞれの式の条件を満足しない場合には、当該ブロック
についてはJPEG回路4からの出力を選択させ(ステ
ップS5)、すべての条件を満たした場合にはMMR回
路5からの出力を選択する(ステップS4)。この後、
ステップS6に進んで、次のブロックに処理を進め、上
記処理を繰り返す。
That is, in steps S1 to S3, a determination is made based on the formulas (1) to (3). If any one of the conditions does not satisfy the condition of each formula, the output from the JPEG circuit 4 is selected for the block. (Step S5) If all the conditions are satisfied, the output from the MMR circuit 5 is selected (Step S4). After this,
Proceeding to step S6, the process proceeds to the next block, and the above process is repeated.

【0038】以上説明したように本第1の実施形態に従
えば、原稿画像の所定ブロックサイズ毎に、MMR符号
化を行うか、JPEG符号化を行うかを適切に判定する
ことができるようになる。従って、ファクシミリ装置に
適用した場合には、原稿の状態に応じて適切な情報量に
でき、且つ、良好な画像を再生させることができる。
As described above, according to the first embodiment, it is possible to appropriately determine whether to perform MMR encoding or JPEG encoding for each predetermined block size of a document image. Become. Therefore, when the present invention is applied to a facsimile apparatus, an appropriate amount of information can be obtained according to the state of a document, and a good image can be reproduced.

【0039】<第2の実施形態>4つのブロックのYの
DCT係数の交流成分の2乗和をそれぞれ、YAC0,YA
C1,YAC2,YAC3とすると、 YAC_AVE=(YAC0+YAC1+YAC2+YAC4)/4 とし、 σAC^2=(YAC0-YAC_AVE)^2+(YAC1-YAC_AVE)^2+(YA
C2-YAC_AVE)^2+(YAC3-YAC_AVE)^2+ として、 σAC^2≧δ … (δは実験的に選ばれた適切な値である。)を第3の条
件とする。即ち、先に示した,と式を満たすもの
を白黒文字部、それ以外を白黒文字以外(写真等)とし
て判定し、それぞれに対して符号化を行う。
<Second Embodiment> The sum of squares of the AC components of the DCT coefficients of Y in the four blocks is represented by YAC0 and YA, respectively.
Assuming that C1, YAC2, and YAC3, YAC_AVE = (YAC0 + YAC1 + YAC2 + YAC4) / 4, and σAC ^ 2 = (YAC0-YAC_AVE) ^ 2 + (YAC1-YAC_AVE) ^ 2 + (YA
As a third condition, C2-YAC_AVE) ^ 2 + (YAC3-YAC_AVE) ^ 2 +, and σAC ^ 2 ≧ δ (δ is an appropriate value experimentally selected). That is, those satisfying the above-mentioned formulas are determined as black and white character portions, and the others are determined as non-black and white characters (photos and the like), and each is coded.

【0040】装置構成は図1における第3判定回路12
が式に従う以外は同じであるので、その説明は省略す
る。
The device configuration is similar to that of the third determination circuit 12 in FIG.
Is the same except that it follows the formula, and the description is omitted.

【0041】<第3の実施形態>第1の実施形態におけ
るY0,Y1,Y2,Y3の中から最少のものYmin、最大
のものYmaxとして選び、 Ymax−Ymin≧a … を第3の条件とする。
<Third Embodiment> From Y0, Y1, Y2, and Y3 in the first embodiment, the minimum Ymin and the maximum Ymax are selected, and Ymax-Ymin ≧ a... I do.

【0042】これによっても第1の実施形態と同様の作
用効果を奏することができる。
With this, the same operation and effect as those of the first embodiment can be obtained.

【0043】<第4の実施形態>第1の実施形態におけ
るYAC0,YAC1,YAC2,YAC3の中から最少のものYAC
min、最大のものYACmaとして選び出し、 YACmax−YACmin≧b … を第3の条件とする。
<Fourth Embodiment> The minimum YAC among YAC0, YAC1, YAC2 and YAC3 in the first embodiment is described.
min and the maximum YACma are selected, and YACmax-YACmin ≧ b is set as a third condition.

【0044】<第5の実施形態>第1〜第4の条件(
〜)のいくつかを、ORまたはANDで連結する。そ
れぞれの長所を述べる。
<Fifth Embodiment> First to fourth conditions (
~) Are connected by OR or AND. State the strengths of each.

【0045】第1の実施形態は、計算が簡単である。ま
た、文字中心がブロック中心とずれている時には高い判
定精度を示す。
In the first embodiment, the calculation is simple. In addition, when the character center is shifted from the block center, high determination accuracy is shown.

【0046】第2の実施形態は、全く平坦なグレーでな
くても識別できる。
In the second embodiment, it is possible to identify even if it is not a completely flat gray.

【0047】第3の実施形態は、4つのブロックのうち
どれか1つでもレベルが異なると識別される、という意
味で感度が高い。
The third embodiment has high sensitivity in that any one of the four blocks is identified as having a different level.

【0048】第4の実施形態は、感度も高く、完全な平
坦でなくても誤判定しない、というメリットを有する。
The fourth embodiment has the advantage that the sensitivity is high and no erroneous determination is made even when the surface is not completely flat.

【0049】この結果、より良好な判定が行えるように
なる。なお、上記第1から第4の実施形態を適宜切り替
えるようにしても勿論構わない。
As a result, a better judgment can be made. The first to fourth embodiments may be appropriately switched as a matter of course.

【0050】なお、以下実施形態は、Y,CR,CB構成
の4:2:2の場合を例にとったが、他の場合でも同様
である。例えば4:1:1であれば、16個のYのブロ
ックが存在することになるので、4個ではなく16個に
付き同様のことを行えばよい。
In the following embodiment, the case of the 4: 2: 2 configuration of the Y, CR, CB configuration is taken as an example, but the same applies to other cases. For example, if the ratio is 4: 1: 1, there are 16 Y blocks, so the same operation may be performed for 16 blocks instead of 4.

【0051】また、実施形態ではファクシミリ装置に適
用する例を説明したが、像域判定はたとえば複写機等
(像域毎に異なる画像処理を行う場合等)にも適用でき
るので、上記実施形態によって本願発明が限定されるも
のではない。
In the above embodiment, an example in which the present invention is applied to a facsimile apparatus has been described. However, the image area determination can be applied to, for example, a copying machine or the like (in a case where different image processing is performed for each image area). The present invention is not limited.

【0052】以上説明したように、本第1〜第5の実施
形態に従えば、網点状の印刷手段により形成された薄い
グレー部と、黒白文字部を適切に判定することができ
る。
As described above, according to the first to fifth embodiments, the thin gray portion formed by the halftone dot printing means and the black and white character portion can be properly determined.

【0053】<第6の実施形態>上記第1から第5の実
施形態では、原稿中の各領域単位に像域判定を正確に判
定するものであったが、原稿として普通紙や、高級なカ
タログ等で使用される上質紙、新聞等では、その紙自身
の色あいがことなる。
<Sixth Embodiment> In the first to fifth embodiments, the image area determination is accurately made for each area unit in the document. Fine paper, newspapers, and the like used in catalogs and the like have different colors on the paper itself.

【0054】そこで本第6の実施形態においては、これ
らに対処する例を説明する。
Therefore, in the sixth embodiment, an example for coping with these will be described.

【0055】図5に第6の実施形態におけるファクシミ
リの概観図を示す。図示において、501はファクシミ
リ装置であって、502は原稿である。この原稿502
は装置内部に設けられたカラーイメージスキャナ方向に
搬送され、前面の排出口より排出される。こうして読み
取られた原稿画像は、回線503を介して相手先に送信
されることになる。
FIG. 5 is a schematic view of a facsimile according to the sixth embodiment. In the figure, reference numeral 501 denotes a facsimile machine, and reference numeral 502 denotes a document. This original 502
Is conveyed in the direction of a color image scanner provided inside the apparatus, and is discharged from a discharge port on the front surface. The document image thus read is transmitted to the destination via the line 503.

【0056】本第6の実施形態においても、JPEG符
号化とMMR符号化を備え、それらを適宜変更する。
Also in the sixth embodiment, JPEG encoding and MMR encoding are provided, and these are appropriately changed.

【0057】本第6の実施形態におけるこれらの切り換
えのための判定は、第1〜第5の実施形態で説明したも
のを採用しても良いが、ここではより簡単な手法につい
て説明する。
In the sixth embodiment, the determination for these switchings may employ the one described in the first to fifth embodiments, but a simpler method will be described here.

【0058】イメージスキャナより得られたRGB信号
(デジタルデータ)に基づき、所定ブロックサイズにつ
いてそのブロック全体のR/G、B/Gそれぞれの二乗
の和を算出する。
Based on the RGB signals (digital data) obtained from the image scanner, the sum of the squares of R / G and B / G of the entire block is calculated for a predetermined block size.

【0059】そして、その値がαより小さい場合には白
黒であると判定し、そのブロックについてはMMR符号
化処理を割り当て、α以上である場合にはカラー部であ
ると判定してJPEG処理を割り当てる。
If the value is smaller than α, it is determined that the block is black and white, the block is assigned MMR encoding processing, and if it is not smaller than α, it is determined that the block is a color part and JPEG processing is performed. assign.

【0060】なお、ここでαの値は、固定値ではない。
図1における操作部において黒白としての設定ボタンを
押下された場合は無条件でMMR符号化を行うために、
αの値を大きな値(通常ありえない値)に設定する。
Here, the value of α is not a fixed value.
When the setting button for black and white is pressed on the operation unit in FIG. 1, in order to perform MMR encoding unconditionally,
Set the value of α to a large value (normally impossible value).

【0061】また、カラーとして設定する場合、図示の
例では、上質紙、雑誌等、新聞紙、全面カラーの4通り
存在するが、これらによって上記αを適宜変化させる。
特に、全面カラーの場合には原稿全面に対してJPEG
符号化を行うことになるので、αの値は小さい値(たと
えば−1等ありえない値)にすることで、JPEG符号
が割り当てられる。
In the case of setting as color, in the example shown in the figure, there are four types of high quality paper, magazines, etc., newspaper, and full color, and the above α is appropriately changed.
In particular, in the case of full color, JPEG
Since the encoding is performed, the value of α is set to a small value (for example, an impossible value such as −1), so that the JPEG code is assigned.

【0062】以上の様に、操作者の指示に従い、αの値
を調整することで、原稿全体を強制的に白黒としてMM
R符号化を行ったり、JPEG符号化を行わせることは
勿論、原稿の材質によってJPEG符号化すべき領域と
MMR符号化しべき領域を自動認識させることも可能に
なる。
As described above, by adjusting the value of α according to the instruction of the operator, the entire document is forcibly changed to black and white by the MM.
In addition to performing R encoding or JPEG encoding, it is also possible to automatically recognize an area to be JPEG encoded and an area to be MMR encoded depending on the material of the document.

【0063】従って、場合によっては、カラー原稿であ
っても、黒白の設定を行うことで、強制的にMMR符号
化による通常のファクシミリ送信が行えるので、伝送量
を最小限に抑え高速に送信することができ、一方で、全
面カラー原稿をその状態で送信する際には、“全面カラ
ー”を選択させることで全面につきJEPG符号による
ファクシミリ送信が行える。
Therefore, in some cases, even if the original is a color original, normal facsimile transmission by MMR encoding can be forcibly performed by setting black and white, so that transmission is minimized and transmission is performed at high speed. On the other hand, when transmitting a full-color original in that state, by selecting “full-color”, facsimile transmission using the JEPG code can be performed on the entire surface.

【0064】<第7の実施形態>本第7の実施形態で
は、上記第6の実施形態における判定規準の設定につい
てのみ説明する。
<Seventh Embodiment> In the seventh embodiment, only the setting of the determination criterion in the sixth embodiment will be described.

【0065】第7の実施形態では、原稿紙の濃さを連続
的に設定するものである。この為、たとえば図5の装置
の操作部には、図6に示すように、原稿の濃さを設定す
るスイッチ601を設け、これを図示左右にスライドさ
せることで原稿の濃さ(最終的には第6の実施形態にお
けるα値に反映される)を入力する。なお、602は表
示部であり、ファクシミリ受信時も表示するものであ
る。
In the seventh embodiment, the density of the manuscript paper is set continuously. For this purpose, for example, as shown in FIG. 6, a switch 601 for setting the density of the document is provided in the operation unit of the apparatus shown in FIG. Is reflected in the α value in the sixth embodiment). Incidentally, reference numeral 602 denotes a display unit, which also displays during facsimile reception.

【0066】ただし、スイッチ601の位置によってど
の程度の濃度になるのか受信者にはわからない。そこ
で、本第7の実施形態では不図示の「コピーモード」と
いうスイッチを設け、このスイッチを作動させた場合に
は、設定された濃度で実際に複写してみる。ただし、こ
こでのコピーとは、一旦符号化し、それを復号化してプ
リントすることを言い、実際に受信者の立場になって印
刷させるものである。
However, the receiver does not know how much the density depends on the position of the switch 601. Therefore, in the seventh embodiment, a switch called "copy mode" (not shown) is provided, and when this switch is operated, actual copying is performed at the set density. However, the copy here means to encode once, decode it and print it, and actually print it from the standpoint of the receiver.

【0067】<第8の実施形態>本第3の実施形態で
は、上記第6の実施形態に対して、図7に示すように、
いくつかの「色見本」を表示する部分701と、いずれ
かを選択するスイッチ702を有する操作部を設ける。
これによって、原稿をわかりやすく選択することが可能
にある。
<Eighth Embodiment> In the third embodiment, as shown in FIG.
An operation unit having a portion 701 for displaying several “color samples” and a switch 702 for selecting one of them is provided.
As a result, it is possible to select a manuscript easily.

【0068】なお、以上の説明で、判定条件の閾値をα
値にしているが、これに限るものではなく、JPEG、
MMRにするかという二者択一を何等かの判定方法で選
択しているわけであり、本実施形態は切換選択手段によ
ってその判定を調整する(変更する)ことにある。従っ
て、この調整が行えるものであれば、いかなるものであ
っても良い。
In the above description, the threshold of the judgment condition is α
Value, but not limited to this, JPEG,
The alternative of whether to use MMR is selected by some kind of determination method, and the present embodiment is to adjust (change) the determination by the switching selection means. Therefore, any device that can perform this adjustment may be used.

【0069】以上説明したように上記第6から第8の実
施形態に従えば、送信者が原稿紙のおおよその状態を設
定することにより、JPEG等を割り当てるのか、MM
R等を割り当てるのかの判定規準が適切に調整させるの
で、画質の劣化が防止されると共に伝送符号量が小さい
ものとなる。
As described above, according to the sixth to eighth embodiments, the sender sets the approximate state of the manuscript paper to assign JPEG or the like.
Since the criterion for determining whether to assign R or the like is appropriately adjusted, deterioration of image quality is prevented and the amount of transmission code is reduced.

【0070】更に、なお、本発明は、複数の機器(例え
ばホストコンピュータ,インタフェイス機器,リーダ,
プリンタなど)から構成されるシステムに適用しても、
一つの機器からなる装置(例えば、複写機,ファクシミ
リ装置など)に適用してもよい。
Further, according to the present invention, a plurality of devices (for example, a host computer, an interface device, a reader,
Printer, etc.)
The present invention may be applied to a device including one device (for example, a copying machine, a facsimile device, etc.).

【0071】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。
Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and a computer (or CPU) of the system or apparatus.
And MPU) read and execute the program code stored in the storage medium.

【0072】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
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.

【0073】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0074】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

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

【0076】[0076]

【発明の効果】以上説明したように本発明によれば、カ
ラー画像の像域を良好に判定することで、最適な符号化
手段を選択し、情報量の増大を極力防ぐことが可能にな
る。
As described above, according to the present invention, by appropriately determining the image area of a color image, it is possible to select an optimal encoding means and to minimize an increase in the amount of information. .

【0077】また、他の発明によれば、一律同じ条件で
原稿画像或いは領域を判定して符号化するのではなく、
適宜条件を調整することが可能になる。
According to another aspect of the present invention, instead of determining and encoding a document image or area under the same conditions,
It becomes possible to adjust conditions as appropriate.

【0078】[0078]

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

【図1】実施形態における画像処理部の主要ブロック構
成図である。
FIG. 1 is a main block configuration diagram of an image processing unit according to an embodiment.

【図2】実施形態におけるY,CR,CBのブロックの相
互配置関係を示す図である。
FIG. 2 is a diagram showing a mutual arrangement relationship of Y, CR, and CB blocks in the embodiment.

【図3】実施形態における薄いグレー部の網点印刷の拡
大して示す図である。
FIG. 3 is an enlarged view of halftone dot printing of a light gray portion in the embodiment.

【図4】実施形態における動作処理内容を示すフローチ
ャートである。
FIG. 4 is a flowchart showing operation processing contents in the embodiment.

【図5】第6の実施形態におけるファクシミリ装置の概
観図である。
FIG. 5 is a schematic view of a facsimile apparatus according to a sixth embodiment.

【図6】第7の実施形態における操作部の一部を示す図
である。
FIG. 6 is a diagram illustrating a part of an operation unit according to a seventh embodiment.

【図7】第8の実施形態における操作部の一部を示す図
である。
FIG. 7 is a diagram illustrating a part of an operation unit according to an eighth embodiment.

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 原稿画像をカラー画像として入力する入
力手段と、 入力されたカラー画像データに対して所定の色空間のデ
ータに変換する色変換手段と、 該変換手段で変換された画像データの各成分の所定サイ
ズのブロック単位に直交変換する直交変換手段と、 直交変換された各成分のブロック内のデータに基づい
て、当該ブロックの属性を判定する判定手段と、 該判定手段の判定結果に応じて、注目ブロックのカラー
画像データに対して、少なくとも2以上の異なる符号化
の中から選択的に符号化する符号化手段とを備えること
を特徴とする画像処理装置。
An input unit configured to input a document image as a color image; a color conversion unit configured to convert the input color image data into data of a predetermined color space; Orthogonal transform means for orthogonally transforming each component in a block of a predetermined size; determining means for determining the attribute of the block based on the data in the block of each component subjected to the orthogonal transform; An image processing apparatus that selectively encodes color image data of a block of interest from at least two or more different encodings.
【請求項2】 前記色変換手段は、入力手段で入力され
たカラー画像データをY、CR、CBに変換することを特
徴とする請求項第1項に記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein said color conversion means converts the color image data input by the input means into Y, CR, and CB.
【請求項3】 前記判定手段は、 (CR成分の直流成分)^2+(CBの直流成分)^2≦α Y成分の高周波成分の二乗の総和≧β (ここで、X^2はXの二乗を意味する)を満足するかを判
定することを特徴とする請求項第2項に記載の画像処理
装置。
3. The determination means: (DC component of CR component) ^ 2 + (DC component of CB) ^ 2 ≦ α Sum of squares of high frequency components of Y component ≧ β (where X ^ 2 is X 3. The image processing apparatus according to claim 2, wherein it is determined whether or not (square) is satisfied.
【請求項4】 前記判定手段は、更に、 CB及びCRのブロックサイズに複数納まるY成分のブロ
ックの直流成分をY0,Y1,Y2,…YNとした場合、 Yave=ΣYi/(N+1) を演算し、 σ^2=Σ(Yi−Yave)^2≧γ が成立するかを判定することを特徴とする請求項第3項
に記載の画像処理装置。
4. The determining means further calculates: Yave = ΣYi / (N + 1), where Y0, Y1, Y2,..., YN are DC components of Y component blocks which are included in a plurality of block sizes of CB and CR. 4. The image processing apparatus according to claim 3, wherein it is determined whether or not σ ^ 2 = Σ (Yi−Yave) ^ 2 ≧ γ is satisfied.
【請求項5】 前記判定手段は、更に、 CB及びCRのブロックサイズに複数納まるY成分のブロ
ックの交流成分の二乗輪をYAC0,YAC1,YAC2,…YACN
とした場合、 YAC=ΣYACi/(N+1) を演算し、 σAC^2=Σ(YACi−YAC)^2≧δ が成立するかを判定することを特徴とする請求項第3項
に記載の画像処理装置。
5. The determinator further calculates the squares of the AC components of the Y component blocks which are included in a plurality of CB and CR block sizes by YAC0, YAC1, YAC2,.
4. The image according to claim 3, wherein YAC = ΣYACi / (N + 1) is calculated, and it is determined whether or not σAC ^ 2 = Σ (YACi−YAC) ^ 2 ≧ δ is satisfied. Processing equipment.
【請求項6】 前記判定手段は、更に、 CB及びCRのブロックサイズに複数納まるY成分のブロ
ックの直流成分の最大値をYmax、最小値をYminと
した場合、 Ymax−Ymin≧a が成立するかを判定することを特徴とする請求項第3項
に記載の画像処理装置。
6. The determination means further satisfies Ymax−Ymin ≧ a, where Ymax is the maximum value of the DC component of the Y component block that fits in the block size of CB and CR, and Ymin is the minimum value. The image processing apparatus according to claim 3, wherein the determination is made.
【請求項7】 前記判定手段は、更に、 CB及びCRのブロックサイズに複数納まるY成分のブロ
ックの交流成分の二乗輪の最大のものをYACmax、最小
のものをYACminとした場合、 YACmax−YACmin≧b が成立するかを判定することを特徴とする請求項第3項
に記載の画像処理装置。
7. The system according to claim 1, further comprising: determining a maximum value of YACmax as the square of the square of the AC component of the Y component block included in a plurality of block sizes of CB and CR, and defining a minimum value of YACmin as YACmax. 4. The image processing apparatus according to claim 3, wherein it is determined whether or not ≧ b.
【請求項8】 前記符号化には、JPEG符号化、MM
R符号化が含まれることを特徴とする請求項第1項に記
載の画像処理装置。
8. The encoding includes JPEG encoding, MM
The image processing apparatus according to claim 1, wherein R encoding is included.
【請求項9】 請求項第1項乃至第8項に記載の画像処
理装置は、ファクシミリ装置に搭載されることを特徴と
する。
9. The image processing apparatus according to claim 1, wherein the image processing apparatus is mounted on a facsimile machine.
【請求項10】 原稿画像をカラー画像として入力する
入力工程と、 入力されたカラー画像データに対して所定の色空間のデ
ータに変換する色変換工程と、 該変換工程で変換された画像データの各成分の所定サイ
ズのブロック単位に直交変換する直交変換工程と、 直交変換された各成分のブロック内のデータに基づい
て、当該ブロックの属性を判定する判定工程と、 該判定工程の判定結果に応じて、注目ブロックのカラー
画像データに対して、少なくとも2以上の異なる符号化
の中から選択的に符号化する符号化工程とを備えること
を特徴とする画像処理方法。
10. An input step of inputting a document image as a color image, a color conversion step of converting the input color image data into data of a predetermined color space, and a step of converting the image data converted in the conversion step. An orthogonal transformation step of orthogonally transforming each component into blocks of a predetermined size; a determination step of determining the attribute of the block based on the data in the block of the orthogonally transformed components; and a determination result of the determination step. An encoding step of selectively encoding at least two or more different encodings for the color image data of the target block.
【請求項11】 原稿画像をカラー画像として入力する
入力手段と、 少なくとも2以上の異なる符号化手段と、 入力されたカラー画像データの所定サイズの画素ブロッ
クのデータに基づいて、注目画素ブロックに対する符号
化手段のいずれを選択するかを判定する判定手段とを備
え、更に、 前記判定手段の判定条件を外部から調整する調整手段と
を備えることを特徴とする画像処理装置。
11. An input unit for inputting a document image as a color image, at least two or more different encoding units, and a code for a pixel block of interest based on data of a pixel block of a predetermined size of the input color image data. An image processing apparatus comprising: a determination unit that determines which one of the conversion units is to be selected; and an adjustment unit that externally adjusts a determination condition of the determination unit.
【請求項12】 前記調整手段は、当該判定条件を、外
部から指示された原稿の材質に応じて調整することを特
徴とする請求項第11項に記載の画像処理装置。
12. The image processing apparatus according to claim 11, wherein the adjustment unit adjusts the determination condition according to a material of a document specified externally.
【請求項13】 前記調整手段は、当該判定条件を、外
部から指示された濃度情報に応じて調整することを特徴
とする請求項第11項に記載の画像処理装置。
13. The image processing apparatus according to claim 11, wherein the adjustment unit adjusts the determination condition according to density information instructed from outside.
【請求項14】 前記調整手段は、当該判定条件を、外
部から指示された色見本に応じて調整することを特徴と
する請求項第11項に記載の画像処理装置。
14. The image processing apparatus according to claim 11, wherein the adjustment unit adjusts the determination condition according to a color sample instructed from outside.
【請求項15】 原稿画像をカラー画像として入力する
入力工程と、 少なくとも2以上の異なる符号化工程と、 入力されたカラー画像データの所定サイズの画素ブロッ
クのデータに基づいて、注目画素ブロックに対する符号
化手段のいずれを選択するかを判定する判定工程とを備
え、更に、 前記判定工程の判定条件を外部から調整する調整工程と
を備えることを特徴とする画像処理方法。
15. An input step of inputting a document image as a color image, at least two or more different encoding steps, and a code for a pixel block of interest based on data of a pixel block of a predetermined size of the input color image data. A determining step of determining which of the converting means is to be selected, and an adjusting step of externally adjusting the determining condition of the determining step.
JP20203796A 1996-07-31 1996-07-31 Image processing apparatus and method Expired - Fee Related JP3352330B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20203796A JP3352330B2 (en) 1996-07-31 1996-07-31 Image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20203796A JP3352330B2 (en) 1996-07-31 1996-07-31 Image processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH1051643A true JPH1051643A (en) 1998-02-20
JP3352330B2 JP3352330B2 (en) 2002-12-03

Family

ID=16450895

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20203796A Expired - Fee Related JP3352330B2 (en) 1996-07-31 1996-07-31 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP3352330B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011239365A (en) * 2010-04-12 2011-11-24 Canon Inc Moving image encoding apparatus and method for controlling the same, and computer program
CN112434180A (en) * 2020-12-15 2021-03-02 暨南大学 Ciphertext JPEG image retrieval method based on DCT coefficient value replacement and attention network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011239365A (en) * 2010-04-12 2011-11-24 Canon Inc Moving image encoding apparatus and method for controlling the same, and computer program
US9055292B2 (en) 2010-04-12 2015-06-09 Canon Kabushiki Kaisha Moving image encoding apparatus, method of controlling the same, and computer readable storage medium
CN112434180A (en) * 2020-12-15 2021-03-02 暨南大学 Ciphertext JPEG image retrieval method based on DCT coefficient value replacement and attention network
CN112434180B (en) * 2020-12-15 2024-03-15 暨南大学 Ciphertext JPEG image retrieval method based on DCT coefficient value replacement and attention network

Also Published As

Publication number Publication date
JP3352330B2 (en) 2002-12-03

Similar Documents

Publication Publication Date Title
US6342950B1 (en) Method and apparatus for encoding image, image decoding apparatus and image forming apparatus
JP2720924B2 (en) Image signal encoding device
EP0785669B1 (en) Image processing method and apparatus
EP0434429B1 (en) Image processing apparatus
JP5132517B2 (en) Image processing apparatus and image processing method
US7667711B2 (en) Image processing system, a method thereof, and a recording medium thereof
US20100329548A1 (en) Image compressing apparatus, image compressing method, image decompressing apparatus, image decompressing method, image forming apparatus and recording meduim
JP4402580B2 (en) Image processing system
US7692669B2 (en) Image processing apparatus, image processing method and image processing program
JP2006180456A (en) Image compressor, image decoder, image converter and image processing method
WO2002102056A1 (en) Image encoding method, and image device
JP2022030055A (en) Image processing apparatus, image processing method, and program
JP4898601B2 (en) Image processing apparatus, image processing method, and program thereof
JP3352330B2 (en) Image processing apparatus and method
JP2004112695A (en) Image processing apparatus and processing method thereof
JP2007258804A (en) Image processing unit
JP2004128664A (en) Image processor and processing method
JPH0993438A (en) Image processor and its method
JPH0951441A (en) Image processing unit
JPH0575871A (en) Picture processor
JP4281242B2 (en) Image processing apparatus and method, printer apparatus having the image processing apparatus, and storage medium storing computer-readable program
JP3083084B2 (en) Image processing device
JPH06339028A (en) Picture display device
JP3340015B2 (en) Image data decoding device and decoding method
JP3432104B2 (en) Image decoding device and image decoding method

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: 20020826

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

Free format text: PAYMENT UNTIL: 20070920

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20080920

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090920

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090920

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100920

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100920

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110920

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110920

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120920

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120920

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130920

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees