JP2007053577A - Device and method for image processing - Google Patents

Device and method for image processing Download PDF

Info

Publication number
JP2007053577A
JP2007053577A JP2005237174A JP2005237174A JP2007053577A JP 2007053577 A JP2007053577 A JP 2007053577A JP 2005237174 A JP2005237174 A JP 2005237174A JP 2005237174 A JP2005237174 A JP 2005237174A JP 2007053577 A JP2007053577 A JP 2007053577A
Authority
JP
Japan
Prior art keywords
color
data
halftone data
pseudo
monochrome
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
JP2005237174A
Other languages
Japanese (ja)
Inventor
Masaaki Kobayashi
正明 小林
Yukihiro Nishida
幸宏 西田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2005237174A priority Critical patent/JP2007053577A/en
Priority to US11/360,493 priority patent/US20060203280A1/en
Publication of JP2007053577A publication Critical patent/JP2007053577A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing device, capable of realizing conversion from pseudo-halftone data to monochrome pseudo-halftone data with less memory and high speed and quality, or conversion from the monochrome pseudo-halftone data to color pseudo-halftone data. <P>SOLUTION: A monochrome conversion means 202 converts into monochrome halftone data a color pseudo-halftone data stored in advance in a memory means 204 by an image input means 201, and stores it in the memory means 204. Then a gradation conversion means 203 converts the monochrome halftone data stored in the memory means 204 into monochrome pseudo-halftone data, using for example, error diffusion method, and stores it in the memory means 204. The monochrome pseudo-halftone data, stored in the memory means 204, are outputted outside by an image output means 205 at an appropriate time. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、カラー擬似中間調データのモノクロ擬似中間調データへの変換、あるいはモノクロ擬似中間調データのカラー擬似中間調データへの変換を行う画像処理装置及び画像処理方法に関するものである。   The present invention relates to an image processing apparatus and an image processing method for converting color pseudo halftone data into monochrome pseudo half tone data, or converting monochrome pseudo half tone data into color pseudo half tone data.

プリンタ、複写機、ファクシミリ等のカラー画像印刷装置では、連続階調の画像データを限定された階調数の擬似中間調データに変換し、その変換データに基づいて色材を用紙に再現することで印刷処理を実現する。例えば、シアン、マゼンタ、イエロー、ブラック等の色材を用いるカラー画像印刷装置では、連続階調の入力画像データは4色の色材に対応する画像データ毎に2階調等の擬似中間調データに変換される。   In color image printing devices such as printers, copiers, and facsimiles, continuous tone image data is converted into pseudo-halftone data with a limited number of tones, and color materials are reproduced on paper based on the converted data. Realize the printing process. For example, in a color image printing apparatus using color materials such as cyan, magenta, yellow, and black, continuous tone input image data is pseudo halftone data such as two tones for each image data corresponding to four color materials. Is converted to

ところで、このようなカラー画像印刷装置では、色再現を忠実に行うことを求められる用途では、一般に、特定の色材残量が所定量以下になると、印刷処理を停止する方法が採られている。これに対して、忠実な色再現を必要としないユーザも存在することを考慮して、例えば(特許文献1)では、印刷処理を停止せず所定の変換処理を行って印刷処理を最後まで続行するカラー印刷装置が開示されている。   By the way, in such a color image printing apparatus, in a use that requires faithful color reproduction, generally, a method of stopping a printing process when a specific color material remaining amount becomes a predetermined amount or less is employed. . On the other hand, considering that there are users who do not need faithful color reproduction, for example, in Patent Document 1, a predetermined conversion process is performed without stopping the print process and the print process is continued to the end. A color printing apparatus is disclosed.

即ち、(特許文献1)では、例えばカラー画像の印刷中にカラー色材の残量が所定量以下となった場合、残量が所定量以下となったカラー色材の擬似中間調データのみをブラック色材の擬似中間調データに変換することにより印刷処理を続行し、また、モノクロ画像の印刷中にブラック色材の残量が所定量以下となった場合には、モノクロ擬似中間調データを黒再現するようなカラーの擬似中間調データに変換することにより印刷処理を続行する方法が提案されている。   That is, in (Patent Document 1), for example, when the remaining amount of the color material becomes equal to or less than a predetermined amount during printing of a color image, only pseudo halftone data of the color material whose remaining amount is equal to or less than the predetermined amount is stored. The printing process is continued by converting the black color material to pseudo halftone data.If the remaining amount of black color material falls below a predetermined amount during monochrome image printing, the monochrome pseudo halftone data is There has been proposed a method of continuing the printing process by converting the color pseudo halftone data to reproduce black.

この(特許文献1)では、特別のケースを想定しているが、汎用的に、カラー擬似中間調データをモノクロ擬似中間調データに変換すること、逆に、モノクロ擬似中間調データをカラー擬似中間調データに変換することができれば、非常に好都合である。そこで、それを従来の技術で実現するとすれば、例えば(非特許文献1)に紹介されている方法、即ち、複写機のコピー処理に搭載されている方法を用いることが考えられる。この方法によれば、図11に示す構成によって、図12に示す手順によるカラー擬似中間調データのモノクロ擬似中間調データへの変換と、図13に示す手順によるモノクロ擬似中間調データのカラー擬似中間調データへの変換とが行える。以下、具体的に説明する。   In this (Patent Document 1), a special case is assumed. However, for general purposes, color pseudo halftone data is converted into monochrome pseudo half tone data. Conversely, monochrome pseudo half tone data is converted into color pseudo half tone data. It would be very convenient if it could be converted into key data. Therefore, if it is realized by the conventional technique, for example, it is conceivable to use the method introduced in (Non-patent Document 1), that is, the method installed in the copying process of the copying machine. According to this method, the configuration shown in FIG. 11 converts the color pseudo halftone data into monochrome pseudo halftone data according to the procedure shown in FIG. 12, and the color pseudo half tone data of the monochrome pseudo halftone data according to the procedure shown in FIG. Conversion to key data is possible. This will be specifically described below.

図11は、カラー擬似中間調データとモノクロ擬似中間調データとの間の変換処理を行う従来の画像処理装置の構成例を示すブロック図である。図11に示す従来の画像処理装置は、画像入力手段1101と、像域分離手段1102と、網点除去手段1103と、鮮鋭化手段1104と、カラー/モノクロ変換手段1105と、階調変換手段1106と、記憶手段1107と、画像出力手段1108と、これらの要素がバス接続される制御手段1109とを備えている。   FIG. 11 is a block diagram illustrating a configuration example of a conventional image processing apparatus that performs conversion processing between color pseudo-halftone data and monochrome pseudo-halftone data. The conventional image processing apparatus shown in FIG. 11 includes an image input unit 1101, an image area separation unit 1102, a halftone dot removal unit 1103, a sharpening unit 1104, a color / monochrome conversion unit 1105, and a gradation conversion unit 1106. Storage means 1107, image output means 1108, and control means 1109 to which these elements are connected by bus.

制御手段1109は、記憶手段1107に記憶された制御プログラムを用いて画像入力手段1101〜画像出力手段1108の各要素を統括し、図12に示す処理手順と、図13に示す処理手順とを制御し、カラー擬似中間調データとモノクロ擬似中間調データとの間の変換処理を実現する。以下、図12と図13を参照して、画像入力手段1101〜画像出力手段1108の各要素の処理動作を説明する。   The control unit 1109 controls each element of the image input unit 1101 to the image output unit 1108 using a control program stored in the storage unit 1107, and controls the processing procedure shown in FIG. 12 and the processing procedure shown in FIG. Thus, a conversion process between color pseudo-halftone data and monochrome pseudo-halftone data is realized. Hereinafter, the processing operation of each element of the image input unit 1101 to the image output unit 1108 will be described with reference to FIGS. 12 and 13.

図12は、図11に示す従来の画像処理装置にて実施されるカラー擬似中間調データをモノクロ擬似中間調データに変換する処理手順を説明するフローチャートである。なお、処理手順の呼称「ステップ」は、単に「S」と略記する。   FIG. 12 is a flowchart for explaining a processing procedure for converting color pseudo halftone data to monochrome pseudo half tone data, which is performed by the conventional image processing apparatus shown in FIG. In addition, the name “step” of the processing procedure is simply abbreviated as “S”.

図12において、画像入力手段1101が外部からカラー擬似中間調データを入力し、記憶手段1107に格納する(S1200)と、まず、像域分離手段1102が、記憶手段1107に格納されたカラー擬似中間調データに対して網点領域と文字・線画領域との分離処理を行う(S1201)。次いで、網点除去手段1103と鮮鋭化手段1104とが像域分離手段1102の分離処理結果に基づきフィルタ処理を行う(S1202,S1203)。   In FIG. 12, when the image input unit 1101 inputs color pseudo-halftone data from the outside and stores it in the storage unit 1107 (S1200), first, the image area separation unit 1102 stores the color pseudo-intermediate stored in the storage unit 1107. Separation processing of the halftone area and the character / line drawing area is performed on the key data (S1201). Next, the halftone dot removing unit 1103 and the sharpening unit 1104 perform filter processing based on the separation processing result of the image area separating unit 1102 (S1202, S1203).

即ち、網点除去手段1103は、像域分離手段1102が分離処理を行ったカラー擬似中間調データの網点領域の網点をローパスフィルタによるフィルタリング処理などによって除去する(S1202)。また、鮮鋭化手段1104は、像域分離手段1102が分離処理を行ったカラー擬似中間調データの文字・線画領域の画像をハイパスフィルタによるフィルタリング処理等によって鮮鋭化する(S1203)。   That is, the halftone dot removing unit 1103 removes halftone dots in the halftone area of the color pseudo-halftone data subjected to the separation process by the image area separation unit 1102 by filtering using a low-pass filter (S1202). Further, the sharpening unit 1104 sharpens the image of the character / line drawing area of the color pseudo halftone data subjected to the separation process by the image area separation unit 1102 by a filtering process using a high-pass filter or the like (S1203).

次に、以上の処理によって再現されたカラー連続階調データに対し、カラー/モノクロ変換手段1105は、カラー情報をモノクロ情報、即ち、輝度あるいは濃度の情報に変換し、変換したモノクロ連続階調データを記憶手段1107に格納する(S1204)。そして、階調変換手段1106は、記憶手段1107に格納されたモノクロ連続階調データをディザ法や誤差拡散法により2値などのモノクロ擬似中間調データに変換する(S1205)。最後に、画像出力手段1108は、変換されたモノクロ擬似中間調データを出力する(S1206)。   Next, with respect to the color continuous tone data reproduced by the above processing, the color / monochrome conversion means 1105 converts the color information into monochrome information, that is, luminance or density information, and the converted monochrome continuous tone data. Is stored in the storage means 1107 (S1204). Then, the tone conversion unit 1106 converts the monochrome continuous tone data stored in the storage unit 1107 into monochrome pseudo halftone data such as a binary value by a dither method or an error diffusion method (S1205). Finally, the image output unit 1108 outputs the converted monochrome pseudo halftone data (S1206).

また、図13は、図11に示す従来の画像処理装置にて実施されるモノクロ擬似中間調データをカラー擬似中間調データに変換する処理手順を説明するフローチャートである。図13において、画像入力手段1101が外部からモノクロ擬似中間調データを入力し、記憶手段1107に格納する(S1300)と、まず、像域分離手段1102が、記憶手段1107に格納されたモノクロ擬似中間調データに対して網点領域と文字・線画領域との分離処理を行う(S1301)。次いで、網点除去手段1103と鮮鋭化手段1104とが像域分離手段1102の分離処理結果に基づきフィルタ処理を行う(S1302,S1303)。   FIG. 13 is a flowchart for explaining a processing procedure for converting monochrome pseudo halftone data into color pseudo half tone data, which is performed by the conventional image processing apparatus shown in FIG. In FIG. 13, when the image input means 1101 inputs monochrome pseudo halftone data from the outside and stores it in the storage means 1107 (S1300), first, the image area separation means 1102 first displays the monochrome pseudo intermediate tone stored in the storage means 1107. The halftone dot area and the character / line drawing area are separated from the key data (S1301). Next, the halftone dot removing unit 1103 and the sharpening unit 1104 perform filter processing based on the separation processing result of the image area separating unit 1102 (S1302, S1303).

即ち、網点除去手段1103は、像域分離手段1102が分離処理を行ったモノクロ擬似中間調データの網点領域の網点をローパスフィルタによるフィルタリング処理等によって除去する(S1302)。また、鮮鋭化手段1104は、像域分離手段1102が分離処理を行ったモノクロ擬似中間調データの文字・線画領域の画像をハイパスフィルタによるフィルタリング処理などによって鮮鋭化する(S1303)。   That is, the halftone dot removing unit 1103 removes halftone dots in the halftone area of the monochrome pseudo halftone data subjected to the separation process by the image area separating unit 1102 by filtering using a low-pass filter or the like (S1302). The sharpening unit 1104 sharpens the image of the character / line drawing area of the monochrome pseudo halftone data subjected to the separation process by the image area separation unit 1102 by a filtering process using a high-pass filter (S1303).

次に、以上の処理によって再現されたモノクロ連続階調データに対しカラー/モノクロ変換手段1105は、モノクロ情報をカラー情報、即ちカラーの色材でモノクロ情報を再現できるように各カラー色材に対応する画像データ毎の色材量を算出した情報に変換し、変換されたカラー連続階調データを記憶手段1107に格納する(S1304)。そして、階調変換手段1106は、記憶手段1107に格納されたカラー連続階調データをディザ法や誤差拡散法により2値などのカラー擬似中間調データに変換する(S1305)。最後に画像出力手段1108は変換されたカラー擬似中間調データを出力する(S1306)。
特開平5−270059号公報 蕪木浩,太田健一“ディジタルカラー複写機と画像・信号処理”,画像電子学会論文誌,第32巻,第6号,pp844−850,2003.
Next, the color / monochrome conversion means 1105 corresponds to each color material so that the monochrome information can be reproduced with the color information, that is, the color material, with respect to the monochrome continuous tone data reproduced by the above processing. The color material amount for each image data to be converted is converted into the calculated information, and the converted color continuous tone data is stored in the storage unit 1107 (S1304). Then, the tone conversion unit 1106 converts the color continuous tone data stored in the storage unit 1107 into color pseudo halftone data such as a binary value by a dither method or an error diffusion method (S1305). Finally, the image output means 1108 outputs the converted color pseudo halftone data (S1306).
JP-A-5-270059 Hiroki Hiroki, Kenichi Ota “Digital Color Copier and Image / Signal Processing”, Transactions of the Institute of Image Electronics Engineers, Vol. 32, No. 6, pp 844-850, 2003.

しかしながら、上記の方法では、カラー擬似中間調データやモノクロ擬似中間調データを一旦カラー連続階調データやモノクロ連続階調データに変換してからモノクロ擬似中間調データやカラー擬似中間調データを作成しているので、この中間段階でのカラー連続階調データやモノクロ連続階調データに変換する像域分離処理やフィルタリング処理に要する処理時間の分だけ余分に時間が掛かる。また、この中間段階での処理分の記憶手段が余分に必要である。さらに、この中間段階での処理において、像域の誤判別が発生すると、文字や線画のボケや不自然なエッジ強調、不十分な網点除去により階調変換におけるモアレなどが発生する。   However, in the above method, color pseudo halftone data or monochrome pseudo halftone data is temporarily converted into color continuous tone data or monochrome continuous tone data, and then monochrome pseudo halftone data or color pseudo halftone data is created. Therefore, it takes extra time for the processing time required for image area separation processing and filtering processing for conversion to color continuous tone data and monochrome continuous tone data in this intermediate stage. Further, an extra storage means for processing at this intermediate stage is necessary. Further, if an image area is erroneously discriminated in this intermediate processing, moiré in tone conversion occurs due to blurring of characters or line drawings, unnatural edge enhancement, and insufficient halftone dot removal.

要するに、この種の画像処理装置では、省メモリにて高速、高画質を実現することが求められているので、上記した中間段階での処理を省き、直接カラー擬似中間調データのモノクロ擬似中間調データへの変換とその逆変換とが行える画像処理装置をどのようにして実現するかが問題である。   In short, since this type of image processing apparatus is required to realize high speed and high image quality in a memory-saving manner, the intermediate processing described above is omitted, and monochrome pseudo halftones of direct color pseudo halftone data are saved. The problem is how to realize an image processing apparatus that can perform conversion to data and vice versa.

本発明は、上記に鑑みてなされたものであり、カラー擬似中間調データのモノクロ擬似中間調データへの変換、あるいはモノクロ擬似中間調データのカラー擬似中間調データへの変換を、省メモリ、高速、高画質にて実現する画像処理装置及び画像処理方法を得ることを目的とする。   The present invention has been made in view of the above, and conversion of color pseudo halftone data into monochrome pseudo half tone data or conversion of monochrome pseudo half tone data into color pseudo half tone data is performed with a small amount of memory and high speed. An object of the present invention is to obtain an image processing apparatus and an image processing method which can be realized with high image quality.

上記した目的を達成するため、本発明にかかる画像処理装置は、カラー擬似中間調データをモノクロ中間調データに変換する第1の変換手段と、前記モノクロ中間調データを誤差拡散法を用いてモノクロ擬似中間調データに変換する第2の変換手段とを備えていることを特徴とする。   In order to achieve the above-described object, an image processing apparatus according to the present invention includes a first conversion unit that converts color pseudo halftone data into monochrome halftone data, and monochrome halftone data using an error diffusion method. And a second conversion means for converting into pseudo halftone data.

本発明によれば、カラー擬似中間調データを直接モノクロ中間調データに変換し、変換されたモノクロ中間調データに対して誤差拡散法によるランダム成分を有する階調変換を施してモノクロ擬似変換中間調データを得るようにし、像域分離やフィルタリング処理を不要としたので、文字・線画像のボケや不自然なエッジ強調がなく、入力データの擬似中間調方法との干渉がないモノクロ擬似中間調データを作成することができる。したがって、省メモリ、高速、高画質にてカラー擬似中間調データからモノクロ擬似中間調データが得られる。   According to the present invention, the color pseudo halftone data is directly converted into monochrome halftone data, and the converted monochrome halftone data is subjected to gradation conversion having a random component by the error diffusion method, so that the monochrome pseudo conversion halftone is obtained. Monochrome pseudo-halftone data that does not interfere with the pseudo-halftone method of the input data without blurring of character / line images and unnatural edge enhancement, because data is obtained and image area separation and filtering processing are unnecessary. Can be created. Therefore, monochrome pseudo-halftone data can be obtained from color pseudo-halftone data with low memory, high speed and high image quality.

本発明によれば、カラー擬似中間調データのモノクロ擬似中間調データへの変換を、省メモリ、高速、高画質にて実現することができる。   According to the present invention, conversion of color pseudo-halftone data to monochrome pseudo-halftone data can be realized with low memory, high speed, and high image quality.

以下に図面を参照して、本発明にかかる画像処理装置及び画像処理方法の好適な実施の形態を詳細に説明する。   Exemplary embodiments of an image processing apparatus and an image processing method according to the present invention are explained in detail below with reference to the drawings.

(実施の形態1)
図1は、本発明の実施の形態1による画像処理装置のハードウェア構成を示す図である。図1に示す画像処理装置100は、外部インターフェース101と、外部記憶装置102と、中央演算処理装置(以下「CPU」と略称する)103と、リードオンリーメモリ(以下「ROM」と略称する)104と、ランダムアクセスメモリ(以下「RAM」と略称する)105とを備え、それらがデータバス106を介して接続されている。
(Embodiment 1)
FIG. 1 is a diagram showing a hardware configuration of an image processing apparatus according to Embodiment 1 of the present invention. An image processing apparatus 100 shown in FIG. 1 includes an external interface 101, an external storage device 102, a central processing unit (hereinafter abbreviated as “CPU”) 103, and a read-only memory (hereinafter abbreviated as “ROM”) 104. And a random access memory (hereinafter abbreviated as “RAM”) 105, which are connected via a data bus 106.

外部インターフェース101は、ホストコンピュータとのデータ送受信を行って処理対象となる擬似中間調データの入力と処理結果の擬似中間調データの出力とを行うインターフェースであるが、この画像処理装置の適用場面に応じて、例えば、用紙に印刷データを記録するためのエンジン部とのデータ送受信、あるいは装置の状態、情報の表示やユーザ操作により装置設定を行うための表示パネルへのデータ送受信を行うこともある。なお、この画像処理装置が画像印刷装置や画像形成装置、画像複写装置に搭載される場合には、この外部インターフェース101の大部分の機能はそれらの装置側で持つことになる。   The external interface 101 is an interface that performs transmission / reception of data with a host computer to input pseudo halftone data to be processed and output pseudo halftone data as a processing result. In response, for example, data transmission / reception with an engine unit for recording print data on paper, or data transmission / reception to / from a display panel for performing device settings by displaying the state of the device, information, or user operation may be performed. . When this image processing apparatus is installed in an image printing apparatus, image forming apparatus, or image copying apparatus, most of the functions of the external interface 101 are provided on the apparatus side.

外部記憶装置102は、外部インターフェース101が入力する処理対象となる擬似中間調データと、外部インターフェース101に引き渡す処理結果の擬似中間調データとの一時的な格納を行う記憶装置であり、ハードディスク(HDD)、CD−ROM、CD−RW、DVD−ROM、DVD−RW、DVD−RAM、フラッシュメモリ等が用いられる。この外部記憶装置102には、制御プログラムが格納される場合もある。   The external storage device 102 is a storage device that temporarily stores pseudo halftone data to be processed input by the external interface 101 and pseudo halftone data that is a processing result delivered to the external interface 101. CD-ROM, CD-RW, DVD-ROM, DVD-RW, DVD-RAM, flash memory, etc. are used. The external storage device 102 may store a control program.

ROM104には、CPU103が実行する制御プログラムが格納されるが、上記のように、この画像処理装置が画像印刷装置や画像形成装置、画像複写装置に搭載される場合には、フォント情報や印刷装置の情報などが格納されることもある。   The ROM 104 stores a control program to be executed by the CPU 103. As described above, when the image processing apparatus is installed in an image printing apparatus, an image forming apparatus, or an image copying apparatus, font information and a printing apparatus are stored. Such information may be stored.

RAM105は、CPU103が画像処理を行う際に使用するが、上記のように、この画像処理装置が画像印刷装置や画像形成装置、画像複写装置に搭載される場合には、ホストコンピュータから送信された印刷データを含む各種データの記憶用に使用されることもある。   The RAM 105 is used when the CPU 103 performs image processing. As described above, when the image processing apparatus is mounted on an image printing apparatus, image forming apparatus, or image copying apparatus, the RAM 105 is transmitted from a host computer. It may be used for storing various data including print data.

CPU103は、データバス106を介して、外部インターフェース101を制御して外部インターフェース101が入力する処理対象となる擬似中間調データを外部記憶装置102に一旦格納する。そして、画像処理時に、ROM104に格納される制御プログラムを取り出してRAM105上に展開し、それに基づき、データバス106を介して、処理対象となる擬似中間調データを外部記憶装置102からRAM105に転送し、RAM105を使用して、一連の画像処理に必要なメモリ管理、ジョブ管理の元で、画像処理中の中間データを保持しつつ画像処理を実行し、最終処理結果を外部記憶装置102に一旦格納する。その後、適宜な時に、データバス106を介して、外部記憶装置102から最終処理結果を外部インターフェース101に送出させることを行う。   The CPU 103 controls the external interface 101 via the data bus 106 and temporarily stores the pseudo halftone data to be processed input by the external interface 101 in the external storage device 102. At the time of image processing, a control program stored in the ROM 104 is taken out and expanded on the RAM 105, and based on this, pseudo halftone data to be processed is transferred from the external storage device 102 to the RAM 105 via the data bus 106. The RAM 105 is used to execute image processing while retaining intermediate data during image processing under the memory management and job management necessary for a series of image processing, and the final processing result is temporarily stored in the external storage device 102. To do. Thereafter, the final processing result is sent from the external storage device 102 to the external interface 101 via the data bus 106 at an appropriate time.

なお、この画像処理装置が画像印刷装置や画像形成装置、画像複写装置に搭載される場合には、CPU103は、エンジン部の動作や表示パネルへのパネル表示等の装置全体の制御、及びPDLの解析、描画、印刷デバイスに適した色変換や階調変換等の画像処理を行い印刷データ(ビットマップ情報)を作成することもある。   When this image processing apparatus is mounted on an image printing apparatus, an image forming apparatus, or an image copying apparatus, the CPU 103 controls the entire apparatus such as the operation of the engine unit and the panel display on the display panel, and the PDL. Print data (bitmap information) may be generated by performing image processing such as color conversion and gradation conversion suitable for analysis, drawing, and printing device.

まず、図2〜図8を参照して、この実施の形態1によるカラー擬似中間調データをモノクロ擬似中間調データに直接変換する場合の構成と動作について説明する。なお、逆向きに、モノクロ擬似中間調データをカラー擬似中間調データに直接変換する場合の構成と動作については、実施の形態2として後述する(図9、図10)。   First, with reference to FIGS. 2 to 8, the configuration and operation in the case of directly converting color pseudo halftone data according to the first embodiment into monochrome pseudo half tone data will be described. In the reverse direction, the configuration and operation for directly converting monochrome pseudo halftone data to color pseudo half tone data will be described later as a second embodiment (FIGS. 9 and 10).

図2は、図1に示す構成にて実現されるカラー擬似中間調データをモノクロ擬似中間調データに直接変換する画像処理装置の機能構成を示すブロック図である。図2に示す画像処理装置200は、処理対象のカラー擬似中間調データを入力する画像入力手段201と、カラー擬似中間調データをモノクロ中間調データに変換するモノクロ変換手段202と、変換されたモノクロ中間調データをモノクロ擬似中間調データに変換する階調変換手段203と、処理中の画像データや制御プログラムを記憶する記憶手段204と、変換したモノクロ擬似中間調データを出力する画像出力手段205と、それら各手段の動作を制御する制御手段206とで構成されている。   FIG. 2 is a block diagram showing a functional configuration of an image processing apparatus that directly converts color pseudo halftone data realized by the configuration shown in FIG. 1 into monochrome pseudo half tone data. An image processing apparatus 200 shown in FIG. 2 includes an image input unit 201 that inputs color pseudo-halftone data to be processed, a monochrome conversion unit 202 that converts color pseudo-halftone data to monochrome halftone data, and a converted monochrome image. Gradation conversion means 203 for converting halftone data into monochrome pseudo halftone data, storage means 204 for storing image data and a control program being processed, and image output means 205 for outputting the converted monochrome pseudo halftone data And control means 206 for controlling the operation of each means.

ここで、図1に示す構成との対応関係を説明する。画像入力手段201と画像出力手段205は、外部インターフェース101によって実現される。記憶手段204は、外部記憶装置102とRAM105によって実現される。モノクロ変換手段202と階調変換手段203及び各手段の動作を制御する制御手段206は、ROM104に記憶された制御プログラムをRAM105に展開して実行するCPU103によって実現される。但し、これら手段の一部は、LSIによって実現される場合もある。   Here, the correspondence with the configuration shown in FIG. 1 will be described. The image input unit 201 and the image output unit 205 are realized by the external interface 101. The storage unit 204 is realized by the external storage device 102 and the RAM 105. The monochrome conversion unit 202, the gradation conversion unit 203, and the control unit 206 that controls the operation of each unit are realized by the CPU 103 that develops and executes the control program stored in the ROM 104 in the RAM 105. However, some of these means may be realized by LSI.

以下、動作について説明する。図3は、図2に示す画像処理装置の動作を説明するフローチャートである。図3に示すように、この実施の形態1による変換処理は、モノクロ変換処理(S301)と階調変換処理(S302)との2つで完了する。   The operation will be described below. FIG. 3 is a flowchart for explaining the operation of the image processing apparatus shown in FIG. As shown in FIG. 3, the conversion process according to the first embodiment is completed with two processes, a monochrome conversion process (S301) and a gradation conversion process (S302).

最初のS301では、モノクロ変換手段202にて、画像入力手段201が記憶手段204に予め格納したカラー擬似中間調データをモノクロ中間調データに変換し、記憶手段204に格納する処理が行われる。   In the first step S <b> 301, the monochrome conversion unit 202 performs processing for converting the color pseudo halftone data stored in advance in the storage unit 204 by the image input unit 201 into monochrome halftone data and storing it in the storage unit 204.

2つ目のS302では、階調変換手段203にて、モノクロ変換手段202が記憶手段204に格納したモノクロ中間調データをモノクロ擬似中間調データに変換し、記憶手段204に格納する処理が行われる。このように記憶手段204に格納された変換データであるモノクロ擬似中間調データは、画像出力手段205が適宜な時に外部に出力することになる。   In the second step S <b> 302, the gradation conversion unit 203 converts the monochrome halftone data stored in the storage unit 204 by the monochrome conversion unit 202 into monochrome pseudo halftone data and stores it in the storage unit 204. . As described above, the monochrome pseudo halftone data which is the conversion data stored in the storage unit 204 is output to the outside by the image output unit 205 at an appropriate time.

次に、モノクロ変換処理(S301)と階調変換処理(S302)の内容を具体的に説明する。   Next, the contents of the monochrome conversion process (S301) and the gradation conversion process (S302) will be specifically described.

モノクロ変換処理(S301)では、入力データが2値データである場合は例えば図4に示す方法で、入力データが多値(N値:N≧3)データである場合は例えば図5に示す方法で、カラー擬似中間調データをモノクロ中間調データに変換する。図4は、入力データが2値のカラー擬似中間調データである場合に図3に示すモノクロ変換処理にて使用するルックアップテーブルの一例を示す図である。図5は、入力データが多値(N値)のカラー擬似中間調データである場合に図3に示すモノクロ変換処理での動作を説明する図である。   In the monochrome conversion process (S301), when the input data is binary data, for example, the method shown in FIG. 4 is used. When the input data is multi-value (N value: N ≧ 3) data, for example, the method shown in FIG. The color pseudo halftone data is converted into monochrome halftone data. FIG. 4 is a diagram showing an example of a lookup table used in the monochrome conversion process shown in FIG. 3 when the input data is binary color pseudo halftone data. FIG. 5 is a diagram for explaining the operation in the monochrome conversion process shown in FIG. 3 when the input data is multi-value (N-value) color pseudo halftone data.

例えば、入力データがC(シアン)M(マゼンタ)Y(イエロー)K(ブラック)の4プレーンで構成される2値のカラー擬似中間調データの場合は、各プレーンの1画素は、“1”か“0”の1ビットデータで構成されるので、4プレーンで1画素は4ビットのデータとなる。即ち、16通りの画素値のパターンが考えられる。   For example, when the input data is binary color pseudo halftone data composed of four planes of C (cyan), M (magenta), Y (yellow), and K (black), one pixel of each plane is “1”. Or 1 bit data of “0”, one pixel in 4 planes is 4 bits data. That is, 16 pixel value patterns can be considered.

したがって、CMYKの4ビットデータからモノクロ中間調データへの変換は、16通りの画素値パターンに対応するモノクロ濃度情報を格納した例えば図4に示すようなルックアップテーブルを用いて行う方法が考えられる。図4に示すように、モノクロ中間調データは、0〜255の範囲の8ビットデータ等が考えられる。   Therefore, conversion from CMYK 4-bit data to monochrome halftone data may be performed using a look-up table as shown in FIG. 4, for example, which stores monochrome density information corresponding to 16 pixel value patterns. . As shown in FIG. 4, the monochrome halftone data may be 8-bit data in the range of 0-255.

また、RGBからCMYKへの色変換が補色等の線形変換で実現され、UCR率が定まっている場合には、数式を用いてモノクロ濃度情報を算出しモノクロ中間調データを作成する方法も考えられる。さらに、入力データがRGB等の他の色空間によって構成されたカラー擬似中間調データの場合も、ルックアップテーブルによる変換や、数式変換によってモノクロ中間調データへの変換を実現することができる。   In addition, when the color conversion from RGB to CMYK is realized by linear conversion such as complementary color and the UCR rate is fixed, a method of creating monochrome halftone data by calculating monochrome density information using mathematical formulas can be considered. . Furthermore, even when the input data is color pseudo-halftone data composed of other color spaces such as RGB, conversion to monochrome halftone data can be realized by conversion using a lookup table or mathematical expression conversion.

一方、入力データが多値(N値:≧3)の擬似中間調データの場合は、モノクロ変換手段202は対象画素の多値のレベルと色材濃度とからモノクロ中間調データの画素値を算出する。通常、レーザープリンタでは多値(N値)のレベルに応じてレーザーを照射するパルスの幅を制御して印刷物の階調を実現する。インクジェットプリンタでは多値(N値)のレベルに応じて異なる濃度のインクを使用して、あるいは噴射するインク量を制御して印刷物の階調を実現する。   On the other hand, when the input data is multi-value (N value: ≧ 3) pseudo-halftone data, the monochrome conversion unit 202 calculates the pixel value of the monochrome half-tone data from the multi-value level and the color material density of the target pixel. To do. Usually, in a laser printer, the gradation of a printed matter is realized by controlling the width of a pulse to be irradiated with a laser in accordance with a multilevel (N value) level. Ink jet printers use gradations of different densities according to multilevel (N value) levels, or control the amount of ink to be ejected to realize gradation of printed matter.

ここでは、図5を参照して、入力データがCMYKの4プレーンで構成される5値のカラー擬似中間調データであり、印刷をレーザープリンタで実行する場合を例に説明する。図5(a)は、Cプレーンの1画素がパルス幅変調によって5値に変調される場合の多値レベルと色材面積率及びモノクロ変換の概略図である。図5(b)は、モノクロ変換値の一例を示す図である。   Here, with reference to FIG. 5, a case will be described as an example where input data is quinary color pseudo halftone data composed of four CMYK planes and printing is performed by a laser printer. FIG. 5A is a schematic diagram of a multi-value level, a color material area ratio, and monochrome conversion when one pixel of a C plane is modulated to five values by pulse width modulation. FIG. 5B is a diagram illustrating an example of a monochrome conversion value.

図5(a)において、レベル0では色材は定着されず、レベル1で1画素の1/4が、レベル2で1/2が、レベル3で3/4が、レベル4で画素全体がそれぞれ定着される。したがって、Cプレーンの色材濃度とレベル毎に定着される色材の面積率とからモノクロ中間調データに変換されたときの画素のレベルを算出する。   In FIG. 5A, the color material is not fixed at level 0, 1/4 of one pixel at level 1, 1/2 at level 2, 3/4 at level 3, and the entire pixel at level 4. Each is fixed. Therefore, the pixel level when converted into monochrome halftone data is calculated from the color material density of the C plane and the area ratio of the color material fixed for each level.

例えば、入力データが多値(5値)擬似中間調データであり、Cプレーンの色材ベタ濃度が0.6、Kプレーンの色材ベタ濃度が1.6であるとすると、モノクロ中間調データの変換値は、例えば図5(b)に示すようになる。図5(b)は、モノクロ中間調データが0〜255の範囲で定義されている場合の例である。例えば、レベル2は面積率が1/2であるので、255×(面積率)×(Cプレーンベタ濃度)/(Kプレーンベタ濃度)によってモノクロ中間調データへの変換値48が算出される。   For example, if the input data is multi-value (5-value) pseudo halftone data, the color material solid density of the C plane is 0.6, and the color material solid density of the K plane is 1.6, monochrome halftone data The converted value is as shown in FIG. 5B, for example. FIG. 5B shows an example in which monochrome halftone data is defined in the range of 0 to 255. For example, since the area ratio at level 2 is ½, the conversion value 48 to monochrome halftone data is calculated by 255 × (area ratio) × (C plane solid density) / (K plane solid density).

また、階調変換処理(S302)では、例えば、誤差拡散法(図6)、グリーンノイズ誤差拡散法(図7)、ブルーノイズマスク法やグリーンノイズマスク法(図8)の何れかによって、モノクロ中間調データ(連続階調データ)をモノクロ擬似中間調データに変換する。以下、この順に説明する。   In the gradation conversion process (S302), for example, monochrome processing is performed by any one of the error diffusion method (FIG. 6), the green noise error diffusion method (FIG. 7), the blue noise mask method, and the green noise mask method (FIG. 8). Halftone data (continuous tone data) is converted into monochrome pseudo-halftone data. Hereinafter, it demonstrates in this order.

図6に示す誤差拡散法では、連続階調データである入力データX(n1,n2)は、加算器601にて線形フィルタ602が出力する量子化雑音a(n1,n2)と加算される。この加算データU(n1,n2)の大部分は、量子化器603にて量子化されて出力値Y(n1,n2)が得られる。その過程で、加算データU(n1,n2)の一部と出力値Y(n1,n2)の一部とが減算器604にて減算され、量子化誤差e(n1,n2)となり、線形フィルタ602に入力される。線形フィルタ602が、この量子化誤差e(n1,n2)を拡散して加算器601に与えることを繰り返すことで、階調変調特性が決定される。 In the error diffusion method shown in FIG. 6, input data X (n 1 , n 2 ) that is continuous tone data is converted into quantization noise a (n 1 , n 2 ) output from the linear filter 602 in the adder 601. Is added. Most of the added data U (n 1 , n 2 ) is quantized by the quantizer 603 to obtain an output value Y (n 1 , n 2 ). In the process, a part of the addition data U (n 1 , n 2 ) and a part of the output value Y (n 1 , n 2 ) are subtracted by the subtractor 604, and the quantization error e (n 1 , n 2 ) and input to the linear filter 602. The linear filter 602 repeatedly repeats the quantization error e (n 1 , n 2 ) and applies it to the adder 601, thereby determining the gradation modulation characteristic.

出力値Y(n1,n2)は、量子化器603での量子化閾値をThとすると、(数1)で表される。但し、誤差拡散法特有のノイズの低減や、エッジ強調などの処理を加えるために量子化閾値Thを特定の規則によって変更して量子化を行う場合もある。 The output value Y (n 1 , n 2 ) is expressed by (Equation 1), where Th is the quantization threshold in the quantizer 603. However, in some cases, quantization is performed by changing the quantization threshold Th according to a specific rule in order to perform processing such as noise reduction or edge enhancement specific to the error diffusion method.

次に、図7に示すグリーンノイズ誤差拡散法では、図6に示す構成において、量子化器603の出力値Y(n1,n2)の一部を用いて出力ドットの形状を決定する線形フィルタ701と、線形フィルタ701の出力値に出力ドットの大きさを決定する係数を積算する積算器702と、積算器702の出力と加算器601が出力する加算データU(n1,n2)とを加算して量子化器603の入力とする加算器703とで構成されるフィードバック系が設けられる。 Next, in the green noise error diffusion method shown in FIG. 7, in the configuration shown in FIG. 6, the shape of the output dot is determined using a part of the output value Y (n 1 , n 2 ) of the quantizer 603. Filter 701, integrator 702 that integrates the output value of linear filter 701 with a coefficient that determines the size of the output dot, and the output of integrator 702 and the addition data U (n 1 , n 2 ) output by adder 601 Is added to the quantizer 603 as an input, and a feedback system is provided.

この場合の出力値Y(n1,n2)は、量子化器603に過去の出力値がフィードバックされるので、(数2)で表される。 The output value Y (n 1 , n 2 ) in this case is expressed by (Equation 2) because the past output value is fed back to the quantizer 603.

次に、図8では、(a)にブルーノイズマスク法を用いて階調変換を行った結果の一例が示され、(b)にグリーンノイズマスク法を用いて階調変換を行った結果の一例が示されている。ブルーノイズマスク法やグリーンノイズマスク法は、入力データとマスク内の同一オフセット位置の閾値とを比較し、大小の結果に基づいて2値化を行う階調変換方法であり、一般的なディザ法と同一の原理である。ブルーノイズマスクは、低周波成分が少なく、高周波領域にスペクトルのピークが多く存在しているという特徴がある。また、グリーンノイズマスクは、低周波成分や高周波成分が少なく、中間領域にスペクトルのピークが多く存在しているという特徴がある。   Next, in FIG. 8, (a) shows an example of the result of gradation conversion using the blue noise mask method, and (b) shows the result of gradation conversion using the green noise mask method. An example is shown. The blue noise mask method and the green noise mask method are gradation conversion methods in which input data is compared with a threshold value at the same offset position in the mask, and binarization is performed based on the result of magnitude, and a general dither method is used. Is the same principle. The blue noise mask is characterized in that there are few low frequency components and there are many spectrum peaks in the high frequency region. Further, the green noise mask has a feature that there are few low-frequency components and high-frequency components, and there are many spectrum peaks in the intermediate region.

以上説明したように、実施の形態1によれば、カラー擬似中間調データを直接モノクロ中間調データに変換し、変換されたモノクロ中間調データに対して誤差拡散法、グリーンノイズ誤差拡散法、ブルーノイズマスク法、グリーンノイズマスク法などのランダム成分を有する階調変換を施してモノクロ擬似変換中間調データを得るようにし、像域分離やフィルタリング処理を不要としたので、文字・線画像のボケや不自然なエッジ強調がなく、入力データの擬似中間調方法との干渉がないモノクロ擬似中間調データを作成することができる。したがって、省メモリ、高速、高画質にてカラー擬似中間調データからモノクロ擬似中間調データが得られる。   As described above, according to the first embodiment, the color pseudo halftone data is directly converted into the monochrome halftone data, and the error diffusion method, the green noise error diffusion method, the blue color is applied to the converted monochrome halftone data. Since gradation conversion with random components such as noise mask method and green noise mask method is performed to obtain monochrome pseudo conversion halftone data, image area separation and filtering processing are not required, It is possible to create monochrome pseudo halftone data that has no unnatural edge enhancement and does not interfere with the pseudo half tone method of the input data. Therefore, monochrome pseudo-halftone data can be obtained from color pseudo-halftone data with low memory, high speed and high image quality.

この場合、カラー擬似中間調データのモノクロ中間調データへの変換では、入力データが2値ではなく多値(N値)の擬似中間調データであっても、対称画素の多値のレベルと色材濃度とからモノクロ中間調データの画素値が算出できるので、高画質にて多値(N値)のカラー擬似中間調データをモノクロ中間調データに変換できる。   In this case, in the conversion of the color pseudo-halftone data to monochrome half-tone data, even if the input data is not binary but multi-value (N-value) pseudo-half-tone data, the multi-value level and color of the symmetric pixel Since the pixel value of the monochrome halftone data can be calculated from the material density, the multi-value (N value) color pseudo halftone data can be converted into monochrome halftone data with high image quality.

また、変換されたモノクロ中間調データのモノクロ擬似中間調データへの変換では、(1)基本的には誤差拡散法を用いてよいが、(2)グリーンノイズ誤差拡散法を用いる場合は誤差拡散法に比べ孤立ドットを低減することができ、(3)ブルーノイズマスク法を用いる場合は誤差拡散法よりも高速に入力データの擬似中間調方法との干渉がないモノクロ擬似中間調データを作成することができ、(4)グリーンノイズマスク法を用いる場合はブルーノイズマスク法に比べ孤立ドットを低減することができる。(2)と(4)の場合は、ドット再現の悪いプリンタでもカラー擬似中間調データから高画質に印刷可能なモノクロ擬似中間調データが得られる。   In the conversion of the converted monochrome halftone data into monochrome pseudo halftone data, (1) the error diffusion method may be basically used, but (2) the error diffusion is performed when the green noise error diffusion method is used. Isolated dots can be reduced compared to the conventional method, and (3) when using the blue noise mask method, monochrome pseudo-halftone data that does not interfere with the pseudo-halftone method of the input data is created faster than the error diffusion method. (4) When the green noise mask method is used, isolated dots can be reduced compared to the blue noise mask method. In the case of (2) and (4), monochrome pseudo-halftone data that can be printed with high image quality from color pseudo-halftone data even with a printer with poor dot reproduction can be obtained.

(実施の形態)
図9は、本発明の実施の形態2として、図1に示す構成にて実現されるモノクロ擬似中間調データをカラー擬似中間調データに直接変換する画像処理装置の機能構成を示すブロック図である。図9に示す画像処理装置900は、処理対象のモノクロ擬似中間調データを入力する画像入力手段901と、モノクロ擬似中間調データをカラー中間調データに変換するカラー変換手段902と、変換されたカラー中間調データをカラー擬似中間調データに変換する階調変換手段903と、処理中の画像データや制御プログラムを記憶する記憶手段904と、変換したカラー擬似中間調データを出力する画像出力手段905と、それら各手段の動作を制御する制御手段906とで構成されている。
(Embodiment)
FIG. 9 is a block diagram showing a functional configuration of an image processing apparatus for directly converting monochrome pseudo halftone data realized in the configuration shown in FIG. 1 into color pseudo half tone data as the second embodiment of the present invention. . An image processing apparatus 900 illustrated in FIG. 9 includes an image input unit 901 that inputs monochrome pseudo halftone data to be processed, a color conversion unit 902 that converts monochrome pseudo halftone data to color halftone data, and a converted color. Gradation conversion means 903 for converting halftone data into color pseudo halftone data, storage means 904 for storing image data and a control program being processed, and image output means 905 for outputting the converted color pseudo halftone data And control means 906 for controlling the operation of each means.

ここで、図1に示す構成との対応関係を説明する。画像入力手段901と画像出力手段905は、外部インターフェース101によって実現される。記憶手段904は、外部記憶装置102とRAM105によって実現される。カラー変換手段902と階調変換手段903及び各手段の動作を制御する制御手段906は、ROM104に記憶された制御プログラムをRAM105に展開して実行するCPU103によって実現される。但し、これら手段の一部は、LSIによって実現される場合もある。   Here, the correspondence with the configuration shown in FIG. 1 will be described. The image input unit 901 and the image output unit 905 are realized by the external interface 101. The storage unit 904 is realized by the external storage device 102 and the RAM 105. The color conversion means 902, the gradation conversion means 903, and the control means 906 for controlling the operation of each means are realized by the CPU 103 that develops and executes the control program stored in the ROM 104 in the RAM 105. However, some of these means may be realized by LSI.

以下、動作について説明する。図10は、図9に示す画像処理装置の動作を説明するフローチャートである。図10に示すように、この実施の形態2による変換処理は、カラー変換処理(S1001)と階調変換処理(S1002)との2つで完了する。   The operation will be described below. FIG. 10 is a flowchart for explaining the operation of the image processing apparatus shown in FIG. As shown in FIG. 10, the conversion process according to the second embodiment is completed by two processes, a color conversion process (S1001) and a gradation conversion process (S1002).

最初のS1001では、カラー変換手段902にて、画像入力手段901が記憶手段904に予め格納したモノクロ擬似中間調データをカラー中間調データに変換し、記憶手段904に格納する処理が行われる。   In the first S1001, the color conversion unit 902 converts the monochrome pseudo halftone data stored in advance in the storage unit 904 by the image input unit 901 into color halftone data and stores it in the storage unit 904.

2つ目のS1002では、階調変換手段903にて、カラー変換手段902が記憶手段904に格納したカラー中間調データをカラー擬似中間調データに変換し、記憶手段904に格納する処理が行われる。このように記憶手段904に格納されたカラー擬似中間調データは、画像出力手段905が適宜な時に外部に出力することになる。   In the second step S1002, the gradation conversion unit 903 performs processing for converting the color halftone data stored in the storage unit 904 by the color conversion unit 902 into color pseudo halftone data and storing it in the storage unit 904. . The color pseudo halftone data stored in the storage unit 904 in this way is output to the outside by the image output unit 905 at an appropriate time.

次に、カラー変換処理(S1001)と階調変換処理(S1002)の内容を具体的に説明する。   Next, the contents of the color conversion process (S1001) and the gradation conversion process (S1002) will be specifically described.

カラー変換処理(S1001)では、入力データは、モノクロ擬似中間調データであるため、1画素は、“1”か“0”の1ビットデータで構成される。一方、出力データは、CMYKの4プレーンで構成されるカラー中間調データの場合、各プレーンは0〜255の範囲の8ビットデータ等が考えられる。   In the color conversion process (S1001), since the input data is monochrome pseudo halftone data, one pixel is composed of 1-bit data of “1” or “0”. On the other hand, when the output data is color halftone data composed of four CMYK planes, 8-bit data in the range of 0 to 255 can be considered for each plane.

この場合、入力データであるモノクロ擬似中間調データが“0”の画素は、出力データであるカラー中間調データでも各プレーン共に“0”となる。一方、入力データであるモノクロ擬似中間調データが“1”の画素については、出力データであるカラー中間調データにおいてCMY3色によってモノクロの色を再現する必要がある。   In this case, a pixel having monochrome pseudo halftone data “0” as input data is “0” in each plane even in color halftone data as output data. On the other hand, for a pixel having monochrome pseudo halftone data “1” as input data, it is necessary to reproduce a monochrome color with three CMY colors in the color halftone data as output data.

そこで、例えばCプレーンは163、Mプレーンは133、Yプレーンは130、Kプレーンは0などの値に変換する。変換値はCMY3色でモノクロ擬似中間調データと同様の色を再現する必要があるので、色材濃度に基づいて決定する必要がある。また、変換は一意に行うことが可能であるので、その場合は変換テーブルにて実行することができる。また、出力データがRGB等の他の色空間によって構成されたカラー中間調データの場合も同様に変換テーブルによってカラー中間調データへの変換を実現することができる。   Therefore, for example, the C plane is converted to a value such as 163, the M plane is 133, the Y plane is 130, and the K plane is 0. The conversion value needs to be determined based on the color material density because it is necessary to reproduce the same color as the monochrome pseudo-halftone data with three colors of CMY. Moreover, since conversion can be performed uniquely, in that case, it can be performed with a conversion table. Similarly, when the output data is color halftone data composed of another color space such as RGB, conversion to color halftone data can be realized by the conversion table.

次に、階調変換処理(S1002)では、実施の形態1にて説明した誤差拡散法、グリーンノイズ誤差拡散法、ブルーノイズマスク法、グリーンノイズマスク法などのランダム成分を有する階調変換法が同様に適用される。   Next, in the gradation conversion process (S1002), gradation conversion methods having random components such as the error diffusion method, the green noise error diffusion method, the blue noise mask method, and the green noise mask method described in the first embodiment are used. The same applies.

以上説明したように、実施の形態2によれば、モノクロ擬似中間調データを直接カラー中間調データに変換し、変換されたカラー中間調データに対して誤差拡散法、グリーンノイズ誤差拡散法、ブルーノイズマスク法、グリーンノイズマスク法などのランダム成分を有する階調変換を施してカラー擬似変換中間調データを得るようにし、像域分離やフィルタリング処理を不要としたので、文字・線画像のボケや不自然なエッジ強調がなく、入力データの擬似中間調方法との干渉がないモノクロ擬似中間調データを作成することができる。したがって、省メモリ、高速、高画質にてモノクロ擬似中間調データからカラー擬似中間調データが得られる。   As described above, according to the second embodiment, monochrome pseudo halftone data is directly converted to color halftone data, and error diffusion method, green noise error diffusion method, blue color data is converted to the converted color halftone data. Color tone conversion halftone data is obtained by performing tone conversion with random components such as noise mask method and green noise mask method, eliminating the need for image area separation and filtering processing. It is possible to create monochrome pseudo halftone data that has no unnatural edge enhancement and does not interfere with the pseudo half tone method of the input data. Therefore, color pseudo halftone data can be obtained from monochrome pseudo halftone data with low memory, high speed and high image quality.

この場合、モノクロ擬似中間調データのカラー中間調データへの変換では、入力データが2値ではなく多値(N値)の擬似中間調データであっても、対称画素の多値のレベルと色材濃度とからカラー中間調データの画素値が算出できるので、高画質にて多値(N値)のモノクロ擬似中間調データをカラー中間調データに変換できる。   In this case, in the conversion of monochrome pseudo-halftone data to color half-tone data, even if the input data is not binary but multi-value (N-value) pseudo-half-tone data, the multi-value level and color of the symmetric pixel Since the pixel value of the color halftone data can be calculated from the material density, the multi-value (N value) monochrome pseudo halftone data can be converted into color halftone data with high image quality.

また、変換されたカラー中間調データのカラー擬似中間調データへの変換では、(1)基本的には誤差拡散法を用いてよいが、(2)グリーンノイズ誤差拡散法を用いる場合は誤差拡散法に比べ孤立ドットを低減することができ、(3)ブルーノイズマスク法を用いる場合は誤差拡散法よりも高速に入力データの擬似中間調方法との干渉がないモノクロ擬似中間調データを作成することができ、(4)グリーンノイズマスク法を用いる場合はブルーノイズマスク法に比べ孤立ドットを低減することができる。(2)と(4)の場合は、ドット再現の悪いプリンタでもモノクロ擬似中間調データから高画質に印刷可能なカラー擬似中間調データが得られる。   In the conversion of the converted color halftone data into color pseudo halftone data, (1) the error diffusion method may be basically used, but (2) the error diffusion is performed when the green noise error diffusion method is used. Isolated dots can be reduced compared to the conventional method, and (3) when using the blue noise mask method, monochrome pseudo-halftone data that does not interfere with the pseudo-halftone method of the input data is created faster than the error diffusion method. (4) When the green noise mask method is used, isolated dots can be reduced compared to the blue noise mask method. In the cases (2) and (4), color pseudo-halftone data that can be printed with high image quality from monochrome pseudo-halftone data even with a printer with poor dot reproduction can be obtained.

そして、実施の形態1に示した画像処理装置を、画像印刷装置や画像形成装置、画像複写装置の一部として用いることによって、カラーの色材が所定量以下である場合に、記憶されたカラー色材の擬似中間調データ(印刷データ)からモノクロの色材で印刷可能な擬似中間調データ(印刷データ)に変換することができるので、少ないメモリ容量でユーザは自動的にモノクロ印刷の結果を得ることができる。   By using the image processing apparatus shown in the first embodiment as a part of an image printing apparatus, an image forming apparatus, or an image copying apparatus, the stored color can be stored when the color material is less than a predetermined amount. The pseudo halftone data (print data) of the color material can be converted into the pseudo half tone data (print data) that can be printed with the monochrome color material, so that the user can automatically obtain the monochrome print result with a small memory capacity. Obtainable.

また、実施の形態2に示した画像処理装置を、画像印刷装置や画像形成装置、画像複写装置の一部として用いることによって、モノクロの色材が所定量以下である場合に、記憶されたモノクロ色材の擬似中間調データ(印刷データ)からカラーの色材で印刷可能な擬似中間調データ(印刷データ)に変換することができるので、少ないメモリ容量でユーザは自動的にカラー印刷の結果を得ることができる。   Further, by using the image processing apparatus described in the second embodiment as a part of an image printing apparatus, an image forming apparatus, or an image copying apparatus, when the monochrome color material is less than a predetermined amount, the stored monochrome Color material pseudo-halftone data (print data) can be converted to color half-tone data (print data) that can be printed with color materials, so users can automatically print color print results with a small amount of memory. Obtainable.

なお、実施の形態1,2に示した画像処理装置を、画像印刷装置や画像形成装置、画像複写装置の一部として用いる場合は、上記したように当該画像処理装置には個別インターフェース(外部インターフェース101)は存在しないので、RAM上に記憶されたデータが直接入出力のデータとなる。また、RAMの容量を効率よく使用するために、データに圧縮/伸長処理を行う場合もあり、圧縮/伸長処理や、画像処理の一部または全部を高速に処理するために、専用のLSI(ASIC)を用いて行う場合も考えられる。また、入出力データが圧縮されて記憶されている場合があるのは言うまでもない。   When the image processing apparatus described in the first and second embodiments is used as a part of an image printing apparatus, an image forming apparatus, or an image copying apparatus, an individual interface (external interface) is connected to the image processing apparatus as described above. 101) does not exist, the data stored in the RAM is directly input / output data. In addition, in order to efficiently use the capacity of the RAM, compression / decompression processing may be performed on the data. In order to perform compression / decompression processing and part or all of image processing at high speed, a dedicated LSI ( It is also conceivable to carry out using ASIC). Needless to say, the input / output data may be compressed and stored.

以上のように、本発明にかかる画像処理装置及び画像処理方法は、カラー擬似中間調データとモノクロ擬似中間調データとの相互変換を、省メモリ、高速、高画質にて実現するのに有用であり、特に、画像印刷装置や画像形成装置、画像複写装置の一部として用いるのに好適である。   As described above, the image processing apparatus and the image processing method according to the present invention are useful for realizing mutual conversion between color pseudo-halftone data and monochrome pseudo-halftone data with low memory, high speed, and high image quality. In particular, it is suitable for use as a part of an image printing apparatus, an image forming apparatus, or an image copying apparatus.

本発明の実施の形態1による画像処理装置のハードウェア構成を示す図The figure which shows the hardware constitutions of the image processing apparatus by Embodiment 1 of this invention. 図1に示す構成にて実現されるカラー擬似中間調データをモノクロ擬似中間調データに直接変換する画像処理装置の機能構成を示すブロック図1 is a block diagram showing a functional configuration of an image processing apparatus that directly converts color pseudo halftone data realized by the configuration shown in FIG. 1 into monochrome pseudo half tone data. 図2に示す画像処理装置の動作を説明するフローチャートFlowchart for explaining the operation of the image processing apparatus shown in FIG. 入力データが2値のカラー擬似中間調データである場合に図3に示すモノクロ変換処理にて使用するルックアップテーブルの一例を示す図The figure which shows an example of the look-up table used in the monochrome conversion process shown in FIG. 3 when input data is binary color pseudo halftone data 入力データが多値(N値)のカラー擬似中間調データである場合に図3に示すモノクロ変換処理での動作を説明する図The figure explaining operation | movement in the monochrome conversion process shown in FIG. 3 when input data is multi-value (N value) color pseudo halftone data 図3に示す階調変換処理で使用する誤差拡散法を説明する図The figure explaining the error diffusion method used by the gradation conversion process shown in FIG. 図3に示す階調変換処理で使用するグリーンノイズ誤差拡散法を説明する図The figure explaining the green noise error diffusion method used in the gradation conversion process shown in FIG. 図3に示す階調変換処理で使用するブルーノイズマスク法及びグリーンノイズマスク法の一例を説明する図The figure explaining an example of the blue noise mask method used in the gradation conversion process shown in FIG. 3, and the green noise mask method 本発明の実施の形態2として、図1に示す構成にて実現されるモノクロ擬似中間調データをカラー擬似中間調データに直接変換する画像処理装置の機能構成を示すブロック図As a second embodiment of the present invention, a block diagram showing a functional configuration of an image processing apparatus that directly converts monochrome pseudo halftone data realized by the configuration shown in FIG. 1 into color pseudo half tone data 図9に示す画像処理装置の動作を説明するフローチャートFlowchart for explaining the operation of the image processing apparatus shown in FIG. カラー擬似中間調データとモノクロ擬似中間調データとの間の変換処理を行う従来の画像処理装置の構成例を示すブロック図A block diagram showing a configuration example of a conventional image processing apparatus that performs conversion processing between color pseudo-halftone data and monochrome pseudo-halftone data 図11に示す従来の画像処理装置にて実施されるカラー擬似中間調データをモノクロ擬似中間調データに変換する処理手順を説明するフローチャートFIG. 11 is a flowchart for explaining a processing procedure for converting color pseudo-halftone data into monochrome pseudo-halftone data, which is performed by the conventional image processing apparatus shown in FIG. 図11に示す従来の画像処理装置にて実施されるモノクロ擬似中間調データをカラー擬似中間調データに変換する処理手順を説明するフローチャートFIG. 11 is a flowchart for explaining a processing procedure for converting monochrome pseudo halftone data into color pseudo half tone data, which is performed by the conventional image processing apparatus shown in FIG.

符号の説明Explanation of symbols

100 画像処理装置(ハードウェア構成)
101 外部インターフェース
102 外部記憶装置
103 中央演算処理装置(CPU)
104 リードオンリーメモリ(ROM)
105 ランダムアクセスメモリ(RAM)
200 画像処理装置(機能構成)
201 画像入力手段
202 モノクロ変換手段
203 階調変換手段
204 記憶手段
205 画像出力手段
206 制御手段
601 加算器
602 線形フィルタ
603 量子化器
604 減算器
701 線形フィルタ
702 積算器
703 加算器
900 画像処理装置(機能構成)
901 画像入力手段
902 カラー変換手段
903 階調変換手段
904 記憶手段
905 画像出力手段
906 制御手段
100 Image processing device (hardware configuration)
101 External interface 102 External storage device 103 Central processing unit (CPU)
104 Read-only memory (ROM)
105 Random access memory (RAM)
200 Image processing device (functional configuration)
DESCRIPTION OF SYMBOLS 201 Image input means 202 Monochrome conversion means 203 Gradation conversion means 204 Storage means 205 Image output means 206 Control means 601 Adder 602 Linear filter 603 Quantizer 604 Subtractor 701 Linear filter 702 Accumulator 703 Adder 900 Image processing apparatus ( Functional configuration)
901 Image input means 902 Color conversion means 903 Gradation conversion means 904 Storage means 905 Image output means 906 Control means

Claims (20)

カラー擬似中間調データをモノクロ中間調データに変換する第1の変換手段と、前記モノクロ中間調データを誤差拡散法を用いてモノクロ擬似中間調データに変換する第2の変換手段とを備えていることを特徴とする画像処理装置。 First conversion means for converting color pseudo-halftone data into monochrome halftone data, and second conversion means for converting the monochrome halftone data into monochrome pseudo-halftone data using an error diffusion method. An image processing apparatus. 前記第2の変換手段は、前記誤差拡散法に代えて、グリーンノイズ誤差拡散法を用いることを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the second conversion unit uses a green noise error diffusion method instead of the error diffusion method. 前記第2の変換手段は、前記誤差拡散法に代えて、ブルーノイズマスク法を用いることを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the second conversion unit uses a blue noise mask method instead of the error diffusion method. 前記第2の変換手段は、前記誤差拡散法に代えて、グリーンノイズマスク法を用いることを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the second conversion unit uses a green noise mask method instead of the error diffusion method. 前記第1の変換手段は、前記カラー擬似中間調データが多値(N値)である場合は、対象画素の多値のレベルと色材濃度とから前記モノクロ中間調データの画素値を算出することを特徴とする請求項1〜4のいずれか一つに記載の画像処理装置。 When the color pseudo halftone data is multivalued (N value), the first conversion means calculates the pixel value of the monochrome halftone data from the multivalued level of the target pixel and the color material density. The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus. モノクロ擬似中間調データをカラー中間調データに変換する第1の変換手段と、前記カラー中間調データを誤差拡散法を用いてカラー擬似中間調データに変換する第2の変換手段とを備えていることを特徴とする画像処理装置。 First conversion means for converting monochrome pseudo-halftone data into color halftone data, and second conversion means for converting the color halftone data into color pseudo-halftone data using an error diffusion method. An image processing apparatus. 前記第2の変換手段は、前記誤差拡散法に代えて、グリーンノイズ誤差拡散法を用いることを特徴とする請求項6に記載の画像処理装置。 The image processing apparatus according to claim 6, wherein the second conversion unit uses a green noise error diffusion method instead of the error diffusion method. 前記第2の変換手段は、前記誤差拡散法に代えて、ブルーノイズマスク法を用いることを特徴とする請求項6に記載の画像処理装置。 The image processing apparatus according to claim 6, wherein the second conversion unit uses a blue noise mask method instead of the error diffusion method. 前記第2の変換手段は、前記誤差拡散法に代えて、グリーンノイズマスク法を用いることを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the second conversion unit uses a green noise mask method instead of the error diffusion method. 前記第1の変換手段は、前記カラー擬似中間調データが多値(N値)である場合は、対象画素の多値のレベルと色材濃度とから前記カラー中間調データの画素値を算出することを特徴とする請求項6〜9のいずれか一つに記載の画像処理装置。 When the color pseudo halftone data is multi-valued (N value), the first conversion means calculates the pixel value of the color half-tone data from the multi-value level and the color material density of the target pixel. The image processing apparatus according to claim 6, wherein the image processing apparatus is an image processing apparatus. カラー擬似中間調データをモノクロ中間調データに変換する第1の変換工程と、前記モノクロ中間調データを誤差拡散法を用いてモノクロ擬似中間調データに変換する第2の変換工程とを含むことを特徴とする画像処理方法。 Including a first conversion step of converting color pseudo-halftone data into monochrome halftone data, and a second conversion step of converting the monochrome halftone data into monochrome pseudo-halftone data using an error diffusion method. A featured image processing method. 前記第2の変換工程は、前記誤差拡散法に代えて、グリーンノイズ誤差拡散法を用いることを特徴とする請求項11に記載の画像処理方法。 The image processing method according to claim 11, wherein the second conversion step uses a green noise error diffusion method instead of the error diffusion method. 前記第2の変換工程は、前記誤差拡散法に代えて、ブルーノイズマスク法を用いることを特徴とする請求項11に記載の画像処理方法。 The image processing method according to claim 11, wherein the second conversion step uses a blue noise mask method instead of the error diffusion method. 前記第2の変換工程は、前記誤差拡散法に代えて、グリーンノイズマスク法を用いることを特徴とする請求項11に記載の画像処理方法。 The image processing method according to claim 11, wherein the second conversion step uses a green noise mask method instead of the error diffusion method. 前記第1の変換工程は、前記カラー擬似中間調データが多値(N値)である場合は、対象画素の多値のレベルと色材濃度とから前記モノクロ中間調データの画素値を算出することを特徴とする請求項11〜14のいずれか一つに記載の画像処理方法。 In the first conversion step, when the color pseudo halftone data is multivalued (N value), the pixel value of the monochrome halftone data is calculated from the multivalued level of the target pixel and the color material density. The image processing method according to claim 11, wherein: モノクロ擬似中間調データをカラー中間調データに変換する第1の変換工程と、前記カラー中間調データを誤差拡散法を用いてカラー擬似中間調データに変換する第2の変換工程とを含むことを特徴とする画像処理方法。 Including a first conversion step of converting monochrome pseudo-halftone data into color half-tone data, and a second conversion step of converting the color half-tone data into color pseudo-halftone data using an error diffusion method. A featured image processing method. 前記第2の変換工程は、前記誤差拡散法に代えて、グリーンノイズ誤差拡散法を用いることを特徴とする請求項6に記載の画像処理方法。 The image processing method according to claim 6, wherein the second conversion step uses a green noise error diffusion method instead of the error diffusion method. 前記第2の変換工程は、前記誤差拡散法に代えて、ブルーノイズマスク法を用いることを特徴とする請求項6に記載の画像処理方法。 The image processing method according to claim 6, wherein the second conversion step uses a blue noise mask method instead of the error diffusion method. 前記第2の変換工程は、前記誤差拡散法に代えて、グリーンノイズマスク法を用いることを特徴とする請求項1に記載の画像処理方法。 The image processing method according to claim 1, wherein the second conversion step uses a green noise mask method instead of the error diffusion method. 前記第1の変換工程は、前記カラー擬似中間調データが多値(N値)である場合は、対象画素の多値のレベルと色材濃度とから前記カラー中間調データの画素値を算出することを特徴とする請求項16〜19のいずれか一つに記載の画像処理方法。 In the first conversion step, when the color pseudo halftone data is multivalued (N value), the pixel value of the color halftone data is calculated from the multivalued level of the target pixel and the color material density. The image processing method according to any one of claims 16 to 19.
JP2005237174A 2005-02-25 2005-08-18 Device and method for image processing Pending JP2007053577A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2005237174A JP2007053577A (en) 2005-08-18 2005-08-18 Device and method for image processing
US11/360,493 US20060203280A1 (en) 2005-02-25 2006-02-24 Image printing apparatus and image printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005237174A JP2007053577A (en) 2005-08-18 2005-08-18 Device and method for image processing

Publications (1)

Publication Number Publication Date
JP2007053577A true JP2007053577A (en) 2007-03-01

Family

ID=37917719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005237174A Pending JP2007053577A (en) 2005-02-25 2005-08-18 Device and method for image processing

Country Status (1)

Country Link
JP (1) JP2007053577A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009253469A (en) * 2008-04-02 2009-10-29 Canon Inc Image processing apparatus, and method thereof
JP2011082892A (en) * 2009-10-09 2011-04-21 Konica Minolta Business Technologies Inc Image processing apparatus and image processing method
JP2014121794A (en) * 2012-12-20 2014-07-03 Seiko Epson Corp Printing device, method and program for controlling the same, and method for producing printed matter
CN110263638A (en) * 2019-05-16 2019-09-20 山东大学 A kind of video classification methods based on significant information

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009253469A (en) * 2008-04-02 2009-10-29 Canon Inc Image processing apparatus, and method thereof
JP2011082892A (en) * 2009-10-09 2011-04-21 Konica Minolta Business Technologies Inc Image processing apparatus and image processing method
JP2014121794A (en) * 2012-12-20 2014-07-03 Seiko Epson Corp Printing device, method and program for controlling the same, and method for producing printed matter
CN110263638A (en) * 2019-05-16 2019-09-20 山东大学 A kind of video classification methods based on significant information

Similar Documents

Publication Publication Date Title
JP4732488B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, and computer-readable recording medium
JP4067532B2 (en) Color conversion apparatus, image forming apparatus, color conversion method, computer program, and recording medium
US7706021B2 (en) Image processing apparatus and image processing method for suppressing jaggies in the edge portions of image
US8004732B2 (en) Image processing apparatus and method thereof
JP2008227759A (en) Image processing device, image forming device, image processing method, image processing program, and computer readable recording medium
US20060203280A1 (en) Image printing apparatus and image printing method
JP2006262436A (en) Image processing apparatus
JP4804369B2 (en) Image forming apparatus, image forming method, and computer program
JP2007053577A (en) Device and method for image processing
US7224487B2 (en) Ink reduction error diffusion
US5724443A (en) Color image forming apparatus
JP3929030B2 (en) Image processing device
JP4596964B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP2007060151A (en) Color processing method and apparatus therefor
JP4539979B2 (en) Image processing apparatus and image processing method
JP2008306400A (en) Image processing method, image processing device, image forming apparatus, computer program, and record medium
JP4499685B2 (en) Image processing apparatus, image forming apparatus including the same, image processing method, image processing program, and recording medium
JP2005260863A (en) Image forming device and image forming program
JP2002158879A (en) Method for compressing/uncompressing image with gradation and compressing/uncompressing device
JP4027300B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2008271131A (en) Method and device for image processing, and image forming apparatus
JP5162430B2 (en) Image processing apparatus and image processing method
JP2007189275A (en) Image processor
JP4139752B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium recording the program
JP4118823B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium