JP2014172385A - Image processing device, image formation device, image correction method and program - Google Patents

Image processing device, image formation device, image correction method and program Download PDF

Info

Publication number
JP2014172385A
JP2014172385A JP2013049959A JP2013049959A JP2014172385A JP 2014172385 A JP2014172385 A JP 2014172385A JP 2013049959 A JP2013049959 A JP 2013049959A JP 2013049959 A JP2013049959 A JP 2013049959A JP 2014172385 A JP2014172385 A JP 2014172385A
Authority
JP
Japan
Prior art keywords
pixel
image
correction
scanning direction
pixels
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.)
Granted
Application number
JP2013049959A
Other languages
Japanese (ja)
Other versions
JP6136391B2 (en
Inventor
Makoto Higashiyama
真 東山
Nobukane Kaima
信謙 貝間
Yutaka Omiya
豊 大宮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2013049959A priority Critical patent/JP6136391B2/en
Publication of JP2014172385A publication Critical patent/JP2014172385A/en
Application granted granted Critical
Publication of JP6136391B2 publication Critical patent/JP6136391B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Color, Gradation (AREA)
  • Laser Beam Printer (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Color Electrophotography (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing device, an image formation device, an image correction method and a program that can correct the tilt and the curve of a scanning line which may occur on an image in an image formation process.SOLUTION: An image processing device (1, 100) is configured to divide a scanning area in a main scanning direction and shift image data between the divided areas in a sub scanning direction. The image processing device comprises: alignment direction determination means 150 that determines an alignment direction for aligning a pixel in the main scanning direction for each target pixel by referring to the target pixels and peripheral pixels around the target pixels; average concentration calculation means 152 that calculates an average concentration value of a plurality of pixels lined in the sub scanning direction on the basis of shifting between adjacent divided areas; and corrected concentration calculation means 156 that calculates a corrected concentration value on the basis of the average concentration value of the plurality of pixels lined in the main scanning direction and the alignment direction.

Description

本発明は、画像処理装置、画像形成装置、画像補正方法およびプログラムに関する。本発明は、より詳細には、画像形成過程で画像に生じ得る走査ラインの傾きや曲がりを補正できる画像処理装置、該画像処理装置を含む画像形成装置、該画像処理装置が実行する画像補正方法、および該画像処理装置を実現するためのプログラムに関する。   The present invention relates to an image processing apparatus, an image forming apparatus, an image correction method, and a program. More specifically, the present invention relates to an image processing device capable of correcting the inclination and bending of a scanning line that may occur in an image during an image forming process, an image forming device including the image processing device, and an image correction method executed by the image processing device. And a program for realizing the image processing apparatus.

電子写真方式の画像形成装置においては、レンズなどの光学素子の特性や、装置組み立てにおける各部材の位置決め精度に起因して、用紙が搬送される方向(以下、副走査方向という。)に対し、主走査ラインの傾きや曲がりが生じる。上述のような傾きや曲がりは、複数色で画像形成する場合、転写される各色の画像の間にずれを生じさせ、観察者に色ずれや色むらとして知覚されてしまい、画像品質を劣化させる要因となる。   In an electrophotographic image forming apparatus, due to the characteristics of optical elements such as lenses and the positioning accuracy of each member in assembling the apparatus, the sheet is conveyed in a direction (hereinafter referred to as a sub-scanning direction). The main scanning line is tilted or bent. In the case of forming an image with a plurality of colors, the above-described inclination or bending causes a shift between images of each color to be transferred, which is perceived by the observer as a color shift or uneven color, thereby degrading the image quality. It becomes a factor.

従来から、上述したスキューを補正する技術として、レーザ書き込みユニット内部のミラー調整機構により補正を実現する機械的な手法のほか、画像処理により低コストで補正を実現する方法が提案されている。例えば、特許第3556349号公報(特許文献1)は、書き込み手段の走査線の曲がりおよび傾きを測定し、測定結果に応じて画像データを2次元的に補間して補正するリサンプリング手段を備える構成を開示する。   Conventionally, as a technique for correcting the above-described skew, in addition to a mechanical method that realizes correction by a mirror adjustment mechanism inside the laser writing unit, a method that realizes correction at low cost by image processing has been proposed. For example, Japanese Patent No. 3556349 (Patent Document 1) includes a resampling unit that measures the bend and inclination of a scanning line of a writing unit and corrects image data by two-dimensional interpolation according to the measurement result. Is disclosed.

しかしながら、上述したような画像処理に基づいてスキューを補正する技術では、走査ラインのスキューの補正に伴い発生する副作用が問題となる可能性がある。このような副作用に対処する技術として、特許第3715349号公報(特許文献2)が知られている。特許文献2は、シフト位置において主走査方向の隣接画素の変化点と注目画素周辺での画素パターンが所与のパターンと一致する場合に、一致した画素パターンと隣接画素の変化位置との組に対応した濃度補正を注目画素に施す構成を開示する。これにより、線の滑らかさや疑似階調画像での濃度ずれ、すじ状ノイズの発生の軽減が図られる。   However, in the technique for correcting the skew based on the image processing as described above, there is a possibility that a side effect caused by the correction of the skew of the scanning line becomes a problem. Japanese Patent No. 3715349 (Patent Document 2) is known as a technique for dealing with such side effects. Japanese Patent Laid-Open No. 2004-26853 describes a combination of a matching pixel pattern and a change position of an adjacent pixel when the change point of the adjacent pixel in the main scanning direction and the pixel pattern around the target pixel match a given pattern at the shift position. A configuration for performing corresponding density correction on a pixel of interest is disclosed. As a result, the smoothness of the line, the density shift in the pseudo gradation image, and the generation of streak noise can be reduced.

また、特開2010−217795号公報(特許文献3)は、上記特許文献2の従来技術において、濃度補正の痕跡がかえって目立ってしまう場合があることに着目し、画像品質のさらなる向上を図った技術を開示する。特許文献3は、パターンマッチングにより濃度ずれを発生させる画像を検出し、検知された濃度ずれに基づいて、主走査方向の1ラインを分割した分割位置の近傍の複数の画素の出力面積の差分を補う濃度補正を施す構成を開示する。特許文献3の従来技術では、画像シフト前の付着面積に近づけて局所的な濃度ずれが低減されるので、副走査方向のすじ状のノイズ画像発生による画質劣化を低減しつつ、濃度補正による痕跡が目立たなくすることができる。   JP 2010-217795 A (Patent Document 3) pays attention to the fact that traces of density correction may become noticeable in the prior art of Patent Document 2 described above, and further improve image quality. Disclose technology. Patent Document 3 detects an image that generates a density shift by pattern matching, and based on the detected density shift, calculates a difference between output areas of a plurality of pixels in the vicinity of a division position obtained by dividing one line in the main scanning direction. Disclosed is a configuration that performs density correction to compensate. In the prior art of Patent Document 3, since the local density deviation is reduced close to the adhesion area before the image shift, the image quality deterioration due to the generation of the streak noise image in the sub-scanning direction is reduced, and the trace due to the density correction. Can be inconspicuous.

上述した従来技術により、副作用をある程度抑制しながら、走査ラインの傾きや曲がりを補正することが可能となる。しかしながら、本発明者等は、種々の画像形成条件での画像品質を鋭意検討した結果、上記シフト境界で発生するすじ状ノイズの他にも、画像品質を劣化させる要因となる副作用が生じ得ることを見出した。より具体的には、本発明者等は、用いるディザマトリクスの形状によっては、上記シフト位置を境界として色むらが発生する可能性があり、特に小さなスクリーン角を有する万線形状のディザマトリクスを用いた場合に、色むらの発生が顕著となることを見出した。   According to the above-described conventional technique, it is possible to correct the inclination and bending of the scanning line while suppressing side effects to some extent. However, as a result of intensive studies on the image quality under various image forming conditions, the present inventors can cause side effects that cause deterioration in image quality in addition to the streak noise generated at the shift boundary. I found. More specifically, depending on the dither matrix shape used, the present inventors may cause color unevenness with the shift position as a boundary. It has been found that the occurrence of uneven color becomes remarkable.

本発明は、上記従来技術における問題点に鑑みてなされたものであり、本発明は、主走査方向の領域を分割し、領域間で副走査方向にシフトさせて画像処理する場合において、分割された領域の境界近傍での色むらの発生を軽減することが可能な画像処理装置、画像形成装置、画像補正方法およびプログラムを提供することを目的とする。   The present invention has been made in view of the above problems in the prior art, and the present invention is divided in the case of dividing an area in the main scanning direction and performing image processing by shifting the area in the sub-scanning direction. Another object of the present invention is to provide an image processing apparatus, an image forming apparatus, an image correction method, and a program that can reduce the occurrence of color unevenness in the vicinity of the boundary of a region.

本発明では、上記課題を解決するために、主走査方向に領域分割し、画像データを領域間で副走査方向にシフトさせる画像処理装置であって、下記特徴を有する画像処理装置を提供する。本画像処理装置は、注目画素と、該注目画素の周辺画素とを参照し、注目画素毎に主走査方向で画素を寄せる寄せ方向を判定する寄せ方向判定手段と、隣接する領域間のシフトに基づき、副走査方向に並ぶ複数の画素の平均濃度値を計算する平均濃度計算手段とを含む。さらに、本画像処理装置は、主走査方向に並ぶ複数の画素の上記平均濃度値および上記寄せ方向に基づき、補正された濃度値を計算する補正濃度計算手段を含む。   In order to solve the above problems, the present invention provides an image processing apparatus that divides a region in the main scanning direction and shifts image data in the sub-scanning direction between the regions, and has the following characteristics. The image processing apparatus refers to a target pixel and a peripheral pixel of the target pixel, and a shift direction determination unit that determines a shift direction in which the target pixel is shifted in the main scanning direction for each target pixel, and shift between adjacent regions. And an average density calculating means for calculating an average density value of a plurality of pixels arranged in the sub-scanning direction. Further, the image processing apparatus includes a corrected density calculation unit that calculates a corrected density value based on the average density value and the shifting direction of a plurality of pixels arranged in the main scanning direction.

上記構成により、主走査方向の領域を分割し、領域間で副走査方向にシフトさせて画像処理する場合において、分割された領域の境界近傍での色むらの発生を軽減することができる。   With the above configuration, when image processing is performed by dividing a region in the main scanning direction and shifting the region in the sub-scanning direction, it is possible to reduce the occurrence of color unevenness near the boundary of the divided regions.

本実施形態の複合機の概略構成図。1 is a schematic configuration diagram of a multifunction machine according to an embodiment. 位置ずれ補正用テストパターン画像が形成された状態の中間転写ベルトおよび感光体ドラムを示す上面図。FIG. 3 is a top view showing an intermediate transfer belt and a photosensitive drum in a state where a test pattern image for correcting misalignment is formed. 本実施形態における書き込み制御および位置ずれ補正を実行する、複合機のエンジン制御部を中心として示すブロック図。FIG. 2 is a block diagram showing mainly an engine control unit of a multifunction peripheral that executes write control and misalignment correction in the present embodiment. 位置ずれ補正用テストパターンを複数の検知センサによって検知し、スキュー量を求める方法を説明する図。FIG. 4 is a diagram for explaining a method for obtaining a skew amount by detecting a test pattern for position deviation correction using a plurality of detection sensors. 上記で測定されたスキュー量に基づき、スキュー補正量を計算し、傾き補正する処理を説明する図。The figure explaining the process which calculates skew correction amount based on the skew amount measured above, and carries out inclination correction. 上記で測定されたスキュー量に基づき、スキュー補正量を計算し、曲がり補正する処理を説明する図。The figure explaining the process which calculates a skew correction amount based on the skew amount measured above, and correct | amends a curvature. (A)測定された各色のスキュー量を示すテーブル、(B)スキュー量から計算されたスキュー補正量を示すテーブル、および(C,D)シフト位置のアドレスとシフト位置でのシフト方向とを含む補正データを例示する図。(A) a table showing the measured skew amount of each color, (B) a table showing the skew correction amount calculated from the skew amount, and (C, D) the address of the shift position and the shift direction at the shift position. The figure which illustrates correction data. 万線形状のディザマトリクスを用いた場合のシフト位置近傍の色むらの発生原理を説明する図(1/2)。The figure explaining the generation | occurrence | production principle of the color nonuniformity of the shift position vicinity at the time of using a dither matrix of a line shape (1/2). 万線形状のディザマトリクスを用いた場合のシフト位置近傍の色むらの発生原理を説明する図(2/2)。The figure explaining the generation | occurrence | production principle of the color nonuniformity of the shift position vicinity at the time of using a dither matrix of a line shape (2/2). 本実施形態によるスキュー補正処理部の詳細な機能ブロック図。The detailed functional block diagram of the skew correction process part by this embodiment. 本実施形態による濃度補正処理部の詳細な機能ブロック図。FIG. 3 is a detailed functional block diagram of a density correction processing unit according to the present embodiment. 本実施形態による濃度補正処理部が実行する、各画素に対する処理を示すフローチャート。6 is a flowchart showing processing for each pixel, which is executed by the density correction processing unit according to the embodiment. シフト位置近傍で画像データに設定される参照領域を示す模式的図。FIG. 6 is a schematic diagram showing a reference area set in image data in the vicinity of a shift position. 本実施形態におけるパターンマッチングの具体的な処理を説明する図。The figure explaining the specific process of the pattern matching in this embodiment. (A,B)参照領域と寄せ方向判定パターンとを示す図、および(C,D)補正対象範囲の各画素について寄せ方向判定された結果を例示する図。(A, B) The figure which shows a reference area | region and the approach direction determination pattern, and (C, D) The figure which illustrates the result of having performed the approach direction determination about each pixel of the correction object range. 本実施形態による加重平均処理部による加重平均処理を説明する図。The figure explaining the weighted average process by the weighted average process part by this embodiment. (A)決定された寄せ方向と、計算された平均濃度値とを重ねて合わせて示す模式図、および(B)画素寄せ補正処理により生成された補正後の濃度値から構成される画像データを示す模式図。(A) Schematic diagram showing the determined approach direction and the calculated average density value superimposed on each other, and (B) image data composed of the corrected density value generated by the pixel shift correction process. FIG. 右下がりの万線スクリーンである場合の画素寄せ補正処理の結果を示す図。The figure which shows the result of the pixel shift correction process in the case of a downward-sloping line screen. シアンおよびマゼンダが共にスクリーン角が低い場合のシアンおよびマゼンダ画像の重ね合わせを説明する図。The figure explaining the superimposition of the cyan and magenta images when the screen angle is low for both cyan and magenta. シフト位置前後両側に補正対象範囲が設定された場合の濃度補正処理を説明する図。The figure explaining the density | concentration correction process when the correction object range is set to both sides before and behind a shift position. 上述したシフト位置近傍での濃度補正を伴うスキュー補正のタイミングチャート。The timing chart of the skew correction accompanied by the density correction near the shift position described above.

以下、本発明の実施形態を説明するが、本発明の実施形態は、以下の実施形態に限定されるものではない。なお、以下に説明する実施形態では、画像処理装置を含む画像形成装置の一例として、エンジン制御部を含む複合機を用いて説明する。   Hereinafter, although embodiment of this invention is described, embodiment of this invention is not limited to the following embodiment. In the embodiment described below, a multifunction machine including an engine control unit will be described as an example of an image forming apparatus including an image processing apparatus.

図1は、本実施形態の複合機の概略構成を示す図である。図1に示す複合機1では、ブラック(K)、シアン(C)、マゼンダ(M)およびイエロー(Y)の各色毎に、感光体ドラム3と、感光体ドラム3に電荷を帯電させる帯電ローラ4と、現像剤を保持する現像装置7とが、中間転写ベルト2に沿って並んで配置されている。さらに、複合機1では、上記各色毎に、レーザ・ダイオードなどの光照射装置6と、モータにより高速定速度で回転駆動され、光照射装置6から出射された光ビームを感光体ドラム3上に走査するポリゴンミラー5とが設けられている。図1は、いわゆるタンデム方式の多色画像形成機能を備えた複合機の実施形態を例示する。   FIG. 1 is a diagram illustrating a schematic configuration of a multifunction machine according to the present embodiment. In the multifunction device 1 shown in FIG. 1, for each color of black (K), cyan (C), magenta (M), and yellow (Y), a photosensitive drum 3 and a charging roller that charges the photosensitive drum 3 with electric charge. 4 and a developing device 7 for holding a developer are arranged side by side along the intermediate transfer belt 2. Further, in the multi-function device 1, the light beam emitted from the light irradiation device 6 is driven onto the photosensitive drum 3 by being rotated at a high speed and a constant speed by a light irradiation device 6 such as a laser diode and a motor for each color. A polygon mirror 5 for scanning is provided. FIG. 1 illustrates an embodiment of a multifunction machine having a so-called tandem multicolor image forming function.

画像形成処理に際しては、まず感光体ドラム3a,3b,3c,3d上に、それぞれ帯電ローラ4a,4b,4c,4dにより負の電荷を付与し、一様に帯電する。書込画像信号に応じて光照射装置6a,6b,6c,6dからそれぞれ光ビームが出力され、レンズ、ミラーおよびポリゴンミラー5a,5b,5c,5dを含む光学系を通して、帯電した感光体ドラム3a,3b,3c,3dの表面に照射される。これにより、光ビームの照射の有無および露光量に応じた電位分布が書き込まれる。感光体ドラム3への光ビームの照射は、上述したように複数の光学要素を使用して行われるため、感光体ドラム3に対する主走査方向および副走査方向に関して、タイミング同期が行われている。以下、光ビームの走査方向を主走査方向とし、主走査方向に対して直交する方向、すなわち、感光体ドラム3の回転する方向を、副走査方向として参照する。   In the image forming process, first, negative charges are applied to the photosensitive drums 3a, 3b, 3c, and 3d by the charging rollers 4a, 4b, 4c, and 4d, respectively, so that they are uniformly charged. Light beams are output from the light irradiators 6a, 6b, 6c, and 6d in accordance with the written image signal, and are charged through the optical system including the lens, mirror, and polygon mirrors 5a, 5b, 5c, and 5d. , 3b, 3c, 3d. Thereby, a potential distribution according to the presence or absence of light beam irradiation and the exposure amount is written. Since the irradiation of the light beam onto the photosensitive drum 3 is performed using a plurality of optical elements as described above, timing synchronization is performed in the main scanning direction and the sub-scanning direction with respect to the photosensitive drum 3. Hereinafter, the scanning direction of the light beam is referred to as a main scanning direction, and a direction orthogonal to the main scanning direction, that is, a direction in which the photosensitive drum 3 rotates is referred to as a sub-scanning direction.

各静電潜像は、スキャナやパーソナルコンピュータから送信されたデータを処理した後に生成されるK、C、M、Y各色の書込信号に応じて、光ビームをオンオフ制御することによって形成される。形成された各静電潜像は、感光体ドラム3a,3b,3c,3dが回動するにつれて現像装置7a,7b,7c,7d方向へと搬送され、現像剤により現像される。そして、書きこみ信号に応じた現像剤像が感光体ドラム3上に形成され、担持される。   Each electrostatic latent image is formed by performing on / off control of the light beam in accordance with the K, C, M, and Y color write signals generated after processing the data transmitted from the scanner or personal computer. . Each formed electrostatic latent image is conveyed in the developing devices 7a, 7b, 7c, and 7d directions as the photosensitive drums 3a, 3b, 3c, and 3d rotate, and is developed by the developer. A developer image corresponding to the writing signal is formed on the photosensitive drum 3 and carried.

一方、感光体ドラム3a,3b,3c,3dの下方には、搬送ローラ10,11に張架された中間転写ベルト2が中間転写体として配置されている。中間転写ベルト2は、図示の矢印方向に回転され、その裏側に一次転写ローラ9a,9b,9c,9dが接触し、それぞれ接続された図示しない電源によって1次バイアスが印加されている。現像剤像は、感光体ドラム3が回動するにつれて、中間転写ベルト2側に搬送され、一次転写ローラ9により感光体ドラム3と中間転写ベルト2とが接する位置で中間転写ベルト2上に転写される。各色の現像剤像は、位置を合わせて重畳され、中間転写ベルト2上に多色現像剤像が形成される。感光体ドラム3の現像剤像の転写が完了した部分は、外周面に残留した現像剤が感光体クリーナにより払拭された後、除電装置により除電され、次の像形成プロセスへと供給される。   On the other hand, below the photosensitive drums 3a, 3b, 3c, 3d, an intermediate transfer belt 2 stretched around the conveying rollers 10, 11 is arranged as an intermediate transfer member. The intermediate transfer belt 2 is rotated in the direction of the arrow shown in the figure, and the primary transfer rollers 9a, 9b, 9c, and 9d are in contact with the back side of the intermediate transfer belt 2, and a primary bias is applied by a power source (not shown) connected thereto. The developer image is conveyed to the intermediate transfer belt 2 side as the photosensitive drum 3 rotates, and is transferred onto the intermediate transfer belt 2 at a position where the photosensitive drum 3 and the intermediate transfer belt 2 are in contact by the primary transfer roller 9. Is done. The developer images of the respective colors are superimposed at the same position, and a multicolor developer image is formed on the intermediate transfer belt 2. The portion of the photosensitive drum 3 on which the transfer of the developer image has been completed is wiped off by the photosensitive member cleaner after the developer remaining on the outer peripheral surface, is discharged by the discharging device, and is supplied to the next image forming process.

中間転写ベルト2上に転写された多色現像剤像は、二次転写部の転写ローラ14方面に搬送される。一方、給紙カセット内にセットされた紙などのシート状の部材である転写材が、搬送ローラ16のところから、画像書込みに合わせて適切なタイミングにて、転写ローラ14方面に送出される。   The multicolor developer image transferred onto the intermediate transfer belt 2 is conveyed toward the transfer roller 14 of the secondary transfer portion. On the other hand, a transfer material, which is a sheet-like member such as paper set in a paper feed cassette, is sent from the conveyance roller 16 toward the transfer roller 14 at an appropriate timing in accordance with image writing.

転写ローラ14には、電源から電荷が供給され、ローラ12とともに、給紙された転写材に中間転写ベルト2上の現像剤像を一括して転写する。転写材は、中間転写ベルト2に接する位置まで搬送され、多色現像剤像の転写を受ける。多色現像剤像が形成された転写材は、ローラ14,15に張架された二次転写ベルト13により、加熱された定着装置17の加熱定着ローラおよび加圧ローラ18との間のニップ部に供給される。そして、転写材と多色現像剤像とが加熱加圧され、保持された現像剤像が転写材上に定着する。   Electric charges are supplied to the transfer roller 14 from the power source, and together with the roller 12, the developer image on the intermediate transfer belt 2 is collectively transferred onto the fed transfer material. The transfer material is conveyed to a position in contact with the intermediate transfer belt 2 and receives the transfer of the multicolor developer image. The transfer material on which the multicolor developer image is formed is a nip portion between the heat fixing roller of the fixing device 17 and the pressure roller 18 heated by the secondary transfer belt 13 stretched around the rollers 14 and 15. To be supplied. Then, the transfer material and the multicolor developer image are heated and pressed, and the held developer image is fixed on the transfer material.

定着後の転写材は、所定の搬送経路に沿って、排紙ローラにより排紙トレイ19上へ排紙される。多色現像剤像を転写した後の中間転写ベルト2は、クリーニングブレードなどにより残留した現像剤が除去された後、次の像形成プロセスへと供給される。   The transfer material after fixing is discharged onto the discharge tray 19 by a discharge roller along a predetermined conveyance path. The intermediate transfer belt 2 after transferring the multicolor developer image is supplied to the next image forming process after the remaining developer is removed by a cleaning blade or the like.

本実施形態では、さらに、搬送ローラ10の近傍に、中間転写ベルト2上に検知センサ25が設けられており、検知センサ25により、多色の現像剤像を形成する際の画像形成条件を補正するためのパターン画像が検出される。補正するためのテストパターン画像は、位置ずれ補正用テストパターン画像と、濃度補正用テストパターン画像とを含むことができる。   In the present embodiment, a detection sensor 25 is further provided on the intermediate transfer belt 2 in the vicinity of the conveyance roller 10, and the detection sensor 25 corrects image forming conditions when forming a multicolor developer image. A pattern image to be detected is detected. The test pattern image for correction can include a misregistration correction test pattern image and a density correction test pattern image.

上記検知センサ25は、それぞれ反射型フォトセンサなどのこれまで知られた如何なる検出センサを用いることができる。画像調整時には、検知センサ25でテストパターン画像を検出し、検出結果に基づいて、基準色に対する各色のスキュー量(走査ラインの傾きや曲がり)量、主走査レジストずれ量、副走査レジストずれ量および主走査倍率誤差を含む各種のずれ量が算出される。さらに、その算出結果に基づいて画質調整に係る各種のずれ量を補正する各種の補正量が計算される。そして、計算された補正量に基づいて、補正された画像形成条件(位置ずれ補正条件および濃度補正条件)が設定される。   As the detection sensor 25, any known detection sensor such as a reflective photosensor can be used. At the time of image adjustment, a test pattern image is detected by the detection sensor 25, and on the basis of the detection result, the skew amount (scan line inclination or curve) amount of each color with respect to the reference color, the main scanning registration deviation amount, the sub-scanning registration deviation amount, and Various shift amounts including the main scanning magnification error are calculated. Further, various correction amounts for correcting various shift amounts related to image quality adjustment are calculated based on the calculation results. Then, based on the calculated correction amount, corrected image forming conditions (position shift correction condition and density correction condition) are set.

図2は、その上に位置ずれ補正用テストパターン画像26が形成された状態の中間転写ベルト2および感光体ドラム3a〜3dを示す上面図である。図1に示したタンデム型の複合機1においては、その構成上、各色の画像を高度に位置合わせする必要がある。説明する実施形態の複合機1は、転写材に対して実際のカラー画像形成動作を行うに先立ち、各色の位置ずれ補正を行う。   FIG. 2 is a top view showing the intermediate transfer belt 2 and the photosensitive drums 3a to 3d in a state in which the misregistration correction test pattern image 26 is formed thereon. In the tandem type multifunction device 1 shown in FIG. 1, it is necessary to highly align the images of the respective colors because of the configuration. The multifunction device 1 according to the embodiment to be described performs positional deviation correction of each color prior to performing an actual color image forming operation on the transfer material.

位置ずれ補正では、まず、中間転写ベルト2上に各色の位置ずれ補正用テストパターン画像26を形成し、これを検知センサ25で検出する。図2に示す実施形態では、2つの検知センサ25a,25bを中間転写ベルト2における主走査方向の両端に配置し、中間転写ベルト2上には、検知センサ25a,25b各々の配置位置に対応させてテストパターン画像26a,26bを形成する。テストパターン画像26a,26bは、中間転写ベルト2の回転に伴い移動し、検知センサ25a,25bの検知位置を通過することによって検出される。テストパターン画像26a,26bが検出されると、その検出結果から、上述した各種のずれ量や補正量が演算され、各位置ずれ成分の補正が行われる。   In the misregistration correction, first, a misregistration correction test pattern image 26 of each color is formed on the intermediate transfer belt 2, and this is detected by the detection sensor 25. In the embodiment shown in FIG. 2, two detection sensors 25 a and 25 b are arranged at both ends of the intermediate transfer belt 2 in the main scanning direction, and on the intermediate transfer belt 2, the detection sensors 25 a and 25 b correspond to the arrangement positions of the detection sensors 25 a and 25 b. Thus, test pattern images 26a and 26b are formed. The test pattern images 26a and 26b are detected by moving with the rotation of the intermediate transfer belt 2 and passing through the detection positions of the detection sensors 25a and 25b. When the test pattern images 26a and 26b are detected, the above-described various shift amounts and correction amounts are calculated from the detection results, and each positional shift component is corrected.

図3は、本実施形態における書き込み制御および位置ずれ補正を実行する、複合機1のエンジン制御部100を中心として示すブロック図である。図3に示すエンジン制御部100は、上述した検知センサ25に接続されるパターン検知部102と、CPU(Central Processing Unit)104と、RAM(Random Access Memory)106と、画像処理部108と、書き込み全体制御部110とを含み構成される。   FIG. 3 is a block diagram centering on the engine control unit 100 of the multifunction machine 1 that executes the writing control and the misregistration correction in the present embodiment. The engine control unit 100 shown in FIG. 3 includes a pattern detection unit 102 connected to the detection sensor 25, a CPU (Central Processing Unit) 104, a RAM (Random Access Memory) 106, an image processing unit 108, and a writing And an overall control unit 110.

パターン検知部102は、接続された検知センサ25からの検知信号の入力を受けて、CPU104に信号出力する。CPU104は、図示しなROMに格納されたプログラムを読み出し、RAM106を作業領域として展開してプログラムを実行し、書き込み全体制御部110およびエンジン制御部100の全体制御を実行する。   The pattern detection unit 102 receives a detection signal input from the connected detection sensor 25 and outputs a signal to the CPU 104. The CPU 104 reads a program stored in a ROM (not shown), develops the RAM 106 as a work area, executes the program, and executes overall control of the writing overall control unit 110 and the engine control unit 100.

画像処理部108は、プリンタコントローラ112およびスキャナ・コントローラ114と相互に通信する。プリンタコントローラ112は、図示しない外部ホスト・コンピュータからのプリント画像を受信し、処理して、画像処理部108へ転送する。スキャナ・コントローラ114は、複合機1が備えるスキャナ・ユニットからのスキャン画像を受信し、処理して、画像処理部108へ転送する。画像処理部108は、各画像データに応じた種々の画像処理を行い、各色毎の画像データに変換し、書き込み全体制御部110に転送する。   The image processing unit 108 communicates with the printer controller 112 and the scanner controller 114. The printer controller 112 receives a print image from an external host computer (not shown), processes it, and transfers it to the image processing unit 108. The scanner controller 114 receives a scan image from the scanner unit included in the multifunction machine 1, processes it, and transfers it to the image processing unit 108. The image processing unit 108 performs various image processing corresponding to each image data, converts the image data for each color, and transfers the image data to the entire writing control unit 110.

書き込み制御110は、KMCYの各色毎の入力画像制御部116K,116M,116C,116Yと、各色毎のラインメモリ118K,118M,118C,118Yと、各色毎の書き込み全体制御部120K,120M,120C,120Yとを含む。各色書き込み全体制御部120には、それぞれ、画像処理部108から、入力画像制御部116を経由して、画像を書き込むために必要なデータが入力される。   The write control 110 includes input image control units 116K, 116M, 116C, and 116Y for each color of KMCY, line memories 118K, 118M, 118C, and 118Y for each color, and write overall control units 120K, 120M, and 120C for each color. 120Y. Each color writing overall control unit 120 receives data necessary for writing an image from the image processing unit 108 via the input image control unit 116.

各色書き込み全体制御部120は、各色毎に印字タイミングを生成し、副走査タイミングに合わせて画像データを受け取り、各種書き込み画像処理を施した後、レーザ・ダイオード(以下、LDと参照する。)制御データに変換し、LD制御部130に出力する。   Each color writing overall control unit 120 generates a printing timing for each color, receives image data in accordance with the sub-scanning timing, performs various writing image processing, and then performs laser diode (hereinafter referred to as LD) control. The data is converted and output to the LD control unit 130.

図3には、さらに、K色書き込み全体制御部120Kが代表して、各色書き込み全体制御部120の詳細な機能ブロックが示されている。図3に示す各色書き込み全体制御部120は、スキュー補正処理部122と、書き込み画像処理部124と、LDデータ出力部126と、補正パターン生成部128とを含み構成される。   FIG. 3 further shows detailed functional blocks of each color writing overall control unit 120 as a representative of the K color writing overall control unit 120K. Each color writing overall control unit 120 shown in FIG. 3 includes a skew correction processing unit 122, a writing image processing unit 124, an LD data output unit 126, and a correction pattern generation unit 128.

各色書き込み全体制御部120の前段に設けられた入力画像制御部116は、画像処理部108からの各色毎の画像データの入力を受けて、ラインメモリ118をトグル動作させながら、画像データを1ライン毎にスキュー補正処理部122に送出する。画像データは、スキュー補正処理部122にて、詳細を後述するスキュー補正が施された後、書き込み画像処理部124に転送される。書き込み画像処理部124で処理された画像データは、LDデータ出力部126に転送される。LDデータ出力部126は、画像データを、レーザ・ダイオードの変調信号(LD制御データ)に変換し、LD制御部130に出力する。LD制御部130は、変調信号に基づき光照射装置6に駆動信号を出力し、レーザ・ダイオードなどの発光制御を行う。光照射装置6のレーザ・ダイオードは、駆動信号に基づいて発光し、これにより、感光体ドラム3上に画像を書き込む。   The input image control unit 116 provided in the preceding stage of each color writing overall control unit 120 receives the input of image data for each color from the image processing unit 108 and toggles the line memory 118 while moving the image data for one line. Each time it is sent to the skew correction processing unit 122. The image data is subjected to skew correction, which will be described in detail later, in the skew correction processing unit 122 and then transferred to the writing image processing unit 124. The image data processed by the writing image processing unit 124 is transferred to the LD data output unit 126. The LD data output unit 126 converts the image data into a laser diode modulation signal (LD control data) and outputs it to the LD control unit 130. The LD control unit 130 outputs a drive signal to the light irradiation device 6 based on the modulation signal, and performs light emission control of a laser diode or the like. The laser diode of the light irradiation device 6 emits light based on the drive signal, thereby writing an image on the photosensitive drum 3.

テストパターン画像を印字する場合は、各色毎の補正パターン生成部128が、各テストパターン画像データを生成し、LDデータ出力部126に転送する。テストパターン画像データは、LDデータ出力部126でLD制御データに変換された後、後段のLD制御部130に出力され、光照射装置6のレーザ・ダイオードによって感光体ドラム3上に書き込まれる。   When printing a test pattern image, the correction pattern generation unit 128 for each color generates each test pattern image data and transfers it to the LD data output unit 126. The test pattern image data is converted into LD control data by the LD data output unit 126, then output to the LD control unit 130 at the subsequent stage, and written on the photosensitive drum 3 by the laser diode of the light irradiation device 6.

なお、画像データは、画像処理部108で階調処理された後、高解像度化されてもよい。この場合、書込解像度の解像度変換は、入力画像制御部116または画像処理部108で行うことができる。この解像度変換により、例えば、入力解像度600dpiの画像データを、主走査ラインアドレスおよび副走査ラインアドレスで2分割し、解像度1200dpiの画像データに変換することができる。この場合、解像度変換後の画像データが1ライン毎にスキュー補正処理部122に入力され、変換後の解像度単位でスキュー補正が行なわれることになる。   Note that the image data may be subjected to gradation processing by the image processing unit 108 and then subjected to high resolution. In this case, the resolution conversion of the writing resolution can be performed by the input image control unit 116 or the image processing unit 108. By this resolution conversion, for example, image data with an input resolution of 600 dpi can be divided into two by a main scanning line address and a sub-scanning line address, and converted into image data with a resolution of 1200 dpi. In this case, the image data after resolution conversion is input to the skew correction processing unit 122 for each line, and skew correction is performed in units of resolution after conversion.

なお、図3においては、画像データは、1ライン単位でスキュー補正処理部122に入力されるものとして説明したが、画像データの入力方法は、これに限定されるものではなく、複数ライン単位で入力する態様としてもよい。さらに、補正パターン生成部128がLDデータ出力部126にテストパターン画像データを転送するものとして説明したが、テストパターン画像データの転送方法は、特に限定されるものではない。入力画像制御部116、スキュー補正処理部122または書き込み画像処理部124にテストパターン画像データを転送する態様であってもよい。   In FIG. 3, the image data is described as being input to the skew correction processing unit 122 in units of one line. However, the image data input method is not limited to this, and is in units of a plurality of lines. It is good also as an aspect which inputs. Furthermore, although the correction pattern generation unit 128 has been described as transferring test pattern image data to the LD data output unit 126, the method of transferring test pattern image data is not particularly limited. The test pattern image data may be transferred to the input image control unit 116, the skew correction processing unit 122, or the writing image processing unit 124.

さらに、図3の説明では、すべての色の書き込み全体制御部120K,120M,120C,120Yにスキュー補正処理部122K,122M,122C,122Yを設けるものとして説明した。しかしながら、他の実施形態では、いずれかの一色を基準色として、その基準色の書き込み全体制御部120にスキュー補正処理部122を設けない構成としてもよい。またさらに、上述した説明では、KMCYのトナー4原色の多色画像形成装置を一例として説明したが、2種類以上の任意の数の現像剤を用いる画像形成装置としてよい。   Furthermore, in the description of FIG. 3, it has been described that the skew correction processing units 122K, 122M, 122C, and 122Y are provided in the entire writing control units 120K, 120M, 120C, and 120Y for all colors. However, in another embodiment, any one color may be used as a reference color, and the skew correction processing unit 122 may not be provided in the entire writing control unit 120 for the reference color. Furthermore, in the above description, the KMCY toner four-primary-color multicolor image forming apparatus has been described as an example, but an image forming apparatus using any number of two or more types of developers may be used.

以下、図4〜図7を参照しながら、スキュー補正処理部122で行われる、位置ずれ補正用テストパターン画像を用いたスキュー補正について説明する。本実施形態の複合機1では、スキュー補正処理部122において、上記テストパターン画像の検出結果に基づいて、画像データを主走査方向に領域分割し、画像データを分割された領域間で副走査方向にシフトさせる。これによって、主走査ラインの傾きや曲がりを補正する。   Hereinafter, with reference to FIG. 4 to FIG. 7, the skew correction performed by the skew correction processing unit 122 using the misalignment correction test pattern image will be described. In the MFP 1 of the present embodiment, the skew correction processing unit 122 divides the image data in the main scanning direction based on the detection result of the test pattern image, and the image data is divided between the divided areas in the sub-scanning direction. Shift to. As a result, the inclination and bending of the main scanning line are corrected.

図4は、位置ずれ補正用テストパターンを複数の検知センサ25によって検知し、スキュー量を求める方法を説明する図である。図4(A)および(B)は、主走査方向の両側に配置された2つの検知センサ25L,25Rを用いる場合を例示し、図4(C)および(D)は、主走査方向の両側および中央に配置された3つの検知センサ25L,25C,25Rを用いる場合を例示する。   FIG. 4 is a diagram for explaining a method for obtaining a skew amount by detecting a misalignment correction test pattern by a plurality of detection sensors 25. 4A and 4B illustrate the case where two detection sensors 25L and 25R arranged on both sides in the main scanning direction are used, and FIGS. 4C and 4D show both sides in the main scanning direction. A case where three detection sensors 25L, 25C, and 25R arranged in the center are used is illustrated.

テストパターン画像26L,26Rは、両端の検知センサ25R,25Lで検知され、得られた信号は、パターン検知部102によってアナログ・データからデジタル・データへと変換される。サンプリングされたデータは、RAM106に格納され、補正量演算のために参照される。テストパターン画像26の検知処理が一通り終了した後、CPU104は、格納されていたデータを用いて、種々のずれ量(主走査倍率、主走査レジスト、副走査レジスト、スキュー)を算出するための演算処理を行い、そのずれ量から各ずれ成分の補正量を算出する。   The test pattern images 26L and 26R are detected by the detection sensors 25R and 25L at both ends, and the obtained signals are converted from analog data to digital data by the pattern detection unit 102. The sampled data is stored in the RAM 106 and referred to for correction amount calculation. After the detection process of the test pattern image 26 is completed, the CPU 104 uses the stored data to calculate various shift amounts (main scanning magnification, main scanning registration, sub-scanning registration, skew). An arithmetic process is performed, and the correction amount of each shift component is calculated from the shift amount.

主走査ラインの傾き補正を行う場合、基準色をK色とすると、まずK色に対する各色のスキュー量が求められる。例えば、図4(B)に示すように、C色の右側が下にずれている場合、C色のスキュー量は、下記式(1)で計算される。下記式中、KC_Skewは、K色を基準としたC色のスキュー量を表し、KC_Rは、図面右側のK色とC色のパターン要素間の間隔を表し、KC_Lは、図面左側のK色とC色のパターン要素間の間隔を表す。   When correcting the inclination of the main scanning line, if the reference color is K, first, the skew amount of each color with respect to the K color is obtained. For example, as shown in FIG. 4B, when the right side of the C color is shifted downward, the skew amount of the C color is calculated by the following equation (1). In the following equation, KC_Skew represents the skew amount of the C color with respect to the K color, KC_R represents the interval between the K color and C color pattern elements on the right side of the drawing, and KC_L represents the K color on the left side of the drawing. This represents the interval between the C color pattern elements.

(数1)
KC_Skew=KC_R−KC_L …(1)
(Equation 1)
KC_Skew = KC_R−KC_L (1)

主走査ラインの曲がり補正を行う場合、3つ以上のパターンを主走査方向に配置し、3つ以上の検知センサ25によってパターンを検知し、主走査方向で区分した各区間毎にスキュー量を求め、スキュー補正量を算出する。   When correcting the bending of the main scanning line, three or more patterns are arranged in the main scanning direction, the patterns are detected by the three or more detection sensors 25, and the skew amount is obtained for each section divided in the main scanning direction. The skew correction amount is calculated.

例えば、図4(C)に示すように、3つのテストパターンを3つの検知センサ25L,25C,25Rによって検知する場合、検知センサ25L,25C間でのスキュー量と、検知センサ25C,25R間のスキュー量とをそれぞれ求める。図4(D)に示すように、M色の主走査ラインが、画像中央で下にずれている場合、M色の曲がり量(各スキュー量)は、下記式(2)および(3)で計算される。下記式中、KM_Skew1は、検知センサ25L,25C間でのK色に対するスキュー量を表し、KM_Skew2は、検知センサ25C,25R間でのスキュー量を表す。また、KM_Rは、図面右側のK色とM色のパターン要素間の間隔を表し、KM_Cは、図面中央のK色とM色のパターン要素間の間隔を表し、KM_Lは、図面左側のK色とM色のパターン要素間の間隔を表す。   For example, as shown in FIG. 4C, when three test patterns are detected by the three detection sensors 25L, 25C, and 25R, the skew amount between the detection sensors 25L and 25C and the detection sensors 25C and 25R are detected. Each skew amount is obtained. As shown in FIG. 4D, when the M main scanning line is shifted downward in the center of the image, the bending amount of M color (each skew amount) is expressed by the following equations (2) and (3). Calculated. In the following equation, KM_Skew1 represents the skew amount for the K color between the detection sensors 25L and 25C, and KM_Skew2 represents the skew amount between the detection sensors 25C and 25R. KM_R represents the interval between the K and M pattern elements on the right side of the drawing, KM_C represents the interval between the K and M pattern elements on the center of the drawing, and KM_L represents the K color on the left side of the drawing. And the interval between the M color pattern elements.

(数2)
KM_Skew1=KM_C−KM_L …(2)
KM_Skew2=KM_C−KM_R …(3)
(Equation 2)
KM_Skew1 = KM_C-KM_L (2)
KM_Skew2 = KM_C-KM_R (3)

図5および図6は、上記で測定されたスキュー量に基づき、スキュー補正量を計算し、スキュー補正する処理を説明する図である。図5は、図4(A)および(B)で説明したような主走査ラインの傾きを補正する場合を例示する。   FIG. 5 and FIG. 6 are diagrams for explaining processing for calculating the skew correction amount and correcting the skew based on the skew amount measured as described above. FIG. 5 illustrates a case where the inclination of the main scanning line as described with reference to FIGS. 4A and 4B is corrected.

図5(A)に示す入力画像を考えると、この入力画像がそのままLD制御データに変換され出力された場合、走査ビームのスキューにより、例えば図5(B)に示すように、主走査ラインが傾いて形成されることになる。図5(B)では、図5(A)の入力画像と比較して、転写部材上で右上がりに3ライン相当量ずれていることが示されている。   Considering the input image shown in FIG. 5A, when this input image is directly converted into LD control data and output, the main scanning line is, for example, as shown in FIG. It will be tilted. In FIG. 5B, it is shown that there is a shift equivalent to three lines upward on the transfer member as compared to the input image of FIG.

図5(B)のように、右上がりに3ライン相当量のスキューが生じている場合は、まず主走査ラインを4等分(スキュー量(ライン換算)+1で分割)に領域分割する。そして、図5(C)に示すように、画像データ上で、左側から右側へ順に各領域を1ラインずつ下にシフトさせたスキュー補正画像を生成する。図5(C)に示すように、画像データを副走査方向で右下がりにシフトさせることにより、画像形成時には、走査ビームの右上がりのスキューが相殺されて、図5(D)に示すように、実際の転写部材上では、各ラインの左右の画像位置が平行になるように画像形成されることになる。   As shown in FIG. 5B, when a skew equivalent to three lines is generated in the upward direction, first, the main scanning line is divided into four equal parts (divided by skew amount (line conversion) +1). Then, as shown in FIG. 5C, a skew corrected image is generated by shifting each region downward by one line in order from the left side to the right side on the image data. As shown in FIG. 5C, by shifting the image data to the lower right in the sub-scanning direction, the upward skew of the scanning beam is canceled during image formation, as shown in FIG. 5D. On the actual transfer member, an image is formed so that the left and right image positions of each line are parallel.

図6は、図4(C)および(D)で説明したような主走査ラインの曲がり(各区間のスキュー)を補正する場合を示す。図6(A)に示す入力画像を考えると、この入力画像がそのままLD制御データに変換され出力された場合、走査ビームの曲がりにより、図6(B)に示すように、曲がった主走査ラインが形成される。図6(B)では、図6(A)の入力画像と比較して、中央で下に1ライン相当量ずれていることが示されている。   FIG. 6 shows a case where the bending (skew in each section) of the main scanning line as described in FIGS. 4C and 4D is corrected. Considering the input image shown in FIG. 6A, when this input image is directly converted into LD control data and output, the main scanning line bent as shown in FIG. 6B due to the bending of the scanning beam. Is formed. FIG. 6B shows that an amount equivalent to one line is shifted downward at the center as compared with the input image of FIG.

図6(B)に示すように中央で下に1ライン相当量ずれている場合、まず主走査ラインを、左端から中央までの区間において2等分(当該区間のスキュー量(ライン換算)+1)に領域分割し、中央から右端までの区間において2等分(当該区間のスキュー量(ライン換算)+1)に領域分割する。そして、このような領域分割をした上で、図6(C)に示すように、画像データ上で、左端−中央区間は、左側の領域から右側の領域へ1ライン上にシフトさせ、中央−右端区間は、左側から右側へ1ライン下にシフトさせ、スキュー補正画像を生成する。図6(C)に示すように、画像データを副走査方向で右上がりにシフトさせて、続いて右下がりにシフトさせることにより、実際の転写部材上では、図6(D)に示すように、各ラインの左右中央の画像位置が平行になるように画像形成されることになる。   As shown in FIG. 6B, when the center is shifted downward by an amount equivalent to one line, first, the main scanning line is divided into two equal parts in the section from the left end to the center (the skew amount of the section (line conversion) +1). In the section from the center to the right end, the area is divided into two equal parts (skew amount of the section (line conversion) +1). Then, after such area division, as shown in FIG. 6C, the left end-center section on the image data is shifted up one line from the left area to the right area, and the center- The right end section is shifted down one line from the left side to the right side to generate a skew correction image. As shown in FIG. 6C, the image data is shifted to the right in the sub-scanning direction and then shifted to the lower right, so that on the actual transfer member, as shown in FIG. 6D. Thus, the image is formed so that the image positions at the left and right center of each line are parallel.

すなわち、2つの検知センサ25により規定される各区間について、測定されたスキュー量(ライン)の符号を反転した値がスキュー補正量となる。そして、各区間において、スキュー補正量に1加算した数で主走査ラインを領域分割し、スキューする方向とは逆方向へ画像を1ラインずつシフトさせることによって、好適にスキューが相殺するように補正することができる。検知センサ25が両端に設けられている場合は、図5に示したように主走査ラインの傾きを補正することができる。さらに両端間に1以上の検知センサ25が設けられる場合は、図6に示したように主走査ラインの曲がりを補正することができるようになる。   That is, for each section defined by the two detection sensors 25, a value obtained by inverting the sign of the measured skew amount (line) is the skew correction amount. Then, in each section, the main scanning line is divided by the number obtained by adding 1 to the skew correction amount, and the image is shifted line by line in the direction opposite to the skewing direction, so that the skew is suitably canceled. can do. When the detection sensors 25 are provided at both ends, the inclination of the main scanning line can be corrected as shown in FIG. Further, when one or more detection sensors 25 are provided between both ends, the bending of the main scanning line can be corrected as shown in FIG.

図7(A)は、測定された各色のスキュー量を示すテーブルである。図7(B)は、図7(A)で示すスキュー量から計算されたスキュー補正量を示すテーブルである。ここでは、K色を基準色としてスキュー量およびスキュー補正量が計算されている。図7(A)および(B)は、副走査方向の解像度が1200dpiである場合を例示しており、この場合、1ライン当たりの移動量は、21.15[um]となる。図7(B)に示すスキュー補正量は、それぞれのスキュー量[um]を1ラインあたりの移動量(21.15[um/ライン])で割って、整数単位の値にし、符号を反転させることによって得られた値である。   FIG. 7A is a table showing the measured skew amount of each color. FIG. 7B is a table showing the skew correction amount calculated from the skew amount shown in FIG. Here, the skew amount and the skew correction amount are calculated using the K color as a reference color. FIGS. 7A and 7B illustrate a case where the resolution in the sub-scanning direction is 1200 dpi, and in this case, the movement amount per line is 21.15 [um]. The skew correction amount shown in FIG. 7B is obtained by dividing each skew amount [um] by the movement amount per line (21.15 [um / line]) to obtain a value in integer units, and inverting the sign. This is the value obtained.

実際のスキュー補正処理では、ラインメモリ118に入力画像データを順次蓄積しておき、MCY各色のスキュー補正処理部122M,122C,122Yで、分割した各領域で、どのラインメモリのデータを読み出すかを切り替える。これによって、図5(C)または図6(C)に示すような、分割領域間で副走査方向に画像シフトされたスキュー補正画像を生成する。そのため、各区間のスキュー補正量に基づき、主走査方向でのシフト位置のアドレスと、各シフト位置で上下(副走査方向で+方向または−方向)いずれかのシフト方向とを求めればよい。図7(C)および(D)は、各シフト位置のアドレスおよび各シフト位置でのシフト方向を含む補正データを例示する。   In actual skew correction processing, input image data is sequentially stored in the line memory 118, and the line correction data is read out in each divided area by the skew correction processing units 122M, 122C, and 122Y for each color of MCY. Switch. As a result, a skew-corrected image that is image-shifted in the sub-scanning direction between the divided regions as shown in FIG. 5C or FIG. 6C is generated. Therefore, the address of the shift position in the main scanning direction and the shift direction in the vertical direction (+ direction or − direction in the sub-scanning direction) may be obtained based on the skew correction amount in each section. FIGS. 7C and 7D illustrate correction data including the address of each shift position and the shift direction at each shift position.

図5を参照して補足すると、図5の例では、主走査方向の画素数を4800画素とすると、右上がりに3ライン相当量ずれているため、1200画素目、2400画素目、3600画素目で、それぞれ1ラインずつ下にシフトさせることになる。図5(C)に示すように、1ライン目は、0から1199画素まで1本目のラインメモリの画像データを出力し、1200画素から4800画素までは、白画素を出力する。2ライン目は、0から1199画素までは2本目のラインメモリ画像データを出力し、1200から2399画素までは、1本目のラインメモリ画像データを出力し、2400から4800画素までは、白画素を出力する。以降は同様の動作を繰り返す。   Supplementing with reference to FIG. 5, in the example of FIG. 5, if the number of pixels in the main scanning direction is 4800 pixels, it is shifted to the right by an amount equivalent to 3 lines, so the 1200th pixel, the 2400th pixel, the 3600th pixel Thus, each line is shifted down by one line. As shown in FIG. 5C, the first line outputs the image data of the first line memory from 0 to 1199 pixels, and the white line is output from 1200 pixels to 4800 pixels. The second line outputs the second line memory image data from 0 to 1199 pixels, the first line memory image data from 1200 to 2399 pixels, and the white pixels from 2400 to 4800 pixels. Output. Thereafter, the same operation is repeated.

なお、上述した、テストパターンを用いた各色のスキュー量の測定および各色のスキュー量の演算は、複合機1が起動した時、省電力モードからの復帰した時、前回の補正から一定時間経過した時、一定以上の環境温度変化を検知した時、一定時間以上アイドル状態が経過した時等に、他のずれ成分の補正処理とともに行われる。演算されたスキュー補正量は、他の補正量と共に不揮発性メモリなどに一旦保存される。保存されたスキュー補正量を含む各種補正値は、次回の補正処理が行われるまで、画像形成動作時の補正量として使用される。画像形成動作時には、印刷要求が発生したことに応答して、各種補正量が読み出されて、画像形成条件が設定され、印刷処理が開始される。なお、例えば主走査倍率補正、主走査レジスト補正、副走査レジスト補正などスキュー補正以外の補正については、種々の公知技術を適用すればよい。   Note that the measurement of the skew amount of each color and the calculation of the skew amount of each color using the test pattern described above have passed for a certain period of time since the previous correction when the multifunction device 1 was started up and returned from the power saving mode. When an environmental temperature change of a certain level or more is detected, or when an idle state elapses for a certain period of time, it is performed together with correction processing for other deviation components. The calculated skew correction amount is temporarily stored in a nonvolatile memory or the like together with other correction amounts. Various correction values including the stored skew correction amount are used as correction amounts during the image forming operation until the next correction processing is performed. During the image forming operation, various correction amounts are read in response to the occurrence of a print request, image forming conditions are set, and printing processing is started. For example, various known techniques may be applied to corrections other than skew correction, such as main scanning magnification correction, main scanning registration correction, and sub-scanning registration correction.

上述したスキュー補正では、主走査方向を複数の領域に分割し、各領域毎に画像データを、傾きが発生する方向とは逆の副走査方向にシフトさせる。これにより、傾き等が相殺されるように予め画像シフトさせた画像データに基づいて光源の点灯制御が行われるので、転写材上で実際に画像形成される傾きや曲がりを軽減することができる。しかしながら、種々の条件で画像形成した印刷物の品質を検討してみると、ディザマトリクスの形状如何によっては、上述したシフト位置前後での色むらが発生する場合がある。そして、この色むらは、特にスクリーン角を有するディザマトリクスを用いた場合に、より具体的には、スクリーン角を有する万線形状のディザマトリクスを用いた場合に顕著となる。   In the skew correction described above, the main scanning direction is divided into a plurality of regions, and the image data is shifted in each region in the sub-scanning direction opposite to the direction in which the inclination occurs. As a result, the lighting control of the light source is performed based on the image data that has been image-shifted in advance so that the inclination or the like is canceled out, so that the inclination or bending actually formed on the transfer material can be reduced. However, when examining the quality of the printed matter formed under various conditions, the color unevenness before and after the shift position may occur depending on the shape of the dither matrix. This color unevenness becomes prominent particularly when a dither matrix having a screen angle is used, and more specifically, when a line-shaped dither matrix having a screen angle is used.

図8および図9は、万線形状のディザマトリクスを用いた場合のシフト位置近傍の色むらの発生原理を説明する図である。図8(A)および図9(A)は、シアン画像データを示し、図8(B)および図9(B)は、マゼンダ画像データを示す。図8(C)および図9(C)は、副走査方向のシフトが行われる分割境界(シフト位置)前後のシアンおよびマゼンダの重ね合わせ画像を模式的に示す。なお、図8および図9の両方の場合において、上述したスキュー処理は、シアン(C)に対してのみ行われているものとする。   FIG. 8 and FIG. 9 are diagrams for explaining the principle of occurrence of color unevenness in the vicinity of the shift position when a line dither matrix is used. 8A and 9A show cyan image data, and FIGS. 8B and 9B show magenta image data. FIGS. 8C and 9C schematically show superimposed images of cyan and magenta before and after the division boundary (shift position) where the shift in the sub-scanning direction is performed. In both cases of FIGS. 8 and 9, it is assumed that the skew processing described above is performed only for cyan (C).

図8および図9において、シアンの万線部分は、右上がりストライプのハッチングで示され、マゼンダの万線部分は、右下がりストライプのハッチングで表されている。図8(C)および図9(C)の重ね合わせ画像において、シアンおよびマゼンダが重なり合う部分は、スクエア・ドットのハッチングで表されている。   In FIG. 8 and FIG. 9, the cyan line portion is indicated by hatching of the right rising stripe, and the magenta line portion is indicated by hatching of the right falling stripe. In the superimposed images of FIGS. 8C and 9C, a portion where cyan and magenta overlap is represented by square dot hatching.

図8は、シアン(C)およびマゼンダ(M)それぞれのスクリーン角が比較的低い場合を例示する。より具体的には、図8(A)に示すシアンのスクリーン・パターンのスクリーン角は、34°であり、図8(B)に示すマゼンダのスクリーン角は、−34°である。これに対して、図9は、シアン(C)およびマゼンダ(M)それぞれのスクリーン角が比較的高い場合を例示する。より具体的には、図9(A)に示すシアンのスクリーン角が56°であり、図8(B)に示すマゼンダが−56°である。ここで、スクリーン角は、水平軸(主走査方向)に対し、スクリーン形状がなす角度として定義される。万線スクリーンの場合は、万線(ライン)が走る方向のなす角度である。   FIG. 8 illustrates a case where the screen angles of cyan (C) and magenta (M) are relatively low. More specifically, the screen angle of the cyan screen pattern shown in FIG. 8A is 34 °, and the screen angle of magenta shown in FIG. 8B is −34 °. On the other hand, FIG. 9 illustrates a case where the screen angles of cyan (C) and magenta (M) are relatively high. More specifically, the cyan screen angle shown in FIG. 9A is 56 °, and the magenta shown in FIG. 8B is −56 °. Here, the screen angle is defined as the angle formed by the screen shape with respect to the horizontal axis (main scanning direction). In the case of a line screen, this is the angle formed by the direction in which the line runs.

図8(C)および図9(C)を比較すると、シアンとマゼンダの重なり部分(スクエア・ドットで示す部分)のシフト位置前後での変動量が、スクリーン角に応じて異なっていることが理解される。すなわち、スクリーン角が比較的低い図8(C)の場合の方が、スクリーン角が比較的高い図9(C)の場合よりも上記重なる部分の変動量が大きくなっている。ここで、重なり部分の変動量が大きいということは、シフト位置近傍で比較的大きな濃度段差が生じ、人間に色むらとして認識され易くなることを意味する。   Comparing FIG. 8C and FIG. 9C, it is understood that the amount of variation before and after the shift position of the overlapping portion of cyan and magenta (portion indicated by square dots) differs depending on the screen angle. Is done. That is, in the case of FIG. 8C where the screen angle is relatively low, the amount of fluctuation of the overlapping portion is larger than in the case of FIG. 9C where the screen angle is relatively high. Here, a large amount of fluctuation in the overlapping portion means that a relatively large density step is generated in the vicinity of the shift position, and it is easy for humans to recognize color unevenness.

上述したように、複数色を重ねて表現する階調画像においては、スキュー補正での1ラインのシフトにより、シフト位置前後で画素の重なり方が変化し、シフト位置近傍で濃度段差つまり色むらとなって表れる。このシフト位置近傍の色むらは、特に、スクリーン角が低い階調処理画像同士の場合により顕著となり、さらに解像度が低い場合により顕著となる。またスクリーン角の組合せによっても色むらの発生しやすさが変わってくる。   As described above, in a gradation image that represents a plurality of colors in an overlapping manner, the shift of one line in skew correction changes the way pixels overlap before and after the shift position, resulting in a density step or color unevenness near the shift position. It appears. The color unevenness in the vicinity of the shift position is particularly noticeable in the case of gradation processed images having a low screen angle, and becomes more noticeable when the resolution is low. Also, the likelihood of color unevenness varies depending on the combination of screen angles.

そこで、本実施形態によるスキュー補正処理では、特にスクリーン角が低い階調処理が行われた部分に対し、上述した濃度段差が軽減されるように画素の濃度補正を施す構成を採用する。なお、以下の説明では、万線形状のディザマトリクスを一例として用いて説明するが、本実施形態によるスキュー処理が適用できるスクリーン・パターンは、万線形状に限定されるものではない。例えば、ドット集中型や、網点型のディザマトリックスなどの場合も同様に、スクリーン角を定義することができ、好適にシフト位置近傍の色むら発生を軽減することが期待される。   Therefore, the skew correction processing according to the present embodiment employs a configuration in which pixel density correction is performed so that the above-described density step is reduced particularly in a portion where gradation processing with a low screen angle is performed. In the following description, a line dither matrix is used as an example, but the screen pattern to which the skew processing according to the present embodiment can be applied is not limited to the line shape. For example, in the case of a dot concentration type or a halftone type dither matrix, the screen angle can be similarly defined, and it is expected that the occurrence of uneven color in the vicinity of the shift position is preferably reduced.

以下、図10〜図21を参照しながら、本実施形態における、シフト位置近傍での濃度補正を伴うスキュー補正について、より詳細に説明する。図10は、本実施形態によるスキュー補正処理部122の詳細な機能ブロックを示す。図10に示すスキュー補正処理部122は、データセレクタ140と、スキュー出力制御部142と、濃度補正処理部144とを含み構成される。   Hereinafter, with reference to FIGS. 10 to 21, the skew correction accompanied by the density correction near the shift position in the present embodiment will be described in more detail. FIG. 10 shows detailed functional blocks of the skew correction processing unit 122 according to the present embodiment. The skew correction processing unit 122 illustrated in FIG. 10 includes a data selector 140, a skew output control unit 142, and a density correction processing unit 144.

スキュー補正処理部122には、複数のラインメモリ118からライン毎の画像データ(RAMDATA00〜xx)が入力されている。スキュー出力制御部142は、上述した演算に基づき設定されたスキュー補正データ(シフト位置およびシフト方向)に基づいて、データセレクタ140に対し選択信号を出力する。データセレクタ140は、スキュー出力制御部142からの選択信号に基づいて、複数のラインメモリ118のうちから選択されたラインメモリの画像データを読み出し、上述した画像シフトによるスキュー補正を施し、補正されたライン毎の画像データ(SKLINE0〜6)を濃度補正処理部144に出力する。   The skew correction processing unit 122 receives image data (RAMDATA00 to xx) for each line from the plurality of line memories 118. The skew output control unit 142 outputs a selection signal to the data selector 140 based on the skew correction data (shift position and shift direction) set based on the above-described calculation. Based on the selection signal from the skew output control unit 142, the data selector 140 reads the image data of the line memory selected from the plurality of line memories 118, and performs the skew correction by the above-described image shift to be corrected. The image data (SKLINE0 to 6) for each line is output to the density correction processing unit 144.

図10に示す実施形態では、データセレクタ140は、その処理対象となるラインと、その上下3ラインずつの合計7ラインの画像データ(SKLINE0〜6)を後段の濃度補正処理部144に出力する。説明する実施形態では、濃度補正処理部144において、この合計7ライン分の画像データを用いて濃度補正処理が行われるものとして説明するが、これに限定されるものではない。他の実施形態では、濃度補正処理部144で行われる濃度補正処理で必要となる数が満たされる限り、2以上の任意のライン数としてよい。   In the embodiment shown in FIG. 10, the data selector 140 outputs image data (SKLINE 0 to 6) of a total of seven lines, that is, the line to be processed and three upper and lower lines to the subsequent density correction processing unit 144. In the embodiment to be described, the density correction processing unit 144 is described as performing density correction processing using image data for a total of seven lines, but the present invention is not limited to this. In another embodiment, the number of lines may be any number of 2 or more as long as the number required by the density correction processing performed by the density correction processing unit 144 is satisfied.

上記スキュー出力制御部142は、濃度補正を行う対象の範囲を指定するため、さらに濃度補正処理部144に対し、補正エリア幅信号を出力する。ここで、補正エリア幅信号は、主走査方向において濃度補正の単位となる画素数である補正エリア幅を示す信号であり、シフト位置近傍においてどの程度の範囲に対して濃度補正を施すかを規定するものである。スキュー出力制御部142は、事前設定された補正幅設定データを参照して、一意に、前段で行われた中間調処理のスクリーン・パターンの種類、または例えば原稿が写真であるかドキュメントであるかといった動作モードに応じて、補正エリア幅を決定することができる。濃度補正が行われる対象となる主走査方向の範囲(以下、補正対象範囲という。)は、シフト位置と、補正エリア幅とに基づいて規定される。   The skew output control unit 142 further outputs a correction area width signal to the density correction processing unit 144 in order to designate a target range for density correction. Here, the correction area width signal is a signal indicating the correction area width, which is the number of pixels as a unit of density correction in the main scanning direction, and defines how much density correction is performed in the vicinity of the shift position. To do. The skew output control unit 142 refers to the correction width setting data set in advance, and uniquely determines the type of screen pattern of the halftone processing performed in the previous stage, or whether the document is a photograph or a document, for example. The correction area width can be determined according to the operation mode. A range in the main scanning direction (hereinafter, referred to as a correction target range) on which density correction is performed is defined based on the shift position and the correction area width.

濃度補正処理部144は、スキュー補正によって生じ得る色むらを低減するための濃度補正処理を行う手段である。濃度補正処理部144は、入力されるシフト位置および補正エリア幅信号に基づいて補正対象範囲を特定し、入力された複数ラインの画像データ(SKLINE0〜6)を用いて、濃度補正処理を施し、ライン単位で画像データを書き込み画像処理部124に出力する。   The density correction processing unit 144 is a unit that performs density correction processing to reduce color unevenness that may occur due to skew correction. The density correction processing unit 144 specifies a correction target range based on the input shift position and the correction area width signal, and performs density correction processing using the input multiple lines of image data (SKLINE0 to 6). The image data is written and output to the image processing unit 124 in units of lines.

図11は、濃度補正処理部144の詳細な機能的構成を示すブロック図である。図11に示す濃度補正処理部144は、寄せ方向判定処理部150と、加重平均処理部152と、スクリーン判定処理部154と、主走査方向画素寄せ補正処理部156とを含み構成される。   FIG. 11 is a block diagram illustrating a detailed functional configuration of the density correction processing unit 144. The density correction processing unit 144 illustrated in FIG. 11 includes a shift direction determination processing unit 150, a weighted average processing unit 152, a screen determination processing unit 154, and a main scanning direction pixel shift correction processing unit 156.

寄せ方向判定処理部150、加重平均処理部152およびスクリーン判定処理部154には、それぞれ、濃度補正処理部144に入力される画像データ(SKLINE0〜6)と、シフト位置およびシフト方向を規定する信号とが入力される。   The shift direction determination processing unit 150, the weighted average processing unit 152, and the screen determination processing unit 154 include image data (SKLINE0 to 6) input to the density correction processing unit 144 and signals that define the shift position and the shift direction, respectively. Are entered.

また、寄せ方向判定処理部150、加重平均処理部152、スクリーン判定処理部154および主走査方向画素寄せ補正処理部156には、上記スキュー出力制御部142から補正エリア幅信号が入力され、それぞれの機能部において、入力される画像データのうちの補正対象範囲が特定される。補正対象範囲は、領域分割にかかる境界(シフト位置)に隣接して設定される。しして、特に限定されるものではないが、説明する実施形態では、スキュー出力制御部142により、シフト位置より補正エリア幅信号で指定される画素数分手前の画素から、シフト位置の画素までの範囲が補正対象範囲として設定される。スキュー補正において3以上の領域に分割される場合は、各シフト位置に対して各補正対象範囲が設定される。   In addition, the correction area width signal is input from the skew output control unit 142 to the shift direction determination processing unit 150, the weighted average processing unit 152, the screen determination processing unit 154, and the main scanning direction pixel shift correction processing unit 156. In the functional unit, the correction target range in the input image data is specified. The correction target range is set adjacent to a boundary (shift position) related to region division. Although not particularly limited, in the embodiment to be described, the skew output control unit 142 performs processing from the pixel before the number of pixels specified by the correction area width signal from the shift position to the pixel at the shift position. Is set as the correction target range. When the skew correction is divided into three or more areas, each correction target range is set for each shift position.

加重平均処理部152は、上記補正対象範囲において、隣接する分割領域間のシフトに基づき、副走査方向に並ぶ複数の画素を参照し、平均濃度値を計算し、濃度演算結果を主走査方向画素寄せ補正処理部156に出力する。加重平均処理部152は、本実施形態における平均濃度計算手段を構成する。   In the correction target range, the weighted average processing unit 152 refers to a plurality of pixels arranged in the sub-scanning direction based on a shift between adjacent divided regions, calculates an average density value, and calculates the density calculation result as a pixel in the main scanning direction. Output to the shift correction processing unit 156. The weighted average processing unit 152 constitutes an average density calculation unit in the present embodiment.

ここで、加重平均処理部152の役割は、補正対象範囲が設定されたシフト位置を境界として上記スキュー補正により所定の画像シフト操作が行われている場合において、補正対象範囲の元画像と、元画像に上記所定の画像シフト操作が反映されたとした場合の画像との中間を表す平均画像を生成することである。平均処理で参照する画素は、上記補正対象範囲が隣接する領域境界での画像シフト(シフト方向)に応じて切り替えられる。   Here, the role of the weighted average processing unit 152 is that when a predetermined image shift operation is performed by the skew correction using the shift position where the correction target range is set as a boundary, It is to generate an average image representing the middle of the image when the predetermined image shift operation is reflected on the image. The pixel referred to in the averaging process is switched according to the image shift (shift direction) at the boundary between the adjacent areas to be corrected.

スクリーン判定処理部154は、上記補正対象範囲に含まれる画素を、順次、注目画素として、注目画素が、補正対象として事前設定されたスクリーン画像を構成するものであるか否かを判定し、判定結果を主走査方向画素寄せ補正処理部156に出力する。スクリーン判定処理部154は、本実施形態におけるスクリーン判定手段を構成する。   The screen determination processing unit 154 sequentially determines pixels included in the correction target range as the target pixel, and determines whether the target pixel constitutes a screen image preset as the correction target. The result is output to the main scanning direction pixel alignment correction processing unit 156. The screen determination processing unit 154 constitutes screen determination means in the present embodiment.

特定の実施形態では、スクリーン判定処理部154は、注目画素毎に、注目画素と注目画素の周辺画素との濃度配置を被照合パターンとして、事前設定された補正対象スクリーンの照合パターンとのパターンマッチングにより上述した判定を行うことができる。補正対象スクリーンの照合パターンは、例えば複合機ベンダにより、1以上のものが事前設定されており、例えば、水平軸に対するスクリーン形状のなす角度が既定値以下であるスクリーン・パターンが登録されている。このような低スクリーン角のスクリーンは、上述したシフト位置近傍での色むらを発生させやすいからである。   In a specific embodiment, the screen determination processing unit 154 uses, for each target pixel, a pattern matching with a matching pattern of a correction target screen that is set in advance using the density arrangement of the target pixel and the surrounding pixels of the target pixel as a target pattern. The above-described determination can be performed. One or more collation patterns of the correction target screen are preset by, for example, a multifunction machine vendor. For example, a screen pattern in which an angle formed by the screen shape with respect to the horizontal axis is equal to or less than a predetermined value is registered. This is because such a screen having a low screen angle easily causes uneven color in the vicinity of the shift position described above.

また、プリンタ階調処理では、色毎、ビット数毎に、スクリーン・パターンが設計されている場合も多い。例えば、ブラックを45度、シアンを15°、マゼンダを75度、イエローを30度というようにモアレを目立たせないよう設定される場合である。そこで、他の実施形態では、濃度補正処理部144が対応する色、画素のビット数に応じて、上述した照合すべき補正対象パターンを絞り込むようにすることができる。あるいは、色およびビット数に対応して一意にスクリーンが定まる場合は、色およびビット数に基づき、一意にスクリーンを特定し、補正対象スクリーンであるか否かを判定してもよい。   In printer gradation processing, a screen pattern is often designed for each color and each bit number. For example, the setting is made so that moire is not conspicuous, such as 45 degrees for black, 15 degrees for cyan, 75 degrees for magenta, and 30 degrees for yellow. Therefore, in another embodiment, the correction target pattern to be collated can be narrowed down according to the color and the number of bits of the pixel corresponding to the density correction processing unit 144. Alternatively, when the screen is uniquely determined corresponding to the color and the number of bits, the screen may be uniquely specified based on the color and the number of bits, and it may be determined whether the screen is a correction target screen.

寄せ方向判定処理部150は、上記補正対象範囲に含まれる画素を、順次、注目画素として、注目画素毎に、主走査方向に画素を寄せる方向(以下、寄せ方向という。)を判定し、その判定結果を主走査方向画素寄せ補正処理部156に出力する。寄せ方向判定処理部150は、本実施形態における寄せ方向判定手段を構成する。寄せ方向は、注目画素と注目画素の周辺画素との濃度配置を被照合パターンとし、寄せ方向を判定するため事前準備された寄せ方向判定パターンとのパターンマッチングを行うことで判定することができる。   The shift direction determination processing unit 150 sequentially determines pixels included in the correction target range as target pixels, and for each target pixel, determines a direction in which the pixels are shifted in the main scanning direction (hereinafter referred to as a shift direction). The determination result is output to the main scanning direction pixel alignment correction processing unit 156. The approach direction determination processing unit 150 constitutes an approach direction determination unit in the present embodiment. The alignment direction can be determined by using the density arrangement of the pixel of interest and the surrounding pixels of the pixel of interest as the pattern to be verified, and performing pattern matching with the alignment direction determination pattern prepared in advance for determining the alignment direction.

寄せ方向判定処理部150の役割は、上記画像シフトを考慮して生成された平均画像において、画素の濃度値を寄せる方向を判定することである。ここで寄せる方向は、該注目画素が構成するスクリーンのスクリーン形状(万線ディザであれば万線形状)の中央に向かう主走査方向が判定される。   The role of the shift direction determination processing unit 150 is to determine the direction in which the pixel density value is shifted in the average image generated in consideration of the image shift. Here, the main scanning direction toward the center of the screen shape of the screen formed by the pixel of interest (a line shape in the case of line dither) is determined.

主走査方向画素寄せ補正処理部156は、主走査方向に並ぶ複数の画素を参照し、加重平均処理部152で計算された平均濃度値と、寄せ方向判定処理部150で判定された寄せ方向に基づき、補正された濃度値を計算する。補正された濃度値から構成される濃度データは、後段の書き込み画像処理部124に出力される。主走査方向画素寄せ補正処理部156は、本実施形態における補正濃度計算手段を構成する。   The main scanning direction pixel shift correction processing unit 156 refers to a plurality of pixels arranged in the main scanning direction, and calculates the average density value calculated by the weighted average processing unit 152 and the shift direction determined by the shift direction determination processing unit 150. Based on this, a corrected density value is calculated. Density data composed of the corrected density values is output to the subsequent writing image processing unit 124. The main scanning direction pixel shift correction processing unit 156 constitutes correction density calculation means in the present embodiment.

主走査方向画素寄せ補正処理部156の役割は、上記加重平均処理部152により計算した中間的な画像の各画素を、寄せ方向判定処理部150で判定された主走査方向の寄せ方向に濃度値を寄せ集めて、画素ないし画素群を形成することである。この形成される画素ないし画素群は、所定の階調数の範囲で、より大きな濃度値を有するものとなる。   The role of the main scanning direction pixel shift correction processing unit 156 is to set each pixel of the intermediate image calculated by the weighted average processing unit 152 in the density direction in the main scanning direction determined by the shift direction determination processing unit 150. Are gathered together to form pixels or pixel groups. The formed pixel or pixel group has a larger density value within a predetermined number of gradations.

また、好適な実施形態では、主走査方向画素寄せ補正処理部156は、上記スクリーン判定処理部154により補正対象スクリーンを構成する画素であると判定された場合にのみ、この補正された濃度値の計算を行うことができる。   In the preferred embodiment, the main scanning direction pixel shift correction processing unit 156 determines the corrected density value only when the screen determination processing unit 154 determines that the pixel constitutes the correction target screen. Calculations can be made.

以下、図12を参照して、上述した濃度補正処理の全体の流れを説明する。図12は、濃度補正処理部144による各画素に対する処理を示すフローチャートである。図12に示す処理は、ステップS100から開始し、ステップS101では、濃度補正処理部144は、注目画素が、補正対象範囲の画素であるか否かを判定する。ステップS101で、補正対象範囲の画素であると判定された場合(YES)は、ステップS102以降へと処理が進められる。   Hereinafter, the overall flow of the above-described density correction processing will be described with reference to FIG. FIG. 12 is a flowchart showing processing for each pixel by the density correction processing unit 144. The process illustrated in FIG. 12 starts from step S100, and in step S101, the density correction processing unit 144 determines whether or not the target pixel is a pixel in the correction target range. If it is determined in step S101 that the pixel is in the correction target range (YES), the process proceeds to step S102 and subsequent steps.

ステップS102では、濃度補正処理部144は、スクリーン判定処理部154によるスクリーン判定処理を行う。スクリーン判定処理では、注目画素が上記補正対象スクリーンを構成するか否かの判定がなされる。ステップS103では、濃度補正処理部144は、スクリーン判定処理部154による判定結果に基づき処理を分岐させる。ステップS103で、注目画素が補正対象スクリーンを構成するとの判定結果であった場合(YES)は、ステップS104へ処理が進められる。   In step S <b> 102, the density correction processing unit 144 performs a screen determination process by the screen determination processing unit 154. In the screen determination process, it is determined whether or not the target pixel constitutes the correction target screen. In step S103, the density correction processing unit 144 branches the process based on the determination result by the screen determination processing unit 154. If it is determined in step S103 that the target pixel constitutes the correction target screen (YES), the process proceeds to step S104.

ステップS104では、濃度補正処理部144は、寄せ方向判定処理部150による寄せ方向判定処理を行う。寄せ方向判定処理では、上述したように、注目画素および注目画素の周辺画素が参照されて、注目画素に対し寄せ方向が判定される。ステップS105では、濃度補正処理部144は、加重平均処理部152による平均化処理を行う。平均化処理では、上述したように、注目画素および注目画素の周辺画素が参照されて、注目画素に対し平均濃度値が計算される。   In step S <b> 104, the density correction processing unit 144 performs the approach direction determination process by the approach direction determination processing unit 150. In the shift direction determination process, as described above, the target pixel and the peripheral pixels of the target pixel are referred to, and the shift direction is determined with respect to the target pixel. In step S <b> 105, the density correction processing unit 144 performs an averaging process by the weighted average processing unit 152. In the averaging process, as described above, the target pixel and the peripheral pixels of the target pixel are referred to, and an average density value is calculated for the target pixel.

ステップS106では、濃度補正処理部144は、主走査方向画素寄せ補正処理部156により、画素寄せ補正処理を行い、補正された濃度値を出力する。画素寄せ補正処理では、注目画素および注目画素の周辺画素が参照されて、これらの画素の平均濃度値および寄せ方向に基づき、注目画素に対し補正された濃度値が計算される。ステップS106で、画素寄せ補正処理が完了すると、ステップS107で、当該画素に対する処理を終了させる。   In step S <b> 106, the density correction processing unit 144 performs pixel shift correction processing by the main scanning direction pixel shift correction processing unit 156, and outputs a corrected density value. In the pixel shift correction process, the target pixel and the peripheral pixels of the target pixel are referred to, and the density value corrected for the target pixel is calculated based on the average density value and the shift direction of these pixels. When the pixel alignment correction process is completed in step S106, the process for the pixel is terminated in step S107.

一方、ステップS101で補正対象範囲の画素ではないと判定された場合(NO)、およびステップS103で注目画素が補正対象スクリーンを構成しないと判定された場合(NO)は、ステップS108へ処理が進められる。ステップS108では、入力された画素の濃度値をそのまま出力し、ステップS107で、当該画素に対する処理を終了させる。   On the other hand, if it is determined in step S101 that the pixel is not in the correction target range (NO), and if it is determined in step S103 that the target pixel does not constitute the correction target screen (NO), the process proceeds to step S108. It is done. In step S108, the density value of the input pixel is output as it is, and in step S107, the processing for the pixel is ended.

上述したように、補正対象スクリーンを構成する画素である場合にのみ本濃度補正演算を行うことにより、本濃度補正処理が不要であるか、またはその有効性が低いスクリーンを処理対象外とすることができる。本補正処理が有効であると考えられる補正対象スクリーンに限定して濃度補正を行うことで、シフト位置近傍の色むらを好適に防止するとともに、濃度補正処理による副作用の発生を低減し、消費リソースの無駄を省くことができる。   As described above, the main density correction calculation is performed only when the pixels constitute the correction target screen, so that the main density correction processing is unnecessary or the screen having low effectiveness is excluded from the processing target. Can do. By performing density correction only on screens that are considered to be effective for this correction process, color unevenness in the vicinity of the shift position can be suitably prevented, and side effects caused by the density correction process can be reduced. Can be wasted.

なお、上述した説明では、ステップS100〜ステップS108で示す順序で処理が行われるものとして説明したが、濃度補正処理部144が実行する処理の順序は、図12に示したものに限定されない。これらの処理は、異なる順序で行われてもよいし、少なくとも一部の処理が並列して行われてもよい。   In the above description, the processing is described as being performed in the order shown in step S100 to step S108, but the order of processing executed by the density correction processing unit 144 is not limited to that shown in FIG. These processes may be performed in different orders, or at least some of the processes may be performed in parallel.

以下、図13〜図21を参照して、上述した寄せ方向判定処理部150、加重平均処理部152、スクリーン判定処理部154および主走査方向画素寄せ処理部156が実行する処理について、より詳細に説明する。   Hereinafter, with reference to FIG. 13 to FIG. 21, the processing executed by the above-described shift direction determination processing unit 150, the weighted average processing unit 152, the screen determination processing unit 154, and the main scanning direction pixel shift processing unit 156 will be described in more detail. explain.

まず、図13および図14を参照しながら、スクリーン判定処理部154によるスクリーン判定処理について、より詳細に説明する。なお、以下に説明するスクリーン判定処理は、上述したパターンマッチングに基づくものである。   First, the screen determination processing by the screen determination processing unit 154 will be described in more detail with reference to FIGS. 13 and 14. Note that the screen determination process described below is based on the pattern matching described above.

スクリーン判定処理部154には、データセレクタ140から出力された7ライン分の画像データ(SKLINE0〜6)が入力される。スクリーン判定処理部154は、スキュー補正による画像シフト位置の周辺に位置する補正対象範囲において、順次、注目画素および周辺画素を参照し、スクリーン判定処理を行う。なお、以下の説明では、特に限定されるものではないが、副走査方向に7ライン、主走査方向に7画素の領域を参照して判別する場合を例示している。ここで、7ライン×7画素を用いた処理が行われるため、濃度補正処理部144に合計7ライン分の画像データが入力されている。なお、スクリーン判定処理で用いるライン数および画素数は、特に限定されるものではなく、許容される回路規模および求められる判定精度を勘案して決定すればよい。   The screen determination processing unit 154 receives image data (SKLINE 0 to 6) for seven lines output from the data selector 140. The screen determination processing unit 154 performs screen determination processing by sequentially referring to the target pixel and the peripheral pixels in the correction target range located around the image shift position by skew correction. In the following description, although not particularly limited, a case where determination is made with reference to an area of 7 lines in the sub-scanning direction and 7 pixels in the main scanning direction is illustrated. Here, since processing using 7 lines × 7 pixels is performed, image data for a total of 7 lines is input to the density correction processing unit 144. Note that the number of lines and the number of pixels used in the screen determination process are not particularly limited, and may be determined in consideration of an allowable circuit scale and required determination accuracy.

入力された7ラインの画素は、7ライン×7画素のレジスタに蓄積される。スクリーン判定処理部154は、7ライン×7画素の参照領域を、図13(A)に示すように注目画素(二重枠で表されている。)とその周辺画素とで構成する。図13(B)は、上記シフト位置近傍で画像データに設定される参照領域を模式的に示す図である。なお、図13(B)は、600dpiの低スクリーン階調処理された画像データが1200dpiに高解像度化された場合を例示している。   The input 7-line pixels are stored in a 7-line × 7-pixel register. The screen determination processing unit 154 configures a reference area of 7 lines × 7 pixels by a pixel of interest (represented by a double frame) and its surrounding pixels as shown in FIG. FIG. 13B is a diagram schematically showing a reference area set in the image data in the vicinity of the shift position. Note that FIG. 13B illustrates a case where the resolution of 600 dpi low-screen tone processed image data is increased to 1200 dpi.

スクリーン判定処理部154は、図13(B)に示すように、補正対象範囲の各注目画素に対し、順次、注目画素と、その周辺画素とを含み構成される参照領域を設定する。ここで、注目画素が、右端に位置しているのは、説明する実施形態では、補正対象範囲がシフト位置の手前側に設定されているためである。すなわち、上記参照領域は、分割境界を超えて隣接領域にまたがって設定されないように配慮されている。これにより、分割境界をまたいでしまうことに起因した予め準備しなければならない照合パターンの増加が抑制される。   As shown in FIG. 13B, the screen determination processing unit 154 sequentially sets a reference area including the target pixel and its peripheral pixels for each target pixel in the correction target range. Here, the pixel of interest is located at the right end because the correction target range is set on the near side of the shift position in the embodiment to be described. That is, it is considered that the reference area is not set across the adjacent areas beyond the division boundary. Thereby, the increase in the collation pattern which must be prepared in advance due to crossing the division boundary is suppressed.

スクリーン判定処理部154は、これらの補正対象範囲の画像に対して、7ライン×7画素のパターンマッチングを行い、7ライン×7画素の参照領域の被照合パターンと、事前準備された幾つかの照合パターンとを比較する。一致したものがある場合には、参照領域の画像が補正対象スクリーンを構成する画像であると判断できる。   The screen determination processing unit 154 performs pattern matching of 7 lines × 7 pixels on the images in the correction target range, the pattern to be matched in the reference area of 7 lines × 7 pixels, and some of the prepared patterns Compare with matching pattern. If there is a match, it can be determined that the image in the reference area is an image constituting the correction target screen.

図14は、上記パターンマッチングの具体的な処理を説明する図である。図14には、入力画像に対する参照領域の被照合パターンの画像データイメージと、濃度分布イメージとが示されている。図14において、上段の参照領域の被照合パターンは、スクリーン角の低い低スクリーン角画像のものであり、下段の参照領域の被照合パターンは、スクリーン角の高い高スクリーン角画像のものである。また、低スクリーン角の万線パターンが補正対象スクリーンとして、照合パターンが準備されている。   FIG. 14 is a diagram illustrating specific processing of the pattern matching. FIG. 14 shows an image data image of a pattern to be checked in a reference area for an input image and a density distribution image. In FIG. 14, the pattern to be verified in the upper reference area is a low screen angle image with a low screen angle, and the pattern to be verified in the lower reference area is a high screen angle image with a high screen angle. In addition, a collation pattern is prepared using a line pattern having a low screen angle as a correction target screen.

図14の上段の被照合パターンのように、被照合パターンの濃度分布と照合パターンの濃度分布とのマッチングで計算される一致度が閾値以上となり、一致したと判定できる。この場合、その参照領域は、補正対象スクリーン画像に対応すると判定される。一方、図14の下段の被照合パターンは、高スクリーン角画像のものであるが、照合パターンとの一致度が閾値未満であり、マッチしていないと判定される。この場合は、その参照領域は、補正対象スクリーンに該当しないと判定されることになる。   As shown in the upper pattern in FIG. 14, the degree of coincidence calculated by matching the density distribution of the pattern to be matched with the density distribution of the matching pattern is equal to or greater than the threshold value, and it can be determined that they match. In this case, it is determined that the reference area corresponds to the correction target screen image. On the other hand, the pattern to be collated in the lower part of FIG. 14 is a high screen angle image, but the degree of coincidence with the collation pattern is less than the threshold value, and it is determined that there is no match. In this case, it is determined that the reference area does not correspond to the correction target screen.

また、色およびビット数に対応してスクリーン判定する場合に比較した、パターンマッチングによりスクリーン判定することの利点としては、画素が構成するスクリーンの階調値に応じて濃度補正を行える点である。例えば、階調値が低い場合は、濃度段差が目立つが、階調値が高い場合は色が濃くなるので色むらが目立たなくなることが考えられる。そこで、低階調値に対応するパターンのみを準備することにより、階調値が低い場合に限定して濃度補正を適用することができるようになる。   The advantage of screen determination by pattern matching compared to the case of screen determination corresponding to the color and the number of bits is that density correction can be performed according to the gradation value of the screen formed by the pixels. For example, when the gradation value is low, the density step is conspicuous, but when the gradation value is high, the color becomes dark and the color unevenness may be inconspicuous. Therefore, by preparing only a pattern corresponding to a low gradation value, it is possible to apply density correction only when the gradation value is low.

以下、図15を参照して、寄せ方向判定処理部150による寄せ方向判定処理について、より詳細に説明する。寄せ方向判定処理部150には、データセレクタ140から出力された、3ライン分の画像データ(SKLINE*)が入力される。寄せ方向判定処理部150は、上記補正対象範囲において、順次、注目画素および周辺画素を参照し、注目領域に対する寄せ方向を判定する。なお、以下の説明では、副走査方向に2ライン、主走査方向に1画素の参照領域を用いて判別する場合を例示する。   Hereinafter, the approach direction determination process by the approach direction determination processing unit 150 will be described in more detail with reference to FIG. The alignment direction determination processing unit 150 receives image data (SKLINE *) for three lines output from the data selector 140. The approach direction determination processing unit 150 sequentially refers to the target pixel and surrounding pixels in the correction target range, and determines the approach direction with respect to the target area. In the following description, a case where determination is performed using a reference area of two lines in the sub-scanning direction and one pixel in the main scanning direction will be exemplified.

寄せ方向判定処理部150は、2ライン×1画素の参照領域を、図15(A)および(B)に示すような注目画素(同様に二重枠で表されている。)と、その周辺画素(図15では下の画素)とで構成する。入力された2ラインの画素は、2ライン×1画素のレジスタに蓄積される。ここで、参照領域は、寄せ方向判定処理部150として独立して確保されても良いし、スクリーン判定処理部154と共用されてもよい。補正対象範囲については、スクリーン判定処理と同様に、スキュー出力制御部142から入力される補正エリア幅信号に基づいて設定される。   The approach direction determination processing unit 150 uses a reference area of 2 lines × 1 pixel as a target pixel (similarly represented by a double frame) as shown in FIGS. 15A and 15B and its surroundings. It consists of pixels (lower pixel in FIG. 15). The input two lines of pixels are stored in a register of 2 lines × 1 pixel. Here, the reference area may be secured independently as the approach direction determination processing unit 150, or may be shared with the screen determination processing unit 154. The correction target range is set based on the correction area width signal input from the skew output control unit 142 as in the screen determination process.

寄せ方向判定処理部150は、図15(B)に示すように、補正対象範囲の各注目画素に対し、順次、注目画素と、その周辺画素とを含み構成される参照領域を設定する。このとき、寄せ方向判定処理部150は、注目画素が構成するスクリーンを判定し、判定されたスクリーンに基づいて、寄せ方向を判定する照合パターンを切り替えることができる。   As shown in FIG. 15B, the shift direction determination processing unit 150 sequentially sets a reference area including the target pixel and its peripheral pixels for each target pixel in the correction target range. At this time, the approaching direction determination processing unit 150 can determine the screen formed by the target pixel, and can switch the collation pattern for determining the approaching direction based on the determined screen.

上記スクリーン判定処理の結果に基づき、あるいは、色ごと、ビット数、モードの情報に基づき、スクリーン角が判別できるので、予めスクリーンが右上がりか、右下がりかを予め判別しておく。そして、寄せ方向判定処理部150は、スクリーンが右上がりか、右下がりかに応じて、寄せ方向を判定するための照合パターンを変更する。   Since the screen angle can be determined based on the result of the screen determination process or based on the information of each color, the number of bits, and the mode, it is determined in advance whether the screen is rising to the right or falling to the right. Then, the approach direction determination processing unit 150 changes the collation pattern for determining the approach direction according to whether the screen is rising to the right or falling to the right.

注目画素が構成するスクリーン画像のスクリーン角が右上がりの場合は、図15(A)に示すように寄せ方向を判定することができる。すなわち、2ライン×1画素の参照領域の濃度分布を参照した結果、注目画素が「黒画素(ここで、黒画素は、ベタ画素を意味する。)」、その下の周辺画素が「白画素」の照合パターンに一致した場合、寄せ方向は「左」と判定される。一方、注目画素が「白画素」、その下の周辺画素が「黒画素」の照合パターンに一致した場合、寄せ方向は「右」と判定される。注目画素および周辺画素が共に「白画素」または「黒画素」である場合は、寄せ方向は「無し」と判定される。   When the screen angle of the screen image formed by the pixel of interest rises to the right, the approach direction can be determined as shown in FIG. That is, as a result of referring to the density distribution of the reference area of 2 lines × 1 pixel, the target pixel is “black pixel (where black pixel means a solid pixel)”, and the surrounding pixels below are “white pixels” ”Is determined to be“ left ”. On the other hand, if the target pixel matches the matching pattern of “white pixel” and the surrounding pixels below it match the “black pixel”, the alignment direction is determined to be “right”. When the target pixel and the peripheral pixels are both “white pixels” or “black pixels”, the alignment direction is determined to be “none”.

反対に、スクリーン角が右下がりの場合は、図15(B)に示すように、注目画素が「黒画素」、その下の周辺画素が「白画素」の照合パターンに一致した場合、寄せ方向は「右」と判定される。一方で、注目画素が「白画素」、その下の周辺画素が「黒画素」の照合パターンに一致した場合、寄せ方向は「左」と判定される。注目画素および周辺画素が共に「白画素」または「黒画素」である場合は、同様に、寄せ方向は「無し」と判定される。   On the other hand, when the screen angle is lowering to the right, as shown in FIG. 15B, when the pixel of interest matches the matching pattern of “black pixels” and the surrounding pixels below it match the matching pattern of “white pixels”, Is determined to be “right”. On the other hand, if the target pixel matches the matching pattern of “white pixel” and the surrounding pixels below it match the “black pixel”, the alignment direction is determined to be “left”. Similarly, when the target pixel and the peripheral pixel are both “white pixels” or “black pixels”, the approach direction is determined to be “none”.

上述した寄せ方向の判定によれば、図15(A)および(B)に示すように、副走査方向に並ぶ複数の画素の濃度配置に基づき、注目画素が構成するスクリーンのスクリーン形状(万線ディザであれば万線形状)の中央に向かう主走査方向が、寄せ方向として判定される。例えば、右上がりの万線の場合に、副走査下向きに「黒画素」および「白画素」と続くときは、副走査方向に進めると万線から背景へ出る方向にあり、当該画素群は、右上がりの万線の右側に位置していると考えられるので、万線の中央は左にあると判定できる。右下がりの場合は、反対に、万線の左側に対応していると考えられるので、万線の中央は右にあると判定できる。   According to the determination of the approach direction described above, as shown in FIGS. 15A and 15B, the screen shape (line of lines) of the screen formed by the target pixel is based on the density arrangement of a plurality of pixels arranged in the sub-scanning direction. The main scanning direction toward the center of the line shape in the case of dithering is determined as the approaching direction. For example, in the case of a line that rises to the right, when `` black pixels '' and `` white pixels '' continue in the sub-scanning downward direction, when proceeding in the sub-scanning direction, the line is in the direction from the line to the background, and the pixel group is It can be determined that the center of the line is on the left because it is considered to be located on the right side of the line that rises to the right. In the case of a downward slope, on the contrary, it is considered that it corresponds to the left side of the line, so it can be determined that the center of the line is on the right.

上述した寄せ方向の判定を各画素毎に行い、各画素毎に寄せ方向「右」、「左」または「無し」を決定し、主走査方向画素寄せ補正処理部156に出力する。寄せ方向は、例えば、2ビットのフラグ情報(00h=無し、01h=右、10h=左)として画素に設定され、出力される。   The determination of the alignment direction described above is performed for each pixel, the alignment direction “right”, “left”, or “none” is determined for each pixel, and is output to the main scanning direction pixel alignment correction processing unit 156. The alignment direction is set and output to the pixel as, for example, 2-bit flag information (00h = none, 01h = right, 10h = left).

図15(C)は、スクリーン角が右上がりの場合の補正対象範囲の各画素について、寄せ方向判定された結果を例示する。図15(C)では、副走査方向に白画素、黒画素と下に連続して配置している場合は右矢印が、副走査方向に黒画素、白画素と下に連続して配置している場合は左矢印が、画素単位に示されている。同様に、図15(D)は、スクリーン角が右下がりの場合の補正対象範囲の各画素について、寄せ方向判定された結果を例示する。   FIG. 15C exemplifies the result of the approach direction determination for each pixel in the correction target range when the screen angle is increased to the right. In FIG. 15C, when the white pixel and the black pixel are continuously arranged below in the sub-scanning direction, the right arrow is arranged continuously below the black pixel and the white pixel in the sub-scanning direction. Left arrow is shown in pixel units. Similarly, FIG. 15D exemplifies the result of the approach direction determination for each pixel in the correction target range when the screen angle is lowering to the right.

なお、上述した注目画素とその下の周辺画素とを参照する寄せ方向の判定処理は、シフト位置で右上がりにシフトが行われる場合に対して適用することができる。上述したように、寄せ方向判定処理部150には、データセレクタ140から出力された3ライン分の画像データが入力される。右下がりにシフトが行われる場合には、注目画素と、その上に位置する周辺画素とを参照して、注目領域に対する寄せ方向を判定すればよい。   It should be noted that the above-described determination process of the shift direction referring to the target pixel and the surrounding pixels below it can be applied to the case where the shift is performed to the right at the shift position. As described above, the image data for three lines output from the data selector 140 is input to the approach direction determination processing unit 150. In the case of shifting to the lower right, it is only necessary to determine the approaching direction with respect to the region of interest with reference to the pixel of interest and surrounding pixels located above it.

そして、注目画素と上側の周辺画素とで構成される2ライン×1画素の参照領域の濃度分布を参照した結果、上の周辺画素が「黒画素」、その下の注目画素が「白画素」の照合パターンに一致した場合は、下側の注目画素に対し寄せ方向「左」が判定される。一方、周辺画素が「白画素」、その下の注目画素が「黒画素」の照合パターンに一致した場合、下に位置する注目画素に対して寄せ方向「右」が判定される。注目画素および周辺画素が共に「白画素」または「黒画素」である場合は、寄せ方向「無し」が判定される。   Then, as a result of referring to the density distribution of the reference region of 2 lines × 1 pixel composed of the target pixel and the upper peripheral pixel, the upper peripheral pixel is “black pixel”, and the lower target pixel is “white pixel”. When the matching pattern matches, the approach direction “left” is determined for the lower target pixel. On the other hand, when the peripheral pixel matches the matching pattern of “white pixel” and the target pixel below it matches the “black pixel”, the alignment direction “right” is determined with respect to the target pixel located below. When both the target pixel and the peripheral pixels are “white pixels” or “black pixels”, the approach direction “none” is determined.

上述したように、万線スクリーンの場合、スクリーン角が右上がりであるか、右下がりであるかが予め判別できれば、副走査方向に2つ並んだ画素を参照して、照合パターンを切り替えることで、適切に寄せ方向を決定することができる。これは、小さな参照領域で済み、判定処理も簡素化されるので、好適である。しかしながら、寄せ方向の判定処理は、上述したものに限定されるものではなく、より大きな任意のライン幅および画素幅の参照領域を設定して寄せ方向を判定してもよい。   As described above, in the case of a line screen, if it can be determined in advance whether the screen angle is rising to the right or falling to the right, the collation pattern can be switched by referring to two pixels arranged in the sub-scanning direction. It is possible to determine the approach direction appropriately. This is preferable because only a small reference area is required and the determination process is simplified. However, the approach direction determination processing is not limited to the above-described process, and the approach direction may be determined by setting a reference area having a larger arbitrary line width and pixel width.

以下、図16を参照して、加重平均処理部152による加重平均処理について、より詳細に説明する。加重平均処理部152は、上述した平均画像を得るため、注目画素と、該注目画素に副走査方向に並ぶ隣接画素(上または下の画素)とを含む画素群の濃度値の平均処理を行い、平均濃度値を計算する。説明する実施形態では、平均処理としては、画素それぞれの濃度値に重み付け係数を乗算して加算平均をとる、加重平均処理が行われる。上記平均濃度値は、注目画素と、該注目画素に上述した画像シフト操作が反映されたとした場合に対応する周辺画素との濃度値の平均処理を行ってえられる平均値である。   Hereinafter, the weighted average processing by the weighted average processing unit 152 will be described in more detail with reference to FIG. In order to obtain the above-described average image, the weighted average processing unit 152 performs an average process on the density value of a pixel group including the target pixel and adjacent pixels (upper or lower pixels) aligned with the target pixel in the sub-scanning direction. Calculate the average concentration value. In the embodiment to be described, as the averaging process, a weighted averaging process is performed in which the density value of each pixel is multiplied by a weighting coefficient to obtain an addition average. The average density value is an average value obtained by averaging density values of the target pixel and the peripheral pixels corresponding to the target pixel when the above-described image shift operation is reflected on the target pixel.

なお、以下の説明では、副走査方向に3ライン、主走査方向に1画素の参照領域を用いて判別する場合を例示する。また、重み付けは、特に限定されるものではないが、注目領域に対して「0.5」が、周辺領域に対して「0.5」が設定される設定例を用いて説明する。   In the following description, a case where the determination is performed using a reference area of 3 lines in the sub-scanning direction and 1 pixel in the main scanning direction will be exemplified. The weighting is not particularly limited, but will be described using a setting example in which “0.5” is set for the attention area and “0.5” is set for the peripheral area.

まず、加重平均処理部152には、データセレクタ140から出力された、少なくとも3ライン分の画像データ(SKLINE2〜4)が入力される。入力された3ラインの画素は、3ライン×1画素のレジスタに蓄積される。ここで、参照領域は、加重平均処理部152として独立して確保されても良いし、スクリーン判定処理部154や寄せ方向判定処理部150と共用されてもよい。補正対象範囲については、スクリーン判定処理と同様に、スキュー出力制御部142から入力される補正エリア幅信号に基づいて設定される。   First, the weighted average processing unit 152 receives at least three lines of image data (SKLINE2 to 4) output from the data selector 140. The input 3 lines of pixels are stored in a 3 line × 1 pixel register. Here, the reference area may be secured independently as the weighted average processing unit 152, or may be shared with the screen determination processing unit 154 and the approach direction determination processing unit 150. The correction target range is set based on the correction area width signal input from the skew output control unit 142 as in the screen determination process.

加重平均処理部152は、より具体的には、補正対象範囲の注目画素と、本補正対象範囲が設定されたシフト位置で行われるスキュー補正による画像シフト操作(シフト方向)に応じた側の隣接画素とを含む複数画素間で、濃度値の加重平均を計算する。すなわち、加重平均処理部152は、シフト方向が右上がりの場合は、注目画素とその下の隣接画素を参照する。反対に、シフト方向が右下がりの場合、注目画素とその上の画素を用いて加重平均処理を行う。上記加重平均処理部152は、計算された平均濃度値を主走査方向画素寄せ補正処理部156に出力する。   More specifically, the weighted average processing unit 152 adjoins the target pixel in the correction target range and the side corresponding to the image shift operation (shift direction) by skew correction performed at the shift position where the main correction target range is set. A weighted average of density values is calculated between a plurality of pixels including pixels. In other words, the weighted average processing unit 152 refers to the target pixel and the adjacent pixel below it when the shift direction is to the right. On the other hand, when the shift direction is lower right, the weighted average process is performed using the target pixel and the pixel above it. The weighted average processing unit 152 outputs the calculated average density value to the main scanning direction pixel shift correction processing unit 156.

図16(A)および(B)は、右上がりのシフト位置における加重平均処理前および加重平均処理後の画像データを模式的に示す。また、図16(C)は、右下がりのシフト位置における加重平均処理後の画像データを模式的に示す。図16に示されるように、加重平均処理により、補正対象範囲が設定されたシフト位置を境界としてシフトが行われている場合において、補正対象範囲の元の画像と、これに上記シフトが反映されたとした場合の画像との中間的な平均画像が生成される。   FIGS. 16A and 16B schematically show the image data before and after the weighted average process at the shift position that rises to the right. FIG. 16C schematically shows the image data after the weighted average processing at the shift position to the lower right. As shown in FIG. 16, when the shift is performed with the shift position where the correction target range is set as a boundary by the weighted average process, the original image of the correction target range and the shift are reflected on this. An average image that is intermediate to the image in the case of the assumption is generated.

なお、上述した説明では、重み付けを1種類で1段階のみ行う構成としているが、これに限定されるものではない。例えば、上記補正対象範囲を複数の区間に分割して、その区間の前後で重み付けを切り替えて、多段階の加重平均処理を行ってもよい。   In the above description, weighting is performed by one type and only one level is performed, but the present invention is not limited to this. For example, the correction target range may be divided into a plurality of sections, and weights may be switched before and after the sections to perform multistage weighted averaging processing.

例えば、シフト位置に近い区間では、注目画素の重み付けを小さくし、隣接画素の重み付けを大きくする一方で、シフト位置から離れた区間では、注目画素の重み付けを大きく、隣接画素の重み付けを小さくするように構成する。すなわち、補正対象範囲における各区間に対し、シフト位置からの距離が離れるに伴い、シフトが反映された場合の画像(隣接画素側)の重みが小さくなるように重み付けを設定することができる。これにより、補正対象範囲において段階的な濃度補正が行われるので、シフト位置近傍で発生する色むらをより好適に軽減することができる。なお、その際には、補正対象範囲を区分する数、各区間の幅、各区間での重み付け値は、特に限定されるものではない。   For example, in the section close to the shift position, the weight of the target pixel is decreased and the weight of the adjacent pixel is increased, while in the section far from the shift position, the weight of the target pixel is increased and the weight of the adjacent pixel is decreased. Configure. That is, for each section in the correction target range, the weight can be set so that the weight of the image (adjacent pixel side) when the shift is reflected decreases as the distance from the shift position increases. Thereby, stepwise density correction is performed in the correction target range, so that color unevenness occurring near the shift position can be more suitably reduced. In this case, the number for dividing the correction target range, the width of each section, and the weighting value in each section are not particularly limited.

以下、図17および図18を参照して、主走査方向画素寄せ補正処理部156による画素寄せ補正処理について、より詳細に説明する。主走査方向画素寄せ補正処理部156は、寄せ方向判定処理部150で決定された寄せ方向と、加重平均処理部152で計算された平均濃度値とに基づいて、主走査方向で濃度演算し、演算した濃度データを書き込み画像処理部124に出力する。   Hereinafter, with reference to FIGS. 17 and 18, the pixel shift correction processing by the main scanning direction pixel shift correction processing unit 156 will be described in more detail. The main scanning direction pixel shift correction processing unit 156 calculates density in the main scanning direction based on the shift direction determined by the shift direction determination processing unit 150 and the average density value calculated by the weighted average processing unit 152. The calculated density data is output to the writing image processing unit 124.

図17(A)は、寄せ方向判定処理部150で決定された寄せ方向と、加重平均処理部152で計算された平均濃度値とを重ねて合わせて示す模式図である。図17(B)は、主走査方向画素寄せ補正処理部156による画素寄せ補正処理により生成された、補正後の濃度値から構成される画像データを模式的に示す。なお、図17は、右上がりの万線スクリーンの場合を例示する。   FIG. 17A is a schematic diagram showing the approach direction determined by the approach direction determination processing unit 150 and the average density value calculated by the weighted average processing unit 152 in an overlapping manner. FIG. 17B schematically shows image data composed of corrected density values generated by the pixel shift correction processing by the main scanning direction pixel shift correction processing unit 156. FIG. 17 illustrates the case of a line screen that rises to the right.

また、図18には、右下がりの万線スクリーンである場合の画素寄せ補正処理の結果を示す。図18(A)は、寄せ方向判定された結果を示し、図18(B)は、右上がりのシフト位置における加重平均処理後の画像データを示す。図18(C)は、寄せ方向および平均濃度値の計算結果を重ねて合わせて示し、図18(D)は、画素寄せ補正処理により生成された、補正後の濃度値から構成される画像データを示す。   FIG. 18 shows the result of the pixel alignment correction process in the case of a right-down line screen. FIG. 18A shows the result of determining the approaching direction, and FIG. 18B shows the image data after the weighted average process at the shift position that rises to the right. FIG. 18C shows the alignment direction and the calculation result of the average density value in an overlapping manner, and FIG. 18D shows image data composed of corrected density values generated by the pixel alignment correction processing. Indicates.

主走査方向画素寄せ補正処理部156は、同一の寄せ方向が判定された主走査方向に隣接する複数の画素間で、寄せ方向の始点側の画素の平均濃度値を、寄せ方向の終点側の画素に移転させる画素寄せ補正処理を行う。画素寄せ補正処理は、より具体的には、以下のような処理を行う。   The main scanning direction pixel shift correction processing unit 156 calculates the average density value of the pixels on the start point side in the shift direction between a plurality of pixels adjacent to the main scan direction in which the same shift direction is determined. A pixel shift correction process for transferring the pixel is performed. More specifically, the pixel shift correction process performs the following process.

主走査方向画素寄せ補正処理部156は、まず、注目画素が、寄せ方向判定処理部150で判定された寄せ方向「右」、「左」および「無し」情報のうち、寄せ方向「右」および「左」が設定されたものであるかを判定する。寄せ方向が「右」または「左」に設定されていた場合は、さらに、注目画素が寄せ方向の終点に位置するか否かを判定する。注目画素に判定された寄せ方向が「右」であった場合は、注目画素のさらに右側の画素に対し、「右」以外、つまり寄せ方向「左」または「無し」が設定されていれば、終点と判定できる。続いて、注目画素を終点として、同一の寄せ方向が判定された画素が連続する場合は、その同一の寄せ方向が判定された連続する画素群を特定し、その始点に対応する画素を特定する。   First, the main-scanning-direction pixel shift correction processing unit 156 first determines that the target pixel is the shift direction “right” and the “shift” direction “right”, “left”, and “none” information determined by the shift direction determination processing unit 150. It is determined whether “left” is set. When the alignment direction is set to “right” or “left”, it is further determined whether or not the target pixel is located at the end point of the alignment direction. If the approach direction determined for the target pixel is “right”, if the pixel further to the right of the target pixel is set to other than “right”, that is, the approach direction “left” or “none” is set, The end point can be determined. Subsequently, when pixels of the same approaching direction are determined with the target pixel as an end point, a continuous pixel group in which the same approaching direction is determined is specified, and a pixel corresponding to the start point is specified. .

そして、同一の寄せ方向が判定された連続する画素群において、始点から順に画素の濃度値を終点である注目画素側に加算して行く。終点である注目画素の濃度値が、階調値の上限に達した場合は、加算先を始点側の隣接画素に変更して、引き続きこの隣接画素に対し濃度値を加算して行く。このように、寄せ方向の始点側の画素の平均濃度値を、寄せ方向の終点側の画素に順次移転させることにより、終点側から濃度値が積み上げられ、図17(B)および図18(D)に示すように、より大きな濃度値を有する画素または画素群が終点側に揃えて形成されるようになる。図17および図18の例では、50%の濃度値を有する2つの画素が寄せられて100%の濃度値(ベタ画素に対応する。)を有する画素が構成されている。   Then, in the continuous pixel group in which the same approaching direction is determined, the density value of the pixel is added in order from the start point to the target pixel side that is the end point. When the density value of the target pixel as the end point reaches the upper limit of the gradation value, the addition destination is changed to the adjacent pixel on the start point side, and the density value is continuously added to this adjacent pixel. In this way, by sequentially transferring the average density value of the pixels on the start point side in the shifting direction to the pixels on the end point side in the shifting direction, the density values are accumulated from the end point side, and FIG. 17B and FIG. ), Pixels or pixel groups having larger density values are formed to be aligned on the end point side. In the example of FIGS. 17 and 18, two pixels having a density value of 50% are combined to form a pixel having a density value of 100% (corresponding to a solid pixel).

上記主走査方向画素寄せ補正処理部156による処理によって、上述した平均画像において平滑化により広げられたスクリーンの像が、その低濃度値の画素を上述したスクリーン形状の中央に向けて寄せることにより、明瞭化される。これにより、スクリーン画像を滑らかな画像に変換して出力することが可能となる。なお、この場合において、濃度補正処理部144に入力される画像データが、階調処理された画像がさらに高解像度化された画像であると、スクリーン画像をより滑らかな画像に変換できる観点から好適である。   By the processing by the main scanning direction pixel shift correction processing unit 156, the image of the screen expanded by smoothing in the average image described above is shifted toward the center of the screen shape described above by shifting the pixels of the low density value, Clarified. As a result, the screen image can be converted into a smooth image and output. In this case, it is preferable from the viewpoint that the screen image can be converted into a smoother image when the image data input to the density correction processing unit 144 is an image obtained by further increasing the resolution of the gradation processed image. It is.

また、画像形成装置においては、低濃度値に基づく小ドットが連続すると、ドットの再現性が悪化することが知られている。上述したように、加重平均処理により主走査方向に分散した小ドットが寄せ集められ、終点側に揃えて比較的に高い濃度値の大きなドットが形成される。このため、ドット再現性が安定し、異常画像が発生しにくくなる。   In addition, in an image forming apparatus, it is known that dot reproducibility deteriorates when small dots based on low density values continue. As described above, small dots dispersed in the main scanning direction are gathered together by the weighted average process, and a dot having a relatively high density value is formed on the end point side. For this reason, dot reproducibility is stabilized and abnormal images are less likely to occur.

なお、上述した画素寄せ補正処理では、終点側から順に、濃度値が積み上げられ、最大の濃度値を有する画素が形成されて行くものとして説明した。しかしながら、画素の寄せ方は、上述したものに限定されない。例えば、必ずしも小ドットすべてを寄せることを要さず、少なくとも小ドットが連続しないように画素が寄せ補正されればよい。   In the pixel alignment correction process described above, it has been described that density values are accumulated in order from the end point side, and pixels having the maximum density value are formed. However, the way of bringing pixels is not limited to the above. For example, it is not always necessary to move all the small dots, and it is only necessary to correct the pixels so that at least the small dots are not continuous.

図19は、シアンおよびマゼンダが共にスクリーン角が低い場合のシアンおよびマゼンダ画像の重ね合わせを説明する図である。なお、図8および図9と同様に、図19に示す例示では、シアン画像データのみに画像シフトが施されている。図19(A)は、濃度補正処理前のシアンおよびマゼンダの重ね合わせ画像データを示す。図19(B)は、濃度補正処理後のシアン画像データを示し、図19(C)は、マゼンダ画像データを示す。そして、図19(D)は、濃度補正処理後のシアンおよびマゼンダの重ね合わせ画像データを示す。   FIG. 19 is a diagram illustrating the superposition of cyan and magenta images when the screen angle is low for both cyan and magenta. As in FIGS. 8 and 9, in the example shown in FIG. 19, only the cyan image data is subjected to image shift. FIG. 19A shows superimposed image data of cyan and magenta before density correction processing. FIG. 19B shows cyan image data after density correction processing, and FIG. 19C shows magenta image data. FIG. 19D shows the superimposed image data of cyan and magenta after the density correction processing.

図8および図9で説明したように、濃度補正が行われていない場合、シフト位置前後でシアンおよびマゼンダの画素の重なり方が急激に変化し、色むらが発生し易くなる。これに対して、上述した濃度補正が行われる場合、シフト位置前に補正対象範囲が加わることで、中間的な画素の重なり方をする領域が形成される。そして、シフト前の画像領域と、シフト位置後の画像領域との間に、中間的な領域が形成されるので、シアンおよびマゼンダの画素の重なり方の変化が緩和され、濃度段差が緩和され、ひいては観察者に色むらを感じさせ難くすることができる。   As described with reference to FIGS. 8 and 9, when density correction is not performed, the way in which the cyan and magenta pixels overlap before and after the shift position changes abruptly and color unevenness is likely to occur. On the other hand, when the above-described density correction is performed, a correction target range is added before the shift position, thereby forming an area in which intermediate pixels overlap. Then, since an intermediate area is formed between the image area before the shift and the image area after the shift position, the change in the overlap of the cyan and magenta pixels is alleviated, and the density step is alleviated. As a result, it is possible to make it difficult for the observer to feel uneven color.

なお、上述した実施形態では、補正対象範囲が、シフト位置の前側に設定されるものとして説明した。しかしながら、補正対象範囲の設定方法は、これに限定されるものではなく、画像シフト位置の周辺に設定されればよい。他の実施形態では、シフト位置の後側に補正対象範囲を設定してもよいし、シフト位置の前後両側に補正対象範囲を設定してもよい。   In the above-described embodiment, the correction target range has been described as being set on the front side of the shift position. However, the method of setting the correction target range is not limited to this, and it may be set around the image shift position. In another embodiment, the correction target range may be set on the rear side of the shift position, or the correction target range may be set on both sides before and after the shift position.

図20は、シフト位置前後両側に補正対象範囲が設定された場合の濃度補正処理を説明する図である。このとき、シフト位置前の補正対象範囲については、上述した処理を行えばよい。一方、シフト位置後の補正対象範囲については、寄せ方向判定処理部150および加重平均処理部152が実行する処理が異なることになる。   FIG. 20 is a diagram illustrating density correction processing when correction target ranges are set on both sides before and after the shift position. At this time, the above-described processing may be performed for the correction target range before the shift position. On the other hand, regarding the correction target range after the shift position, the processes executed by the approach direction determination processing unit 150 and the weighted average processing unit 152 are different.

シフト位置前の補正対象範囲からみて右上がりのシフトは、シフト位置後の補正対象範囲からみて左下がりのシフトとなる。したがって、加重平均処理部152は、シフト方向が左下がりである場合は、注目画素とその上の隣接画素を参照する。反対に、シフト方向が左下がりの場合、注目画素とその下の画素を用いて加重平均処理を行う。また、寄せ方向判定処理部150は、シフト位置後の補正対象範囲では、シフト位置前の場合とは反対に参考領域を設定する。すなわち、シフト方向が左下がりである場合は、2ライン×1画素の参照領域を、注目画素と、その上側の周辺画素とで構成する。   A shift that goes up to the right when viewed from the correction target range before the shift position is a shift that goes down to the left when viewed from the correction target range after the shift position. Therefore, the weighted average processing unit 152 refers to the target pixel and the adjacent pixel on the pixel of interest when the shift direction is left-down. On the other hand, when the shift direction is lower left, the weighted average process is performed using the target pixel and the pixel below it. Further, the approach direction determination processing unit 150 sets a reference region in the correction target range after the shift position, as opposed to the case before the shift position. That is, when the shift direction is left-down, a reference area of 2 lines × 1 pixel is composed of the target pixel and the surrounding pixels above it.

図20(A)は、寄せ方向判定された結果を示し、図20(B)は、右上がり(左下がり)のシフト位置における加重平均処理後の画像データを示す。図20(C)は、寄せ方向および平均濃度値の計算結果を重ねて合わせて示し、図20(D)は、画素寄せ補正処理により生成された、補正後の濃度値から構成される画像データを示す。   FIG. 20A shows the result of the approach direction determination, and FIG. 20B shows the image data after the weighted average processing at the shift position of the right upward (downward left). FIG. 20 (C) shows the calculation results of the alignment direction and average density value in an overlapping manner, and FIG. 20 (D) shows image data composed of corrected density values generated by the pixel alignment correction processing. Indicates.

以下、図21を参照して、濃度補正を伴うスキュー補正における各処理のタイミングを説明する。図21は、上述したシフト位置近傍での濃度補正を伴うスキュー補正のタイミングチャートを示す。なお、図21には、ブラックおよびマゼンダのみの処理が示されている。   Hereinafter, with reference to FIG. 21, the timing of each process in skew correction accompanied by density correction will be described. FIG. 21 shows a timing chart of skew correction with density correction near the shift position described above. FIG. 21 shows only black and magenta processing.

書き込み全体制御部110は、CPU104からのスタート信号を基準として、ライン数をカウントし、画像処理部108に対して副走査タイミング信号(*_FSYNC_N)を出力する。画像処理部108では、副走査タイミング信号をトリガに副走査ゲート信号(*_IPFGATE_N)を出力し、画像データ(*_IPDATA)を転送する。入力画像データ(*_IPDATA)がラインメモリに順次蓄積される。   The overall writing control unit 110 counts the number of lines based on the start signal from the CPU 104 and outputs a sub-scan timing signal (* _FSYNC_N) to the image processing unit 108. The image processing unit 108 outputs a sub-scanning gate signal (* _IPFGATE_N) using the sub-scanning timing signal as a trigger, and transfers image data (* _IPDATA). Input image data (* _IPDATA) is sequentially stored in the line memory.

スキュー補正処理部122は、データセレクタ140により、分割した各領域でどのラインメモリのデータをリードするかを切り替え、スキュー補正された出力画像を生成し、LD制御データ(*_LDDATA)としてLD制御部130へ出力する。このとき、スキュー補正された出力画像において、図21に示すように、さらに、各シフト位置に隣接して設定される補正対象範囲に対し濃度補正が行われる。これにより、スキュー補正がなされると共に、そのシフト位置近傍での濃度段差が軽減されるように濃度補正がなされた出力画像が得られるようになる。   The skew correction processing unit 122 switches which line memory data is read in each divided area by the data selector 140, generates a skew-corrected output image, and outputs the LD control data (* _LDDATA) as the LD control unit. To 130. At this time, as shown in FIG. 21, density correction is further performed on the correction target range set adjacent to each shift position in the skew-corrected output image. As a result, skew correction is performed, and an output image in which density correction is performed so as to reduce a density step near the shift position can be obtained.

なお、上述までの説明において、データセレクタ140が、上記副走査方向にシフトさせた画像データを生成し、濃度補正処理部144に対し、出力するものとして説明した。しかしながら、上述したスキュー補正および濃度補正の順序は、限定されるものではなく、濃度補正が、上記副走査方向にシフトさせる前の画像データに対して前もって行われてもよい。また、上述した実施形態では、スキュー補正は、分割領域毎に1ライン単位でシフトさせるものとして説明したが、他の実施形態では、これに限定されない。例えば、補間処理を行って1ライン未満の単位シフトさせる場合にも適用することができる。   In the above description, it has been described that the data selector 140 generates image data shifted in the sub-scanning direction and outputs it to the density correction processing unit 144. However, the order of the skew correction and the density correction described above is not limited, and the density correction may be performed in advance on the image data before being shifted in the sub-scanning direction. In the above-described embodiment, the skew correction is described as being shifted in units of one line for each divided region. However, the other embodiments are not limited thereto. For example, the present invention can be applied to a case where a unit shift of less than one line is performed by performing an interpolation process.

以上説明したように、本実施形態によれば、主走査方向の領域を分割し、領域間で副走査方向にシフトさせて画像処理する場合において、分割された領域境界近傍での色むらの発生を軽減することが可能な画像処理装置、該画像処理装置を含む画像形成装置、画像補正方法およびプログラムを提供することができる。   As described above, according to the present embodiment, when an area in the main scanning direction is divided and image processing is performed by shifting the area in the sub-scanning direction, color unevenness occurs near the divided area boundary. Can be provided, an image forming apparatus including the image processing apparatus, an image correction method, and a program.

上述した実施形態では、特に限定されるものではないが、比較的低いスクリーン角を有するディザマトリックスが用いられる階調画像同士を重ね合わせる場合に、好適にシフト位置近傍の色むらの発生を軽減しながら、画像の傾きや曲がりを補正することが可能となる。   In the embodiment described above, although not particularly limited, when the gradation images using a dither matrix having a relatively low screen angle are overlapped, the occurrence of uneven color in the vicinity of the shift position is preferably reduced. However, it is possible to correct the inclination and curvature of the image.

また、上記機能部は、アセンブラ、C、C++、C#、Java(登録商標)などのレガシープログラミング言語やオブジェクト指向プログラミング言語などで記述されたコンピュータ実行可能なプログラムにより実現でき、ROM、EEPROM、EPROM、フラッシュメモリ、フレキシブルディスク、CD−ROM、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、ブルーレイディスク、SDカード、MOなど装置可読な記録媒体に格納して、あるいは電気通信回線を通じて頒布することができる。また、上記機能部の一部または全部は、例えばフィールド・プログラマブル・ゲート・アレイ(FPGA)などのプログラマブル・デバイス(PD)上に実装することができ、あるいはASIC(特定用途向集積)として実装することができ、上記機能部をPD上に実現するためにPDにダウンロードする回路構成データ(ビットストリームデータ)、回路構成データを生成するためのHDL(Hardware Description Language)、VHDL(VHSIC(Very High Speed Integrated Circuits) Hardware Description Language))、Verilog−HDLなどにより記述されたデータとして記録媒体により配布することができる。   The functional unit can be realized by a computer-executable program written in a legacy programming language such as an assembler, C, C ++, C #, Java (registered trademark), an object-oriented programming language, or the like. ROM, EEPROM, EPROM , Stored in a device-readable recording medium such as a flash memory, a flexible disk, a CD-ROM, a CD-RW, a DVD-ROM, a DVD-RAM, a DVD-RW, a Blu-ray disc, an SD card, an MO, or through an electric communication line Can be distributed. In addition, a part or all of the functional unit can be mounted on a programmable device (PD) such as a field programmable gate array (FPGA) or mounted as an ASIC (application-specific integration). Circuit configuration data (bit stream data) downloaded to the PD in order to implement the above functional unit on the PD, HDL (Hardware Description Language) for generating the circuit configuration data, VHDL (VHSIC (Very High Speed) Integrated Circuits) Hardware Description Language)), data described in Verilog-HDL, etc. can be distributed by a recording medium.

これまで本発明の実施形態について説明してきたが、本発明の実施形態は上述した実施形態に限定されるものではなく、他の実施形態、追加、変更、削除など、当業者が想到することができる範囲内で変更することができ、いずれの態様においても本発明の作用・効果を奏する限り、本発明の範囲に含まれるものである。   Although the embodiments of the present invention have been described so far, the embodiments of the present invention are not limited to the above-described embodiments, and those skilled in the art may conceive other embodiments, additions, modifications, deletions, and the like. It can be changed within the range that can be done, and any embodiment is included in the scope of the present invention as long as the effects of the present invention are exhibited.

1…複合機、2…中間転写ベルト、3…感光体ドラム、4…帯電ローラ、5…ポリゴンミラー、6…光照射装置、7…現像装置、9…一次転写ローラ、10…搬送ローラ、11…搬送ローラ、12…ローラ、13…二次転写ベルト、14…転写ローラ、16…搬送ローラ、17…定着装置、18…ローラ、25…検知センサ、26…テストパターン画像、100…エンジン制御部、102…パターン検知部、104…CPU、106…RAM、108…画像処理部、110…書き込み全体制御部、112…プリンタコントローラ、114…スキャナ・コントローラ、116…入力画像制御部、118…ラインメモリ、120…各色書き込み全体制御部、122…スキュー補正処理部、124…書き込み画像処理部、126…LDデータ出力部、128…補正パターン生成部、130…LD制御部、140…データセレクタ、142…スキュー出力制御部、144…濃度補正処理部、150…寄せ方向判定処理部、152…加重平均処理部、154…スクリーン判定処理部、156…主走査方向画素寄せ補正処理部 DESCRIPTION OF SYMBOLS 1 ... MFP, 2 ... Intermediate transfer belt, 3 ... Photosensitive drum, 4 ... Charging roller, 5 ... Polygon mirror, 6 ... Light irradiation device, 7 ... Developing device, 9 ... Primary transfer roller, 10 ... Conveyance roller, 11 DESCRIPTION OF SYMBOLS ... Conveyance roller, 12 ... Roller, 13 ... Secondary transfer belt, 14 ... Transfer roller, 16 ... Conveyance roller, 17 ... Fixing device, 18 ... Roller, 25 ... Detection sensor, 26 ... Test pattern image, 100 ... Engine controller DESCRIPTION OF SYMBOLS 102 ... Pattern detection part 104 ... CPU, 106 ... RAM, 108 ... Image processing part, 110 ... Whole writing control part, 112 ... Printer controller, 114 ... Scanner controller, 116 ... Input image control part, 118 ... Line memory 120 ... Each color writing overall control unit 122 ... Skew correction processing unit 124 ... Writing image processing unit 126 ... LD data output unit 128: Correction pattern generation unit, 130: LD control unit, 140: Data selector, 142: Skew output control unit, 144: Density correction processing unit, 150: Shift direction determination processing unit, 152 ... Weighted average processing unit, 154 ... Screen Determination processing unit, 156... Main scanning direction pixel shift correction processing unit

特許第3556349号公報Japanese Patent No. 3556349 特許第3715349号公報Japanese Patent No. 3715349 特開2010−217795号公報JP 2010-217795 A

Claims (10)

主走査方向に領域分割し、画像データを領域間で副走査方向にシフトさせる画像処理装置であって、
注目画素と、該注目画素の周辺画素とを参照し、注目画素毎に主走査方向で画素を寄せる寄せ方向を判定する寄せ方向判定手段と、
隣接する領域間のシフトに基づき、副走査方向に並ぶ複数の画素の平均濃度値を計算する平均濃度計算手段と、
主走査方向に並ぶ複数の画素の前記平均濃度値および前記寄せ方向に基づき、補正された濃度値を計算する補正濃度計算手段と
を含む、画像処理装置。
An image processing apparatus that divides a region in a main scanning direction and shifts image data between regions in a sub-scanning direction,
A direction-of-contact determination unit that refers to a target pixel and peripheral pixels of the target pixel and determines a direction of shifting the pixel in the main scanning direction for each target pixel;
An average density calculating means for calculating an average density value of a plurality of pixels arranged in the sub-scanning direction based on a shift between adjacent areas;
An image processing apparatus comprising: corrected density calculation means for calculating a corrected density value based on the average density value and the alignment direction of a plurality of pixels arranged in a main scanning direction.
階調処理された画像データの注目画素が、補正対象のスクリーンを構成する画素であるかを判定するスクリーン判定手段をさらに含み、
前記補正濃度計算手段は、前記補正対象のスクリーンを構成する画素であると判定された場合に、前記補正された濃度値の計算を行う、請求項1に記載の画像処理装置。
Screen determining means for determining whether the target pixel of the gradation-processed image data is a pixel constituting the correction target screen;
The image processing apparatus according to claim 1, wherein the correction density calculation unit calculates the corrected density value when it is determined that the pixel constitutes the screen to be corrected.
前記画像処理装置は、さらに、前記領域分割にかかる領域境界に隣接して少なくとも1つの補正対象範囲を設定する手段を含み、
前記平均濃度計算手段は、前記少なくとも1つの補正対象範囲の注目画素と、前記領域境界でのシフトに応じた該注目画素の隣接画素とを含む複数画素間で濃度値の加重平均を計算し、
前記寄せ方向判定手段は、前記少なくとも1つの補正対象範囲の注目画素毎に、スクリーン形状の中央に向かう方向を前記寄せ方向として判定する、請求項1または2に記載の画像処理装置。
The image processing apparatus further includes means for setting at least one correction target range adjacent to an area boundary related to the area division,
The average density calculation means calculates a weighted average of density values between a plurality of pixels including a target pixel of the at least one correction target range and an adjacent pixel of the target pixel according to a shift at the region boundary,
The image processing apparatus according to claim 1, wherein the approach direction determination unit determines a direction toward the center of the screen shape as the approach direction for each target pixel in the at least one correction target range.
前記補正濃度計算手段は、同一の寄せ方向が判定された主走査方向に隣接する複数の画素間で、前記寄せ方向の始点側の画素の平均濃度値を、前記寄せ方向の終点側の画素に移転させて、前記終点側に揃えられた画素または画素群を形成する、請求項1〜3のいずれか1項に記載の画像処理装置。   The correction density calculation means sets the average density value of the pixels on the start point side in the shift direction to the pixels on the end point side in the shift direction between a plurality of pixels adjacent in the main scanning direction in which the same shift direction is determined. The image processing apparatus according to claim 1, wherein the image processing apparatus is moved to form a pixel or a pixel group aligned on the end point side. 前記スクリーン判定手段は、注目画素および該注目画素の周辺画素を含む被照合パターンと補正対象のスクリーンを検出する照合パターンとの照合結果、該注目画素の色情報、および該注目画素の階調情報のうちの少なくとも1つに基づき、該注目画素が前記補正対象のスクリーンを構成する画素であるかの判定を行う、請求項2に記載の画像処理装置。   The screen determination means includes a collation result of a collation pattern including a pixel of interest and peripheral pixels of the pixel of interest and a collation pattern for detecting a correction target screen, color information of the pixel of interest, and gradation information of the pixel of interest The image processing apparatus according to claim 2, wherein it is determined whether the target pixel is a pixel constituting the correction target screen based on at least one of the two. 前記寄せ方向判定手段は、注目画素が構成するスクリーンを判定し、判定された前記スクリーンに基づいて、注目画素および該注目画素の周辺画素を含む被照合パターンと照合させる寄せ方向判定パターンを切り替える、請求項1〜5のいずれか1項に記載の画像処理装置。   The approach direction determining means determines a screen formed by the pixel of interest, and switches the approach direction determination pattern to be collated with the pattern to be matched including the pixel of interest and the surrounding pixels of the pixel of interest based on the determined screen. The image processing apparatus according to claim 1. 前記補正対象のスクリーンは、垂直軸または水平軸に対するスクリーン形状のなす角度が既定値以下のスクリーンである、請求項2または請求項5に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the correction target screen is a screen whose angle formed by the screen shape with respect to a vertical axis or a horizontal axis is a predetermined value or less. それぞれ各色に対応する複数の感光体と、それぞれ各感光体上に静電潜像を形成する複数の書き込み手段と、それぞれ各感光体上の各静電潜像を現像する複数の現像手段とを含み、前記複数の感光体上の複数の現像剤像を転写部材上に重ね合わせて転写して複数色の重ね合わせ画像を得る画像形成装置であって、
少なくとも1つの色に対応する書き込み手段に対しデータを出力する画像処理装置であって、請求項1〜7のいずれか1項に記載の画像処理装置
を含む、画像形成装置。
A plurality of photoconductors corresponding to each color, a plurality of writing units for forming an electrostatic latent image on each photoconductor, and a plurality of developing units for developing each electrostatic latent image on each photoconductor, respectively. Including a plurality of developer images on the plurality of photoconductors superimposed on a transfer member and transferred to obtain a superimposed image of a plurality of colors,
An image forming apparatus that outputs data to a writing unit corresponding to at least one color and includes the image processing apparatus according to claim 1.
主走査方向に領域分割し、画像データを領域間で副走査方向にシフトさせる画像補正方法であって、
演算手段が、注目画素と、該注目画素の周辺画素とを参照し、注目画素毎に主走査方向で画素を寄せる寄せ方向を判定する寄せ方向判定ステップと、
演算手段が、隣接する領域間のシフトに基づき、副走査方向に並ぶ複数の画素の平均濃度値を計算する平均濃度計算ステップと、
演算手段が、主走査方向に並ぶ複数の画素の前記平均濃度値および前記寄せ方向に基づき、補正された濃度値を計算する補正濃度計算ステップと
を含む、画像補正方法。
An image correction method for dividing an area in the main scanning direction and shifting the image data in the sub-scanning direction between the areas,
A calculating direction determining step for referring to the target pixel and the peripheral pixels of the target pixel and determining a direction of shifting the pixel in the main scanning direction for each target pixel;
An average density calculating step in which the calculation means calculates an average density value of a plurality of pixels arranged in the sub-scanning direction based on a shift between adjacent areas;
An image correction method, comprising: a correction density calculation step in which the calculation means calculates a corrected density value based on the average density value and the alignment direction of a plurality of pixels arranged in the main scanning direction.
主走査方向に領域分割し、画像データを領域間で副走査方向にシフトさせる画像処理装置を実現するためのプログラムであって、演算手段を、
注目画素と、該注目画素の周辺画素とを参照し、注目画素毎に主走査方向で画素を寄せる寄せ方向を判定する寄せ方向判定手段、
隣接する領域間のシフトに基づき、副走査方向に並ぶ複数の画素の平均濃度値を計算する平均濃度計算手段、および
主走査方向に並ぶ複数の画素の前記平均濃度値および前記寄せ方向に基づき、補正された濃度値を計算する補正濃度計算手段
として機能させるためのプログラム。
A program for realizing an image processing apparatus that divides a region in the main scanning direction and shifts image data in the sub-scanning direction between the regions,
Referencing direction determining means for referring to the target pixel and peripheral pixels of the target pixel and determining a shift direction in which the pixel is shifted in the main scanning direction for each target pixel;
Based on the shift between adjacent regions, based on the average density calculation means for calculating the average density value of a plurality of pixels arranged in the sub-scanning direction, and on the basis of the average density value and the alignment direction of the plurality of pixels arranged in the main scanning direction, A program for functioning as a corrected density calculation means for calculating corrected density values.
JP2013049959A 2013-03-13 2013-03-13 Image processing apparatus, image forming apparatus, image correction method, and program Expired - Fee Related JP6136391B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013049959A JP6136391B2 (en) 2013-03-13 2013-03-13 Image processing apparatus, image forming apparatus, image correction method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013049959A JP6136391B2 (en) 2013-03-13 2013-03-13 Image processing apparatus, image forming apparatus, image correction method, and program

Publications (2)

Publication Number Publication Date
JP2014172385A true JP2014172385A (en) 2014-09-22
JP6136391B2 JP6136391B2 (en) 2017-05-31

Family

ID=51694125

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013049959A Expired - Fee Related JP6136391B2 (en) 2013-03-13 2013-03-13 Image processing apparatus, image forming apparatus, image correction method, and program

Country Status (1)

Country Link
JP (1) JP6136391B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007136825A (en) * 2005-11-17 2007-06-07 Canon Inc Image processor and its control method
JP2009063662A (en) * 2007-09-04 2009-03-26 Ricoh Co Ltd Color image forming apparatus, density shift correction method and density shift correction program
JP2010217795A (en) * 2009-03-18 2010-09-30 Ricoh Co Ltd Image forming apparatus, image forming method and program
JP2010246098A (en) * 2009-03-18 2010-10-28 Ricoh Co Ltd Apparatus and method for forming image, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007136825A (en) * 2005-11-17 2007-06-07 Canon Inc Image processor and its control method
JP2009063662A (en) * 2007-09-04 2009-03-26 Ricoh Co Ltd Color image forming apparatus, density shift correction method and density shift correction program
JP2010217795A (en) * 2009-03-18 2010-09-30 Ricoh Co Ltd Image forming apparatus, image forming method and program
JP2010246098A (en) * 2009-03-18 2010-10-28 Ricoh Co Ltd Apparatus and method for forming image, and program

Also Published As

Publication number Publication date
JP6136391B2 (en) 2017-05-31

Similar Documents

Publication Publication Date Title
JP4817727B2 (en) Color image forming apparatus
JP5533069B2 (en) Image forming apparatus, image forming method, and program
KR20150142022A (en) Image formation device
JP4850484B2 (en) Image forming apparatus, control method therefor, and program
JP2004338280A (en) Modulator
JP7223247B2 (en) image forming device
JP2011180446A (en) Image forming apparatus, and control method and program of the same
JP5744391B2 (en) Image forming apparatus
JP4673192B2 (en) Image processing apparatus and image processing apparatus control method
JP7218516B2 (en) image forming device
US8335026B2 (en) Image forming apparatus and color shift correction method thereof
JP4411339B2 (en) Color image forming apparatus and control method thereof
JP5484614B2 (en) Image forming apparatus
JP5404340B2 (en) Image forming apparatus, image forming method, and program
JP2004188665A (en) Image forming apparatus, correction data generating unit, and method for correcting amount of light of optical printhead
JP6136391B2 (en) Image processing apparatus, image forming apparatus, image correction method, and program
JP4898292B2 (en) Image forming apparatus, image forming method, and program
JP7191716B2 (en) image forming device
JP2009294381A (en) Image forming apparatus and image forming method
JP2007286509A (en) Image forming apparatus
JP2005202284A (en) Color image forming apparatus
JP5847046B2 (en) Image forming apparatus
JP2007304201A (en) Image forming apparatus
JP5188097B2 (en) Image forming apparatus
US20240201613A1 (en) Color image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170202

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170404

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170417

R151 Written notification of patent or utility model registration

Ref document number: 6136391

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees