JP2016092475A - Image processing system and image reader - Google Patents

Image processing system and image reader Download PDF

Info

Publication number
JP2016092475A
JP2016092475A JP2014221489A JP2014221489A JP2016092475A JP 2016092475 A JP2016092475 A JP 2016092475A JP 2014221489 A JP2014221489 A JP 2014221489A JP 2014221489 A JP2014221489 A JP 2014221489A JP 2016092475 A JP2016092475 A JP 2016092475A
Authority
JP
Japan
Prior art keywords
color
image
black
sub
scanning direction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014221489A
Other languages
Japanese (ja)
Inventor
秀之 鳥山
Hideyuki Toriyama
秀之 鳥山
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2014221489A priority Critical patent/JP2016092475A/en
Publication of JP2016092475A publication Critical patent/JP2016092475A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image processing system and an image reader, which suppress deterioration of image quality.SOLUTION: An image processing section 20 mainly includes: an edge determination section 20b; a color determination section 20d; and a resolution conversion section 20e. The edge determination section 20b determines whether target pixels are equivalent to an edge part on an upstream in a sub-scanning direction, to an edge part on a downstream in the sub-scanning direction or a non-edge part with pixels of respective colors corresponding to reading operation for one line as targets. The color determination section 20d determines color shift directions of the target pixels and performs color/black determination for determining whether the target pixels are black or not in response to pixel values of the respective colors on the target pixels and a color/black determination condition for determining whether the target pixels are color or black. When the color determination section 20d determines that the target pixels are black, the resolution conversion section 20e corrects a sub-scanning direction width of an image, which is expressed by image data for one line, in response to a determination result by the edge determination section 20b and a determination result of color shift determination by the color determination section 20d.SELECTED DRAWING: Figure 2

Description

本発明は、画像処理装置及び画像読取装置に関する。   The present invention relates to an image processing apparatus and an image reading apparatus.

従来より、原稿上の画像を読み取るための画像読取装置が知られており、画像読取装置は、例えば画像形成装置に搭載されて使用される。画像読取装置は、それぞれが異なる色に対応した複数の光源と、各色で共用されるイメージセンサと、画像処理部(画像処理装置)とを主体に構成されている。複数の光源は、例えば赤(R)、緑(G)、青(B)からなる3つの光源で構成されている。   2. Description of the Related Art Conventionally, an image reading apparatus for reading an image on a document is known, and the image reading apparatus is mounted and used in, for example, an image forming apparatus. The image reading apparatus mainly includes a plurality of light sources corresponding to different colors, an image sensor shared by each color, and an image processing unit (image processing apparatus). The plurality of light sources are composed of, for example, three light sources including red (R), green (G), and blue (B).

この画像読取装置では、1ライン分の読取動作に対応して、RGBの光源を順次点灯するとともに原稿からの反射光をイメージセンサにて順次読み取る。イメージセンサからは各色毎にその反射光の強度に応じた電気信号(画像信号)が順次出力される。各色の画像信号はデジタル変換されると、画像データとして画像処理部に順次入力される。画像処理部は、RGBの各色の画素値を集約することにより、1ライン分の画像データを生成する。   In this image reading apparatus, corresponding to the reading operation for one line, the RGB light sources are sequentially turned on and the reflected light from the original is sequentially read by the image sensor. An electrical signal (image signal) corresponding to the intensity of the reflected light is sequentially output from the image sensor for each color. When each color image signal is digitally converted, it is sequentially input to the image processing unit as image data. The image processing unit generates image data for one line by aggregating pixel values of RGB colors.

例えば特許文献1には、画質低下を抑制することができる画像読取装置が開示されている。この画像読取装置によれば、1ライン分の画素値であるRGBの各色の画素値に注目し、当該注目画素がモノクロかカラーかのいずれかを判定する。この判定は、注目画素の前後のラインの画素により行われる。注目画素がカラーであり、かつ前後の画素がモノクロと判定された場合、注目画素を異常モノクロ画素であると判定する。そして、この注目画素の画素値をあるべきモノクロの画素値へ補正する。補正処理では、RGBの各色の点灯期間中の何番目で原稿の白黒が切り替わったかを検出し、検出結果に応じて補正する色、補正値を定めている。   For example, Patent Document 1 discloses an image reading apparatus that can suppress deterioration in image quality. According to this image reading apparatus, attention is paid to pixel values of each color of RGB which are pixel values for one line, and it is determined whether the pixel of interest is monochrome or color. This determination is performed by the pixels on the line before and after the target pixel. If the target pixel is color and the preceding and following pixels are determined to be monochrome, the target pixel is determined to be an abnormal monochrome pixel. Then, the pixel value of the target pixel is corrected to a desired monochrome pixel value. In the correction process, it is detected at which position during the lighting period of each RGB color the black and white of the document is switched, and the color and correction value to be corrected are determined according to the detection result.

特開2013−131861号公報JP 2013-131861 A

特許文献1に開示された手法によれば、色ずれの抑制には効果的であるものの、実際に読み取られた原稿上の読取画像と比較して、読み取られた画像の線幅が太くなったり、画像の重心位置がずれたりするという不都合がある。このため、画質低下が発生するという問題がある。   According to the technique disclosed in Patent Document 1, although effective in suppressing color misregistration, the line width of the read image becomes thicker than that of the read image on the actually read document. There is a disadvantage that the position of the center of gravity of the image is shifted. For this reason, there is a problem that image quality is deteriorated.

本発明はかかる事情に鑑みてなされたものであり、その目的は、画質低下を抑制することができる画像処理装置及び画像読取装置を提供する。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide an image processing apparatus and an image reading apparatus capable of suppressing deterioration in image quality.

かかる課題を解決するために、第1の発明は、1ライン分の読取動作に対応してそれぞれが異なる色の光を照射する複数の光源を順次点灯する点灯動作を行うとともに副走査方向に相対移動する読取画像に作用した各色の光をイメージセンサによって順次読み取ることで得られる各色の画像データを入力し、1ライン分の画像データを生成する画像処理装置を提供する。この画像処理装置は、1ライン分の読取動作に対応する各色の画素を対象として、当該対象画素が、副走査方向の上流側のエッジ部に相当するか、副走査方向の下流側のエッジ部に相当するか、非エッジ部に相当するかを判定するエッジ判定部と、対象画素の色ずれの方向を判定する色ずれ判定部と、対象画素に関する各色の画素値と、対象画素がカラーかそれとも黒かを区別する色黒判定条件とに基づいて、対象画素が黒であるか否かの色黒判定を行う色黒判定部と、色黒判定部により対象画素が黒と判定された場合、エッジ判定部の判定結果と、色ずれ判定部の判定結果とに基づいて、1ライン分の画像データによって現される画像の副走査方向幅を補正する補正部と、を有する。   In order to solve such a problem, the first invention performs a lighting operation of sequentially turning on a plurality of light sources that emit light of different colors corresponding to a reading operation for one line and is relative to the sub-scanning direction. Provided is an image processing apparatus for inputting image data of each color obtained by sequentially reading light of each color that has acted on a moving read image by an image sensor and generating image data for one line. In this image processing apparatus, for each color pixel corresponding to a reading operation for one line, the target pixel corresponds to an upstream edge portion in the sub-scanning direction, or a downstream edge portion in the sub-scanning direction. An edge determination unit that determines whether the pixel corresponds to a non-edge portion, a color shift determination unit that determines the direction of color shift of the target pixel, a pixel value of each color related to the target pixel, and whether the target pixel is a color When the target pixel is determined to be black by the color black determination unit that determines whether the target pixel is black or not based on the color black determination condition that distinguishes whether the target pixel is black or not And a correction unit that corrects the sub-scanning direction width of the image represented by the image data for one line based on the determination result of the edge determination unit and the determination result of the color misregistration determination unit.

ここで、第1の発明は、エッジ判定部の判定結果に基づいて色黒判定条件の設定を行うことで、色黒判定部によって黒と判定される判定幅を切り替える条件切替部をさらに有することが好ましい。   Here, the first invention further includes a condition switching unit that switches the determination width determined as black by the color black determination unit by setting the color black determination condition based on the determination result of the edge determination unit. Is preferred.

また、第1の発明において、補正部は、1ライン分の画像データを副走査方向に高解像度化し、エッジ判定部の判定結果と色ずれ判定部の判定結果とに応じて、副走査方向の上流側又は副走査方向の下流側に画像を偏重させることが好ましい。   In the first aspect of the invention, the correction unit increases the resolution of the image data for one line in the sub-scanning direction, and in the sub-scanning direction according to the determination result of the edge determination unit and the determination result of the color shift determination unit. It is preferable to deviate the image to the upstream side or the downstream side in the sub-scanning direction.

また、第1の発明において、補正部は、副走査方向の上流側のエッジ部が判定され、かつ複数の光源のうち点灯順序の早い光源に起因する色方向の色ずれが判定された場合には、副走査方向の下流側に画像を偏重させ、一方、副走査方向の下流側のエッジ部が判定され、かつ複数の光源のうち点灯順序の遅い光源に起因する色方向の色ずれが判定された場合には、副走査方向の上流側に画像を偏重させることが好ましい。   In the first invention, the correction unit determines that an upstream edge portion in the sub-scanning direction is determined, and color misregistration in a color direction caused by a light source with a fast lighting order among a plurality of light sources is determined. The image is biased downstream in the sub-scanning direction, while the downstream edge portion in the sub-scanning direction is determined, and color misregistration in the color direction caused by a light source with a slow lighting order among a plurality of light sources is determined. In such a case, it is preferable to deviate the image to the upstream side in the sub-scanning direction.

また、第2の発明は、1ライン分の読取動作に対応して、それぞれが異なる色からなる複数の光源を順次点灯して副走査方向に相対移動する読取画像に各色の光を順次照射する光源ユニットと、読取画像に作用した各色の光をイメージセンサで順次読み取り、複数の光源に対応する各色の画像データを出力するセンサ制御部と、各色の画像データを入力し、1ライン分の画像データを生成する画像処理部と、を有する画像読取装置を提供する。ここで、画像処理部は、1ライン分の読取動作に対応する各色の画素を対象として、当該対象画素が、副走査方向の上流側のエッジ部に相当するか、副走査方向の下流側のエッジ部に相当するか、非エッジ部に相当するかを判定するエッジ判定部と、対象画素の色ずれの方向を判定する色ずれ判定部と、対象画素に関する各色の画素値と、対象画素がカラーかそれとも黒かを区別する色黒判定条件とに基づいて、対象画素が黒であるか否かの色黒判定を行う色黒判定部と、色黒判定部により対象画素が黒と判定された場合、エッジ判定部の判定結果と、色ずれ判定部の判定結果とに基づいて、1ライン分の画像データによって現される画像の副走査方向幅を補正する補正部と、を有する。   Further, in the second invention, corresponding to the reading operation for one line, a plurality of light sources each having a different color are sequentially turned on to sequentially irradiate light of each color on a read image that is relatively moved in the sub-scanning direction. A light source unit, a sensor control unit that sequentially reads light of each color that has acted on the read image with an image sensor, and outputs image data of each color corresponding to a plurality of light sources, and inputs image data of each color, and an image for one line An image reading apparatus including an image processing unit that generates data is provided. Here, for each color pixel corresponding to the reading operation for one line, the image processing unit corresponds to the upstream edge portion in the sub-scanning direction or the downstream side in the sub-scanning direction. An edge determination unit that determines whether it corresponds to an edge portion or a non-edge portion, a color shift determination unit that determines the direction of color shift of the target pixel, a pixel value of each color related to the target pixel, and the target pixel Based on a color / black determination condition for distinguishing between color and black, a color / black determination unit that determines whether the target pixel is black or not, and the color / black determination unit determines that the target pixel is black A correction unit that corrects the sub-scanning direction width of the image represented by the image data for one line based on the determination result of the edge determination unit and the determination result of the color misregistration determination unit.

本発明によれば、エッジ判定部の判定結果と、色ずれ判定部の判定結果とを参照することで、読取画像の線幅の傾向を把握することができるので、当該線幅と対応するように、1ライン分の画像データによって現される画像の副走査方向幅を補正することができる。これにより、画像の線幅が拡張したり、重心位置がずれたりすることを抑制することができる。その結果、画質低下を抑制することができる。   According to the present invention, the line width tendency of the read image can be grasped by referring to the determination result of the edge determination unit and the determination result of the color misregistration determination unit. In addition, the sub-scanning direction width of the image represented by the image data for one line can be corrected. Thereby, it can suppress that the line width of an image expands or a gravity center position shifts | deviates. As a result, deterioration in image quality can be suppressed.

第1の実施形態に係る画像形成装置の構成を模式的に示す説明図1 is an explanatory diagram schematically showing the configuration of an image forming apparatus according to a first embodiment; 画像読取装置の構成を示すブロック図Block diagram showing the configuration of the image reading apparatus 光源ユニットの点灯制御を示す説明図Explanatory drawing which shows lighting control of a light source unit 副走査方向の色ずれの発生メカニズムを示す説明図Explanatory drawing showing the mechanism of color misregistration in the sub-scanning direction 本実施形態に係る画像処理の手順を示すフローチャートA flowchart showing a procedure of image processing according to the present embodiment. 第1の実施形態に係る色黒判定条件を模式的に示す説明図Explanatory drawing which shows typically the black-and-white determination conditions which concern on 1st Embodiment. 第1の実施形態に係る解像度変換処理の概念を示す説明図Explanatory drawing which shows the concept of the resolution conversion process which concerns on 1st Embodiment. 第2の実施形態に係る解像度変換処理の概念を示す説明図Explanatory drawing which shows the concept of the resolution conversion process which concerns on 2nd Embodiment.

(第1の実施形態)
図1は、第1の実施形態に係る画像形成装置1の構成を模式的に示す説明図である。第1の実施形態に係る画像形成装置1は、例えば複写機といった電子写真方式の画像形成装置であり、複数の感光体を1本の中間転写ベルトに対面させて縦方向に配列することによりフルカラーの画像を形成する、いわゆる、タンデム型カラー画像形成装置である。画像形成装置1は、画像読取装置10、画像形成部30Y,30M,30C,30K、定着装置50、制御部70を主体に構成されている。
(First embodiment)
FIG. 1 is an explanatory diagram schematically illustrating a configuration of an image forming apparatus 1 according to the first embodiment. The image forming apparatus 1 according to the first embodiment is an electrophotographic image forming apparatus such as a copying machine, for example, and is arranged in full color by arranging a plurality of photoconductors facing one intermediate transfer belt in the vertical direction. This is a so-called tandem type color image forming apparatus. The image forming apparatus 1 mainly includes an image reading device 10, image forming units 30Y, 30M, 30C, and 30K, a fixing device 50, and a control unit 70.

画像形成装置1は、その上部に自動原稿送り装置ADFを備えている。自動原稿送り装置ADFの原稿載置台25には原稿Dが載置される。原稿Dは、一枚ずつ分離され原稿搬送路に送り出され、搬送ドラム26により搬送される。第1搬送ガイドG1及び原稿排出ローラー27は、搬送ドラム26により搬送された原稿Dを原稿排出トレイ28に排出する。   The image forming apparatus 1 includes an automatic document feeder ADF at the top thereof. The document D is placed on the document placing table 25 of the automatic document feeder ADF. The documents D are separated one by one, sent out to the document transport path, and transported by the transport drum 26. The first transport guide G1 and the document discharge roller 27 discharge the document D transported by the transport drum 26 to the document discharge tray 28.

画像読取装置10は、搬送ドラム26により搬送される原稿Dを読み取る。画像読取装置10は、原稿読取位置RPにおいて原稿Dを光源ユニット15にて照射する。原稿Dにて反射した反射光は、複数のミラー11,12,13によって導かれると、結像光学系14によってイメージセンサCCDの受光面に結像する。イメージセンサCCDは入射した光を光電変換して所定の画像信号を出力する。画像処理部20は、画像信号をデジタル変換した画像データを入力し、当該画像データに所定の処理を施し、画像形成に供する画像データを作成する。なお、画像読取装置10の詳細については後述する。   The image reading apparatus 10 reads the document D transported by the transport drum 26. The image reading apparatus 10 irradiates the original D with the light source unit 15 at the original reading position RP. When the reflected light reflected by the document D is guided by the plurality of mirrors 11, 12, and 13, it is imaged on the light receiving surface of the image sensor CCD by the imaging optical system 14. The image sensor CCD photoelectrically converts incident light and outputs a predetermined image signal. The image processing unit 20 inputs image data obtained by digitally converting an image signal, performs predetermined processing on the image data, and creates image data used for image formation. Details of the image reading apparatus 10 will be described later.

画像形成部30Y,30M,30C,30Kは、イエロー(Y)の画像を形成する画像形成部30Y、マゼンダ(M)の画像を形成する画像形成部30M、シアン(C)の画像を形成する画像形成部30C、ブラック(K)の画像を形成する画像形成部30Kに対応している。   The image forming units 30Y, 30M, 30C, and 30K are an image forming unit 30Y that forms a yellow (Y) image, an image forming unit 30M that forms a magenta (M) image, and an image that forms a cyan (C) image. The forming unit 30C corresponds to the image forming unit 30K that forms a black (K) image.

画像形成部30Yは、感光体ドラム1Y及びその周辺に配置された帯電部2Y、光書込部3Y、現像装置4Y及びドラムクリーナー5Yで構成されている。同様に、画像形成部30M,30C,30Kは、感光体ドラム1M,1C,1K及びその周辺に配置された帯電部2M,2C,2K、光書込部3M,3C,3K、現像装置4M,4C,4K及びドラムクリーナー5M,5C,5Kで構成されている。   The image forming unit 30Y includes a photosensitive drum 1Y and a charging unit 2Y, an optical writing unit 3Y, a developing device 4Y, and a drum cleaner 5Y arranged around the photosensitive drum 1Y. Similarly, the image forming units 30M, 30C, and 30K include photoconductor drums 1M, 1C, and 1K and charging units 2M, 2C, and 2K, optical writing units 3M, 3C, and 3K, and developing devices 4M, disposed around the photosensitive drums 1M, 1C, and 1K. 4C, 4K and drum cleaners 5M, 5C, 5K.

感光体ドラム1Y,1M,1C、1Kは、帯電部2Y,2M,2C,2Kによりその表面が一様に帯電させられており、光書込部3Y,3M,3C,3Kによる走査露光により、感光体ドラム1Y,1M,1C、1Kには潜像が形成される。さらに、現像装置4Y,4M,4C、4Kは、トナーで現像することによって感光体ドラム1Y,1M,1C、1K上の潜像を顕像化する。これにより、感光体ドラム1Y,1M,1C、1K上には、イエロー、マゼンダ、シアン及びブラックのいずれかに対応する所定色の画像(トナー画像)が形成される。感光体ドラム1Y,1M,1C、1K上に形成された画像は、1次転写ローラー7Y,7M,7C,7Kにより、中間転写ベルト6上の所定位置へと逐次転写される。   The surfaces of the photosensitive drums 1Y, 1M, 1C, and 1K are uniformly charged by the charging units 2Y, 2M, 2C, and 2K, and by scanning exposure by the optical writing units 3Y, 3M, 3C, and 3K, Latent images are formed on the photosensitive drums 1Y, 1M, 1C, and 1K. Further, the developing devices 4Y, 4M, 4C, and 4K develop the latent images on the photosensitive drums 1Y, 1M, 1C, and 1K by developing with toner. As a result, an image (toner image) of a predetermined color corresponding to any of yellow, magenta, cyan, and black is formed on the photosensitive drums 1Y, 1M, 1C, and 1K. Images formed on the photosensitive drums 1Y, 1M, 1C, and 1K are sequentially transferred to predetermined positions on the intermediate transfer belt 6 by primary transfer rollers 7Y, 7M, 7C, and 7K.

中間転写ベルト6上に転写された画像は、2次転写ローラー9によって、後述する用紙搬送部40により所定のタイミングで搬送される用紙Pに転写される。この2次転写ローラー9は、中間転写ベルト6と圧接して配置されてニップ(転写ニップ)を形成し、用紙Pを搬送しながら当該用紙Pに画像を転写する。   The image transferred onto the intermediate transfer belt 6 is transferred by a secondary transfer roller 9 onto a sheet P that is conveyed at a predetermined timing by a sheet conveying unit 40 described later. The secondary transfer roller 9 is disposed in pressure contact with the intermediate transfer belt 6 to form a nip (transfer nip), and transfers the image onto the paper P while conveying the paper P.

用紙搬送部40は、搬送経路に従って用紙Pを搬送する。用紙Pは給紙トレイ41に収容されており、当該給紙トレイ41に収容された用紙Pは、給紙部42により取り込まれ、搬送経路へと送り出される。搬送経路には、用紙Pを搬送する複数の搬送手段が設けられている。個々の搬送手段は、例えば互いに圧接された一対のローラーによって構成されており、駆動手段である電動モーターを通じて少なくとも一方のローラーが回転駆動する。   The paper transport unit 40 transports the paper P along the transport path. The paper P is stored in the paper supply tray 41, and the paper P stored in the paper supply tray 41 is taken in by the paper supply unit 42 and sent out to the transport path. A plurality of transport means for transporting the paper P is provided in the transport path. Each conveying means is constituted by, for example, a pair of rollers pressed against each other, and at least one of the rollers is rotationally driven through an electric motor as a driving means.

定着装置50は、画像が転写された用紙Pに対して、画像を定着させる定着処理を施す装置である。定着装置50は、互いに圧接して配置されることによりニップ(定着ニップ)を形成する一対の定着部材と、当該定着部材を加熱する加熱手段とで構成されている。一対の定着部材としては、例えば一対の定着ローラー51,52を用いることができる。個々の定着ローラー51,52は、回転可能に構成されており、駆動手段である駆動モーター(図示せず)を通じて、少なくとも一方のローラー(例えば定着ローラー52)が回転駆動する。加熱手段としては、例えばハロゲンランプ53を用いることができる。定着装置50は、一対の定着ローラー51,52による圧力定着、ハロゲンランプ53による熱定着を行うことで、画像を用紙Pに定着させる。   The fixing device 50 is a device that performs a fixing process for fixing the image on the paper P to which the image has been transferred. The fixing device 50 includes a pair of fixing members that form a nip (fixing nip) by being placed in pressure contact with each other, and a heating unit that heats the fixing member. For example, a pair of fixing rollers 51 and 52 can be used as the pair of fixing members. The individual fixing rollers 51 and 52 are configured to be rotatable, and at least one of the rollers (for example, the fixing roller 52) is rotationally driven through a driving motor (not shown) that is a driving unit. For example, a halogen lamp 53 can be used as the heating means. The fixing device 50 fixes the image on the paper P by performing pressure fixing with a pair of fixing rollers 51 and 52 and heat fixing with a halogen lamp 53.

定着装置50により定着処理が施された用紙Pは、排紙ローラー43により、筐体の外部側面に取り付けられた排紙トレイ44に排出される。用紙Pの両面に画像形成を行う場合、用紙表面に対する画像形成を終えた用紙Pは、切替ゲート45により、下方にある反転ローラー46へと搬送される。反転ローラー46は、搬送された用紙Pの後端を挟持した後、逆送することによって用紙Pを反転させて、再給紙搬送経路に送り出す。この再給紙搬送経路へと送り出された用紙Pは、再給紙用の複数の搬送手段によって搬送され、転写位置へと回帰する。   The paper P subjected to the fixing process by the fixing device 50 is discharged by a paper discharge roller 43 to a paper discharge tray 44 attached to the outer side surface of the housing. When image formation is performed on both sides of the paper P, the paper P on which image formation has been completed on the paper surface is conveyed by the switching gate 45 to the reversing roller 46 below. The reversing roller 46 pinches the trailing edge of the conveyed paper P, reverses the paper P by reverse feeding, and sends it to the refeed conveyance path. The paper P sent out to the refeed conveyance path is conveyed by a plurality of refeeding conveyance means and returns to the transfer position.

制御部70は、画像形成装置1を統合的に制御する機能を担っており、CPU、ROM、RAM、I/Oインターフェースを主体に構成されたマイクロコンピュータを用いることができる。制御部70は、画像形成部30Y,30M,30C,30Kなどを制御することにより、所定の画像を用紙Pに形成する。   The control unit 70 has a function of controlling the image forming apparatus 1 in an integrated manner, and a microcomputer mainly composed of a CPU, a ROM, a RAM, and an I / O interface can be used. The control unit 70 forms a predetermined image on the paper P by controlling the image forming units 30Y, 30M, 30C, 30K and the like.

図2は、本実施形態に係る画像読取装置10の構成を示すブロック図である。画像読取装置10は、光源ユニット15と、CPU16と、ROM17と、RAM18と、CCD制御部19と、画像処理部20と、画像メモリー21とを主体に構成されている。   FIG. 2 is a block diagram illustrating a configuration of the image reading apparatus 10 according to the present embodiment. The image reading apparatus 10 is mainly configured by a light source unit 15, a CPU 16, a ROM 17, a RAM 18, a CCD control unit 19, an image processing unit 20, and an image memory 21.

光源ユニット15は、それぞれが異なる色の光を照射する複数の光源から構成され、複数の光源の中から選択される所定の色の光を原稿Dに照射する。本実施形態において、光源ユニット15は、赤(R)、緑(G)、青(B)の3つの色に対応する3つの光源15R,15G,15Bで構成されている。個々の光源15R,15G,15Bには、例えばLEDを用いることができる。各光源15R,15G,15Bからの光は、図示しない導光体により導光され、主走査方向に対応するライン状の光として原稿Dに照射される。   The light source unit 15 is composed of a plurality of light sources that emit light of different colors, and irradiates the document D with light of a predetermined color selected from the plurality of light sources. In the present embodiment, the light source unit 15 includes three light sources 15R, 15G, and 15B corresponding to three colors of red (R), green (G), and blue (B). For example, LEDs can be used for the individual light sources 15R, 15G, and 15B. Light from each of the light sources 15R, 15G, and 15B is guided by a light guide (not shown) and applied to the document D as line-shaped light corresponding to the main scanning direction.

CPU16は、画像読取装置10全体の制御をつかさどるものである。CPU16は、ROM17に格納されたプログラム及びデータを読み出すとRAM18上に展開し、これを実行することで各種の処理を行う。   The CPU 16 controls the entire image reading apparatus 10. When the CPU 16 reads the program and data stored in the ROM 17, the CPU 16 develops the program and data on the RAM 18, and executes this to execute various processes.

図3は、光源ユニット15の点灯制御を示す説明図である。本実施形態との関係において、CPU16は、光源ユニット15についての点灯制御を行う。具体的には、CPU16は、3つの光源15R,15G,15Bに対して点灯信号を順次出力し(R点灯信号、G点灯信号、B点灯信号)、3つの光源15R,15G,15Bを順次点灯する点灯動作を行う。この点灯動作により、搬送ドラム26により搬送されて副走査方向(主走査方向と交差する方向)に相対移動する原稿D(読取画像)に対してRGBの光が順次照射される。この点灯動作は、主走査方向の1ライン分の読取動作に対応して1回行われ、CPU16は、原稿Dの読取期間に対応して点灯動作を繰り返し行う(点灯制御)。なお、3つの光源15R,15G,15Bの点灯順序は任意であるが、本実施形態では、Rに対応する光源15R、Gに対応する光源15G、Bに対応する光源15Bの順序で点灯を行うものとする。   FIG. 3 is an explanatory diagram showing lighting control of the light source unit 15. In relation to the present embodiment, the CPU 16 performs lighting control for the light source unit 15. Specifically, the CPU 16 sequentially outputs lighting signals to the three light sources 15R, 15G, and 15B (R lighting signal, G lighting signal, and B lighting signal), and sequentially lights the three light sources 15R, 15G, and 15B. Perform the lighting operation. With this lighting operation, RGB light is sequentially irradiated onto the document D (read image) that is transported by the transport drum 26 and relatively moves in the sub-scanning direction (direction intersecting the main scanning direction). This lighting operation is performed once corresponding to the reading operation for one line in the main scanning direction, and the CPU 16 repeatedly performs the lighting operation corresponding to the reading period of the document D (lighting control). Although the lighting order of the three light sources 15R, 15G, and 15B is arbitrary, in this embodiment, lighting is performed in the order of the light sources 15R corresponding to R, the light sources 15G corresponding to G, and the light source 15B corresponding to B. Shall.

ROM17は、CPU16が実行する各種プログラムを、当該CPU16が読み取り可能なプログラムコードの形態で格納する。また、ROM17は、プログラムの実行に必要となるデータを記憶する。   The ROM 17 stores various programs executed by the CPU 16 in the form of program codes readable by the CPU 16. The ROM 17 stores data necessary for executing the program.

RAM18は、作業用の記憶領域となるメモリーである。   The RAM 18 is a memory serving as a working storage area.

CCD制御部19は、イメージセンサCCD及びアナログ処理回路(図示せず)等から構成されている。イメージセンサCCDは、複数の光電変換素子を画素毎にライン状に並べて主走査方向と略平行に配置したものであり、RGBの各色で共用されるモノクロイメージセンサである。イメージセンサCCDにおける各素子の読取動作は主走査同期信号(図3参照)に基づいて同期される。   The CCD controller 19 includes an image sensor CCD, an analog processing circuit (not shown), and the like. The image sensor CCD is a monochrome image sensor in which a plurality of photoelectric conversion elements are arranged in a line for each pixel and arranged substantially parallel to the main scanning direction, and are shared by RGB colors. The reading operation of each element in the image sensor CCD is synchronized based on a main scanning synchronization signal (see FIG. 3).

上述したように、原稿Dに作用した光(反射光)は、イメージセンサCCDに入射される。イメージセンサCCDは、光源ユニット15からの光の照射に対応して読取動作を行うことで、原稿Dからの反射光の強度に応じた電気信号を画像(輝度)信号として生成する。生成された画像信号はアナログ処理回路においてデジタル信号に変換され、変換された画像データは画像処理部20に出力される。   As described above, the light (reflected light) that has acted on the document D enters the image sensor CCD. The image sensor CCD performs a reading operation corresponding to the irradiation of light from the light source unit 15, thereby generating an electrical signal corresponding to the intensity of reflected light from the document D as an image (luminance) signal. The generated image signal is converted into a digital signal by an analog processing circuit, and the converted image data is output to the image processing unit 20.

ここで、画像データは、各画素の画素値の集合であり、光源ユニット15から照射された光による原稿D上の読取位置(主走査ライン)における濃度データである。各画素値は、例えば256階調によりその濃度(濃淡)が表現される。   Here, the image data is a set of pixel values of each pixel, and is density data at a reading position (main scanning line) on the document D by light emitted from the light source unit 15. Each pixel value expresses its density (shading) by, for example, 256 gradations.

上述したように、1ライン分の読取動作では、1回の点灯動作に伴いRGBの各色の光源15R,15G,15Bが順次点灯する。図3に示すように、CCD制御部19は、Rの画像データ、Gの画像データ、Bの画像データを線順次で生成する。そして、点灯動作を繰り返し行うことで、その点灯動作毎に、RGBの3つ画像データが順次生成される。   As described above, in the reading operation for one line, the light sources 15R, 15G, and 15B of each color of RGB are sequentially turned on with one lighting operation. As shown in FIG. 3, the CCD controller 19 generates R image data, G image data, and B image data in a line sequential manner. Then, by repeating the lighting operation, three pieces of RGB image data are sequentially generated for each lighting operation.

ここで、図3において、R0,R1,R2のそれぞれは、Rの光源15Rによる読取動作に応じた画像データ(Rの画像データ)を示す。同様に、G0,G1,G2のそれぞれは、Gの光源15Gによる読取動作に応じた画像データ(Gの画像データ)を示し、B0,B1,B2のそれぞれは、Bの光源15Bによる読取動作に応じた画像データ(Bの画像データ)を示す。   In FIG. 3, each of R0, R1, and R2 represents image data (R image data) corresponding to a reading operation by the R light source 15R. Similarly, each of G0, G1, and G2 indicates image data (G image data) corresponding to a reading operation by the G light source 15G, and each of B0, B1, and B2 is a reading operation by the B light source 15B. The corresponding image data (B image data) is shown.

画像処理部20は、CCD制御部19から画像データを入力し、当該画像データに必要な処理を行い、その画像データを画像メモリー21に保存する。具体的には、画像処理部20は、1ライン分の読取動作に対応するRGBの画像データを入力し、これらの3つの画像データに基づいて1ライン分の画像データを生成する。例えば、RGBの各色について1800dpi単位で読み取りを行うことで、1ライン分の画像データの解像度は、600dpiに相当する。   The image processing unit 20 receives image data from the CCD control unit 19, performs necessary processing on the image data, and stores the image data in the image memory 21. Specifically, the image processing unit 20 inputs RGB image data corresponding to a reading operation for one line, and generates image data for one line based on these three image data. For example, by reading each RGB color in 1800 dpi units, the resolution of the image data for one line corresponds to 600 dpi.

画像処理部20は、これを機能的に捉えた場合、ライン間補正部20a、エッジ判定部20b、条件切替部20c、色判定部20d及び解像度変換部20eを備えている。   The image processing unit 20 includes an inter-line correction unit 20a, an edge determination unit 20b, a condition switching unit 20c, a color determination unit 20d, and a resolution conversion unit 20e when this is viewed functionally.

ライン間補正部20aは、1ライン分のRGBの画像データを入力し、ライン間補正を行う。ここで、ライン間補正は、RGBそれぞれの読取位置(主走査ライン)のずれに起因するRGBの画像信号の位相ずれを補正する処理である。ライン間補正部20aにより処理された1ライン分のRGBの画像データは、エッジ判定部20b、色判定部20d及び解像度変換部20eにそれぞれ出力される。   The interline correction unit 20a inputs RGB image data for one line and performs interline correction. Here, the inter-line correction is a process for correcting a phase shift of the RGB image signal caused by a shift of each RGB reading position (main scanning line). The RGB image data for one line processed by the interline correction unit 20a is output to the edge determination unit 20b, the color determination unit 20d, and the resolution conversion unit 20e, respectively.

エッジ判定部20bは、1ライン分のRGBの画素(副走査方向の3つの画素)を対象とし、当該対象画素が、副走査方向の上流側のエッジ部に相当するか、副走査方向の下流側のエッジ部に相当するか、エッジを含まない非エッジ部に相当するかを判定する。ここで、エッジは隣接画素間の画素値の変化量が大きい箇所をいい、その変化量と予め設定された判定値とを比較することにより判断される。副走査方向の上流側のエッジ部は、副走査方向の上流側の画素が白で下流側の画素が黒となるエッジを含むものをいい、副走査方向の下流側のエッジ部は、副走査方向の上流側の画素が黒で下流側の画素値が白となるエッジを含むものをいう。   The edge determination unit 20b targets one line of RGB pixels (three pixels in the sub-scanning direction), and the target pixel corresponds to an upstream edge part in the sub-scanning direction or downstream in the sub-scanning direction. It is determined whether it corresponds to a side edge portion or a non-edge portion that does not include an edge. Here, an edge refers to a portion where the amount of change in pixel value between adjacent pixels is large, and is determined by comparing the amount of change with a preset determination value. The upstream edge portion in the sub-scanning direction includes an edge in which the upstream pixel in the sub-scanning direction is white and the downstream pixel is black, and the downstream edge portion in the sub-scanning direction is the sub-scanning direction. This includes an edge in which the upstream pixel in the direction is black and the downstream pixel value is white.

条件切替部20cは、複数の色黒判定条件を保持している。色黒判定条件は、対象画素がカラーかそれとも黒かを区別する色黒判定を行うためのものであり、後述する色判定部20dにより用いられる。この条件切替部20cは、エッジ判定部20bの判定結果に基づいて色黒判定条件の設定を行うことで、色判定部20dによって黒と判定される判定幅を切り替えることができる。   The condition switching unit 20c holds a plurality of color / black determination conditions. The color black determination condition is for performing color black determination for distinguishing whether the target pixel is color or black, and is used by the color determination unit 20d described later. The condition switching unit 20c can switch the determination width determined as black by the color determination unit 20d by setting the color black determination condition based on the determination result of the edge determination unit 20b.

色判定部20dは、対象画素に関するRGBの画素値と、条件切替部20cにより設定される色黒判定条件とに基づいて、対象画素が黒であるか否かの色黒判定を行う(色黒判定部)。本実施形態において、色判定部20dは、対象画素に係るRGBの画素値を所定の色空間に変換することで色黒判定を行う。具体的には、色判定部20dは、対象画素に係るRGBの画素値を、例えばCbCr色空間に変換したCbCr色空間データを生成する。ここで、上述の色黒判定条件は、CbCr色空間においてカラーと黒とを区別する境界条件となる。そこで、色判定部20dは、CbCr色空間データと、色黒判定条件と比較し、対象画素が黒であるか、それともカラーであるかを判定する。   The color determination unit 20d performs color black determination as to whether or not the target pixel is black based on the RGB pixel values related to the target pixel and the color black determination conditions set by the condition switching unit 20c (color black Determination unit). In the present embodiment, the color determination unit 20d performs color black determination by converting RGB pixel values related to the target pixel into a predetermined color space. Specifically, the color determination unit 20d generates CbCr color space data in which RGB pixel values related to the target pixel are converted into, for example, a CbCr color space. Here, the color black determination condition described above is a boundary condition for distinguishing between color and black in the CbCr color space. Therefore, the color determination unit 20d compares the CbCr color space data with the color black determination condition to determine whether the target pixel is black or color.

また、色判定部20dは、CbCr色空間データに基づいて、対象画素の色ずれの方向を判定する(色ずれ判定部)。色ずれは、CbCr色空間における座標上で定義される角度(極座標)に基づいて、R、Y、C、B、それ以外の5領域として特定される。   The color determination unit 20d determines the direction of color shift of the target pixel based on the CbCr color space data (color shift determination unit). The color misregistration is specified as R, Y, C, B, and other five regions based on angles (polar coordinates) defined on coordinates in the CbCr color space.

解像度変換部20eは、色判定部20d(色黒判定部)により対象画素が黒と判定された場合、1ライン分の画像データを副走査方向に高解像度化し、エッジ判定部20bの判定結果と色判定部20d(色ずれ判定部)の判定結果とに応じて、副走査方向の上流側又は副走査方向の下流側に画像を偏重させる(解像度変換処理)。解像度変換部20eは、このような解像度変換処理を通じて、1ライン分の画像データによって現される画像の副走査方向幅を補正することとしている。   When the target pixel is determined to be black by the color determination unit 20d (color black determination unit), the resolution conversion unit 20e increases the resolution of the image data for one line in the sub-scanning direction, and the determination result of the edge determination unit 20b. Depending on the determination result of the color determination unit 20d (color misregistration determination unit), the image is biased upstream in the sub-scanning direction or downstream in the sub-scanning direction (resolution conversion processing). The resolution conversion unit 20e corrects the sub-scanning direction width of the image represented by the image data for one line through such resolution conversion processing.

画像メモリー21は、画像処理部20により順次生成された1ライン分の画像データを格納する。この画像メモリー21は、読取可能な最大サイズの原稿Dに対応する複数ライン分の画像データを格納可能な容量を備えている。原稿Dに相当する1ライン分の画像データ群(1ライン分の画像データの集合)は、CPU16により読み出され、制御部70へと出力される。   The image memory 21 stores image data for one line sequentially generated by the image processing unit 20. The image memory 21 has a capacity capable of storing image data for a plurality of lines corresponding to the maximum size original D that can be read. A group of image data for one line (a set of image data for one line) corresponding to the document D is read by the CPU 16 and output to the control unit 70.

以下、画像処理部20により実行される画像処理の説明に先立ち、副走査方向の色ずれの発生メカニズムについて説明する。ここで、図4は、副走査方向の色ずれの発生メカニズムを示す説明図である。同図において、(a)は読取画像を含む原稿Dを模式的に示す説明図であり、黒塗りの矩形にて読取画像(例えば黒線)を示している。また、同図において、(b)は、原稿Dの読取結果に相当する1ライン分の画像データ群を模式的に示す説明図である。   Hereinafter, prior to description of image processing executed by the image processing unit 20, a mechanism of occurrence of color misregistration in the sub-scanning direction will be described. Here, FIG. 4 is an explanatory diagram showing a mechanism of occurrence of color misregistration in the sub-scanning direction. In the figure, (a) is an explanatory view schematically showing a document D including a read image, and the read image (for example, a black line) is indicated by a black rectangle. In FIG. 2, (b) is an explanatory diagram schematically showing a group of image data for one line corresponding to the reading result of the document D.

原稿Dについて1ライン毎に副走査方向の上から下に沿って読取動作を行う。1ライン分の読取動作では、RGBの各色について1800dpi単位で読み取りを行う。1ライン分の読取動作に応じてRGBの画像データが得られ、これらの画像データに基づいて600dpi相当の1ライン分の画像データが得られる。   For the document D, a reading operation is performed from top to bottom in the sub-scanning direction for each line. In the reading operation for one line, each RGB color is read in 1800 dpi units. RGB image data is obtained according to the reading operation for one line, and image data for one line corresponding to 600 dpi is obtained based on these image data.

図4(a)に示すように、原稿Dには、読取画像である黒線(黒塗りの矩形)が合計で3つ配置されている。具体的には、副走査方向の長さが2ドット(600dpi)に相当する黒線が、副走査方向の異なる位置に3つ配置されている。   As shown in FIG. 4A, a total of three black lines (black rectangles) that are read images are arranged on the document D. Specifically, three black lines corresponding to 2 dots (600 dpi) in the sub-scanning direction are arranged at different positions in the sub-scanning direction.

まずは、左から1番目に位置する黒線(読取画像)に着目する。n番目の読取動作に対応する1ラインでは、Rの主走査ラインで白、G及びBの各主走査ラインで黒となっている。n+1番目の読取動作に対応する1ラインでは、R、G及びBの各主走査ラインで黒となっている。n+2番目の読取動作に対応する1ラインでは、Rの主走査ラインで黒、G及びBの各主走査ラインで白となっている。このケースでは、n番目の1ラインに係る対象画素は、副走査方向の上流側のエッジ部に相当し、n+1番目の1ラインに係る対象画素は、非エッジ部に相当し、n+2番目の1ラインに係る対象画素は、副走査方向の下流側のエッジ部に相当する。   First, focus on the black line (read image) located first from the left. In one line corresponding to the n-th reading operation, the R main scanning line is white, and the G and B main scanning lines are black. In one line corresponding to the (n + 1) th reading operation, each of the R, G, and B main scanning lines is black. In one line corresponding to the (n + 2) th reading operation, black is displayed on the R main scanning line, and white is displayed on each of the G and B main scanning lines. In this case, the target pixel related to the nth one line corresponds to an upstream edge portion in the sub-scanning direction, the target pixel related to the (n + 1) th first line corresponds to a non-edge portion, and the (n + 2) th 1 The target pixel related to the line corresponds to the downstream edge portion in the sub-scanning direction.

同図(b)に示す読取結果をみると、n番目の1ラインに係る対象画素では、RGBの画素を集約することで赤になる。n+1番目の1ラインに係る対象画素では、RGBの画素を集約することで黒になる。n+2番目の1ラインに係る対象画素では、RGBの画素を集約することで略シアンとなる。このように、n番目及びn+2番目の1ラインにおいてそれぞれ色ずれを起こしている。   In the reading result shown in FIG. 4B, the target pixel related to the nth first line becomes red by collecting the RGB pixels. The target pixel related to the (n + 1) th line becomes black by collecting the RGB pixels. In the target pixel relating to the (n + 2) th one line, the RGB pixels are aggregated to be substantially cyan. Thus, color misregistration occurs in each of the nth and n + 2th lines.

つぎに、左から2番目に位置する黒線に着目する。n番目の読取動作に対応する1ラインでは、R及びGの各主走査ラインで白、Bの主走査ラインで黒となっている。n+1番目の読取動作に対応する1ラインでは、R、G及びBの各主走査ラインで黒となっている。n+2番目の読取動作に対応する1ラインでは、R及びGの各主走査ラインで黒、Bの主走査ラインで白となっている。このケースでは、n番目の1ラインに係る対象画素は、副走査方向の上流側のエッジ部に相当し、n+1番目の1ラインに係る対象画素は、非エッジ部に相当し、n+2番目の1ラインに係る対象画素は、副走査方向の下流側のエッジ部に相当する。   Next, attention is focused on the black line located second from the left. In one line corresponding to the n-th reading operation, the R and G main scanning lines are white, and the B main scanning line is black. In one line corresponding to the (n + 1) th reading operation, each of the R, G, and B main scanning lines is black. In one line corresponding to the (n + 2) th reading operation, the R and G main scanning lines are black, and the B main scanning line is white. In this case, the target pixel related to the nth one line corresponds to an upstream edge portion in the sub-scanning direction, the target pixel related to the (n + 1) th first line corresponds to a non-edge portion, and the (n + 2) th 1 The target pixel related to the line corresponds to the downstream edge portion in the sub-scanning direction.

同図(b)に示す読取結果をみると、n番目の1ラインに係る対象画素では、RGBの画素を集約することで略黄になる。n+1番目の1ラインに係る対象画素では、RGBの画素を集約することで黒になる。n+2番目の1ラインに係る対象画素では、RGBの画素を集約することで略青となる。このように、n番目及びn+2番目の1ラインにおいてそれぞれ色ずれを起こしている。   In the reading result shown in FIG. 5B, the target pixel related to the nth one line becomes substantially yellow by collecting RGB pixels. The target pixel related to the (n + 1) th line becomes black by collecting the RGB pixels. The target pixel related to the (n + 2) th line is substantially blue by collecting RGB pixels. Thus, color misregistration occurs in each of the nth and n + 2th lines.

また、左から3番目に位置する黒線に着目する。n+1番目の読取動作に対応する1ラインでは、R、G及びBの各主走査ラインで黒となっている。n+2番目の読取動作に対応する1ラインでは、R、G及びBの各主走査ラインで黒となっている。このケースでは、n+1番目の1ラインに係る対象画素は、副走査方向の上流側のエッジ部、副走査方向の下流側のエッジ部のいずれにも該当せず、非エッジ部に相当する。同様に、n+2番目の1ラインに係る対象画素は、非エッジ部に相当する。   Also, pay attention to the black line located third from the left. In one line corresponding to the (n + 1) th reading operation, each of the R, G, and B main scanning lines is black. In one line corresponding to the (n + 2) th reading operation, each of the R, G, and B main scanning lines is black. In this case, the target pixel related to the (n + 1) th line does not correspond to either the upstream edge portion in the sub-scanning direction or the downstream edge portion in the sub-scanning direction, and corresponds to a non-edge portion. Similarly, the target pixel related to the (n + 2) th one line corresponds to a non-edge portion.

同図(b)に示す読取結果をみると、n+1番目の1ラインに係る対象画素では、RGBの画素を集約することで黒になる。また、n+2番目の1ラインに係る対象画素では、RGBの画素を集約することで黒になる。このように、n+1番目、n+2番目の各1ラインにおいて色ずれは発生していない。   In the reading result shown in FIG. 4B, the target pixel relating to the (n + 1) th line becomes black by collecting the RGB pixels. Further, the target pixel related to the (n + 2) th one line becomes black by collecting the RGB pixels. Thus, no color misregistration occurs in each of the n + 1th and n + 2th lines.

このように、副走査方向の上流側のエッジ部に起因して、対象画素では赤〜黄方向に色ずれが発生し、副走査方向の下流側のエッジ部に起因して、対象画素では青〜シアン方向に色ずれが発生する。もっとも、エッジ部に起因する色ずれの色の傾向は、RGBの点灯順序に起因するものであり、その点灯順序が相違する場合は異なる色ずれの傾向を示すこととなる。   As described above, due to the upstream edge portion in the sub-scanning direction, color shift occurs in the red to yellow direction in the target pixel, and in the target pixel due to the downstream edge portion in the sub-scanning direction. ~ Color shift occurs in the cyan direction. However, the tendency of color misregistration due to the edge portion is due to the lighting order of RGB, and when the lighting order is different, the tendency of different color misregistration is shown.

また、読取画像が黒で形成されていることを前提にすれば、このような色ずれの傾向から、1ライン分の読取範囲のなかで読取画像にどのような欠け(白部分)があるかを判断することができる。例えば、対象画素が副走査方向の上流側のエッジ部に相当し、その色ずれが赤に相当する場合には、1ライン分の読取画像のなかに、1800dpi相当ラインの1本分の欠け(白)が上流側にあることが判断できる。同様に、対象画素が副走査方向の上流側のエッジ部に相当し、その色ずれが黄に相当する場合には、1ライン分の読取画像のなかに、1800dpi相当ラインの2本分の欠け(白)が上流側にあることが判断できる。   Also, assuming that the read image is formed in black, what kind of chipping (white portion) is present in the read image within the reading range for one line from the tendency of such color misregistration. Can be judged. For example, when the target pixel corresponds to the upstream edge portion in the sub-scanning direction and the color shift corresponds to red, one line corresponding to 1800 dpi is missing in the read image for one line ( It can be determined that (white) is on the upstream side. Similarly, when the target pixel corresponds to an upstream edge portion in the sub-scanning direction and the color shift corresponds to yellow, two lines corresponding to 1800 dpi are missing in the read image for one line. It can be determined that (white) is on the upstream side.

同様に、対象画素が副走査方向の下流側のエッジ部に相当し、その色ずれが青に相当する場合には、1ライン分の読取画像の中で、1800dpi相当ラインの1本分の欠け(白)が下流側にあることが判断できる。同様に、対象画素が副走査方向の下流側のエッジ部に相当し、その色ずれがシアンに相当する場合には、1ライン分の読取画像の中で、1800dpi相当ラインの2本分の欠け(白)が下流側にあることが判断できる。   Similarly, when the target pixel corresponds to the edge portion on the downstream side in the sub-scanning direction and the color shift corresponds to blue, one line corresponding to 1800 dpi is missing in the read image for one line. It can be determined that (white) is on the downstream side. Similarly, when the target pixel corresponds to the downstream edge portion in the sub-scanning direction and the color shift corresponds to cyan, two 1800 dpi equivalent lines are missing in the read image for one line. It can be determined that (white) is on the downstream side.

図5は、本実施形態に係る画像形成装置1に適用される画像読取装置10における画像処理の手順を示すフローチャートである。このフローチャートに示す処理は、1ライン分の読取動作に対応するRGBの画像データの入力に対応して、画像処理部20により実行される。また、本処理は、主走査方向の各画素について各々実行される。さらに、画像読取装置10に導入される原稿Dは、その読取画像が黒で形成されていることとする。   FIG. 5 is a flowchart showing a procedure of image processing in the image reading apparatus 10 applied to the image forming apparatus 1 according to the present embodiment. The processing shown in this flowchart is executed by the image processing unit 20 in response to input of RGB image data corresponding to a reading operation for one line. Further, this process is executed for each pixel in the main scanning direction. Furthermore, it is assumed that the original D introduced into the image reading apparatus 10 has a read image formed in black.

まず、ステップ1(S1)において、ライン間補正部20aは、1ライン分のRGBの画素(副走査方向の3つの画素)を対象とし、対象画素についてライン間補正を行う。具体的には、ライン間補正部20aは、以下の手法により、RGBの画素値を補正する。
First, in step 1 (S1), the inter-line correction unit 20a performs inter-line correction on the target pixel with respect to one line of RGB pixels (three pixels in the sub-scanning direction). Specifically, the line-to-line correction unit 20a corrects RGB pixel values by the following method.

同数式において、nは読取対象となる副走査方向のライン位置を示す。   In the equation, n indicates a line position in the sub-scanning direction to be read.

ステップ2(S2)において、エッジ判定部20bは、エッジ判定を行う。具体的には、エッジ判定部20bは、対象画素が、副走査方向の上流側のエッジ部に相当するか、副走査方向の下流側のエッジ部に相当するか、エッジ部を含まない非エッジ部に相当するかを判定する。   In step 2 (S2), the edge determination unit 20b performs edge determination. Specifically, the edge determination unit 20b determines whether the target pixel corresponds to an upstream edge portion in the sub-scanning direction, a downstream edge portion in the sub-scanning direction, or a non-edge that does not include an edge portion. It is determined whether it corresponds to a part.

例えば、図4(a)の左から1番目の黒線(読取画像)を例に挙げると、n番目の1ラインに係る対象画素は、副走査方向の上流側のエッジ部に相当し、n+2番目の1ラインに係る対象画素は、副走査方向の下流側のエッジ部に相当する。さらに、n+1番目のラインに係る対象画素は、非エッジ部に相当する。   For example, taking the first black line (read image) from the left in FIG. 4A as an example, the target pixel related to the nth one line corresponds to the upstream edge portion in the sub-scanning direction, and n + 2 The target pixel related to the first line corresponds to the downstream edge portion in the sub-scanning direction. Further, the target pixel related to the (n + 1) th line corresponds to a non-edge portion.

ステップ3(S3)において、条件切替部20cは、判定条件を切り替える。条件切替部20cは、色判定部20dが色黒判定を行うための色黒判定条件を保持している。条件切替部20cは、標準の色黒判定条件、上流側のエッジ部に適用する色黒判定条件、下流側のエッジ部に適用する色黒判定条件を保持している。   In step 3 (S3), the condition switching unit 20c switches the determination condition. The condition switching unit 20c holds a color black determination condition for the color determination unit 20d to perform color black determination. The condition switching unit 20c holds a standard color black determination condition, a color black determination condition applied to the upstream edge portion, and a color black determination condition applied to the downstream edge portion.

図6は色黒判定条件を模式的に示す説明図であり、(a)は標準の色黒判定条件Csを示し、(b)は上流側のエッジ部に適用する色黒判定条件Cueを示し、(c)は下流側のエッジ部に適用する色黒判定条件Cleを示す。各色黒判定条件Cs,Cue,Cleは、CbCr色空間においてカラーと黒との境界を画定するための境界条件として設定されている。具体的には、対象画素(RGBの各画素)をCbCr空間に変換したCbCr空間データが色黒判定条件Cs,Cue,Cleよりも内側に位置付けられる場合、当該CbCr空間データ(対象画素)は黒と判定される。一方、このCbCr空間データが色黒判定条件Cs,Cue,Cleよりも外側に位置付けられる場合、当該CbCr空間データ(対象画素)はカラーと判定される。   6A and 6B are explanatory diagrams schematically showing the color black determination condition, in which FIG. 6A shows the standard color black determination condition Cs, and FIG. 6B shows the color black determination condition Cue applied to the upstream edge portion. , (C) shows the color black determination condition Cle to be applied to the downstream edge portion. Each color black determination condition Cs, Cue, Cle is set as a boundary condition for demarcating the boundary between color and black in the CbCr color space. Specifically, when the CbCr space data obtained by converting the target pixel (each pixel of RGB) into the CbCr space is positioned inside the color black determination conditions Cs, Cue, and Cle, the CbCr space data (target pixel) is black. It is determined. On the other hand, when the CbCr space data is positioned outside the color / black determination conditions Cs, Cue, and Cle, the CbCr space data (target pixel) is determined to be color.

同図(a)に示すように、標準の色黒判定条件Csは、例えばCbCr色空間においてその座標の原点を中心とする円形状に設定されている。   As shown in FIG. 5A, the standard color / black determination condition Cs is set, for example, in a circular shape centered on the origin of the coordinates in the CbCr color space.

一方、同図(b)に示すように、上流側のエッジ部に適用する色黒判定条件Cueは、標準の色黒判定条件Csを基本としつつ、黒判定となる範囲を赤〜黄の色相にまで広げたものである。上述したように、副走査方向の上流側のエッジ部については赤〜黄方向に色ずれを起こす傾向がある。この色黒判定条件Cueによれば、副走査方向の上流側のエッジ部について黒と判定され易くなる。   On the other hand, as shown in FIG. 4B, the color black determination condition Cue applied to the upstream edge portion is based on the standard color black determination condition Cs, and the range for black determination is a hue of red to yellow. It has been expanded to. As described above, the upstream edge portion in the sub-scanning direction tends to cause a color shift in the red to yellow direction. According to the color black determination condition Cue, it is easy to determine that the upstream edge portion in the sub-scanning direction is black.

また、同図(c)に示すように、下流側のエッジ部に適用する色黒判定条件Cleは、標準の色黒判定条件Csを基本としつつ、黒判定となる範囲を青〜シアンの色相にまで広げたものである。上述したように、副走査方向の下流側のエッジ部については青〜シアン方向に色ずれを起こす傾向がある。この色黒判定条件Cleによれば、副走査方向の下流側のエッジ部について黒と判定され易くなる。   Further, as shown in FIG. 6C, the color black determination condition Cle applied to the downstream edge portion is based on the standard color black determination condition Cs, and the black determination range is a hue of blue to cyan. It has been expanded to. As described above, the edge portion on the downstream side in the sub-scanning direction tends to cause a color shift in the blue to cyan direction. According to this color black determination condition Cle, it is easy to determine that the downstream edge portion in the sub-scanning direction is black.

本ステップ3では、条件切替部20cは、ステップ2におけるエッジ判定の判定結果に基づいて、色黒判定条件の設定を行う。具体的には、条件切替部20cは、当該対象画素が副走査方向の上流側のエッジ部に相当する場合には、色黒判定条件を上流側のエッジ部に適用する色黒判定条件Cueに設定する。また、条件切替部20cは、対象画素が副走査方向の下流側のエッジ部に相当する場合には、色黒判定条件を下流側のエッジ部に適用する色黒判定条件Cleに設定する。さらに、条件切替部20cは、対象画素が非エッジ部に相当する場合には、色黒判定条件を標準の色黒判定条件Csに設定する。この条件切替部20cの色黒判定条件の設定により、色判定部20dによって黒と判定される判定幅が切り替えられる。   In step 3, the condition switching unit 20c sets the color / black determination condition based on the determination result of the edge determination in step 2. Specifically, the condition switching unit 20c sets the color black determination condition Cue to apply the color black determination condition to the upstream edge when the target pixel corresponds to the upstream edge in the sub-scanning direction. Set. In addition, when the target pixel corresponds to the downstream edge portion in the sub-scanning direction, the condition switching unit 20c sets the color black determination condition to the color black determination condition Cle to be applied to the downstream edge portion. Furthermore, the condition switching unit 20c sets the color black determination condition to the standard color black determination condition Cs when the target pixel corresponds to a non-edge portion. By setting the color black determination condition of the condition switching unit 20c, the determination width determined as black by the color determination unit 20d is switched.

ステップ4(S4)において、色判定部20dは、対象画素に係る3つの画素値をCbCr色空間データに変換し、変換したCbCr色空間データと、ステップ3で設定した色黒判定条件とを比較する。そして、色判定部20dは、CbCr色空間データ(対象画素)が黒であるか否かを判定する(色黒判定)。この処理では、CbCr色空間データが、ステップ3で設定した色黒判定条件の内側に含まれていれば、そのデータを黒と判定する。一方、CbCr色空間データが、ステップ3で設定した色黒判定条件の外側に含まれていれば、そのデータをカラーと判定する。   In step 4 (S4), the color determination unit 20d converts the three pixel values related to the target pixel into CbCr color space data, and compares the converted CbCr color space data with the color black determination condition set in step 3 To do. Then, the color determination unit 20d determines whether or not the CbCr color space data (target pixel) is black (color black determination). In this process, if the CbCr color space data is included inside the color black determination condition set in step 3, the data is determined to be black. On the other hand, if the CbCr color space data is included outside the color black determination condition set in step 3, the data is determined to be color.

また、このステップ4において、色判定部20dは、CbCr色空間データに基づいて、対象画素に関する色ずれの方向を判定する(色ずれ判定)。色ずれは、CbCr色空間におけるデータの座標上の角度(極座標)から、R、Y、C、B、それ以外の5領域として特定される。   In Step 4, the color determination unit 20d determines the direction of color shift related to the target pixel based on the CbCr color space data (color shift determination). Color misregistration is specified as R, Y, C, B, and five other regions from the angle (polar coordinates) on the coordinates of the data in the CbCr color space.

ステップ5(S5)において、解像度変換部20eは、1ライン分の画像データについて副走査方向に高解像度化する(解像度変換処理)。そして、解像度変換部20eは、エッジ判定部20bの判定結果と、色判定部20dの色ずれ判定の判定結果とに応じて、副走査方向の上流側又は副走査方向の下流側に画像を偏重させる。   In step 5 (S5), the resolution conversion unit 20e increases the resolution of the image data for one line in the sub-scanning direction (resolution conversion process). Then, the resolution conversion unit 20e biases the image to the upstream side in the sub-scanning direction or the downstream side in the sub-scanning direction according to the determination result of the edge determination unit 20b and the determination result of the color misregistration determination of the color determination unit 20d. Let

本実施形態では、1ライン分の画像データは600dpiであり、解像度変換部20eは、解像度変換処理により、1ライン分の画像データを、上側、中間、下側の3つのラインに細分化し、1ライン分の画像データを1800dpi相当の解像度へと変換する。ここで、図7は、解像度変換処理の概念を示す説明図である。なお、図7において、画素値は「00」が白、「FF」が黒と仮定する。   In the present embodiment, the image data for one line is 600 dpi, and the resolution conversion unit 20e subdivides the image data for one line into three lines, upper, middle, and lower, by resolution conversion processing. The line image data is converted to a resolution equivalent to 1800 dpi. Here, FIG. 7 is an explanatory diagram showing the concept of resolution conversion processing. In FIG. 7, it is assumed that the pixel value “00” is white and “FF” is black.

まず、対象画素が副走査方向の上流側のエッジ部に相当し、かつ、色判定部20dにより黒と判定された場合について説明する。このケースでは、副走査方向の下流側に画像を偏重させる処理を行う。   First, a case where the target pixel corresponds to the upstream edge portion in the sub-scanning direction and is determined to be black by the color determination unit 20d will be described. In this case, processing is performed to deviate the image downstream in the sub-scanning direction.

第1のケースとして、対象画素が赤(R)方向に色ずれしている場合、解像度変換部20eは、下流側の2/3の範囲、すなわち、中間及び下側の2つのラインに画像を偏重させる処理を行う。この場合、解像度変換部20eは、1回の点灯動作に係るRGBの点灯順序のなかで2番目(真ん中)に点灯するGの画素値を用いて、3つのラインにデータを展開する。   As a first case, when the target pixel is color-shifted in the red (R) direction, the resolution conversion unit 20e displays an image in the downstream 2/3 range, that is, in the middle and lower two lines. A process of biasing is performed. In this case, the resolution conversion unit 20e develops data in three lines using the G pixel value that is lighted second (middle) in the RGB lighting order related to one lighting operation.

具体的には、下側ラインについて、解像度変換部20eは「FF」を設定する。中間ラインについて、解像度変換部20eは、Gの画素値Xが85以上である場合に「3×(X−85)」を設定し、Gの画素値Xが85よりも小さい場合に「00」を設定する。また、上側ラインについて、解像度変換部20eは、Gの画素値Xが170以上である場合に「3×(X−170)」を設定し、Gの画素値Xが170よりも小さい場合に「00」を設定する。   Specifically, the resolution conversion unit 20e sets “FF” for the lower line. For the intermediate line, the resolution conversion unit 20e sets “3 × (X−85)” when the G pixel value X is 85 or more, and “00” when the G pixel value X is smaller than 85. Set. For the upper line, the resolution conversion unit 20 e sets “3 × (X−170)” when the G pixel value X is 170 or more, and sets “3 × (X−170)” when the G pixel value X is smaller than 170. 00 ”is set.

第2のケースとして、対象画素が黄(Y)方向に色ずれしている場合、解像度変換部20eは、下流側の1/3の範囲、すなわち、下側の1つのラインに画像を偏重させる処理を行う。解像度変換部20eは、同様に、1回の点灯動作に係るRGBの点灯順序のなかで2番目(真ん中)に点灯するGの画素値を用いて、3つのラインにデータを展開する。   As a second case, when the target pixel is color-shifted in the yellow (Y) direction, the resolution conversion unit 20e biases the image to a downstream 1/3 range, that is, one line on the lower side. Process. Similarly, the resolution conversion unit 20e develops data in three lines using the G pixel value that is lit second (middle) in the RGB lighting order related to one lighting operation.

具体的には、下側ラインについて、解像度変換部20eは、Gの画素値Xが85以上である場合に「FF」を設定し、Gの画素値Xが85よりも小さい場合に「3×X」を設定する。また、中間ラインについて、解像度変換部20eは、Gの画素値Xが85以上である場合に「3×(X−85)」を設定し、Gの画素値Xが85よりも小さい場合に「00」を設定する。上側1ラインについて、解像度変換部20eは「00」を設定する。   Specifically, for the lower line, the resolution conversion unit 20e sets “FF” when the G pixel value X is 85 or more, and sets “3 ×” when the G pixel value X is smaller than 85. X ”is set. For the intermediate line, the resolution conversion unit 20e sets “3 × (X−85)” when the G pixel value X is 85 or more, and sets “3 × (X−85)” when the G pixel value X is smaller than 85. 00 ”is set. For the upper one line, the resolution conversion unit 20e sets “00”.

一方、対象画素が副走査方向の上流側のエッジ部に相当するものの、上述の2ケースに該当しない場合には、解像度変換部20eは、RGBの各画素値を用い、その濃度に応じて副走査方向の下流側に画像を偏重させる処理を行う。   On the other hand, if the target pixel corresponds to the upstream edge portion in the sub-scanning direction, but does not fall into the above two cases, the resolution conversion unit 20e uses the RGB pixel values and sub-pixels according to the density. Processing to deviate the image downstream in the scanning direction is performed.

具体的には、下側ラインについて、解像度変換部20eは、RGBのいずれかの画素値Xが85よりも大きい場合に「FF」を設定し、当該画素値Xが85以下の場合に「3×X」を設定する。中間ラインについて、解像度変換部20eは、RGBのいずれかの画素値Xが170よりも大きい場合に「FF」を設定し、当該画素値Xが170以下の場合に「3×(X−85)」を設定する。また、上側ラインについて、解像度変換部20eは、RGBのいずれかの画素値Xが170よりも大きい場合に「3×(X−170)」を設定し、当該画素値Xが170以下の場合に「00」を設定する。   Specifically, for the lower line, the resolution conversion unit 20e sets “FF” when any pixel value X of RGB is larger than 85, and sets “3” when the pixel value X is 85 or less. “X” is set. For the intermediate line, the resolution conversion unit 20e sets “FF” when any pixel value X of RGB is larger than 170, and “3 × (X−85)” when the pixel value X is 170 or less. "Is set. For the upper line, the resolution conversion unit 20e sets “3 × (X−170)” when any pixel value X of RGB is larger than 170, and when the pixel value X is 170 or less. “00” is set.

これに対し、対象画素が副走査方向の下流側のエッジ部に相当し、かつ、色判定部20dにより黒と判定された場合について説明する。このケースでは、副走査方向の上流側に画像を偏重させる処理を行う。   In contrast, a case will be described in which the target pixel corresponds to the downstream edge portion in the sub-scanning direction and is determined to be black by the color determination unit 20d. In this case, processing is performed to deviate the image upstream in the sub-scanning direction.

第1のケースとして、対象画素がシアン(C)方向に色ずれしている場合、解像度変換部20eは、上流側の1/3の範囲、すなわち、上側の1つのラインに画像を偏重させる処理を行う。解像度変換部20eは、1回の点灯動作に係るRGBの点灯順序のなかで2番目(真ん中)に点灯するGの画素値を用いて、各ラインにデータを展開する。   As a first case, when the target pixel is color-shifted in the cyan (C) direction, the resolution conversion unit 20e performs processing for biasing the image in the upstream one-third range, that is, one line on the upper side. I do. The resolution conversion unit 20e develops data on each line by using the G pixel value that is lighted second (middle) in the RGB lighting order related to one lighting operation.

具体的には、下側ラインについて、解像度変換部20eは「00」を設定する。中間ラインについて、解像度変換部20eは、Gの画素値Xが85以上である場合に「3×(X−85)」を設定し、Gの画素値Xが85よりも小さい場合に「00」を設定する。また、上側ラインについて、解像度変換部20eは、Gの画素値Xが85以上である場合に「FF」を設定し、Gの画素値Xが85よりも小さい場合に「3×X」を設定する。   Specifically, the resolution conversion unit 20e sets “00” for the lower line. For the intermediate line, the resolution conversion unit 20e sets “3 × (X−85)” when the G pixel value X is 85 or more, and “00” when the G pixel value X is smaller than 85. Set. For the upper line, the resolution conversion unit 20e sets “FF” when the G pixel value X is 85 or more, and sets “3 × X” when the G pixel value X is smaller than 85. To do.

第2のケースとして、対象画素が青(B)方向に色ずれしている場合、解像度変換部20eは、上流側の2/3の範囲、すなわち、中間及び上側の2つのラインに画像を偏重させる処理を行う。解像度変換部20eは、1回の点灯動作に係るRGBの点灯順序のなかで2番目(真ん中)に点灯するGの画素値を用いて、各ラインにデータを展開する。   As a second case, when the target pixel is color-shifted in the blue (B) direction, the resolution conversion unit 20e defocuses the image in the upstream 2/3 range, that is, the middle and upper two lines. To perform the process. The resolution conversion unit 20e develops data on each line by using the G pixel value that is lighted second (middle) in the RGB lighting order related to one lighting operation.

具体的には、上側ラインについて、解像度変換部20eは「FF」を設定する。中間ラインについて、解像度変換部20eは、Gの画素値Xが85以上である場合に「3×(X−85)」を設定し、Gの画素値Xが85よりも小さい場合に「00」を設定する。また、下側ラインについて、解像度変換部20eは、Gの画素値Xが170以上である場合に「3×(X−170)」を設定し、Gの画素値Xが170よりも小さい場合に「00」を設定する。   Specifically, the resolution conversion unit 20e sets “FF” for the upper line. For the intermediate line, the resolution conversion unit 20e sets “3 × (X−85)” when the G pixel value X is 85 or more, and “00” when the G pixel value X is smaller than 85. Set. For the lower line, the resolution conversion unit 20e sets “3 × (X−170)” when the G pixel value X is 170 or more, and the G pixel value X is smaller than 170. “00” is set.

一方、対象画素が副走査方向の下流側のエッジ部に相当するものの、上述の2ケースに該当しない場合には、解像度変換部20eは、RGBの各色の画素値を用い、その濃度に応じて副走査方向の上流側に画像を偏重させる処理を行う。   On the other hand, when the target pixel corresponds to the edge portion on the downstream side in the sub-scanning direction but does not correspond to the above two cases, the resolution conversion unit 20e uses pixel values of each color of RGB, and according to the density thereof Processing to deviate the image to the upstream side in the sub-scanning direction is performed.

具体的には、上側ラインについて、解像度変換部20eは、RGBのいずれかの画素値Xが85よりも大きい場合に「FF」を設定し、当該画素値Xが85以下の場合に「3×X」を設定する。中間ラインについて、解像度変換部20eは、RGBのいずれかの画素値Xが170よりも大きい場合に「FF」を設定し、当該画素値Xが170以下の場合に「3×(X−85)」を設定する。また、下側ラインについて、解像度変換部20eは、RGBのいずれかの画素値Xが170よりも大きい場合に「3×(X−170)」を設定し、当該画素値Xが170以下の場合に「00」を設定する。   Specifically, for the upper line, the resolution conversion unit 20e sets “FF” when any pixel value X of RGB is larger than 85, and sets “3 × when the pixel value X is 85 or less. X ”is set. For the intermediate line, the resolution conversion unit 20e sets “FF” when any pixel value X of RGB is larger than 170, and “3 × (X−85)” when the pixel value X is 170 or less. "Is set. For the lower line, the resolution conversion unit 20e sets “3 × (X−170)” when any pixel value X of RGB is larger than 170, and the pixel value X is 170 or less. “00” is set in.

また、これらのいずれのケースにも該当しない場合、解像度変換部20eは、RGBそれぞれの画素値を用いて高解像度化を行う。具体的には、解像度変換部20eは、RGBの各画素値を集約した画素値Xにて、上側ライン、中間ライン、下側ラインをそれぞれ置換する。   If none of these cases is applicable, the resolution conversion unit 20e increases the resolution using the RGB pixel values. Specifically, the resolution conversion unit 20e replaces the upper line, the intermediate line, and the lower line with a pixel value X obtained by collecting RGB pixel values.

このような解像度変換処理を通じ、解像度変換部20eは、エッジ判定部20bの判定結果と、色判定部20dの判定結果とに基づいて、1ライン分の画像データによって現される画像の副走査方向幅を補正する。そして、本処理を終了する(END)。   Through such a resolution conversion process, the resolution conversion unit 20e, based on the determination result of the edge determination unit 20b and the determination result of the color determination unit 20d, the sub-scanning direction of the image represented by the image data for one line Correct the width. Then, this process ends (END).

このように本実施形態において、画像形成装置1における画像読取装置10は、光源ユニット15と、CCD制御部19と、画像処理部20とを有している。ここで、光源ユニット15は、1ライン分の読取動作に対応して、それぞれが異なる色からなるRGBの光源15R,15G,15Bを順次点灯し、副走査方向に相対移動する原稿D(読取画像)に各色の光を順次照射する。CCD制御部19は、読取画像に作用した各色の光をイメージセンサCCDで順次読み取り、各色の画像データを出力する(センサ制御部)。画像処理部20は、CCD制御部19から1ライン分の読取動作に対応する3つの画像データ(RGBの画像データ)を入力し、これらの画像データに基づいて1ライン分の画像データを生成する。   As described above, in the present embodiment, the image reading apparatus 10 in the image forming apparatus 1 includes the light source unit 15, the CCD control unit 19, and the image processing unit 20. Here, the light source unit 15 sequentially turns on the RGB light sources 15R, 15G, and 15B each having a different color in response to the reading operation for one line, and the original D (read image) that relatively moves in the sub-scanning direction. ) Are sequentially irradiated with light of each color. The CCD control unit 19 sequentially reads the light of each color that has acted on the read image by the image sensor CCD, and outputs image data of each color (sensor control unit). The image processing unit 20 receives three image data (RGB image data) corresponding to a reading operation for one line from the CCD control unit 19 and generates image data for one line based on these image data. .

画像処理部20は、エッジ判定部20bと、色判定部20dと、解像度変換部20eとを主体に構成されている。ここで、エッジ判定部20bは、1ライン分の読取動作に対応する各色の画素を対象として、当該対象画素が、副走査方向の上流側のエッジ部に相当するか、副走査方向の下流側のエッジ部に相当するか、非エッジ部に相当するかを判定する。色判定部20dは、対象画素の色ずれの方向を判定するとともに(色ずれ判定部)、対象画素に関する各色の画素値と対象画素がカラーかそれとも黒かを区別する色黒判定条件とに基づいて、対象画素が黒であるか否かの色黒判定を行う(色黒判定部)。解像度変換部20eは、色判定部20dにより対象画素が黒と判定された場合、エッジ判定部20bの判定結果と、色判定部20d(色ずれ判定部)の判定結果とに基づいて、1ライン分の画像データによって現される画像の副走査方向幅を補正する(補正部)。   The image processing unit 20 is mainly configured by an edge determination unit 20b, a color determination unit 20d, and a resolution conversion unit 20e. Here, for each color pixel corresponding to the reading operation for one line, the edge determination unit 20b corresponds to the upstream edge portion in the sub-scanning direction or the downstream side in the sub-scanning direction. It is determined whether it corresponds to a non-edge portion. The color determination unit 20d determines the direction of color shift of the target pixel (color shift determination unit), and based on the pixel value of each color related to the target pixel and the color black determination condition for distinguishing whether the target pixel is color or black. Then, the color black / white determination of whether or not the target pixel is black is performed (color black determination unit). When the target pixel is determined to be black by the color determination unit 20d, the resolution conversion unit 20e performs one line based on the determination result of the edge determination unit 20b and the determination result of the color determination unit 20d (color shift determination unit). The width in the sub-scanning direction of the image represented by the image data is corrected (correction unit).

1ライン分の読取範囲の中で読取画像にどのような欠け(白部分)が生じているかは、エッジ部の傾向と、その色ずれの方向とから把握することができる。このため、エッジ判定部20bの判定結果と、色判定部20dの色ずれの判定結果とを参照することで、読取画像の線幅と対応するように、1ライン分の画像データによって現される画像の副走査方向幅を補正することができる。これにより、画像の線幅が拡張したり、重心位置がずれたりすることを抑制することができる。その結果、画質低下を抑制することができる。   It can be understood from the tendency of the edge portion and the direction of the color misregistration what kind of chipping (white portion) occurs in the read image within the reading range for one line. Therefore, by referring to the determination result of the edge determination unit 20b and the determination result of color misregistration of the color determination unit 20d, it is represented by the image data for one line so as to correspond to the line width of the read image. The sub-scanning direction width of the image can be corrected. Thereby, it can suppress that the line width of an image expands or a gravity center position shifts | deviates. As a result, deterioration in image quality can be suppressed.

また、本実施形態において、画像処理部20は、エッジ判定部20bの判定結果に基づいて色黒判定条件の設定を行うことで、色判定部20d(色黒判定部)によって黒と判定される判定幅を切り替える条件切替部をさらに有している。   In the present embodiment, the image processing unit 20 sets the color black determination condition based on the determination result of the edge determination unit 20b, so that the color determination unit 20d (color black determination unit) determines black. It further has a condition switching unit for switching the determination width.

この構成によれば、対象画素に対するエッジ部の判定結果に基づいて、色黒判定条件が適宜の条件に設定される。この設定により、色判定部20dによって黒と判定される判定幅が切り替えられることとなるので、色ずれが発生するようなケースでは、そのエッジ部に相当する対象画素が黒と判定されるように調整される。これにより、画像の副走査方向幅を適切に補正することができるので、画質低下を抑制することができる。   According to this configuration, the color black determination condition is set to an appropriate condition based on the determination result of the edge portion with respect to the target pixel. With this setting, the determination range determined to be black by the color determination unit 20d is switched. Therefore, in a case where color misregistration occurs, the target pixel corresponding to the edge portion is determined to be black. Adjusted. Thereby, since the sub-scanning direction width of the image can be appropriately corrected, it is possible to suppress deterioration in image quality.

また、本実施形態において、解像度変換部20eは、1ライン分の画像データを副走査方向に高解像度化し、エッジ判定部20bの判定結果と色判定部(色ずれ判定部)20dの判定結果とに応じて、副走査方向の上流側又は副走査方向の下流側に画像を偏重させる。   Further, in the present embodiment, the resolution conversion unit 20e increases the resolution of the image data for one line in the sub-scanning direction, and determines the determination result of the edge determination unit 20b and the determination result of the color determination unit (color misregistration determination unit) 20d. Accordingly, the image is biased to the upstream side in the sub-scanning direction or the downstream side in the sub-scanning direction.

特に、解像度変換部20eは、副走査方向の上流側のエッジ部が判定され、かつ複数の光源のうち点灯順序の早い光源に起因する色方向の色ずれが判定された場合には、副走査方向の下流側に画像を偏重させる。また、解像度変換部20eは、副走査方向の下流側のエッジ部が判定され、かつ複数の光源のうち点灯順序の遅い光源に起因する色方向の色ずれが判定された場合には、副走査方向の上流側に画像を偏重させる。   In particular, the resolution conversion unit 20e determines that the upstream edge portion in the sub-scanning direction is determined, and if the color misregistration in the color direction due to the light source with the earlier lighting order among the plurality of light sources is determined, The image is deviated downstream in the direction. Also, the resolution conversion unit 20e determines that the downstream edge portion in the sub-scanning direction is determined, and if the color misregistration in the color direction due to the light source with the slow lighting order among the plurality of light sources is determined, The image is biased upstream in the direction.

この構成によれば、1ライン分の画像データを副走査方向に高解像度化することで、画像の副走査方向の幅を調整することができる。このため、上流側又は下流側に画像を偏重させることが可能となる。これにより、読取画像に応じた線幅を再現することができるので、画像の線幅が拡張したり、重心位置がずれたりするといった違和感を抑制することができる。この結果、画質低下を抑制することができる。   According to this configuration, it is possible to adjust the width of the image in the sub-scanning direction by increasing the resolution of the image data for one line in the sub-scanning direction. For this reason, it is possible to deviate the image to the upstream side or the downstream side. Thereby, since the line width according to the read image can be reproduced, it is possible to suppress the uncomfortable feeling that the line width of the image is expanded or the position of the center of gravity is shifted. As a result, image quality deterioration can be suppressed.

(第2の実施形態)
以下、第2の実施形態に係る画像形成装置1について説明する。この画像形成装置1が第1の実施形態のそれと相違する点は、画像読取装置10に適用される画像処理部20による画像処理の方法である。なお、第1の実施形態と共通する点については説明を省略し、以下、相違点を中心に説明を行う。
(Second Embodiment)
The image forming apparatus 1 according to the second embodiment will be described below. The image forming apparatus 1 is different from that of the first embodiment in an image processing method by the image processing unit 20 applied to the image reading apparatus 10. In addition, description is abbreviate | omitted about the point which is common in 1st Embodiment, and it demonstrates centering around difference below.

第1の実施形態では、解像度変換部20eは、1ライン分の画像データを上側、中間、下側の3つのラインに細分化することで(解像度変換処理)、1800dpi相当の解像度へと変換した。本実施形態では、解像度変換部20eは、1ライン分の画像データを上側、下側の2つのラインに細分化することで、1200dpi相当の解像度へと変換することとしている。ここで、図8は、解像度変換処理の概念を示す説明図である。なお、図8において、画素値は「00」が白、「FF」が黒と仮定する。   In the first embodiment, the resolution conversion unit 20e converts the image data for one line into a resolution equivalent to 1800 dpi by subdividing the image data into upper, middle, and lower lines (resolution conversion processing). . In this embodiment, the resolution conversion unit 20e converts the image data for one line into two upper and lower lines, thereby converting the image data into a resolution equivalent to 1200 dpi. Here, FIG. 8 is an explanatory diagram showing the concept of resolution conversion processing. In FIG. 8, it is assumed that the pixel value “00” is white and “FF” is black.

まず、対象画素が副走査方向の上流側のエッジ部に相当し、かつ、色判定部20dにより黒と判定された場合について説明する。このケースでは、解像度変換部20eは、副走査方向の下流側に画像を偏重させる処理を行う。   First, a case where the target pixel corresponds to the upstream edge portion in the sub-scanning direction and is determined to be black by the color determination unit 20d will be described. In this case, the resolution conversion unit 20e performs a process of biasing the image downstream in the sub-scanning direction.

第1のケースとして、対象画素が赤(R)方向に色ずれしている場合、解像度変換部20eは、下側の1ラインに画像を偏重させる処理を行う。解像度変換部20eは、1回の点灯動作に係るRGBの点灯順序のなかで2番目(真ん中)に点灯するGの画素値を用いて、各ラインにデータを展開する。   As a first case, when the target pixel is color-shifted in the red (R) direction, the resolution conversion unit 20e performs a process of biasing the image to the lower one line. The resolution conversion unit 20e develops data on each line by using the G pixel value that is lighted second (middle) in the RGB lighting order related to one lighting operation.

具体的には、下側ラインについて、解像度変換部20eは「FF」を設定する。上側ラインについて、解像度変換部20eは、Gの画素値Xが128以上である場合に「2×(X−128)」を設定し、Gの画素値Xが125よりも小さい場合に「00」を設定する。   Specifically, the resolution conversion unit 20e sets “FF” for the lower line. For the upper line, the resolution conversion unit 20e sets “2 × (X−128)” when the G pixel value X is 128 or more, and “00” when the G pixel value X is smaller than 125. Set.

第2のケースとして、対象画素が黄(Y)方向に色ずれしている場合、解像度変換部20eは、下側の1ラインに画像を偏重させる処理を行う。解像度変換部20eは、1回の点灯動作に係るRGBの点灯順序のなかで2番目(真ん中)に点灯するGの画素値を用いて、各ラインにデータを展開する。   As a second case, when the target pixel is color-shifted in the yellow (Y) direction, the resolution conversion unit 20e performs a process of biasing the image to one lower line. The resolution conversion unit 20e develops data on each line by using the G pixel value that is lighted second (middle) in the RGB lighting order related to one lighting operation.

具体的には、下側ラインについて、解像度変換部20eは、Gの画素値Xが128以上である場合に「FF」を設定し、Gの画素値Xが128よりも小さい場合に「2×X」を設定する。上側ラインについて、解像度変換部20eは「00」を設定する。   Specifically, for the lower line, the resolution conversion unit 20e sets “FF” when the G pixel value X is 128 or more, and sets “2 ×” when the G pixel value X is smaller than 128. X ”is set. For the upper line, the resolution conversion unit 20e sets “00”.

一方、対象画素が副走査方向の上流側のエッジ部に相当するものの、上述の2ケースに該当しない場合には、解像度変換部20eは、RGBの各色の画素値を用い、その濃度に応じて副走査方向の下流側に画像を偏重させる処理を行う。   On the other hand, if the target pixel corresponds to the edge portion on the upstream side in the sub-scanning direction but does not correspond to the above two cases, the resolution conversion unit 20e uses the pixel values of each color of RGB, and according to the density thereof Processing to deviate the image downstream in the sub-scanning direction is performed.

具体的には、下側ラインについて、解像度変換部20eは、RGBのいずれかの画素値Xが128以上の場合に「FF」を設定し、Gの画素値Xが128よりも小さい場合に「2×X」を設定する。また、上側ラインについて、解像度変換部20eは、RGBの画素値Xが128以上の場合に「2×(X−128)」を設定し、RGBの画素値Xが128よりも小さい場合に「00」を設定する。   Specifically, for the lower line, the resolution conversion unit 20e sets “FF” when any of the RGB pixel values X is 128 or more, and sets “FF” when the G pixel value X is smaller than 128. 2 × X ”is set. For the upper line, the resolution conversion unit 20e sets “2 × (X−128)” when the RGB pixel value X is 128 or more, and sets “00” when the RGB pixel value X is smaller than 128. "Is set.

これに対して、対象画素が副走査方向の下流側のエッジ部に相当し、かつ、色判定部20dにより黒と判定された場合について説明する。このケースでは、副走査方向の上流側に画像を偏重させる処理を行う。   In contrast, a case will be described in which the target pixel corresponds to a downstream edge portion in the sub-scanning direction and is determined to be black by the color determination unit 20d. In this case, processing is performed to deviate the image upstream in the sub-scanning direction.

第1のケースとして、対象画素がシアン(C)方向に色ずれしている場合、解像度変換部20eは、上側の1ラインに画像を偏重させる処理を行う。この場合、解像度変換部20eは、1回の点灯動作に係るRGBの点灯順序のなかで2番目(真ん中)に点灯するGの画素値を用いて、各ラインにデータを展開する。   As a first case, when the target pixel is color-shifted in the cyan (C) direction, the resolution conversion unit 20e performs a process of biasing the image to the upper one line. In this case, the resolution conversion unit 20e develops data on each line using the G pixel value that is lighted second (middle) in the RGB lighting order related to one lighting operation.

具体的には、下側ラインについて、解像度変換部20eは「00」を設定する。上側ラインについて、解像度変換部20eは、Gの画素値Xが128以上である場合に「FF」を設定し、Gの画素値Xが128よりも小さい場合に「2×X」を設定する。   Specifically, the resolution conversion unit 20e sets “00” for the lower line. For the upper line, the resolution conversion unit 20e sets “FF” when the G pixel value X is 128 or more, and sets “2 × X” when the G pixel value X is smaller than 128.

第2のケースとして、対象画素が青(B)方向に色ずれしている場合、解像度変換部20eは、上側の1ラインに黒領域を偏重させる処理を行う。解像度変換部20eは、1回の点灯動作に係るRGBの点灯順序のなかで2番目(真ん中)に点灯するGの画素値を用いて、各ラインにデータを展開する。   As a second case, when the target pixel is color-shifted in the blue (B) direction, the resolution conversion unit 20e performs a process of biasing the black region to the upper one line. The resolution conversion unit 20e develops data on each line by using the G pixel value that is lighted second (middle) in the RGB lighting order related to one lighting operation.

具体的には、上側ラインについて、解像度変換部20eは「FF」を設定する。下側ラインについて、解像度変換部20eは、Gの画素値Xが128以上である場合に「2×X」を設定し、Gの画素値Xが128よりも小さい場合に「00」を設定する。   Specifically, the resolution conversion unit 20e sets “FF” for the upper line. For the lower line, the resolution conversion unit 20e sets “2 × X” when the G pixel value X is 128 or more, and sets “00” when the G pixel value X is smaller than 128. .

一方、対象画素が副走査方向の下流側のエッジ部に相当するものの、上述の2ケースに該当しない場合には、解像度変換部20eは、RGBの各色の画素値を用い、その濃度に応じて副走査方向の上流側に画像を偏重させる処理を行う。   On the other hand, when the target pixel corresponds to the edge portion on the downstream side in the sub-scanning direction but does not correspond to the above two cases, the resolution conversion unit 20e uses pixel values of each color of RGB, and according to the density thereof Processing to deviate the image to the upstream side in the sub-scanning direction is performed.

具体的には、上側ラインについて、解像度変換部20eは、RGBのいずれかの画素値Xが128以上の場合に「FF」を設定し、当該画素値Xが128よりも小さい場合に「2×X」を設定する。また、下側ラインについて、解像度変換部20eは、RGBの画素値Xが128以上の場合に「2×X」を設定し、当該Xが128よりも小さい場合に「00」を設定する。   Specifically, for the upper line, the resolution conversion unit 20e sets “FF” when any of the RGB pixel values X is 128 or more, and sets “2 ×” when the pixel value X is smaller than 128. X ”is set. For the lower line, the resolution conversion unit 20e sets “2 × X” when the RGB pixel value X is 128 or more, and sets “00” when the X is smaller than 128.

また、これらのいずれのケースにも該当しない場合、解像度変換部20eは、RGBそれぞれの画素値を用いて高解像度化を行う。具体的には、解像度変換部20eは、RGBの各画素値を集約した画素値Xにて、上側ライン、下側ラインをそれぞれ置換する。   If none of these cases is applicable, the resolution conversion unit 20e increases the resolution using the RGB pixel values. Specifically, the resolution conversion unit 20e replaces the upper line and the lower line with a pixel value X obtained by collecting RGB pixel values.

上述のように、1ライン分の読取範囲の中で読取画像にどのような欠け(白部分)が生じているかは、エッジ部の傾向と、その色ずれの方向とから把握することができる。このため、エッジ判定部20bの判定結果と、色判定部20dの色ずれの判定結果とを参照することで、読取画像の線幅と対応するように、1ライン分の画像データによって現される画像の副走査方向幅を補正することができる。これにより、画像の線幅が拡張したり、重心位置がずれたりすることを抑制することができる。その結果、画質低下を抑制することができる。   As described above, what kind of chipping (white portion) occurs in the read image within the reading range for one line can be grasped from the tendency of the edge portion and the direction of the color shift. Therefore, by referring to the determination result of the edge determination unit 20b and the determination result of color misregistration of the color determination unit 20d, it is represented by the image data for one line so as to correspond to the line width of the read image. The sub-scanning direction width of the image can be corrected. Thereby, it can suppress that the line width of an image expands or a gravity center position shifts | deviates. As a result, deterioration in image quality can be suppressed.

以上、本発明の実施形態に画像形成装置及び画像読取装置について説明したが、本発明は上述した実施形態に限定されることなく、その発明の範囲内において種々の変形が可能であることはいうまでもない。また、上述した画像処理(エッジ判定部、色判定部、条件切替部に関する処理)を行う画像処理装置それ自体も本発明の一部として機能する。   Although the image forming apparatus and the image reading apparatus have been described in the embodiments of the present invention, the present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the invention. Not too long. The image processing apparatus itself that performs the above-described image processing (processing related to the edge determination unit, the color determination unit, and the condition switching unit) also functions as part of the present invention.

さらに、上述した各実施形態では、光源ユニットにRGBの3つの光源を用いるとともに、RGBの順番で点灯を行っている。しかしながら、光源の種類、光源の数、その点灯順序が異なるものであってもよい。ここで、上述した色ずれは光源の色の種類やその点灯順序に起因するものであり、光源の種類、光源の数、その点灯順序が異なる場合であっても、同様な原理にて本発明を利用することができる。   Further, in each of the above-described embodiments, three light sources of RGB are used for the light source unit, and lighting is performed in the order of RGB. However, the types of light sources, the number of light sources, and the lighting order may be different. Here, the color shift described above is caused by the type of light source color and the lighting order thereof. Even when the type of light source, the number of light sources, and the lighting order thereof are different, the present invention is based on the same principle. Can be used.

また、本実施形態では、RGBの各画素値をCbCr色空間に変換している。しかしながら、CbCr色空間以外の別の色空間であってもよいし、RGBのままで色黒判定を行ってもよい。   In the present embodiment, RGB pixel values are converted into the CbCr color space. However, another color space other than the CbCr color space may be used, and the color black determination may be performed with RGB as it is.

1 画像形成装置
10 画像読取装置
15 光源ユニット
16 CPU
17 ROM
18 RAM
19 CCD制御部
20 画像処理部
20a ライン間補正部
20b エッジ判定部
20c 条件切替部
20d 色判定部
20e 解像度変換部
21 画像メモリー
30Y,30M,30C,30K 画像形成部
50 定着装置
70 制御部
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 10 Image reader 15 Light source unit 16 CPU
17 ROM
18 RAM
DESCRIPTION OF SYMBOLS 19 CCD control part 20 Image processing part 20a Line correction part 20b Edge determination part 20c Condition switching part 20d Color determination part 20e Resolution conversion part 21 Image memory 30Y, 30M, 30C, 30K Image formation part 50 Fixing device 70 Control part

Claims (5)

1ライン分の読取動作に対応してそれぞれが異なる色の光を照射する複数の光源を順次点灯する点灯動作を行うとともに副走査方向に相対移動する読取画像に作用した各色の光をイメージセンサによって順次読み取ることで得られる各色の画像データを入力し、1ライン分の画像データを生成する画像処理装置において、
前記1ライン分の読取動作に対応する各色の画素を対象として、当該対象画素が、副走査方向の上流側のエッジ部に相当するか、副走査方向の下流側のエッジ部に相当するか、非エッジ部に相当するかを判定するエッジ判定部と、
前記対象画素の色ずれの方向を判定する色ずれ判定部と、
前記対象画素に関する各色の画素値と、前記対象画素がカラーかそれとも黒かを区別する色黒判定条件とに基づいて、前記対象画素が黒であるか否かの色黒判定を行う色黒判定部と、
前記色黒判定部により前記対象画素が黒と判定された場合、前記エッジ判定部の判定結果と、前記色ずれ判定部の判定結果とに基づいて、前記1ライン分の画像データによって現される画像の副走査方向幅を補正する補正部と、
を有することを特徴とする画像処理装置。
Corresponding to the reading operation for one line, a lighting operation is performed to sequentially turn on a plurality of light sources that emit light of different colors, and light of each color that has acted on a read image that is relatively moved in the sub-scanning direction is detected by an image sensor. In an image processing apparatus for inputting image data of each color obtained by sequentially reading and generating image data for one line,
For each color pixel corresponding to the reading operation for one line, whether the target pixel corresponds to the upstream edge portion in the sub-scanning direction or the downstream edge portion in the sub-scanning direction, An edge determination unit that determines whether it corresponds to a non-edge part;
A color misregistration determination unit that determines a direction of color misregistration of the target pixel;
Color black determination for performing color black determination as to whether or not the target pixel is black based on a pixel value of each color relating to the target pixel and a color black determination condition for distinguishing whether the target pixel is color or black And
When the target pixel is determined to be black by the color black determination unit, it is represented by the image data for one line based on the determination result of the edge determination unit and the determination result of the color misregistration determination unit. A correction unit for correcting the sub-scanning direction width of the image;
An image processing apparatus comprising:
前記エッジ判定部の判定結果に基づいて前記色黒判定条件の設定を行うことで、前記色黒判定部によって黒と判定される判定幅を切り替える条件切替部をさらに有することを特徴とする請求項1に記載された画像処理装置。   The color black / black determination condition is set based on a determination result of the edge determination unit, and further includes a condition switching unit that switches a determination width determined as black by the color black determination unit. The image processing apparatus according to 1. 前記補正部は、前記1ライン分の画像データを副走査方向に高解像度化し、前記エッジ判定部の判定結果と前記色ずれ判定部の判定結果とに応じて、副走査方向の上流側又は副走査方向の下流側に画像を偏重させることを特徴とする請求項1又は2に記載された画像処理装置。   The correction unit increases the resolution of the image data for the one line in the sub-scanning direction, and the upstream side or the sub-scanning direction in the sub-scanning direction according to the determination result of the edge determination unit and the determination result of the color misregistration determination unit. The image processing apparatus according to claim 1, wherein the image is deviated toward a downstream side in the scanning direction. 前記補正部は、
前記副走査方向の上流側のエッジ部が判定され、かつ前記複数の光源のうち点灯順序の早い光源に起因する色方向の色ずれが判定された場合には、副走査方向の下流側に画像を偏重させ、
前記副走査方向の下流側のエッジ部が判定され、かつ前記複数の光源のうち点灯順序の遅い光源に起因する色方向の色ずれが判定された場合には、副走査方向の上流側に画像を偏重させることを特徴とする請求項3に記載された画像処理装置。
The correction unit is
If an edge portion on the upstream side in the sub-scanning direction is determined and color misregistration in the color direction due to a light source with a fast lighting order among the plurality of light sources is determined, an image is displayed downstream in the sub-scanning direction. Is biased,
If the edge portion on the downstream side in the sub-scanning direction is determined and color misregistration in the color direction caused by a light source with a slow lighting order among the plurality of light sources is determined, an image is displayed on the upstream side in the sub-scanning direction. The image processing apparatus according to claim 3, wherein the image processing apparatus is biased.
1ライン分の読取動作に対応して、それぞれが異なる色からなる複数の光源を順次点灯して副走査方向に相対移動する読取画像に各色の光を順次照射する光源ユニットと、
前記読取画像に作用した各色の光をイメージセンサで順次読み取り、前記複数の光源に対応する各色の画像データを出力するセンサ制御部と、
前記各色の画像データを入力し、1ライン分の画像データを生成する画像処理部と、を有し、
前記画像処理部は、
前記1ライン分の読取動作に対応する各色の画素を対象として、当該対象画素が、副走査方向の上流側のエッジ部に相当するか、副走査方向の下流側のエッジ部に相当するか、非エッジ部に相当するかを判定するエッジ判定部と、
前記対象画素の色ずれの方向を判定する色ずれ判定部と、
前記対象画素に関する各色の画素値と、前記対象画素がカラーかそれとも黒かを区別する色黒判定条件とに基づいて、前記対象画素が黒であるか否かの色黒判定を行う色黒判定部と、
前記色黒判定部により前記対象画素が黒と判定された場合、前記エッジ判定部の判定結果と、前記色ずれ判定部の判定結果とに基づいて、前記1ライン分の画像データによって現される画像の副走査方向幅を補正する補正部と、
を有することを特徴とする画像読取装置。
Corresponding to the reading operation for one line, a light source unit that sequentially turns on a plurality of light sources each having a different color and irradiates light of each color sequentially to a read image that relatively moves in the sub-scanning direction;
A sensor control unit that sequentially reads light of each color that has acted on the read image with an image sensor, and outputs image data of each color corresponding to the plurality of light sources;
An image processing unit that inputs the image data of each color and generates image data for one line;
The image processing unit
For each color pixel corresponding to the reading operation for one line, whether the target pixel corresponds to the upstream edge portion in the sub-scanning direction or the downstream edge portion in the sub-scanning direction, An edge determination unit that determines whether it corresponds to a non-edge part;
A color misregistration determination unit that determines a direction of color misregistration of the target pixel;
Color black determination for performing color black determination as to whether or not the target pixel is black based on a pixel value of each color relating to the target pixel and a color black determination condition for distinguishing whether the target pixel is color or black And
When the target pixel is determined to be black by the color black determination unit, it is represented by the image data for one line based on the determination result of the edge determination unit and the determination result of the color misregistration determination unit. A correction unit for correcting the sub-scanning direction width of the image;
An image reading apparatus comprising:
JP2014221489A 2014-10-30 2014-10-30 Image processing system and image reader Pending JP2016092475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014221489A JP2016092475A (en) 2014-10-30 2014-10-30 Image processing system and image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014221489A JP2016092475A (en) 2014-10-30 2014-10-30 Image processing system and image reader

Publications (1)

Publication Number Publication Date
JP2016092475A true JP2016092475A (en) 2016-05-23

Family

ID=56019762

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014221489A Pending JP2016092475A (en) 2014-10-30 2014-10-30 Image processing system and image reader

Country Status (1)

Country Link
JP (1) JP2016092475A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020145615A (en) * 2019-03-07 2020-09-10 株式会社Pfu Image processing device, image processing method, and image processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020145615A (en) * 2019-03-07 2020-09-10 株式会社Pfu Image processing device, image processing method, and image processing program
JP7169231B2 (en) 2019-03-07 2022-11-10 株式会社Pfu Image processing device, image processing method, and image processing program

Similar Documents

Publication Publication Date Title
JP5771556B2 (en) Image reading apparatus and image forming apparatus
JP6131964B2 (en) Image processing device
JP6123736B2 (en) Image forming apparatus and exposure position adjusting method
JP2007142804A (en) Device and method for deciding original, device for reading original, and device for forming image
JP5895636B2 (en) Image evaluation apparatus, image forming system, and program
JP2007020111A (en) Image forming apparatus and image density correcting method
JP5481435B2 (en) Image reading apparatus and image forming apparatus
JP2016092475A (en) Image processing system and image reader
JP6442985B2 (en) Image processing apparatus and image reading apparatus
US9197787B2 (en) Image reading device, image forming apparatus, and image reading method
US9531913B1 (en) Image processing apparatus and method for generating correction formula
JP2017072632A (en) Image reading device and image formation system
JP4928597B2 (en) Image reading apparatus, image processing apparatus, image forming apparatus, system thereof, and control method thereof
JP2005333590A (en) Image reading apparatus, image reading method, and image forming apparatus
JP2007019854A (en) Image processing apparatus and image processing method
JP2019219483A (en) Image processor and image processing program
JP6197566B2 (en) Image forming apparatus
JP2006005592A (en) Image scanner, image reading method, and image forming apparatus
JP7180674B2 (en) Image processing device
JP5027831B2 (en) Image reading apparatus, image forming apparatus, and noise contamination factor detection method
US9998630B2 (en) Image reading device and method, and image forming apparatus, with pixel value correction based on estimated image data of non-reading region
JP6795025B2 (en) Image forming device
JP6747406B2 (en) Image reading apparatus, image forming apparatus, and method of setting correction target pixel
JP4653042B2 (en) Document reading apparatus and image forming apparatus having the same
JP2001326794A (en) Image reading apparatus