[go: up one dir, main page]

JP2009135885A - Image forming apparatus, image forming method, and print data generation program - Google Patents

Image forming apparatus, image forming method, and print data generation program Download PDF

Info

Publication number
JP2009135885A
JP2009135885A JP2008182947A JP2008182947A JP2009135885A JP 2009135885 A JP2009135885 A JP 2009135885A JP 2008182947 A JP2008182947 A JP 2008182947A JP 2008182947 A JP2008182947 A JP 2008182947A JP 2009135885 A JP2009135885 A JP 2009135885A
Authority
JP
Japan
Prior art keywords
pixel
color
correction
processing
gradation value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008182947A
Other languages
Japanese (ja)
Inventor
Tsutomu Suzuki
力 鈴木
Tomohiro Nakamura
朋洋 中村
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2008182947A priority Critical patent/JP2009135885A/en
Priority to US12/254,946 priority patent/US20090109456A1/en
Publication of JP2009135885A publication Critical patent/JP2009135885A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

【課題】色材を供給する処理を色毎に行う画像形成装置であって、当該処理に起因して発生するいわゆるレジずれに対する補正処理をより高品質で行うことのできる画像形成装置等を提供する。
【解決手段】画像形成に複数の色材を用い、各画素が前記色材の各色の階調値を有するビットマップデータに基づいて前記画像形成を行なう画像形成装置が、前記画像形成の対象のうち、単色の領域であって、当該単色を含まない他の色からなる画素と隣接する補正対象領域の、前記ビットマップデータに対して、前記階調値を補正する補正処理を実行する補正手段を有し、前記補正対象領域のうち、白色の画素と隣接している所定領域については、前記補正処理が行なわれない。
【選択図】 図2
An image forming apparatus that performs a process for supplying a color material for each color, and that can perform a correction process for a so-called registration error caused by the process with higher quality. To do.
An image forming apparatus that uses a plurality of color materials for image formation and performs image formation based on bitmap data in which each pixel has a gradation value of each color of the color material. Of these, a correction unit that executes a correction process for correcting the gradation value for the bitmap data in a correction target region that is a single color region and is adjacent to a pixel of another color that does not include the single color Among the correction target areas, the correction process is not performed on a predetermined area adjacent to the white pixel.
[Selection] Figure 2

Description

本発明は、色材を供給する処理を色毎に行う画像形成装置等に関し、特に、当該処理に起因して発生するいわゆるレジずれに対する補正処理を高品質で行うことのできる画像形成装置等に関する。   The present invention relates to an image forming apparatus that performs a process for supplying a color material for each color, and more particularly to an image forming apparatus that can perform a correction process for a so-called registration error caused by the process with high quality. .

レーザープリンタなどの画像形成装置においては、各色の色材を用紙、中間媒体や感光体に供給して付着させる処理が色毎に独立して行われる。従って、装置の機械的な精度等に起因して、形成される各色の画像が相対的にずれてしまう不具合が発生する場合がある。かかるレジずれ(色ずれともいう。)が発生すると、例えば、文字と背景の境界に本来は存在しない白い部分が現れる(白抜け)など出力品質に悪影響を与えるため、従来、このレジずれによる不具合を防止するために事前に出力対象の画像データを補正する処理がなされていた。   In an image forming apparatus such as a laser printer, the process of supplying each color material to a sheet, an intermediate medium or a photoconductor and attaching it is performed independently for each color. Accordingly, there may be a problem that the images of the respective colors to be formed are relatively displaced due to the mechanical accuracy of the apparatus. When such misregistration (also referred to as color misregistration) occurs, for example, a white part that does not originally exist at the boundary between the character and the background appears (white spots), which adversely affects the output quality. In order to prevent this, processing for correcting image data to be output has been performed in advance.

下記特許文献1では、当該技術分野において、いわゆるエッジ淡色化を有効に防止し高速な処理が行える装置等について提案されている。   Japanese Patent Application Laid-Open No. 2004-228667 proposes an apparatus that can effectively prevent so-called edge lightening and perform high-speed processing in the technical field.

また、下記特許文献2では、版ずれが生じてもオブジェクトが実際のものと同程度の大きさに見えるトラッピング処理を行う装置等について示されている。
特許3852234号公報 特開2002−165104号公報
Japanese Patent Application Laid-Open No. 2004-228561 discloses a device that performs a trapping process in which an object looks as large as an actual object even when a plate displacement occurs.
Japanese Patent No. 3852234 JP 2002-165104 A

しかしながら、上記レジずれによる不具合を防止するための補正処理を行なうことにより、弊害が発生する場合もある。例えば、上記補正処理では、通常、補正対象領域に元々その領域が有していなかった色を足す処理がなされることになるが、当該領域が白色の部分と隣接している場合には、色のずれ方によっては、元々存在しない色が当該白色の周囲に現れてしまうことになり好ましくない。   However, there is a case where an adverse effect is caused by performing a correction process for preventing a problem due to the registration error. For example, in the above correction processing, processing for adding a color that the region originally did not have to the correction target region is usually performed, but if the region is adjacent to a white part, Depending on the deviation, a color that does not exist originally appears around the white color, which is not preferable.

上記特許文献においては、この点について考慮がなされていない。   In the said patent document, consideration is not made about this point.

そこで、本発明の目的は、色材を供給する処理を色毎に行う画像形成装置であって、当該処理に起因して発生するいわゆるレジずれに対する補正処理をより高品質で行うことのできる画像形成装置、等を提供することである。   Accordingly, an object of the present invention is an image forming apparatus that performs a process for supplying a color material for each color, and an image that can perform a correction process for a so-called registration error caused by the process with higher quality. Forming apparatus, and the like.

上記の目的を達成するために、本発明の一つの側面は、画像形成に複数の色材を用い、各画素が前記色材の各色の階調値を有するビットマップデータに基づいて前記画像形成を行なう画像形成装置が、前記画像形成の対象のうち、単色の領域であって、当該単色を含まない他の色からなる画素と隣接する補正対象領域の、前記ビットマップデータに対して、前記階調値を補正する補正処理を実行する補正手段を有し、前記補正対象領域のうち、白色の画素と隣接している所定領域については、前記補正処理が行なわれない、ことである。   In order to achieve the above object, according to one aspect of the present invention, an image is formed based on bitmap data in which a plurality of color materials are used for image formation and each pixel has a gradation value of each color of the color material. The image forming apparatus that performs the correction for the bitmap data of the correction target area adjacent to a pixel that is a single color area of the image formation target and does not include the single color. A correction unit that executes a correction process for correcting a gradation value, and the correction process is not performed for a predetermined area adjacent to a white pixel in the correction target area;

更に、上記の発明において、一つの態様は、前記補正手段は、前記補正対象領域について前記補正処理を実行した後に、前記白色の画素と隣接している所定領域について、前記ビットマップデータを前記補正処理前の状態に戻す、ことを特徴とする。   Furthermore, in the above invention, according to one aspect, the correction unit corrects the bitmap data for a predetermined area adjacent to the white pixel after executing the correction process for the correction target area. It returns to the state before a process, It is characterized by the above-mentioned.

更に、上記の発明において、好ましい態様は、前記単色は黒色である、ことを特徴とする。   Furthermore, in the above invention, a preferable aspect is characterized in that the single color is black.

更にまた、上記の発明において、好ましい態様は、前記補正対象領域のうち、前記単色を含まない他の色からなる画素側の所定領域については、前記補正処理が実行される、ことを特徴とする。   Furthermore, in the above invention, a preferable aspect is characterized in that the correction processing is executed for a predetermined region on the pixel side made of another color not including the single color in the correction target region. .

上記の目的を達成するために、本発明の別の側面は、画像形成に複数の色材を用い、各画素が前記色材の各色の階調値を有するビットマップデータに基づいて前記画像形成を行なう画像形成装置における画像形成方法が、前記画像形成の対象のうち、単色の領域であって、当該単色を含まない他の色からなる画素と隣接する補正対象領域の、前記ビットマップデータに対して、前記階調値を補正する補正処理を実行する補正工程を有し、前記補正対象領域のうち、白色の画素と隣接している所定領域については、前記補正処理が行なわれない、ことである。   In order to achieve the above object, according to another aspect of the present invention, the image formation is performed based on bitmap data in which a plurality of color materials are used for image formation and each pixel has a gradation value of each color of the color material. In the image forming method in the image forming apparatus, the bitmap data in the correction target area adjacent to a pixel of another color that does not include the single color, of the image formation target, is a single color area. On the other hand, there is a correction process for executing a correction process for correcting the gradation value, and the correction process is not performed for a predetermined area adjacent to the white pixel in the correction target area. It is.

上記の目的を達成するために、本発明の更に別の側面は、画像形成に複数の色材を用い、各画素が前記色材の各色の階調値を有するビットマップデータに基づいて前記画像形成を行なう画像形成装置の、前記ビットマップデータを前記画像形成装置のホスト装置に生成させる印刷データ生成プログラムが、前記画像形成の対象のうち、単色の領域であって、当該単色を含まない他の色からなる画素と隣接する補正対象領域の、前記ビットマップデータに対して、前記階調値を補正する補正処理を実行する補正工程を前記ホスト装置に実行させ、前記補正対象領域のうち、白色の画素と隣接している所定領域については、前記補正処理が行なわれない、ことである。   In order to achieve the above object, according to still another aspect of the present invention, a plurality of color materials are used for image formation, and each image is based on bitmap data in which each pixel has a gradation value of each color of the color material. A print data generation program that causes the host device of the image forming apparatus to generate the bitmap data of the image forming apparatus that performs the formation is a single color area of the image forming target, and does not include the single color. A correction step of executing a correction process for correcting the gradation value for the bitmap data in the correction target area adjacent to the pixel of the color of The correction process is not performed for a predetermined area adjacent to a white pixel.

本発明の更なる目的及び、特徴は、以下に説明する発明の実施の形態から明らかになる。   Further objects and features of the present invention will become apparent from the embodiments of the invention described below.

以下、図面を参照して本発明の実施の形態例を説明する。しかしながら、かかる実施の形態例が、本発明の技術的範囲を限定するものではない。なお、図において、同一又は類似のものには同一の参照番号又は参照記号を付して説明する。   Embodiments of the present invention will be described below with reference to the drawings. However, such an embodiment does not limit the technical scope of the present invention. In the drawings, the same or similar elements are denoted by the same reference numerals or reference symbols.

図1は、本発明を適用した画像形成装置であるプリンタの実施の形態例に係る構成図である。図1に示すプリンタ2が本発明を適用したプリンタであり、いわゆるレジずれに対する補正処理の対象領域について、白色の画素と隣接している部分については当該補正処理を実行しないように処理し、当該補正処理による弊害を防止して、より高品質な処理を行なおうとするものである。   FIG. 1 is a configuration diagram according to an embodiment of a printer which is an image forming apparatus to which the present invention is applied. The printer 2 shown in FIG. 1 is a printer to which the present invention is applied. For a target region for correction processing for so-called registration misalignment, a portion adjacent to a white pixel is processed so as not to execute the correction processing. This is intended to prevent the harmful effects caused by the correction processing and to perform higher quality processing.

図1に示すホストコンピュータ1は、プリンタ2に対して印刷要求を行なうホスト装置であり、パーソナルコンピュータなどで構成される。ホストコンピュータ1にはプリンタドライバ11が備えられ、印刷要求時には、ユーザ操作等に基づいて、当該プリンタドライバ11が画像データと制御コマンドを含む印刷データを生成してプリンタ2に送信する。なお、ここでは、プリンタドライバ11がプリンタ2に送信するデータはPDLで記述されているものとする。また、プリンタドライバ11は、上記処理を実行させるプログラムと、当該プログラムに従って処理を実行するホストコンピュータ1の制御装置(図示せず)等によって構成することができる。また、プリンタドライバ11用の当該プログラムは、インターネット等のネットワークを介して所定のサイトからダウンロードすることにより、あるいは、CDなどの記憶媒体から、ホストコンピュータ1にインストールすることができる。   A host computer 1 shown in FIG. 1 is a host device that makes a print request to the printer 2, and is composed of a personal computer or the like. The host computer 1 includes a printer driver 11. When a print request is made, the printer driver 11 generates print data including image data and a control command based on a user operation or the like and transmits the print data to the printer 2. Here, it is assumed that the data transmitted from the printer driver 11 to the printer 2 is described in PDL. The printer driver 11 can be configured by a program that executes the above-described processing, a control device (not shown) of the host computer 1 that executes processing according to the program, and the like. The program for the printer driver 11 can be installed in the host computer 1 by downloading from a predetermined site via a network such as the Internet or from a storage medium such as a CD.

次に、プリンタ2は、図1に示すように、コントローラ21及びエンジン22等で構成される、いわゆるレーザープリンタである。   Next, as shown in FIG. 1, the printer 2 is a so-called laser printer including a controller 21, an engine 22, and the like.

コントローラ21は、前記ホストコンピュータ1からの印刷要求を受けてエンジン22に印刷指示を出す処理などを司り、図1に示すように、I/F23、CPU24、RAM25、ROM26、及びエンジンI/F27を備える。   The controller 21 receives a print request from the host computer 1 and issues a print instruction to the engine 22. As shown in FIG. 1, the controller 21 includes an I / F 23, a CPU 24, a RAM 25, a ROM 26, and an engine I / F 27. Prepare.

I/F23は、ホストコンピュータ1から送信される前記印刷データを受信する部分である。   The I / F 23 is a part that receives the print data transmitted from the host computer 1.

CPU24は、コントローラ21において行われる各種処理を制御する部分であるが、ホストコンピュータ1から印刷要求を受けた際には、受信した印刷データに含まれる画像データに所定の画像処理を施してエンジン22側へ出力するためのビットマップデータ(各色のプレーンデータ)を生成する処理、前記印刷データに含まれる制御コマンドを解釈してエンジン22に対して適切な印刷処理を指示する処理等を司る。また、CPU24は、上記ビットマップデータを生成する処理に関し、レジずれ対策としての補正処理を実行するが、本プリンタ2では、当該補正処理に特徴を有し、その具体的な内容については後述する。なお、CPU24が実行する処理は、主にROM26に記憶されたプログラムに従って行われるものである。   The CPU 24 is a part that controls various processes performed in the controller 21. When a print request is received from the host computer 1, the CPU 24 performs predetermined image processing on the image data included in the received print data and performs the engine 22. It controls processing for generating bitmap data (plane data for each color) to be output to the side, processing for instructing an appropriate print processing to the engine 22 by interpreting a control command included in the print data, and the like. Further, the CPU 24 executes a correction process as a measure against registration misregistration regarding the process of generating the bitmap data. The printer 2 is characterized by the correction process, and the specific contents thereof will be described later. . Note that the processing executed by the CPU 24 is mainly performed according to a program stored in the ROM 26.

RAM25は、受信した印刷データ、各処理後の画像データ等を格納するメモリであり、前述した各色のビットマップデータ(プレーンデータ)、当該ビットマップデータに対して生成される種別データ(種別プレーン)を格納する。なお、これらビットマップデータ及び種別データの詳細については後述する。   The RAM 25 is a memory that stores received print data, image data after each process, and the like. Bit map data (plane data) of each color described above, and type data (type plane) generated for the bit map data Is stored. Details of these bitmap data and type data will be described later.

ROM26は、CPU24が実行する各処理のプログラム等を格納するメモリである。   The ROM 26 is a memory that stores a program and the like of each process executed by the CPU 24.

次に、エンジンI/F27は、エンジン22で印刷を実行する際に、所定のタイミングで前述したRAM25に格納されている画像データ(上記補正処理後のビットマップデータ)を読み出し、それらに所定の処理を施した後にエンジン22側に引き渡す、コントローラ21とエンジン22側とのインターフェースを司る部分である。なお、このエンジンI/F27には、図示していないが、データを一時的に格納するメモリ、解凍部、スクリーン処理部等が備えられ、RAM25から読み出した画像データに対して、圧縮されたデータの解凍、ドットのデータへ変換するスクリーン処理などがなされる。また、エンジンI/F27は、具体的には、ASICで構成されている。   Next, when the engine 22 executes printing, the engine I / F 27 reads the image data (bitmap data after the correction process) stored in the RAM 25 described above at a predetermined timing and stores them in a predetermined manner. This is the part that controls the interface between the controller 21 and the engine 22 side, which is handed over to the engine 22 side after processing. Although not shown, the engine I / F 27 is provided with a memory for temporarily storing data, a decompression unit, a screen processing unit, and the like, and is compressed data with respect to image data read from the RAM 25. Decompression and screen processing to convert to dot data. Further, the engine I / F 27 is specifically composed of an ASIC.

次に、エンジン22は、図示していないが、メカコンと印刷機構から構成され、印刷機構には、図示していないが、感光体ドラム、帯電ユニット、露光ユニット、現像装置、転写ユニット等が備えられる。印刷実行時には、帯電ユニットにより感光体ドラムを帯電し、露光ユニットが内蔵するレーザーやLEDアレイなどの光源からのビームを帯電された感光体ドラムに照射して静電気による潜像を形成する。その後、現像材(トナー)を収容するトナーカートリッジを備える現像装置により、潜像が現像材による像に現像され、転写ユニットによって現像されたトナー像が紙などの印刷媒体に転写され、定着ユニットにより定着されて、プリンタ2外に排出される。なお、本プリンタ2では、現像材としてCMYK各色の色材が用いられ、感光体への色材の供給、中間転写媒体への色材の供給、印刷媒体上への色材の供給のうち、少なくとも1つの処理では、色材の供給が色毎に独立して行なわれる。従って、本プリンタ2においても印刷媒体上での画像位置が色によってずれる可能性がある。   Next, the engine 22 includes a mechanical controller and a printing mechanism (not shown). The printing mechanism includes a photosensitive drum, a charging unit, an exposure unit, a developing device, a transfer unit, and the like (not shown). It is done. When printing is performed, the photosensitive drum is charged by the charging unit, and the charged photosensitive drum is irradiated with a beam from a light source such as a laser or an LED array built in the exposure unit to form a latent image by static electricity. Thereafter, the latent image is developed into an image by the developing material by a developing device including a toner cartridge that accommodates the developing material (toner), and the toner image developed by the transfer unit is transferred to a printing medium such as paper, and is fixed by the fixing unit. It is fixed and discharged out of the printer 2. In this printer 2, color materials of CMYK colors are used as developing materials. Among the supply of color materials to the photosensitive member, the supply of color materials to the intermediate transfer medium, and the supply of color materials onto the print medium, In at least one process, the color material is supplied independently for each color. Accordingly, in the printer 2 as well, there is a possibility that the image position on the print medium is shifted depending on the color.

以上説明したような構成を有する本プリンタ2では、ホストコンピュータ1から印刷要求を受けると、その印刷データが解釈されて、PDL形式であった画像データから、画素毎に各色の階調値を有するビットマップデータが生成される。このビットマップデータは、印刷媒体1枚に対して、色材であるCMYK各色のプレーンデータから構成され、RAM25のイメージバッファに格納される。その後、当該ビットマップに対してレジずれ対策としての補正処理が施され、補正処理後のビットマップデータがエンジンI/F27から読み出されて、前述した処理の後に、エンジン22での印刷処理が実行される。   In the printer 2 having the configuration as described above, when a print request is received from the host computer 1, the print data is interpreted, and the gradation value of each color is obtained for each pixel from the image data in the PDL format. Bitmap data is generated. The bitmap data is composed of CMYK color plane data as color materials for one print medium, and is stored in the image buffer of the RAM 25. Thereafter, correction processing is performed on the bitmap as a measure against misregistration, bitmap data after the correction processing is read from the engine I / F 27, and after the processing described above, printing processing in the engine 22 is performed. Executed.

前述したように、本プリンタ2では、上記レジずれ対策としての補正処理に特徴を有し、以下、当該処理の具体的な内容について説明する。   As described above, the printer 2 has a feature in the correction process as a countermeasure for the registration error, and the specific contents of the process will be described below.

図2は、CPU24が行なう上記補正処理の全体の手順を例示したフローチャートである。前述したように、印刷要求受信時に、CPU24によってビットマップデータの生成が完了すると、当該補正処理を開始し、まず、ラベリングの処理を行なう(ステップS100)。具体的には、上記生成されたビットマップデータに基づいて、各画素を所定のグループに種別し、その種別されたグループに応じたラベルを各画素に付加する。より具体的には、前述した種別データ(種別プレーン)を生成する。   FIG. 2 is a flowchart illustrating the overall procedure of the correction process performed by the CPU 24. As described above, when the generation of bitmap data is completed by the CPU 24 upon reception of a print request, the correction process is started, and first, a labeling process is performed (step S100). Specifically, based on the generated bitmap data, each pixel is classified into a predetermined group, and a label corresponding to the classified group is added to each pixel. More specifically, the above-described type data (type plane) is generated.

図3は、ビットマップデータと種別データを例示した図である。図3の(a)は、上記生成されたビットマップデータを例示しており、前述の通り、Cプレーン、Mプレーン、Yプレーン、Kプレーンから構成される。各プレーンの各画素(図中のp)は、各色の階調値を有しており、ここでは、0〜255の256階調で各色が表現されるものとして、各画素が0〜255のいずれかの値を有している。   FIG. 3 is a diagram illustrating bitmap data and type data. FIG. 3A illustrates the generated bitmap data, which is composed of a C plane, an M plane, a Y plane, and a K plane as described above. Each pixel (p in the figure) of each plane has a gradation value of each color. Here, each pixel is represented by 0 to 255, assuming that each color is expressed by 256 gradations of 0 to 255. It has either value.

図3の(b)は、図3の(a)に示すビットマップデータから生成される上記種別プレーンを例示しており、各画素(図中のp)は、上記ラベルを有している。本プリンタ2では、上記所定のグループを「白」、「カラー」、「混色K」、「単色K淡」、及び「単色K濃」の5種類としており、前記ビットマップデータのCMYK全ての値が0の画素については「白」に種別され、前記ビットマップデータのCMYのいずれかが0でない値でありKの値が0の画素については「カラー」に種別され、前記ビットマップデータのCMYのいずれかが0でない値でありKの値が0でない画素については「混色K」に種別され、前記ビットマップデータのCMY全ての値が0でKの値が予め定めた所定値a(例えば、4≦a≦255)未満の画素については「単色K淡」に種別され、前記ビットマップデータのCMY全ての値が0でKの値が上記所定値a以上の画素については「単色K濃」に種別される。   FIG. 3B illustrates the type plane generated from the bitmap data shown in FIG. 3A, and each pixel (p in the figure) has the label. In the printer 2, the predetermined group includes five types of “white”, “color”, “mixed color K”, “single color K light”, and “single color K dark”, and all values of CMYK of the bitmap data are included. Pixels with 0 are classified as “white”, and any of CMY of the bitmap data is a non-zero value and pixels with a K value of 0 are classified as “color”, and the CMY of the bitmap data A pixel having a non-zero value and a non-zero K value is classified as “mixed color K”, and all the CMY values of the bitmap data are 0 and the K value is a predetermined value a (for example, 4 ≦ a ≦ 255) is classified as “monochromatic K light”, and pixels having all the CMY values of the bitmap data of 0 and a K value equal to or greater than the predetermined value a are designated as “monochrome K darkness”. ".

従って、CPU24は、まず、前記ビットマップデータの各プレーンの値から各画素を上記の規則に従って種別し、その種別されたグループのラベルを種別プレーンの値とする。そして、例えば、「白」に種別された画素についてはラベルを0とし、「カラー」に種別された画素についてはラベルを1とし、「混色K」に種別された画素についてはラベルを2とし、「単色K淡」に種別された画素についてはラベルを3とし、「単色K濃」に種別された画素についてはラベルをK(プレーン)の階調値(a〜255)とする。   Therefore, the CPU 24 first classifies each pixel from the value of each plane of the bitmap data according to the above rule, and sets the label of the classified group as the value of the type plane. For example, for a pixel classified as “white”, the label is set to 0, for a pixel classified as “color”, the label is set to 1, and for a pixel classified as “mixed color K”, the label is set to 2. For a pixel classified as “monochromatic K light”, the label is set to 3, and for a pixel classified as “monochromatic K dark”, the label is set to a gradation value (a to 255) of K (plane).

このようにしてラベリングの処理が終了すると、CPU24は、当該種別データ(プレーン)を用いて対象としているビットマップデータの補正対象領域を検出し、当該領域について適宜補正を実行していく処理を行なう(ステップS200)。なお、かかる処理の具体的な内容については後述する。   When the labeling process is completed in this way, the CPU 24 detects a correction target area of the target bitmap data using the type data (plane), and performs a process of appropriately correcting the area. (Step S200). The specific contents of such processing will be described later.

次に、CPU24は、上記補正後のビットマップデータについて色材の総量による調整処理を実行し(ステップS400)、さらに、上記グループ「白」に種別された画素に接している部分についての変更処理(ステップS500)を実行する。上記調整処理は、印刷媒体に付着させる色材の総量が所定値以上になると不具合を起こす可能性があるため、上記補正後の各画素の階調値を当該所定値以下になるように調整するものであり、また、上記変更処理は、白い領域に隣接する部分にレジずれのための補正がなされることによる弊害を除去するために補正後のビットマップデータを変更するものである。これら処理についてもその具体的な内容については後述する。   Next, the CPU 24 executes adjustment processing based on the total amount of color material for the bitmap data after correction (step S400), and further changes processing for a portion in contact with the pixel classified as the group “white”. (Step S500) is executed. Since the adjustment process may cause a problem when the total amount of the color material attached to the print medium exceeds a predetermined value, the gradation value of each pixel after the correction is adjusted to be equal to or less than the predetermined value. In addition, the change process is to change the corrected bitmap data in order to remove the adverse effect caused by the correction for the registration error in the portion adjacent to the white area. The specific contents of these processes will be described later.

このような手順で、レジずれ対策としての全体の処理が行なわれるが、次に、上述したステップS200の処理、すなわち、補正対象領域の検出と補正の処理について具体的に説明する。図4は、当該処理を説明するために例示したビットマップデータを示す図である。また、図5は、当該処理の手順を例示したフローチャートである。   The entire process as a countermeasure for registration misalignment is performed in such a procedure. Next, the process of step S200 described above, that is, the process of detecting and correcting the correction target area will be described in detail. FIG. 4 is a diagram illustrating bitmap data exemplified for explaining the processing. FIG. 5 is a flowchart illustrating the procedure of the processing.

まず、CPU24は、一つの注目画素を選択する(ステップS210)。ここで、画素の選択は、例えば、ビットマップデータの左上の画素から開始して、その行の右へ順次選択していき、右端に達したら下の行に移って、左端から右へ順次選択していく、という手順を、繰り返して行なわれる。図4に示す例では、pで示す各四角が画素を表しており、左上からの矢印で示す順番で画素が選択されていく。   First, the CPU 24 selects one target pixel (step S210). Here, for example, the selection of pixels starts from the upper left pixel of the bitmap data, sequentially selects the right side of the row, moves to the lower row when the right end is reached, and sequentially selects from the left end to the right. This procedure is repeated. In the example shown in FIG. 4, each square indicated by p represents a pixel, and the pixels are selected in the order indicated by the arrow from the upper left.

次に、選択された注目画素が「カラー」であるか否かがチェックされる(ステップS220)。すなわち、当該注目画素が前述のラベリング処理で「カラー」のグループに種別されたものであるか否かが判断される。具体的には、前記生成した種別プレーンを参照して、当該画素が1の値を有しているか否かをチェックする。そして、1の値を有していない場合には当該画素は「カラー」でないと判断し(ステップS220のNo)、当該注目画素に関する処理を終了し、対象としているビットマップデータの全画素について処理が終了していなければ(ステップS390のNo)、次の注目画素を上記順番で選択する(S210)。   Next, it is checked whether or not the selected pixel of interest is “color” (step S220). That is, it is determined whether or not the pixel of interest is classified into the “color” group in the labeling process described above. Specifically, it is checked whether or not the pixel has a value of 1 with reference to the generated type plane. If the pixel does not have a value of 1, it is determined that the pixel is not “color” (No in step S220), the process relating to the pixel of interest is terminated, and the process is performed for all the pixels of the target bitmap data. If not completed (No in step S390), the next pixel of interest is selected in the above order (S210).

図4に示す例では、白色で表される画素(図中のC)は、「白」のグループに種別された白色の画素であり、グレーで表される画素(図中のA)は、「単色K濃」のグループに種別された濃いグレー又は黒色の画素であり、また、点や斜線で表される画素(図中のB)は、「カラー」のグループに種別された画素である。そして、当該例において、左上の画素が注目画素である場合には、上記処理によって、当該画素が「白」であって「カラー」でないので、注目画素が右隣の画素に移行する。そして、この処理が、図中のXで示す画素が注目画素として選択されるまで繰り返されることになる。   In the example shown in FIG. 4, a pixel represented by white (C in the figure) is a white pixel classified into the group of “white”, and a pixel represented by gray (A in the figure) Dark gray or black pixels classified into the “monochrome K dark” group, and pixels (B in the figure) represented by dots or diagonal lines are pixels classified into the “color” group. . In this example, when the upper left pixel is the target pixel, the pixel is “white” and not “color”, so that the target pixel shifts to the pixel on the right. This process is repeated until the pixel indicated by X in the figure is selected as the target pixel.

ステップS220に戻って、注目画素の種別データが1であり、当該画素が「カラー」であると判断された場合には(ステップS220のYes)、当該注目画素の一つの周辺画素が選択される(ステップS230)。図6は、周辺画素及び検出方向を説明するための図である。図6に示すXが上記注目画素を表しており、それに隣接する8画素(図中の1〜8)が周辺画素である。当該周辺画素の番号は選択される順番を例示している。従って、この例では、まず、「1」の画素が周辺画素として選択される。また、各周辺画素に示される矢印は、その周辺画素を基点として行なわれる、以下で説明する、補正すべき領域の検出方向を示している。従って、本プリンタ2では、画素の周辺8方向について補正を行なうか否かが判断され、補正が必要な方向については補正処理がなされることになる。   Returning to step S220, if it is determined that the type data of the target pixel is 1 and the pixel is “color” (Yes in step S220), one peripheral pixel of the target pixel is selected. (Step S230). FIG. 6 is a diagram for explaining peripheral pixels and detection directions. X shown in FIG. 6 represents the pixel of interest, and 8 pixels (1 to 8 in the drawing) adjacent to the pixel of interest are peripheral pixels. The numbers of the peripheral pixels illustrate the order of selection. Therefore, in this example, first, the pixel “1” is selected as the peripheral pixel. Further, the arrows shown for each peripheral pixel indicate the detection direction of the region to be corrected, which will be described below, which is performed with the peripheral pixel as a base point. Therefore, in the printer 2, it is determined whether or not correction is performed for the eight directions around the pixel, and correction processing is performed for the direction that needs correction.

次に、上記選択された周辺画素が「単色K濃」であるか否かが判断される(ステップS240)。当該処理も、前述した種別プレーンが参照されて、当該周辺画素の有する値がa〜255であれば、「単色K濃」であると判断し、そうでなければ、「単色K濃」でないと判断する。   Next, it is determined whether or not the selected peripheral pixel is “monochromatic K dark” (step S240). Also in this process, if the type plane described above is referred to and the values of the peripheral pixels are a to 255, it is determined that the color is “monochromatic K dark”, and otherwise, it is not “monochromatic K dark”. to decide.

当該判断の結果、「単色K濃」でないと判断された場合には(ステップS240のNo)、当該周辺がその処理を終了し、当該注目画素について上記8つの全ての周辺画素について処理が終了していなければ、すなわち8方向全部について処理が終了していなければ(ステップS380のNo)、次の周辺画素を選択する(S230)。図4及び図6に示す例では、周辺画素「2」、「4」、及び「8」については、「単色K濃」でないので上述のように処理がなされ、これらの方向については、補正処理がなされないことになる。   As a result of the determination, if it is determined that the color is not “monochrome K dark” (No in step S240), the periphery ends the process, and the process for all the eight peripheral pixels for the target pixel ends. If not, that is, if the processing has not been completed for all eight directions (No in step S380), the next peripheral pixel is selected (S230). In the example shown in FIGS. 4 and 6, the peripheral pixels “2”, “4”, and “8” are not “monochromatic K dark”, and thus the processing is performed as described above. Will not be done.

一方、周辺画素が「単色K濃」であると判断された場合には(ステップS240のYes)、当該周辺画素の上記検出方向(主方向)に同じ階調値のKの領域が存在しているか否かを判断する。具体的には、当該周辺画素から、主方向及びその左右方向に、予め定めた数b(例えば、5)個の画素について種別データをチェックし、それらの画素に、周辺画素と階調値が異なる「単色K濃」、「単色K淡」、または「混色K」が含まれていない場合には、当該処理を、主方向に1画素づつずらしながら順次進めていく。そして、主方向に「カラー」又は「白」の画素が出現すれば、主方向に前記周辺画素から当該画素までの間が同一階調値のKの領域であると判断する。従って、「カラー」である注目画素と同一階調値のKの領域が隣接していると判断し、当該主方向のKの領域について補正の対象とする。一方、上記処理の過程で、主方向に「カラー」又は「白」の画素が出現する前に、周辺画素と階調値が異なる「単色K濃」、「単色K淡」、または「混色K」が出現すれば、当該方向には、同一階調値のKの領域が存在しないと判断して、処理を次の周辺画素(方向)に移行させる。   On the other hand, if it is determined that the peripheral pixel is “monochromatic K dark” (Yes in step S240), there is a K area having the same gradation value in the detection direction (main direction) of the peripheral pixel. Determine whether or not. Specifically, the type data is checked for a predetermined number b (for example, 5) pixels in the main direction and the left and right directions from the peripheral pixels, and the peripheral pixels and the gradation values are determined for these pixels. When different “single color K dark”, “single color K light”, or “mixed color K” is not included, the processing is sequentially advanced while shifting by one pixel in the main direction. If a “color” or “white” pixel appears in the main direction, it is determined that the area from the peripheral pixel to the pixel in the main direction is a K area having the same gradation value. Accordingly, it is determined that a K area having the same gradation value as that of the pixel of interest that is “color” is adjacent, and the K area in the main direction is set as a correction target. On the other hand, before the “color” or “white” pixel appears in the main direction in the process, the “monochromatic K dark”, “monochromatic K light”, or “mixed color K”, which has a gradation value different from that of the surrounding pixels. ”Appears, it is determined that there is no K area having the same gradation value in that direction, and the process is shifted to the next peripheral pixel (direction).

かかる選択された周辺画素についての補正対象の検出処理は、より具体的には、図5のステップS250〜S360によって実現される。図7は、主方向が上である場合の補正対象検出処理を説明するための図である。   More specifically, the correction target detection process for the selected peripheral pixels is realized by steps S250 to S360 in FIG. FIG. 7 is a diagram for explaining correction target detection processing when the main direction is upward.

まず、選択された周辺画素をスタート画素とし(ステップS250)、順次、主方向に次の画素の階調値が周辺画素と同一であるかを種別データでチェックしていく(ステップS260、S270、及びS280のNo)。そして、b個の画素について同一階調値である場合には(ステップS280のYes)、処理が主方向に対して左右方向のいずれかの方向に移行し、当該方向について、上記スタート画素から、順次、次の画素の階調値が周辺画素と同一であるかを種別データでチェックしていく(ステップS290、S300、及びS310のNo)。そして、b個の画素について同一階調値である場合には(ステップS310のYes)、処理が残る左右方向のいずれかの方向に移行する(ステップS320及びS330)。そして、同様に、順次、b個の画素について同一階調値であるか否かのチェックがなされる。この結果、当該方向についてもb個の画素について同一階調値である場合には、前記設定したスタート画素についての一連の処理が終了し、主方向に次の画素をスタート画素として(ステップS350)、同様の処理が順次行なわれる(S260へ)。   First, the selected peripheral pixel is set as a start pixel (step S250), and it is sequentially checked with the type data whether the gradation value of the next pixel is the same as that of the peripheral pixel in the main direction (steps S260, S270,. And S280 No). Then, if the b pixels have the same gradation value (Yes in step S280), the process shifts in either the left or right direction with respect to the main direction. Sequentially, it is checked from the type data whether the gradation value of the next pixel is the same as that of the surrounding pixels (No in steps S290, S300, and S310). Then, if b pixels have the same gradation value (Yes in step S310), the process proceeds in either the left or right direction in which the process remains (steps S320 and S330). Similarly, it is sequentially checked whether or not b pixels have the same gradation value. As a result, when the same gradation value is set for b pixels in the direction, the series of processes for the set start pixel is completed, and the next pixel is set as the start pixel in the main direction (step S350). The same processing is sequentially performed (to S260).

図7に示す例では、まず、「0」で示される周辺画素がスタート画素とされて、主方向である上方向について、5画素(図中の「1」の画素)の上記チェックがなされる。次に、左方向5画素(図中の「2」の画素)及び右方向5画素(図中の「3」の画素)について、順次、上記チェックがなされる。その後は、スタート画素が、周辺画素の一つ上の画素(図中のp1)に設定されて、順次、同様の処理がなされることになる。   In the example shown in FIG. 7, first, the peripheral pixel indicated by “0” is set as a start pixel, and the above check is performed on five pixels (pixel “1” in the drawing) in the upper direction, which is the main direction. . Next, the above check is sequentially performed for five pixels in the left direction (pixel “2” in the drawing) and five pixels in the right direction (pixel “3” in the drawing). Thereafter, the start pixel is set to a pixel (p1 in the figure) that is one pixel above the surrounding pixels, and the same processing is sequentially performed.

また、上記左右方向の同一階調チェック(S300)において、同一階調でない場合には(ステップS300のNo)、その画素が「カラー」又「白」のいずれかであるか否かが種別データでチェックされ(ステップS340)、「カラー」又「白」のいずれかである場合には(ステップS340のYes)、その方向の処理を終了して処理がS320に移行する。一方、「カラー」又「白」のいずれかでない場合には(ステップS340のNo)、当該周辺画素の処理を終了して、処理がS380に移行する。   In the same gradation check (S300) in the left-right direction, if the gradation is not the same (No in step S300), it is determined whether the pixel is “color” or “white”. Is checked (step S340), and if it is either “color” or “white” (Yes in step S340), the process in that direction is terminated and the process proceeds to S320. On the other hand, if it is not “color” or “white” (No in step S340), the processing of the surrounding pixels is terminated, and the process proceeds to S380.

また、前記主方向の処理において同じ階調値でない画素が出現した場合には(ステップS270のNo)、その画素が「カラー」又「白」のいずれかであるか否かが種別データでチェックされる(ステップS360)。その結果、「カラー」又「白」のいずれかでない場合には(ステップS360のNo)、当該周辺画素の処理を終了して、処理がS380に移行する。   If a pixel that does not have the same gradation value appears in the processing in the main direction (No in step S270), it is checked in the type data whether the pixel is “color” or “white”. (Step S360). As a result, if it is not either “color” or “white” (No in step S360), the processing of the peripheral pixels is terminated, and the process proceeds to S380.

一方、「カラー」又「白」のいずれかである場合には(ステップS360のYes)、前述の通り、当該周辺画素(主方向)についての補正範囲が確定し、処理がステップS370に移行する。   On the other hand, if it is either “color” or “white” (Yes in step S360), as described above, the correction range for the peripheral pixel (main direction) is determined, and the process proceeds to step S370. .

図4に示す例において、例えば、注目画素Xの上方向(実線の矢印L1)について上記補正対象範囲の検出処理がなされると、図中で点線で示される矢印の方向に上述した主方向及び左右方向の処理がなされて、上部の「白」の画素で処理が終了し、実線の矢印L1の部分が補正対象範囲として確定する。   In the example shown in FIG. 4, for example, when the correction target range is detected in the upward direction of the target pixel X (solid arrow L1), the main direction described above in the direction of the arrow indicated by the dotted line in FIG. Processing in the left-right direction is performed, the processing ends at the upper “white” pixel, and the solid line arrow L1 portion is determined as the correction target range.

そして、ステップS370では、前記ビットマップデータについて実際の補正処理が実行される。具体的な処理の内容については後述する。   In step S370, an actual correction process is performed on the bitmap data. Details of the processing will be described later.

以上説明した1周辺画素についての処理が、前述した8つの周辺画素すべてについて実行される。図8は、右上の周辺画素についての処理を示した図である。図8では、図7と同様に、右上の周辺画素についてその主方向(右斜め上方向)の補正対象検出処理を示している。この方向の場合にも、まず、周辺画素(図中の0)をスタート画素として主方向及びその左右方向のチェックがなされ、必要に応じて、スタート画素が順次主方向に移動して同様の処理が繰り返されることになる。   The processing for one peripheral pixel described above is executed for all the eight peripheral pixels described above. FIG. 8 is a diagram showing processing for the upper right peripheral pixel. In FIG. 8, similarly to FIG. 7, correction target detection processing in the main direction (upper right direction) is shown for the upper right peripheral pixel. Also in this direction, first, the main pixel and its left-right direction are checked using the peripheral pixel (0 in the figure) as the start pixel, and if necessary, the start pixel sequentially moves in the main direction to perform similar processing. Will be repeated.

図4及び図6に示す注目画素Xについては、上記全周辺画素についての処理がなされると、5つの周辺画素(図6の1、3、5、6、7)について、図4の実線矢印の方向に「白」の領域に達するまで補正処理がなされることになる。   With respect to the target pixel X shown in FIG. 4 and FIG. 6, when the processing for all the peripheral pixels is performed, the solid arrows in FIG. 4 indicate five peripheral pixels (1, 3, 5, 6, and 7 in FIG. 6). Correction processing is performed until the “white” region is reached in the direction of.

このようにして、1注目画素についての処理が終了し(ステップS380のYes)、同様に、前述した順番で対象としているビットマップデータの全ての画素について処理が終了すると(ステップS390のYes)、補正対象の検出と補正の処理(S200)を終了する。   In this way, the process for one target pixel is completed (Yes in step S380), and similarly, when the process is completed for all pixels of the target bitmap data in the order described above (Yes in step S390), The correction target detection and correction processing (S200) ends.

以上説明した本プリンタ2における補正対象の検出と補正の処理では、「カラー」の画素に注目して、それに隣接する同一階調の濃い黒色領域を補正の対象として処理を行う。また、前述したように、本プリンタ2では、周辺画素についての処理において、その主方向に対して左右方向の所定幅についてチェックを行い、周辺画素と階調値が異なる「単色K濃」、「単色K淡」、または「混色K」が出現すれば、その主方向については補正処理を行なわない。これは、当該主方向に存在した「単色K濃」の画素が、同一階調の濃い黒色領域の一部ではなく、写真画像や黒色のグラデーションとなった領域の一部であると判断するものであり、従って、本プリンタ2では、写真画像や黒色のグラデーションとなった領域に対しては、補正処理が行なわれない。   In the correction target detection and correction processing in the printer 2 described above, attention is paid to the “color” pixel, and the processing is performed on the dark black region of the same gradation adjacent to the pixel as the correction target. Further, as described above, the printer 2 checks the predetermined width in the left-right direction with respect to the main direction in the processing for the peripheral pixels, and “monochrome K dark”, “ If “single color K light” or “mixed color K” appears, correction processing is not performed for the main direction. This is because the “monochromatic K dark” pixels present in the main direction are determined not to be part of a dark black area of the same gradation but to a part of a photographic image or a black gradation area. Therefore, the printer 2 does not perform the correction process on the photographic image or the black gradation area.

このような処理が行なわれることにより、本プリンタ2では、カラーを背景とする黒色の文字や図形の外側に発生する、レジずれによる白抜けに対して有効な補正ができると共に、写真画像や黒色のグラデーションとなった領域に対しては元の色が保たれ、画質の劣化が生じない。   By performing such processing, the printer 2 can effectively correct white spots caused by misregistration that occur outside of black characters and figures having a color background, and can also produce photographic images and black. The original color is maintained in the gradation area, and the image quality is not deteriorated.

図4に示した例では、Aで示す濃いグレー又は黒色の画素の領域に対して上記補正処理がなされることになる。   In the example shown in FIG. 4, the above correction process is performed on the dark gray or black pixel area indicated by A.

次に、上述した補正処理(S370)について詳しく説明する。図9は、検出された補正箇所に対する補正処理の手順を例示したフローチャートである。前述したように、ある注目画素の一つの周辺画素について補正処理を実行することが決定されると(S360のYes)、当該周辺画素のKの階調値が255であるか否かがチェックされる(ステップS371)。すなわち、Kの最高階調である真黒か、前記所定値a以上の濃いグレーであるかが判断される。具体的には、当該周辺画素の種別データを参照して判断する。   Next, the above-described correction process (S370) will be described in detail. FIG. 9 is a flowchart illustrating the procedure of the correction process for the detected correction location. As described above, when it is decided to perform the correction process on one peripheral pixel of a certain target pixel (Yes in S360), it is checked whether or not the K gradation value of the peripheral pixel is 255. (Step S371). That is, it is determined whether it is true black, which is the highest gradation of K, or dark gray, which is the predetermined value a or more. Specifically, the determination is made with reference to the type data of the surrounding pixels.

その結果、前記周辺画素のKの階調値が255であれば(ステップS371のYes)、当該注目画素(「カラー」)の各色の階調値を前記ビットマップデータから取得する(ステップS372)。   As a result, if the K gradation value of the peripheral pixel is 255 (Yes in step S371), the gradation value of each color of the pixel of interest (“color”) is acquired from the bitmap data (step S372). .

一方、前記周辺画素のKの階調値が255でなければ(ステップS371のNo)、予め用意されているコンポジットKの対応テーブルを参照して、当該周辺画素の階調値に対応するコンポジットKの各色の階調値を取得する(ステップS373)。図10は、当該コンポジットKの対応テーブルを例示した図である。ここで、コンポジットKとは、単色Kの色をCMYKの混色で表現したものであり、その各色の階調値は、単色Kの値に対してプリンタの機種等によって定められている。図10に示す例では、例えば、単色Kの階調値が203である場合には、その色を表現するコンポジットKの各色の階調値は、それそれ、128(C)、114(M)、96(Y)、139(K)となる。上記処理では、このようなテーブルが参照されて対応する各色の階調値が取得される。なお、当該対応テーブルは、ROM26等に格納される。   On the other hand, if the K gradation value of the peripheral pixel is not 255 (No in step S371), the composite K corresponding to the gradation value of the peripheral pixel is referred to by referring to a composite K correspondence table prepared in advance. The gradation value of each color is acquired (step S373). FIG. 10 is a diagram illustrating an example of the composite K correspondence table. Here, the composite K represents a single color K expressed by a mixed color of CMYK, and the gradation value of each color is determined by the printer model or the like for the single color K value. In the example shown in FIG. 10, for example, when the gradation value of a single color K is 203, the gradation values of each color of the composite K representing that color are 128 (C) and 114 (M), respectively. 96 (Y) and 139 (K). In the above process, such a table is referred to, and the gradation value of each corresponding color is acquired. The correspondence table is stored in the ROM 26 or the like.

次に、上述した階調値の取得(S372又はS373)がなされると、まず、上記周辺画素が選択され(ステップS374)、当該画素に対する上記取得した階調値による補正処理を行う(ステップS375)。すなわち、取得した階調値によって当該画素のビットマップデータを変更する。   Next, when the above-described gradation value acquisition (S372 or S373) is performed, first, the peripheral pixel is selected (step S374), and the correction process using the acquired gradation value for the pixel is performed (step S375). ). That is, the bitmap data of the pixel is changed according to the acquired gradation value.

上記取得の処理で、注目画素の階調値を取得した場合には(S372)、当該取得した階調値をその時点のビットマップデータの値に加える処理を行う。当該画素に始めて当該補正処理がなされる場合には、ビットマップデータの各色の階調値は、CMYKの順に(0,0,0,255)であるので、注目画素(「カラー」、K=0)のCMYの値cmyが加えられて当該画素のビットマップデータは(c,m,y,255)に補正される。例えば、注目画素の階調値が(100,0,0,0)であれば、(100,0,0,255)に補正される。また、当該画素にすでに当該補正処理がなされていて、CMYに0以外の値を有している場合には、色毎に、すでに有している値と今回加える値の平均値を補正後の値とする。例えば、(100,0,0,255)である状態に注目画素の階調値が(50,0,0,0)の補正処理を行う場合には、(75,0,0,255)という値に補正される。   When the gradation value of the target pixel is acquired in the acquisition process (S372), a process of adding the acquired gradation value to the bitmap data value at that time is performed. When the correction processing is performed for the pixel for the first time, the gradation value of each color of the bitmap data is (0, 0, 0, 255) in the order of CMYK, so the pixel of interest (“color”, K = 0) CMY value cmy is added and the bitmap data of the pixel is corrected to (c, m, y, 255). For example, if the gradation value of the target pixel is (100, 0, 0, 0), it is corrected to (100, 0, 0, 255). If the pixel has already been subjected to the correction process and CMY has a value other than 0, the average value of the value already added and the value added this time is corrected for each color. Value. For example, when correction processing is performed with the gradation value of the target pixel being (50, 0, 0, 0) in the state of (100, 0, 0, 255), it is referred to as (75, 0, 0, 255). It is corrected to the value.

また、上記取得の処理で、コンポジットKの階調値を取得した場合には(S373)、その時点のビットマップデータが取得したコンポジットKの階調値に置き換えられる。例えば、(0,0,0,203)である場合には、図10のテーブルに示される(128,114,96,139)の値に変更される。   When the composite K gradation value is acquired in the acquisition process (S373), the bitmap data at that time is replaced with the acquired composite K gradation value. For example, in the case of (0, 0, 0, 203), the value is changed to (128, 114, 96, 139) shown in the table of FIG.

このようにして当該画素についての補正が終わると、前記主方向に次の画素を選択し(ステップS376)、その画素が「白」又は「カラー」でなければ(ステップS377のNo)、処理がS375に戻って、当該選択された画素について前述した補正処理がなされる。   When the correction for the pixel is completed in this way, the next pixel is selected in the main direction (step S376). If the pixel is not “white” or “color” (No in step S377), the process is performed. Returning to S375, the correction processing described above is performed for the selected pixel.

この次画素の選択と補正の処理が「白」又は「カラー」の画素に達するまで繰り返し行われ、「白」又は「カラー」の画素に達すれば(ステップS377のYes)、当該補正処理(S370)を終了する。なお、上記「白」又は「カラー」の画素であるか否かの判断は、前述した種別データによって行われる。   This next pixel selection and correction process is repeated until reaching the “white” or “color” pixel. If the “white” or “color” pixel is reached (Yes in step S377), the correction process (S370) is performed. ) Ends. Whether the pixel is “white” or “color” is determined based on the type data described above.

以上説明した処理により、一つの周辺画素(注目画素の一方向)について処理が実行されることになる。具体的には、注目画素である「カラー」の画素から当該周辺画素の方向に続く同じ階調値を有する濃いグレーの画素の列であって、注目画素の反対側において「白」又は「カラー」の画素に接する列、に対して補正処理がなされ、当該列の画素について、ビットマップデータがCMYいずれかの階調値を有することになる。図4に示した例において、例えば、注目画素Xの上方向については、実線矢印L1で示す列の画素に対して補正処理がなされることになる。   With the processing described above, processing is executed for one peripheral pixel (one direction of the target pixel). Specifically, it is a column of dark gray pixels having the same gradation value continuing from the “color” pixel as the target pixel in the direction of the peripheral pixel, and “white” or “color” on the opposite side of the target pixel. ”Is applied to the column in contact with the pixel“ ”, and the bitmap data has any one of CMY gradation values for the pixel in the column. In the example illustrated in FIG. 4, for example, with respect to the upward direction of the target pixel X, correction processing is performed on the pixels in the column indicated by the solid line arrow L1.

このように、補正処理がなされることにより、レジずれによってKの色材の供給処理が注目画素から離れる方向にずれてしまった場合にも、注目画素と隣接する領域にK以外の色の色材が供給される画像データとなっているのでいわゆる白抜けは発生しなくなる。   As described above, even when the supply process of the K color material is shifted in the direction away from the target pixel due to the registration shift, the color of a color other than K is displayed in the region adjacent to the target pixel. Since the image data is supplied from the material, so-called white spots do not occur.

また、本プリンタ2では、上述のように補正対象領域のKの階調値によって補正処理が異なり、最高階調値(255)であれば注目画素の色が加えられ、所定階調値以上の濃いグレーであればコンポジットKに置き換えられる。これは、真黒でないグレーの部分に注目画素の色を加えてしまうと視覚的に色が変わって、画質の劣化を招く可能性があるためであり、このよう部分にコンポジットKを用いることで、当該弊害を防ぐことができる。   Further, in the printer 2, the correction process differs depending on the K gradation value of the correction target region as described above, and the color of the pixel of interest is added if the maximum gradation value (255) is greater than or equal to a predetermined gradation value. If it is dark gray, it will be replaced with composite K. This is because if the color of the pixel of interest is added to a gray portion that is not true black, the color may visually change, leading to degradation of image quality. By using the composite K for such a portion, This harmful effect can be prevented.

次に、前述した色材の総量による調整処理(S400)について説明する。前述した処理により、対象としているビットマップデータの全体について補正の処理までが終了すると、CPU24は、各画素毎に、その時点でのビットマップデータの各色の階調値の総計が、予め定められている総量を超えているか否かをチェックする。そして、超えている画素については、各色の階調値の総計が当該総量以内となるように、ビットマップデータを修正する。具体的には、CMYの各階調値を、上記総量からKの階調値を指し引いた残分をその時点でのCMYの各階調値に応じて比例配分した値とする。例えば、その時点でのビットマップデータが、(255,0,255,255)であり、上記総量が612(最高階調値255を100%として240%)の場合には、ビットマップデータの値を(178,0,178,255)に修正する。このような総量調整の処理を行うことにより、印刷媒体に付着させる色材の総量が多すぎて不具合を起こすことを防止することができる。   Next, the adjustment process (S400) based on the total amount of the color material described above will be described. When the processing up to the correction of the entire bitmap data as a target is completed by the above-described processing, the CPU 24 determines in advance for each pixel the total gradation value of each color of the bitmap data at that time. Check whether the total amount is exceeded. For the exceeding pixels, the bitmap data is corrected so that the total of the gradation values of each color is within the total amount. Specifically, each CMY tone value is a value obtained by proportionally distributing the remainder obtained by subtracting the K tone value from the total amount according to each CMY tone value at that time. For example, when the bitmap data at that time is (255, 0, 255, 255) and the total amount is 612 (240% with the maximum gradation value 255 as 100%), the value of the bitmap data Is corrected to (178, 0, 178, 255). By performing such total amount adjustment processing, it is possible to prevent the total amount of the color material to be adhered to the print medium from being too large and causing problems.

次に、前述した「白」に接している部分についての変更処理(S500)についてその具体的な処理内容を説明する。図11は、当該変更処理の手順を例示したフローチャートである。   Next, the specific processing content of the change processing (S500) for the portion in contact with the above-described “white” will be described. FIG. 11 is a flowchart illustrating the procedure of the change process.

以上説明した総量調整処理(S400)が終了すると、CPU24は、「白」の画素に隣接し、前述した補正処理(S370)が施されている領域を検出し、当該検出された領域についてビットマップデータの変更処理を行う。具体的には、図5に基づいて説明した補正箇所の検出と同様に、順次、各画素を注目画素として選択し、「白」の注目画素の場合には、その周囲8方向について補正がなされているか否かを検出し、補正がなされている方向については所定の変更処理を実行する。より具体的には、以下のように処理を実行する。   When the total amount adjustment process (S400) described above is completed, the CPU 24 detects an area adjacent to the “white” pixel and subjected to the above-described correction process (S370), and the detected area is bitmapped. Perform data change processing. Specifically, in the same manner as the detection of the correction location described with reference to FIG. 5, each pixel is sequentially selected as the target pixel, and in the case of the “white” target pixel, correction is performed in the surrounding eight directions. It is detected whether or not the direction is corrected, and a predetermined change process is executed for the corrected direction. More specifically, the process is executed as follows.

まず、補正箇所の検出の場合と同様な順番でビットマップデータの各画素を注目画素として選択する(ステップS501)。そして、その画素が「白」であるか否かを種別データで判別し(ステップS502)、「白」でなければ次の画素を注目画素として選択する(S502のNo、S510のNo、S501)。   First, each pixel of the bitmap data is selected as a pixel of interest in the same order as in the case of detecting a correction location (step S501). Whether or not the pixel is “white” is determined based on the type data (step S502). If it is not “white”, the next pixel is selected as the target pixel (No in S502, No in S510, and S501). .

一方、「白」であれば(ステップS502のYes)、補正箇所の検出の場合と同様に、一つの周辺画素を選択し(ステップS503)、その画素が「単色K濃」であるか否かを種別データにより判断する(ステップS504)。   On the other hand, if it is “white” (Yes in step S502), one peripheral pixel is selected (step S503) as in the case of detecting the correction portion, and whether or not the pixel is “monochromatic K dark”. Is determined from the type data (step S504).

そして、「単色K濃」でない場合には(ステップS504のNo)、その方向には補正箇所がないと判断して、次の方向に移行し、次の周辺画素を選択する(S509のNo、S503)。   If it is not “single color K dark” (No in step S504), it is determined that there is no correction portion in that direction, the process proceeds to the next direction, and the next peripheral pixel is selected (No in S509). S503).

一方、「単色K濃」である場合には(ステップS504のYes)、主方向に次の画素を選択し(ステップS505)、その画素が「カラー」であるか否かを種別データによりチェックする(ステップS506)。そして、「カラー」でない場合には(ステップS506のNo)、当該画素が前記周辺画素と同一階調値の「単色K濃」であるか否かをチェックする(ステップS507)。そして、同一階調値の「単色K濃」である場合には(ステップS507のYes)、処理がS505に戻って、主方向に次の画素を選択する。   On the other hand, if it is “Monochrome K Dark” (Yes in Step S504), the next pixel is selected in the main direction (Step S505), and it is checked based on the type data whether the pixel is “Color”. (Step S506). If it is not “color” (No in step S506), it is checked whether or not the pixel is “monochromatic K dark” having the same gradation value as the surrounding pixels (step S507). If it is “monochrome K dark” with the same gradation value (Yes in step S507), the process returns to S505 to select the next pixel in the main direction.

このように、「カラー」の画素、あるいは、前記周辺画素と同一階調値の「単色K濃」でない画素に達するまで、順次、主方向に進んでいき、前記周辺画素と同一階調値の「単色K濃」でない画素に達した場合には(ステップS507のNo)、当該方向には補正された領域はないと判断して、次の方向に処理が移行する(S509のNo、S503)。   In this way, the process proceeds sequentially in the main direction until reaching a “color” pixel or a pixel that is not “monochromatic K dark” having the same gradation value as the peripheral pixel, and has the same gradation value as that of the peripheral pixel. When a pixel that is not “monochrome K dark” has been reached (No in step S507), it is determined that there is no corrected area in that direction, and the process proceeds to the next direction (No in S509, S503). .

一方、「カラー」の画素に達した場合には(ステップS506のYes)、当該方向に補正された領域があると判断してビットマップデータの変更処理を行う(ステップS508)。具体的には、注目画素(「白」)から上記「カラー」の画素間の、前記補正処理が施されている画素列のうち、注目画素(「白」)側の画素について、上記補正処理前のビットマップデータの状態に戻す変更を行う。すなわち、K以外の色の階調値を0にする。   On the other hand, when the pixel reaches “color” (Yes in step S506), it is determined that there is an area corrected in the direction, and bitmap data change processing is performed (step S508). Specifically, the correction processing is performed on the pixel on the target pixel (“white”) side in the pixel row subjected to the correction processing between the pixel of interest (“white”) and the “color” pixel. Change back to the previous bitmap data state. That is, the gradation values of colors other than K are set to zero.

より具体的には、補正を施された画素のKの階調値が255である場合には、加えられた前記注目画素(「カラー」)の階調値を消し、補正を施された画素のKの階調値が255でない場合には、コンポジットKの表現を元の単色Kの表現に戻す。また、当該変更処理を施す範囲は、上記補正処理が施されている画素列で、「カラー」の画素側から所定数の画素を除いた部分とする。当該所定数は、レジずれによって起こりうる色間の最大位置ずれの値とする。すなわち、レジずれによって、例えば、最大5画素位置がずれる可能性がある場合には当該所定数は5とする。なお、上記画素列に含まれる画素がこの所定数に満たない場合には、「白」側の1画素について前記変更を施す。   More specifically, when the K gradation value of the corrected pixel is 255, the gradation value of the added target pixel (“color”) is erased and the corrected pixel is applied. If the gradation value of K is not 255, the composite K representation is returned to the original monochrome K representation. In addition, the range in which the change process is performed is a portion in which a predetermined number of pixels are excluded from the “color” pixel side in the pixel row subjected to the correction process. The predetermined number is a value of a maximum positional shift between colors that can occur due to a registration shift. That is, for example, when there is a possibility that the position of a maximum of 5 pixels may be shifted due to a registration error, the predetermined number is set to 5. When the number of pixels included in the pixel row is less than the predetermined number, the above change is applied to one pixel on the “white” side.

図12は、当該変更処理を説明するための図である。図12の(a)は、K=255の「単色K濃」の画素列に補正がなされ、その後、左端において「白」の画素に接していることにより上記変更処理がなされた場合を示している。図中において「100」は、右端の「カラー」画素の階調値の100%がその下の画素に加えられていることを示している。この場合、上述した所定数は5であり、従って、「カラー」画素側の5つの画素は変更処理がなされず、「白」画素側の5つの画素については変更処理がなされて「100」の追加が消されている。   FIG. 12 is a diagram for explaining the change process. FIG. 12A shows a case where correction is performed on a “monochromatic K dark” pixel column with K = 255, and then the above-described change processing is performed due to contact with a “white” pixel at the left end. Yes. In the figure, “100” indicates that 100% of the gradation value of the “color” pixel at the right end is added to the pixel below it. In this case, the predetermined number described above is 5, and therefore, the five pixels on the “color” pixel side are not changed, and the five pixels on the “white” pixel side are changed and changed to “100”. The addition has been erased.

図12の(b)に示す例は、K=255の「単色K濃」の画素列が両側を「カラー」画素に挟まれている場合であり、「白」画素に接していないので上記変更処理がなされず、補正処理の結果(「100」)がそのまま残っている。   The example shown in FIG. 12B is a case where a pixel row of “monochromatic K dark” with K = 255 is sandwiched between “color” pixels on both sides, and is not in contact with “white” pixels. The processing is not performed, and the correction processing result (“100”) remains as it is.

また、図12の(c)は、K=255でない「単色K濃」の画素列に補正がなされ、その後、左端において「白」の画素に接していることにより上記変更処理がなされた場合を示している。図12の(a)の場合と同様に、右の「カラー」画素側の5画素については、補正処理によってコンポジットKとされた状態が残っており、「白」画素側の5画素については、変更処理によって元の単色Kになっている。   FIG. 12C shows a case where the above-described change processing is performed by correcting the “single color K dark” pixel row other than K = 255 and then contacting the “white” pixel at the left end. Show. As in the case of FIG. 12A, the five pixels on the right “color” pixel side remain in the composite K state by the correction process, and the five pixels on the “white” pixel side remain. The original single color K is obtained by the change process.

図12の(d)に示す例は、K=255でない「単色K濃」の画素列が両側を「カラー」画素に挟まれている場合であり、「白」画素に接していないので上記変更処理がなされず、補正処理の結果(コンポジットK)がそのまま残っている。   The example shown in (d) of FIG. 12 is a case where a pixel row of “monochromatic K dark” other than K = 255 is sandwiched between “color” pixels on both sides, and is not in contact with “white” pixels. The processing is not performed, and the correction processing result (composite K) remains as it is.

なお、上記の説明では、「カラー」画素側の所定数の画素について、補正処理の結果をそのまま残しているが、補正処理によって追加した「カラー」の値を、「白」画素側に行くに従って徐々に減らすようにしてもよい。例えば、所定数の画素の次の画素で追加量が0になるように、直線的に値を減らしていくことができる。図4のDに示す例では、右側の「カラー」画素の100%の階調値が、補正対象画素列の右端の画素に加えられ、順次、左側に行くに従って、その80%、60%、40%、20%と追加される階調値が少なくなり、6つ目の画素で補正がされていない状態となる。   In the above description, the result of the correction process is left as it is for a predetermined number of pixels on the “color” pixel side, but the value of “color” added by the correction process goes to the “white” pixel side. You may make it reduce gradually. For example, the value can be decreased linearly so that the additional amount becomes 0 at the pixel next to a predetermined number of pixels. In the example shown in D of FIG. 4, 100% gradation value of the “color” pixel on the right side is added to the rightmost pixel of the correction target pixel row, and sequentially 80%, 60%, The added gradation values of 40% and 20% are reduced, and the sixth pixel is not corrected.

図11に戻って、以上説明したように変更処理(S508)がなされると、当該方向(周辺画素)についての処理が終了する。   Returning to FIG. 11, when the change process (S508) is performed as described above, the process for the direction (peripheral pixels) is completed.

以上説明したような処理が、8方向全てについて完了すると(ステップS509のYes)、当該注目画素についての処理が終了する。そして、同様に、当該ビットマップデータの全画素について処理が終了すれば(ステップS510のYes)、当該変更処理(S500)が終了する。   When the process as described above is completed for all eight directions (Yes in step S509), the process for the pixel of interest ends. Similarly, when the process is completed for all the pixels of the bitmap data (Yes in step S510), the change process (S500) is terminated.

このように、本プリンタ2では、「カラー」に隣接する黒又は濃いグレーの領域にレジずれ対策としての補正処理、すなわち、CMYいずれかの色の追加が行われるが、その領域が「白」に接している場合には、その「白」側の上記色の追加が取り消される。これにより、レジずれによってKの色材が上記「白」から離れる方向にずれた場合に、本来必要のない補正処理によって追加したCMYの色が現れてしまうという不具合を防止することができる。また、その際、上記「カラー」側では、必要量の補正された領域が残っているので、「カラー」側のレジずれ対策に支障をきたすことはない。   As described above, in this printer 2, correction processing as a measure against registration displacement is performed on a black or dark gray area adjacent to “color”, that is, any one of CMY colors is added, but the area is “white”. If it touches, the addition of the color on the “white” side is canceled. As a result, when the K color material is shifted in the direction away from the “white” due to the misregistration, it is possible to prevent a problem that the CMY color added by the correction process which is not necessary originally appears. At that time, since the necessary amount of the corrected area remains on the “color” side, there is no problem in the countermeasure against the misregistration on the “color” side.

なお、上述の説明では、画像形成対象の全補正対象領域に補正処理がなされた後、上記「白」に接している部分の変更処理がなされるが、補正対象領域毎に上記補正処理と上記変更処理を行なうなど、他の処理手順で処理が行なわれても構わない。   In the above description, after the correction process is performed on all the correction target areas of the image formation target, the change process of the portion in contact with the “white” is performed. However, the correction process and the above process are performed for each correction target area. The process may be performed according to another processing procedure such as a change process.

以上説明した本実施の形態例では、レジずれ対策としての上記補正処理(図2に示す処理)をプログラムに従ったCPU24の処理としたが、エンジンI/F27などASICによる処理で実行するようにしてもよい。また、前記ビットマップデータをホストコンピュータ1側で生成する印刷システムでは、当該補正処理をプリンタドライバ11で実行するようにしてもよい。この場合には、上記補正処理後のデータがプリンタ2へ送信されて、同様の印刷が実行される。   In the present embodiment described above, the correction process (the process shown in FIG. 2) as a measure against registration error is the process of the CPU 24 according to the program. However, the correction process is executed by an ASIC process such as the engine I / F 27. May be. In the printing system that generates the bitmap data on the host computer 1 side, the correction process may be executed by the printer driver 11. In this case, the corrected data is transmitted to the printer 2 and the same printing is executed.

以上説明したように本実施の形態例に係るプリンタ2では、単色の領域であって当該色以外の色を有している画素と接している補正対象領域については、レジずれ対策としての補正処理が実行され、その後、当該補正対象領域の白色の画素と接している部分については変更処理がなされて、元の色に戻される。従って、上記補正対象領域であっても、白色の画素と隣接している所定の部分については上記補正処理がなされないことになる。これにより、レジずれによって上記単色の色材が上記白色の画素から離れる方向にずれた場合に、補正処理によって追加された、本来必要のない色が現れてしまうという不具合を防止することができ、かつ、上記補正処理において、上記単色以外の色を有している画素の側では、必要量の補正された領域が残されるので、当該画素側のレジずれ対策に支障をきたすこともない。   As described above, in the printer 2 according to the present embodiment, correction processing as a measure against registration deviation is performed on a correction target region that is a single color region and is in contact with a pixel having a color other than the color. Then, a change process is performed on the portion of the correction target area that is in contact with the white pixel, and the original color is restored. Therefore, even in the correction target region, the correction process is not performed for a predetermined portion adjacent to the white pixel. Thereby, when the color material of the single color is shifted in the direction away from the white pixel due to misregistration, it is possible to prevent a problem that an unnecessary color added by the correction process appears. In the correction process, since a necessary amount of the corrected region remains on the side of the pixel having a color other than the single color, there is no hindrance to the measure against the registration error on the pixel side.

また、本プリンタ2では、レジずれ対策としての補正処理が、ビットマップデータの生成後に画素単位で実行される。そして、まず、各画素を識別するラベリングを実行し、当該ラベリングによって得られた各画素を識別するデータを利用して補正対象箇所の検出を行い、その検出結果に基づいて補正を実行する。従って、オブジェクト単位での処理のように補正対象に抜けがでることがなく、確実な処理が実行できると共に、上記ラベリングにより処理を簡便にかつ高速に行うことができる。   In the printer 2, correction processing as a measure against registration misalignment is executed in units of pixels after the bitmap data is generated. First, labeling for identifying each pixel is executed, a correction target portion is detected using data for identifying each pixel obtained by the labeling, and correction is executed based on the detection result. Therefore, there is no omission of the correction target as in the object unit process, and a reliable process can be executed, and the process can be performed simply and at high speed by the labeling.

また、補正対象としては、「カラー」領域に隣接する同一階調の「単色K濃」領域とし、その領域にK以外の色が追加される。従って、レジずれによってKの位置が「カラー」領域から離れる方向にずれてもいわゆる白抜けを防止することができる。すなわち、ビジネスユースで最も頻繁に起こるレジずれによる不具合を有効に防止することができる。   The correction target is a “monochrome K dark” area of the same gradation adjacent to the “color” area, and colors other than K are added to the area. Therefore, even if the position of K shifts away from the “color” region due to misregistration, so-called white spots can be prevented. That is, it is possible to effectively prevent problems due to the register misalignment that occurs most frequently in business use.

また、上述した処理により、Kと他の色が混ざった写真画像などの領域やKのグラデーションとなった領域に対して補正処理が行われないので、当該領域の画質の劣化を起こすことがない。   In addition, the above-described processing does not perform correction processing on a region such as a photographic image in which K and other colors are mixed or a region having a gradation of K, so that the image quality of the region is not deteriorated. .

また、上述した補正対象の検出処理では、対象画素の全方向について補正をするか否かのチェックを行うので、抜けのない確実なレジずれ対策を取ることができる。   Further, in the correction target detection process described above, since it is checked whether or not correction is performed in all directions of the target pixel, it is possible to take a reliable countermeasure against misregistration without missing.

なお、上記の実施の形態例では、本発明を適用する画像形成装置がプリンタであったが、本発明は複写機等にも適用することができる。   In the above embodiment, the image forming apparatus to which the present invention is applied is a printer. However, the present invention can also be applied to a copying machine or the like.

本発明の保護範囲は、上記の実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶものである。   The protection scope of the present invention is not limited to the above-described embodiment, but covers the invention described in the claims and equivalents thereof.

本発明を適用した画像形成装置であるプリンタの実施の形態例に係る構成図である。1 is a configuration diagram according to an embodiment of a printer which is an image forming apparatus to which the present invention is applied. FIG. CPU24が行なう補正処理の全体の手順を例示したフローチャートである。It is the flowchart which illustrated the whole procedure of the correction process which CPU24 performs. ビットマップデータと種別データを例示した図である。It is the figure which illustrated bitmap data and classification data. 補正対象の検出と補正の処理を説明するために例示したビットマップデータを示す図である。It is a figure which shows the bitmap data illustrated in order to demonstrate the detection of correction | amendment object, and the process of correction | amendment. 補正対象の検出と補正の処理を例示したフローチャートである。5 is a flowchart illustrating an example of correction target detection and correction processing. 周辺画素及び検出方向を説明するための図である。It is a figure for demonstrating a surrounding pixel and a detection direction. 主方向が上である場合の補正対象検出処理を説明するための図である。It is a figure for demonstrating the correction target detection process in case a main direction is up. 右上の周辺画素についての処理を示した図である。It is the figure which showed the process about the upper right peripheral pixel. 検出された補正箇所に対する補正処理の手順を例示したフローチャートである。It is the flowchart which illustrated the procedure of the correction process with respect to the detected correction | amendment location. コンポジットKの対応テーブルを例示した図である。It is the figure which illustrated the correspondence table of composite K. 白に接している部分の変更処理の手順を例示したフローチャートである。It is the flowchart which illustrated the procedure of the change process of the part which touches white. 白に接している部分の変更処理を説明するための図である。It is a figure for demonstrating the change process of the part which touches white.

符号の説明Explanation of symbols

1 ホストコンピュータ、 2 プリンタ、 11 プリンタドライバ、 21 コントローラ(補正手段)、 22 エンジン、 23 I/F、 24 CPU、 25 RAM、 26 ROM、 27 エンジンI/F   1 host computer, 2 printer, 11 printer driver, 21 controller (correction means), 22 engine, 23 I / F, 24 CPU, 25 RAM, 26 ROM, 27 engine I / F

Claims (6)

画像形成に複数の色材を用い、各画素が前記色材の各色の階調値を有するビットマップデータに基づいて前記画像形成を行なう画像形成装置であって、
前記画像形成の対象のうち、単色の領域であって、当該単色を含まない他の色からなる画素と隣接する補正対象領域の、前記ビットマップデータに対して、前記階調値を補正する補正処理を実行する補正手段を有し、
前記補正対象領域のうち、白色の画素と隣接している所定領域については、前記補正処理が行なわれない
ことを特徴とする画像形成装置。
An image forming apparatus that uses a plurality of color materials for image formation and performs image formation based on bitmap data in which each pixel has a gradation value of each color of the color material,
Correction that corrects the gradation value for the bitmap data in a correction target area adjacent to a pixel of another color that does not include the single color in the image formation target. Having correction means for executing processing;
The image forming apparatus, wherein the correction process is not performed for a predetermined area adjacent to the white pixel in the correction target area.
請求項1において、
前記補正手段は、前記補正対象領域について前記補正処理を実行した後に、前記白色の画素と隣接している所定領域について、前記ビットマップデータを前記補正処理前の状態に戻す
ことを特徴とする画像形成装置。
In claim 1,
The correction means returns the bitmap data to a state before the correction process for a predetermined area adjacent to the white pixel after executing the correction process for the correction target area. Forming equipment.
請求項1あるいは請求項2において、
前記単色は、黒色である
ことを特徴とする画像形成装置。
In claim 1 or claim 2,
The image forming apparatus according to claim 1, wherein the single color is black.
請求項1乃至請求項3のいずれかにおいて、
前記補正対象領域のうち、前記単色を含まない他の色からなる画素側の所定領域については、前記補正処理が実行される
ことを特徴とする画像形成装置。
In any one of Claim 1 thru | or 3,
The image forming apparatus, wherein the correction processing is executed for a predetermined area on a pixel side including other colors not including the single color in the correction target area.
画像形成に複数の色材を用い、各画素が前記色材の各色の階調値を有するビットマップデータに基づいて前記画像形成を行なう画像形成装置における画像形成方法であって、
前記画像形成の対象のうち、単色の領域であって、当該単色を含まない他の色からなる画素と隣接する補正対象領域の、前記ビットマップデータに対して、前記階調値を補正する補正処理を実行する補正工程を有し、
前記補正対象領域のうち、白色の画素と隣接している所定領域については、前記補正処理が行なわれない
ことを特徴とする画像形成方法。
An image forming method in an image forming apparatus that uses a plurality of color materials for image formation and performs image formation based on bitmap data in which each pixel has a gradation value of each color of the color material,
Correction that corrects the gradation value for the bitmap data in a correction target area that is adjacent to a pixel of another color that does not include the single color in the image formation target. A correction process for executing the process;
The image forming method, wherein the correction processing is not performed for a predetermined area adjacent to the white pixel in the correction target area.
画像形成に複数の色材を用い、各画素が前記色材の各色の階調値を有するビットマップデータに基づいて前記画像形成を行なう画像形成装置の、前記ビットマップデータを前記画像形成装置のホスト装置に生成させる印刷データ生成プログラムであって、
前記画像形成の対象のうち、単色の領域であって、当該単色を含まない他の色からなる画素と隣接する補正対象領域の、前記ビットマップデータに対して、前記階調値を補正する補正処理を実行する補正工程を前記ホスト装置に実行させ、
前記補正対象領域のうち、白色の画素と隣接している所定領域については、前記補正処理が行なわれない
ことを特徴とする印刷データ生成プログラム。
An image forming apparatus that uses a plurality of color materials for image formation and that performs image formation based on bitmap data in which each pixel has a gradation value of each color of the color material. A print data generation program to be generated by a host device,
Correction that corrects the gradation value for the bitmap data in a correction target area that is adjacent to a pixel of another color that does not include the single color in the image formation target. Causing the host device to execute a correction process for executing processing;
The print data generation program, wherein the correction processing is not performed for a predetermined area adjacent to the white pixel in the correction target area.
JP2008182947A 2007-10-31 2008-07-14 Image forming apparatus, image forming method, and print data generation program Pending JP2009135885A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008182947A JP2009135885A (en) 2007-10-31 2008-07-14 Image forming apparatus, image forming method, and print data generation program
US12/254,946 US20090109456A1 (en) 2007-10-31 2008-10-21 Image Forming Apparatus, Image Forming Method, and Computer Readable Medium Recording a Printing Data Generation Program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2007284022 2007-10-31
JP2008182947A JP2009135885A (en) 2007-10-31 2008-07-14 Image forming apparatus, image forming method, and print data generation program

Publications (1)

Publication Number Publication Date
JP2009135885A true JP2009135885A (en) 2009-06-18

Family

ID=40867313

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008182947A Pending JP2009135885A (en) 2007-10-31 2008-07-14 Image forming apparatus, image forming method, and print data generation program

Country Status (1)

Country Link
JP (1) JP2009135885A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10999476B2 (en) 2019-05-08 2021-05-04 Canon Kabushiki Kaisha Image forming apparatus configured to perform gradation correction process

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10999476B2 (en) 2019-05-08 2021-05-04 Canon Kabushiki Kaisha Image forming apparatus configured to perform gradation correction process

Similar Documents

Publication Publication Date Title
JP6108694B2 (en) Image processing apparatus, image processing method, and computer program
JP4979357B2 (en) Image forming apparatus and control method thereof
JP5162829B2 (en) Image forming apparatus and image processing method thereof
JP4529148B2 (en) Print control program, print control apparatus, image forming apparatus, and print control method
JP2015120279A (en) Image processing device, image formation device, and image generation method
JP2012034282A (en) Image processor
JP4891273B2 (en) Image forming apparatus and control method thereof
US8049927B2 (en) Image processing apparatus and control method thereof
US7973988B2 (en) Color image forming apparatus and control method thereof
JP2009094786A (en) Image forming apparatus and image forming method
JP5921155B2 (en) Image processing apparatus, image processing method, and computer program
US20090109507A1 (en) Image Forming Apparatus, Image Forming Method, and Computer Readable Medium Recording a Printing Data Generation Program
JP6236971B2 (en) Image processing apparatus, image forming apparatus, and image processing program
JP2013200222A (en) Printing-system and image forming apparatus
JP2013205703A (en) Image formation device
JP2012160858A (en) Image forming apparatus
JP2009135885A (en) Image forming apparatus, image forming method, and print data generation program
JP4935689B2 (en) Image forming apparatus and image forming apparatus calibration method
JP2009135886A (en) Image forming apparatus, image forming method, and print data generation program
JP2009124680A (en) Image forming apparatus, image forming method, and print data generation program
US8149457B2 (en) Image forming apparatus, image forming method, and computer readable medium recording a printing data generation program
JP2006013769A (en) Image output system, image output method, program for implementing the method, and computer-readable information recording medium recorded with the program
US20090109456A1 (en) Image Forming Apparatus, Image Forming Method, and Computer Readable Medium Recording a Printing Data Generation Program
JP2010166238A (en) Image forming apparatus, image forming method and print data generation program
JP5885489B2 (en) Image processing apparatus, image processing method, and computer program