JPH1175073A - Image processing unit, image processing method, and record medium recording image processing program - Google Patents

Image processing unit, image processing method, and record medium recording image processing program

Info

Publication number
JPH1175073A
JPH1175073A JP9235721A JP23572197A JPH1175073A JP H1175073 A JPH1175073 A JP H1175073A JP 9235721 A JP9235721 A JP 9235721A JP 23572197 A JP23572197 A JP 23572197A JP H1175073 A JPH1175073 A JP H1175073A
Authority
JP
Japan
Prior art keywords
image
black
color
image processing
signal data
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.)
Pending
Application number
JP9235721A
Other languages
Japanese (ja)
Inventor
Shinji Inoue
信治 井上
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP9235721A priority Critical patent/JPH1175073A/en
Publication of JPH1175073A publication Critical patent/JPH1175073A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To improve a processing efficiency of a black/white image by accurately discriminating a color image from the black/white image, and accurately discriminating the black/white image including a medium tone component and the black/white image not including it and using only the image not including the medium tone component as the black/white image. SOLUTION: The processing unit is provided with a read section 10 that obtains plural color signal data (RGB) from each pixel of an image and a color.black/white image discrimination section 25 of the read section 10 discriminates the image to be a black/white image not including a medium tone image when a gradation level difference of each of color signal data (RGB) is <= a prescribed value and a mean value of gradation levels of each of the color signal data (RGB) is <= a 1st threshold level or >= a 2nd threshold level that is higher than the 1st threshold level in the all pixels of the image.

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 applied to a color facsimile apparatus, an image processing method used in the apparatus, and a recording medium storing an image processing program for executing the method.

【0002】[0002]

【従来の技術】近時のファクシミリ装置や複写装置(コ
ピー機)などには、カラー画像が読み取りできるものが
開発されており、高性能のカラープリンタやカラーディ
スプレイなどの普及に伴って、その需要が増えつつあ
る。この種の画像処理装置では、一般に、光学式のカラ
ーセンサによって、光の三原色(RGB)のそれぞれに
対応した画像を読み取り、これらを混合してカラー画像
を形成する。
2. Description of the Related Art In recent years, facsimile machines and copying machines (copiers) have been developed that can read color images. Is increasing. In this type of image processing apparatus, generally, an image corresponding to each of the three primary colors of light (RGB) is read by an optical color sensor, and these are mixed to form a color image.

【0003】そして、形成されたカラー画像のデータ
を、ファクシミリ装置であれば、符号化して、他のファ
クシミリ装置に対して送信し、コピー機であれば、プリ
ンタから記録紙にカラー印字している。
[0003] The data of the formed color image is encoded in the case of a facsimile apparatus and transmitted to another facsimile apparatus, and in the case of a copying machine, color printing is performed from a printer on recording paper. .

【0004】[0004]

【発明が解決しようとする課題】ところが、上記従来の
画像処理装置では、白黒画像を読み取ったとしても、カ
ラー画像と同じ画像処理を行っているため、データ量が
膨大となり、メモリへの蓄積効率が悪くなり、また、フ
ァクシミリ送信時の通信時間も長くなっていた。例え
ば、A4サイズの原稿を解像度200dpiで読み取っ
た場合、カラー画像では、フルカラー8ビットで色を表
現するとすれば、JPEG等で20分の1程度までに圧
縮(符号化)できたとしても、データ量は500KB程
度になり、一方の白黒画像では、2値化後にMHやMR
符号によって圧縮すると、データ量は数10KBにな
る。
However, in the above-described conventional image processing apparatus, even if a black-and-white image is read, the same image processing as that for a color image is performed. And the communication time for facsimile transmission has also been long. For example, when an A4-size original is read at a resolution of 200 dpi, if a color image is expressed by full-color 8-bit color, even if it can be compressed (encoded) to about 1/20 by JPEG or the like, the data is On the other hand, for a black-and-white image, the MH or MR
When compressed by codes, the data amount becomes several tens KB.

【0005】また、白黒画像であっても写真などを含む
画像を誤差拡散方式等で中間調表現した場合、画像によ
ってはあまり圧縮を期待できない場合がある。本発明
は、このような事情に鑑みてなされたものであり、カラ
ー画像と白黒画像とを正確に判別し、かつ、白黒画像で
あっても中間調部分を含んだ白黒画像と含まない白黒画
像とを正確に判別して、中間調部分を含まない画像のみ
を白黒画像とし、白黒画像であるときの処理効率を上げ
るようにした画像処理装置、画像処理方法及び画像処理
プログラムを記録した記録媒体を提供することを目的と
している。
[0005] In addition, when an image including a photograph or the like is expressed as a halftone image by an error diffusion method or the like, even if the image is a black and white image, compression may not be expected depending on the image. The present invention has been made in view of such circumstances, and accurately distinguishes a color image from a black-and-white image, and even a black-and-white image including a halftone portion and a black-and-white image not including the halftone portion. Image processing apparatus, image processing method and recording medium in which an image processing program is recorded, in which only an image that does not include a halftone portion is converted to a black-and-white image, and the processing efficiency when the image is a black-and-white image is increased. It is intended to provide.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明の請求項1に係る画像処理装置では、画像の
各画素から複数の色信号データを得る読取部を備え、こ
の読取部は、画像のすべての画素において、各色信号デ
ータの階調レベル差が所定値以下であり、かつ、各色信
号データの階調レベルの平均値が第1閾値以下である
か、この第1閾値よりも大きい第2閾値以上であるとき
には、その画像を中間調画像を含まない白黒画像と判断
することを特徴とする。
In order to achieve the above object, an image processing apparatus according to a first aspect of the present invention includes a reading unit for obtaining a plurality of color signal data from each pixel of an image. In all pixels of the image, the gradation level difference of each color signal data is equal to or less than a predetermined value, and the average value of the gradation levels of each color signal data is equal to or less than a first threshold. Is larger than or equal to the second threshold, the image is determined to be a black-and-white image that does not include a halftone image.

【0007】ここに、第1の条件として、各色信号デー
タの階調レベル差が所定値以下であることとは、各色信
号データの階調レベルがほぼ等しいということである。
例えば、色信号データがRGBの3種類であれば、その
3つの階調レベルが等しければ、その画素は、彩りがな
く、白から黒までの明度のみで段階的に表現できる無彩
色の画素であることを示す。
Here, as a first condition, that the gradation level difference of each color signal data is equal to or smaller than a predetermined value means that the gradation levels of each color signal data are substantially equal.
For example, if the color signal data is three types of RGB, and if the three gradation levels are equal, the pixel is an achromatic pixel that has no color and can be expressed stepwise only with lightness from white to black. Indicates that there is.

【0008】また、第2の条件として、各色信号データ
の階調レベルの平均値が第1閾値以下であるとは、上記
第1の条件も満たすことで、その画素が黒画素であり、
各階調レベルの平均値が第1閾値よりも大きい第2閾値
以上であるとは、その画素が白画素であることを示す。
したがって、両方の条件を満たせば、その画像を中間調
画像(グレーレベル)を含まない白黒画像と判断するこ
とができる。
As a second condition, a condition that the average value of the gradation levels of each color signal data is equal to or less than the first threshold value is that the pixel is a black pixel by satisfying the first condition.
The fact that the average value of each gradation level is equal to or greater than a second threshold value that is larger than the first threshold value indicates that the pixel is a white pixel.
Therefore, if both conditions are satisfied, the image can be determined to be a monochrome image that does not include a halftone image (gray level).

【0009】なお、読取部が得る色信号は、加法系の色
の表現であるRGB(赤、緑、青)が一般的であるが、
減法系のCMYK(シアン、マゼンダ、イエロー、ブラ
ック)、色覚系のCIE XYZなどのデータ信号であ
ってもよい。請求項2では、請求項1に記載の画像処理
装置によって使用されている画像処理方法を提案してい
る。すなわち、この画像処理方法では、画像の各画素か
ら複数の色信号データを読み取り、その画像のすべての
画素において、各色信号データの階調レベル差が所定値
以下であり、かつ、各色信号データの階調レベルの平均
値が第1閾値以下であるか、この第1閾値よりも大きい
第2閾値以上であるときには、その画像を中間調画像を
含まない白黒画像として処理する。
The color signal obtained by the reading unit is generally RGB (red, green, blue) which is an additive color expression.
Data signals such as subtractive CMYK (cyan, magenta, yellow, and black) and color-sensitive CIE XYZ may be used. Claim 2 proposes an image processing method used by the image processing device according to claim 1. That is, in this image processing method, a plurality of color signal data is read from each pixel of the image, and the gradation level difference of each color signal data is equal to or less than a predetermined value in all the pixels of the image, and When the average of the gradation levels is equal to or less than the first threshold or equal to or greater than the second threshold that is larger than the first threshold, the image is processed as a black-and-white image not including a halftone image.

【0010】また、請求項3では、請求項2に記載の画
像処理方法を実行させるための画像処理プログラムを記
録した記録媒体を提案している。つまり、この記録媒体
は、請求項1に記載の画像処理装置によって読み取ら
れ、以降、プログラムに従って画像処理が行われる。な
お、記録媒体には、フロッピーディスクや光ディスクの
他、ROMやハードディスクも含まれる。
[0010] Claim 3 proposes a recording medium in which an image processing program for executing the image processing method according to claim 2 is recorded. That is, the recording medium is read by the image processing apparatus according to the first aspect, and thereafter, the image processing is performed according to the program. Note that the recording medium includes a ROM and a hard disk in addition to a floppy disk and an optical disk.

【0011】[0011]

【発明の実施の形態】以下に、本発明の実施の形態につ
いて、図面とともに説明する。図1は、画像処理装置の
構成を示したブロック図である。ここには、画像処理装
置の1つとしてカラーファクシミリ装置Fの構成を示し
ているが、本発明はこれに限定されることはなく、カラ
ーコピー機、イメージスキャナなどにも適用される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of the image processing apparatus. Here, the configuration of the color facsimile apparatus F is shown as one of the image processing apparatuses, but the present invention is not limited to this, and is also applicable to a color copier, an image scanner, and the like.

【0012】CPU1は、このファクシミリ装置Fの各
部を制御するだけではなく、ファクシミリの通信手順を
実行する。画像メモリ2はファクシミリ通信などのデー
タを一時記憶する。ROM3は、予め、このファクシミ
リ装置Fの動作を制御するプログラムを記憶している。
RAM4は、処理の実行時に発生する一時的なデータを
記憶する他、予め、相手のファクシミリ番号(電話番
号)なども記憶する。
The CPU 1 not only controls each unit of the facsimile apparatus F but also executes a facsimile communication procedure. The image memory 2 temporarily stores data such as facsimile communication. The ROM 3 stores a program for controlling the operation of the facsimile machine F in advance.
The RAM 4 stores not only temporary data generated during execution of the processing but also a facsimile number (telephone number) of the other party in advance.

【0013】媒体読取部5は、フロッピーディスクなど
の記録媒体fdから画像処理プログラムを読み取る。読
み取られたプログラムは、ROM3に予め記憶されたプ
ログラムとともに、CPU1によって実行される。モデ
ム6はファクシミリ通信のために信号の変調、復調を行
う。NCU7は、通信回線L(アナログ回線)の閉結、
開放を行う。なお、ISDN回線等のデジタル回線を接
続するときには、モデム6とNCU7の代わりに、DS
Uに接続するISDNインターフェースを備える。
The medium reading section 5 reads an image processing program from a recording medium fd such as a floppy disk. The read program is executed by the CPU 1 together with the program stored in the ROM 3 in advance. The modem 6 modulates and demodulates a signal for facsimile communication. NCU 7 closes communication line L (analog line),
Open. When connecting a digital line such as an ISDN line, a DS 6 is used instead of the modem 6 and the NCU 7.
It has an ISDN interface to connect to U.

【0014】画像コーデック8は、白黒2値画像をMH
やMRなどの符号化方式によって符号化/復号化すると
ともに、カラー画像をJPEGやJBIGなどの符号化
方式によって符号化/復号化する。なお、カラー画像を
符号化するときには、RGBの色信号データをXYZ表
色系のデータに変換し、更に、Lab表色系のデータに
変換されてから、上記符号化がされる。
The image codec 8 converts a monochrome binary image to MH
In addition to encoding / decoding using an encoding method such as RM or MR, a color image is encoded / decoding using an encoding method such as JPEG or JBIG. When a color image is encoded, RGB color signal data is converted into XYZ color system data, and further converted into Lab color system data, and then the above encoding is performed.

【0015】操作パネル9は、このファクシミリ装置F
に対し各種入力設定を行う各種キーなどの操作手段と、
このファクシミリ装置Fの動作状態や操作手順などを表
示する液晶表示装置やLEDなどの表示手段とで構成さ
れる。読取部10は、セットされた原稿からカラー画像
を読み取る。つまり、画像の各画素から、RGBといっ
た複数の色信号データを得ている。記録部11は、カラ
ープリンタで構成され、他のファクシミリ装置などから
受信したデータや、読取部10から読み取ったデータを
記録紙に記録(印字出力)する。
The operation panel 9 is a facsimile machine F
Operating means such as various keys for performing various input settings for
The facsimile apparatus F is configured by a display means such as a liquid crystal display device or an LED for displaying an operation state and an operation procedure of the facsimile apparatus F. The reading unit 10 reads a color image from a set document. That is, a plurality of color signal data such as RGB is obtained from each pixel of the image. The recording unit 11 is configured by a color printer, and records (prints out) data received from another facsimile machine or the like or data read from the reading unit 10 on recording paper.

【0016】このファクシミリ装置Fは、操作パネル9
の操作によって読取部10から読み取った画像データ
を、画像コーデック8で符号化し、画像メモリ2に一旦
格納してから、順次、通信回線Lを通じて送信する一
方、通信回線Lを通じて受信した画像データを一旦画像
メモリ2に格納し、順次、画像コーデック8で復号しな
がら記録部11から印字出力する基本動作をなす。
The facsimile machine F is operated by an operation panel 9
The image data read from the reading unit 10 by the operation described above is encoded by the image codec 8, temporarily stored in the image memory 2, and sequentially transmitted through the communication line L, while the image data received through the communication line L is temporarily The basic operation of storing the data in the image memory 2 and sequentially printing out the data from the recording unit 11 while decoding the image codec 8 is performed.

【0017】本発明は、読取部10での処理に特徴があ
り、読み取った画像が白黒画像のみで構成されていると
判断すれば、白黒2値化処理を行うことによって、カラ
ー画像に比べて大幅に符号化データ量を減らすことがで
きるようになっている。図2には、読取部10の構成を
ブロック図で示している。図中、20は光の三原色(R
GB)別に同じ画像を3回ずつ読み取る光学式のカラー
センサ、21は読み取った色信号をアナログ信号として
処理するアナログ処理部、22は入力されたアナログ信
号をデジタル信号にして出力するA/D変換部、23は
シェーディング歪や高周波歪を補正して、光源の照明む
らやセンサ20の感度むら等がない画像データを得るた
めのシェーディング補正部、24はセンサ20の特性に
応じて色信号データ(RGB)を補正する入力マスキン
グ部、25は本発明の特徴である白黒画像とカラー画像
とを判別する白黒/カラー判別部、26と27は、それ
ぞれ、白黒/カラー判別部25の判別結果に基づいて、
各画像に対する処理を行うカラー処理部及び白黒処理部
である。
The present invention has a feature in the processing in the reading unit 10. If it is determined that the read image is composed of only a black and white image, a black and white binarization process is performed, so that the image is compared with a color image. The amount of encoded data can be greatly reduced. FIG. 2 is a block diagram illustrating the configuration of the reading unit 10. In the figure, reference numeral 20 denotes the three primary colors of light (R
GB) An optical color sensor that reads the same image three times separately, an analog processing unit 21 that processes the read color signal as an analog signal, and an A / D converter 22 that converts an input analog signal into a digital signal and outputs the digital signal. A shading correction unit for correcting shading distortion and high-frequency distortion to obtain image data free from unevenness in illumination of the light source and unevenness in sensitivity of the sensor 20; and 24, color signal data ( An input masking section for correcting RGB) is a black-and-white / color discriminating section for discriminating between a black-and-white image and a color image, which is a feature of the present invention, and 26 and 27 are based on a discrimination result of the black-and-white / color discriminating section 25, respectively. hand,
A color processing unit and a black-and-white processing unit that perform processing on each image.

【0018】カラーセンサ20で読み取られた色信号デ
ータは、デジタル信号としてシェーディング補正、入力
マスキングが行われた後、白黒/カラー判別部25で、
白黒画像であるかカラー画像であるかが判別され、カラ
ー画像と判別されたときには、通常通り、カラー処理部
26により色の表現をRGB方式からCMYK方式に変
更してから、誤差拡散方式などによって多値のカラー信
号にされ、記録部11からカラー画像として印字出力さ
れたり、画像コーデック8によって符号化した後にファ
クシミリ送信される。
The color signal data read by the color sensor 20 is subjected to shading correction and input masking as a digital signal.
It is determined whether the image is a black-and-white image or a color image. When the image is determined to be a color image, the color expression is changed from the RGB method to the CMYK method by the color processing unit 26 as usual, and then the error diffusion method is used. The signal is converted into a multi-valued color signal, printed out from the recording unit 11 as a color image, or transmitted by facsimile after being encoded by the image codec 8.

【0019】一方、白黒画像と判別されたときには、白
黒処理部27で2値化データとされ、画像コーデック8
によって符号化された後にファクシミリ送信されたり、
記録部11から白黒画像として印字出力される。なお、
図では、白黒処理部27はG信号のみを処理の対象とし
ているが、これに限定されることはなく、他の信号や、
複数(2又は3)の信号の論理積を、その対象としても
よい。
On the other hand, when it is determined that the image is a monochrome image, the image is converted into binary data by the monochrome processing unit 27 and
Facsimile after being encoded by
The recording unit 11 prints and outputs a monochrome image. In addition,
In the figure, the black-and-white processing unit 27 processes only the G signal, but is not limited to this, and other signals and
The logical product of a plurality (2 or 3) of signals may be the target.

【0020】白黒/カラー判別部25は、所定の画像の
すべての画素の色信号データを基にして、その画像が白
黒画像かどうかを判別する。具体的には、各画素の各色
信号データの階調レベル差が所定値以下であり、かつ、
各色信号データの階調レベルの平均値が第1閾値以下で
あるか、この第1閾値よりも大きい第2閾値以上である
ときには、その画像を中間調画像を含まない白黒画像と
判断する。
The monochrome / color discriminating section 25 discriminates whether or not the image is a monochrome image based on the color signal data of all the pixels of the predetermined image. Specifically, the gradation level difference of each color signal data of each pixel is equal to or less than a predetermined value, and
When the average value of the gradation levels of each color signal data is equal to or less than the first threshold value or equal to or greater than the second threshold value which is larger than the first threshold value, the image is determined to be a monochrome image not including a halftone image.

【0021】なお、所定の画像には、原稿単位(複数ペ
ージ)の画像や、ページ単位の画像などがあるが、処理
能力や実際の使用形態などを考慮すれば、ページ単位で
画像種別(白黒/カラー)を判断するのが妥当である。
ここに、各色信号データの階調レベル差が所定値以下で
あるとは、各色信号データの階調レベルがほぼ等しいと
いうこと、つまり、その画素が彩りがない白から黒まで
で段階的に表現できる無彩色の画素であることを示す。
The predetermined image includes a document unit (multiple pages) image, a page unit image, and the like. However, in consideration of the processing capability and the actual use form, the image type (black and white) is set for each page. / Color) is appropriate.
Here, that the gradation level difference of each color signal data is equal to or smaller than a predetermined value means that the gradation levels of each color signal data are substantially equal, that is, the pixel is expressed stepwise from uncolored white to black. Indicates that the pixel is an achromatic pixel.

【0022】また、各色信号データの階調レベルの平均
値が第1閾値以下であるとは、上記無彩色の条件も満た
すことで、その画素が黒画素であり、その平均値が第1
閾値よりも大きい第2閾値以上であるとは、その画素が
白画素であることを示す。したがって、両方の条件を満
たせば、その画像を中間調画像(グレーレベル)を含ま
ない白黒画像と判断できる。
In addition, that the average value of the gradation levels of each color signal data is equal to or less than the first threshold value means that the pixel is a black pixel because the condition of the achromatic color is satisfied, and the average value is the first pixel value.
Being greater than or equal to the second threshold greater than the threshold indicates that the pixel is a white pixel. Therefore, if both conditions are satisfied, the image can be determined to be a black and white image that does not include a halftone image (gray level).

【0023】これらの条件を式で表すと、以下のように
なる。
These conditions are expressed by the following equations.

【0024】[0024]

【数1】 (Equation 1)

【0025】[0025]

【数2】 (Equation 2)

【0026】数式1では、各色信号データの階調レベル
値とその平均値との差の絶対値が、所定値(k)以下で
あることによって、各色信号データの階調レベル差が殆
どないことを判定している。したがって、所定値(k)
は、「0」に近い正の数値であることが理想である。一
方、数式2では、黒画素の判断基準となる第1閾値
(α)よりも、各色信号データの階調レベル値の平均が
小さいか、あるいは、白画素の判断基準となる第2閾値
(β)よりも、各色信号データの階調レベル値の平均が
大きいかを判定している。
In equation (1), since the absolute value of the difference between the gradation level value of each color signal data and its average value is equal to or less than a predetermined value (k), there is almost no difference in the gradation level of each color signal data. Is determined. Therefore, the predetermined value (k)
Is ideally a positive numerical value close to “0”. On the other hand, in Expression 2, the average of the gradation level values of the respective color signal data is smaller than the first threshold value (α) which is a criterion for determining a black pixel, or the second threshold value (β ), It is determined whether the average of the gradation level values of each color signal data is larger.

【0027】すなわち、双方の式によって、各色信号デ
ータの階調レベル値が殆ど同じであり、その値が白黒い
ずれかの値であることを判定している。次に、図3を用
いて数式2を解説する。例えば、(a)に示すような白
黒画像のA−A’ラインを読み取った場合であれば、そ
のときのRGBそれぞれの階調分布は(b)に示すよう
になる。ここでは、階調レベルが0〜255の256段
階に分かれており、白地部分を読み取ると、その階調レ
ベル値は230といった値、黒地部分を読み取ると、そ
の階調レベル値は20といった値になる。したがって、
この場合、数式2における第1閾値(α)は、20より
もやや大きい値、第2閾値(β)は230よりもやや小
さい値に設定しておけばよい。
That is, both formulas determine that the tone level values of the respective color signal data are almost the same, and that the values are either black and white values. Next, Equation 2 will be described with reference to FIG. For example, when the AA 'line of a black-and-white image as shown in (a) is read, the RGB gradation distribution at that time is as shown in (b). Here, the gradation level is divided into 256 levels from 0 to 255. When a white background portion is read, the gradation level value becomes 230, and when a black background portion is read, the gradation level value becomes 20. Become. Therefore,
In this case, the first threshold (α) in Expression 2 may be set to a value slightly larger than 20, and the second threshold (β) may be set to a value slightly smaller than 230.

【0028】図4は、上記2つの数式の演算を、白黒/
カラー判別回路25がハード的に行う場合の回路構成例
を示している。このため、RGBの階調レベル値の平均
を算出するための除算回路25aと、階調レベル差を求
める減算回路25bと、各閾値(k,α,β)との比較
を行うためのコンパレータ25c,25d,25eなど
を備えている。このような構成によって、入力された色
信号から、判別信号(例えば、白黒画像を「1」、カラ
ー画像を「0」)が出力される。なお、減算回路25b
では、数式1での3つの演算を行っていることを示して
いる。
FIG. 4 shows the operation of the above two equations as black / white /
4 shows an example of a circuit configuration in a case where the color determination circuit 25 performs the processing in hardware. Therefore, a division circuit 25a for calculating the average of the RGB gradation level values, a subtraction circuit 25b for calculating the gradation level difference, and a comparator 25c for comparing each of the threshold values (k, α, β). , 25d, 25e, etc. With such a configuration, a determination signal (for example, “1” for a monochrome image and “0” for a color image) is output from the input color signal. The subtraction circuit 25b
Indicates that the three calculations in Equation 1 are performed.

【0029】また、図5は、上記白黒/カラー判別回路
25の演算をソフト的に行う場合を示したフローチャー
ト(100〜105)である。ここでは、1ページ分の
すべての走査線のすべての画素が、数式1と数式2の条
件を満たしているときに限って、そのページの画像を白
黒画像と判別して、白黒処理部27の処理に移行するよ
うになっている(104)。なお、ここでもステップ1
00は、数式1での3つの演算を行っていることを示し
ている。
FIG. 5 is a flowchart (100 to 105) showing a case where the calculation of the black / white / color discriminating circuit 25 is performed by software. Here, only when all the pixels of all the scanning lines of one page satisfy the conditions of Expressions 1 and 2, the image of the page is determined to be a black and white image, The processing shifts to processing (104). Step 1 is also used here.
00 indicates that the three calculations in Equation 1 are being performed.

【0030】なお、このような画像処理方法を実行する
ための画像処理プログラムは、媒体読取部5によって、
記録媒体fdから読み取りできるようになっている。こ
れによって、画像処理装置は、このプログラムを読み取
るだけで、読取部10に、従来のカラー画像の処理機能
に加えて、白黒/カラー判別部25と白黒処理部27の
機能を備えることが出来る。
An image processing program for executing such an image processing method is executed by the medium reading unit 5.
It can be read from the recording medium fd. Thus, the image processing apparatus can provide the reading unit 10 with the functions of the black-and-white / color discriminating unit 25 and the black-and-white processing unit 27 in addition to the conventional color image processing function simply by reading this program.

【0031】[0031]

【発明の効果】以上の説明からも理解できるように、本
発明の請求項1に記載の画像処理装置では、読み取った
画像のすべての画素の色信号データを基にして、各画素
が以下の2つの条件を満たせば、その画像を中間調画像
を含まない白黒画像と判断する。第1の条件とは、各色
信号データの階調レベル差が所定値以下であることであ
り、第2の条件とは、各色信号データの階調レベルの平
均値が第1閾値以下であるか、この第1閾値よりも大き
い第2閾値以上であることである。すなわち、各色信号
データの階調レベルが殆ど同じであり、そのレベルが白
画素あるいは黒画素のいずれかのレベルであれば、白黒
画像と判定する。
As can be understood from the above description, in the image processing apparatus according to the first aspect of the present invention, each pixel is determined based on the color signal data of all the pixels of the read image as follows. If the two conditions are satisfied, the image is determined to be a monochrome image that does not include a halftone image. The first condition is that the gradation level difference of each color signal data is equal to or less than a predetermined value, and the second condition is whether the average value of the gradation levels of each color signal data is equal to or less than a first threshold value. , Which is greater than or equal to a second threshold larger than the first threshold. That is, if the gradation levels of the respective color signal data are almost the same and the level is one of the white pixels and the black pixels, it is determined that the image is a monochrome image.

【0032】このようにして、白黒画像と判定できれ
ば、通常のカラー画像として処理する場合に比べて、デ
ータ量を大幅に減少することができ、このため、メモリ
への蓄積効率を向上させ、ファクシミリ送信時には通信
時間を短縮でき、通信費用を節約することができる。請
求項2に記載の画像処理方法では、簡単に、カラー画像
の中から白黒画像を抽出し、以降の処理効率を向上させ
ることが出来る。
If a monochrome image can be determined in this way, the amount of data can be greatly reduced as compared with the case where the image is processed as a normal color image. At the time of transmission, communication time can be reduced, and communication costs can be saved. According to the image processing method of the present invention, a monochrome image can be easily extracted from a color image, and the subsequent processing efficiency can be improved.

【0033】また、請求項3に記載の記録媒体には、請
求項2の画像処理方法を実行させるための画像処理プロ
グラムを記録しているので、この記録媒体を読み取るだ
けで、画像処理装置にカラー画像と白黒画像とを判別す
る機能を備え、白黒画像と判別したときには、その処理
効率を、カラー画像に比べて大幅に向上させることが出
来る。
Further, since the image processing program for executing the image processing method according to the second aspect is recorded on the recording medium according to the third aspect, the image processing apparatus can be read only by reading this recording medium. A function of discriminating between a color image and a black-and-white image is provided. When the image is discriminated as a black-and-white image, the processing efficiency can be greatly improved as compared with a color image.

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

【図1】本発明の画像処理装置の全体構成の一例を示す
ブロック図である。
FIG. 1 is a block diagram illustrating an example of the overall configuration of an image processing apparatus according to the present invention.

【図2】読取部の構成の一例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of a configuration of a reading unit.

【図3】読取部の処理を説明するための図である。FIG. 3 is a diagram for explaining processing of a reading unit.

【図4】読取部の処理を実現する回路構成の一例を示し
た図である。
FIG. 4 is a diagram illustrating an example of a circuit configuration that implements processing of a reading unit.

【図5】読取部の動作の一例を示したフローチャートで
ある。
FIG. 5 is a flowchart illustrating an example of an operation of a reading unit.

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

F・・・カラーファクシミリ装置 1・・・CPU 5・・・媒体読取部 8・・・画像コーデック 10・・・読取部 fd・・・記録媒体 20・・・カラーセンサ 25・・・白黒/カラー判別部 26・・・カラー処理部 27・・・白黒処理部 α・・・第1閾値 β・・・第2閾値 F: color facsimile apparatus 1: CPU 5: medium reading unit 8: image codec 10: reading unit fd: recording medium 20: color sensor 25: monochrome / color Discrimination unit 26: color processing unit 27: black-and-white processing unit α: first threshold β: second threshold

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】画像の各画素から複数の色信号データを得
る読取部を備え、この読取部は、上記画像のすべての画
素において、各色信号データの階調レベル差が所定値以
下であり、かつ、各色信号データの階調レベルの平均値
が第1閾値以下であるか、この第1閾値よりも大きい第
2閾値以上であるときには、上記画像を中間調画像を含
まない白黒画像と判断することを特徴とする画像処理装
置。
1. A reading unit for obtaining a plurality of color signal data from each pixel of an image, wherein the reading unit has a gradation level difference of each color signal data of not more than a predetermined value in all pixels of the image, When the average value of the gradation levels of the respective color signal data is equal to or less than the first threshold value or equal to or greater than the second threshold value which is larger than the first threshold value, the image is determined to be a monochrome image not including a halftone image. An image processing apparatus characterized by the above-mentioned.
【請求項2】画像の各画素から複数の色信号データを読
み取り、 上記画像のすべての画素において、各色信号データの階
調レベル差が所定値以下であり、かつ、各色信号データ
の階調レベルの平均値が第1閾値以下であるか、この第
1閾値よりも大きい第2閾値以上であるときには、上記
画像を中間調画像を含まない白黒画像として処理するこ
とを特徴とする画像処理方法。
2. A method for reading a plurality of color signal data from each pixel of an image, wherein a gradation level difference of each color signal data is equal to or less than a predetermined value and a gradation level of each color signal data in all pixels of the image. An image processing method that processes the image as a black-and-white image that does not include a halftone image when the average value is equal to or less than a first threshold value or equal to or greater than a second threshold value that is larger than the first threshold value.
【請求項3】請求項2に記載の画像処理方法を実行させ
るための画像処理プログラムを記録した記録媒体。
3. A recording medium on which an image processing program for executing the image processing method according to claim 2 is recorded.
JP9235721A 1997-09-01 1997-09-01 Image processing unit, image processing method, and record medium recording image processing program Pending JPH1175073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9235721A JPH1175073A (en) 1997-09-01 1997-09-01 Image processing unit, image processing method, and record medium recording image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9235721A JPH1175073A (en) 1997-09-01 1997-09-01 Image processing unit, image processing method, and record medium recording image processing program

Publications (1)

Publication Number Publication Date
JPH1175073A true JPH1175073A (en) 1999-03-16

Family

ID=16990254

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9235721A Pending JPH1175073A (en) 1997-09-01 1997-09-01 Image processing unit, image processing method, and record medium recording image processing program

Country Status (1)

Country Link
JP (1) JPH1175073A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7307758B2 (en) 2002-11-14 2007-12-11 Kabushiki Kaisha Toshiba Image forming apparatus and image forming method
US7403308B2 (en) 2002-11-14 2008-07-22 Kabushiki Kaisha Toshiba Image forming apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7307758B2 (en) 2002-11-14 2007-12-11 Kabushiki Kaisha Toshiba Image forming apparatus and image forming method
US7403308B2 (en) 2002-11-14 2008-07-22 Kabushiki Kaisha Toshiba Image forming apparatus

Similar Documents

Publication Publication Date Title
US7710600B2 (en) Image processing apparatus and method thereof
US7376268B2 (en) Image processing apparatus for transmitting image data to an external device
JP4139834B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, and computer-readable recording medium recording image processing program
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
US20040156076A1 (en) Method of and apparatus for image processing, and computer product
US20070297668A1 (en) Image-processing apparatus and method, computer program, and storage medium
JPH08307717A (en) Image processing device
JP4315209B2 (en) Image processing apparatus and ground color detection method
EP0930775B1 (en) Image processing method and apparatus
JP4280404B2 (en) Image processing apparatus and method
JP3560776B2 (en) Color type discriminator
JPH08130631A (en) Image processor and image processing method
US20080055682A1 (en) Apparatus and Method for Deciding Image Color
JPH1175073A (en) Image processing unit, image processing method, and record medium recording image processing program
JP2002218271A (en) Image processor, image formation device and image, processing method
JP2002044464A (en) Image processing method and apparatus
JP2004112140A (en) Image processing apparatus
JP3767210B2 (en) Document type determination device and image processing device
JP2004248103A (en) Image processing device, image reading device, image forming device, image processing method, image processing program, and computer readable record medium recording the same
JP3615308B2 (en) Image processing apparatus and method
JP4958626B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4101741B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP2791314B2 (en) Color image processing apparatus and method
JPH1093816A (en) Digital picture processor
JP2791313B2 (en) Image communication apparatus and method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020312