Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3809764B2 - Color mode determination apparatus and image processing apparatus using the same - Google Patents
[go: Go Back, main page]

JP3809764B2 - Color mode determination apparatus and image processing apparatus using the same - Google Patents

Color mode determination apparatus and image processing apparatus using the same Download PDF

Info

Publication number
JP3809764B2
JP3809764B2 JP2000347235A JP2000347235A JP3809764B2 JP 3809764 B2 JP3809764 B2 JP 3809764B2 JP 2000347235 A JP2000347235 A JP 2000347235A JP 2000347235 A JP2000347235 A JP 2000347235A JP 3809764 B2 JP3809764 B2 JP 3809764B2
Authority
JP
Japan
Prior art keywords
data
color
component
blank
compressed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000347235A
Other languages
Japanese (ja)
Other versions
JP2002152524A (en
Inventor
忠 三村
正義 三樹
大治 永岡
徹 長村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2000347235A priority Critical patent/JP3809764B2/en
Publication of JP2002152524A publication Critical patent/JP2002152524A/en
Application granted granted Critical
Publication of JP3809764B2 publication Critical patent/JP3809764B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、プリンタ等の画像処理装置に用いられるカラーと白黒画像の判別を行うカラーモード判定装置に関するものである。
【0002】
【従来の技術】
カラープリンタ等の画像処理装置(画像記録装置)においては、本来、白黒出力とされるべき画像を誤ってカラー画像と判断すると、種々の不都合を生じることがある。例えば、白黒で課金すべきものを装置が誤ってカラーで課金してしまったような場合は、別途、課金の精算等が必要となる。また、装置によっては、カラーと白黒とでプロセススピードを変えているものがあるが、このような場合、カラーの方が、一般的には印刷速度が遅い。従って、装置が白黒を誤ってカラーと判断すると、印刷の生産性が低下するという問題がある。さらに、装置によっては、カラーと白黒とで使用する部品(部位)を変えているものがある。このような場合は、装置が白黒を誤ってカラーと判断すると、カラー印刷時にのみ使用する部品(部位)が白黒印刷時にも使用されることとなり、その部品の寿命低下を招いてしまう。
【0003】
そこで、カラーと白黒画像の判別を行うカラーモード判定装置を、画像処理装置に組み込むことが提案されている。ここで、原稿画像がカラー画像かどうかの識別は、例えば、特開平10−93829号公報に記載のように、Y(イエロー)、M(マゼンタ)、C(シアン)の各色信号成分の有無によって、行うことができる。
【0004】
【発明が解決しようとする課題】
しかしながら、これらの色成分の有無を判別するためには、各色成分の全ての画素をスキャンする処理が必要となる。この処理は、ソフトウェアまたは専用のハードウェアを用いて実行可能である。しかし、ソフトウェアを用いて行う場合は、多大な処理時間を要するという問題がある。一方、専用のハードウェアを用いて行う場合は、高速処理が可能であるが、コストアップにつながるという問題がある。
【0005】
従って本発明の目的は、カラーモードの判定時間を容易に短縮し得るカラーモード判定装置およびそれを用いた画像処理装置を提供することにある。
【0006】
【課題を解決するための手段】
上記目的は、入力された画像データを各色成分毎に圧縮する圧縮手段を有し、前記圧縮手段により各色成分毎に圧縮されたデータに基づいて前記画像データがカラーか否かの判別を行うカラーモード判定装置により、達成される。
【0007】
すなわち、本発明のカラーモード判定装置は、入力された画像データをY(イエロー)、M(マゼンタ)、C(シアン)、K(ブラック)の各色成分ごとに圧縮する圧縮手段と、前記圧縮手段で圧縮された各色成分のデータの有無を判定するために、前記圧縮された各色成分のデータを予め用意された白紙の圧縮データと比較する比較手段と、を備え、前記比較手段による比較の結果、YMCのうち少なくとも1成分が白紙でない場合には、前記入力データがカラーデータであると判定するものである。
【0008】
また、前記比較手段による比較の結果、YMCのすべての成分が白紙であり、Kの成分が白紙でない場合に前記入力データが白黒データであると判定することができる。
【0009】
このようなカラーモード判定装置は、例えば、プリンタ、コピー機あるいはスキャナ等の画像処理装置に用いることができる。
【0010】
さらに、上記判定装置において、前記白紙の圧縮データは、用紙サイズ毎またはバンドサイズ毎に予め保持されるものとすることができる。
【0011】
また、本発明のカラーモード判定方法は、入力された画像データをY(イエロー)、M(マゼンタ)、C(シアン)、K(ブラック)の各色成分ごとに圧縮する圧縮工程と、前記圧縮工程で圧縮された各色成分のデータの有無を判定するために、前記圧縮された各色成分のデータを予め用意された白紙の圧縮データと比較する比較工程と、を備え、前記比較工程による比較の結果、YMCのうち少なくとも1成分が白紙でない場合には、前記入力データがカラーデータであると判定するものである。
【0012】
さらに、前記比較工程による比較の結果、YMCのすべての成分が白紙であり、Kの成分が白紙でない場合に前記入力データが白黒データであると判定することができる。
【0013】
上記判定方法において、前記白紙の圧縮データは、用紙サイズ毎またはバンドサイズ毎に予め保持されるものとすることができる。
【0014】
【発明の実施の形態】
以下、図面を参照しながら、本発明を詳細に説明する。
図1は、本発明に係るカラーモード判別装置が適用される画像処理装置の一例を示すブロック構成図である。図において、CPU1は画像処理装置の各種制御の中枢的な機能を有し、バス2を通じて、次のように各種回路装置と接続されている。ホストインタフェース回路3は、ホストコンピュータ等の上位装置4とのインタフェースをとるための回路であり、例えば上位装置から入力される印字データをRS−232C規格やセントロニクス準拠に基づいて受信するような回路構成となっている。また、上記ホストインタフェース回路3は、ネットワークに接続され、このネットワーク(イーサネット等)上の複数の装置(ワークステーション等)から印字データを供給されるようにしてもよい。
【0015】
RAM5は作業用のメモリであり、画像処理装置が各種の制御を行う上で必要なデータやホストインタフェース回路3から入力される印字データを一時的に保持する受信バッファの働きをする。このRAM5は、ページメモリ5aを含んでいる。ROM6は、画像処理装置の制御を行うプログラムを格納するメモリである。圧縮伸長部7は、1ページのビットマップ情報を圧縮して、例えばRAM5に保管しておき、印刷時に伸長して記録部インタフェース回路9に出力する。
【0016】
文字パターンメモリ8は、いわゆるフォントメモリと呼ばれるものであり、プリントアウトする時の文字パターンを格納している。記録部インタフェース回路9は、前記圧縮伸長部7で伸長されたデータを、ラスタデータに変換して記録部10に供給したり、記録部10との間で、各種の信号(同期パルス、記録部の状態信号、記録部への動作指令信号等)を送受したりして、装置内各部と記録部10間のインタフェースとしての働きをする。記録部10は、例えばレーザプリンタから構成される。
【0017】
図2は、本発明に係るカラーモード判別装置の一実施例を説明するための図であり、図3はその処理フロー図である。以下、図1も参照しながら、本実施例を説明する。なお、本実施例で用いる処理プログラムは、例えばROM6に格納しておくことができる。
【0018】
まず、ホストコンピュータ等の上位装置4からホストインタフェース回路3を介して描画情報が入力される(ステップ111)。続いて、この情報について描画処理が行われ(ステップ112)、入力された描画情報を各色成分毎に画像データ21(ラスタデータ)に変換し、例えばRAM5のページメモリ5aに蓄積する(図2の▲1▼)。この際、必要に応じて、色変換(RGB→YMCK変換)やスクリーン(ディザ)処理を行う。そして、描画情報の入力が終了したか否かの判断がなされ(ステップ113)、まだ終了していないときにはステップ111に戻って描画情報の入力を継続する。一方、描画情報の入力が終了したときには、K(ブラック)、Y(イエロー)、M(マゼンタ)、C(シアン)の4成分1ページの画像データの作成を終了する(ステップ114)。
【0019】
この4成分1ページの画像データ21(ラスタデータ)は、例えばDMA方式でRAM5から読み出された後(図2の▲2▼)、データ蓄積容量を小さくするために、圧縮伸長部7の圧縮装置22において、各成分毎に圧縮される(ステップ115)。この圧縮データ24は、メモリ(RAM5)に一旦蓄積される(図2の▲3▼、ステップ116)。この蓄積動作は、4成分の圧縮データの蓄積が全て終了するまで行われる(ステップ117)。
【0020】
本実施例では、この圧縮データ24と予め用意された白紙(ラスタデータが存在しない)の圧縮データとを比較する(ステップ118)。そして、次のようにして、カラーモードを判別する。まず、YMC成分のうち、少なくとも1成分が白紙でないかどうかを判定する(ステップ119)。少なくとも1成分が白紙でないときは、このページはカラーと判定される(ステップ120)。逆に、YMC成分の全てが白紙のときは、更に、K成分が白紙かどうかを判定する(ステップ121)。K成分が白紙のときは、このページは白紙と判定される(ステップ122)。一方、K成分が白紙でないときは、このページは白黒画像と判定される(ステップ123)。
【0021】
なお、上述の白紙の圧縮データは、例えば次のようなものである。いま、「同一のビットが連続した場合に、0または1のビットが何ビット続いているか」という圧縮データに変換するアルゴリズムの圧縮技術の場合に、白紙が「0x00,0xFF,0x00,0xFF,・・・,0x00,0xFF」の圧縮データであるとすると、1ページの圧縮データを解析して、その圧縮データが先頭から最後まで、「00FF」であるものが白紙である。
【0022】
この種の白紙の圧縮データは、例えば、用紙サイズ毎またはバンドサイズ毎に用意することができる。ここで、バンドサイズとは、ラスタデータを保持する単位を示すものである。通常、ラスタデータはYMCKの各成分毎にページ単位で保持されるが、ページを短冊状に分割し保持する場合がある。この1つの短冊をバンドという。バンド単位に処理(展開→圧縮)することで、少ないメモリで処理することが可能となる。
【0023】
このようにして本装置は、あるページがカラーと判定されたときには記録部10にカラーモードを通知し、白紙または白黒と判定されたときには同様に記録部10にその旨を通知する。
【0024】
図2、図3の説明に戻ると、RAM5に一旦蓄積された圧縮データ24は、その後、DMA方式の処理により、RAM5から読み出された後(図2の▲4▼)、圧縮伸長部7の伸長装置23において伸長される(ステップ124)。この伸長された画像データは、記録部インタフェース回路9を介して記録部10に出力される(図2の▲5▼)。記録部10は、上述のカラーモード判定結果の通知に応じて、画像データをカラーまたは白黒の処理で、あるいは白紙で用紙を排出する(ステップ125)。
【0025】
図4は、本発明に係るカラーモード判別装置の他の実施例を説明するための図であり、図5はその処理フロー図である。以下、図1も参照しながら、本実施例を説明する。なお、本実施例で用いる処理プログラムはROM6に格納しておくことができる。
【0026】
まず、ホストコンピュータ等の上位装置4からホストインタフェース回路3を介して描画情報が入力される(ステップ211)。続いて、この情報について描画処理が行われ(ステップ212)、入力された描画情報を各色成分毎に画像データ41(ラスタデータ)に変換し、例えばRAM5のページメモリ5aに蓄積する(図4の▲1▼)。この際、必要に応じて、色変換(RGB→YMCK変換)やスクリーン(ディザ)処理を行う。そして、描画情報の入力が終了したか否かの判断がなされ(ステップ213)、まだ終了していないときにはステップ211に戻って描画情報の入力を継続する。一方、描画情報の入力が終了したときには、K、Y、M、Cの4成分1ページの画像データの作成を終了する(ステップ214)。
【0027】
この4成分1ページの画像データ41(ラスタデータ)は、例えばDMA方式でRAM5から読み出された後(図4の▲2▼)、データ蓄積容量を小さくするために、圧縮伸長部7の圧縮装置43において、各成分毎に圧縮される(ステップ215)。この圧縮と並行して、画像データのラスタデータの有無を調べる。すなわち、ラスタデータ検出装置42を用いて、各成分毎にラスタデータの有無を検出する(ステップ216)。図6(a)〜(c)は、それぞれ従来および本発明におけるラスタデータ検出と圧縮、伸長との関係を示す図である。同図(a)は従来方式、(b)は本発明方式、および(c)は本発明方式で各ページ間もオーバラップする例をそれぞれ示す。この検出結果は後の工程で用いられる。一方、各成分の圧縮データ45は、メモリ(RAM5)に一旦蓄積される(図4の▲3▼、ステップ217)。この蓄積動作は、4成分の圧縮データの蓄積が全て終了するまで行われる(ステップ218)。
【0028】
本実施例では、各成分のラスタデータに係る前述の検出結果を用いて、次のようにして、カラーモードを判定する(ステップ219)。まず、YMC成分のうち、少なくとも1成分にデータがあるかどうかを判定する(ステップ220)。少なくとも1成分にデータがあるときは、このページはカラーと判定される(ステップ221)。逆に、YMC成分の全てにデータがないときは、更に、K成分にデータがないかどうかを判定する(ステップ222)。K成分にデータがないときは、このページは白紙と判定される(ステップ223)。一方、K成分にデータがあるときは、このページは白黒画像と判定される(ステップ224)。
【0029】
このようにして本装置は、あるページがカラーと判定されたときには記録部10にカラーモードを通知し、白紙または白黒と判定されたときには同様に記録部10にその旨を通知する。
【0030】
図4、図5の説明に戻ると、RAM5に一旦蓄積された圧縮データ45は、その後、例えばDMA方式によりRAM5から読み出された後(図4の▲4▼)、圧縮伸長部7の伸長装置44において伸長される(ステップ225)。この伸長された画像データは、記録部インタフェース回路9を介して記録部10に出力される(図4の▲5▼)。記録部10は、上述のカラーモード判定結果の通知に応じて、画像データをカラーまたは白黒の処理で、あるいは白紙で用紙を排出する(ステップ226)。
【0031】
このように本発明では、圧縮データを用いてカラーモードの判定を行うので、判定のための検査データ量が大幅に小さくなり、カラーモードの判定時間を著しく短縮することができる。その結果、従来のように高速処理のための専用のハードウエアが不要となり、製品コストを低下させることができる。また、ラスタデータの検出と圧縮処理を並行して行うことにより、同様に処理時間を短縮することができる。
【0032】
【発明の効果】
本発明によれば、カラーモードの判定時間を容易に短縮し得るカラーモード判定装置およびそれを用いた画像処理装置を得ることができる。
【図面の簡単な説明】
【図1】本発明に係るカラーモード判別装置が適用される画像処理装置の一例を示すブロック構成図である。
【図2】本発明に係るカラーモード判別装置の一実施例を説明するための図である。
【図3】図2の実施例の処理フロー図である。
【図4】本発明に係るカラーモード判別装置の他の実施例を説明するための図である。
【図5】図4の実施例の処理フロー図である。
【図6】(a)〜(c)はそれぞれ従来および本発明におけるラスタデータ検出と圧縮、伸長との関係を示す図である。
【符号の説明】
1 CPU
2 バス
3 ホストインタフェース回路
4 ホストコンピュータ等の上位装置
5 RAM
6 ROM
7 圧縮伸長部
8 文字パターンメモリ
9 記録部インタフェース回路
10 記録部
21 画像データ
22 圧縮装置
23 伸長装置
24 圧縮データ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a color mode determination apparatus that determines a color and a monochrome image used in an image processing apparatus such as a printer.
[0002]
[Prior art]
In an image processing apparatus (image recording apparatus) such as a color printer, various inconveniences may occur if an image that is originally supposed to be monochrome output is erroneously determined to be a color image. For example, in the case where the device charges for colors that are to be charged in black and white, it is necessary to pay for the charges separately. Some apparatuses change the process speed between color and black and white. In such a case, the printing speed of color is generally slower. Therefore, if the apparatus erroneously determines black and white as a color, there is a problem that printing productivity is reduced. Furthermore, some devices change the parts (parts) used for color and black and white. In such a case, if the device mistakenly determines black and white as a color, a component (part) used only during color printing is also used during monochrome printing, leading to a reduction in the life of the component.
[0003]
In view of this, it has been proposed to incorporate a color mode determination device for determining color and monochrome images into an image processing device. Here, the identification of whether or not the original image is a color image is determined by the presence or absence of each color signal component of Y (yellow), M (magenta), and C (cyan), as described in, for example, Japanese Patent Laid-Open No. 10-93829. ,It can be carried out.
[0004]
[Problems to be solved by the invention]
However, in order to determine the presence or absence of these color components, a process for scanning all the pixels of each color component is required. This process can be executed using software or dedicated hardware. However, when using software, there is a problem that a great deal of processing time is required. On the other hand, when dedicated hardware is used, high-speed processing is possible, but there is a problem that costs increase.
[0005]
Accordingly, an object of the present invention is to provide a color mode determination apparatus and an image processing apparatus using the same that can easily reduce the determination time of the color mode.
[0006]
[Means for Solving the Problems]
The object is to provide a compression unit that compresses input image data for each color component, and determines whether the image data is color based on the data compressed for each color component by the compression unit This is achieved by the mode determination device.
[0007]
That is, the color mode determination apparatus of the present invention includes a compression unit that compresses input image data for each color component of Y (yellow), M (magenta), C (cyan), and K (black), and the compression unit. A comparison means for comparing the data of each compressed color component with the compressed data of blank paper prepared in advance in order to determine the presence or absence of the data of each color component compressed in step 1, the result of comparison by the comparison means , YMC determines that the input data is color data when at least one component is not blank.
[0008]
Further, as a result of the comparison by the comparison means, it is possible to determine that the input data is black and white data when all the components of YMC are blank and the K component is not blank.
[0009]
Such a color mode determination apparatus can be used in an image processing apparatus such as a printer, a copier, or a scanner.
[0010]
Furthermore, in the determination device, the compressed data of the blank paper may be held in advance for each paper size or each band size.
[0011]
According to the color mode determination method of the present invention, the input image data is compressed for each color component of Y (yellow), M (magenta), C (cyan), and K (black), and the compression step A comparison step of comparing the data of each compressed color component with the compressed data of blank paper prepared in advance in order to determine the presence or absence of the data of each color component compressed in step 1, the result of comparison by the comparison step , YMC determines that the input data is color data when at least one component is not blank.
[0012]
Further, as a result of the comparison in the comparison step, when all the components of YMC are white paper and the K component is not white paper, it can be determined that the input data is black and white data.
[0013]
In the above determination method, the compressed data of the blank paper may be held in advance for each paper size or each band size.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings.
FIG. 1 is a block diagram showing an example of an image processing apparatus to which a color mode discrimination apparatus according to the present invention is applied. In the figure, a CPU 1 has a central function of various controls of the image processing apparatus, and is connected to various circuit devices through a bus 2 as follows. The host interface circuit 3 is a circuit for interfacing with a host device 4 such as a host computer. For example, the circuit configuration is such that print data input from the host device is received based on the RS-232C standard or the Centronics standard. It has become. Further, the host interface circuit 3 may be connected to a network and supplied with print data from a plurality of devices (workstations or the like) on the network (Ethernet or the like).
[0015]
The RAM 5 is a working memory, and functions as a reception buffer that temporarily holds data necessary for the image processing apparatus to perform various controls and print data input from the host interface circuit 3. The RAM 5 includes a page memory 5a. The ROM 6 is a memory that stores a program for controlling the image processing apparatus. The compression / decompression unit 7 compresses the bitmap information of one page, stores it in, for example, the RAM 5, decompresses it during printing, and outputs it to the recording unit interface circuit 9.
[0016]
The character pattern memory 8 is a so-called font memory, and stores a character pattern when printing out. The recording unit interface circuit 9 converts the data decompressed by the compression / expansion unit 7 into raster data and supplies it to the recording unit 10, and various signals (synchronization pulse, recording unit) with the recording unit 10. The state signal, the operation command signal to the recording unit, etc.) are transmitted / received to function as an interface between each unit in the apparatus and the recording unit 10. The recording unit 10 is constituted by a laser printer, for example.
[0017]
FIG. 2 is a diagram for explaining an embodiment of the color mode discriminating apparatus according to the present invention, and FIG. 3 is a process flow diagram thereof. Hereinafter, the present embodiment will be described with reference to FIG. Note that the processing program used in this embodiment can be stored in, for example, the ROM 6.
[0018]
First, drawing information is input from the host device 4 such as a host computer via the host interface circuit 3 (step 111). Subsequently, a drawing process is performed on this information (step 112), and the inputted drawing information is converted into image data 21 (raster data) for each color component and stored in, for example, the page memory 5a of the RAM 5 (FIG. 2). (1)). At this time, color conversion (RGB → YMCK conversion) and screen (dither) processing are performed as necessary. Then, it is determined whether or not the input of the drawing information has been completed (step 113). If the drawing information has not been completed yet, the process returns to step 111 and the input of the drawing information is continued. On the other hand, when the input of the drawing information is finished, the creation of the image data of four components of K (black), Y (yellow), M (magenta), and C (cyan) is finished (step 114).
[0019]
The four-component one-page image data 21 (raster data) is read from the RAM 5 by, for example, the DMA method ((2) in FIG. 2), and then compressed by the compression / decompression unit 7 in order to reduce the data storage capacity. In the device 22, each component is compressed (step 115). The compressed data 24 is temporarily stored in the memory (RAM 5) ((3) in FIG. 2, step 116). This accumulation operation is performed until the accumulation of all the four component compressed data is completed (step 117).
[0020]
In the present embodiment, this compressed data 24 is compared with the compressed data of blank paper (raster data does not exist) prepared in advance (step 118). Then, the color mode is determined as follows. First, it is determined whether at least one of the YMC components is not blank (step 119). If at least one component is not blank, the page is determined to be color (step 120). Conversely, when all of the YMC components are blank, it is further determined whether or not the K component is blank (step 121). If the K component is blank, this page is determined to be blank (step 122). On the other hand, if the K component is not blank, this page is determined to be a black and white image (step 123).
[0021]
The above-mentioned blank compressed data is, for example, as follows. Now, in the case of a compression technique of an algorithm for converting into compressed data such as “how many 0 or 1 bits continue when the same bit continues,” a blank sheet is “0x00, 0xFF, 0x00, 0xFF,. .., 0x00, 0xFF "compressed data, one page of the compressed data is analyzed, and the compressed data from the beginning to the end is blank from" 00FF ".
[0022]
This type of white paper compression data can be prepared for each paper size or band size, for example. Here, the band size indicates a unit for holding raster data. Normally, raster data is stored in units of pages for each component of YMCK, but the pages may be divided into strips and stored. This one strip is called a band. By performing processing in units of bands (decompression → compression), it is possible to perform processing with a small amount of memory.
[0023]
In this manner, the apparatus notifies the recording unit 10 of the color mode when a certain page is determined to be color, and similarly notifies the recording unit 10 of the determination when it is determined to be blank or black and white.
[0024]
Returning to the description of FIGS. 2 and 3, the compressed data 24 once stored in the RAM 5 is read out from the RAM 5 by DMA processing ((4) in FIG. 2), and then the compression / expansion unit 7. Is expanded in the expansion device 23 (step 124). The expanded image data is output to the recording unit 10 via the recording unit interface circuit 9 ((5) in FIG. 2). In response to the notification of the color mode determination result, the recording unit 10 discharges the image data by color or monochrome processing or blank paper (step 125).
[0025]
FIG. 4 is a diagram for explaining another embodiment of the color mode discriminating apparatus according to the present invention, and FIG. 5 is a process flow diagram thereof. Hereinafter, this embodiment will be described with reference to FIG. Note that the processing program used in this embodiment can be stored in the ROM 6.
[0026]
First, drawing information is input from the host device 4 such as a host computer via the host interface circuit 3 (step 211). Subsequently, a drawing process is performed on this information (step 212), and the inputted drawing information is converted into image data 41 (raster data) for each color component and stored in, for example, the page memory 5a of the RAM 5 (FIG. 4). (1)). At this time, color conversion (RGB → YMCK conversion) and screen (dither) processing are performed as necessary. Then, it is determined whether or not the input of the drawing information has been completed (step 213). If the drawing information has not been completed yet, the process returns to step 211 to continue the input of the drawing information. On the other hand, when the input of the drawing information is finished, the creation of the image data of the four components K, Y, M, and C is finished (step 214).
[0027]
The four-component one-page image data 41 (raster data) is read from the RAM 5 by, for example, the DMA method ((2) in FIG. 4) and then compressed by the compression / expansion unit 7 in order to reduce the data storage capacity. In the device 43, each component is compressed (step 215). In parallel with this compression, the image data is checked for the presence or absence of raster data. In other words, the presence or absence of raster data is detected for each component using the raster data detection device 42 (step 216). FIGS. 6A to 6C are diagrams showing the relationship between raster data detection, compression, and decompression in the conventional and the present invention, respectively. FIG. 4A shows an example in which pages overlap in the conventional method, FIG. 5B shows the method of the present invention, and FIG. This detection result is used in a later step. On the other hand, the compressed data 45 of each component is temporarily stored in the memory (RAM 5) ((3) in FIG. 4, step 217). This accumulation operation is performed until the accumulation of all the four component compressed data is completed (step 218).
[0028]
In this embodiment, the color mode is determined as follows using the above-described detection result relating to the raster data of each component (step 219). First, it is determined whether there is data in at least one of the YMC components (step 220). If there is data for at least one component, this page is determined to be color (step 221). Conversely, when there is no data in all of the YMC components, it is further determined whether there is no data in the K component (step 222). If there is no data in the K component, this page is determined to be blank (step 223). On the other hand, when there is data in the K component, this page is determined to be a black and white image (step 224).
[0029]
In this manner, the apparatus notifies the recording unit 10 of the color mode when a certain page is determined to be color, and similarly notifies the recording unit 10 of the determination when it is determined to be blank or black and white.
[0030]
Returning to the description of FIGS. 4 and 5, the compressed data 45 once stored in the RAM 5 is read from the RAM 5 by, for example, the DMA method ((4) in FIG. 4), and then decompressed by the compression / decompression unit 7. The device 44 is decompressed (step 225). The expanded image data is output to the recording unit 10 via the recording unit interface circuit 9 ((5) in FIG. 4). In response to the notification of the color mode determination result described above, the recording unit 10 discharges the image data by color or monochrome processing or blank paper (step 226).
[0031]
As described above, in the present invention, since the color mode is determined using the compressed data, the amount of inspection data for determination is greatly reduced, and the determination time of the color mode can be significantly shortened. As a result, there is no need for dedicated hardware for high-speed processing as in the prior art, and the product cost can be reduced. Further, by performing the raster data detection and the compression process in parallel, the processing time can be similarly reduced.
[0032]
【The invention's effect】
According to the present invention, it is possible to obtain a color mode determination apparatus and an image processing apparatus using the same that can easily reduce the determination time of the color mode.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an example of an image processing apparatus to which a color mode discrimination apparatus according to the present invention is applied.
FIG. 2 is a diagram for explaining an embodiment of a color mode discrimination device according to the present invention.
FIG. 3 is a process flow diagram of the embodiment of FIG. 2;
FIG. 4 is a diagram for explaining another embodiment of the color mode discriminating apparatus according to the present invention.
FIG. 5 is a processing flow diagram of the embodiment of FIG. 4;
FIGS. 6A to 6C are diagrams showing the relationship between raster data detection, compression, and decompression in the prior art and the present invention, respectively.
[Explanation of symbols]
1 CPU
2 Bus 3 Host interface circuit 4 Host device such as host computer 5 RAM
6 ROM
7 Compression / Expansion Unit 8 Character Pattern Memory 9 Recording Unit Interface Circuit 10 Recording Unit 21 Image Data 22 Compression Device 23 Expansion Device 24 Compression Data

Claims (7)

入力された画像データをY(イエロー)、M(マゼンタ)、C(シアン)、K(ブラック)の各色成分ごとに圧縮する圧縮手段と、前記圧縮手段で圧縮された各色成分のデータの有無を判定するために、前記圧縮された各色成分のデータを予め用意された白紙の圧縮データと比較する比較手段と、を備え、前記比較手段による比較の結果、YMCのうち少なくとも1成分が白紙でない場合には、前記入力データがカラーデータであると判定することを特徴とするカラーモード判定装置。  Compression means for compressing the input image data for each color component of Y (yellow), M (magenta), C (cyan), and K (black), and presence / absence of data of each color component compressed by the compression means A comparison means for comparing the compressed data of each color component with the compressed data of blank paper prepared in advance for determination, and as a result of comparison by the comparison means, at least one component of YMC is not blank paper And determining that the input data is color data. 前記比較手段による比較の結果、YMCのすべての成分が白紙であり、Kの成分が白紙でない場合に前記入力データが白黒データであると判定することを特徴とする請求項1記載のカラーモード判定装置。  2. The color mode determination according to claim 1, wherein, as a result of the comparison by the comparison means, if all the components of YMC are blank and the K component is not blank, it is determined that the input data is monochrome data. apparatus. 前記白紙の圧縮データが、用紙サイズ毎またはバンドサイズ毎に予め保持されていることを特徴とする請求項1または2記載のカラーモード判定装置。The blank of the compressed data, the color mode determination apparatus according to claim 1 or 2, wherein the stored in advance for each sheet size or each band size. 請求項1〜3のいずれかに記載のカラーモード判定装置を備えたことを特徴とする画像処理装置。  An image processing apparatus comprising the color mode determination apparatus according to claim 1. 入力された画像データをY(イエロー)、M(マゼンタ)、C(シアン)、K(ブラック)の各色成分ごとに圧縮する圧縮工程と、前記圧縮工程で圧縮された各色成分のデータの有無を判定するために、前記圧縮された各色成分のデータを予め用意された白紙の圧縮データと比較する比較工程と、を備え、前記比較工程による比較の結果、YMCのうち少なくとも1成分が白紙でない場合には、前記入力データがカラーデータであると判定することを特徴とするカラーモード判定方法。  A compression process for compressing the input image data for each color component of Y (yellow), M (magenta), C (cyan), and K (black), and the presence / absence of data of each color component compressed in the compression process A comparison step of comparing the compressed data of each color component with the compressed data of blank paper prepared in advance for determination, and as a result of comparison by the comparison step, at least one component of YMC is not blank paper And determining that the input data is color data. 前記比較工程による比較の結果、YMCのすべての成分が白紙であり、Kの成分が白紙でない場合に前記入力データが白黒データであると判定することを特徴とする請求項5記載のカラーモード判定方法。  6. The color mode determination according to claim 5, wherein when all the components of YMC are blank and the K component is not blank as a result of the comparison in the comparison step, it is determined that the input data is monochrome data. Method. 前記白紙の圧縮データが、用紙サイズ毎またはバンドサイズ毎に予め保持されていることを特徴とする請求項5または6記載のカラーモード判定方法。  The color mode determination method according to claim 5 or 6, wherein the compressed data of the blank paper is stored in advance for each paper size or each band size.
JP2000347235A 2000-11-14 2000-11-14 Color mode determination apparatus and image processing apparatus using the same Expired - Fee Related JP3809764B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000347235A JP3809764B2 (en) 2000-11-14 2000-11-14 Color mode determination apparatus and image processing apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000347235A JP3809764B2 (en) 2000-11-14 2000-11-14 Color mode determination apparatus and image processing apparatus using the same

Publications (2)

Publication Number Publication Date
JP2002152524A JP2002152524A (en) 2002-05-24
JP3809764B2 true JP3809764B2 (en) 2006-08-16

Family

ID=18821001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000347235A Expired - Fee Related JP3809764B2 (en) 2000-11-14 2000-11-14 Color mode determination apparatus and image processing apparatus using the same

Country Status (1)

Country Link
JP (1) JP3809764B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4840657B2 (en) * 2006-08-11 2011-12-21 富士ゼロックス株式会社 Image forming apparatus and operation method thereof
JP5116409B2 (en) * 2007-09-07 2013-01-09 キヤノン株式会社 Image forming apparatus, image forming method, and image forming program
JP2009083264A (en) * 2007-09-28 2009-04-23 Fuji Xerox Co Ltd Image processing system and image processing program

Also Published As

Publication number Publication date
JP2002152524A (en) 2002-05-24

Similar Documents

Publication Publication Date Title
US20100103435A1 (en) Image processing apparatus and image processing method for processing screen-processed image
JPH111029A (en) Color print system, color printer, and computer-readable recording medium storing computer-executable program
US20030161002A1 (en) Image formation apparatus and method, charge counting device, charging method, and computer products
US8441690B2 (en) Image processing apparatus and image processing method for processing screen-processed image
US7548333B2 (en) Data transfer method and image formation system
JPH08331398A (en) Image processing system and controller
US6226095B1 (en) Image processing apparatus, method, and system
JP3809764B2 (en) Color mode determination apparatus and image processing apparatus using the same
JP2001325087A (en) Command analysis using rewritable command storage
US7072060B2 (en) Print control apparatus, print control method, and memory medium
JP2000168170A (en) Blank paper-detecting apparatus and image-recording apparatus, image-forming apparatus and image-reading apparatus using the same
JP2011139162A (en) Image encoding device, control method, and program
JP2002178608A (en) Printer and printing method
JP2002120411A (en) White sheet detector and image recorder, imaging apparatus and image reader comprising it
JPH11187261A (en) Image processor
JP2002123831A (en) Detector for blank sheet of paper, image recorder using the same, image forming device, and image reader
JPH09167222A (en) Image processor
JP4235339B2 (en) Image processing apparatus and method
KR100277734B1 (en) Printer system and method for quickly outputting display bitmap
JP2001246794A (en) Imaging apparatus
JP2003029491A (en) Printer control device
JP2002118756A (en) Data transfer method and data transfer device, and image processing unit and image forming device
JP2010034866A (en) Image forming device, image forming method, and computer program
JPH08328788A (en) Color character data output processing method
JPH0993425A (en) Image forming device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040517

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060210

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060502

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060515

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100602

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110602

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110602

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees