JPH0832812A - Image processing unit and its method - Google Patents

Image processing unit and its method

Info

Publication number
JPH0832812A
JPH0832812A JP6166621A JP16662194A JPH0832812A JP H0832812 A JPH0832812 A JP H0832812A JP 6166621 A JP6166621 A JP 6166621A JP 16662194 A JP16662194 A JP 16662194A JP H0832812 A JPH0832812 A JP H0832812A
Authority
JP
Japan
Prior art keywords
image
color
black
white
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP6166621A
Other languages
Japanese (ja)
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 JP6166621A priority Critical patent/JPH0832812A/en
Publication of JPH0832812A publication Critical patent/JPH0832812A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To send an image with high image quality in a shortest transmission time by applying proper coding processing to data as to a color/black-white area through one scanning. CONSTITUTION:At first a color sensor 102 reads a picture element string of a prescribed line, an image discrimination section 104 discriminates whether the image is a color image or a black/white image and the result of discrimination is stored in a discrimination result memory 106. Furthermore, received multi-value image data are stored in an image memory 105 as they are. Then image data are read by a black/white image sensor 103 and given to a coding section 107. The coding section 107 references the discrimination result memory 106 to discriminate an attribute. When a black/white area is discriminated from a block, coding suitable for binary data such as run length coding is applied to binary data read by the black/white sensor 103 and an identification code is added to the data. When a color area is discriminated from the block, coding suitable for multi-value data such as DPCM is applied to block data stored in the image memory.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は画像処理装置及び方法に
関し、特に、カラー画像領域と白黒画像領域とが混在す
る原稿を処理する画像処理装置及び方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method, and more particularly to an image processing apparatus and method for processing an original document in which a color image area and a monochrome image area are mixed.

【0002】[0002]

【従来の技術】従来より、カラー原稿を伝送可能なファ
クシミリ装置において、送信する原稿がカラーであるか
白黒であるかに応じて伝送時の符号化方式を切替えるこ
とにより、伝送効率、及び画質を向上させる技術が検討
されてきた。原稿がカラーであるか白黒であるかは、1
ページ分の原稿全体について、操作者が手動によりその
指定を切り替える方法や、装置内で自動的に判定するこ
とにより判断することが検討されてきた。尚、原稿を装
置で自動的に判定するためには、読取センサのR,G,
B出力の比等により、原稿がカラーか白黒かを判定する
様に構成されていた。
2. Description of the Related Art Conventionally, in a facsimile apparatus capable of transmitting color originals, transmission efficiency and image quality are improved by switching the encoding method during transmission according to whether the originals to be transmitted are color or black and white. Techniques for improving have been studied. 1 if the manuscript is color or black and white
It has been considered to judge the entire manuscript for pages by a method in which the operator manually switches the designation or by automatically judging in the apparatus. In addition, in order to automatically determine the original by the apparatus, the reading sensors R, G, and
It is configured to determine whether the original is color or black and white based on the B output ratio and the like.

【0003】最近、1ページにカラー画像と白黒2値の
文字とが複雑に混在しているような文書が一般に広く使
用される様になってきている。上述した様なファクシミ
リ装置においては、1ページ分の原稿全体についてカラ
ー原稿であるか白黒原稿であるかを判定するため、この
ように1ページの原稿内にカラー画像と白黒2値の文字
とが複雑に混在している場合には適切な判定を行うこと
が困難となり、例えば、少しでもカラー部分があると原
稿全体をカラー原稿と判断してしまい、伝送効率及び画
質の向上が望めなくなってしまう。
Recently, a document in which a color image and black and white binary characters are complicatedly mixed in one page has been widely used. In the above-mentioned facsimile apparatus, since it is determined whether the entire original for one page is a color original or a black-and-white original, the color image and the black-and-white binary characters are thus included in the original for one page. If they are complicatedly mixed, it becomes difficult to make an appropriate determination. For example, if there is a color portion even a little, the entire document is determined to be a color document, and improvement in transmission efficiency and image quality cannot be expected. .

【0004】そこで、まず1ページの原稿の内部を所定
の小領域に分割し、各領域毎にふさわしい符号化方式に
切換えて伝送するという方法が検討されていた。例え
ば、小領域へ分割方法として、カラー領域と白黒領域と
に分割するという方法も検討されていた。
Therefore, a method of dividing the inside of a one-page original into predetermined small areas and switching to an appropriate encoding method for each area for transmission has been studied. For example, as a method of dividing into small areas, a method of dividing into a color area and a black and white area has also been considered.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
た従来のファクシミリ装置においては、1ページの原稿
の内部を小領域に分割するために、予備走査(プリスキ
ャン)が必要となり、ファクシミリ装置の機械的構造が
複雑化してしまう。また、このプリスキャンを省略する
ためには、装置内に少なくとも原稿1ページ分のカラー
画像データを記憶するRGBメモリが必要となり、例え
ば、A4サイズ1ページの原稿に対して少なくとも50
メガバイト以上もの容量のメモリが必要となる。
However, in the above-mentioned conventional facsimile apparatus, in order to divide the inside of the original of one page into small areas, a preliminary scan (prescan) is required, and the mechanical operation of the facsimile apparatus is required. The structure becomes complicated. Further, in order to omit this prescan, an RGB memory for storing color image data of at least one page of the original is required in the apparatus, and for example, at least 50 for an original of A4 size one page.
A memory with a capacity of megabytes or more is required.

【0006】このRGBメモリを全て半導体メモリで構
成すると高コストは免れず、また、例えば安価なハード
ディスク等で構成すると処理時間がかかりすぎてしまう
という欠点があった。
If all of the RGB memories are composed of semiconductor memories, there is a drawback that high cost is inevitable, and if they are composed of, for example, inexpensive hard disks, it takes too much processing time.

【0007】本発明は上述した課題を解決するためにな
されたものであり、1ページ内にカラー画像と白黒画像
とが混在している原稿について、プリスキャンを行うこ
と無く、又、大容量のメモリを搭載すること無く、カラ
ー画像領域と白黒画像領域とを装置内で適切に判定し、
十分効率的かつ高画質な伝送を行う画像処理装置及び方
法を提供することを目的とする。
The present invention has been made in order to solve the above-described problems, and does not perform prescanning for a document in which a color image and a black and white image are mixed in one page and has a large capacity. Without installing a memory, the color image area and the monochrome image area are appropriately determined in the device,
An object of the present invention is to provide an image processing apparatus and method that perform sufficiently efficient and high-quality transmission.

【0008】[0008]

【課題を解決するための手段】上述した目的を達成する
ために、本発明は以下の構成を備える。
In order to achieve the above-mentioned object, the present invention comprises the following constitutions.

【0009】即ち、原稿画像を読み取るカラー読み取り
手段と、前記カラー読み取り手段により読み取った画像
データに基づいて前記原稿画像のカラー部分を判別する
判別手段と、前記判別手段によりカラー部分と判別され
た画像データを多値符号化する第1の符号化手段と、前
記原稿画像を白黒画像として読み取る白黒読み取り手段
と、前記判別手段によりカラー部分と判別されなかった
部分は前記白黒読み取り手段で読み取った画像データを
符号化する第2の符号化手段と、前記第1の符号化手段
と前記第2の符号化手段で符号化されたデータを送信す
る送信手段とを有することを特徴とする。
That is, a color reading means for reading an original image, a discriminating means for discriminating a color portion of the original image based on the image data read by the color reading means, and an image discriminated as a color portion by the discriminating means. First encoding means for multi-value encoding data, black-and-white reading means for reading the original image as a black-and-white image, and image data read by the black-and-white reading means for portions not discriminated as color portions by the discrimination means. And a transmitting means for transmitting the data encoded by the first encoding means and the second encoding means.

【0010】例えば、前記第1の符号化手段は多値デー
タによる符号化を行い、前記第2の符号化手段は2値デ
ータによる符号化を行うことを特徴とする。
For example, the first encoding means encodes multi-valued data, and the second encoding means encodes binary data.

【0011】更に、前記カラー読み取り手段はカラーセ
ンサを有し、前記白黒読み取り手段は白黒センサを有
し、前記カラーセンサは前記白黒センサに対し原稿の搬
送方向の上流側に設けられていることを特徴とする。
Further, the color reading means has a color sensor, the black-and-white reading means has a black-and-white sensor, and the color sensor is provided upstream of the black-and-white sensor in the document conveying direction. Characterize.

【0012】更に、前記カラー読み取り手段の読み取り
速度を前記判別手段によりカラーであると判別されると
遅くし白黒であると判別されると速くするように制御す
る速度制御手段を有することを特徴とする。
Further, there is provided speed control means for controlling the reading speed of the color reading means so as to slow down the reading speed when it is judged to be color by the judging means and to increase it when it is judged to be black and white. To do.

【0013】更に、前記カラー読み取り手段により読み
取られた画像データを記憶する画像データ記憶手段と、
前記判別手段の判別結果を記憶する判別結果記憶手段と
を更に有することを特徴とする。
Image data storage means for storing the image data read by the color reading means,
It is characterized by further comprising a discrimination result storage means for storing the discrimination result of the discrimination means.

【0014】更に、前記画像データ記憶手段と前記判別
結果記憶手段とに記憶されている内容を前記速度制御手
段による速度制御に基づいて制御する記憶内容制御手段
とを更に有することを特徴とする。
Further, it is characterized by further comprising storage content control means for controlling the content stored in the image data storage means and the discrimination result storage means based on the speed control by the speed control means.

【0015】[0015]

【作用】以上の構成により、プリスキャンを行うこと無
く、かつ大容量のメモリを備えること無く、1ページの
原稿内に混在したカラー領域と白黒領域とを分割するこ
とができるという特有の作用効果が得られる。
With the above configuration, it is possible to divide a mixed color area and black and white area in one page of an original without performing a prescan and without providing a large capacity memory. Is obtained.

【0016】[0016]

【実施例】以下、本発明に係る一実施例について、図面
を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment according to the present invention will be described in detail below with reference to the drawings.

【0017】<第1実施例>図1は、本実施例に基づく
カラーファクシミリ装置の概要構成を示すブロック図で
ある。
<First Embodiment> FIG. 1 is a block diagram showing the schematic arrangement of a color facsimile apparatus according to this embodiment.

【0018】図1において、カラーファクシミリ装置1
0は画像入力部11,送信処理部12,受信処理部1
3,画像出力部14,及び通信部15から構成される。
画像入力部11を構成するCCDラインセンサ等によ
り、原稿画像が多値のカラー画像、又は2値の白黒画像
データとして読み込まれ、送信処理部12において後述
するデータ処理が施された後、通信部15より公衆電話
回線又は専用回線等に出力される。一方、通信部15に
おいて他装置からの画像データを受信した場合には、受
信処理部13で所定の画像処理を施した後、プリンタ等
で構成される出力部14において受信データを出力す
る。
In FIG. 1, a color facsimile machine 1
0 is the image input unit 11, the transmission processing unit 12, the reception processing unit 1
3, an image output unit 14, and a communication unit 15.
The original image is read as a multi-valued color image or binary black-and-white image data by the CCD line sensor or the like that constitutes the image input unit 11, and the transmission processing unit 12 performs data processing described later, and then the communication unit. Output from 15 to a public telephone line or a dedicated line. On the other hand, when the communication unit 15 receives image data from another device, the reception processing unit 13 performs predetermined image processing, and then the output unit 14 including a printer outputs the received data.

【0019】図2に、上述した画像入力部11と送信処
理部12の詳細構成、及び通信部15との関係を示す。
図2の画像入力部11において、101は原稿であり、
102はカラー対応のラインセンサ(以下、「カラーセ
ンサ」とする)、103は白黒対応のラインセンサ(以
下、「白黒センサ」とする)である。紙送りの方向は図
中、矢印で示す方向であり、原稿101はまずラインカ
ラーセンサ102で読み込まれ、所定時間(距離)の
後、ライン白黒センサ103で読み込まれる様に構成さ
れている。また、111は原稿101を矢印方向に送る
紙送り装置であり、紙送りモータ110により駆動され
る。
FIG. 2 shows a detailed configuration of the image input unit 11 and the transmission processing unit 12 described above, and a relationship between the communication unit 15.
In the image input unit 11 of FIG. 2, 101 is a document,
Reference numeral 102 denotes a color compatible line sensor (hereinafter referred to as “color sensor”), and 103 denotes a monochrome compatible line sensor (hereinafter referred to as “monochrome sensor”). The paper feed direction is the direction shown by the arrow in the figure, and the original 101 is read by the line color sensor 102 first, and is read by the line monochrome sensor 103 after a predetermined time (distance). Further, 111 is a paper feeding device for feeding the original 101 in the arrow direction, and is driven by the paper feeding motor 110.

【0020】また、送信処理部12は、画像データがカ
ラーであるか白黒であるかを判定する画像判定部10
4,画像メモリ105,画像判定部104の判定結果を
記憶する判定結果メモリ106,カラー画像信号及び白
黒画像信号に対してそれぞれ最適な符号化を行う符号化
部107,画像入力部11の紙送りモータ110の回転
を制御する紙送り速度制御部109,画像メモリ105
及び判定結果メモリ106の内容を制御するメモリ内容
制御部112により構成される。
The transmission processing unit 12 also determines whether the image data is color or black and white.
4, an image memory 105, a determination result memory 106 that stores the determination result of the image determination unit 104, an encoding unit 107 that optimally encodes a color image signal and a monochrome image signal, and a paper feed of the image input unit 11 Paper feed speed control unit 109 for controlling rotation of motor 110, image memory 105
And a memory content control unit 112 that controls the content of the determination result memory 106.

【0021】以下、本実施例における送信処理につい
て、図2、及び図3を参照して詳細に説明する。図3は
本実施例の送信処理において、原稿101の所定ライン
の処理を示すフローチャートである。
The transmission process in this embodiment will be described in detail below with reference to FIGS. 2 and 3. FIG. 3 is a flowchart showing processing of a predetermined line of the original 101 in the transmission processing of this embodiment.

【0022】図3において、まずステップS301でカ
ラーセンサ102により所定ラインの画素列を、多値の
カラー画像データとして読み込む。そして処理はステッ
プS302に進み、読み込まれた画像データは、画像判
定部104に入力される。画像判定部104では入力さ
れた1ラインの多値の画像データをブロック化し、各ブ
ロックがカラー画像データであるか白黒画像データであ
るかを後述する方法により判定し、その判定結果を判定
結果メモリ106に格納する。尚、入力された多値の画
像データはそのまま画像メモリ105に格納される。画
像メモリ105の容量については、後述する。
In FIG. 3, first, in step S301, the color sensor 102 reads a pixel line of a predetermined line as multivalued color image data. Then, the process proceeds to step S302, and the read image data is input to the image determination unit 104. The image determination unit 104 divides the input multi-valued image data of one line into blocks, determines whether each block is color image data or monochrome image data by a method described later, and stores the determination result in a determination result memory. It stores in 106. The input multi-valued image data is stored in the image memory 105 as it is. The capacity of the image memory 105 will be described later.

【0023】そして処理はステップS303に進み、ス
テップS301で読み込み済みのライン、即ち、画像メ
モリ105に格納されているラインが、白黒センサ10
3で2値のデータとして読み込まれたか否かを判定す
る。まだ読み込まれていなければステップS304に進
み、紙送り制御を行う。
Then, the process proceeds to step S303, and the line read in step S301, that is, the line stored in the image memory 105 is the black-and-white sensor 10.
In 3, it is determined whether or not it is read as binary data. If it has not been read, the flow advances to step S304 to perform paper feed control.

【0024】ここで、本実施例における紙送り制御につ
いて説明する。
Here, the paper feed control in this embodiment will be described.

【0025】一般に、ファクシミリ装置における送信処
理の際に、全体の処理速度に最も関わってくるのは、実
際に公衆回線等にデータを送出する伝送部分である。
Generally, in the transmission process of the facsimile apparatus, the transmission part that actually sends the data to the public line or the like is most concerned with the overall processing speed.

【0026】一般に、カラー画像データはRGBの多値
信号であり、白黒画像データは2値信号であるので、圧
縮を考慮しても両者の伝送すべきデータ量には大きな違
いがある。単純計算でも、3(RGB)×8(ビット)
=24倍となる。但し、実際にはカラー信号の方が冗長
度が大きく、即ち圧縮効率が良いため、24倍以下とな
る。
Generally, since color image data is a multi-valued RGB signal and monochrome image data is a binary signal, there is a large difference in the amount of data to be transmitted even if compression is taken into consideration. Even with simple calculation, 3 (RGB) x 8 (bit)
= 24 times. However, in reality, the color signal has a larger degree of redundancy, that is, the compression efficiency is better, so that it is 24 times or less.

【0027】従って、白黒画像データを伝送する場合に
は、カラー画像データを伝送する場合と比べて伝送量は
小さくてよい。即ち、伝送時間も短くてすむため、原稿
101の紙送り速度を上げることができる。一方、カラ
ー画像データを伝送する場合には、伝送量が大きいた
め、伝送処理と同期を取るために紙送り速度は下げねば
ならない。例えば白黒画像データの伝送時に無効データ
を送出するようにすれば、紙送り速度を一定とすること
ができるが、そうすることにより通信時間及びコストが
増大してしまう。
Therefore, in the case of transmitting black and white image data, the amount of transmission may be smaller than that in the case of transmitting color image data. That is, since the transmission time is short, the paper feed speed of the original 101 can be increased. On the other hand, when transmitting color image data, since the transmission amount is large, the paper feed speed must be reduced in order to synchronize with the transmission processing. For example, if invalid data is sent during transmission of black-and-white image data, the paper feed speed can be kept constant, but doing so increases communication time and cost.

【0028】上述した紙送り速度の制御は、ステップS
304において紙送り速度制御部109で行われる。紙
送り速度制御部109では、判定結果メモリ106に格
納された直前の判定結果を参照して、当該ラインが含ま
れる白黒ブロック数とカラーブロック数との比率に応じ
て上述したように適切な速度を設定し、画像入力部11
の紙送りモータ110を制御することにより、紙送り装
置111において適切な速度で原稿が送られる。また、
原稿の後端がカラーセンサ102の位置を通過した後
は、紙送り速度はその直前の速度のまま一定となる。
The above-described control of the paper feed speed is performed in step S
In 304, the paper feed speed control unit 109 performs this. The paper feed speed control unit 109 refers to the immediately preceding determination result stored in the determination result memory 106, and determines the appropriate speed as described above according to the ratio between the number of black and white blocks and the number of color blocks including the line. The image input unit 11
By controlling the paper feeding motor 110, the original is fed at an appropriate speed in the paper feeding device 111. Also,
After the trailing edge of the original has passed the position of the color sensor 102, the paper feeding speed remains constant just before that.

【0029】従って、本実施例における紙送り制御で
は、カラーセンサ102で先行して読み込まれたライン
におけるカラーブロック数と白黒ブロック数との比率に
応じて、白黒センサ103を原稿が通過する際の紙送り
速度が制御されるため、伝送時間を考慮した最適な紙送
り制御が行える。
Therefore, in the paper feed control according to the present embodiment, when a document passes through the black and white sensor 103 in accordance with the ratio of the number of color blocks and the number of black and white blocks in the line previously read by the color sensor 102. Since the paper feed speed is controlled, optimum paper feed control can be performed in consideration of the transmission time.

【0030】次に処理はステップS305,S306に
進み、上述したステップS301,S302と同様の処
理を行い、ステップS303に戻る。
Next, the process proceeds to steps S305 and S306, performs the same process as steps S301 and S302 described above, and returns to step S303.

【0031】尚、紙送り速度制御部109において生成
される紙送り速度の制御データはメモリ内容制御部11
2へも出力される。ステップS306において画像判定
結果が判定結果メモリ106に格納される際に、メモリ
内容制御部112は画像メモリ105,判定結果メモリ
106に対して、それぞれの書き込み位置、及び後述す
る符号化部107からの読み出し位置が原稿101の走
査と対応して制御される。
The control data of the paper feed speed generated by the paper feed speed control unit 109 is stored in the memory content control unit 11
It is also output to 2. When the image determination result is stored in the determination result memory 106 in step S306, the memory content control unit 112 writes the respective write positions in the image memory 105 and the determination result memory 106, and from the encoding unit 107 described later. The reading position is controlled in correspondence with the scanning of the original 101.

【0032】そして、ステップS303において白黒セ
ンサ103で当該ラインが読み込まれたと判断されるま
で、以上の処理を繰りかえす。
The above process is repeated until it is determined in step S303 that the line has been read by the monochrome sensor 103.

【0033】ステップS303において当該ラインが読
み込まれたと判断されると、処理はステップS307に
進み、読み取った当該ラインを含む各ブロックの属性
(カラー/白黒)を判定する。ステップS307におい
て、白黒センサ103に読み込まれた画像データは符号
化部107に入力される。当該ラインはカラーセンサ1
02で既に読み込まれており、そのブロックの属性は判
定結果メモリ106に格納されているため、符号化部1
07では判定結果メモリ106を参照することにより、
各ブロックの属性を判定することができる。ブロックが
白黒領域であると判定されるとステップS308に進
み、白黒センサ103で読み込んだ2値データに対して
ランレングス符号化等、2値データに適した符号化が行
われ、識別符号が付加される。一方、ステップS307
においてカラー領域であると判定されると、ステップS
309に進み、画像メモリ105に格納されている当該
ブロックデータに対し、例えばDPCM等、多値データ
に適した符号化が行われる。尚、ステップS309にお
いて、カラー画像データを輝度信号と色差信号とに分離
することにより、色差信号についての圧縮率をかなり上
げることができる。そして、識別符号等を付加する。
If it is determined in step S303 that the line has been read, the process proceeds to step S307 to determine the attribute (color / black and white) of each block including the read line. In step S307, the image data read by the monochrome sensor 103 is input to the encoding unit 107. The line is color sensor 1
02 has already been read and the attribute of the block is stored in the determination result memory 106.
In 07, by referring to the determination result memory 106,
The attributes of each block can be determined. If it is determined that the block is in the monochrome area, the process proceeds to step S308, the binary data read by the monochrome sensor 103 is encoded suitable for the binary data such as run length encoding, and the identification code is added. To be done. On the other hand, step S307
If it is determined to be a color area in step S
Proceeding to 309, the block data stored in the image memory 105 is encoded suitable for multi-valued data such as DPCM. Incidentally, in step S309, by separating the color image data into the luminance signal and the color difference signal, the compression rate for the color difference signal can be considerably increased. Then, an identification code or the like is added.

【0034】そして処理はステップS310に進み、ス
テップS308及びS309において最適な符号化が施
された画像データは、モデム等により構成される通信部
15から電話回線やISDN回線等へ送出される。
Then, the process proceeds to step S310, and the image data optimally encoded in steps S308 and S309 is sent from the communication section 15 including a modem to a telephone line, an ISDN line or the like.

【0035】以上説明した処理を原稿101の全てのラ
インについて行うことにより、1枚の原稿に混在するカ
ラー領域、白黒領域それぞれに最適な符号化を行うこと
ができる。
By performing the above-described processing for all the lines of the original 101, it is possible to perform the optimum encoding for each of the color area and the black and white area mixed in one original.

【0036】次に、上述した画像メモリ105及び判定
結果メモリ106の取りうる容量について説明する。
Next, the capacities of the image memory 105 and the judgment result memory 106 described above will be described.

【0037】まず、判定結果メモリは、白黒/カラーの
判定に各ブロック毎に1ビットを割り当てれば十分であ
り、また、原稿101においてカラーセンサ102と白
黒センサ103との間の領域についてのみ判定すればよ
い。従って、判定結果メモリ106の容量は十分小さく
て良い。例えば、1画素で1ブロックを構成するとして
も、A4サイズ(センサの移動方向に対して垂直方向長
約8インチ)、200dpiの1枚の原稿に対して、カ
ラーセンサ102と白黒センサ103との間の距離が1
/3インチ(約8mm程度)であるとすれば、必要な容量
は約(8インチ×200ドット)×(1/3インチ×2
00ドット)≒100キロバイト程度である。更に、8
×8画素で1ブロックを構成するとすれば、100/8
=12.5キロバイトで良い。尚、カラーセンサ102
と白黒センサ103との間隔は適当に設定して良いが、
この間隔により、画像メモリ105及び判定結果メモリ
106の必要容量が変化する。
First, in the judgment result memory, it is sufficient to allocate 1 bit for each block for the black / white judgment, and the judgment is made only for the area between the color sensor 102 and the black / white sensor 103 in the original 101. do it. Therefore, the capacity of the determination result memory 106 may be sufficiently small. For example, even if one pixel is made up of one block, the color sensor 102 and the monochrome sensor 103 are used for one document of A4 size (about 8 inches in the vertical direction with respect to the sensor moving direction) and 200 dpi. The distance is 1
If it is / 3 inch (about 8 mm), the required capacity is about (8 inch x 200 dots) x (1/3 inch x 2)
00 dots) ≈100 kilobytes. Furthermore, 8
If one block is composed of × 8 pixels, 100/8
= 12.5 kilobytes is enough. The color sensor 102
The distance between the black and white sensor 103 and the black and white sensor 103 may be set appropriately,
The required capacity of the image memory 105 and the determination result memory 106 changes depending on this interval.

【0038】次に、画像メモリ105については、例え
ばR,G,Bをそれぞれ8ビットで記憶する場合、約
(8インチ×200ドット)×(1/3インチ×200
ドット)×3×8=2.56メガバイトである。これは
例えば4メガバイトDRAM1個で十分な容量である。
もちろん、画像メモリ105は4メガバイトDRAM1
個で構成される例に限定されるものではなく、処理速度
等を考慮して適当に構成すればよい。
Next, regarding the image memory 105, for example, when each of R, G, and B is stored in 8 bits, about (8 inches × 200 dots) × (1/3 inches × 200)
Dot) × 3 × 8 = 2.56 megabytes. For example, one 4-megabyte DRAM is sufficient capacity.
Of course, the image memory 105 is a 4-megabyte DRAM1
It is not limited to the example in which it is configured by individual pieces, and may be appropriately configured in consideration of the processing speed and the like.

【0039】次に、画像判定部104において各領域を
白黒かカラーかを判定する方法について説明する。判定
方法は種々考えられるが、本実施例では以下の方法を採
用する。
Next, a method of determining whether each area is monochrome or color in the image determining section 104 will be described. Although various determination methods can be considered, the following method is used in this embodiment.

【0040】まず読み込んだ画像データについて、例え
ば8×8画素を1ブロックとする(200dpiの原稿
においては約1mm四方の大きさ)。そして、このブロッ
ク毎に、白黒かカラーかを判定する。判定方法として
は、例えばα,βを十分小さな値であるとすると、 |(R/G)−1|<αかつ|(B/G)−1|<β が成立する画素、即ち、R,G,Bの比が1:1:1に
十分近い画素が、全画素(64画素)中の約9割以上
(例えば58画素以上)存在していれば、そのブロック
は黒白領域であると判定し、そうでなければカラー領域
であると判定する。
First, for the read image data, for example, 8 × 8 pixels are set as one block (in a 200 dpi original, the size is about 1 mm square). Then, for each block, it is determined whether it is monochrome or color. As a determination method, for example, when α and β are sufficiently small values, pixels satisfying | (R / G) −1 | <α and | (B / G) −1 | <β, that is, R, If there are 90% or more (for example, 58 pixels or more) of all pixels (64 pixels) in which the ratio of G and B is sufficiently close to 1: 1: 1, it is determined that the block is a black and white area. If not, it is determined to be the color area.

【0041】尚、本実施例では、ブロック化処理に起因
して、カラー領域と白黒領域との切替り部分の画像品位
が若干低下することも考えられるが、事実上問題になら
ない程度である。
In the present embodiment, the image quality of the switching portion between the color area and the black and white area may be slightly deteriorated due to the blocking process, but this is not a problem in practice.

【0042】以上、本実施例のファクシミリ装置10の
送信処理部12における送信処理について説明を行っ
た。カラー領域及び白黒領域それぞれに符号化されたデ
ータは、それぞれ識別符号が付加されているため、受信
処理部13において該データを受信した際にも、適切な
復号処理が行える。
The transmission processing in the transmission processing unit 12 of the facsimile apparatus 10 of this embodiment has been described above. Since the data encoded in the color area and the data encoded in the black-and-white area are respectively provided with the identification codes, an appropriate decoding process can be performed even when the reception processing unit 13 receives the data.

【0043】以上説明した様に本実施例によれば、まず
カラーセンサにより画像データを読み込み、カラーか白
黒かの領域判定を行い、その結果に基づいて紙送り速度
を制御し、又、カラーセンサの出力の一部を記憶する。
その後、白黒センサで画像データを読み込み、上記領域
判定の結果に基づいて、白黒センサの出力を符号化して
出力するか、記憶されているカラーセンサの出力の一部
を符号化して出力するかを切替えて出力することによ
り、伝送時にカラー領域と白黒領域とでそれぞれ最適な
符号化を施すことにより、通信コストを低減でき、かつ
画質を向上させることができるという効果を保ちなが
ら、搭載するメモリ容量を小さくできることができ、更
に紙送り機構を簡単に構成できることから、装置の小型
化、及びコスト減が実現できる。
As described above, according to the present embodiment, first, the image data is read by the color sensor, the area of color or black and white is determined, the paper feed speed is controlled based on the result, and the color sensor is also used. Memorize part of the output of.
After that, the image data is read by the black-and-white sensor, and based on the result of the area determination, whether the output of the black-and-white sensor is encoded and output or a part of the stored color sensor output is encoded and output. By switching and outputting, by performing optimal encoding in the color area and the black and white area at the time of transmission, the communication capacity can be reduced and the image quality can be improved while maintaining the installed memory capacity. Can be made smaller, and the paper feed mechanism can be simply configured, so that the apparatus can be downsized and the cost can be reduced.

【0044】<他の実施例>上述した第1実施例におい
ては、画像メモリ105にカラーセンサ102で読み取
った画像データそのものを格納する例について説明した
が、処理速度等の問題が無ければ、カラー画像データに
ある程度の圧縮又は加工(例えば、輝度信号と色差信号
とに分離する等)を施したデータを格納するようにして
もよい。もちろん画像判定部104において、カラー画
像データを最終的な送信形式まで符号化して、画像メモ
リ105に格納することも考えられる。この場合、符号
下部107においては、白黒センサ103から読み込ま
れた2値データの符号化のみを行う。
<Other Embodiments> In the above-described first embodiment, an example in which the image data itself read by the color sensor 102 is stored in the image memory 105 has been described. Data obtained by compressing or processing the image data to some extent (for example, separating into a luminance signal and a color difference signal) may be stored. Of course, the image determination unit 104 may encode the color image data up to the final transmission format and store the encoded image data in the image memory 105. In this case, in the code lower part 107, only the binary data read from the monochrome sensor 103 is coded.

【0045】また、画像データをブロック単位で白黒/
カラーの判定を行う例について説明を行ったが、ブロッ
クの大きさはもちろん8×8画素に限定されるわけでは
ない。
Further, the image data is black / white / block by block.
Although an example of performing color determination has been described, the size of the block is not limited to 8 × 8 pixels.

【0046】また、多値データ及び2値データの符号化
方式は、第1実施例で説明した方法に限定されないこと
は言うまでもない。
It goes without saying that the encoding system for multi-valued data and binary data is not limited to the method described in the first embodiment.

【0047】又、第1実施例では、画像データをカラー
(多値)領域と白黒(2値)領域とに分類したが、カラ
ー領域と白黒領域との分類を含むような分類方法であれ
ば、他の分類方法も本発明に適用可能である。例えば、
カラー多値領域、白黒多値領域、白黒2値領域という様
に分類する方法なども考えられる。
Further, in the first embodiment, the image data is classified into the color (multi-value) area and the black and white (binary) area, but if the classification method includes the classification of the color area and the black and white area. , Other classification methods are also applicable to the present invention. For example,
A method of classifying into a color multi-valued area, a black-and-white multi-valued area, a black-and-white binary area, and the like can be considered.

【0048】又、第1実施例において画像メモリ105
及び判定結果メモリ106の容量は必要十分な例で記載
されているが、若干なりとも余裕を持たせて良いことは
言うまでもない。
Further, in the first embodiment, the image memory 105
Also, although the capacity of the determination result memory 106 is described as a necessary and sufficient example, it goes without saying that a margin may be provided even if it is small.

【0049】又、第1実施例において、画像判定部10
4と符号化部107とはそれぞれ独立した構成として説
明したが、これらを例えば1つのプロセッサにより統括
的に処理するようにしてもよいし、また、例えば判定処
理部、カラー符号化部、白黒符号化部等、3つ以上の処
理部に分離して行ってもよい。
In addition, in the first embodiment, the image determination unit 10
4 and the encoding unit 107 have been described as independent components, respectively, but they may be collectively processed by, for example, one processor, or, for example, a determination processing unit, a color encoding unit, and a monochrome code. It may be performed by separating into three or more processing units such as a chemical conversion unit.

【0050】又、第1実施例で説明したカラー領域と白
黒領域とをそれぞれ適切に符号符する方法は、ファクシ
ミリ装置に限らず、複写機やプリンタ等、その他画像デ
ータの符号化を行うあらゆる画像処理装置に対しても適
用可能である。
Further, the method of appropriately encoding the color area and the black-and-white area described in the first embodiment is not limited to the facsimile apparatus, but may be a copying machine, a printer, or any other image for encoding image data. It is also applicable to a processing device.

【0051】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、本発明はシステム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0052】[0052]

【発明の効果】以上説明したように本発明によれば、カ
ラー領域と白黒領域とが混在している原稿について、1
回の走査で、カラー/白黒領域についてそれぞれ適切な
符号化を行えるため、最短の伝送時間で高画質が画像を
伝送可能となる。
As described above, according to the present invention, it is possible to obtain a document having a mixture of a color area and a black and white area.
Appropriate encoding can be performed for each of the color / black and white areas by scanning once, so that a high quality image can be transmitted in the shortest transmission time.

【0053】更に、装置に備えるメモリ容量も小さくて
良いため、コスト的にも優れた装置が提供できる。
Further, since the memory capacity provided in the device may be small, it is possible to provide a device excellent in cost.

【0054】[0054]

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

【図1】本発明に係る一実施例の装置構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a device configuration of an embodiment according to the present invention.

【図2】本実施例における送信処理部の詳細構成を示す
ブロック図である。
FIG. 2 is a block diagram showing a detailed configuration of a transmission processing unit in the present embodiment.

【図3】本実施例における送信処理を示すフローチャー
トである。
FIG. 3 is a flowchart showing a transmission process in this embodiment.

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

101 原稿 102 カラーセンサ 103 白黒センサ 104 画像判定部 105 画像メモリ 106 判定結果メモリ 107 符号化部 109 紙送り速度制御部 110 紙送りモータ 111 紙送り装置 112 メモリ内容制御部 101 Original Document 102 Color Sensor 103 Monochrome Sensor 104 Image Judgment Unit 105 Image Memory 106 Judgment Result Memory 107 Encoding Unit 109 Paper Feed Speed Control Unit 110 Paper Feed Motor 111 Paper Feed Device 112 Memory Content Control Unit

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/46 H04N 1/46 C Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical indication H04N 1/46 H04N 1/46 C

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 原稿画像を読み取るカラー読み取り手段
と、 前記カラー読み取り手段により読み取った画像データに
基づいて前記原稿画像のカラー部分を判別する判別手段
と、 前記判別手段によりカラー部分と判別された画像データ
を多値符号化する第1の符号化手段と、 前記原稿画像を白黒画像として読み取る白黒読み取り手
段と、 前記判別手段によりカラー部分と判別されなかった部分
は前記白黒読み取り手段で読み取った画像データを符号
化する第2の符号化手段と、 前記第1の符号化手段と前記第2の符号化手段で符号化
されたデータを送信する送信手段とを有することを特徴
とする画像処理装置。
1. A color reading unit for reading a document image, a discriminating unit for discriminating a color portion of the document image based on image data read by the color reading unit, and an image discriminated as a color portion by the discriminating unit. First encoding means for multi-value encoding data, black-and-white reading means for reading the original image as a black-and-white image, and image data read by the black-and-white reading means for a portion which is not discriminated as a color portion by the discrimination means. An image processing apparatus, comprising: a second encoding unit that encodes the data; and a transmission unit that transmits the data encoded by the first encoding unit and the second encoding unit.
【請求項2】 前記第1の符号化手段は多値データによ
る符号化を行い、前記第2の符号化手段は2値データに
よる符号化を行うことを特徴とする請求項1記載の画像
処理装置。
2. The image processing according to claim 1, wherein the first encoding means performs encoding using multi-valued data, and the second encoding means performs encoding using binary data. apparatus.
【請求項3】 前記カラー読み取り手段はカラーセンサ
を有し、 前記白黒読み取り手段は白黒センサを有し、 前記カラーセンサは前記白黒センサに対し原稿の搬送方
向の上流側に設けられていることを特徴とする請求項1
記載の画像処理装置。
3. The color reading means has a color sensor, the black-and-white reading means has a black-and-white sensor, and the color sensor is provided upstream of the black-and-white sensor in the document conveying direction. Claim 1 characterized by
The image processing device described.
【請求項4】 前記カラー読み取り手段の読み取り速度
を前記判別手段によりカラーであると判別されると遅く
し白黒であると判別されると速くするように制御する速
度制御手段を更に有することを特徴とする請求項1記載
の画像処理装置。
4. A speed control means is further provided for controlling the reading speed of the color reading means to be slow when the color is judged by the judging means and high when the color is judged to be black and white. The image processing apparatus according to claim 1.
【請求項5】 前記カラー読み取り手段により読み取ら
れた画像データを記憶する画像データ記憶手段と、 前記判別手段の判別結果を記憶する判別結果記憶手段と
を更に有することを特徴とする請求項1記載の画像処理
装置。
5. An image data storage unit for storing image data read by the color reading unit, and a discrimination result storage unit for storing a discrimination result of the discrimination unit. Image processing device.
【請求項6】 前記画像データ記憶手段と前記判別結果
記憶手段とに記憶されている内容を前記速度制御手段に
よる速度制御に基づいて制御する記憶内容制御手段とを
更に有することを特徴とする請求項5記載の画像処理装
置。
6. A storage content control means for controlling the content stored in the image data storage means and the determination result storage means based on speed control by the speed control means. Item 5. The image processing device according to item 5.
【請求項7】 原稿画像を読み取るカラー読み取り工程
と、 前記カラー読み取り工程により読み取った画像データに
基づいて前記原稿画像のカラー部分を判別する判別工程
と、 前記判別工程によりカラー部分と判別された画像データ
を多値符号化する第1の符号化工程と、 前記原稿画像を白黒画像として読み取る白黒読み取り工
程と、 前記判別工程によりカラー部分と判別されなかった部分
は前記白黒読み取り工程で読み取った画像データを符号
化する第2の符号化工程と、 前記第1の符号化工程と前記第2の符号化工程により符
号化されたデータを送信する送信工程とを有することを
特徴とする画像処理方法。
7. A color reading step of reading an original image, a determination step of determining a color portion of the original image based on image data read by the color reading step, and an image determined to be a color portion by the determination step. A first encoding step of multi-value encoding data, a black-and-white reading step of reading the original image as a black-and-white image, and an image data read in the black-and-white reading step for a portion not discriminated as a color portion by the discrimination step. An image processing method, comprising: a second encoding step for encoding the above, and a transmitting step for transmitting the data encoded by the first encoding step and the second encoding step.
【請求項8】 前記第1の符号化工程では多値データに
よる符号化を行い、前記第2の符号化工程では2値デー
タによる符号化を行うことを特徴とする請求項7記載の
画像処理方法。
8. The image processing according to claim 7, wherein the first encoding step encodes multi-valued data, and the second encoding step encodes binary data. Method.
【請求項9】 前記画像信号は前記カラー読み取り工程
により読み取られた後に前記白黒読み取り工程により読
み取られることを特徴とする請求項7記載の画像処理方
法。
9. The image processing method according to claim 7, wherein the image signal is read in the monochrome reading step after being read in the color reading step.
【請求項10】 前記カラー読み取り工程における読み
取り速度を前記判別工程によりカラーであると判別され
ると遅くし白黒であると判別されると速くするように制
御することを特徴とする請求項7記載の画像処理方法。
10. The reading speed in the color reading step is controlled to be slow when the color is determined to be in the determination step and to be increased when the color is determined to be black and white in the determination step. Image processing method.
JP6166621A 1994-07-19 1994-07-19 Image processing unit and its method Withdrawn JPH0832812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6166621A JPH0832812A (en) 1994-07-19 1994-07-19 Image processing unit and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6166621A JPH0832812A (en) 1994-07-19 1994-07-19 Image processing unit and its method

Publications (1)

Publication Number Publication Date
JPH0832812A true JPH0832812A (en) 1996-02-02

Family

ID=15834695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6166621A Withdrawn JPH0832812A (en) 1994-07-19 1994-07-19 Image processing unit and its method

Country Status (1)

Country Link
JP (1) JPH0832812A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0736999A2 (en) * 1995-04-04 1996-10-09 Canon Information Systems, Inc. Method and apparatus for scanning a document
US6804033B1 (en) * 1999-10-18 2004-10-12 Canon Kabushiki Kaisha Image processing apparatus and method, and image processing system
JP2007116272A (en) * 2005-10-18 2007-05-10 Ricoh Co Ltd Image processing apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0736999A2 (en) * 1995-04-04 1996-10-09 Canon Information Systems, Inc. Method and apparatus for scanning a document
EP0736999A3 (en) * 1995-04-04 1997-11-19 Canon Information Systems, Inc. Method and apparatus for scanning a document
US6005680A (en) * 1995-04-04 1999-12-21 Canon Information Systems, Inc. Method for capturing a document image, a scanner using the method and a document image management system using the scanner
US6804033B1 (en) * 1999-10-18 2004-10-12 Canon Kabushiki Kaisha Image processing apparatus and method, and image processing system
JP2007116272A (en) * 2005-10-18 2007-05-10 Ricoh Co Ltd Image processing apparatus

Similar Documents

Publication Publication Date Title
JP3005101B2 (en) Image communication device
US4543612A (en) Facsimile system
US5422734A (en) Method for arithmetically encoding half-tone image in image processing system
JPH04331564A (en) Electrophotographic copying device
JPH0832812A (en) Image processing unit and its method
JPH05324546A (en) Information processing system
JP3281183B2 (en) Image encoding / decoding method and image encoding / decoding device
JPH06178122A (en) Adaptive encoding device for color image
JPH07298016A (en) Image forming device
JP3361201B2 (en) Image encoding apparatus, image encoding / decoding apparatus, and image encoding / decoding method
JPH07177359A (en) Facsimile equipment
JP3043208B2 (en) Facsimile machine
JP3585635B2 (en) Image communication device
JPH0884229A (en) Image forming device
JPH05284330A (en) Facsimile equipment
JP2000069298A (en) Facsimile equipment
JPH0442665A (en) Facsimile equipment
JPH08191395A (en) Communication equipment
JPH0888706A (en) Composite image input/output device
JPS6065662A (en) Facsimile communication system
JP2002158855A (en) Communicating method for picture data, transmission device and reception device
JPH07297965A (en) Digital copying machine, information processing system and information display method for the copying machine
JPH0799554A (en) Picture communication equipment
JPH08125869A (en) Method and device for image communication
JPH10117284A (en) Image-processing unit

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20011002