JP4825180B2 - Image processing method, image processing apparatus, image forming apparatus, image forming system, program, and storage medium - Google Patents

Image processing method, image processing apparatus, image forming apparatus, image forming system, program, and storage medium Download PDF

Info

Publication number
JP4825180B2
JP4825180B2 JP2007213604A JP2007213604A JP4825180B2 JP 4825180 B2 JP4825180 B2 JP 4825180B2 JP 2007213604 A JP2007213604 A JP 2007213604A JP 2007213604 A JP2007213604 A JP 2007213604A JP 4825180 B2 JP4825180 B2 JP 4825180B2
Authority
JP
Japan
Prior art keywords
value
threshold
image
processing
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007213604A
Other languages
Japanese (ja)
Other versions
JP2009049688A (en
Inventor
政徳 平野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007213604A priority Critical patent/JP4825180B2/en
Publication of JP2009049688A publication Critical patent/JP2009049688A/en
Application granted granted Critical
Publication of JP4825180B2 publication Critical patent/JP4825180B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は画像処理方法、画像処理装置、画像形成装置、画像形成システム、プログラム、記憶媒体に関する。   The present invention relates to an image processing method, an image processing apparatus, an image forming apparatus, an image forming system, a program, and a storage medium.

プリンタ、ファクシミリ、複写装置、これらの複合機等の画像形成装置として、例えば、記録液(液体)の液滴を吐出する液体吐出ヘッド(液滴吐出ヘッド)で構成した記録ヘッドを含む液体吐出装置を用いて、媒体(以下「用紙」ともいうが材質を限定するものではなく、また、被記録媒体、記録媒体、転写材、記録紙なども同義で使用する。)を搬送しながら、液体としての記録液(以下、インクという。)を用紙に付着させて画像形成(記録、印刷、印写、印字も同義語で用いる。)を行なうものがある。また、画像形成装置としては電子写真プロセスを用いて画像形成を行うものもある。   As an image forming apparatus such as a printer, a facsimile machine, a copying apparatus, and a multifunction machine of these, for example, a liquid ejection apparatus including a recording head constituted by a liquid ejection head (droplet ejection head) that ejects droplets of a recording liquid (liquid) As a liquid while transporting a medium (hereinafter also referred to as “paper”, but the material is not limited, and a recording medium, a recording medium, a transfer material, recording paper, etc. are also used synonymously). The recording liquid (hereinafter referred to as ink) is attached to a sheet to form an image (recording, printing, printing, and printing are also used synonymously). Some image forming apparatuses perform image formation using an electrophotographic process.

なお、画像形成装置は、紙、糸、繊維、布帛、皮革、金属、プラスチック、ガラス、木材、セラミックス等の媒体に液体を吐出して画像形成を行う装置を意味し、また、「画像形成」とは、文字や図形等の意味を持つ画像を媒体に対して付与することだけでなく、パターン等の意味を持たない画像を媒体に付与することをも意味し、捺染装置や金属配線を形成する装置なども含むものである。また、液体とは画像形成を行うことができる液体であれば特に限定されるものではない。   The image forming apparatus means an apparatus for forming an image by discharging a liquid onto a medium such as paper, thread, fiber, fabric, leather, metal, plastic, glass, wood, ceramics, etc. This means not only giving images with meanings such as characters and figures to the medium, but also giving images without meaning such as patterns to the medium, forming a printing device and metal wiring. It also includes a device to perform. The liquid is not particularly limited as long as it is a liquid that can form an image.

このような画像形成装置として原稿画像を読取る画像読取装置を備えたものにおいて、コピー処理を行う場合、入力される画像データは、全てイメージデータとして取り込まれるため、高品位な出画像を得るために、一度、イメージデータを像域分離し、入力原稿の各要素(文字なのか、連続調なのか、網点なのか)に応じた補正処理を施すようにしている。
特許第3164400号公報 特開平06−176144号公報 特開2006−157331号公報 特開平10−070656号公報
In such an image forming apparatus provided with an image reading apparatus that reads an original image, when performing a copy process, since all input image data is captured as image data, a high-quality output image is obtained. Once the image data is separated into image areas, correction processing is performed according to each element of the input document (whether it is a character, continuous tone, or halftone).
Japanese Patent No. 3164400 Japanese Patent Laid-Open No. 06-176144 JP 2006-157331 A Japanese Patent Laid-Open No. 10-070656

また、入力データを出力ドットパターンに変換する中間調処理においても、画像再現性に優れた誤差拡散処理が適用されるのが一般的である。   Also, in the halftone process for converting input data into an output dot pattern, an error diffusion process with excellent image reproducibility is generally applied.

ところで、画像形成装置における処理速度画像品質とはトレードオフの関係が強く、特に、画像読取装置を備えてコピーモードで使用できる画像形成装置にあっては、画像形成装置本体に搭載されたコントローラのみで、全ての画像処理を行う必要があることから、像域分離やそれに応じた補正処理の演算負荷が大きくなり、大幅に処理速度が低下することになる。   By the way, there is a strong trade-off relationship with the processing speed image quality in the image forming apparatus. In particular, in an image forming apparatus that includes an image reading apparatus and can be used in a copy mode, only a controller mounted on the image forming apparatus main body is used. Thus, since it is necessary to perform all image processing, the calculation load of image area separation and correction processing corresponding to the image region increases, and the processing speed is greatly reduced.

そこで、像域分離処理を行わないようにすると、入力画像を1枚のビットマップデータとしてしか認識できないコピー処理では、画像オブジェクト(文字、細線、イメージ、グラフィック)単位で最適化した補正処理をかけることが困難になる。   Therefore, if the image area separation process is not performed, a correction process optimized for each image object (character, thin line, image, graphic) is applied in the copy process in which the input image can be recognized as only one piece of bitmap data. It becomes difficult.

そのため、どのような画像オブジェクトに対しても優れた画像再現性が得られる誤差拡散処理を中間調処理方法として採用して画質の低下を防ぐことが考えられる。この誤差拡散処理は、閾値との比較でドットのオン/オフを決定するが、原稿との差異(誤差)を次の画素の処理に反映できるため、閾値処理でドットの欠けが生じても、近い位置にドットが補填され、ディザ処理のような、原稿画像とドット欠損によるモアレの発生を防ぐことができる。   For this reason, it is conceivable to employ an error diffusion process capable of obtaining an excellent image reproducibility for any image object as a halftone processing method to prevent deterioration in image quality. In this error diffusion process, the dot ON / OFF is determined by comparison with the threshold value. However, since the difference (error) from the original can be reflected in the processing of the next pixel, Dots are filled in close positions, so that it is possible to prevent the occurrence of moiré caused by a document image and dot loss, such as dither processing.

しかしながら、中間調処理における誤差拡散処理を行うためには量子化誤差を保持するために大量のバッファを確保しなければならないなど、高い処理能力を有する画像処理装置(画像処理コントローラ)が必要になり、その結果、装置全体のコストが大幅に増加するという課題がある。また、誤差拡散処理はディザ処理に比べて演算負荷が高く、像域分離と同様、コントローラの処理速度が遅いと、中間調処理に時間がかかり、スループットに影響が出るという課題がある。   However, in order to perform error diffusion processing in halftone processing, an image processing device (image processing controller) having high processing capability is required, such as a large amount of buffers must be secured to hold quantization errors. As a result, there is a problem that the cost of the entire apparatus is significantly increased. In addition, error diffusion processing has a higher calculation load than dither processing, and similarly to image area separation, if the processing speed of the controller is slow, halftone processing takes time and throughput is affected.

一方、像域分離を省略し、中間調処理にディザ処理を採用することによって、高い処理能力を有する画像処理能力を有する画像処理コントローラを用いないでも、高速な処理を行うことができる。   On the other hand, by omitting image area separation and adopting dither processing for halftone processing, high-speed processing can be performed without using an image processing controller having high processing capability.

しかしながら、画像処理を簡略化することによって所謂モアレが発生することになる。このモアレは、原稿の持つ網点成分とディザマスクパターン(ディザマトリクス)との同期/非同期によって、部分的に欠落した画素が、あたかも模様のように出力画像の上に現れ、著しく画質を低下させることになる。また、ドットの欠落によって、画像濃度自体も低下することになるという課題を生じる。   However, when the image processing is simplified, so-called moire occurs. This moire is caused by the synchronization / asynchronization of the halftone dot component of the original and the dither mask pattern (dither matrix), so that the partially missing pixels appear on the output image as if they were a pattern, and the image quality is significantly reduced. It will be. Further, there is a problem that the image density itself is lowered due to the lack of dots.

本発明は上記の課題に鑑みてなされたものであり、中間調処理における演算負荷を低減し、高速での処理を可能とすることを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to reduce the calculation load in halftone processing and enable high-speed processing.

上記の課題を解決するため、本発明に係る画像処理方法は、
入力された画像データに対して閾値マトリクスを用いた中間調処理をする画像処理方法において、
0が白地、m(m>0)がベタを表す階調レベルとしたとき、
0以上、且つ、出力時に形成可能な最小ドット又は最も薄い最薄ドットによって構成される階調区間1〜n(0<n≦m)の最大値nよりも低い値が着目画素の値として入力されたときには、着目画素周辺の量子化誤差を加えて量子化する誤差拡散処理を行い、
最大値n以上の値が入力されたときには、入力値と閾値マトリクスの一対比較により量子化を行うディザ処理を行い、
前記誤差拡散処理における量子化判定に使用する閾値マトリクスが、誤差拡散処理適用階調範囲の最大値nを超える閾値kを含み、周辺の誤差参照時には前記閾値kの配置間隔以下となる範囲の画素を参照する
構成とした。
In order to solve the above problems, an image processing method according to the present invention includes:
In an image processing method for performing halftone processing using a threshold matrix on input image data,
When 0 is a white background and m (m> 0) is a solid level representing solid,
A value lower than the maximum value n of gradation intervals 1 to n (0 <n ≦ m) composed of the minimum dots or the thinnest thinnest dots that can be formed at the time of output is input as the value of the pixel of interest. Is performed, an error diffusion process is performed by adding a quantization error around the pixel of interest and performing quantization.
When the value of more than the maximum value n is input, it has line dither processing for performing quantization by pairwise comparison of the input value and the threshold value matrix,
Pixels in a range in which a threshold matrix used for quantization determination in the error diffusion processing includes a threshold k exceeding the maximum value n of the error diffusion processing applied gradation range, and is equal to or smaller than the arrangement interval of the threshold k when referring to surrounding errors. It was set as the structure which refers to <br/>.

ここで、誤差拡散処理における量子化判定に使用する閾値マトリクスがg×h(g、hともに2以上の整数)のサイズを有し、当該閾値マトリクスのサイズ及び閾値配置順とディザ処理における閾値マトリクスのサイズ及び閾値配置順とが共通化されている構成とできる。   Here, the threshold matrix used for quantization determination in error diffusion processing has a size of g × h (both g and h are integers of 2 or more), the threshold matrix size and threshold arrangement order, and the threshold matrix in dither processing The size and the threshold arrangement order can be made common.

この場合、誤差拡散処理における量子化判定に使用する閾値マトリクスに占める閾値kの存在比率p(0<p<1)に応じて、量子化誤差を次の(1)式によって補正する構成とできる。   In this case, the quantization error can be corrected by the following equation (1) in accordance with the existence ratio p (0 <p <1) of the threshold value k in the threshold value matrix used for the quantization determination in the error diffusion process. .

Figure 0004825180
Figure 0004825180

また、入力値が0又はn以上のときには常に着目画素の量子化誤差値を0とする構成とできる。   In addition, the quantization error value of the pixel of interest can be set to 0 whenever the input value is 0 or n or more.

本発明に係る画像処理装置は、
入力された画像データに対して閾値マトリクスを用いた中間調処理をする画像処理装置において、
0が白地、m(m>0)がベタを表す階調レベルとしたとき、
0以上、且つ、出力時に形成可能な最小ドット又は最も薄い最薄ドットによって構成される階調区間1〜n(0<n≦m)の最大値nよりも低い値が着目画素の値として入力されたときには、着目画素周辺の量子化誤差を加えて量子化する誤差拡散処理を行い、
最大値n以上の値が入力されたときには、入力値と閾値マトリクスの一対比較により量子化を行うディザ処理を行い、
前記誤差拡散処理における量子化判定に使用する閾値マトリクスが、誤差拡散処理適用階調範囲の最大値nを超える閾値kを含み、周辺の誤差参照時には前記閾値kの配置間隔以下となる範囲の画素を参照する
構成とした。
An image processing apparatus according to the present invention includes:
In an image processing apparatus that performs halftone processing using a threshold matrix on input image data ,
When 0 is a white background and m (m> 0) is a solid level representing solid,
A value lower than the maximum value n of gradation intervals 1 to n (0 <n ≦ m) composed of the minimum dots or the thinnest thinnest dots that can be formed at the time of output is input as the value of the pixel of interest. Is performed, an error diffusion process is performed by adding a quantization error around the pixel of interest and performing quantization.
When the value of more than the maximum value n is input, it has line dither processing for performing quantization by pairwise comparison of the input value and the threshold value matrix,
Pixels in a range in which a threshold matrix used for quantization determination in the error diffusion processing includes a threshold k exceeding the maximum value n of the error diffusion processing applied gradation range, and is equal to or smaller than the arrangement interval of the threshold k when referring to surrounding errors. It was set as the structure which refers to <br/>.

本発明に係る画像形成装置は、
入力された画像データに対して閾値マトリクスを用いた中間調処理を行い、画像を形成する画像形成装置において、
0が白地、m(m>0)がベタを表す階調レベルとしたとき、
0以上、且つ、出力時に形成可能な最小ドット又は最も薄い最薄ドットによって構成される階調区間1〜n(0<n≦m)の最大値nよりも低い値が着目画素の値として入力されたときには、着目画素周辺の量子化誤差を加えて量子化する誤差拡散処理を行い、
最大値n以上の値が入力されたときには、入力値と閾値マトリクスの一対比較により量子化を行うディザ処理を行い、
前記誤差拡散処理における量子化判定に使用する閾値マトリクスが、誤差拡散処理適用階調範囲の最大値nを超える閾値kを含み、周辺の誤差参照時には前記閾値kの配置間隔以下となる範囲の画素を参照する
構成とした。
An image forming apparatus according to the present invention includes:
In an image forming apparatus that performs halftone processing using a threshold matrix on input image data and forms an image,
When 0 is a white background and m (m> 0) is a solid level representing solid,
A value lower than the maximum value n of gradation intervals 1 to n (0 <n ≦ m) composed of the minimum dots or the thinnest thinnest dots that can be formed at the time of output is input as the value of the pixel of interest. Is performed, an error diffusion process is performed by adding a quantization error around the pixel of interest and performing quantization.
When the value of more than the maximum value n is input, it has line dither processing for performing quantization by pairwise comparison of the input value and the threshold value matrix,
Pixels in a range in which a threshold matrix used for quantization determination in the error diffusion processing includes a threshold k exceeding the maximum value n of the error diffusion processing applied gradation range, and is equal to or smaller than the arrangement interval of the threshold k when referring to surrounding errors. It was set as the structure which refers to <br/>.

本発明に係る画像形成システムは、本発明に係る画像処理装置と画像を形成する画像形成装置とで構成されている。   An image forming system according to the present invention includes an image processing apparatus according to the present invention and an image forming apparatus that forms an image.

本発明に係るプログラムは、
入力された画像データに対して閾値マトリクスを用いた中間調処理をコンピュータに行わせるプログラムにおいて、
0が白地、m(m>0)がベタを表す階調レベルとしたとき、
0以上、且つ、出力時に形成可能な最小ドット又は最も薄い最薄ドットによって構成される階調区間1〜n(0<n≦m)の最大値nよりも低い値が着目画素の値として入力されたときには、着目画素周辺の量子化誤差を加えて量子化する誤差拡散処理を行い、
最大値n以上の値が入力されたときには、入力値と閾値マトリクスの一対比較により量子化を行うディザ処理を行い、
前記誤差拡散処理における量子化判定に使用する閾値マトリクスが、誤差拡散処理適用階調範囲の最大値nを超える閾値kを含み、周辺の誤差参照時には前記閾値kの配置間隔以下となる範囲の画素を参照する
前記中間調処理をコンピュータに行わせる
構成とした。
The program according to the present invention is:
In a program that causes a computer to perform halftone processing using a threshold matrix on input image data,
When 0 is a white background and m (m> 0) is a solid level representing solid,
A value lower than the maximum value n of gradation intervals 1 to n (0 <n ≦ m) composed of the minimum dots or the thinnest thinnest dots that can be formed at the time of output is input as the value of the pixel of interest. Is performed, an error diffusion process is performed by adding a quantization error around the pixel of interest and performing quantization.
When the value of more than the maximum value n is input, it has line dither processing for performing quantization by pairwise comparison of the input value and the threshold value matrix,
Pixels in a range in which a threshold matrix used for quantization determination in the error diffusion processing includes a threshold k exceeding the maximum value n of the error diffusion processing applied gradation range, and is equal to or smaller than the arrangement interval of the threshold k when referring to surrounding errors. The computer is configured to perform the halftone process.

本発明に係る記憶媒体は本発明に係るプログラムが格納されている。   The storage medium according to the present invention stores the program according to the present invention.

本発明に係る画像処理方法、画像処理装置、画像形成装置、画像形成システム、プログラム、記憶媒体によれば、0が白地、m(m>0)がベタを表す階調レベルとしたとき、
0以上、且つ、出力時に形成可能な最小ドット又は最も薄い最薄ドットによって構成される階調区間1〜n(0<n≦m)の最大値nよりも低い値が着目画素の値として入力されたときには、着目画素周辺の量子化誤差を加えて量子化する誤差拡散処理を行い、最大値n以上の値が入力されたときには、入力値と閾値マトリクスの一対比較により量子化を行うディザ処理を行い、誤差拡散処理における量子化判定に使用する閾値マトリクスが、誤差拡散処理適用階調範囲の最大値nを超える閾値kを含み、周辺の誤差参照時には閾値kの配置間隔以下となる範囲の画素を参照する構成としたので、入力画像データ上の網点との干渉モアレが発生し易い最小ドット区間(又は最薄ドットの区間)においてのみ誤差拡散処理を適用して、モアレの発生を抑えつつ、より大きいドット(又は濃いドット)が使用されるミドル〜シャドー部においてはディザ処理を適用することで、演算負荷の少ないより高速での中間調処理を行うことができる。
According to the image processing method, the image processing apparatus, the image forming apparatus, the image forming system, the program, and the storage medium according to the present invention, when 0 is a white background and m (m> 0) is a gradation level representing solid,
A value lower than the maximum value n of gradation intervals 1 to n (0 <n ≦ m) composed of the minimum dots or the thinnest thinnest dots that can be formed at the time of output is input as the value of the pixel of interest. When the value is added, a quantization error is added by adding a quantization error around the pixel of interest, and when a value equal to or greater than the maximum value n is input, the dither processing is performed by performing a paired comparison between the input value and the threshold matrix. gastric lines, a threshold matrix used for quantization determined in the error diffusion process comprises a threshold k exceeds the maximum value n of the error diffusion process applied gradation range, the following arrangement interval of the threshold k at the time around the error reference range of since a structure that refers to pixels, only by applying the error diffusion processing in the interference moire easily occurs minimum dot interval between halftone dots on the input image data (or the thinnest dot interval), the moire While suppressing the raw, in the middle-shadow portion larger dot (or dark dots) are used by applying the dithering can be performed halftone processing at high speed with less calculation load.

以下、本発明の実施の形態について添付図面を参照して説明する。本発明に係る画像形成装置の一例について図1ないし図2を参照して説明する。なお、図1は同画像形成装置の全体構成を示す概略構成図、図2は同装置のエンジンユニット部の平面説明図、図3は同じく拡大正面説明図である。   Embodiments of the present invention will be described below with reference to the accompanying drawings. An example of an image forming apparatus according to the present invention will be described with reference to FIGS. 1 is a schematic configuration diagram showing the overall configuration of the image forming apparatus, FIG. 2 is a plan explanatory view of an engine unit portion of the apparatus, and FIG. 3 is an enlarged front explanatory view.

この画像形成装置は、装置本体1の内部(筺体内)に、画像を形成するための画像形成部(手段)2、副走査搬送部(手段)3等を有し、装置本体1の底部に設けた収容手段である給紙部(手段)4から被搬送部材である被記録媒体(以下「用紙」というが、材質を紙に限定するものではない。)5を1枚ずつ分離して給紙し、副走査搬送部3によって用紙5を画像形成部2に対向する位置で間歇的に搬送しながら、画像形成部2によって用紙5に液滴を吐出して所要の画像を形成(記録)した後、排紙搬送部6を通じて装置本体1の上面に形成した排紙トレイ7上に用紙5を排紙する。なお、画像形成部2及び副走査搬送部3はユニット化してエンジンユニット100とし、装置本体1に対して着脱自在に装着している。   This image forming apparatus has an image forming part (means) 2 for forming an image, a sub-scanning conveying part (means) 3, etc. in the inside (enclosure) of the apparatus main body 1. A recording medium (hereinafter referred to as “paper”, but the material is not limited to paper) 5 serving as a transported member is separated and fed one by one from a paper feeding unit (means) 4 serving as a housing unit. Paper is formed and the sub-scanning conveyance unit 3 intermittently conveys the paper 5 at a position facing the image forming unit 2 while the image forming unit 2 ejects droplets onto the paper 5 to form (record) a desired image. After that, the paper 5 is discharged onto a paper discharge tray 7 formed on the upper surface of the apparatus main body 1 through the paper discharge conveyance unit 6. The image forming unit 2 and the sub-scanning conveyance unit 3 are unitized to form an engine unit 100 that is detachably attached to the apparatus main body 1.

また、この画像形成装置は、画像形成部2で形成する画像データ(印刷データ)の入力系として、装置本体1の上部で排紙トレイ7の上方には画像を読み取るための画像読取部(スキャナ部)11を備えている。この画像読取部11は、照明光源13とミラー14とを含む走査光学系15と、ミラー16、17を含む走査光学系18とが移動して、コンタクトガラス12上に載置された原稿の画像の読み取りを行い、走査された原稿画像がレンズ19の後方に配置した画像読み取り素子20で画像信号として読み込まれ、読み込まれた画像信号はデジタル化され画像処理され、画像処理した印刷データを印刷することができる。なお、コンタクトガラス12上には原稿を押えるための圧板10を備えている。   The image forming apparatus also has an image reading unit (scanner) for reading an image above the discharge tray 7 above the apparatus main body 1 as an input system for image data (print data) formed by the image forming unit 2. Part) 11. The image reading unit 11 includes a scanning optical system 15 including an illumination light source 13 and a mirror 14 and a scanning optical system 18 including mirrors 16 and 17. The scanned document image is read as an image signal by the image reading element 20 disposed behind the lens 19, and the read image signal is digitized and subjected to image processing, and the image-processed print data is printed. be able to. A pressure plate 10 is provided on the contact glass 12 for pressing the document.

ここで、この画像形成装置の画像形成部2は、図2にも示すように、前側板101Fと後側板101Rとの間に横架したキャリッジガイド(ガイドロッド)21と後ステー101Bに設けた図示しないガイドステーで、キャリッジ23を主走査方向に移動可能に保持し、主走査モータ27で駆動プーリ28Aと従動プーリ28B間に架け渡したタイミングベルト29を介して主走査方向に移動走査する。   Here, as shown in FIG. 2, the image forming section 2 of the image forming apparatus is provided on a carriage guide (guide rod) 21 and a rear stay 101B which are horizontally mounted between the front plate 101F and the rear plate 101R. A guide stay (not shown) holds the carriage 23 movably in the main scanning direction, and the main scanning motor 27 moves and scans in the main scanning direction via a timing belt 29 spanned between the driving pulley 28A and the driven pulley 28B.

そして、このキャリッジ23上には、それぞれブラック(K)インクを吐出する2個の液滴吐出ヘッドからなる記録ヘッド24k1、24k2と、シアン(C)インク、マゼンタ(M)インク、イエロー(Y)インクを吐出するそれぞれ1個の液滴吐出ヘッドからなる記録ヘッド24c、24m、24y(色を区別しないとき及び総称するときは「記録ヘッド24」という。)の計5個の液滴吐出ヘッドを搭載し、キャリッジ23を主走査方向に移動させ、副走査搬送部3によって用紙5を用紙搬送方向(副走査方向)に送りながら記録ヘッド24から液滴を吐出させて画像形成を行うシャトル型としている。   On the carriage 23, recording heads 24k1 and 24k2 each composed of two droplet discharge heads for discharging black (K) ink, cyan (C) ink, magenta (M) ink, and yellow (Y). A total of five droplet ejection heads, recording heads 24c, 24m, and 24y each composed of one droplet ejection head that ejects ink (when not distinguishing colors and collectively referred to as “recording head 24”), are included. A shuttle type is mounted, in which the carriage 23 is moved in the main scanning direction, and droplets are ejected from the recording head 24 while the paper 5 is fed in the paper transporting direction (sub-scanning direction) by the sub-scanning transport unit 3. Yes.

また、キャリッジ23には各記録ヘッド24に所要の色の記録液を供給するためにサブタンク25を搭載している。一方、図1に示すように、装置本体1の前面からカートリッジ装着部26Aに、ブラック(K)インク、シアン(C)インク、マゼンタ(M)インク、イエロー(Y)インクをそれぞれ収容した記録液カートリッジである各色のインクカートリッジ26を着脱自在に装着でき、各色のインクカートリッジ26から各色のサブタンク25に図示しないチューブを介してインク(記録液)を補充供給する。なお、ブラックインクは1つのインクカートリッジ26から2つのサブタンク25に供給する構成としている。   In addition, a sub tank 25 is mounted on the carriage 23 in order to supply a recording liquid of a required color to each recording head 24. On the other hand, as shown in FIG. 1, recording liquid containing black (K) ink, cyan (C) ink, magenta (M) ink, and yellow (Y) ink from the front of the apparatus main body 1 to the cartridge mounting portion 26A. Each color ink cartridge 26 can be detachably mounted, and ink (recording liquid) is supplied from each color ink cartridge 26 to each color sub-tank 25 via a tube (not shown). The black ink is supplied from one ink cartridge 26 to the two sub tanks 25.

なお、記録ヘッド24としては、インク流路内(圧力発生室)のインクを加圧する圧力発生手段(アクチュエータ手段)として圧電素子を用いてインク流路の壁面を形成する振動板を変形させてインク流路内容積を変化させてインク滴を吐出させるいわゆるピエゾ型のもの、或いは、発熱抵抗体を用いてインク流路内でインクを加熱して気泡を発生させることによる圧力でインク滴を吐出させるいわゆるサーマル型のもの、インク流路の壁面を形成する振動板と電極とを対向配置し、振動板と電極との間に発生させる静電力によって振動板を変形させることで、インク流路内容積を変化させてインク滴を吐出させる静電型のものなどを用いることができる。   The recording head 24 uses a piezoelectric element as a pressure generating means (actuator means) for pressurizing the ink in the ink flow path (pressure generation chamber) to deform the vibration plate that forms the wall surface of the ink flow path. A so-called piezo type that discharges ink droplets by changing the volume in the flow channel, or discharges ink droplets with a pressure generated by heating the ink in the ink flow channel using a heating resistor to generate bubbles. The so-called thermal type, the diaphragm that forms the wall surface of the ink flow path and the electrode are placed opposite to each other, and the diaphragm is deformed by the electrostatic force generated between the vibration plate and the electrode, thereby the ink flow path inner volume It is possible to use an electrostatic type or the like that discharges ink droplets by changing the above.

また、図3にも示すように、キャリッジ23の主走査方向に沿って前側板101Fと後側板101Rとの間に、スリットを形成したリニアスケール128を張装し、キャリッジ23にはリニアスケール128のスリットを検知する透過型フォトセンサからなるエンコーダセンサ129を設け、これらのリニアスケール128とエンコーダセンサ129によってキャリッジ23の移動を検知するリニアエンコーダを構成している。   Further, as shown in FIG. 3, a linear scale 128 in which a slit is formed is stretched between the front plate 101F and the rear plate 101R along the main scanning direction of the carriage 23, and the linear scale 128 is provided on the carriage 23. An encoder sensor 129 made up of a transmissive photosensor for detecting the slit is provided, and the linear scale 128 and the encoder sensor 129 constitute a linear encoder that detects the movement of the carriage 23.

さらに、キャリッジ23の走査方向一方側の非印字領域には、図2に示すように、記録ヘッド24のノズルの状態を維持し、回復するための維持回復機構(装置)121を配置している。この維持回復機構121は、5個の記録ヘッド24の各ノズル面24aをキャッピングするキャップ部材である、1個の保湿用を兼ねた吸引用キャップ122aと、4個の保湿用キャップ122b〜122eと、記録ヘッド24のノズル面24aをワイピングするためのワイピング部材であるワイパーブレード124と、空吐出を行うための空吐出受け125とが配置されている。   Further, as shown in FIG. 2, a maintenance / recovery mechanism (device) 121 for maintaining and recovering the nozzle state of the recording head 24 is disposed in the non-printing area on one side of the carriage 23 in the scanning direction. . The maintenance / recovery mechanism 121 is a cap member for capping each nozzle surface 24a of the five recording heads 24, and includes one suction cap 122a that also serves as a moisture retention, and four moisture retention caps 122b to 122e. A wiper blade 124, which is a wiping member for wiping the nozzle surface 24a of the recording head 24, and an idle ejection receiver 125 for performing idle ejection are disposed.

さらに、キャリッジ23の走査方向の他方側の非印字領域には、空吐出を行うための空吐出受け126を配置している。この空吐出受け126には開口127a〜127eを形成している。   Further, an idle ejection receptacle 126 for performing idle ejection is disposed in the non-printing area on the other side of the carriage 23 in the scanning direction. Openings 127 a to 127 e are formed in the idle discharge receptacle 126.

副走査搬送部3は、下方から給紙された用紙5を略90度搬送方向を転換させて画像形成部2に対向させて搬送するための、駆動ローラである搬送ローラ32とテンションローラである従動ローラ33間に架け渡した無端状の搬送ベルト31と、この搬送ベルト31の表面を帯電させるために交番電圧であるACバイアス電圧が印加される帯電手段である帯電ローラ34と、搬送ベルト31を画像形成部2の対向する領域でガイドするプラテンガイド部材35と、用紙5を搬送ローラ32に対向する位置で搬送ベルト31側に押し付ける第1加圧コロ(入口加圧コロ)36と、搬送ローラ32と画像形成手段である記録ヘッド34との間で、用紙5をプラテンガイド部材35に対向する位置で搬送ベルト31側に押し付ける第2加圧コロ(先端加圧コロ)37と、画像形成部2によって画像が形成された用紙5を押える押えガイド部材38と、画像形成部2によって画像が形成された用紙5を搬送ベルト31から分離するための分離爪39とを備えている。   The sub-scanning conveyance unit 3 includes a conveyance roller 32 and a tension roller that are driving rollers for conveying the paper 5 fed from below by facing the image forming unit 2 by changing the conveyance direction by approximately 90 degrees. An endless conveyance belt 31 that is stretched between the driven rollers 33, a charging roller 34 that is a charging unit to which an AC bias voltage that is an alternating voltage is applied to charge the surface of the conveyance belt 31, and a conveyance belt 31 A platen guide member 35 that guides the sheet 5 in a region facing the image forming unit 2, a first pressure roller (inlet pressure roller) 36 that presses the sheet 5 toward the conveyance belt 31 at a position facing the conveyance roller 32, and conveyance Between the roller 32 and the recording head 34 as image forming means, a second pressure roller (front end) that presses the paper 5 toward the conveying belt 31 at a position facing the platen guide member 35. Pressure roller) 37, a pressing guide member 38 for pressing the paper 5 on which the image is formed by the image forming unit 2, and a separation claw for separating the paper 5 on which the image is formed by the image forming unit 2 from the conveying belt 31. 39.

この副走査搬送部3の搬送ベルト31は、副走査モータ131からタイミングベルト132及びタイミングローラ133を介して搬送ローラ32が回転されることで、図2の用紙搬送方向(副走査方向)に周回するように構成している。   The transport belt 31 of the sub-scan transport unit 3 is rotated in the paper transport direction (sub-scan direction) in FIG. 2 by rotating the transport roller 32 from the sub-scan motor 131 through the timing belt 132 and the timing roller 133. It is configured to do.

給紙部4は、装置本体1に抜き差し可能で、多数枚の用紙5を積載して収納する収容手段である給紙カセット41と、給紙カセット41内の用紙5を1枚ずつ分離して送り出すための給紙コロ42及びフリクションパッド43と、給紙される用紙5をレジストするレジストローラ対44とを有している。   The paper feeding unit 4 is detachable from the apparatus main body 1 and separates the paper 5 in the paper feeding cassette 41 one by one from the paper feeding cassette 41 which is a storing means for stacking and storing a large number of papers 5. A sheet feeding roller 42 and a friction pad 43 for feeding out and a registration roller pair 44 for registering the sheet 5 to be fed are provided.

また、この給紙部4は、多数枚の用紙5を積載して収容するための手差しトレイ46及び手差しトレイ46から1枚ずつ用紙5を給紙するための手差しコロ47と、装置本体1の下側にオプションで装着される給紙カセットや両面ユニットから給紙される用紙5を搬送するための縦搬送コロ48を備えている。給紙コロ42、レジストローラ44、手差しコロ47、縦搬送コロ48などの副走査搬送部3へ用紙5を給送するための部材は図示しない電磁クラッチを介してHB型ステッピングモータからなる給紙モータ(駆動手段)49によって回転駆動される。   The paper feed unit 4 includes a manual feed tray 46 for stacking and storing a large number of sheets 5, a manual feed roller 47 for feeding the sheets 5 from the manual feed tray 46 one by one, and the apparatus main body 1. On the lower side, an optional paper feed cassette and a vertical transport roller 48 for transporting the paper 5 fed from the duplex unit are provided. Members for feeding the paper 5 to the sub-scanning conveying unit 3 such as the paper feeding roller 42, the registration roller 44, the manual feeding roller 47, and the vertical conveying roller 48 are a paper feeding made of an HB type stepping motor via an electromagnetic clutch (not shown). The motor (drive means) 49 is rotationally driven.

排紙搬送部6は、画像形成が行われた用紙5を搬送する排紙搬送ローラ対61、62と、用紙5を排紙トレイ7へ送り出すための排紙搬送ローラ対63及び排紙ローラ64とを備えている。   The paper discharge conveyance unit 6 includes a pair of paper discharge conveyance rollers 61 and 62 for conveying the paper 5 on which image formation has been performed, a paper discharge conveyance roller pair 63 and a paper discharge roller 64 for sending the paper 5 to the paper discharge tray 7. And.

次に、この画像形成装置の制御部の概要について図4に示すブロック説明図を参照して説明する。
この制御部は、この画像形成装置全体の制御を司る、CPU、ROM、RAM、VRAM、I/Oなどを含むマイクロコンピュータで構成した主制御部301及び印刷制御を司るマイクロコンピュータで構成した印刷制御部302とを備えている。本発明に係るプログラムはこの主制御部301内のROMに格納されて、CPUによって実行される。
Next, an overview of the control unit of the image forming apparatus will be described with reference to a block diagram shown in FIG.
The control unit controls the entire image forming apparatus, and includes a main control unit 301 configured by a microcomputer including a CPU, a ROM, a RAM, a VRAM, an I / O, and the like, and a print control configured by a microcomputer that controls the print control. Part 302. The program according to the present invention is stored in the ROM in the main control unit 301 and executed by the CPU.

そして、主制御部301は、通信回路303から入力される印刷処理の情報に基づいて用紙5に画像を形成するために、主走査モータ27や副走査モータ131を主走査モータ駆動回路311及び副走査モータ駆動回路312を介して駆動制御するとともに、印刷制御部302に対して印刷用データを送出するなどの制御を行う。   Then, the main control unit 301 uses the main scanning motor 27 and the sub-scanning motor 131 to form the main scanning motor driving circuit 311 and the sub-scanning motor 131 in order to form an image on the paper 5 based on the print processing information input from the communication circuit 303. Drive control is performed via the scanning motor drive circuit 312, and control such as sending print data to the print control unit 302 is performed.

また、主制御部301には、キャリッジ23の位置を検出するキャリッジ位置検出回路313からの検出信号が入力され、主制御部301はこの検出信号に基づいてキャリッジ23の移動位置及び移動速度を制御する。キャリッジ位置検出回路313は、キャリッジ23の走査方向に配置されたリニアスケール(エンコーダシート)128のスリット数を、キャリッジ23に搭載されたフォトセンサ(エンコーダセンサ)129で読み取って計数することで、キャリッジ23の位置を検出する。主走査モータ駆動回路311は、主制御部301から入力されるキャリッジ移動量に応じた出力値、例えばPWM制御を行う場合にはPWM出力値に応じて主走査モータ27を回転駆動させて、キャリッジ23を所定位置に所定の速度で移動させる。   The main control unit 301 receives a detection signal from a carriage position detection circuit 313 that detects the position of the carriage 23, and the main control unit 301 controls the movement position and movement speed of the carriage 23 based on the detection signal. To do. The carriage position detection circuit 313 reads the number of slits of the linear scale (encoder sheet) 128 arranged in the scanning direction of the carriage 23 with a photo sensor (encoder sensor) 129 mounted on the carriage 23 and counts the carriage. 23 position is detected. The main scanning motor drive circuit 311 rotates the main scanning motor 27 according to the output value corresponding to the carriage movement amount input from the main control unit 301, for example, the PWM output value when performing PWM control, and the carriage 23 is moved to a predetermined position at a predetermined speed.

また、主制御部301には搬送ベルト31の移動量を検出する搬送量検出回路314からの検出信号が入力され、主制御部301はこの検出信号に基づいて搬送ベルト31の移動量及び移動速度を制御する。搬送量検出回路314は、搬送ローラ32の回転軸に取り付けられたエンコーダホイールのスリット数を、フォトセンサ(エンコーダセンサ)で読み取って計数することで搬送量を検出する。副走査モータ駆動回路312は、主制御部301から入力される搬送量に応じて副走査モータ131を回転駆動させて、搬送ローラ32を回転駆動して搬送ベルト31を所定位置に所定の速度で移動させる。   The main control unit 301 receives a detection signal from a conveyance amount detection circuit 314 that detects the movement amount of the conveyance belt 31, and the main control unit 301 detects the movement amount and movement speed of the conveyance belt 31 based on the detection signal. To control. The carry amount detection circuit 314 detects the carry amount by reading and counting the number of slits of the encoder wheel attached to the rotation shaft of the carry roller 32 with a photo sensor (encoder sensor). The sub-scanning motor driving circuit 312 rotates the sub-scanning motor 131 in accordance with the conveyance amount input from the main control unit 301 and rotationally drives the conveyance roller 32 to bring the conveyance belt 31 to a predetermined position at a predetermined speed. Move.

また、主制御部301は、ACバイアス供給部315を介して帯電ローラ34に対してACバイアスを与えることで搬送ベルト31を帯電する制御を行う。主制御部301は、給紙モータ駆動回路316を介して給紙モータ49を回転駆動する。主制御部301は、維持回復機構駆動用モータ駆動回路317を介して維持回復機構121の図示しないモータを回転駆動することにより、キャップ122の昇降、ワイパーブレード124の昇降、図示しない吸引ポンプの駆動などを行わせる。   Further, the main control unit 301 performs control for charging the transport belt 31 by applying an AC bias to the charging roller 34 via the AC bias supply unit 315. The main control unit 301 rotationally drives the paper feed motor 49 via the paper feed motor drive circuit 316. The main control unit 301 rotationally drives a motor (not shown) of the maintenance / recovery mechanism 121 via the maintenance / recovery mechanism drive motor drive circuit 317, thereby raising and lowering the cap 122, raising and lowering the wiper blade 124, and driving a suction pump (not shown). And so on.

また、主制御部301は、スキャナ制御部318を介して画像読取装置11を制御する。主制御部301は、操作パネル319との間で所要の表示情報の送出や入力されるキー情報の取り込みなどを行う。   The main control unit 301 also controls the image reading apparatus 11 via the scanner control unit 318. The main control unit 301 sends necessary display information to the operation panel 319 and takes in key information to be input.

印刷制御部302は、主制御部301からの信号とキャリッジ位置検出回路313及び搬送量検出回路314などからのキャリッジ位置や搬送量に基づいて、記録ヘッド24の液滴を吐出させるための圧力発生手段を駆動するためのデータを生成して、上述した画像データをシリアルデータでヘッド駆動回路321に転送するとともに、この画像データの転送及び転送の確定などに必要な転送クロックやラッチ信号、滴制御信号(マスク信号)などをヘッド駆動回路321に出力する以外にも、ROMに格納されている駆動信号のパターンデータをD/A変換するD/A変換器及び電圧増幅器、電流増幅器等で構成される駆動波形生成部及びヘッドドライバに与える駆動波形選択手段を含み、1の駆動パルス(駆動信号)或いは複数の駆動パルス(駆動信号)で構成される駆動波形を生成してヘッド駆動回路321に対して出力する。   The print control unit 302 generates pressure for ejecting droplets of the recording head 24 based on the signal from the main control unit 301 and the carriage position and conveyance amount from the carriage position detection circuit 313 and the conveyance amount detection circuit 314. Data for driving the means is generated, and the above-mentioned image data is transferred to the head drive circuit 321 as serial data, and the transfer clock and latch signal necessary for transferring and confirming the transfer of the image data, droplet control, etc. In addition to outputting a signal (mask signal) etc. to the head drive circuit 321, it is composed of a D / A converter, a voltage amplifier, a current amplifier, etc. for D / A converting the pattern data of the drive signal stored in the ROM. Drive waveform generation means and drive waveform selection means to be given to the head driver, one drive pulse (drive signal) or a plurality of drive parameters. Scan to generate a composed drive waveform (drive signal) to the head drive circuit 321.

ヘッド駆動回路321は、シリアルに入力される記録ヘッド24の1行分に相当する画像データに基づいて印刷制御部302から与えられる駆動波形を構成する駆動信号を選択的に記録ヘッド7の液滴を吐出させるエネルギーを発生する駆動素子(例えば前述したような圧電素子)に対して印加することで記録ヘッド24を駆動する。このとき、駆動波形を構成する駆動パルスを選択することによって、例えば、大滴(大ドット)、中滴(中ドット)、小滴(小ドット)など、大きさの異なるドットを打ち分けることができる。   The head drive circuit 321 selectively selects a drive signal constituting a drive waveform provided from the print control unit 302 based on image data corresponding to one row of the print head 24 that is input serially. The recording head 24 is driven by applying it to a driving element (for example, a piezoelectric element as described above) that generates energy for discharging the ink. At this time, by selecting a driving pulse constituting the driving waveform, for example, dots having different sizes such as large droplets (large dots), medium droplets (medium dots), and small droplets (small dots) can be distinguished. it can.

このように構成したこの画像形成装置においては、搬送ベルト31を駆動する搬送ローラ32の回転量を検出して、この検出した回転量に応じて副走査モータ131を駆動制御するとともに、ACバイアス供給部315から帯電ローラ34に交番電圧である正負極の矩形波の高電圧を印加し、これによって、搬送ベルト31には正と負の電荷が搬送ベルト31の搬送方向に対して交互に帯状に印加され、搬送ベルト31上に所定の帯電幅で帯電が行われて不平等電界が生成される。   In this image forming apparatus configured as described above, the rotation amount of the conveyance roller 32 that drives the conveyance belt 31 is detected, the sub-scanning motor 131 is driven and controlled according to the detected rotation amount, and the AC bias is supplied. A positive and negative rectangular wave high voltage, which is an alternating voltage, is applied from the unit 315 to the charging roller 34, whereby positive and negative charges are alternately banded in the conveying direction of the conveying belt 31. When applied, charging is performed on the conveying belt 31 with a predetermined charging width, and an unequal electric field is generated.

そこで、用紙5が給紙部4から給紙されて、搬送ローラ32と押えコロ36との間に送り込まれて、正負極の電荷が形成されることによって不平等電界が発生している搬送ベルト31上へと送り込まれると、用紙5は電界の向きにならって瞬時に分極し、静電吸着力で搬送ベルト31上に吸着され、搬送ベルト31の移動に伴って搬送される。   Therefore, the conveyance belt in which an unequal electric field is generated by the sheet 5 being fed from the sheet feeding unit 4 and fed between the conveyance roller 32 and the pressing roller 36 to form positive and negative charges. When fed onto the paper 31, the paper 5 is instantly polarized according to the direction of the electric field, and is attracted onto the transport belt 31 by the electrostatic attraction force, and is transported as the transport belt 31 moves.

そして、この搬送ベルト31で用紙5を間歇的に搬送しながら、用紙5上に記録ヘッド24から記録液の液滴を吐出して画像を記録(印刷)し、印刷が行われる用紙5の先端側を分離爪37で搬送ベルト31から分離して搬送ローラ38で排紙搬送部6に送り出す。   Then, while the paper 5 is intermittently transported by the transport belt 31, recording liquid droplets are ejected from the recording head 24 onto the paper 5 to record (print) an image, and the front end of the paper 5 on which printing is performed The side is separated from the conveyance belt 31 by the separation claw 37 and sent to the paper discharge conveyance unit 6 by the conveyance roller 38.

また、印字(記録)待機中にはキャリッジ23は維持回復機構121側に移動されて、キャップ122で記録ヘッド24のノズル面がキャッピングされて、ノズルを湿潤状態に保つことによりインク乾燥による吐出不良を防止する。また、吸引及び保湿用キャップ122aで記録ヘッド24をキャッピングした状態でノズルから記録液を吸引し(「ノズル吸引」又は「ヘッド吸引」という。)し、増粘した記録液や気泡を排出する回復動作を行い、この回復動作によって記録ヘッド24のノズル面に付着したインクを清掃除去するためにワイパーブレード124でワイピングを行なう。また、記録開始前、記録途中などに記録と関係しないインクを空吐出受け125に向けて吐出する空吐出動作を行う。これによって、記録ヘッド24の安定した吐出性能を維持する。   During printing (recording) standby, the carriage 23 is moved to the maintenance / recovery mechanism 121 side, and the nozzle surface of the recording head 24 is capped by the cap 122, and the nozzles are kept in a wet state. To prevent. In addition, the recording liquid is sucked from the nozzle in a state where the recording head 24 is capped by the suction and moisture retention cap 122a (referred to as “nozzle suction” or “head suction”), and the recovered recording liquid and bubbles are discharged. Wiping is performed by the wiper blade 124 in order to clean and remove ink adhering to the nozzle surface of the recording head 24 by this recovery operation. In addition, a blank ejection operation is performed in which ink that is not related to printing is ejected toward the blank ejection receiver 125 before recording is started or during recording. Thereby, the stable ejection performance of the recording head 24 is maintained.

次に、この画像形成装置における本発明に係る画像処理方法について説明する。
先ず、一般的に画像読取装置(スキャナ)で原稿画像を読み取って画像形成装置(プリンタ部)で出力するまでの画像処理の流れは、図5に示すように、スキャナ11で読み取った原稿画像データに対し、入力補正部401において、スキャナγ補正部411、RGB→YUV変換部412、平滑化部413、エッジ強調部414、YUV→RGB変換部415、地肌除去部416、エッジ強調部417によって、入力される原稿画像データに対する補正を行う。
Next, an image processing method according to the present invention in this image forming apparatus will be described.
First, generally, the flow of image processing from reading an original image by an image reading device (scanner) to outputting it by an image forming device (printer unit) is as shown in FIG. On the other hand, in the input correction unit 401, the scanner γ correction unit 411, the RGB → YUV conversion unit 412, the smoothing unit 413, the edge enhancement unit 414, the YUV → RGB conversion unit 415, the background removal unit 416, and the edge enhancement unit 417 Correction of input document image data is performed.

つまり、原稿画像を複写してプリント出力するコピーの場合、入力される画像データは、全て「イメージ」データとして取り込まれるが、このとき、スキャナの性能、入力原稿の状態(記録品質、汚れや破損、表面光沢)などにより、原稿よりも劣化した状態でデータが取り込まれることになる。そこで、入力補正処理部401では、この劣化を補正し、オブジェクト毎の特性を強調することでで、出力時の画像品質の改善を図っている。   In other words, in the case of a copy in which a manuscript image is copied and printed out, all input image data is captured as “image” data. At this time, the scanner performance, the state of the input manuscript (recording quality, dirt and damage, etc.) , Surface gloss) and the like, the data is captured in a state of deterioration from the original. Therefore, the input correction processing unit 401 corrects this deterioration and emphasizes the characteristics of each object, thereby improving the image quality at the time of output.

この入力補正処理部401においては、処理能力があれば、像域分離部418によって文字と絵柄を最適なモードで読取るために読取り画像領域を分離する処理を行なって、各像域に対して上述したような補正を行う。つまり、文字と絵柄が混在した原稿を読取る場合に,文字を優先すると網点がつぶれ,逆に絵柄を有線すると文字がかすれる場合があることから、文字と絵柄領域を分けて各々に最適な処理を行えるようにする。   In this input correction processing unit 401, if there is processing capability, the image area separation unit 418 performs a process of separating the read image area in order to read the character and the picture in the optimum mode, and the above-described image area is described above. Make corrections as you did. In other words, when scanning a manuscript with mixed text and design, if text is given priority, halftone dots may be lost, and conversely, if design is wired, text may be faded. To be able to

この入力補正処理部401から出力される補正後の画像データを入力する出力処理部402においては、色空間への変換(RGB表色系→CMY表色系)を行なうCMM処理部421、CMYの値から黒生成/下色除去を行なうBG/UCR処理部422、解像度に合わせて拡大処理を行なう変倍処理部423、装置の特性やユーザーの嗜好を反映した入出力補正を行なうプリンタγ補正部424、画像データを画像形成装置から噴射するドットのパターン配置に置き換えるディザマトリクスを含む中間調処理部425によって、所要の処理を行ない、図示しないが、中間調処理で得られた印刷画像データであるドットパターンデータを各スキャン毎のデータに分割し、更に記録を行なう各ノズル位置に合わせてデータ展開するラスタライジングを行って、印刷制御部302(プリンタ出力)に送出する。   In the output processing unit 402 for inputting the corrected image data output from the input correction processing unit 401, a CMM processing unit 421 that performs conversion into a color space (RGB color system → CMY color system), BG / UCR processing unit 422 that performs black generation / under color removal from values, scaling processing unit 423 that performs enlargement processing according to resolution, and printer γ correction unit that performs input / output correction reflecting device characteristics and user preferences 424, a necessary process is performed by the halftone processing unit 425 including a dither matrix that replaces the image data with the dot pattern arrangement ejected from the image forming apparatus. Although not shown, the print image data is obtained by the halftone process. A raster pattern that divides the dot pattern data into data for each scan and further develops the data in accordance with the position of each nozzle for recording. Performing grayed, and sends the print control unit 302 (printer output).

この出力補正部402におけるB/UCR処理部422、プリンタγ補正部423、中間調処理部425では像域分離部218の分離結果に応じた処理が行なわれる。   In the output correction unit 402, the B / UCR processing unit 422, the printer γ correction unit 423, and the halftone processing unit 425 perform processing according to the separation result of the image area separation unit 218.

ところで、像域分離部218による像域分離の結果は、上述した補正処理部や出力処理部の処理をなす上で重要な情報となり、像域分離結果が間違っていると、そのまま間違った処理が行われて、結果として異常画像の発生に繋がることから、像域分離を行う部分には高い処理能力と性能が要求される。   By the way, the result of the image area separation by the image area separation unit 218 becomes important information in performing the processing of the correction processing unit and the output processing unit described above. If the image area separation result is wrong, the wrong processing is performed as it is. As a result, an abnormal image is generated, so that a high processing capability and performance are required for the image area separation part.

このように像域分離を高速で正確に行うことができるかは画像処理コントローラの性能に左右され、十分な処理能力を備えていない画像処理コントローラを用いた場合には、パターンマッチングや周波数解析等を駆使する像域分離の演算は負荷が大きく、スループットが大きく低下してしまうことになるが、他方、十分な処理能力を備える画像処理コントローラを備えることは画像形成装置や画像処理装置などのコストが高くなるという問題を生じる。   Whether image separation can be performed accurately at high speed depends on the performance of the image processing controller. When an image processing controller that does not have sufficient processing capability is used, pattern matching, frequency analysis, etc. The image area separation calculation that makes full use of the image processing is heavy and results in a significant reduction in throughput. On the other hand, having an image processing controller with sufficient processing capability is costly for image forming apparatuses and image processing apparatuses. Cause the problem of high.

そこで、低コスト化を図る画像形成装置では、像域分離を省略し、最低限の補正処理(弱い平滑化や、地肌除去程度)のみを適用する構成が採用され、更に、出力処理側でも中間調処理部425においても、中間調処理として、入力補正処理の低さを誤差拡散処理で補うようにしている。   In view of this, an image forming apparatus designed to reduce costs employs a configuration in which image area separation is omitted and only minimum correction processing (weak smoothing and background removal) is applied. The tone processing unit 425 also compensates for low input correction processing by error diffusion processing as halftone processing.

ディザ処理は、図6に示すように、同図(a)に示す入力された多値画像データを、同図(b)に示すディザマトリクスの閾値と比較し、同図(c)に示すようにドットパターンの配置に置き換える処理である。ディザ処理は、ディザマトリクスと入力データの一対比較でドットのON/OFFを決定することから、非常に処理が軽く、演算に必要なメモリも少量で済む。   As shown in FIG. 6, the dithering process compares the input multi-value image data shown in FIG. 6A with the threshold value of the dither matrix shown in FIG. This is a process of replacing with a dot pattern arrangement. Since the dither processing determines the ON / OFF of the dots by comparing the dither matrix with the input data, the processing is very light and a small amount of memory is required for the calculation.

しかしながら、コピーモードにおいて、ディザ処理を採用した場合、原稿の網点パターンとの干渉によるモアレが発生する。つまり、図6に示したように、原稿画像上にいくらデータが存在したとしても、ディザマトリクスの閾値を超えない限り、ドットは生成されない。網点原稿のようにデータの分布が規則的な配置で構成されている場合、ディザ処理によるドットの欠損が逆に規則性を持ち、モアレとして現れる可能性がある。例えば図7(a)に示すような網点の原稿データを、万線基調を有するディザマトリクスでディザ処理を行なった場合、同図(b)に示すように、そのまま万線基調との干渉によるモアレが出力画像に現出することになる。   However, when dither processing is employed in the copy mode, moire occurs due to interference with the halftone dot pattern of the document. That is, as shown in FIG. 6, no matter how much data exists on the document image, no dot is generated unless the threshold value of the dither matrix is exceeded. When the data distribution is configured in a regular arrangement like a halftone document, the dot loss due to the dither processing may have regularity and appear as moire. For example, when halftone dot original data as shown in FIG. 7A is dithered with a dither matrix having a line tone, as shown in FIG. Moire appears in the output image.

これに対して、誤差拡散処理は、例えば図8に示す処理を行うものであり、ドットのON/OFFの判定に周辺の量子化誤差を反映して演算を行うため、画素単位で入力原稿との差が生じても、その差が周辺の画素におけるドットの発生し易さとして反映される結果、ドットの欠け等も補填され、優れた画像再現性が得られる。しかしながら、反面、演算数が多く処理速度への影響が大きくなる。   On the other hand, the error diffusion process performs, for example, the process shown in FIG. 8, and the calculation is performed by reflecting the peripheral quantization error in the ON / OFF determination of the dots. Even if the difference occurs, the difference is reflected as the ease of occurrence of dots in the surrounding pixels. As a result, missing dots are compensated for, and excellent image reproducibility is obtained. However, on the other hand, the number of operations is large and the influence on the processing speed becomes large.

この場合、コンピュータ処理能力の向上により、画像処理装置をホストPC上で構成して、画像形成装置は単にプリンタとして利用するだけであれば、誤差拡散処理自体、それほど重い処理とは言えなくなってきているが、スタンドアロンで使用されることが前提のコピー機としての画像形成装置では、装置本体に搭載されたコントローラで処理する必要があり、誤差拡散処理の重さは無視できない課題となっている。   In this case, if the image processing apparatus is configured on the host PC and the image forming apparatus is simply used as a printer by improving the computer processing capability, it cannot be said that the error diffusion process itself is a very heavy process. However, in an image forming apparatus as a copier that is assumed to be used stand-alone, it is necessary to perform processing by a controller mounted on the apparatus body, and the weight of error diffusion processing is a problem that cannot be ignored.

そこで、本発明では、この誤差拡散処理の演算負荷を軽減し、安価なコントローラでも高速な処理が可能となる中間調処理による画像処理方法としている。
具体的に説明すると、図8に示す誤差拡散処理の例では、2値の誤差拡散処理について説明しており、着目目画素に対して、周辺12画素の誤差値を参照している。この誤差参照範囲を広く取る程、画像再現性が向上するが、当然、演算数も増加することになる。したがって、まず、演算負荷を軽減するためには誤差参照範囲を縮小することが課題となる。
Therefore, the present invention provides an image processing method by halftone processing that reduces the calculation load of the error diffusion processing and enables high-speed processing even with an inexpensive controller.
More specifically, in the example of the error diffusion process shown in FIG. 8, the binary error diffusion process is described, and the error values of the surrounding 12 pixels are referred to the target pixel of interest. The wider the error reference range, the better the image reproducibility, but naturally the number of operations also increases. Therefore, first, in order to reduce the calculation load, it becomes a problem to reduce the error reference range.

図9(a)は、誤差参照範囲を最小に絞ったときの誤差拡散処理パターンである。参照範囲を狭める程、単純2値化処理に近くなり、図9(b)に示すように幾何学的なテクスチャが発生しやすくなる。   FIG. 9A shows an error diffusion processing pattern when the error reference range is minimized. As the reference range is narrowed, it becomes closer to the simple binarization process, and a geometric texture is likely to be generated as shown in FIG.

そこで、本発明では、参照範囲を狭めることで低下する出力パターンの分散性を改善するため、補正画素値と比較するための閾値に振幅を持たせ、近しい値の閾値同士が互いに間隔を開けて配置されるように2次元マトリクス化している。周辺画素の演算誤差に加えて、閾値マトリクスの参照位置に応じて適度な振幅(すなわちノイズ)が重畳されるため、出力パターンの幾何学性が崩され、ドット分散性が高まることになる。なお、図10(a)は閾値マトリクスの一例を示し、この閾値マトリクスを用いた場合の結果を図10(b)に示している。この図10(b)の結果、分散性が改善された出力パターンが得られることが分かる。   Therefore, in the present invention, in order to improve the dispersibility of the output pattern, which is reduced by narrowing the reference range, the threshold value for comparison with the correction pixel value is given an amplitude, and the threshold values having close values are spaced apart from each other. A two-dimensional matrix is formed so as to be arranged. In addition to the calculation error of the peripheral pixels, an appropriate amplitude (that is, noise) is superimposed according to the reference position of the threshold matrix, so that the geometry of the output pattern is destroyed and the dot dispersibility is increased. FIG. 10A shows an example of the threshold matrix, and FIG. 10B shows the result when this threshold matrix is used. As a result of FIG. 10B, it can be seen that an output pattern with improved dispersibility can be obtained.

このように、近接画素位置のみの参照と閾値マトリクスの組み合わせによって、図8に示す誤差拡散処理と比較すると、補正画素値の演算量を大幅(1/6)に低減することが可能となる。   As described above, the amount of calculation of the correction pixel value can be greatly reduced (1/6) as compared with the error diffusion processing shown in FIG. 8 by the combination of the reference of only the neighboring pixel position and the threshold matrix.

さらに、本発明では、階調レベルに応じて上述したように高速化した誤差拡散と、より高速なディザ処理を切り替えることで、更なる高速化を図っている。
つまり、図11は、ミドル階調部の出力ドットパターンの例であるが、濃い階調を表現するためにドットが密に発生することで、ドットそのものの分散性や原稿網点との干渉モアレ等が目立ち難くなる。出力ドットサイズや濃淡インクを切り替える多値出力可能な記録装置(画像形成装置)では、異なったサイズや濃度のドットを用いてミドル〜シャドー階調を表現することになり、更にモアレを目立ち難くすることができる。すなわち、ミドル部以降の階調では、モアレが画質に及ぼす影響が小さくなるため、モアレに弱い中間調処理であっても使用することが可能となる。
Furthermore, in the present invention, the speed is further increased by switching between the error diffusion speeded up as described above according to the gradation level and the faster dither processing.
In other words, FIG. 11 shows an example of an output dot pattern in the middle gradation portion. However, since dots are generated densely to express a dark gradation, the dispersibility of the dots themselves and the interference moire with the original halftone dot. Etc. becomes inconspicuous. In a printing apparatus (image forming apparatus) capable of multi-value output that switches between output dot size and dark and light ink, middle to shadow gradations are expressed using dots of different sizes and densities, making moire less noticeable. be able to. That is, since the influence of the moire on the image quality is small in the gradation after the middle portion, it is possible to use even halftone processing that is weak against the moire.

ここで、まず、図12を参照して、大中小の3種類のドットサイズとディザ処理を用いて多値を表現する方法について説明すると、滴サイズに応じて、それぞれ再現階調区間を設定し、ディザマトリクスの閾値の順序に応じてドットを配置して階調表現を行う。なお、ここでは、ドットサイズを切り換える方式について図示して説明するが、濃度の異なる色剤を切り換える方式においても、同様に適用される。   First, referring to FIG. 12, a method of expressing multivalue using three types of large, medium, and small dot sizes and dither processing will be described. Reproduction gradation sections are set for each of the droplet sizes. The dots are arranged according to the order of the threshold values of the dither matrix to perform gradation expression. Although the method for switching the dot size is illustrated and described here, the method is similarly applied to a method for switching colorants having different densities.

この場合、小ドットに割り当てられた階調区間が、「0<小ドット区間≦階調レベルn」の場合、階調レベルnでは、小ドットで紙面が埋め尽くされることになる。そして、階調レベルn+1では、埋め尽くされた小ドットの何れかが中ドットに置き換わり、階調の上昇に合わせて中ドットの比率が高くなっていく(中ドットと大ドットの切替も同じである。)。   In this case, when the gradation section assigned to the small dots is “0 <small dot section ≦ gradation level n”, the paper surface is filled with small dots at the gradation level n. At gradation level n + 1, any of the filled small dots is replaced with medium dots, and the ratio of medium dots increases as the gradation rises (the same is true for switching between medium dots and large dots). is there.).

このとき、n以上の階調レベルでは、ディザマトリクス(あるいは誤差拡散)の閾値配置がどういった規則性を持っていようとも、必ず小ドットもしくは中ドットが割り当てられることになるので、モアレはドットの密度の中に埋もれてしまうことになりことから、複写画像上でドット欠損によるモアレの影響を考慮する必要があるのは、階調n以下の場合となる。   At this time, since the regularity of the threshold arrangement of the dither matrix (or error diffusion) is always assigned at a gradation level of n or more, a small dot or a medium dot is always assigned. Therefore, it is necessary to consider the influence of moire due to dot loss on the copy image when the gradation is n or less.

そこで、本発明では、図13に示すように、この階調n以下の処理に対して高速化した誤差拡散を適用すると共に、階調nより上の階調に対しては、多値ディザ処理を適用することで、大幅な処理の高速化を図るようにしている。   Therefore, in the present invention, as shown in FIG. 13, the error diffusion speeded up is applied to the processing below the gradation n, and the multilevel dither processing is applied to the gradation above the gradation n. By applying this, the processing speed is greatly increased.

このように、入力された画像データに対して閾値マトリクスを用いた中間調処理をする場合、
0が白地、m(m>0)がベタを表す階調レベルとしたとき、
0以上、且つ、出力時に形成可能な最小ドット(又は最も薄い最薄ドット)によって構成される階調区間1〜n(0<n≦m)の最大値nよりも低い値が着目画素の値として入力されたときには、着目画素周辺の量子化誤差を加えて量子化する誤差拡散処理を行い、
最大値n以上の値が入力されたときには、入力値と閾値マトリクスの一対比較により量子化を行うディザ処理を行う
ようにしている。
Thus, when halftone processing using a threshold matrix is performed on input image data,
When 0 is a white background and m (m> 0) is a solid level representing solid,
The value of the pixel of interest is 0 or more and a value lower than the maximum value n of gradation intervals 1 to n (0 <n ≦ m) constituted by the minimum dots (or thinnest thinnest dots) that can be formed at the time of output. Is input, the error diffusion process is performed by adding the quantization error around the pixel of interest and performing quantization,
When a value equal to or greater than the maximum value n is input, a dither process is performed in which quantization is performed by pairwise comparison of the input value and the threshold matrix.

これによって、多値中間調処理において、入力データ上の網点との干渉モアレが発生し易い最小ドット区間(もしくは最薄インクの区間)においてのみ誤差拡散処理を適用してモアレの発生を抑え、モアレの影響を受け難いより大きいドット(もしくは濃いインク)が使用されるミドル〜シャドー部においては多値ディザ処理を適用することで、より高速な中間調処理を行うことができるようになる。   As a result, in multi-level halftone processing, the error diffusion process is applied only in the minimum dot section (or the thinnest ink section) where interference moire with the halftone dot on the input data is likely to occur, thereby suppressing the occurrence of moire. By applying multi-value dither processing in the middle to shadow portions where larger dots (or dark ink) that are less susceptible to moiré are used, it is possible to perform higher-speed halftone processing.

なお、入力値が0の場合とディザ処理が適用される階調区間では、誤差値の演算は省略(誤差値=0)とする。入力が0の場合は、元々画像が無い部分であるため、余計な演算処理を省くと共に、原画像に無いドットが生成されて画質を落とすのを防ぐことにつながる。ディザ処理が適用されるミドル〜シャドー階調領域(中区間〜大区間)では、着目画素への入力値自体が十分な大きさを持つため、周辺画素の量子化誤差の影響が小さくなり、わざわざ誤差を反映しなくても十分な画像再現性を得ることができる。   Note that the calculation of the error value is omitted (error value = 0) in the case where the input value is 0 and the gradation interval to which the dither processing is applied. When the input is 0, it is a part that originally has no image, so that unnecessary calculation processing is omitted, and it is possible to prevent a drop in image quality due to generation of a dot that is not in the original image. In the middle to shadow gradation region (middle to large interval) to which dither processing is applied, the input value to the pixel of interest itself is sufficiently large, so that the influence of the quantization error of the surrounding pixels is reduced. Even if the error is not reflected, sufficient image reproducibility can be obtained.

また、高速誤差拡散処理の速度を落とすことなく高画質化するため、誤差拡散処理で使用する閾値マトリクスは、次のように構成する。
つまり、第1に、誤差拡散処理内部で使用する閾値マトリクスと、ミドル、シャドー部で切り替えを行うディザ処理におけるディザマトリクスを同じサイズに揃え、且つ、閾値の割り振りの規則性を同じにする。つまり、誤差拡散処理における量子化判定に使用する閾値マトリクスがg×h(g、hともに2以上の整数)のサイズを有し、当該閾値マトリクスのサイズ及び閾値配置順とディザ処理における閾値マトリクスのサイズ及び閾値配置順とが共通化されている構成とする。
Further, in order to improve the image quality without reducing the speed of the high-speed error diffusion process, the threshold value matrix used in the error diffusion process is configured as follows.
That is, first, the threshold matrix used in the error diffusion process and the dither matrix in the dither process for switching in the middle and shadow portions are made the same size, and the regularity of the threshold allocation is made the same. In other words, the threshold matrix used for quantization determination in error diffusion processing has a size of g × h (both g and h are integers of 2 or more), and the size and threshold arrangement order of the threshold matrix and the threshold matrix in dither processing. A size and a threshold arrangement order are made common.

階調レベルが低い内は誤差の蓄積が少なく、閾値に対して十分な大きさの補正画素値を確保できない場合があり、必ずしも閾値マトリクスの規則性に沿ったパターンが生成されると限らないが、階調レベルが上がるにつれ、低い閾値が割り当てられた画素位置は確実にドット生成されることになり、出力パターンに閾値マトリクスの規則性が色濃く現れてくる。切り替えを行うべきディザ処理のディザマトリクスと閾値マトリクスの規則性をそろえておくことで、切り替え階調付近では、ディザ処理を行った場合とほぼ同じドット配置を形成することが可能となる。   While the gradation level is low, error accumulation is small, and there may be cases where a correction pixel value that is sufficiently large with respect to the threshold value cannot be secured, and a pattern that conforms to the regularity of the threshold value matrix is not necessarily generated. As the gradation level increases, dots are surely generated at pixel positions to which a low threshold value is assigned, and the regularity of the threshold value matrix appears deeply in the output pattern. By aligning the regularity of the dither matrix and the threshold value matrix of the dither process to be switched, it is possible to form the same dot arrangement near the switching gradation as when the dither process is performed.

その結果、同じ規則性に基づいてドットが生成されるディザ処理パターンへの連結がスムーズに行われ、誤差拡散処理からディザ処理への切り替え部での異常(基調の急激な変化による擬似輪郭の発生)を防ぐことができる。   As a result, the connection to the dither processing pattern in which dots are generated based on the same regularity is smoothly performed, and an abnormality in the switching unit from the error diffusion processing to the dither processing (occurrence of a pseudo contour due to an abrupt change in the tone) ) Can be prevented.

第2に、誤差拡散処理で使用する閾値マトリクスにおいて、誤差拡散処理を適用する階調区間では出力不可能な閾値を配置することで、ドットの生成をコントロールする。誤差拡散適用の階調では出力不可能な閾値を組み込むことで、ドットの出力禁止箇所を制限することが可能となり、また、後述するように、誤差参照範囲を「出力不可能な閾値」の配置間隔以下とすることで、非出力時の誤差蓄積による出力画像の濃度上昇を防ぐことができる。   Second, in the threshold value matrix used in the error diffusion process, the generation of dots is controlled by arranging threshold values that cannot be output in the gradation interval to which the error diffusion process is applied. By incorporating a threshold that cannot be output in error diffusion applied gradations, it is possible to limit the locations where dots cannot be output, and, as will be described later, the error reference range is arranged with a threshold that cannot be output. By setting it to the interval or less, it is possible to prevent an increase in the density of the output image due to error accumulation during non-output.

つまり、誤差拡散処理における量子化判定に使用する閾値マトリクスが、誤差拡散処理適用階調範囲の最大値nを超える閾値kを含み、周辺の誤差参照時には閾値kの配置間隔以下となる範囲の画素を参照するようにする。   That is, the threshold matrix used for quantization determination in error diffusion processing includes a threshold k that exceeds the maximum value n of the error diffusion processing applied gradation range, and pixels in a range that is equal to or smaller than the arrangement interval of the threshold k when referring to surrounding errors. To refer to.

例えば、「0〜255」の階調区間において、誤差拡散処理の担当区間が「0〜64」の場合、閾値マトリクスに「255」といった極端に大きな閾値kが存在すると、周辺画素の誤差を重畳しても補正画素値は「255」を超えることはできず、その画素位置は必ず空白となる。すなわちドットの生成を閾値マトリクスによって禁じることができるようになる。   For example, in the gradation section of “0 to 255”, when the section in charge of error diffusion processing is “0 to 64”, if an extremely large threshold value k such as “255” exists in the threshold value matrix, the error of surrounding pixels is superimposed. Even so, the corrected pixel value cannot exceed “255”, and the pixel position is always blank. That is, dot generation can be prohibited by the threshold matrix.

この吐出制御手法を利用して、ハイライト部における各色のドット分散性を制御することが可能になる。例えば、図14に示すように、シアンデータ処理用の閾値マトリクス(同図(a))とマゼンタデータ処理用閾値マトリクス(同図(b)上における「出力不可能な閾値」の割り振り位置を相互に補完するように配置すると、同図(c)、(d)に示すように、シアンとマゼンタのドットを完全に分離して生成することができるようになる。   Using this discharge control method, it is possible to control the dot dispersibility of each color in the highlight portion. For example, as shown in FIG. 14, the allocation position of the threshold matrix for cyan data processing (FIG. 14A) and the threshold matrix for magenta data processing (threshold “non-outputtable threshold” in FIG. 14B) If they are arranged so as to complement each other, cyan and magenta dots can be completely separated and generated as shown in FIGS.

また、連続噴射時の吐出安定性が低い(あるいは低下する条件下での)ヘッドでは、「出力不可能な閾値」を間欠的に配置することで、吐出休止画素を作りだし、安定した吐出を実現することができる。   In addition, with a head with low (or under reduced) discharge stability during continuous injection, intermittent thresholds that cannot be output are created to create discharge pause pixels and achieve stable discharge. can do.

なお、この「出力不可能な閾値」によって強制的にドットの生成が押さえ込まれるため、演算結果として誤差値が貯まりやすくなる。誤差参照範囲に複数の吐出休止画素が含まれる場合、蓄積された誤差値により、原稿の画像よりも濃度の高い出力となってしまう可能性がある。誤差計算の際は、「出力不可能な閾値」の占める割合に応じて、ドットの発生比率が下がる様に補正式を修正することが好ましい。   Note that dot generation is forcibly suppressed by this “threshold that cannot be output”, so that an error value is easily stored as a calculation result. When a plurality of ejection pause pixels are included in the error reference range, there is a possibility that an output having a higher density than the image of the document may be generated due to the accumulated error value. In calculating the error, it is preferable to correct the correction formula so that the dot generation ratio decreases according to the ratio of the “threshold that cannot be output”.

そこで、閾値マトリクスに占める「出力不可能な閾値」の存在比率p(0<p<1)に応じて、次の(1)式により、ドット出力時の補正値nを修正する。このように、誤差補正値を「出力不可能な閾値」の存在比率を基に修正することで、非出力時の誤差蓄積による出力画像の濃度上昇を防ぐことができる。   Therefore, the correction value n at the time of dot output is corrected by the following equation (1) according to the existence ratio p (0 <p <1) of the “threshold that cannot be output” in the threshold matrix. In this way, by correcting the error correction value based on the existence ratio of the “threshold that cannot be output”, it is possible to prevent the density of the output image from increasing due to error accumulation during non-output.

Figure 0004825180
Figure 0004825180

また、「出力不可能な閾値」が割り当てられた画素位置を、参照画素範囲に含めないことで、不要な濃度上昇を防ぐことができる。出力ドットの分散性を考慮すると「出力不可能な閾値」も分散して配置する必要があるため、ある程度の間隔を持って配置されることになる。周辺画素の誤差を参照するとき、「出力不可能な閾値」を配置する周期と同じか、それ以下の周期に参照範囲を抑えることで、不必要に誤差蓄積の大きい画素を参照するのを回避することができる。   In addition, an unnecessary increase in density can be prevented by not including the pixel position to which the “threshold that cannot be output” is assigned in the reference pixel range. Considering the dispersibility of the output dots, it is necessary to disperse the “threshold values that cannot be output”, so that they are disposed with a certain interval. When referencing errors in neighboring pixels, avoid referencing unnecessarily large error accumulation pixels by limiting the reference range to a period that is the same as or less than the period in which the “threshold that cannot be output” is placed. can do.

以上の本発明に係る画像処理について図15に示すフロー図を参照して説明する。なお、ここでは、3値以上の多値出力が可能な記録装置(画像形成装置)に適用しているが、1種類のドットサイズしか実現できない2値の記録装置(画像形成装置)に対しても、本発明の一部(高速化とドット生成の制御)は適用可能である。   The image processing according to the present invention will be described with reference to the flowchart shown in FIG. Note that here, the present invention is applied to a recording apparatus (image forming apparatus) capable of multi-value output of three or more values, but for a binary recording apparatus (image forming apparatus) capable of realizing only one kind of dot size. However, a part of the present invention (speeding up and dot generation control) can be applied.

図15を参照して、入力値INが「0」であれば、e00=0としてドットOFFとする。入力値IN=0でなければ、IN<nか否かを判別し、IN<nであれば誤差拡散処理に移行し、補正画素値=IN+(1/2)e10+(1/2)e01の演算を行って、補正画素値>閾値か否かを判別し、補正画素値>閾値でなければ、eoo=補正画素値としてドットOFFとする。なお、e10は、着目画素の左隣の画素位置における誤差値、e01は着目画素の直上の画素における誤差値を示し、「※」が着目画素位置である。   Referring to FIG. 15, if the input value IN is “0”, e00 = 0 and the dot is OFF. If the input value IN is not 0, it is determined whether or not IN <n. If IN <n, the process proceeds to error diffusion processing, and the correction pixel value = IN + (1/2) e10 + (1/2) e01. An arithmetic operation is performed to determine whether or not the corrected pixel value> the threshold value. If the corrected pixel value> the threshold value is not satisfied, eo = corrected pixel value is set to dot OFF. Note that e10 indicates an error value at the pixel position adjacent to the left of the target pixel, e01 indicates an error value at a pixel immediately above the target pixel, and “*” indicates the target pixel position.

また、補正画素値>閾値であれば、e00=補正画素値−{n/(1−p)}の演算を行って、小ドット出力とする。また、入力値IN<nでなければ、多値ディザ処理を行い、e00=0として中〜大ドット出力とする。   If corrected pixel value> threshold, a calculation of e00 = corrected pixel value− {n / (1-p)} is performed to obtain a small dot output. If the input value IN <n is not satisfied, multi-value dither processing is performed to set medium to large dot output with e00 = 0.

このように、0が白地、m(m>0)がベタを表す階調レベルとしたとき、0以上、且つ、出力時に形成可能な最小ドット又は最も薄い最薄ドットによって構成される階調区間1〜n(0<n≦m)の最大値nよりも低い値が着目画素の値として入力されたときには、着目画素周辺の量子化誤差を加えて量子化する誤差拡散処理を行い、最大値n以上の値が入力されたときには、入力値と閾値マトリクスの一対比較により量子化を行うディザ処理を行う構成としたので、入力画像データ上の網点との干渉モアレが発生し易い最小ドット区間(又は最薄ドットの区間)においてのみ誤差拡散処理を適用して、モアレの発生を抑えつつ、より大きいドット(又は濃いドット)が使用されるミドル〜シャドー部においてはディザ処理を適用することで、演算負荷の少ないより高速での中間調処理を行うことができる。   Thus, when 0 is a gray level representing a white background and m (m> 0) is a solid gradation level, the gradation interval is composed of 0 or more and the thinnest dot or the thinnest thinnest dot that can be formed at the time of output. When a value lower than the maximum value n of 1 to n (0 <n ≦ m) is input as the value of the pixel of interest, error diffusion processing is performed in which quantization is performed by adding a quantization error around the pixel of interest, and the maximum value When a value equal to or greater than n is input, a dither process is performed in which quantization is performed by paired comparison of the input value and the threshold matrix, so that the minimum dot interval in which interference moire with the halftone dot on the input image data is likely to occur. Apply dithering in middle to shadow areas where larger dots (or darker dots) are used while applying error diffusion processing only (or the thinnest dot interval) to suppress moiré. , It is possible to perform halftone processing in the high speed with less calculation load.

なお、上述した画像処理はインクジェット記録方式や電子写真方式などの画像形成装置における画像処理や、画像形成装置と画像処理装置を組み合わせた画像形成システムを構成し、画像処理装置で画像処理を行う場合にも同様に適用することができる。   The above-described image processing is performed when image processing in an image forming apparatus such as an inkjet recording method or an electrophotographic method, or an image forming system in which the image forming apparatus and the image processing apparatus are combined, and image processing is performed by the image processing apparatus. It can be similarly applied to.

また、液体吐出方式の画像形成装置には、ノズルを高密度で配置し、高画質記録を行うものがあり、この中には、ノズル配置をカラー対称に配置して双方向記録を行う事で、双方向色差を解消しつつ、印字の高速化を図ったものもある。ここでいう対称配置とは、副走査方向に配列した複数のノズルからなるノズル列を主走査方向に複数列配列し、同一色のインクを吐出するノズル列を2列以上有し、該同一色のインクを吐出するノズル列の間に異なる色のインクを吐出するノズル列を1列以上配列し、主走査方向に直交する軸を中心に、同一色のインクを吐出するノズル列を左右対称に配列する構成をいう。   In addition, there are liquid discharge type image forming apparatuses in which nozzles are arranged at a high density and perform high-quality recording. In this, bidirectional printing is performed by arranging the nozzle arrangement symmetrically in color. Some printers are designed to speed up printing while eliminating bidirectional color differences. Here, the symmetrical arrangement means that a plurality of nozzle rows composed of a plurality of nozzles arranged in the sub-scanning direction are arranged in the main scanning direction, and two or more nozzle rows for ejecting the same color ink are provided. One or more nozzle rows that eject inks of different colors are arranged between the nozzle rows that eject ink of the same color, and the nozzle rows that eject ink of the same color are symmetrical about the axis orthogonal to the main scanning direction. The arrangement is arranged.

例えば、図16に示すように、印写方向に各色のノズル列が1列ずつ配列されたヘッド(例えば、YMCKと配置されたヘッド(ノズルも同じ))を用いて、双方向印字すると、複数の記録液を重ねた部分では双方向色差が生じてしまうことになる。イエローとシアンの記録液を重ね打ちするとき、イエロー→シアンの順番に印刷したときと、シアン→イエローの順番で印刷したときとでは色調が違ってくる。記録ヘッドのノズルが、図16に示すように、各色1列ずつ配列されている記録ヘッドを用いて双方向印刷をすることによって、滴吐出順序が、順方向(往路)ではイエロー→シアン、逆方向(復路)ではシアン→イエローとなり、色調が異なる帯状の色ムラが生じてしまうことになる。   For example, as shown in FIG. 16, when a bidirectional printing is performed using a head in which nozzle rows of each color are arranged one by one in the printing direction (for example, a head arranged with YMCK (same nozzles)), Bidirectional color difference will occur in the portion where the recording liquids are stacked. When overprinting yellow and cyan recording liquids, the color tone is different between printing in the order of yellow → cyan and printing in the order of cyan → yellow. As shown in FIG. 16, by performing bidirectional printing using the recording head in which the nozzles of the recording head are arranged in a line for each color, the droplet ejection order is yellow → cyan, reverse in the forward direction (outward). In the direction (return), cyan → yellow, and strip-like color unevenness with different color tones occurs.

これを解決するためには、副走査方向に配列した複数のノズルからなるノズル列を主走査方向に複数列配列し、同一色のインクを吐出するノズル列を2列以上有し、同一色のインクを吐出するノズル列の間に異なる色のインクを吐出するノズル列を1列以上配列する構成をとる。   In order to solve this, a plurality of nozzle rows composed of a plurality of nozzles arranged in the sub-scanning direction are arranged in the main scanning direction, and two or more nozzle rows for ejecting the same color ink are provided. A configuration is adopted in which one or more nozzle rows that eject ink of different colors are arranged between the nozzle rows that eject ink.

例えば、図17に示すように、Yインクを吐出するノズル列の間にC、Mインクを吐出するノズル列を配列するようにすることによって、往路、復路に関わらずC→Yの順で重ね合わせることもできるし、Y→Cの順で重ね合わせることもできる。また、往路、復路に関わらずM→Yの順で重ね合わせることもできるし、Y→Mの順で重ね合わせることもできる。これによって、色再現域を拡大しながら双方向印字することができ、色再現域が広いカラー印刷物を高速で印刷することが可能となる。   For example, as shown in FIG. 17, by arranging the nozzle rows for ejecting C and M inks between the nozzle rows for ejecting Y ink, the layers are overlapped in order of C → Y regardless of the forward pass and the return pass. They can be combined, or they can be overlapped in the order of Y → C. Moreover, it is possible to superimpose in the order of M → Y regardless of the forward path and the return path, and it is also possible to superimpose in the order of Y → M. Accordingly, bidirectional printing can be performed while expanding the color reproduction range, and a color printed matter having a wide color reproduction range can be printed at high speed.

また、副走査方向に配列した複数のノズルからなるノズル列を主走査方向に複数列配列し、同一色のインクを吐出するノズル列を2列以上有し、該同一色のインクを吐出するノズル列の間に異なる色のインクを吐出するノズル列を1列以上配列し、主走査方向に直交する軸を中心に、同一色のインクを吐出するノズル列を左右対称に配列する構成をとることもできる。   In addition, a plurality of nozzle rows made up of a plurality of nozzles arranged in the sub-scanning direction are arranged in the main scanning direction, and there are two or more nozzle rows that eject the same color ink, and the nozzles that eject the same color ink One or more nozzle rows that eject ink of different colors are arranged between the rows, and the nozzle rows that eject ink of the same color are arranged symmetrically about an axis orthogonal to the main scanning direction. You can also.

例えば、図18に示すように、主走査方向に直交する軸を中心に、同一色のインクを吐出するノズル列を左右対称に配列する、ここでは、Kを中心にして、左右にC、M、Yの順に配列することによって、より多くの色について往路、復路に関わらず任意の重ね順序で2種以上の色インクを重ね合わせることができる。これによって、さらに広い色再現域を得ながら双方向印字することができ、さらに色再現域が広いカラー印刷物を高速で印刷することが可能となる。   For example, as shown in FIG. 18, nozzle rows that eject ink of the same color are arranged symmetrically about an axis orthogonal to the main scanning direction. Here, C and M are horizontally arranged around K. By arranging in the order of Y and Y, it is possible to superimpose two or more types of color inks in an arbitrary superposition order for more colors regardless of the forward path and the backward path. As a result, bidirectional printing can be performed while obtaining a wider color gamut, and a color print having a wider color gamut can be printed at high speed.

さらに、図19に示すように、通常のイエロー(Y)、マゼンタ(M)、シアン(C)、ブラック(K)の他に、色濃度の低いイエロー、マゼンタ、シアン、ブラック、即ち、フォトイエロー(PY)、フォトマゼンタ(PM)、フォトシアン(PC)を用いることもできる。これに加えて、フォトグレー(PG)を用いることもできる。色濃度の低いインクを用いることで、色再現域を拡大することに加えて、粒状感(ざらつき感)が抑制されたカラー印刷物を印刷することが可能となる。   Furthermore, as shown in FIG. 19, in addition to normal yellow (Y), magenta (M), cyan (C), and black (K), yellow, magenta, cyan, and black, that is, photo yellow having a low color density. (PY), photomagenta (PM), and photocyan (PC) can also be used. In addition, photo gray (PG) can also be used. By using an ink having a low color density, it is possible to print a color printed matter in which graininess (roughness) is suppressed in addition to expanding the color reproduction range.

このような高密度ノズル、対称ノズル構成を採用した画像形成装置では、高密度なデータを高速に処理する必要があり、演算負荷が急増することになる。本発明に係る中間調処理(画像処理)を行なうことによって、演算負荷を軽減することができ、処理速度の確保並びにより高解像度化が可能になるといった効果を得ることもできる。   In an image forming apparatus employing such a high-density nozzle and symmetric nozzle configuration, it is necessary to process high-density data at high speed, and the calculation load increases rapidly. By performing halftone processing (image processing) according to the present invention, it is possible to reduce the calculation load, and it is also possible to obtain the effects of ensuring the processing speed and increasing the resolution.

また、本発明における画像処理(中間調処理)は、ハードウエアとして搭載するだけでなく、前述したように、プログラムとして、例えばプリンタモード用の中間調処理としてプリンタドライバへ組み込むことができる。これによって演算負荷を軽減することができ、特に、上記実施形態のようなコピーモードを有する画像形成装置における処理だけでなく、ホスト側からの画像データを印刷出力する画像形成装置に適用した場合、より早くホストコンピュータを印刷タスクから開放することができる。さらに、画像形成装置に対して印刷データを送出する情報処理装置側にも適用することができる(この場合の情報処理装置は本発明に係る画像処理装置でもある。)。   In addition, the image processing (halftone processing) according to the present invention is not only installed as hardware, but can be incorporated into a printer driver as a program, for example, as halftone processing for a printer mode, as described above. This can reduce the computation load, and particularly when applied to an image forming apparatus that prints out image data from the host side as well as the processing in the image forming apparatus having the copy mode as in the above embodiment. The host computer can be released from the printing task more quickly. Furthermore, the present invention can also be applied to an information processing apparatus that sends print data to an image forming apparatus (the information processing apparatus in this case is also an image processing apparatus according to the present invention).

なお、ホストコンピュータの高処理能力を当てにして、コンピュータ上でソフトウエア処理するシステムにおいても、本発明における画像処理は適用可能である。また、別の中間調処理と本発明における誤差拡散処理とを切り替えて使用することも可能である。本発明で課題とした演算負荷という点では劣るものの、連続調原稿に対しては、より高品質な出力が可能な中間調処理は幾つか存在する。これらの中間調処理をモード別に、例えば、網点原稿の使用頻度が高いコピー/FAXモードでは本発明の高速誤差拡散処理を含む画像処理を、連続調原稿が主となるプリンタモードでは他の中間調処理を使用することで、高品質な画像再現が可能である。これらの処理の切替は、モードの選択に合わせて自動的に切り替えても、あるいは、ユーザーの指示といった外部からの入力によって切り替える構成とできる。   Note that the image processing according to the present invention can also be applied to a system that performs software processing on a computer while relying on the high processing capability of the host computer. It is also possible to switch between another halftone process and the error diffusion process in the present invention. Although it is inferior in terms of computation load, which is a problem in the present invention, there are some halftone processes that can output higher quality for continuous tone originals. These halftone processes are classified by mode, for example, the image processing including the high-speed error diffusion processing of the present invention is performed in the copy / FAX mode in which halftone originals are frequently used, and the other halftone processes are performed in the printer mode mainly using continuous tone originals. By using tone processing, high-quality image reproduction is possible. These processes can be switched automatically according to the mode selection, or can be switched by an external input such as a user instruction.

また、アプリケーションによっては、グラフィックスデータに対して、半透明処理や網掛け処理といった加工機能を持つものがある。このような加工処理を施されたデータは、元は連続調データであったとしても、あたかも印刷網点のような規則性が付与されたパターンとなる場合がある。このようなデータをプリントする場合にも、本発明は効果を発揮する。   Some applications have processing functions such as translucent processing and halftone processing for graphics data. Even if the data subjected to such processing is originally continuous tone data, it may be a pattern to which regularity such as printing halftone dots is added. The present invention is also effective when printing such data.

さらに、「Scan to E−mail 」と呼ばれる機能を有し、スキャナで取り込んだ画像データを、ネットワークを通じて配信する複合機として画像形成装置もある。このように、外部のスキャナで取り込まれた画像であっても、元が網点原稿であれば、出力時にモアレやぼそつきが発生する可能性があるため、本発明を適用することは効果的である。   Further, there is an image forming apparatus as a multi-function machine that has a function called “Scan to E-mail” and distributes image data captured by a scanner through a network. As described above, even if an image is captured by an external scanner, if the original is a halftone document, moire or blur may occur at the time of output. Is.

また、本発明では演算負荷の小さい処理となるが、例えば、画像処理専用演算ユニットが後付可能な場合や、PCに接続して画像処理の一部もしくは全部をソフトウエア的に処理することが可能な場合には、より高度な演算処理が可能となる。このような外部演算処理装置が活用できる場合は、像域分離や周波数解析処理を含めた高度な入力補正処理や中間調処理を高速に実行することが可能になるので、本発明における中間調処理からより高度な処理に切換えることでで、高画質なコピー画像を作成することが可能となる。これに関しても、外部演算処理装置の検出にあわせて自動的に切り換えても良いし、ユーザーの指示といった外部からの入力によって切換える様にしても良い。   In the present invention, the processing load is small. For example, when a dedicated processing unit for image processing can be retrofitted, or when connected to a PC, part or all of the image processing can be processed by software. If possible, more sophisticated arithmetic processing is possible. When such an external arithmetic processing device can be utilized, it is possible to execute high-speed input correction processing and halftone processing including image area separation and frequency analysis processing at high speed. By switching from 1 to more advanced processing, it becomes possible to create a high-quality copy image. In this regard, it may be switched automatically in accordance with the detection of the external arithmetic processing unit, or may be switched by an external input such as a user instruction.

本発明に係る画像処理装置、本発明に係るプログラム、本発明にディザマトリクスを備え、本発明に係る画像形成方法で画像を形成する本発明に係る画像形成装置の機構部の全体構成を説明する側面説明図である。An overall configuration of a mechanism unit of an image forming apparatus according to the present invention, which includes an image processing apparatus according to the present invention, a program according to the present invention, and a dither matrix according to the present invention and forms an image by the image forming method according to the present invention. FIG. 同機構部の要部平面説明図である。It is principal part plane explanatory drawing of the mechanism part. 同装置の要部拡大正面説明図である。It is principal part expansion front explanatory drawing of the same apparatus. 同装置の制御部の概要を示すブロック図である。It is a block diagram which shows the outline | summary of the control part of the apparatus. 一般的なコピーモードにおける画像処理の流れの説明に供する説明図である。It is explanatory drawing with which it uses for description of the flow of the image processing in a general copy mode. 一般的なディザ処理の説明に供する説明図である。It is explanatory drawing with which it uses for description of a general dither process. 網点画像とディザマトリクスの基調が一致した場合のモアレの発生の説明に供する説明図である。It is explanatory drawing with which it uses for description of generation | occurrence | production of a moire when the basics of a halftone image and a dither matrix correspond. 一般的な誤差拡散処理の説明に供する説明図である。It is explanatory drawing with which it uses for description of a general error diffusion process. 誤差拡散処理における誤差参照範囲と処理後のパターンの説明に供する説明図である。It is explanatory drawing with which it uses for description of the error reference range in an error diffusion process, and the pattern after a process. 本発明における誤差拡散処理で使用する閾値マトリクスと処理後のパターンの説明に供する説明図である。It is explanatory drawing with which it uses for description of the threshold value matrix used by the error diffusion process in this invention, and the pattern after a process. ミドル階調部の出力ドットパターンの一例を示す説明図である。It is explanatory drawing which shows an example of the output dot pattern of a middle gradation part. 多値ディザマトリクスの説明に供する説明図である。It is explanatory drawing with which it uses for description of a multi-value dither matrix. 本発明における誤差拡散処理と多値ディザ処理の切替えの説明に供する説明図である。It is explanatory drawing with which it uses for description of switching of the error diffusion process and multi-value dither process in this invention. 出力不可能な閾値により色毎にドットの発生を制御する例の説明に供する説明図である。It is explanatory drawing with which it uses for description of the example which controls generation | occurrence | production of a dot for every color with the threshold value which cannot be output. 本発明における中間調処理の概要を示すフロー図である。It is a flowchart which shows the outline | summary of the halftone process in this invention. ノズル列配置が非対称配置のヘッドの説明に供する説明図である。It is explanatory drawing with which nozzle row arrangement | positioning uses for description of the head of asymmetric arrangement | positioning. ノズル列配置が対称配置のヘッドの一例の説明に供する説明図である。It is explanatory drawing with which it uses for description of an example of the head of nozzle row arrangement | positioning symmetrical arrangement. ノズル列配置が対称配置のヘッドの他の例の説明に供する説明図である。It is explanatory drawing with which it uses for description of the other example of the head of nozzle row arrangement | positioning symmetrical arrangement. ノズル列配置が対称配置のヘッドの更に他の例の説明に供する説明図である。It is explanatory drawing with which it uses for description of the further another example of the head of nozzle row arrangement | positioning symmetrically.

符号の説明Explanation of symbols

1…装置本体
2…画像形成部
3…副走査搬送部
4…給紙部
5…用紙(被記録媒体)
7…排紙搬送部
8…排紙トレイ
11…画像読取部
23…キャリッジ
24…記録ヘッド
31…搬送ベルト
32…搬送ローラ
301…主制御部
313…スキャナ制御部
425…中間調処理部
DESCRIPTION OF SYMBOLS 1 ... Apparatus main body 2 ... Image formation part 3 ... Sub-scanning conveyance part 4 ... Paper feed part 5 ... Paper (recording medium)
DESCRIPTION OF SYMBOLS 7 ... Paper discharge conveyance part 8 ... Paper discharge tray 11 ... Image reading part 23 ... Carriage 24 ... Recording head 31 ... Conveyance belt 32 ... Conveyance roller 301 ... Main control part 313 ... Scanner control part 425 ... Halftone processing part

Claims (9)

入力された画像データに対して閾値マトリクスを用いた中間調処理をする画像処理方法において、
0が白地、m(m>0)がベタを表す階調レベルとしたとき、
0以上、且つ、出力時に形成可能な最小ドット又は最も薄い最薄ドットによって構成される階調区間1〜n(0<n≦m)の最大値nよりも低い値が着目画素の値として入力されたときには、着目画素周辺の量子化誤差を加えて量子化する誤差拡散処理を行い、
最大値n以上の値が入力されたときには、入力値と閾値マトリクスの一対比較により量子化を行うディザ処理を行い、
前記誤差拡散処理における量子化判定に使用する閾値マトリクスが、誤差拡散処理適用階調範囲の最大値nを超える閾値kを含み、周辺の誤差参照時には前記閾値kの配置間隔以下となる範囲の画素を参照する
ことを特徴とする画像処理方法。
In an image processing method for performing halftone processing using a threshold matrix on input image data,
When 0 is a white background and m (m> 0) is a solid level representing solid,
A value lower than the maximum value n of gradation intervals 1 to n (0 <n ≦ m) composed of the minimum dots or the thinnest thinnest dots that can be formed at the time of output is input as the value of the target pixel. Is performed, an error diffusion process is performed by adding a quantization error around the pixel of interest and performing quantization.
When the value of more than the maximum value n is input, it has line dither processing for performing quantization by pairwise comparison of the input value and the threshold value matrix,
Pixels in a range in which a threshold matrix used for quantization determination in the error diffusion processing includes a threshold k exceeding the maximum value n of the error diffusion processing applied gradation range, and is equal to or smaller than the arrangement interval of the threshold k when referring to surrounding errors. An image processing method characterized by referring to FIG.
請求項1に記載の画像処理方法において、前記誤差拡散処理における量子化判定に使用する閾値マトリクスがg×h(g、hともに2以上の整数)のサイズを有し、当該閾値マトリクスのサイズ及び閾値配置順と前記ディザ処理における閾値マトリクスのサイズ及び閾値配置順とが共通化されていることを特徴とした画像処理方法。   The image processing method according to claim 1, wherein a threshold value matrix used for quantization determination in the error diffusion process has a size of g × h (both g and h are integers of 2 or more), and the size of the threshold value matrix and An image processing method, characterized in that a threshold arrangement order, a threshold matrix size and a threshold arrangement order in the dither processing are shared. 請求項1又は2に記載の画像処理方法において、前記誤差拡散処理における量子化判定に使用する閾値マトリクスに占める前記閾値kの存在比率p(0<p<1)に応じて、量子化誤差を次の(1)式によって補正することを特徴とする画像処理方法。
Figure 0004825180
3. The image processing method according to claim 1, wherein a quantization error is determined according to a presence ratio p (0 <p <1) of the threshold value k in a threshold value matrix used for quantization determination in the error diffusion processing. An image processing method, wherein correction is performed by the following equation (1).
Figure 0004825180
請求項1ないしのいずれかに記載の画像処理方法において、入力値が0又はn以上のときには常に着目画素の量子化誤差値を0とすることを特徴とする画像処理方法。 The image processing method according to any one of claims 1 to 3, an image processing method, wherein the input value is always zero quantization error value of the pixel of interest when more than 0 or n. 入力された画像データに対して閾値マトリクスを用いた中間調処理をする画像処理装置において、
0が白地、m(m>0)がベタを表す階調レベルとしたとき、
0以上、且つ、出力時に形成可能な最小ドット又は最も薄い最薄ドットによって構成される階調区間1〜n(0<n≦m)の最大値nよりも低い値が着目画素の値として入力されたときには、着目画素周辺の量子化誤差を加えて量子化する誤差拡散処理を行い、
最大値n以上の値が入力されたときには、入力値と閾値マトリクスの一対比較により量子化を行うディザ処理を行い、
前記誤差拡散処理における量子化判定に使用する閾値マトリクスが、誤差拡散処理適用階調範囲の最大値nを超える閾値kを含み、周辺の誤差参照時には前記閾値kの配置間隔以下となる範囲の画素を参照する
ことを特徴とする画像処理装置。
In an image processing apparatus that performs halftone processing using a threshold matrix on input image data,
When 0 is a white background and m (m> 0) is a solid level representing solid,
A value lower than the maximum value n of gradation intervals 1 to n (0 <n ≦ m) composed of the minimum dots or the thinnest thinnest dots that can be formed at the time of output is input as the value of the pixel of interest. Is performed, an error diffusion process is performed by adding a quantization error around the pixel of interest and performing quantization.
When the value of more than the maximum value n is input, it has line dither processing for performing quantization by pairwise comparison of the input value and the threshold value matrix,
Pixels in a range in which a threshold matrix used for quantization determination in the error diffusion processing includes a threshold k exceeding the maximum value n of the error diffusion processing applied gradation range, and is equal to or smaller than the arrangement interval of the threshold k when referring to surrounding errors. An image processing apparatus characterized by referring to .
入力された画像データに対して閾値マトリクスを用いた中間調処理を行い、画像を形成する画像形成装置において、
0が白地、m(m>0)がベタを表す階調レベルとしたとき、
0以上、且つ、出力時に形成可能な最小ドット又は最も薄い最薄ドットによって構成される階調区間1〜n(0<n≦m)の最大値nよりも低い値が着目画素の値として入力されたときには、着目画素周辺の量子化誤差を加えて量子化する誤差拡散処理を行い、
最大値n以上の値が入力されたときには、入力値と閾値マトリクスの一対比較により量子化を行うディザ処理を行い、
前記誤差拡散処理における量子化判定に使用する閾値マトリクスが、誤差拡散処理適用階調範囲の最大値nを超える閾値kを含み、周辺の誤差参照時には前記閾値kの配置間隔以下となる範囲の画素を参照する
ことを特徴とする画像形成装置。
In an image forming apparatus that performs halftone processing using a threshold matrix on input image data and forms an image,
When 0 is a white background and m (m> 0) is a solid level representing solid,
A value lower than the maximum value n of gradation intervals 1 to n (0 <n ≦ m) composed of the minimum dots or the thinnest thinnest dots that can be formed at the time of output is input as the value of the pixel of interest. Is performed, an error diffusion process is performed by adding a quantization error around the pixel of interest and performing quantization.
When the value of more than the maximum value n is input, it has line dither processing for performing quantization by pairwise comparison of the input value and the threshold value matrix,
Pixels in a range in which a threshold matrix used for quantization determination in the error diffusion processing includes a threshold k exceeding the maximum value n of the error diffusion processing applied gradation range, and is equal to or smaller than the arrangement interval of the threshold k when referring to surrounding errors. An image forming apparatus characterized by referring to FIG .
請求項に記載の画像処理装置と、画像を形成する画像形成装置とで構成されていることを特徴とする画像形成システム。 An image forming system comprising: the image processing apparatus according to claim 6 ; and an image forming apparatus that forms an image. 入力された画像データに対して閾値マトリクスを用いた中間調処理をコンピュータに行わせるプログラムにおいて、
0が白地、m(m>0)がベタを表す階調レベルとしたとき、
0以上、且つ、出力時に形成可能な最小ドット又は最も薄い最薄ドットによって構成される階調区間1〜n(0<n≦m)の最大値nよりも低い値が着目画素の値として入力されたときには、着目画素周辺の量子化誤差を加えて量子化する誤差拡散処理を行い、
最大値n以上の値が入力されたときには、入力値と閾値マトリクスの一対比較により量子化を行うディザ処理を行い、
前記誤差拡散処理における量子化判定に使用する閾値マトリクスが、誤差拡散処理適用階調範囲の最大値nを超える閾値kを含み、周辺の誤差参照時には前記閾値kの配置間隔以下となる範囲の画素を参照する
前記中間調処理をコンピュータに行わせることを特徴とするプログラム。
In a program that causes a computer to perform halftone processing using a threshold matrix on input image data,
When 0 is a white background and m (m> 0) is a solid level representing solid,
A value lower than the maximum value n of gradation intervals 1 to n (0 <n ≦ m) composed of the minimum dots or the thinnest thinnest dots that can be formed at the time of output is input as the value of the pixel of interest. Is performed, an error diffusion process is performed by adding a quantization error around the pixel of interest and performing quantization.
When the value of more than the maximum value n is input, it has line dither processing for performing quantization by pairwise comparison of the input value and the threshold value matrix,
Pixels in a range in which a threshold matrix used for quantization determination in the error diffusion processing includes a threshold k exceeding the maximum value n of the error diffusion processing applied gradation range, and is equal to or smaller than the arrangement interval of the threshold k when referring to surrounding errors. a program characterized by causing a computer <br/> the halftone processing for referring to.
請求項に記載のプログラムが格納されていることを特徴とする記憶媒体。 A storage medium in which the program according to claim 8 is stored.
JP2007213604A 2007-08-20 2007-08-20 Image processing method, image processing apparatus, image forming apparatus, image forming system, program, and storage medium Expired - Fee Related JP4825180B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007213604A JP4825180B2 (en) 2007-08-20 2007-08-20 Image processing method, image processing apparatus, image forming apparatus, image forming system, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007213604A JP4825180B2 (en) 2007-08-20 2007-08-20 Image processing method, image processing apparatus, image forming apparatus, image forming system, program, and storage medium

Publications (2)

Publication Number Publication Date
JP2009049688A JP2009049688A (en) 2009-03-05
JP4825180B2 true JP4825180B2 (en) 2011-11-30

Family

ID=40501471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007213604A Expired - Fee Related JP4825180B2 (en) 2007-08-20 2007-08-20 Image processing method, image processing apparatus, image forming apparatus, image forming system, program, and storage medium

Country Status (1)

Country Link
JP (1) JP4825180B2 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5464906B2 (en) * 2009-05-19 2014-04-09 キヤノン株式会社 Image processing apparatus and control method thereof
JP5332966B2 (en) * 2009-07-02 2013-11-06 株式会社リコー Image processing method, image processing apparatus, program, recording medium, and image forming apparatus
JP5428696B2 (en) * 2009-09-16 2014-02-26 セイコーエプソン株式会社 Printing apparatus, printing data generation apparatus, printing method and program thereof
JP5003777B2 (en) 2010-03-15 2012-08-15 ブラザー工業株式会社 Image processing program and image processing apparatus
JP4935916B2 (en) * 2010-03-15 2012-05-23 ブラザー工業株式会社 Image processing program and image processing apparatus
JP5115575B2 (en) 2010-03-15 2013-01-09 ブラザー工業株式会社 Image processing program and image processing apparatus
JP5565108B2 (en) * 2010-06-03 2014-08-06 コニカミノルタ株式会社 Image forming apparatus, image forming method, and image forming program
JP5720764B2 (en) * 2013-12-05 2015-05-20 セイコーエプソン株式会社 Printing apparatus and printing method
JP6516449B2 (en) * 2014-02-06 2019-05-22 キヤノン株式会社 Image processing apparatus, image forming apparatus, image processing method and program
JP5979261B2 (en) * 2015-02-02 2016-08-24 セイコーエプソン株式会社 Printing apparatus and printing method
JP7362292B2 (en) * 2019-05-09 2023-10-17 キヤノン株式会社 Image processing device, image processing method, and program
CN114185498A (en) * 2021-12-07 2022-03-15 久明国际文化(北京)有限公司 Ancient painting and calligraphy copying and toning method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06113125A (en) * 1992-09-25 1994-04-22 Toshiba Corp Picture processor
JP2001225488A (en) * 1996-07-18 2001-08-21 Seiko Epson Corp Printing apparatus, method for recording image, and recording medium
JP2005252807A (en) * 2004-03-05 2005-09-15 Ricoh Printing Systems Ltd Image processing method, printing system and printer

Also Published As

Publication number Publication date
JP2009049688A (en) 2009-03-05

Similar Documents

Publication Publication Date Title
JP4825180B2 (en) Image processing method, image processing apparatus, image forming apparatus, image forming system, program, and storage medium
JP4545128B2 (en) Image processing apparatus, program, image forming apparatus, image forming method, dither matrix
EP2271499B1 (en) Image processing method, computer program, recording medium, image processing apparatus, and image forming apparatus
US7660016B2 (en) Image-processing apparatus, an image-forming apparatus, and a program
JP5369851B2 (en) Image processing apparatus, image processing method, computer-executable program, and computer-readable recording medium
US20070085869A1 (en) Image processing method, program, image processing device, image forming device, and image forming system
US20070091135A1 (en) Image processing method, image processing apparatus, and computer-readable recording medium
JP2010089487A (en) Image processing device, image processing method, program, recording medium, printing system and image forming apparatus
JP2007110690A (en) Image processing method, program, image processor, image forming apparatus and image forming system
JP2004358965A (en) Printing apparatus and adjusting method
KR20160140413A (en) Apparatus, method, and storage medium storing program
JP2006173929A (en) Image processing method, program, image processing apparatus, and image forming apparatus
JP4380603B2 (en) Multifunction machine system, paper feed control method in multifunction machine system
JP5262485B2 (en) Image processing apparatus, image processing method, program, recording medium, printing system, and image forming apparatus
JP2006255970A (en) Inkjet printer, and copying device
JP6160023B2 (en) Printing device
JP2009049690A (en) Image processing method, image processing device, image forming device, image forming system, program and storage medium
JP2005205685A (en) Image processing device and method
JP2006311468A (en) Compound machine system
JP5332966B2 (en) Image processing method, image processing apparatus, program, recording medium, and image forming apparatus
JP2004142435A (en) Printer, method of printing, program, and printing system
JP2010068497A (en) Image processor, image processing method, program, recording medium, printing system, and image forming apparatus
CN109484027B (en) Image processing apparatus, printing apparatus, control method, and storage medium
JP4457616B2 (en) Printing apparatus, printing method, and printing system
JP2010074325A (en) Image processor, image processing method, program, recording medium, print system, and image formation device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100305

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110620

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110628

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110819

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110906

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110909

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140916

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees