JPH10304211A - Image processing unit - Google Patents

Image processing unit

Info

Publication number
JPH10304211A
JPH10304211A JP9109147A JP10914797A JPH10304211A JP H10304211 A JPH10304211 A JP H10304211A JP 9109147 A JP9109147 A JP 9109147A JP 10914797 A JP10914797 A JP 10914797A JP H10304211 A JPH10304211 A JP H10304211A
Authority
JP
Japan
Prior art keywords
image data
color
processing
black
error diffusion
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
JP9109147A
Other languages
Japanese (ja)
Inventor
Toshihiro Takayanagi
敏広 高柳
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP9109147A priority Critical patent/JPH10304211A/en
Publication of JPH10304211A publication Critical patent/JPH10304211A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)
  • Color Electrophotography (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow the image processing unit to optionally select the presence of under-color elimination processing before error spread processing. SOLUTION: The processing unit is provided with black generating circuit 21 that generates black image data from color image data, an under-color elimination circuit 22 that corrects the color image data based on the black image data generated by the black generating circuit 21, and an error spread processing circuit 25 that applies error spread processing to the black image data generated by the black generating circuit 21 and the color image data corrected by the under-color elimination circuit 22 directly or after other processing, and also with a selector 23 that, based on the under-color elimination signal from the outside, selects a state that the color image data corrected by the under-color elimination circuit 22 is processed by the error spread processing circuit 25 or a state that the color image data not corrected by the under-color elimination circuit 22 are processed by the error spread processing circuit 25.

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 for performing black generation and under color removal processing and error diffusion processing on color image data.

【0002】[0002]

【従来の技術】カラーの画像データに墨生成、下色除去
などの処理を施して、印刷時における黒色の発色を鮮や
かにすることにより色再現性を向上させることが行われ
ている。また、カラーの画像データに誤差拡散処理を施
して、印刷時における階調性を良好にすることにより色
再現性を向上させることが行われている。
2. Description of the Related Art Color image data is subjected to processes such as black generation and undercolor removal to enhance the color reproducibility by vividly developing black color during printing. In addition, color reproducibility is improved by performing an error diffusion process on color image data to improve gradation at the time of printing.

【0003】ところが、下色除去処理を施した後に誤差
拡散処理を施した場合、誤差データが正確に伝播されな
いことから、印刷に用いる塗料の特性によっては、かえ
って印刷時における色再現性が低下することもある。要
するに、誤差拡散処理を施す前に下色除去処理を施す場
合と、誤差拡散処理を施す前に下色除去処理を施さない
場合とで、いずれが印刷時における色再現性が良いか
は、印刷に用いる塗料の特性によって決定される。
However, if the error diffusion process is performed after the undercolor removal process, the error data is not accurately propagated, and the color reproducibility at the time of printing is rather lowered depending on the characteristics of the paint used for printing. Sometimes. In short, whether the undercolor removal process is performed before the error diffusion process is performed or the undercolor removal process is not performed before the error diffusion process is performed, it is determined which one of the color reproducibility during printing is better. Is determined by the properties of the paint used.

【0004】そして従来の画像処理装置では、組み込ま
れるプリンタなどの機器に用いる塗料の特性を考慮し
て、誤差拡散処理を施す前に下色除去処理を施すか否か
を設計段階で決定し、それに基づいて回路を設計して製
造していた。
In a conventional image processing apparatus, it is determined at the design stage whether or not to perform undercolor removal processing before performing error diffusion processing in consideration of the characteristics of a paint used for a device such as a printer to be incorporated. The circuit was designed and manufactured based on it.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来の画像処理装置では、印刷に用いる塗料の変更に対処
できないという課題があった。
However, the above-mentioned conventional image processing apparatus has a problem that it cannot cope with a change in paint used for printing.

【0006】たとえば、インクジェット方式のプリンタ
に用いるインクなどの塗料は、新製品の開発が盛んに行
われているので、インクを変更し、かつ誤差拡散処理前
における下色除去処理の有無を変更することで、色再現
性の極めて優れた画像を印刷できるようになる場合があ
るものと容易に推測されるが、従来の画像処理装置で
は、このような場合に対処できなかった。
For example, paints such as inks used in ink jet type printers have been actively developed with new products. Therefore, the inks are changed, and the presence or absence of undercolor removal processing before error diffusion processing is changed. As a result, it is easily presumed that an image having extremely excellent color reproducibility may be printed in some cases. However, the conventional image processing apparatus cannot cope with such a case.

【0007】本発明は、上記の点に鑑みて提案されたも
のであって、誤差拡散処理前における下色除去処理の有
無を任意に選択できる画像処理装置を提供することを目
的としている。
The present invention has been proposed in view of the above points, and has as its object to provide an image processing apparatus capable of arbitrarily selecting the presence or absence of undercolor removal processing before error diffusion processing.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するた
め、請求項1に記載した発明の画像処理装置は、カラー
の画像データから黒色の画像データを生成する墨生成手
段と、墨生成手段により生成された黒色の画像データに
基づいてカラーの画像データを補正する下色除去手段
と、墨生成手段により生成された黒色の画像データと下
色除去手段により補正されたカラーの画像データとに直
接あるいは他の処理を経た後に誤差拡散処理を施す誤差
拡散処理手段とを有する画像処理装置であって、外部か
らの下色除去制御信号に基づいて、下色除去手段により
補正された後のカラーの画像データを誤差拡散処理手段
に処理させる状態と、下色除去手段により補正されてい
ないカラーの画像データを誤差拡散処理手段に処理させ
る状態とに切り替わる下色除去制御手段を備えている。
According to an aspect of the present invention, there is provided an image processing apparatus comprising: a black generating unit configured to generate black image data from color image data; An under color removing unit that corrects color image data based on the generated black image data, and a black image data generated by the black generating unit and a color image data corrected by the under color removing unit. Alternatively, the image processing apparatus includes an error diffusion processing unit that performs an error diffusion process after performing another process, and based on an external undercolor removal control signal, the color of the color that has been corrected by the undercolor removal unit. The state is switched between a state in which the image data is processed by the error diffusion processing unit and a state in which the color image data not corrected by the under color removing unit is processed by the error diffusion processing unit. And a color removal control unit.

【0009】この画像処理装置によれば、下色除去制御
手段が、外部からの下色除去制御信号に基づいて、下色
除去手段により補正された後のカラーの画像データを誤
差拡散処理手段に処理させる状態と、下色除去手段によ
り補正されていないカラーの画像データを誤差拡散処理
手段に処理させる状態とに切り替わるので、誤差拡散処
理前における下色除去処理の有無を任意に選択できるこ
とから、印刷に用いる塗料の特性に応じた適切な処理を
行うことができ、印刷時に色再現性などに優れた高品位
の画像を得ることができる。
According to this image processing apparatus, the under-color removal control means sends the color image data corrected by the under-color removal means to the error diffusion processing means based on an external under-color removal control signal. Since the state to be processed and the state in which the color image data that has not been corrected by the undercolor removal unit are processed by the error diffusion processing unit are switched, the presence or absence of the undercolor removal process before the error diffusion process can be arbitrarily selected. Appropriate processing can be performed according to the characteristics of the paint used for printing, and a high-quality image excellent in color reproducibility and the like can be obtained at the time of printing.

【0010】下色除去処理と誤差拡散処理との間には、
記録調整用のγ補正処理などの他の処理が実行されても
よいし、されなくてもよい。
[0010] Between the undercolor removal processing and the error diffusion processing,
Other processing such as the γ correction processing for recording adjustment may or may not be performed.

【0011】下色除去制御信号は、たとえば所定のキー
操作によりEEPROMに下色除去制御フラグを書き込
んでおき、この下色除去制御フラグの内容に応じてCP
Uが下色除去制御信号を生成し、レジスタなどに書き込
むようにすればよい。
An undercolor removal control signal is written in an EEPROM by, for example, a predetermined key operation, and a CP is written in accordance with the contents of the undercolor removal control flag.
It suffices that U generates an undercolor removal control signal and writes it to a register or the like.

【0012】また、請求項2に記載した発明の画像処理
装置は、請求項1に記載の画像処理装置であって、下色
除去制御手段は、第1のレベルと第2のレベルとに変化
する下色除去制御信号のレベルに応じて、2入力のうち
のいずれかを選択して出力するセレクタからなり、セレ
クタは、下色除去制御信号が第1のレベルのときに、下
色除去手段により補正された後のカラーの画像データを
誤差拡散処理手段に処理させ、下色除去制御信号が第2
のレベルのときに、下色除去手段により補正されていな
いカラーの画像データを誤差拡散処理手段に処理させ
る。
According to a second aspect of the present invention, in the image processing apparatus of the first aspect, the undercolor removal control means changes between a first level and a second level. A selector for selecting and outputting one of the two inputs according to the level of the undercolor removal control signal to be output. The color image data corrected by the above is processed by the error diffusion processing means, and the under color removal control signal
At the level, the color image data not corrected by the under color removing means is processed by the error diffusion processing means.

【0013】この画像処理装置によれば、請求項1に記
載の画像処理装置による効果に加えて、1個のセレクタ
からなる簡易な回路により下色除去制御手段を構成でき
る。
According to this image processing apparatus, in addition to the effect of the image processing apparatus according to the first aspect, the under-color removal control means can be constituted by a simple circuit including one selector.

【0014】更に、請求項3に記載した発明の画像処理
装置は、請求項1または請求項2に記載の画像処理装置
であって、誤差拡散処理手段は、誤差拡散処理を施した
後の画像データに対して、外部からの黒のみ信号に基づ
いて、同一画素において黒色と他の色とが混ざらないよ
うに他の色の画像データを処理した後に2値化する状態
と、このような他の色の処理を行わずに2値化する状態
とに切り替わる。
According to a third aspect of the present invention, there is provided the image processing apparatus according to the first or second aspect, wherein the error diffusion processing means is configured to execute the image processing after the error diffusion processing is performed. A state in which image data of another color is processed and then binarized so that black and other colors are not mixed in the same pixel on the basis of only an external black signal with respect to the data. Is switched to a state where binarization is performed without performing the color processing.

【0015】この画像処理装置によれば、請求項1また
は請求項2に記載の画像処理装置による効果に加えて、
印刷時に、同一画素において黒色と他の色とが混ざる状
態と混ざらない状態とを任意に切り替えることができ、
印刷に用いる塗料の特性に応じて色再現性を一層向上さ
せることができる。
According to this image processing apparatus, in addition to the effects of the image processing apparatus according to claim 1 or 2,
At the time of printing, it is possible to arbitrarily switch between a state where black and other colors are mixed and a state where they are not mixed in the same pixel,
Color reproducibility can be further improved according to the characteristics of the paint used for printing.

【0016】[0016]

【発明の実施の形態】以下、本発明の好ましい実施の形
態を、図面を参照しつつ具体的に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be specifically described below with reference to the drawings.

【0017】図1は、本発明に係る画像処理装置を備え
たファクシミリ装置の回路ブロック図であって、このフ
ァクシミリ装置は、CPU(central processing unit
)1、NCU(network control unit)2、RAM(r
andom access memory)3、モデム4、ROM(read on
ly memory)5、EEPROM(electrically erasable
and programmable read only memory )6、ゲートア
レイ7、コーデック8、DMAC(direct memory acce
ss controler)9、読取部11、記録部12、操作部1
3、および表示部14を備えている。CPU1、NCU
2、RAM3、モデム4、ROM5、EEPROM6、
ゲートアレイ7、コーデック8、およびDMAC9は、
バス線により相互に接続されている。バス線には、アド
レスバス、データバス、および制御信号線が含まれる。
ゲートアレイ7には、読取部11、記録部12、操作部
13、および表示部14が接続されている。NCU2に
は、通信回線の一例としての電話回線15が接続されて
いる。
FIG. 1 is a circuit block diagram of a facsimile apparatus provided with an image processing apparatus according to the present invention. This facsimile apparatus has a CPU (central processing unit).
) 1, NCU (network control unit) 2, RAM (r
andom access memory) 3, modem 4, ROM (read on)
ly memory) 5, EEPROM (electrically erasable)
and programmable read only memory) 6, gate array 7, codec 8, DMAC (direct memory acce)
ss controller) 9, reading unit 11, recording unit 12, operation unit 1
3 and a display unit 14. CPU1, NCU
2, RAM 3, modem 4, ROM 5, EEPROM 6,
Gate array 7, codec 8, and DMAC 9
They are interconnected by bus lines. The bus lines include an address bus, a data bus, and a control signal line.
A reading unit 11, a recording unit 12, an operation unit 13, and a display unit 14 are connected to the gate array 7. A telephone line 15 is connected to the NCU 2 as an example of a communication line.

【0018】CPU1は、ファクシミリ装置全体を制御
する。NCU2は、電話回線15に接続されて網制御を
行う。RAM3は、各種のデータを記憶する。モデム4
は、送信データの変調や受信データの復調などを行う。
ROM5は、各種のプログラムや初期設定値などのデー
タを記憶している。EEPROM6は、下色除去制御フ
ラグなどの各種のフラグや登録データなどを記憶する。
ゲートアレイ7は、CPU1の入出力インターフェイス
として機能するとともに、読取部11からの画像信号に
対して墨生成および下色除去処理や誤差拡散処理などの
各種の画像処理を施す。コーデック8は、送信ファクシ
ミリデータの符号化や受信ファクシミリデータの復号化
を行う。DMAC9は、RAM3へのデータの書き込み
や読み出しを行う。読取部11は、光源やカラーCCD
イメージセンサや原稿送りモータなどを備えており、原
稿を読み取ってカラーの画像信号を出力する。この画像
信号は、赤、緑、青各色のアナログの画像信号である。
記録部12は、たとえばインクジェット方式の印刷手段
を備えており、受信画像やコピー時の読取画像などを記
録用紙上に記録する。操作部13は、キースイッチ群な
どからなり、使用者の操作に応じた信号を出力する。表
示部14は、LCDなどからなり、CPU1により制御
されて各種の表示を行う。
The CPU 1 controls the entire facsimile machine. The NCU 2 is connected to the telephone line 15 and performs network control. The RAM 3 stores various data. Modem 4
Performs modulation of transmission data and demodulation of reception data.
The ROM 5 stores various programs and data such as initial setting values. The EEPROM 6 stores various flags such as an undercolor removal control flag, registration data, and the like.
The gate array 7 functions as an input / output interface of the CPU 1 and performs various image processing such as black generation and undercolor removal processing and error diffusion processing on the image signal from the reading unit 11. The codec 8 encodes transmission facsimile data and decodes reception facsimile data. The DMAC 9 writes and reads data to and from the RAM 3. The reading unit 11 includes a light source and a color CCD.
An image sensor, a document feed motor, and the like are provided to read a document and output a color image signal. This image signal is an analog image signal of each color of red, green, and blue.
The recording unit 12 includes, for example, an inkjet printing unit, and records a received image, a read image at the time of copying, and the like on a recording sheet. The operation unit 13 includes a key switch group and the like, and outputs a signal according to a user operation. The display unit 14 includes an LCD or the like, and performs various displays under the control of the CPU 1.

【0019】図2は、ゲートアレイ7により構成されて
いる画像処理装置の墨生成および下色除去部ならびに誤
差拡散処理部の回路ブロック図であって、この墨生成お
よび下色除去部ならびに誤差拡散処理部は、墨生成回路
21、下色除去回路22、セレクタ23、レジスタ2
4、誤差拡散処理回路25、およびバッファメモリ26
を備えている。
FIG. 2 is a circuit block diagram of a black generation and under color removal section and an error diffusion processing section of the image processing apparatus constituted by the gate array 7. The processing unit includes a black generation circuit 21, an under color removal circuit 22, a selector 23, a register 2
4. Error diffusion processing circuit 25 and buffer memory 26
It has.

【0020】墨生成回路21は、たとえば、シアン、マ
ゼンタ、イエロー各色の画像データから各画素毎に最小
のデータを選択していわゆるミニマムKデータを生成
し、それらのミニマムKデータとレジスタ24からの墨
生成パラメータとを各々乗算して、それらの乗算結果を
黒色の画像データとして出力する。また、生成したミニ
マムKデータを下色除去回路22に供給する。
The black generation circuit 21 generates the so-called minimum K data by selecting the minimum data for each pixel from the image data of each color of cyan, magenta, and yellow, for example. Each of the multiplications is multiplied by a black generation parameter, and the multiplication result is output as black image data. Further, the generated minimum K data is supplied to the under color removing circuit 22.

【0021】下色除去回路22は、たとえば、墨生成回
路21により生成されたいわゆるミニマムKデータとレ
ジスタ24からの下色除去パラメータとを乗算し、乗算
結果をシアン、マゼンタ、イエロー各色の画像データか
ら減算することにより、下色除去されたシアン、マゼン
タ、イエロー各色の画像データを出力する。
The under color removal circuit 22 multiplies, for example, the so-called minimum K data generated by the black generation circuit 21 with the under color removal parameter from the register 24, and outputs the multiplication result as cyan, magenta, and yellow image data. , The image data of each of the cyan, magenta, and yellow colors from which the under color has been removed is output.

【0022】セレクタ23は、レジスタ24からの下色
除去制御信号がハイレベルのときには、入力端子Aに入
力されている下色除去回路22からの出力を誤差拡散処
理回路25に供給し、レジスタ24からの下色除去制御
信号がローレベルのときには、入力端子Bに入力されて
いる入力画像データを誤差拡散処理回路25に供給す
る。
When the under color removal control signal from the register 24 is at a high level, the selector 23 supplies the output from the under color removal circuit 22 input to the input terminal A to the error diffusion processing circuit 25, When the under color removal control signal is low level, the input image data input to the input terminal B is supplied to the error diffusion processing circuit 25.

【0023】レジスタ24は、CPU1からの墨生成パ
ラメータと下色除去パラメータと下色除去制御信号とを
保持し、墨生成パラメータを墨生成回路21に供給し、
下色除去パラメータを下色除去回路22に供給し、下色
除去制御信号をセレクタ23の制御端子に供給する。墨
生成パラメータおよび下色除去パラメータは所定ビット
数のディジタルデータであって、下色除去制御信号はハ
イレベルあるいはローレベルの1ビットの信号である。
この下色除去制御信号は、CPU1によりハイレベルあ
るいはローレベルに制御されるものであって、たとえば
電源起動時にCPU1がEEPROM6に記憶されてい
る下色除去制御フラグを読み出し、その下色除去制御フ
ラグがオンすなわち「1」であれば、CPU1が下色除
去制御信号をハイレベルにするためにレジスタ24の所
定のビットに「1」を書き込み、下色除去制御フラグが
オフすなわち「0」であれば、CPU1が下色除去制御
信号をローレベルにするにするためにレジスタ24の所
定のビットに「0」を書き込む。この下色除去制御フラ
グは、ファクシミリ装置が製造工場から出荷される前に
EEPROM6に書き込まれており、誤差拡散処理を行
う前に下色除去処理を行う場合には、下色除去制御フラ
グをオンに設定し、誤差拡散処理を行う前に下色除去処
理を行わない場合には、下色除去制御フラグをオフに設
定する。
The register 24 holds the black generation parameter, the under color removal parameter, and the under color removal control signal from the CPU 1, and supplies the black generation parameter to the black generation circuit 21.
The under color removal parameter is supplied to the under color removal circuit 22, and the under color removal control signal is supplied to the control terminal of the selector 23. The black generation parameter and the under color removal parameter are digital data of a predetermined number of bits, and the under color removal control signal is a 1-bit signal of a high level or a low level.
The undercolor removal control signal is controlled to a high level or a low level by the CPU 1. For example, when the power is turned on, the CPU 1 reads the undercolor removal control flag stored in the EEPROM 6 and outputs the undercolor removal control flag. Is ON, that is, “1”, the CPU 1 writes “1” to a predetermined bit of the register 24 to set the undercolor removal control signal to a high level, and the undercolor removal control flag is OFF, that is, “0”. For example, the CPU 1 writes “0” to a predetermined bit of the register 24 in order to set the under color removal control signal to a low level. The undercolor removal control flag is written in the EEPROM 6 before the facsimile apparatus is shipped from the manufacturing factory. If the undercolor removal processing is performed before performing the error diffusion processing, the undercolor removal control flag is turned on. If the under color removal processing is not performed before the error diffusion processing is performed, the under color removal control flag is set to off.

【0024】誤差拡散処理回路25は、レジスタを内蔵
しており、このレジスタには、2値化条件フラグとスレ
ッショルドデータと黒のみ信号とがCPU1により書き
込まれる。スレッショルドデータは所定ビット数のディ
ジタルデータであり、2値化条件フラグと黒のみ信号と
はそれぞれハイレベルあるいはローレベルの1ビットの
信号である。黒のみ信号は、CPU1によりハイレベル
あるいはローレベルに制御されるものであって、たとえ
ば電源起動時にCPU1がEEPROM6に記憶されて
いる黒色制御フラグを読み出し、その黒色制御フラグが
オンすなわち「1」であれば、CPU1が黒のみ信号を
ハイレベルにするためにレジスタの所定のビットに
「1」を書き込み、黒色制御フラグがオフすなわち
「0」であれば、CPU1が黒のみ信号をローレベルに
するためにレジスタの所定のビットに「0」を書き込
む。この黒色制御フラグは、ファクシミリ装置が製造工
場から出荷される前にEEPROM6に書き込まれてお
り、同一画素において黒色と他の色とが混ざらないよう
にする場合には、黒色制御フラグをオンに設定し、同一
画素において黒色と他の色とが混ざるようにする場合に
は、黒色制御フラグをオフに設定する。
The error diffusion processing circuit 25 has a built-in register, in which a binary condition flag, threshold data, and a black only signal are written by the CPU 1. The threshold data is digital data of a predetermined number of bits, and the binarization condition flag and the black-only signal are 1-bit signals of a high level or a low level, respectively. The black-only signal is controlled to a high level or a low level by the CPU 1. For example, when the power is turned on, the CPU 1 reads the black control flag stored in the EEPROM 6 and turns on the black control flag, that is, when the black control flag is "1". If so, the CPU 1 writes "1" to a predetermined bit of the register to make the black-only signal high, and if the black control flag is off, that is, "0", the CPU 1 makes the black-only signal low. For this purpose, "0" is written to a predetermined bit of the register. This black control flag is written in the EEPROM 6 before the facsimile apparatus is shipped from the manufacturing factory. To prevent black from mixing with other colors in the same pixel, set the black control flag to ON. However, when black and other colors are mixed in the same pixel, the black control flag is set to off.

【0025】そして誤差拡散処理回路25は、レジスタ
に保持された2値化条件フラグおよびスレッショルドデ
ータとバッファメモリ26からの誤差データとに基づい
て、セレクタ23からのシアン、マゼンタ、イエロー各
色の画像データおよび墨生成回路21からの黒色の画像
データに対して誤差拡散処理を施して2値化する。この
とき、レジスタに保持されている黒のみ信号がハイレベ
ルであれば、黒色の画像データが0でない画素につい
て、他の色の画像データを0にする。レジスタに保持さ
れている黒のみ信号がローレベルであれば、このような
処理を行わない。
Based on the binarization condition flag and the threshold data held in the register and the error data from the buffer memory 26, the error diffusion processing circuit 25 outputs the image data of each color of cyan, magenta and yellow from the selector 23. The error diffusion processing is performed on the black image data from the black generation circuit 21 to binarize the image data. At this time, if only the black signal held in the register is at a high level, the image data of the other colors is set to 0 for the pixel where the black image data is not 0. If the black only signal held in the register is at a low level, such processing is not performed.

【0026】バッファメモリ26は、誤差拡散処理回路
25により生成される誤差データを記憶する。
The buffer memory 26 stores error data generated by the error diffusion processing circuit 25.

【0027】すなわち、墨生成回路21は、カラーの画
像データから黒色の画像データを生成する墨生成手段を
構成している。下色除去回路22は、墨生成手段により
生成された黒色の画像データに基づいてカラーの画像デ
ータを補正する下色除去手段を構成している。誤差拡散
処理回路25およびバッファメモリ26は、墨生成手段
により生成された黒色の画像データと下色除去手段によ
り補正されたカラーの画像データとに直接あるいは他の
処理を経た後に誤差拡散処理を施す誤差拡散処理手段を
構成している。セレクタ23は、外部からの下色除去制
御信号に基づいて、下色除去手段により補正された後の
カラーの画像データを誤差拡散処理手段に処理させる状
態と、下色除去手段により補正されていないカラーの画
像データを誤差拡散処理手段に処理させる状態とに切り
替わる下色除去制御手段を構成している。またセレクタ
23は、下色除去制御信号が第1のレベルのときに、下
色除去手段により補正された後のカラーの画像データを
誤差拡散処理手段に処理させ、下色除去制御信号が第2
のレベルのときに、下色除去手段により補正されていな
いカラーの画像データを誤差拡散処理手段に処理させる
セレクタを構成している。
That is, the black generation circuit 21 constitutes black generation means for generating black image data from color image data. The under color removing circuit 22 constitutes under color removing means for correcting color image data based on black image data generated by the black generating means. The error diffusion processing circuit 25 and the buffer memory 26 perform an error diffusion process on the black image data generated by the black generation unit and the color image data corrected by the under color removal unit, directly or after other processing. It constitutes error diffusion processing means. The selector 23 causes the error diffusion processing unit to process the color image data corrected by the undercolor removal unit based on an external undercolor removal control signal, and the selector 23 does not correct the image data. The lower color removal control means switches to a state where the color image data is processed by the error diffusion processing means. When the under color removal control signal is at the first level, the selector 23 causes the error diffusion processing unit to process the color image data corrected by the under color removal unit, and the under color removal control signal
At this level, a selector is configured to cause the error diffusion processing unit to process color image data that has not been corrected by the under color removal unit.

【0028】次に、このように構成されたファクシミリ
装置の動作の要点について説明する。たとえばコピーモ
ードの場合、読取部11により読取原稿の読み取りが開
始されると、読取原稿の画像に応じた赤、緑、青各色の
アナログの画像信号が読取部11からシリアルに出力さ
れて、ゲートアレイ7に入力される。この画像信号は、
ゲートアレイ7に内蔵されたA/D変換器により赤、
緑、青各色のたとえば8ビットの画像データに変換さ
れ、ゲートアレイ7によりシェーディング補正やγ補正
などの各種の補正が施された後、シアン、マゼンタ、イ
エロー各色の画像データに変換されて、墨生成回路21
および下色除去回路22に入力される。
Next, the essential points of the operation of the facsimile apparatus thus configured will be described. For example, in the copy mode, when reading of a read document is started by the reading unit 11, analog image signals of red, green, and blue corresponding to the image of the read document are serially output from the reading unit 11 and gated. Input to array 7. This image signal is
Red by the A / D converter built in the gate array 7,
The data is converted into, for example, 8-bit image data of each color of green and blue, subjected to various corrections such as shading correction and γ correction by the gate array 7, and then converted into image data of each of cyan, magenta and yellow. Generation circuit 21
And input to the under color removal circuit 22.

【0029】一方、CPU1は、たとえば電源が起動さ
れたときに、EEPROM6に記憶されている下色除去
制御フラグを読み出し、その下色除去制御フラグの内容
に応じて、レジスタ24の所定のビットに「1」あるい
は「0」を書き込む。またCPU1は、たとえば電源が
起動されたときに、EEPROM6に記憶されている黒
色制御フラグを読み出し、その黒色制御フラグの内容に
応じて、誤差拡散処理回路25に内蔵されているレジス
タの所定のビットに「1」あるいは「0」を書き込む。
さらにCPU1は、所定の時期に、ROM5に記憶され
ている墨生成パラメータ、下色除去パラメータ、2値化
条件フラグ、およびスレッショルドデータを読み出し
て、墨生成パラメータおよび下色除去パラメータをレジ
スタ24に書き込み、2値化条件フラグおよびスレッシ
ョルドデータを誤差拡散処理回路25に内蔵されている
レジスタに書き込む。
On the other hand, when the power is turned on, for example, the CPU 1 reads the under color removal control flag stored in the EEPROM 6 and sets a predetermined bit of the register 24 in accordance with the contents of the under color removal control flag. Write "1" or "0". Further, for example, when the power is turned on, the CPU 1 reads the black control flag stored in the EEPROM 6, and according to the content of the black control flag, a predetermined bit of a register built in the error diffusion processing circuit 25. "1" or "0" is written in.
Further, at a predetermined time, the CPU 1 reads out the black generation parameter, the under color removal parameter, the binarization condition flag, and the threshold data stored in the ROM 5 and writes the black generation parameter and the under color removal parameter into the register 24. Then, the binarization condition flag and the threshold data are written into a register built in the error diffusion processing circuit 25.

【0030】いま、下色除去制御フラグがオンに設定さ
れているものとすると、CPU1によりレジスタ24の
所定のビットに「1」が書き込まれているので、セレク
タ23に供給されている下色除去制御信号はハイレベル
である。したがって、セレクタ23の入力端子Aに入力
される、下色除去回路22により下色除去処理が施され
たシアン、マゼンタ、イエロー各色の画像データが誤差
拡散処理回路25に供給され、誤差拡散処理が施され
る。この誤差拡散処理後の画像データは、DMAC9に
よりRAM3に格納された後、記録部12に供給され、
画像データに応じた画像が記録用紙上に印刷される。
Assuming that the under color removal control flag is set to ON, since "1" is written in a predetermined bit of the register 24 by the CPU 1, the under color removal supplied to the selector 23 is performed. The control signal is at a high level. Accordingly, the image data of each color of cyan, magenta, and yellow, which are input to the input terminal A of the selector 23 and are subjected to the undercolor removal processing by the undercolor removal circuit 22, are supplied to the error diffusion processing circuit 25, and the error diffusion processing is performed. Will be applied. The image data after the error diffusion processing is stored in the RAM 3 by the DMAC 9 and then supplied to the recording unit 12.
An image corresponding to the image data is printed on recording paper.

【0031】逆に、下色除去制御フラグがオフに設定さ
れているものとすると、CPU1によりレジスタ24の
所定のビットに「0」が書き込まれているので、セレク
タ23に供給されている下色除去制御信号はローレベル
である。したがって、セレクタ23の入力端子Bに入力
される下色除去処理の施されていないシアン、マゼン
タ、イエロー各色の画像データが誤差拡散処理回路25
に供給され、誤差拡散処理が施される。この誤差拡散処
理後の画像データは、DMAC9によりRAM3に格納
された後、記録部12に供給され、画像データに応じた
画像が記録用紙上に印刷される。
Conversely, if the under color removal control flag is set to off, the CPU 1 writes "0" in a predetermined bit of the register 24, and the under color removal control flag is supplied to the selector 23. The removal control signal is at low level. Therefore, the image data of each color of cyan, magenta, and yellow, which has not been subjected to the under color removal processing and is input to the input terminal B of the selector 23, is transferred to the error diffusion processing circuit
And subjected to error diffusion processing. The image data after the error diffusion processing is stored in the RAM 3 by the DMAC 9 and then supplied to the recording unit 12, where an image corresponding to the image data is printed on recording paper.

【0032】なお、EEPROM6に設定された下色除
去制御フラグは、たとば、操作部13の所定のキーを操
作することにより、CPU1が所定のプログラムを実行
して、下色除去制御フラグを変更するように構成されて
いる。もちろん、ファクシミリ装置の筐体内部に設けら
れたスイッチを操作することにより、CPU1が所定の
プログラムを実行して、下色除去制御フラグを変更する
ように構成してもよい。これは、黒色制御フラグについ
ても同様である。
The undercolor removal control flag set in the EEPROM 6 is changed, for example, by operating a predetermined key of the operation unit 13 so that the CPU 1 executes a predetermined program to change the undercolor removal control flag. It is configured to be. Of course, by operating a switch provided inside the housing of the facsimile apparatus, the CPU 1 may execute a predetermined program to change the under color removal control flag. This is the same for the black control flag.

【0033】下色除去制御フラグの設定は、黒色制御フ
ラグをオンに設定しておき、下色除去制御フラグがオン
の場合とオフの場合とでそれぞれ画像を記録部12に印
刷させ、両者の画像の色再現性を比較することにより決
定する。
To set the under color removal control flag, the black control flag is set to on, the image is printed on the recording unit 12 when the under color removal control flag is on and off, and the image is printed. It is determined by comparing the color reproducibility of the images.

【0034】このように、EEPROM6に下色除去制
御フラグを設定することにより、セレクタ23に供給す
る下色除去制御信号をハイレベルからローレベル、ある
いはローレベルからハイレベルに切り替えるだけで、誤
差拡散処理前における下色除去処理の有無を選択するこ
とができる。
As described above, by setting the undercolor removal control flag in the EEPROM 6, the error diffusion can be performed simply by switching the undercolor removal control signal supplied to the selector 23 from high level to low level or from low level to high level. Presence / absence of undercolor removal processing before the processing can be selected.

【0035】なお上記実施形態では、本発明の画像処理
装置をファクシミリ装置に組み込んだが、本発明の画像
処理装置は、ファクシミリ装置に限らず、プリンタ、複
写機、あるいはそれらの複合機など、印刷機能を有する
あらゆる電子機器に採用できる。
In the above-described embodiment, the image processing apparatus of the present invention is incorporated in a facsimile apparatus. However, the image processing apparatus of the present invention is not limited to a facsimile apparatus, but may be a printing function such as a printer, a copier, or a multifunction machine thereof. Can be adopted for all electronic devices having

【0036】[0036]

【発明の効果】以上説明したように請求項1に記載した
発明の画像処理装置によれば、下色除去制御手段が、外
部からの下色除去制御信号に基づいて、下色除去手段に
より補正された後のカラーの画像データを誤差拡散処理
手段に処理させる状態と、下色除去手段により補正され
ていないカラーの画像データを誤差拡散処理手段に処理
させる状態とに切り替わるので、誤差拡散処理前におけ
る下色除去処理の有無を任意に選択できることから、印
刷に用いる塗料の特性に応じた適切な処理を行うことが
でき、印刷時に色再現性などに優れた高品位の画像を得
ることができる。
As described above, according to the image processing apparatus of the first aspect of the present invention, the undercolor removal control means corrects the undercolor removal means based on an external undercolor removal control signal. The state is switched between the state in which the color image data after the processing is processed by the error diffusion processing means and the state in which the color image data not corrected by the under color removing means is processed by the error diffusion processing means. Can be arbitrarily selected as to whether or not to perform under color removal processing, so that appropriate processing can be performed in accordance with the characteristics of the paint used for printing, and a high-quality image with excellent color reproducibility can be obtained during printing. .

【0037】また、請求項2に記載した発明の画像処理
装置によれば、請求項1に記載の画像処理装置による効
果に加えて、1個のセレクタからなる簡易な回路により
下色除去制御手段を構成できる。
According to the image processing apparatus of the second aspect of the present invention, in addition to the effect of the image processing apparatus of the first aspect, undercolor removal control means is provided by a simple circuit including one selector. Can be configured.

【0038】更に、請求項3に記載した発明の画像処理
装置によれば、請求項1または請求項2に記載の画像処
理装置による効果に加えて、印刷時に、同一画素におい
て黒色と他の色とが混ざる状態と混ざらない状態とを任
意に切り替えることができ、印刷に用いる塗料の特性に
応じて色再現性を一層向上させることができる。
Further, according to the image processing apparatus of the present invention, in addition to the effects of the image processing apparatus of the first or second aspect, at the time of printing, black and other colors in the same pixel. Can be arbitrarily switched between a state in which is mixed and a state in which they are not mixed, and the color reproducibility can be further improved in accordance with the characteristics of the paint used for printing.

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

【図1】本発明に係る画像処理装置を備えたファクシミ
リ装置の回路ブロック図である。
FIG. 1 is a circuit block diagram of a facsimile apparatus including an image processing device according to the present invention.

【図2】図1に示すファクシミリ装置に備えられた画像
処理装置の墨生成および下色除去処理部ならびに誤差拡
散処理部の回路ブロック図である。
FIG. 2 is a circuit block diagram of a black generation / under color removal processing unit and an error diffusion processing unit of the image processing apparatus provided in the facsimile apparatus shown in FIG.

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

1 CPU 3 RAM 5 ROM 6 EEPROM 11 読取部 12 記録部 21 墨生成回路 22 下色除去回路 23 セレクタ 24 レジスタ 25 誤差拡散処理回路 26 バッファメモリ 1 CPU 3 RAM 5 ROM 6 EEPROM 11 Reading Unit 12 Recording Unit 21 Black Generation Circuit 22 Under Color Removal Circuit 23 Selector 24 Register 25 Error Diffusion Processing Circuit 26 Buffer Memory

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 1/46 H04N 1/46 Z ──────────────────────────────────────────────────続 き Continued on front page (51) Int.Cl. 6 Identification code FI H04N 1/46 H04N 1/46 Z

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 カラーの画像データから黒色の画像デー
タを生成する墨生成手段と、 前記墨生成手段により生成された黒色の画像データに基
づいて前記カラーの画像データを補正する下色除去手段
と、 前記墨生成手段により生成された黒色の画像データと前
記下色除去手段により補正されたカラーの画像データと
に直接あるいは他の処理を経た後に誤差拡散処理を施す
誤差拡散処理手段とを有する画像処理装置であって、 外部からの下色除去制御信号に基づいて、前記下色除去
手段により補正された後のカラーの画像データを前記誤
差拡散処理手段に処理させる状態と、前記下色除去手段
により補正されていないカラーの画像データを前記誤差
拡散処理手段に処理させる状態とに切り替わる下色除去
制御手段を備えたことを特徴とする画像処理装置。
A black generation unit configured to generate black image data from color image data; and a lower color removal unit configured to correct the color image data based on the black image data generated by the black generation unit. An error diffusion processing means for performing error diffusion processing after directly or other processing on the black image data generated by the black generation means and the color image data corrected by the under color removal means; A processing device for processing the color image data corrected by the undercolor removal unit on the error diffusion processing unit based on an undercolor removal control signal from the outside; An image processing unit that switches between a state in which color error image data not corrected by the error diffusion processing unit is processed by the under color removal control unit. Equipment.
【請求項2】 前記下色除去制御手段は、 第1のレベルと第2のレベルとに変化する下色除去制御
信号のレベルに応じて、2入力のうちのいずれかを選択
して出力するセレクタからなり、 前記セレクタは、下色除去制御信号が第1のレベルのと
きに、前記下色除去手段により補正された後のカラーの
画像データを前記誤差拡散処理手段に処理させ、下色除
去制御信号が第2のレベルのときに、前記下色除去手段
により補正されていないカラーの画像データを前記誤差
拡散処理手段に処理させる、請求項1に記載の画像処理
装置。
2. The undercolor removal control means selects and outputs one of two inputs according to a level of an undercolor removal control signal that changes between a first level and a second level. A selector configured to cause the error diffusion processing unit to process the color image data corrected by the undercolor removal unit when the undercolor removal control signal is at a first level; 2. The image processing apparatus according to claim 1, wherein when the control signal is at the second level, the error diffusion processing unit processes color image data that has not been corrected by the under color removal unit.
【請求項3】 前記誤差拡散処理手段は、誤差拡散処理
を施した後の画像データに対して、外部からの黒のみ信
号に基づいて、同一画素において黒色と他の色とが混ざ
らないように他の色の画像データを処理した後に2値化
する状態と、このような他の色の処理を行わずに2値化
する状態とに切り替わる、請求項1または請求項2に記
載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the error diffusion processing means performs processing on the image data after the error diffusion processing based on an external black only signal so that black and other colors are not mixed in the same pixel. 3. The image processing according to claim 1, wherein the image processing is switched between a state of binarizing after processing image data of another color and a state of binarizing without performing processing of such another color. 4. apparatus.
JP9109147A 1997-04-25 1997-04-25 Image processing unit Pending JPH10304211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9109147A JPH10304211A (en) 1997-04-25 1997-04-25 Image processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9109147A JPH10304211A (en) 1997-04-25 1997-04-25 Image processing unit

Publications (1)

Publication Number Publication Date
JPH10304211A true JPH10304211A (en) 1998-11-13

Family

ID=14502814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9109147A Pending JPH10304211A (en) 1997-04-25 1997-04-25 Image processing unit

Country Status (1)

Country Link
JP (1) JPH10304211A (en)

Similar Documents

Publication Publication Date Title
US7808678B2 (en) Image processing device, image output device, terminal device, image forming system, computer readable medium storing program thereof and image processing method
JP2007028336A (en) Apparatus and method for image processing, image forming apparatus, program, and recording medium
US8072645B2 (en) Image processing method and apparatus executing color correction based on color domain specified by user and determined relative to image source
JP2008179120A (en) System and program for forming image
US8274684B2 (en) Image processing apparatus and image processing method for proceesing reading blocks
US6181833B1 (en) Image processing apparatus wherein the image data is reduced before the image data is stored in a memory or a buffer
JPH10304211A (en) Image processing unit
JPH08195878A (en) Image processor
US20100054598A1 (en) Image processing apparatus, image forming apparatus, image processing apparatus control method, and storage medium
JPH10304210A (en) Image processing unit
JP4158794B2 (en) Image processing device
JP4085937B2 (en) Color image processing device
JP5061144B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium recording the computer program
JP2005057598A (en) Color image forming device and color image processor
JPH0514682A (en) Picture processing unit
JPH10304197A (en) Image processor
KR100503055B1 (en) Halfting processing method for preventing the overlapping 3 color ink
JP2005117522A (en) Image processor
JP2005117523A (en) Image processor
KR100280179B1 (en) How to handle color halftones to prevent ink overlap
JP2004023643A (en) Image process optimizing system
JP2005150908A (en) Image forming system and image reading apparatus
JP2008211592A (en) Image processor, control method, program and recording medium
JP2004135217A (en) Image forming device
JP2009290756A (en) Image processing apparatus, image processing method, program for making computer implement the method, and computer-readable recording medium with the program recorded thereon