[go: up one dir, main page]

JP2018180054A - Image forming apparatus, control method of image forming apparatus, and program - Google Patents

Image forming apparatus, control method of image forming apparatus, and program Download PDF

Info

Publication number
JP2018180054A
JP2018180054A JP2017074589A JP2017074589A JP2018180054A JP 2018180054 A JP2018180054 A JP 2018180054A JP 2017074589 A JP2017074589 A JP 2017074589A JP 2017074589 A JP2017074589 A JP 2017074589A JP 2018180054 A JP2018180054 A JP 2018180054A
Authority
JP
Japan
Prior art keywords
line
color
maximum
image
amount per
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
JP2017074589A
Other languages
Japanese (ja)
Inventor
宏和 田村
Hirokazu Tamura
宏和 田村
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2017074589A priority Critical patent/JP2018180054A/en
Publication of JP2018180054A publication Critical patent/JP2018180054A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Fixing For Electrophotography (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Color Electrophotography (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce time required for processing of determining the maximum value of the amount of applied toner in an image while keeping precision.SOLUTION: An image formation device for controlling temperature of a fixation unit on the basis of the amount of applied color material of an object in a page image, comprises: color line detection means for detecting, from among a plurality of lines constituting the page image, color lines for which one or plural colors are used; continuous color line detection means for detecting, from the detected color lines, continuous color lines which appear continuously in a longitudinal direction; maximum-applied-amount per line derivation means for counting an applied amount per unit area for each of the detected continuous color lines and deriving the maximum applied amount per line constituting the page image; and maximum-applied-amount per page image derivation means for, on the basis of the maximum applied amount per line, deriving the maximum applied amount per page image.SELECTED DRAWING: Figure 7

Description

本発明は、熱によって記録媒体上にトナーを定着する際の温度制御の技術に関する。   The present invention relates to a temperature control technique when fixing toner on a recording medium by heat.

特許文献1には、画像内のトナー載り量の最大値の算出が所定時間内に終了しない場合に、載り量の暫定値に基づいて定着ユニットの温度を制御する技術が開示されている。   Patent Document 1 discloses a technique for controlling the temperature of the fixing unit based on the provisional value of the amount of applied toner when the calculation of the maximum value of the amount of applied toner within the image is not completed within a predetermined time.

特開2015−206984号公報JP, 2015-206984, A

特許文献1では、画像の全領域において単位面積あたりのトナー載り量を算出し、該算出したトナー載り量の中から最大値を求めており、処理に多大な時間を要する。そこで本発明は、上記の課題に鑑みて、精度を保ちつつ画像内のトナー載り量の最大値を求める処理の時間を短縮することを目的とする。   In Patent Document 1, the amount of applied toner per unit area is calculated in the entire area of the image, and the maximum value is obtained from the calculated amount of applied toner, which requires a large amount of time for processing. Therefore, in view of the above problems, the present invention has an object of shortening the processing time for obtaining the maximum value of the amount of applied toner in an image while maintaining accuracy.

本発明は、ページ画像内のオブジェクトの色材の載り量に基づき、定着ユニットの温度を制御する画像形成装置であって、前記ページ画像を構成する複数ラインのなかから、1又は複数の色が使われる色ラインを検出する色ライン検出手段と、前記検出した色ラインのなかから、縦方向に連続して現れる連続色ラインを検出する連続色ライン検出手段と、前記検出した連続色ラインの各々において単位面積あたりの載り量をカウントし、前記ページ画像を構成するラインあたりの最大載り量を導出するラインあたり最大載り量導出手段と、前記導出したラインあたりの最大載り量に基づき、前記ページ画像あたりの最大載り量を導出するページ画像あたり最大載り量導出手段とを備えることを特徴とする画像形成装置である。   The present invention is an image forming apparatus that controls the temperature of a fixing unit based on the amount of color material applied to an object in a page image, and one or more colors are selected from a plurality of lines forming the page image. Color line detecting means for detecting a color line to be used, continuous color line detecting means for detecting a continuous color line appearing continuously in the vertical direction out of the detected color lines, and each of the detected continuous color lines The page image based on the maximum bearing amount deriving means per line for counting the bearing amount per unit area and deriving the maximum bearing amount per line making up the page image, and the maximum bearing amount per line derived. According to another aspect of the present invention, there is provided an image forming apparatus comprising: a maximum loading amount deriving unit per page image for deriving a maximum loading amount per portion.

本発明により、精度を保ちつつ画像内のトナー載り量の最大値を求める処理の時間を短縮することが可能になる。   According to the present invention, it is possible to shorten the processing time for obtaining the maximum value of the amount of applied toner in the image while maintaining the accuracy.

画像形成装置の概略構成Schematic configuration of image forming apparatus 画像形成装置のハードウェア構成Hardware configuration of image forming apparatus トナー載り量と定着温度との関係Relationship between the amount of applied toner and the fixing temperature 実施例1における画像処理のフローチャートFlow chart of image processing in the first embodiment 実施例1における色ライン検出処理のフローチャートFlowchart of Color Line Detection Process in Embodiment 1 実施例1における連続色ライン検出処理のフローチャートFlow chart of continuous color line detection processing in the first embodiment 実施例1の適用例Application Example of Example 1 実施例1におけるラインあたり最大載り量検出処理のフローチャートFlowchart of Maximum Load Amount Detection Processing Per Line in Embodiment 1 実施例1におけるページ画像あたり最大載り量検出処理のフローチャートFlowchart of Maximum Load Amount Detection Process Per Page Image in Embodiment 1 実施例2における最大載り量導出処理のフローチャートFlowchart of maximum loading amount derivation process in the second embodiment

以下、本発明の実施形態について図面を用いて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[実施例1]
<画像形成装置の概略構成について>
図1は、本実施例における画像形成装置の概略構成を示すブロック図である。図示するように、画像形成装置1は、画像読取部101、画像処理部102、記憶部103、CPU104、及び画像出力部105を備える。画像形成装置1は、画像データを管理するサーバ、プリントの実行を指示するパーソナルコンピュータ(以下PC)等とネットワーク等を介して接続され、互いにデータを送受信することが可能である。
Example 1
<Schematic Configuration of Image Forming Apparatus>
FIG. 1 is a block diagram showing a schematic configuration of an image forming apparatus in the present embodiment. As illustrated, the image forming apparatus 1 includes an image reading unit 101, an image processing unit 102, a storage unit 103, a CPU 104, and an image output unit 105. The image forming apparatus 1 is connected to a server that manages image data, a personal computer (hereinafter referred to as a PC) that instructs execution of printing, and the like via a network or the like, and can mutually transmit and receive data.

画像読取部101は、原稿を読み取って画像データを取得し、該取得した画像データを画像処理部102に出力する。   The image reading unit 101 reads an original, acquires image data, and outputs the acquired image data to the image processing unit 102.

画像処理部102は、画像形成装置1に接続されている外部装置や画像読取部101から入力された画像データを含む印刷データを、中間データに変換し、該変換した中間データを記憶部103に格納する。また、画像処理部102は、この中間データに基づきビットマップ形式の画像データを生成し、該生成したビットマップ形式の画像データを記憶部103に格納する。その際、画像処理部102は、色変換処理、濃度補正処理、及び擬似中間調処理を行う。これらの処理の詳細に関しては、後述する。   The image processing unit 102 converts print data including image data input from an external apparatus connected to the image forming apparatus 1 or the image reading unit 101 into intermediate data, and converts the converted intermediate data into the storage unit 103. Store. Further, the image processing unit 102 generates bitmapped image data based on the intermediate data, and stores the generated bitmapped image data in the storage unit 103. At this time, the image processing unit 102 performs color conversion processing, density correction processing, and pseudo halftone processing. Details of these processes will be described later.

記憶部103は、ROM、RAM、ハードディスク(以下HD)等から構成される。ROMには、CPU104が実行する各種の制御プログラムや画像処理プログラムが格納される。RAMは、CPU104がデータや各種情報を一時的に格納する作業領域として用いられる。以下で説明する本実施例における処理は、ROMに格納されたプログラムがRAMに展開され実行されることにより、実行される。各ページの画像データはRAMやHDに格納され、該格納された画像データを用いて、複数ページの画像データを出力順に並べるソート処理が実行される。ソート処理後の画像データは、引き続きRAMやHDに格納され、該格納されている画像データに基づき、複数部数のプリント等のプリント処理が実行される。尚、本例では、CPU104として32bitCPUを用いるものとする。   The storage unit 103 includes a ROM, a RAM, a hard disk (hereinafter referred to as HD) and the like. The ROM stores various control programs and image processing programs that the CPU 104 executes. The RAM is used as a work area in which the CPU 104 temporarily stores data and various information. The processing in the present embodiment described below is executed by the program stored in the ROM being expanded and executed in the RAM. The image data of each page is stored in the RAM or HD, and the stored image data is used to execute sorting processing in which the image data of a plurality of pages are arranged in output order. The image data after the sorting process is continuously stored in the RAM or the HD, and the printing process such as printing of a plurality of copies is executed based on the stored image data. In this example, a 32-bit CPU is used as the CPU 104.

画像出力部105は、画像処理部102から受け取った画像データに基づき、色材を用いて記録紙等の記録媒体に画像を形成する。   The image output unit 105 forms an image on a recording medium such as a recording sheet using a color material based on the image data received from the image processing unit 102.

<画像形成装置のハードウェア構成について>
以下、本実施例における画像形成装置のハードウェア構成について説明する。図2は、本実施例における画像形成装置1のハードウェア構成を示す断面図である。
<Hardware Configuration of Image Forming Apparatus>
The hardware configuration of the image forming apparatus in the present embodiment will be described below. FIG. 2 is a cross-sectional view showing a hardware configuration of the image forming apparatus 1 in the present embodiment.

画像読取部101において、圧板202と原稿台203との間に、画像を読み取る対象である原稿204が置かれている。原稿204はランプ205から出射された光によって照射され、この光は原稿204で反射される。原稿204からの反射光は、ミラー206とミラー207とによって導かれ、レンズ208によって3ラインセンサ210上に像が結ばれる。尚、レンズ208には赤外線カットフィルタ231が設けられている。モータ(図示せず)から伝えられる駆動力により、ランプ205とミラー206とを含むミラーユニットは速度Vで、ミラー207を含むミラーユニットは速度V/2で、矢印の方向に沿って移動する。つまり、これらのミラーユニットは、3ラインセンサ210の走査方向(主走査方向)に対して垂直方向(副走査方向)に沿って移動し、原稿204の全面を走査する。   In the image reading unit 101, an original 204 to be read is placed between the pressure plate 202 and the original table 203. The original 204 is illuminated by the light emitted from the lamp 205, and this light is reflected by the original 204. Reflected light from the document 204 is guided by the mirror 206 and the mirror 207, and an image is formed on the three-line sensor 210 by the lens 208. The lens 208 is provided with an infrared cut filter 231. Due to the driving force transmitted from the motor (not shown), the mirror unit including the lamp 205 and the mirror 206 moves at a velocity V, and the mirror unit including the mirror 207 moves at a velocity V / 2 along the direction of the arrow. That is, these mirror units move along a direction (sub-scanning direction) perpendicular to the scanning direction (main scanning direction) of the 3-line sensor 210, and scan the entire surface of the document 204.

3ラインセンサ210は、3ラインのCCD210−1、210−2、210−3から成る。3ラインセンサ210は、入力される光を色分解してR(レッド)、G(グリーン)、及びB(ブルー)の各色成分を読み取り、その色成分の信号を画像処理部102へ送る。尚、本例では、3ラインセンサ210を構成するCCDは夫々5000画素分の受光素子を有し、原稿台203に載置可能な原稿の最大サイズであるA3サイズの原稿の短手方向(297mm)を600dpiの解像度で読み取ることができる。   The 3-line sensor 210 is composed of 3-line CCDs 210-1, 210-2, and 210-3. The 3-line sensor 210 color-separates input light, reads each color component of R (red), G (green), and B (blue), and sends a signal of the color component to the image processing unit 102. In this example, the CCDs constituting the 3-line sensor 210 have light receiving elements for 5000 pixels each, and the lateral direction (297 mm) of the A3-sized document which is the maximum size of the document that can be placed on the document table 203 ) Can be read at a resolution of 600 dpi.

画像処理部102は、3ラインセンサ210から入力される信号を電気的に処理して、C(シアン)、M(マゼンダ)、Y(イエロー)、K(ブラック)各色の画像データを生成する。ここでC(シアン)の画像データは、各画素がシアンの画素値を持つ画像データである。同様に、M(マゼンダ)の画像データは各画素がマゼンダの画素値を持つ画像データであり、Y(イエロー)の画像データは各画素がイエローの画素値を持つ画像データであり、K(ブラック)の画像データは各画素がブラックの画素値を持つ画像データである。画像処理部102は、生成したCMYKの各画像データを画像出力部105に出力する。このとき出力される画像データは、ディザ処理等の擬似中間調処理が施されたCMYKの各画像データとなっている。   The image processing unit 102 electrically processes signals input from the 3-line sensor 210 to generate image data of C (cyan), M (magenta), Y (yellow), and K (black) colors. Here, the C (cyan) image data is image data in which each pixel has a cyan pixel value. Similarly, M (magenta) image data is image data in which each pixel has a magenta pixel value, and Y (yellow) image data is image data in which each pixel has a yellow pixel value, and K (black) The image data of) is image data in which each pixel has a black pixel value. The image processing unit 102 outputs the generated CMYK image data to the image output unit 105. The image data output at this time is the CMYK image data subjected to pseudo halftone processing such as dither processing.

画像出力部105において、画像処理部102から送られてくるCMYKの各画像データはレーザドライバ212へ送られる。レーザドライバ212は、入力される画像データに従って半導体レーザ素子213を変調駆動する。半導体レーザ素子213から出力されるレーザビームは、ポリゴンミラー214、fθレンズ215、及びミラー216を経由して感光ドラム217上を走査し、感光ドラム217上に静電潜像を形成する。   In the image output unit 105, each of the CMYK image data sent from the image processing unit 102 is sent to the laser driver 212. The laser driver 212 modulates and drives the semiconductor laser element 213 in accordance with the input image data. The laser beam output from the semiconductor laser element 213 scans the photosensitive drum 217 via the polygon mirror 214, the fθ lens 215, and the mirror 216 to form an electrostatic latent image on the photosensitive drum 217.

現像器ユニットは、マゼンタ現像器219、シアン現像器220、イエロー現像器221、及びブラック現像器222から構成される。これら4つの現像器は順番に感光ドラム217に接している。感光ドラム217上に形成された静電潜像を対応する色のトナーで現像することで、トナー像を形成する。記録紙カセット225から供給される記録紙は、転写ドラム223に巻き付けられ、感光ドラム217上に形成されたトナー像が、該巻き付けられた記録紙に転写される。   The developing device unit includes a magenta developing device 219, a cyan developing device 220, a yellow developing device 221, and a black developing device 222. These four developing devices are in contact with the photosensitive drum 217 in order. A toner image is formed by developing the electrostatic latent image formed on the photosensitive drum 217 with the toner of the corresponding color. The recording paper supplied from the recording paper cassette 225 is wound around the transfer drum 223, and the toner image formed on the photosensitive drum 217 is transferred onto the wound recording paper.

このようにして4色(CMYK)のトナー像が順次転写された記録紙は、定着ユニット226に送られる。記録紙が定着ユニット226を通過することで、記録紙に転写されたトナー像が定着され、トナー像が定着された記録紙は、画像形成装置1の外へ排出される。定着ユニット226の内部では、圧力と熱とを記録紙に加えることで、4色(CMYK)のトナー像を記録紙に定着させている。転写時の熱量が載り量に対して不十分である場合、定着不良を引き起こし正常な画像が得られない虞がある。このような定着不良を防ぐため、定着ユニット226には温度センサ(図示せず)が取り付けられており、CPU104は、定着ユニット226の温度を調整し、該温度がトナー定着に十分な温度となった場合に、定着動作を行うよう制御する。このCPU104による制御は、温度センサによって取得される定着ユニット226の温度と、最大載り量導出処理によって導出されるページ画像内のトナー載り量の最大値(以下、最大載り量)とに基づき実行される。尚、最大載り量導出処理の詳細については、後述する。   The recording sheet on which the four color (CMYK) toner images are sequentially transferred in this manner is sent to the fixing unit 226. When the recording sheet passes through the fixing unit 226, the toner image transferred to the recording sheet is fixed, and the recording sheet on which the toner image is fixed is discharged out of the image forming apparatus 1. Inside the fixing unit 226, pressure and heat are applied to the recording sheet to fix a four-color (CMYK) toner image on the recording sheet. If the amount of heat at the time of transfer is insufficient with respect to the applied amount, fixing failure may occur and a normal image may not be obtained. In order to prevent such a fixing failure, a temperature sensor (not shown) is attached to the fixing unit 226, and the CPU 104 adjusts the temperature of the fixing unit 226, and the temperature becomes a temperature sufficient for toner fixing. If it does, control is performed to perform the fixing operation. The control by the CPU 104 is executed based on the temperature of the fixing unit 226 acquired by the temperature sensor and the maximum value of the toner mounting amount in the page image derived by the maximum mounting amount deriving process (hereinafter, the maximum mounting amount). Ru. The details of the maximum loading amount deriving process will be described later.

<トナー載り量と定着ユニットの温度との関係について>
以下、トナー載り量(以下、単純に載り量とも称する)と定着ユニット226の温度との関係について説明する。載り量(単位は%)とは、画像上の単位面積当たりのトナー量を意味する。本例ではCMYKの各色の載り量の最大値を100%とする。各色は階調性を持つことから、各色の載り量は0以上、且つ、100以下の範囲の任意の1値をとる。例えば、載り量が100%の相異なる2色を重ねた画像における載り量は200%である。
<Relationship between the amount of applied toner and the temperature of the fixing unit>
The relationship between the amount of applied toner (hereinafter also simply referred to as the amount applied) and the temperature of the fixing unit 226 will be described below. The applied amount (unit:%) means the amount of toner per unit area on the image. In this example, the maximum value of the application amount of each color of CMYK is set to 100%. Since each color has gradation, the applied amount of each color takes any one value in the range of 0 or more and 100 or less. For example, the applied amount is 200% in an image in which two different colors with an applied amount of 100% overlap each other.

フルカラー印刷では、4色(CMYK)のトナーを用いてこれらのトナーで再現可能な色域内で任意の色を表現することで、高品質なカラー印刷を行うが、このとき、240%程度の載り量が確保されていれば高品質な印刷を保証できる。従って、フルカラー印刷における各ページの画像における載り量の最大値は240%である。これに対し、単色印刷では、モノクロ印刷に代表されるように1色のトナーのみを用いるため、載り量の最大値は、1色の載り量の最大値である100%である。   In full-color printing, high-quality color printing is performed by expressing arbitrary colors within the reproducible color range of these toners using four color (CMYK) toners. If the quantity is secured, high quality printing can be guaranteed. Therefore, the maximum value of the application amount in the image of each page in full color printing is 240%. On the other hand, in single-color printing, only one toner is used as represented by monochrome printing, the maximum value of the application amount is 100%, which is the maximum value of the application amount of one color.

このように印刷物によって載り量の最大値は異なる。定着ユニット226の温度が常に、フルカラー印刷時の載り量の想定される最大値である240%での定着を可能とする温度となるように制御すれば、前述の定着不良が発生することはない。しかしながら、定着ユニット226の温度を常にこのような高温にすることは、モノクロ印刷の場合やフルカラー印刷でも文字主体の載り量の少ない画像を印刷する場合等には、正常な画像は得られるが、過剰な温度となり電力の無駄になる。だからといって、トナー定着に必要な温度を確保できない場合、トナーが定着せず正常な画像が得られない。従って、トナー定着に必要な温度を確保しつつ消費電力を抑えるように温度を制御することが重要である。   Thus, the maximum value of the loading amount differs depending on the printed matter. If the temperature of the fixing unit 226 is always controlled to a temperature that enables fixing at 240%, which is the expected maximum value of the applied amount in full color printing, the above-mentioned fixing failure does not occur. . However, always setting the temperature of the fixing unit 226 at such a high temperature can obtain a normal image in monochrome printing or full-color printing when printing an image with a small amount of text-based coverage, etc. It will be excessive temperature and waste power. However, when the temperature necessary for toner fixing can not be secured, the toner is not fixed and a normal image can not be obtained. Therefore, it is important to control the temperature so as to suppress the power consumption while securing the temperature necessary for toner fixing.

図3は、画像形成装置1における載り量とトナー定着に求められる定着ユニット226の温度(定着温度とする)との関係を示すグラフである。横軸は載り量を示し、縦軸は定着温度を示す。図示するように、載り量が200%の場合、定着温度はT1であり、同様に載り量が150%、100%、50%の場合、定着温度は夫々T2、T3、T4である。   FIG. 3 is a graph showing the relationship between the applied amount in the image forming apparatus 1 and the temperature (fixed temperature) of the fixing unit 226 required for toner fixing. The horizontal axis indicates the amount of application, and the vertical axis indicates the fixing temperature. As shown, when the loading amount is 200%, the fixing temperature is T1, and when the loading amounts are 150%, 100% and 50%, the fixing temperatures are T2, T3 and T4, respectively.

画像中に現れる、載り量が該画像内で最大となるオブジェクトを定着可能な温度まで、定着ユニット226の温度が上がっていれば、定着不良が発生する事はない。また、連続するページの画像を確実に定着させるため、定着ユニット226は常に、所定の最低温度以上となるように制御される。最低温度を規定する理由は次の通りである。例えば、最大載り量が50%の第1ページを定着させた後に、最大載り量が200%の第2ページを定着させる場合を例に挙げて検討する。この場合、第1ページの定着と第2ページの定着との間に定着ユニット226の温度を上昇させることになるが、連続ページを定着する際のページ間のインターバルは一定であるため、定着ユニット226の温度を急上昇させなければならない。従って、定着ユニット226の温度を、想定される載り量の最大値に対応する定着温度まで上昇させることが可能な最低温度を予め規定する必要がある。   If the temperature of the fixing unit 226 has risen to such a temperature that the object whose appearance amount appears in the image becomes maximum in the image can not be fixed. Further, in order to fix an image of a continuous page reliably, the fixing unit 226 is always controlled to be equal to or higher than a predetermined minimum temperature. The reasons for defining the minimum temperature are as follows. For example, after fixing the first page having the maximum loading amount of 50%, the case of fixing the second page having the maximum loading amount of 200% will be described as an example. In this case, the temperature of the fixing unit 226 is increased between the fixing of the first page and the fixing of the second page, but since the interval between pages when fixing the continuous pages is constant, the fixing unit The temperature of 226 must be spiked. Therefore, it is necessary to define in advance a minimum temperature at which the temperature of the fixing unit 226 can be raised to the fixing temperature corresponding to the maximum value of the assumed loading amount.

<画像処理について>
以下、本実施例における画像処理について説明する。本実施例における画像処理とは、最終的に画像出力部105に出力するページ画像(データ)を生成する処理と、該ページ画像の定着温度を求めるために該ページ画像における最大載り量を導出する処理と、を含む。
<About image processing>
Hereinafter, image processing in the present embodiment will be described. The image processing in this embodiment includes processing of generating a page image (data) to be finally output to the image output unit 105, and deriving the maximum application amount in the page image in order to obtain the fixing temperature of the page image. And processing.

以下、この画像処理について、図4を用いて説明する。尚、以下の処理は、画像形成装置1に接続されている外部装置や画像読取部101等から入力される画像データに基づく印刷処理が指示されたタイミングで開始し、画像処理部102、又は、CPU104によって実行される。   Hereinafter, this image processing will be described with reference to FIG. The following processing starts at timing when printing processing based on image data input from an external apparatus connected to the image forming apparatus 1 or the image reading unit 101 is instructed, and the image processing unit 102 or It is executed by the CPU 104.

ステップS401において、画像処理部102は、各画素がRGBの画素値を持つRGB画像データを、各画素がCMYKの画素値を持つCMYK画像データに変換する、色変換処理を実行する。この色変換処理は任意の手法を用いて実行して良いが、本例では、3次元ルックアップテーブルを用いる公知の手法で実行するものとする
ステップS401における色変換処理が実行された画像データは、CMYK各色のトナー量を示すデータになっており、各画素におけるCMYKの画素値は夫々8bitで表現されている(0〜255の何れかの値をとる)。ステップS401で用いる3次元ルックアップテーブルは、ステップS401における色変換処理後の画像データの各画素において、CMYKの各画素値の合計が所定の閾値(載り量の想定される最大値である240%に対応)を超えないよう予め規定されている。
In step S401, the image processing unit 102 performs color conversion processing to convert RGB image data in which each pixel has an RGB pixel value into CMYK image data in which each pixel has a CMYK pixel value. Although this color conversion process may be performed using any method, in this example, the color conversion process is performed using a known method using a three-dimensional lookup table. The image data subjected to the color conversion process in step S401 is , And CMYK are data representing toner amounts of each color, and the pixel values of CMYK in each pixel are each expressed by 8 bits (takes any value of 0 to 255). In the three-dimensional lookup table used in step S401, the sum of the pixel values of CMYK at each pixel of the image data after the color conversion process in step S401 is a predetermined threshold (240%, which is the expected maximum value of the coverage amount) It is pre-defined not to exceed

これについて具体的に説明する。任意の1画素についてCMYK各色の画素値が0であることは、該画素が、トナーが使用されない白画素であることを意味する。これに対し、任意の1画素についてCMYK各色の画素値が大きいことは、該画素の濃度が高いことを意味する。例えば、Cの画素値が255であることは、Cの濃度が最大であること(載り量100%)を意味する。尚、前述した通り、画素におけるCNYKの画素値は夫々0〜255の何れかの値を取り得るが、前述の3次元ルックアップテーブルを用いる限り、このCMYKの画素値の合計が1020(=255×4、載り量400%に対応)になるようなことはない。予め規定された3次元ルックアップテーブルを用いることで、例えばフルカラー印刷時に想定される載り量の最大値が240%であれば、CMYKの画素値の合計が612を超えることのないよう調整されている。3次元ルックアップテーブルは記憶部103に格納されており、色変換処理の際に必要に応じてロードされる。   This will be specifically described. That the pixel value of each color of CMYK is 0 for any one pixel means that the pixel is a white pixel for which toner is not used. On the other hand, that the pixel value of each of the colors of CMYK for one arbitrary pixel means that the density of the pixel is high. For example, if the pixel value of C is 255, it means that the density of C is maximum (the amount of coverage 100%). As described above, the pixel value of CNYK in the pixel can take any value from 0 to 255, but as long as the above-described three-dimensional lookup table is used, the sum of the pixel values of CMYK is 1020 (= 255 × 4, corresponding to the amount of loading 400%) never. By using a predefined three-dimensional look-up table, for example, if the maximum value of the application amount assumed for full-color printing is 240%, the sum of the CMYK pixel values is adjusted not to exceed 612. There is. The three-dimensional lookup table is stored in the storage unit 103, and is loaded as needed during color conversion processing.

ステップS402において、画像処理部102は、ステップS401の色変換処理で導出したCMYK画像データに対する濃度補正処理を実行する。尚、濃度補正処理の方法として、CMYK各色に対して入力濃度レベルと出力濃度レベルとが対応付けられている濃度補正テーブルを用いる方法や、所定の関数を用いた演算で求める方法等の、任意の方法を採用して良い。本例では、濃度補正テーブルを用いる方法を採用し、本ステップで用いる濃度補正テーブルは記憶部103に格納されており、濃度補正処理の際に必要に応じてロードされるものとする。   In step S402, the image processing unit 102 executes density correction processing on the CMYK image data derived in the color conversion processing of step S401. As a method of density correction processing, any method such as a method of using a density correction table in which an input density level and an output density level are associated with each color of CMYK, a method of obtaining by calculation using a predetermined function, etc. You may adopt the method of In this example, a method using a density correction table is employed, and the density correction table used in this step is stored in the storage unit 103, and is loaded when necessary in density correction processing.

ステップS403において、画像処理部102は、ステップS402の濃度変換処理で導出した濃度変換後のCMYK画像データに対する擬似中間調処理を実行する。レーザドライバ212は通常、2、4、16階調等、低階調のみ出力可能であることが多い。従って、少ない階調数でも安定した中間調表現を可能にするため、本ステップにおいて、誤差拡散処理や閾値マトリクスを用いるディザ処理といった擬似中間調処理を実行する。尚、本例では、擬似中間調処理として閾値マトリクスを用いるディザ処理を採用し、閾値マトリクスは記憶部103に格納されており、擬似中間調処理の際に必要に応じてロードされるものとする。擬似中間調処理が実行された段階で一定以上の面積を使っての階調表現がなされており、例えば1画素あたりの階調数が4であれば、各画素の画素値は0〜3までの値に丸まっている。そのため、1画素あたりのデータ量は2bitとなっており、画像データのデータ量をこれまでに比べると非常に小さいサイズに抑えられている。以降、本ステップ後の1画素あたりのデータ量が2bitであるものとして説明を続ける。本ステップの処理が終わったデータは、1byteあたりに4画素分のデータがパッキングされた状態でメモリに格納することができる。本ステップが終了した段階で、画像出力部105に出力するページ画像データが完成する。   In step S403, the image processing unit 102 performs pseudo halftone processing on the CMYK image data after density conversion derived in the density conversion process of step S402. Usually, the laser driver 212 can often output only low gradations such as 2, 4 and 16 gradations. Therefore, in order to enable stable halftone expression even with a small number of gradations, in this step, pseudo halftone processing such as error diffusion processing or dither processing using a threshold value matrix is performed. In this example, dither processing using a threshold value matrix is adopted as the pseudo halftone processing, and the threshold value matrix is stored in the storage unit 103, and is loaded when necessary in the pseudo halftone processing. . At the stage where pseudo halftoning is performed, gradation expression is performed using a certain area or more. For example, if the number of gradations per pixel is 4, the pixel value of each pixel is from 0 to 3 Rounded to the value of. Therefore, the amount of data per pixel is 2 bits, and the amount of data of image data is suppressed to a very small size compared to the past. Hereinafter, the description will be continued assuming that the amount of data per pixel after this step is 2 bits. The data after the processing of this step can be stored in the memory in a state where data for four pixels are packed per byte. At the end of this step, page image data to be output to the image output unit 105 is completed.

ステップS404において、CPU104は、ステップS403の擬似中間処理で導出したページ画像データに対する最大載り量導出処理を実行する。前述のように、定着に必要な熱量は、最大載り量に応じて異なるため、本ステップにて処理対象の(ページ)画像における最大載り量を導出する。そして、本ステップで導出した最大載り量に基づき定着ユニット226の温度制御が実行される。   In step S <b> 404, the CPU 104 executes a process for deriving a maximum coverage of the page image data derived in the pseudo-intermediate process of step S <b> 403. As described above, since the amount of heat necessary for fixing varies depending on the maximum amount of application, the maximum amount of application in the (page) image to be processed is derived in this step. Then, temperature control of the fixing unit 226 is executed based on the maximum bearing amount derived in this step.

ステップ404で最大載り量を導出する際に載り量を求める対象のオブジェクトであるか否かは、オブジェクトのサイズによって決められる。具体的には、載り量を求める対象のオブジェクトであるか否かを決めるための検出最小サイズが定義されている。ここで検出最小サイズとは、これより小さいサイズのオブジェクトに関しては、どれだけ大きい載り量であっても、最低温度でのトナー定着が可能なサイズである。尚、本実施例では、検出最小サイズをM画素(横方向)×N画素(縦方向)の矩形のサイズとする。   Whether or not the object is a target for which the amount of application is to be obtained when the maximum amount of application is derived in step 404 is determined by the size of the object. Specifically, a detection minimum size is defined to determine whether the object is an object for which the amount of application is to be obtained. Here, the detection minimum size is a size that allows toner fixing at the minimum temperature regardless of how large the mounting amount is for an object of a smaller size. In this embodiment, the minimum detection size is set to a rectangular size of M pixels (horizontal direction) × N pixels (vertical direction).

ステップ404における最大載り量導出処理は、色ライン検出処理と、連続色ライン検出処理と、ラインあたり最大載り量検出処理と、ページ画像あたり最大載り量検出処理と、を含む。これらの処理は、ステップS403で導出され記憶部103に記憶されたCMYKの各画像に基づいて実行される。以下、これらの処理について詳細に説明する。   The maximum applied amount deriving process in step 404 includes a color line detecting process, a continuous color line detecting process, a maximum applied amount detecting process per line, and a maximum applied amount detecting process per page image. These processes are executed based on each of the CMYK images derived in step S403 and stored in the storage unit 103. Hereinafter, these processes will be described in detail.

<色ライン検出処理について>
本実施例における色ライン検出処理とは、画像を構成する複数ラインの各々について、ラインを分割した各領域においてCMYKのうち何色使われるか判定し、所定の閾値を超える数の色が使われる領域が存在するラインのフラグを立てる処理である。ここで使われる色数の閾値は、定着ユニット226の最低温度に応じて予め決められている。仮に最低温度が、0%以上かつ100%未満の範囲の載り量に対応する定着温度(図3参照、例えばT4)に等しければ、ラインに1色でもあれば定着ユニット226の温度をT3まで上げる必要が生じ得る。従って、この場合、色数の閾値を0に設定する。或いは、最低温度が、100%以上かつ200%未満の範囲の載り量に対応する定着温度(例えばT2)に等しければ、ラインに1色しかなければ定着ユニット226の温度を最低温度から上げる必要はない。従って、この場合、色数の閾値を1に設定する。以下、色ライン検出処理について、図5を用いて説明する。
<About color line detection processing>
The color line detection process in the present embodiment determines how many colors out of CMYK are used in each area obtained by dividing the line for each of a plurality of lines constituting an image, and a number of colors exceeding a predetermined threshold is used. It is a process to flag the line in which the area exists. The threshold value of the number of colors used here is determined in advance according to the minimum temperature of the fixing unit 226. If the minimum temperature is equal to the fixing temperature (see FIG. 3, for example, T4) corresponding to the applied amount in the range of 0% or more and less than 100%, the temperature of the fixing unit 226 is increased to T3 if there is only one color in the line. A need may arise. Therefore, in this case, the color number threshold is set to zero. Alternatively, if the minimum temperature is equal to the fixing temperature (e.g., T2) corresponding to the applied amount in the range of 100% or more and less than 200%, the temperature of the fixing unit 226 needs to be raised from the minimum if there is only one color in the line. Absent. Therefore, in this case, the color number threshold is set to 1. The color line detection process will be described below with reference to FIG.

ステップS501において、CMYKの各画像について、画像を構成する全てのラインに対してフラグ初期値として0を設定する。次いで、ステップS502に進む。このフラグは0と1との何れかの値をとり、0は、定着ユニット226の温度を最低温度から上昇させるための加熱処理を要する可能性を生じさせる数の色を有する所定サイズの領域が、そのラインに含まれないことを意味する。一方、1は、そのような領域が、そのラインに含まれることを意味する。従って、画像における全てのラインのフラグが0であることは、定着ユニット226の温度を上げる必要がなく、定着ユニット226が最低温度で定着可能であることを意味する。後続の処理で、定着ユニット226の温度を上昇させるための加熱処理を要する可能性を生じさせる数の色を有する所定サイズの領域がそのラインに含まれることが判明した場合、フラグ値は更新されて1になる。   In step S501, 0 is set as an initial flag value for all the lines constituting each image of CMYK. Next, the process proceeds to step S502. This flag takes one of values 0 and 1, where 0 is an area of a predetermined size with a number of colors that can potentially require heat treatment to raise the temperature of the fuser unit 226 from the lowest temperature. , Which means not included in the line. On the other hand, 1 means that such a region is included in the line. Therefore, the flag of all lines in the image being 0 means that the fixing unit 226 can be fixed at the minimum temperature without the need to raise the temperature of the fixing unit 226. The flag value is updated if it is found that the line contains a region of a predetermined size with a number of colors that may require heat treatment to raise the temperature of the fuser unit 226 in a subsequent process. It becomes one.

ステップS502において、画像の先頭ライン(一番上のライン)を注目ラインとして設定する。次いで、ステップS503に進む。   In step S502, the top line (top line) of the image is set as a line of interest. Next, the process proceeds to step S503.

ステップS503において、注目ラインの先頭に所定サイズの探索窓をセットする。次いで、ステップS504に進む。尚、本例では探索窓のサイズを、16画素(横方向)×1画素(縦方向)とする。このようなサイズにする理由は、次の通りである。即ち、前述の擬似中間調処理(ステップS403)の結果、各画素は2bitで表現され、連続する16画素のデータサイズは32bitとなり、CPU104が32bitCPUである場合に、高速アクセス可能な最大データサイズとなるためである。   In step S503, a search window of a predetermined size is set at the beginning of the line of interest. Then, it progresses to step S504. In this example, the size of the search window is 16 pixels (horizontal direction) × 1 pixel (vertical direction). The reason for making such a size is as follows. That is, as a result of the above-described pseudo-halftone processing (step S403), each pixel is represented by 2 bits, the data size of 16 consecutive pixels is 32 bits, and when the CPU 104 is a 32 bit CPU, In order to

ステップS504において、所定の分割領域内に、所定の閾値を超える数の色が存在するか判定する。詳細には、CMYKの各画像において、セットされた探索窓内の画素の画素値が0であるか否か判定する。例えば、Cの画像において、セットされた探索窓内の画素の画素値が全て0の場合、所定の領域内にCは存在しないと判定される一方、該画素値の少なくとも1つが0でない場合、該領域内にCは存在すると判定される。そして、CMYKの各画像に対するこのような判定結果に基づき、所定の領域内に、所定の閾値を超える数の色が存在するか判定される。尚、前述したように、本ステップで用いる色数の閾値は、定着ユニット226の最低温度に応じて予め決められている。   In step S504, it is determined whether the number of colors exceeding a predetermined threshold value exists in a predetermined divided area. Specifically, in each of the CMYK images, it is determined whether the pixel value of the pixel in the set search window is 0 or not. For example, in the image of C, when all pixel values of pixels in the set search window are 0, it is determined that C does not exist in a predetermined area, while at least one of the pixel values is not 0, It is determined that C is present in the region. Then, based on such determination results for each of the CMYK images, it is determined whether or not a number of colors exceeding a predetermined threshold exists in the predetermined area. As described above, the threshold value of the number of colors used in this step is determined in advance according to the minimum temperature of the fixing unit 226.

ステップS504でYESの場合、ステップS505において、注目ラインのフラグ値を更新して1にする。本処理によりこの注目ラインに対する処理は終了し、次いで、ステップS508に進む。前述の通り、フラグ値1は、定着ユニット226の温度を最低温度から上昇させるための加熱処理を要する可能性を生じさせる数の色を有する所定サイズの領域が、そのラインに含まれることを意味する。   If YES in step S504, the flag value of the target line is updated to 1 in step S505. By this processing, the processing for this attention line ends, and then, the process proceeds to step S508. As mentioned above, a flag value of 1 means that the line contains a region of a predetermined size with a number of colors that can potentially require heat treatment to raise the temperature of the fuser unit 226 from the lowest temperature. Do.

ステップS504でNOの場合、ステップS506において、注目ラインにおいて探索窓をセットした領域が、該注目ラインの後端であるか判定する。この判定結果が真の場合、ステップS508に進む一方、該判定結果が偽の場合、ステップS507に進む。   In the case of NO in step S504, it is determined in step S506 whether or not the area in which the search window has been set in the line of interest is the back end of the line of interest. If the determination result is true, the process proceeds to step S508, while if the determination result is false, the process proceeds to step S507.

ステップS506でNOの場合、ステップS507において、注目ラインにおける次の領域に探索窓をセットする。前述の通り本例では、16×1サイズの探索窓を用いるので、16画素分右にずれた領域に探索窓がセットされる。以降、注目ラインにおける各領域に対するステップS504〜ステップS506の処理が分割領域毎に繰り返し実行される。仮に画像の横方向の画素数をWとすると、1ライン当たり最大でW/16回の処理が実行される。   In the case of NO at step S506, at step S507, a search window is set to the next area in the line of interest. As described above, in this example, since the search window of 16 × 1 size is used, the search window is set in the region shifted to the right by 16 pixels. Thereafter, the process of steps S504 to S506 is repeatedly performed for each divided area with respect to each area in the line of interest. Assuming that the number of pixels in the horizontal direction of the image is W, processing is performed W / 16 times at most per line.

ステップS505に続いて、又は、ステップS506でYESの場合、ステップS508において、注目ラインが最終ラインであるか判定する。この判定結果が真の場合、色ライン検出処理を終了させる一方、該判定結果が偽の場合、ステップS509に進む。   Following step S505, or if YES in step S506, it is determined in step S508 whether the target line is the final line. If the determination result is true, the color line detection process is ended, while if the determination result is false, the process proceeds to step S509.

ステップS509において、次のラインを注目ラインとして設定し、次いで、ステップS503に戻る。以上が、本実施例における色ライン検出処理の内容である。   In step S509, the next line is set as the target line, and then the process returns to step S503. The above is the contents of the color line detection process in the present embodiment.

<連続色ライン検出処理について>
本実施例における連続色ライン検出処理とは、前述の色ライン検出処理で検出した色ライン(フラグ値が1のライン)の中から、所定のライン数以上連続して出現する色ラインを検出する処理である。前述したように本実施例では、検出最小サイズはM×Nであることから、N以上縦方向に連続しない色ラインを検出する必要がない。従って、連続色ライン検出処理において、N以上縦方向に連続しない色ラインのフラグ値を0にする。連続色ライン検出処理でフラグ値が0になったラインについては、定着ユニットの加熱を必要としないラインとみなして、後述する後続処理(ラインあたり最大載り量検出処理における、探索窓を用いる載り量カウント処理)の対象から除外することができる。以下、連続色ライン検出処理について、図6を用いて説明する。
<Continuous color line detection processing>
In the continuous color line detection process in the present embodiment, color lines which continuously appear for a predetermined number of lines or more are detected from color lines (lines having a flag value of 1) detected by the color line detection process described above. It is a process. As described above, in the present embodiment, since the minimum detection size is M × N, it is not necessary to detect a color line which is not continuous in the vertical direction by N or more. Therefore, in the continuous color line detection process, the flag value of color lines not continuous in the vertical direction by N or more is set to 0. The lines for which the flag value has become 0 in the continuous color line detection process are regarded as lines that do not require heating of the fixing unit, and the amount of loading using the search window in the subsequent processing described below (maximum loading amount detection processing per line) It can be excluded from the subject of counting process). The continuous color line detection process will be described below with reference to FIG.

ステップS601において、色ライン検出処理で導出したフラグ値の列の先頭から見て最初に現れるフラグ値1のランを、注目ランとして設定する。次いで、ステップS602に進む。   In step S601, the run of the flag value 1 that appears first from the top of the row of flag values derived in the color line detection process is set as the run of interest. Next, the process proceeds to step S602.

ステップS602において、注目ランの長さをカウントし、注目ランのランレングスを取得する。次いで、ステップS603に進む。   In step S602, the length of the run of interest is counted, and the run length of the run of interest is acquired. Next, the process proceeds to step S603.

ステップS603において、ステップS602で取得したランレングスが、検出最小サイズの縦方向の長さであるN以上か判定し、この判定結果が偽の場合、そのランに含まれるフラグ値を更新して0にし(ステップS604)、ステップS605に進む。一方、ステップS603の判定結果が真の場合、フラグ値を更新することなく、ステップS605に進む。   In step S603, it is determined whether the run length acquired in step S602 is N or more, which is the vertical length of the minimum size to be detected, and if the determination result is false, the flag value included in the run is updated and 0 (Step S604), and the process proceeds to step S605. On the other hand, if the determination result in step S603 is true, the process proceeds to step S605 without updating the flag value.

ステップS605において、注目ランが最終ランか(後続のフラグ値に1が存在しないか)判定する。この判定結果が真の場合、連続色ライン検出処理を終了させる一方、該判定結果が偽の場合、ステップS606に進む。   In step S605, it is determined whether the run of interest is the last run (whether 1 is present in the subsequent flag value). If the determination result is true, the continuous color line detection process is ended, whereas if the determination result is false, the process proceeds to step S606.

ステップS606において、次に現れるフラグ値1のランを、注目ランとして設定する。次いで、ステップS602に戻る。以上が、本実施例における連続色ライン検出処理の内容である。   In step S606, the run of the flag value 1 appearing next is set as the run of interest. Next, the process returns to step S602. The above is the contents of the continuous color line detection process in this embodiment.

<色ライン検出処理、及び、連続色ライン検出処理の適用例について>
図7に、前述の色ライン検出処理によりフラグ値が生成される様子、及び、前述の連続色ライン検出処理により該生成されたフラグ値が更新される様子を示す。尚、本例では、5(横方向)×4(縦方向)の矩形のサイズを検出最小サイズとするものとする。図中で検出最小サイズ以上となるオブジェクトは、オブジェクト702及びオブジェクト703である。オブジェクト701のサイズは4×3であり、検出最小サイズより小さい。また、文字(A〜E)も同様に、夫々のサイズは検出最小サイズより小さい。
<On application example of color line detection processing and continuous color line detection processing>
FIG. 7 shows how flag values are generated by the color line detection process described above and how the flag values generated by the continuous color line detection process described above are updated. In this example, the size of a rectangle of 5 (horizontal direction) × 4 (vertical direction) is assumed to be the detection minimum size. The objects having a size equal to or larger than the detection minimum size in the figure are an object 702 and an object 703. The size of the object 701 is 4 × 3, which is smaller than the minimum detection size. Similarly, the size of each of the characters (A to E) is smaller than the minimum detection size.

符号704は、色ライン検出処理の結果を示している。色ライン検出処理により、何も描画されないラインに対して0が付与され、何かしら描画されるラインに対して1が付与される。このように本例では、色ライン検出処理の結果、32個のラインのうち、何も描画されないラインを除く23個のラインに対し1のフラグを立てている。   Reference numeral 704 indicates the result of the color line detection process. In the color line detection process, 0 is given to a line in which nothing is drawn, and 1 is given to a line to be drawn in some way. As described above, in the present example, as a result of the color line detection process, a flag of 1 is set for the 23 lines of the 32 lines excluding the line where nothing is drawn.

符号705は、連続色ライン検出処理の結果を示している。連続色ライン検出処理により、検出最小サイズの縦方向のサイズ(本例では4)以上連続しない色ラインのフラグ値は更新される。本例の場合、色ライン検出処理で1が付与された23個のラインのうち11個のラインに対するフラグ値が、1から0に変更される。その結果、最終的に、12個のラインに1が付与された状態になる。このように、検出最小サイズ以上のオブジェクト702及びオブジェクト703を描画するラインにフラグ値1を残しつつ、検出最小サイズ未満のオブジェクト(オブジェクト701等)を描画するラインのフラグ値を0にすることができている。後続の処理ではフラグ値が1のラインのみに対して処理を実行することになるので(詳細は後述する)、図7に示す例の場合、画像全体の12/32の面積のみ処理すれば足りることになる。   Reference numeral 705 indicates the result of the continuous color line detection process. By the continuous color line detection process, the flag value of the color line not continuous with the vertical size (4 in this example) of the detection minimum size is updated. In the case of this example, the flag value for 11 lines out of the 23 lines to which 1 is given in the color line detection process is changed from 1 to 0. As a result, 12 lines are finally given 1's. As described above, while leaving the flag value 1 in the line for drawing the object 702 and the object 703 having the detection minimum size or more, the flag value for the line for drawing the object (object 701 and the like) smaller than the detection minimum size may be set to 0. is made of. In the subsequent processing, the processing is executed only for the line having a flag value of 1 (details will be described later), so in the example shown in FIG. 7, it is sufficient to process only the area of 12/32 of the entire image. It will be.

<ラインあたり最大載り量検出処理について>
本実施例におけるラインあたり最大載り量検出処理とは、各ラインにおける最大載り量を求める処理である。より詳しく説明すると、各ラインにおける所定サイズの範囲に含まれる画素の載り量の和を繰り返し求め(繰り返し演算)、該求めた和のうち最大のものを求める処理である。本処理は、最大載り量導出処理に含まれる4つの処理の中で最も時間がかかる。ただし本処理では、フラグ値が0のラインについては前述の繰り返し演算を実行しないので、ここまでの処理でフラグ値が0のライン数を増やすことで、本処理に要する時間を減らすことができ、結果的に画像処理全体の時間を短くすることができる。以下、ラインあたり最大載り量検出処理について、図8を用いて説明する。
<About the maximum loading amount detection process per line>
The maximum loading amount detection processing per line in the present embodiment is processing for obtaining the maximum loading amount in each line. More specifically, the sum of the applied amounts of pixels included in the range of the predetermined size in each line is repeatedly determined (repeated calculation), and the largest of the determined sums is determined. This process takes the longest time among the four processes included in the maximum load amount deriving process. However, in the present process, the above-described repetitive operation is not executed for the line with the flag value of 0. Therefore, the time required for the present process can be reduced by increasing the number of lines with the flag value of 0 in the process up to this point. As a result, the overall time for image processing can be shortened. Hereinafter, the maximum applied amount detection processing per line will be described with reference to FIG.

ステップS801において、画像の先頭ラインを注目ラインとして設定する。次いで、ステップS802に進む。   In step S801, the top line of the image is set as a line of interest. Next, the process proceeds to step S802.

ステップS802において、注目ラインのラインあたり最大載り量を0に設定する。次いで、ステップS803に進む。   In step S802, the maximum loading amount per line of interest is set to zero. Next, the process proceeds to step S803.

ステップS803において、注目ラインのフラグ値が1であるか判定する。この判定結果が真の場合、ステップS804に進む一方、該判定結果が偽の場合、ステップS812に進む。   In step S803, it is determined whether the flag value of the line of interest is one. If the determination result is true, the process proceeds to step S804, while if the determination result is false, the process proceeds to step S812.

ステップS803でYESの場合、ステップS804において、注目ラインの先頭に所定サイズの探索窓をセットする。本ステップは、CMYKの各画像に対して実行され、また、本ステップでセットする探索窓のサイズは、その横方向のサイズが検出最小サイズの横方向のサイズと等しいM×1サイズである。次いで、ステップS805に進む。   If YES in step S803, in step S804, a search window of a predetermined size is set at the beginning of the target line. This step is executed for each image of CMYK, and the size of the search window set in this step is M × 1 size, the size in the lateral direction being equal to the lateral size of the detection minimum size. Next, the process proceeds to step S805.

ステップS805において、CMYKの各画像において、探索窓に含まれる画素の画素値の和を算出し、該算出したCMYKの各画像に対する和の合計を取る。本ステップで導出する、CMYKの各画像に対する和の合計を、CMYK探索窓内載り量と呼ぶ。ここで一例として、1画素が2bitで表現され各画素が0〜3の何れかの値をとる場合を検討する。この場合、1色あたりの探索窓に含まれる画素の画素値の合計は、最大で3×M(載り量100%に相当)であるので、CMYK探索窓内載り量の最大値は、理論上12×Mである。   In step S805, the sum of the pixel values of the pixels included in the search window is calculated in each of the CMYK images, and the sum of the calculated sums of each of the CMYK images is calculated. The sum of the sums for each of the CMYK images derived in this step is referred to as the CMYK search window coverage amount. Here, as an example, a case where one pixel is expressed by 2 bits and each pixel takes any value of 0 to 3 will be examined. In this case, since the sum of the pixel values of the pixels included in the search window per color is at most 3 × M (corresponding to the applied amount 100%), the maximum value of the applied amount within the CMYK search window is theoretically It is 12 × M.

ステップS806において、ステップS805で導出したCMYK探索窓内載り量が、想定し得る最大載り量(以下、想定最大載り量)以上であるか判定する。ここで想定最大載り量とは、定着ユニットの取り得る限りの最高温度で定着する必要がある載り量を意味する。本ステップの判定結果が真の場合、ステップS807に進む一方、該判定結果が偽の場合、ステップS808に進む。   In step S806, it is determined whether the amount of application of the CMYK search window derived in step S805 is equal to or greater than an estimated maximum amount of application (hereinafter, assumed maximum amount of application). Here, the assumed maximum loading amount means the loading amount that needs to be fixed at the highest possible temperature of the fixing unit. If the determination result in this step is true, the process proceeds to step S 807, while if the determination result is false, the process proceeds to step S 808.

ステップS806でCMYK探索窓内載り量が想定最大載り量以上と判定された場合(ステップS806でYES)について説明する。この場合、直近のステップS805で導出したCMYK探索窓内載り量以上となるようなCMYK探索窓内載り量を、注目ライン上で見つける必要は最早なくなる。従って、ステップS807において、注目ラインのラインあたり最大載り量を、想定最大載り量に設定し、注目ラインに対する処理を終了させる。次いで、ステップS812に進む。   A case where it is determined in step S806 that the loading amount in the CMYK search window is equal to or larger than the estimated maximum loading amount (YES in step S806) will be described. In this case, it is no longer necessary to find on the line of interest the amount of application within the CMYK search window that is equal to or greater than the amount of application within the CMYK search window derived in the most recent step S805. Therefore, in step S 807, the maximum loading amount per line of the target line is set to the assumed maximum loading amount, and the processing for the target line is ended. Next, the process proceeds to step S812.

ステップS806でCMYK探索窓内載り量が想定最大載り量以上ではないと判定された場合(ステップS806でNO)について説明する。この場合、ステップS808において、直近のステップS805で導出したCMYK探索窓内載り量がラインあたり最大載り量より大きいか判定する。この判定結果が真の場合、ステップS809に進む一方、該判定結果が偽の場合、ステップS810に進む。   A case where it is determined in step S806 that the loading amount in the CMYK search window is not equal to or larger than the estimated maximum loading amount (NO in step S806) will be described. In this case, in step S808, it is determined whether or not the applied amount in the CMYK search window derived in the latest step S805 is larger than the maximum applied amount per line. If the determination result is true, the process proceeds to step S809, whereas if the determination result is false, the process proceeds to step S810.

ステップS809において、ラインあたり最大載り量を更新し、直近のステップS805で導出したCMYK窓内載り量の値にする。次いで、ステップS810に進む。   In step S809, the maximum loading amount per line is updated to the value of the loading amount within the CMYK window derived in the latest step S805. Next, the process proceeds to step S810.

ステップS810において、探索窓が注目ラインの後端に設定されているか判定する。この判定結果が真の場合、ステップS812に進む一方、該判定の結果が偽の場合、ステップS811に進む。   In step S810, it is determined whether the search window is set at the rear end of the target line. If the determination result is true, the process proceeds to step S812, while if the result of the determination is false, the process proceeds to step S811.

ステップS811において、注目ラインにおいて、探索窓を1画素分横にずらしてセットする。ステップS811の後、ステップS805に戻る。例えば、処理対象の画像の横幅を示す画素数がWの場合、本ステップは最大でW−M+1回実行される。   In step S811, the search window is shifted by one pixel in the target line and set. After step S811, the process returns to step S805. For example, when the number of pixels indicating the horizontal width of the image to be processed is W, this step is executed at most W-M + 1 times.

ステップS803でNOの場合、ステップS810でYESの場合、又は、ステップS807に続いて、ステップS812において、注目ラインが最終ラインであるか判定する。この判定結果が真の場合、ラインあたり最大載り量検出処理を終了させる一方、該判定結果が偽の場合、ステップS813に進む。   If NO in step S803, YES in step S810, or following step S807, it is determined in step S812 whether the target line is the final line. If the determination result is true, the processing for detecting the maximum amount of applied toner per line is ended, while if the determination result is false, the process proceeds to step S813.

ステップS813において、次のラインを注目ラインとして設定する。次いで、ステップS802に戻る。   In step S813, the next line is set as the target line. Next, the process returns to step S802.

このように、画像を構成する全ラインに対して、ラインあたり最大載り量を導出する。以上が、本実施例におけるラインあたり最大載り量検出処理の内容である。   As described above, the maximum applied amount per line is derived for all the lines constituting the image. The above is the contents of the processing for detecting the maximum amount of load per line in the present embodiment.

<ラインあたり最大載り量検出処理の具体例について>
図7の符号706は、色ライン検出処理にて生成され、連続色ライン検出処理にて更新されるフラグに基づき実行される、ラインあたり最大載り量検出処理(図8)の結果を示している。前述したように、フラグ値が1のラインに対してのみ載り量はカウントされるので(ステップS803でYES→ステップS805)、図示するように、フラグ値が0のラインに対するラインあたり最大載り量は0となる。一方、フラグ値が1のラインに対するラインあたり最大載り量は0より大きい。尚、図7は、1色しか用いない場合を示しており、ラインあたり最大載り量の最大値は100%である。これに対し、4色(C、M、Y、K)を用いる場合であれば、ラインあたり最大載り量は4色分の合計によって導出され、その最大値は240%となる。
<About a specific example of the maximum loading amount detection process per line>
Reference numeral 706 in FIG. 7 denotes the result of the maximum adhesion amount detection processing per line (FIG. 8) executed based on the flag generated in the color line detection processing and updated in the continuous color line detection processing. . As described above, since the loading amount is counted only for the line where the flag value is 1 (YES in step S803 → step S805), the maximum loading amount per line for the line where the flag value is 0 is It will be 0. On the other hand, the maximum loading amount per line for a line with a flag value of 1 is larger than 0. FIG. 7 shows the case where only one color is used, and the maximum value of the maximum amount of application per line is 100%. On the other hand, in the case of using four colors (C, M, Y, K), the maximum application amount per line is derived by the sum of four colors, and the maximum value thereof is 240%.

このように、ラインあたり最大載り量検出処理の結果、ライン毎の最大載り量の列が生成される。仮に符号705に示すような更新フラグ値の列を生成することなくラインあたり最大載り量検出処理を実行した場合、符号707に示すように、より多くの色ラインについて載り量カウント処理を実行する必要があり、多くの処理時間を要することとなる。本実施例では、フラグ値が0になったラインについては、探索窓を用いた載り量カウントを実行しないよう制御することで、画像処理の高速化を実現している。   Thus, as a result of the processing for detecting the maximum loading amount per line, a row of maximum loading amounts for each line is generated. If the maximum applied amount detection processing per line is executed without generating a row of update flag values as indicated by reference numeral 705, it is necessary to execute the applied amount count processing for more color lines as indicated by reference numeral 707. And it takes a lot of processing time. In the present embodiment, the speed-up of the image processing is realized by performing control not to execute the loading amount count using the search window for the line in which the flag value is 0.

<ページ画像あたり最大載り量検出処理について>
本実施例におけるページ画像あたり最大載り量検出処理とは、ページ画像における最大載り量を検出する処理である。より詳しく説明すると、ラインあたり最大載り量検出処理で導出した各ラインの最大載り量に基づき、連続する複数の色ラインの平均載り量を算出し、該算出した平均載り量のうち最大のものを、ページ画像あたり最大載り量として求める処理である。以下、ページ画像あたり最大載り量検出処理について、図9を用いて説明する。
<About maximum loading amount detection processing per page image>
The maximum loading amount detection process per page image in the present embodiment is processing for detecting the maximum loading amount in a page image. More specifically, the average applied amount of a plurality of continuous color lines is calculated based on the maximum applied amount of each line derived by the maximum applied amount detection processing per line, and the largest applied amount among the calculated average applied amounts is determined. , It is processing to obtain as the maximum loading amount per page image. Hereinafter, the maximum loading amount detection process per page image will be described with reference to FIG.

ステップS901において、ページ画像あたり最大載り量の初期値として0を設定する。次いで、ステップS902に進む。   In step S901, 0 is set as an initial value of the maximum loading amount per page image. Next, the process proceeds to step S902.

ステップS902において、ラインあたり最大載り量検出処理で導出した、ラインあたり最大載り量の列(図7の符号706)の先頭に所定サイズの探索窓をセットする。本ステップでセットする探索窓は、その縦方向のサイズが検出最小サイズの縦方向のサイズと等しい1×Nサイズを有する。次いで、ステップS903に進む。   In step S902, a search window of a predetermined size is set at the head of the column of the maximum applied amount per line (symbol 706 in FIG. 7) derived by the maximum applied amount detection processing per line. The search window set in this step has a 1 × N size whose vertical size is equal to the vertical size of the detected minimum size. Next, the process proceeds to step S903.

ステップS903において、探索窓内のラインあたり最大載り量の平均値を算出する。次いで、ステップS904に進む。   In step S903, the average value of the maximum loading amount per line in the search window is calculated. Next, the process proceeds to step S904.

ステップS904において、ステップS903で算出した平均値が、想定最大載り量以上であるか判定する。本ステップの判定結果が真の場合、ステップS905に進む一方、該判定結果が偽の場合、ステップS906に進む。   In step S904, it is determined whether the average value calculated in step S903 is equal to or larger than the estimated maximum loading amount. If the determination result of this step is true, the process proceeds to step S905, while if the determination result is false, the process proceeds to step S906.

ステップS904で窓内のラインあたり最大載り量の平均値が想定最大載り量以上と判定された場合(ステップS904でYES)について説明する。この場合、直近のステップS903で算出した平均値以上となるような載り量を、ページ画像内で見つける必要は最早なくなる。従って、ステップS905において、ページ画像あたり最大載り量を更新して想定最大載り量の値にし、ページ画像あたり最大載り量検出処理を終了させる。   A case where it is determined in step S904 that the average value of the maximum loading amounts per line in the window is equal to or larger than the estimated maximum loading amount (YES in step S904) will be described. In this case, it is no longer necessary to find in the page image the applied amount that is equal to or greater than the average value calculated in the most recent step S903. Therefore, in step S905, the maximum loading amount per page image is updated to the value of the assumed maximum loading amount, and the maximum loading amount detection processing per page image is ended.

ステップS904で探索窓内のラインあたり最大載り量の平均値が想定最大載り量以上ではないと判定された場合(ステップS904でNO)について説明する。この場合、ステップS906において、直近のステップS903で算出した平均値がページ画像あたり最大載り量より大きいか判定する。この判定結果が真の場合、ステップS907に進む一方、該判定結果が偽の場合、ステップS908に進む。   The case where it is determined in step S904 that the average value of the maximum loading amounts per line in the search window is not equal to or larger than the estimated maximum loading amount (NO in step S904) will be described. In this case, in step S906, it is determined whether the average value calculated in the most recent step S903 is larger than the maximum loading amount per page image. If the determination result is true, the process proceeds to step S 907, while if the determination result is false, the process proceeds to step S 908.

ステップS907において、ページ画像あたり最大載り量を更新して、直近のステップS903で算出した平均値にする。次いで、ステップS908に進む。   In step S 907, the maximum loading amount per page image is updated to be the average value calculated in the most recent step S 903. Next, the process proceeds to step S908.

ステップS908において、最終ラインに対応するラインあたり最大載り量が探索窓内に存在するか判定する。この判定結果が真の場合、ページ画像あたり最大載り量検出処理を終了させる一方、該判定結果が偽の場合、ステップS909に進む。   In step S 908, it is determined whether the maximum loading amount per line corresponding to the final line exists in the search window. If the determination result is true, the processing for detecting the maximum applied amount per page image is ended, while if the determination result is false, the process proceeds to step S909.

ステップS909において、探索窓を画素1個分下にずらしてセットする。次いで、ステップS903に戻る。   In step S909, the search window is shifted downward by one pixel and set. Next, the process returns to step S903.

以上が、本実施例におけるページ画像あたり最大載り量検出処理の内容である。本処理で導出されるページ画像あたり最大載り量は、ステップS404における最大載り量導出処理の最終的な結果物であり、この値に基づいて、定着ユニット226の温度が制御される。擬似中間処理(ステップS403)で導出された画像データがレーザドライバ212に送られるとともに、本ステップで導出されたページ画像あたり最大載り量が定着ユニット226に通知される。これにより、画像出力部105において、定着ユニット226はその温度がページ画像あたり最大載り量に対応する定着温度となるよう制御され、該定着温度でのトナー定着が実行される。   The above is the contents of the processing for detecting the maximum loading amount per page image in the present embodiment. The maximum loading amount per page image derived in this processing is a final product of the maximum loading amount deriving processing in step S404, and the temperature of the fixing unit 226 is controlled based on this value. The image data derived in the pseudo intermediate processing (step S403) is sent to the laser driver 212, and the fixing amount per page image derived in this step is notified to the fixing unit 226. As a result, in the image output unit 105, the fixing unit 226 is controlled so that the temperature thereof becomes the fixing temperature corresponding to the maximum applied amount per page image, and the toner fixing at the fixing temperature is executed.

前述の通り本実施例では、色ライン検出処理、及び、連続色ライン検出処理でフラグ値が1となったラインに対してのみ、ラインあたり最大載り量検出処理での探索窓を用いた載り量カウントが実行される(ステップS803でYES→ステップS805)。尚、色ライン検出処理と連続色ライン検出処理とを実行せずとも、全てのラインにフラグ値1を設定して、ラインあたり最大載り量検出処理とページ画像あたり最大載り量検出処理とを実行すれば、温度制御に必要な最大載り量を求めることは一応可能である。しかしこの場合、ラインあたり最大載り量検出処理における探索窓を用いた載り量カウントの繰り返し処理を、画像を構成する全ラインに対して実行することとなり、多大な処理時間を要する。本実施例では、色ライン検出処理、及び、連続色ライン検出処理を実行し、フラグ値が0となったラインに対しては、このような探索窓を用いた載り量カウントの繰り返し処理の対象から除外することで、画像処理に要する時間の短縮化を図っている。   As described above, in the present embodiment, only for the lines for which the flag value is 1 in the color line detection process and the continuous color line detection process, the application amount using the search window in the maximum application amount detection process per line The count is executed (YES in step S803 → step S805). Note that even if color line detection processing and continuous color line detection processing are not performed, flag value 1 is set for all lines, and maximum applied amount detection processing per line and maximum applied amount detection processing per page image are executed. If so, it is possible to determine the maximum loading amount necessary for temperature control. However, in this case, repeated loading amount count processing using the search window in the maximum loading amount detection processing per line is performed for all lines constituting an image, which requires a large processing time. In this embodiment, the color line detection process and the continuous color line detection process are executed, and for the line for which the flag value is 0, the target of the repeat process of the coating amount count using such a search window By excluding from the above, the time required for image processing is shortened.

<実施例1の変形例について>
尚、前述の実施例では、全てのラインに対して処理を実行したが、検出精度と処理速度とのトレードオフな関係を考慮して、ある程度の数(検出最小サイズの縦方向の長さを示す画素数以下の数)のラインの処理を間引くことで、高速化を図ってもよい。同様に、ラインあたり最大載り量検出処理において、探索窓を1画素分ずつ横にずらしてセットすることで、全画素に対して載り量カウント処理を実行したが、この処理も、探索窓を複数画素分ずつすらしてセットして数画素おきに実行してもよい。
<On a Modification of Embodiment 1>
In the above-described embodiment, the process is performed on all the lines, but in consideration of the trade-off relationship between the detection accuracy and the processing speed, a certain number (the length in the vertical direction of the minimum detection size Speeding up may be achieved by thinning out the processing of the lines (numbers smaller than the number of pixels shown). Similarly, in the maximum applied amount detection process per line, the applied amount count process is executed for all pixels by shifting the search window horizontally by one pixel, but this process also includes a plurality of searched windows. It may be set every few pixels, and may be performed every several pixels.

また、前述の実施例では、検出最小サイズを、これより小さいサイズのオブジェクトに関してはどれだけ大きい載り量であっても最低温度でのトナー定着が可能なサイズと定義している。しかし、検出最小サイズは必ずしも、定着ユニットの温度上昇が必要となるサイズと等しいとは限らない。例えば、高速処理に望ましいサイズとしては、前述の32bit等の2nbitのデータ量を持つサイズが考えられるが、このようなサイズは、温度上昇が必要となるサイズと必ずしも一致しない。温度上昇が必要なサイズ以下のサイズであって、かつ高速処理に適したサイズを、検出最小サイズとして用いてもよい。 Further, in the above-described embodiment, the minimum detection size is defined as a size that allows toner fixing at the minimum temperature regardless of how large the mounting amount is for an object of a smaller size. However, the minimum detection size is not necessarily equal to the size at which the temperature increase of the fixing unit is required. For example, although a size having a data amount of 2 n bits such as the above-mentioned 32 bits can be considered as a size desirable for high-speed processing, such a size does not necessarily coincide with the size that requires a temperature rise. A size smaller than the size required for temperature rise and suitable for high speed processing may be used as the minimum detection size.

また、前述の実施例では、閾値を超える数の色が使われている領域がラインにあるか否かを示すフラグを用いている。しかし、そのようなフラグに代えて、ラインにおいて色が最初に見つかった座標を用いてもよい。具体的には、色ライン検出処理において閾値を超える数の色が使われている領域を見つけた場合、このとき用いた探索窓の位置を利用する。つまり、ラインあたり最大載り量検出処理における処理の開始位置を、この探索窓の位置とすることで、ラインの先頭からその位置までの処理を省略することが可能になる。尚、色ライン検出処理において、閾値を超える色数が使われている領域がラインに見つからなかった場合、該ラインの最後端の位置を出力することで、前述の実施例におけるフラグ値が0の場合と同様、該ラインに対する後続処理を実行しないように制御してもよい。このときの連続色ライン検出処理では、連続するフラグ値1の長さ(ランレングス)をカウントする代わりに、ラインの途中で色ライン検出処理が終わっているラインがどれだけ続くかカウントする構成となる。これは、本変形例において、ラインの途中で終了せず最後端まで色ライン検出処理が実行された結果、閾値を超える色数が使われている領域がラインに見つからないことが、前述の実施例において、ラインのフラグ値が0であることと同義であるためである。   Further, in the above-described embodiment, a flag is used to indicate whether there is an area in which the number of colors exceeding the threshold is used. However, instead of such a flag, the coordinates where the color was first found in the line may be used. Specifically, when an area where the number of colors exceeding the threshold is used in the color line detection process is found, the position of the search window used at this time is used. That is, by setting the start position of the processing in the maximum applied amount detection processing per line as the position of the search window, it is possible to omit the processing from the head of the line to that position. In the color line detection process, when the area where the number of colors exceeding the threshold is not found in the line, the flag value in the above embodiment is 0 by outputting the position of the end of the line. As in the case, it may be controlled not to execute the subsequent processing on the line. In the continuous color line detection process at this time, instead of counting the length (run length) of the continuous flag value 1, it is counted how long the line for which the color line detection process is completed continues in the middle of the line. Become. This is because, in the present modification, as a result of the color line detection process being executed to the end without ending in the middle of the line, no area in which the number of colors exceeding the threshold is used is found in the line. This is because, in the example, the flag value of the line is the same as being 0.

[実施例2]
実施例1では、画像に対する最大載り量導出処理(図4のステップS404)に含まれる4つの処理は、シーケンシャルに実行される。つまり、まず色ライン検出処理が実行され、色ライン検出処理の終了後に連続色ライン検出処理が実行され、連続色ライン検出処理の終了後にラインあたり最大載り量検出処理が実行され、最後にページ画像あたり最大載り量が実行される。
Example 2
In the first embodiment, the four processes included in the maximum applied amount deriving process (step S404 in FIG. 4) for an image are sequentially performed. That is, first, the color line detection process is executed, the continuous color line detection process is executed after the color line detection process, the maximum application amount detection process per line is executed after the continuous color line detection process, and finally the page image The maximum loading amount is executed.

しかし、このように4つの処理をシーケンシャルに実行する場合、画像データを全て記憶部103で保持し続ける必要がある。従って、画像のうち処理が完了した領域を先行して画像出力部105に送って記憶部103の使用領域を空けるようなことはできない。また、実施例1では、特に時間がかかるラインあたり最大載り量検出処理での探索窓を用いた載り量カウントを、フラグ値が1のライン全てに対して行う必要がある。そこで本実施例では、これらの課題に鑑み、最大載り量導出処理に含まれる4つの処理をパラレルに(具体的には、画像を構成するライン毎に)実行する。   However, when the four processes are sequentially executed as described above, it is necessary to keep all the image data in the storage unit 103. Therefore, it is impossible to send the area of the image, for which processing has been completed, to the image output unit 105 in advance to free the use area of the storage unit 103. Further, in the first embodiment, it is necessary to count the applied amount using the search window in the processing for detecting the maximum applied amount per line, which takes a particularly long time, for all lines having a flag value of 1. Therefore, in the present embodiment, in view of these problems, four processes included in the maximum placement amount deriving process are executed in parallel (specifically, for each line constituting an image).

尚、以下では主に、実施例1と異なる内容について説明し、画像形成装置の構成等、実施例1と同様の内容については、説明を省略する。   In the following, the contents different from the first embodiment will be mainly described, and the description of the same contents as the first embodiment, such as the configuration of the image forming apparatus, will be omitted.

<最大載り量導出処理について>
以下、本実施例における最大載り量導出処理について、図10を用いて説明する。尚、以下の処理は、CPU104によって実行される。
<About the maximum loading amount derivation process>
Hereinafter, the maximum loading amount deriving process in the present embodiment will be described with reference to FIG. The following processing is executed by the CPU 104.

ステップS1001において、画像の先頭ラインを注目ラインとして設定する。次いで、ステップS1002に進む。   In step S1001, the top line of the image is set as a line of interest. Next, the process proceeds to step S1002.

ステップS1002において、ページ画像あたり最大載り量の初期値として0を設定する。次いで、ステップS1003に進む。   In step S1002, 0 is set as an initial value of the maximum loading amount per page image. Next, the process proceeds to step S1003.

ステップS1003において、注目ラインに対し、実施例1と同様の処理(具体的には図5のステップS503〜ステップS507)を実行することで、注目ラインのフラグ値を導出する。次いで、ステップS1004に進む。   In step S1003, the flag value of the line of interest is derived by performing the same processing as that of the first embodiment (specifically, steps S503 to S507 of FIG. 5) on the line of interest. Next, the process proceeds to step S1004.

ステップS1004において、注目ラインのフラグ値が1であるか判定する。この判定結果が真の場合、ステップS1005に進む一方、該判定結果が偽の場合、ステップS1006に進む。   In step S1004, it is determined whether the flag value of the line of interest is one. If the determination result is true, the process proceeds to step S1005, while if the determination result is false, the process proceeds to step S1006.

まず、ステップS1004で注目ラインのフラグ値が1であると判定された場合(ステップS1004でYES)について説明する。この場合、ステップS1005において、フラグ値1のランレングスをカウントアップする。次いで、ステップS1007に進む。   First, the case where it is determined in step S1004 that the flag value of the attention line is 1 (YES in step S1004) will be described. In this case, in step S1005, the run length of the flag value 1 is counted up. Next, the process proceeds to step S1007.

ステップS1007において、フラグ値1のランレングスが、検出最小サイズの縦方向の長さN以上か判定する。この判定結果が真の場合、ステップS1008に進む一方、該判定結果が偽の場合、ステップS1010に進む。   In step S1007, it is determined whether the run length of the flag value 1 is greater than or equal to the vertical length N of the minimum detection size. If the determination result is true, the process proceeds to step S1008, while if the determination result is false, the process proceeds to step S1010.

ステップS1008において、注目ラインに対するラインあたり最大載り量検出処理を実行する。より詳しく説明すると、注目ラインに対し、実施例1と同様の処理(具体的には図8のステップS804〜ステップS811)を実行することで、注目ラインに対するラインあたり最大載り量を求める。次いで、ステップS1009に進む。   In step S1008, the processing for detecting the maximum applied amount per line for the line of interest is executed. More specifically, the same processing as in the first embodiment (specifically, steps S804 to S811 in FIG. 8) is performed on the line of interest to obtain the maximum amount of application per line for the line of interest. Next, the process proceeds to step S1009.

ステップS1009において、直近のステップS1008で求めたラインあたり最大載り量に基づき、ページ画像あたり最大載り量を更新する。より詳しく説明すると、実施例1と同様に(図9のステップS904〜ステップS907)、注目ラインのフラグ値1を含むN個の1のランに含まれるフラグ値1の夫々に対応するラインあたり最大載り量の平均値を算出する。そして、算出した平均値が所定条件を満たす場合に、ページ画像あたり最大載り量を更新する。次いで、ステップS1011に進む。   In step S1009, the maximum loading amount per page image is updated based on the maximum loading amount per line obtained in the latest step S1008. In more detail, as in the first embodiment (steps S904 to S907 in FIG. 9), the maximum per line corresponding to each of flag values 1 included in N 1 runs including flag value 1 of the target line Calculate the average value of the loading amount. Then, when the calculated average value satisfies the predetermined condition, the maximum loading amount per page image is updated. Next, the process proceeds to step S1011.

次に、ステップS1004で注目ラインのフラグ値が1ではないと判定された場合(ステップS1004でNO)について説明する。この場合、ステップS1006において、フラグ値1のランレングスのカウント値をリセットして0にする。次いで、ステップS1010に進む。   Next, the case where it is determined in step S1004 that the flag value of the attention line is not 1 (NO in step S1004) will be described. In this case, in step S1006, the count value of the run length of the flag value 1 is reset to 0. Next, the process proceeds to step S1010.

ステップS1010において、注目ラインが最終ラインであるか判定する。この判定結果が真の場合、最大トナー載り量導出処理を終了させる一方、該判定結果が偽の場合、ステップS1011に進む。   In step S1010, it is determined whether the line of interest is the final line. If the determination result is true, the maximum toner adhesion amount derivation process is ended, while if the determination result is false, the process proceeds to step S1011.

ステップS1011において、次のラインを注目ラインとして設定し、次いで、ステップS1003に戻る。   In step S1011, the next line is set as a line of interest, and then the process returns to step S1003.

尚、図10には示していないが、ステップS1009において、ページ画像あたり最大載り量が想定最大載り量以上となった場合、この時点で、処理を続ける必要がなくなる。従ってこの場合、実施例1と同様に(図9のステップS904でYESの場合)、最大トナー載り量導出処理を終了させることが可能である。以上が、本実施例における最大載り量導出処理の内容である。   Although not shown in FIG. 10, in step S1009, when the maximum loading amount per page image becomes equal to or larger than the estimated maximum loading amount, it is not necessary to continue the processing at this time. Therefore, in this case, as in the first embodiment (in the case of YES in step S904 in FIG. 9), it is possible to end the maximum applied toner amount derivation process. The above is the contents of the maximum loading amount derivation process in the present embodiment.

本実施例により、画像データを全て記憶部103で保持し続ける必要がなくなるので、画像のうち処理が完了した領域を先行して画像出力部105に送って記憶部103の使用領域を空けることも可能になる。また、ページあたり最大載り量が想定最大載り量以上となった時点で後続のラインに対する処理をスキップできるので、フラグ値が1の全てのラインに対してラインあたり最大載り量検出処理を実行しなくてよい場合がある。よって、画像処理にかかる時間を実施例1より短縮できる可能性がある。   According to this embodiment, since it is not necessary to keep all the image data held in the storage unit 103, it is also possible to send the area of the image for which processing has been completed to the image output unit 105 in advance to free the use area of the storage unit 103. It will be possible. In addition, processing can be skipped for the subsequent lines when the maximum loading amount per page exceeds the expected maximum loading amount, so the maximum loading amount detection processing per line is not performed for all lines having a flag value of 1. There are times when it is good. Therefore, there is a possibility that the time required for the image processing can be shorter than that of the first embodiment.

[その他の実施例]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other embodiments]
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or storage medium, and one or more processors in a computer of the system or apparatus read and execute the program. Can also be realized. It can also be implemented by a circuit (eg, an ASIC) that implements one or more functions.

Claims (15)

ページ画像内のオブジェクトの色材の載り量に基づき、定着ユニットの温度を制御する画像形成装置であって、
前記ページ画像を構成する複数ラインのなかから、1又は複数の色が使われる色ラインを検出する色ライン検出手段と、
前記検出した色ラインのなかから、縦方向に連続して現れる連続色ラインを検出する連続色ライン検出手段と、
前記検出した連続色ラインの各々において単位面積あたりの載り量をカウントし、前記ページ画像を構成するラインあたりの最大載り量を導出するラインあたり最大載り量導出手段と、
前記導出したラインあたりの最大載り量に基づき、前記ページ画像あたりの最大載り量を導出するページ画像あたり最大載り量導出手段と
を備えることを特徴とする画像形成装置。
An image forming apparatus that controls the temperature of a fixing unit based on the amount of applied color material of an object in a page image.
Color line detection means for detecting a color line in which one or more colors are used among a plurality of lines constituting the page image;
Continuous color line detection means for detecting continuous color lines appearing continuously in the vertical direction out of the detected color lines;
A maximum applied amount per line deriving unit which counts the applied amount per unit area in each of the detected continuous color lines and derives the maximum applied amount per line constituting the page image;
An image forming apparatus comprising: a maximum loading amount per page image for deriving the maximum loading amount per page image based on the derived maximum loading amount per line;
前記ページ画像あたりの最大載り量に基づき、前記定着ユニットの温度を制御する制御手段を更に備えることを特徴とする請求項1に記載の画像形成装置。   2. The image forming apparatus according to claim 1, further comprising control means for controlling the temperature of the fixing unit based on the maximum loading amount per page image. 前記載り量を求める対象のオブジェクトであるか否かを決めるための検出最小サイズが予め定義されており、
前記検出最小サイズは、横方向の長さがM画素であり、かつ縦方向の長さがN画素である矩形のサイズに等しいことを特徴とする請求項1又は2に記載の画像形成装置。
A minimum detection size is defined in advance to determine whether the object is an object for which the amount of data described above is to be obtained.
The image forming apparatus according to claim 1, wherein the minimum detection size is equal to the size of a rectangle having a horizontal length of M pixels and a vertical length of N pixels.
前記色ライン検出手段は、注目ラインを分割した各分割領域で所定の閾値より多い数の色が使われるか判定し、何れかの分割領域で該所定の閾値より多い数の色が使われる場合に該注目ラインを前記色ラインと判定して、該注目ラインにフラグ値1を設定することを特徴とする請求項3に記載の画像形成装置。   The color line detection means determines whether a number of colors greater than a predetermined threshold is used in each divided area obtained by dividing the target line, and a number of colors greater than the predetermined threshold is used in any of the divided areas. The image forming apparatus according to claim 3, wherein the flag line is determined to be the target line by determining the target line as the color line. 前記色ライン検出手段は、前記各分割領域で前記所定の閾値より多い数の色が使われるかの判定を、前記注目ラインの先頭から前記分割領域毎に順番に実行し、前記分割領域の1つに対する該判定の結果が真となった場合に、残りの分割領域に対する処理をスキップすることを特徴とする請求項4に記載の画像形成装置。   The color line detection means sequentially determines whether each of the divided areas uses the number of colors greater than the predetermined threshold in each of the divided areas, and determines whether the number of colors is greater than the predetermined threshold. 5. The image forming apparatus according to claim 4, wherein processing for the remaining divided areas is skipped when the result of the determination for one becomes true. 前記所定の閾値は、前記色材を定着させる際に前記定着ユニットが取り得る温度のうち最も低い温度によって決まることを特徴とする請求項4又は5に記載の画像形成装置。   The image forming apparatus according to claim 4, wherein the predetermined threshold value is determined by the lowest temperature of the temperature that the fixing unit can take when fixing the color material. CPUを更に備え、
前記分割領域は、該CPUによる高速アクセスを可能とする所定のサイズを有することを特徴とする請求項4乃至6の何れか1項に記載の画像形成装置。
It also has a CPU
The image forming apparatus according to any one of claims 4 to 6, wherein the divided area has a predetermined size enabling high-speed access by the CPU.
前記連続色ライン検出手段は、前記色ライン検出手段によって検出された色ラインが、前記検出最小サイズの縦方向の長さの画素数であるN以上縦方向に連続するか判定し、N以上縦方向に連続する色ラインのみを前記連続色ラインとして検出することを特徴とする請求項4乃至7の何れか1項に記載の画像形成装置。   The continuous color line detection means determines whether or not the color line detected by the color line detection means is continuous in the longitudinal direction N or more, which is the number of pixels in the vertical direction of the detection minimum size, The image forming apparatus according to any one of claims 4 to 7, wherein only a color line continuous in a direction is detected as the continuous color line. 前記単位面積の横方向の長さは、前記検出最小サイズの横方向の長さであるM画素に等しいことを特徴とする請求項4乃至8の何れか1項に記載の画像形成装置。   The image forming apparatus according to any one of claims 4 to 8, wherein a horizontal length of the unit area is equal to M pixels which is a horizontal length of the minimum detection size. 前記ページ画像あたり最大載り量導出手段は、前記ページ画像あたりの最大載り量の初期値として0を設定し、
各ラインに対応する前記ラインあたりの最大載り量の列に探索窓をセットすることと、前記セットした探索窓内の最大載り量の平均値を算出することと、前記算出した平均値が前記ページ画像あたりの最大載り量より大きい場合、該ページ画像あたりの最大載り量の値を更新して該算出した平均値にすることとを、前記探索窓を移動させながら繰り返し実行することで、前記ページ画像あたりの最大載り量を導出することを特徴とする請求項4乃至9の何れか1項に記載の画像形成装置。
The maximum loading amount deriving unit per page image sets 0 as an initial value of the maximum loading amount per page image,
Setting a search window in the column of the maximum applied amount per line corresponding to each line, calculating an average value of the maximum applied amount in the set search window, and calculating the average value of the calculated average value When the value of the maximum loading amount per page image is updated and made to be the calculated average value when the loading amount per image is larger than the maximum loading amount, the page is repeatedly executed while moving the search window. The image forming apparatus according to any one of claims 4 to 9, wherein the maximum amount of application per image is derived.
前記探索窓の縦方向の長さは、前記検出最小サイズの縦方向の長さであるN画素に等しいことを特徴とする請求項10に記載の画像形成装置。   11. The image forming apparatus according to claim 10, wherein the length in the vertical direction of the search window is equal to N pixels which is the length in the vertical direction of the minimum detection size. 前記色ライン検出手段は、前記所定の閾値より多い数の色が使われる前記分割領域を見つけた際にセットした前記探索窓の位置を、前記ラインあたり最大載り量導出手段に通知し、
前記ラインあたり最大載り量導出手段は、ラインの先頭から該位置までの領域に対する処理をスキップすることを特徴とする請求項10又は11に記載の画像形成装置。
The color line detection means notifies the position of the search window set when finding the divided area in which the number of colors larger than the predetermined threshold is used, to the maximum applied amount deriving means per line.
12. The image forming apparatus according to claim 10, wherein the means for deriving the maximum applied amount per line skips processing on an area from the top of the line to the position.
ページ画像内のオブジェクトの色材の載り量に基づき、定着ユニットの温度を制御する画像形成装置であって、
前記ページ画像を構成するライン毎に、1又は複数の色が使われる色ラインであるか判定する判定手段と、
前記判定された色ラインが、縦方向に連続して現れる色ラインであるか判定する判定手段と、
前記縦方向に連続して現れる色ラインにおいて単位面積あたりの載り量をカウントし、該色ラインあたりの最大載り量を導出する導出手段と、
該色ラインを含む縦方向に連続して現れる複数の色ラインの夫々に対応する、色ラインあたりの最大載り量の平均値に基づき、前記ページ画像あたりの最大載り量を導出するページ画像あたり最大載り量導出手段と
を備えることを特徴とする画像形成装置。
An image forming apparatus that controls the temperature of a fixing unit based on the amount of applied color material of an object in a page image.
A determination unit that determines whether one or more colors are used for each line constituting the page image;
A determination unit that determines whether the determined color line is a color line that appears continuously in the vertical direction;
Deriving means for counting the applied amount per unit area in the color lines appearing continuously in the vertical direction, and deriving the maximum applied amount per color line;
Maximum value per page image derived Maximum value per page image based on the average value of maximum amount per color line corresponding to each of a plurality of color lines appearing continuously in the longitudinal direction including the color line An image forming apparatus comprising: a loading amount deriving means.
ページ画像内のオブジェクトの色材の載り量に基づき、定着ユニットの温度を制御する画像形成装置の制御方法であって、
前記ページ画像を構成する複数ラインのなかから、1又は複数の色が使われる色ラインを検出するステップと、
前記検出した色ラインのなかから、縦方向に連続して現れる連続色ラインを検出するステップと、
前記検出した連続色ラインの各々において単位面積あたりの載り量をカウントし、前記ページ画像を構成するラインあたりの最大載り量を導出するステップと、
前記導出したラインあたりの最大載り量に基づき、前記ページ画像あたりの最大載り量を導出するステップと
を備えることを特徴とする制御方法。
A control method of an image forming apparatus, which controls a temperature of a fixing unit based on an applied amount of a coloring material of an object in a page image.
Detecting a color line in which one or more colors are used out of a plurality of lines constituting the page image;
Detecting continuous color lines appearing continuously in the vertical direction out of the detected color lines;
Counting the applied amount per unit area in each of the detected continuous color lines, and deriving the maximum applied amount per line constituting the page image;
And D. deriving the maximum loading amount per page image based on the derived maximum loading amount per line.
コンピュータに、請求項14に記載の制御方法を実行させるためのプログラム。   The program for making a computer perform the control method of Claim 14.
JP2017074589A 2017-04-04 2017-04-04 Image forming apparatus, control method of image forming apparatus, and program Pending JP2018180054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017074589A JP2018180054A (en) 2017-04-04 2017-04-04 Image forming apparatus, control method of image forming apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017074589A JP2018180054A (en) 2017-04-04 2017-04-04 Image forming apparatus, control method of image forming apparatus, and program

Publications (1)

Publication Number Publication Date
JP2018180054A true JP2018180054A (en) 2018-11-15

Family

ID=64276474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017074589A Pending JP2018180054A (en) 2017-04-04 2017-04-04 Image forming apparatus, control method of image forming apparatus, and program

Country Status (1)

Country Link
JP (1) JP2018180054A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020106591A (en) * 2018-12-26 2020-07-09 キヤノン株式会社 Image forming apparatus, image forming method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020106591A (en) * 2018-12-26 2020-07-09 キヤノン株式会社 Image forming apparatus, image forming method and program
JP7187299B2 (en) 2018-12-26 2022-12-12 キヤノン株式会社 Image forming apparatus, image forming method and program

Similar Documents

Publication Publication Date Title
JP4495745B2 (en) Image processing apparatus, image processing method, computer program, and storage medium
JP6280379B2 (en) Image forming apparatus, toner consumption calculation method and program
JP2010252194A (en) Image processing apparatus and image processing method
KR920018609A (en) Information recording device and image recording method
US8446641B2 (en) Image processing apparatus and image processing method
JP5840159B2 (en) Image forming apparatus
US8928939B2 (en) Image processing apparatus obtaining patch data corresponding to obtained time between print pages
JP2015173419A (en) Image processing apparatus, control method therefor, and program
JP6201557B2 (en) Image forming apparatus
EP1341369A2 (en) Image processing apparatus and image forming apparatus
CN101197912A (en) Image processing apparatus and image processing method
JP2018180054A (en) Image forming apparatus, control method of image forming apparatus, and program
JP4395743B2 (en) Image forming apparatus and positional deviation correction method
JP2013074314A (en) Image processing method, image reader, and image processing program
JP5574727B2 (en) Image forming apparatus and control method thereof
EP2541332B1 (en) Image forming apparatus
US20090021545A1 (en) Image forming apparatus and method of generating output signal thereof
JP2018205576A (en) Image formation apparatus, control method and program of the same
JP2000036912A (en) Image processing method
JPH06311365A (en) Picture input output device
JP2006259261A (en) Image forming apparatus
JP6504773B2 (en) IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND PROGRAM
US8310688B2 (en) Image forming apparatus, image forming method, and image forming program storage medium
JP2922516B2 (en) Image forming device
JP6561634B2 (en) Image processing apparatus and control program for image processing apparatus