JP6442985B2 - Image processing apparatus and image reading apparatus - Google Patents

Image processing apparatus and image reading apparatus Download PDF

Info

Publication number
JP6442985B2
JP6442985B2 JP2014221488A JP2014221488A JP6442985B2 JP 6442985 B2 JP6442985 B2 JP 6442985B2 JP 2014221488 A JP2014221488 A JP 2014221488A JP 2014221488 A JP2014221488 A JP 2014221488A JP 6442985 B2 JP6442985 B2 JP 6442985B2
Authority
JP
Japan
Prior art keywords
color
light source
black
determination condition
determined
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.)
Active
Application number
JP2014221488A
Other languages
Japanese (ja)
Other versions
JP2016092474A (en
Inventor
秀之 鳥山
秀之 鳥山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2014221488A priority Critical patent/JP6442985B2/en
Publication of JP2016092474A publication Critical patent/JP2016092474A/en
Application granted granted Critical
Publication of JP6442985B2 publication Critical patent/JP6442985B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

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, and the image signal is digitally converted and input to the image processing unit as image data. Then, the image processing unit generates image data for one line by collecting the pixel values of each color of RGB.

例えば特許文献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

この類の画像読取装置では、原稿上における各色の読取位置が副走査方向に異なるため、画像のエッジ部において色ずれが発生し、画質低下が発生するという問題がある。   In this type of image reading apparatus, since the reading position of each color on the document is different in the sub-scanning direction, there is a problem in that color misregistration occurs at the edge portion of the image and image quality deteriorates.

本発明はかかる事情に鑑みてなされたものであり、その目的は、画質低下を抑制することができる画像処理装置及び画像読取装置を提供する。   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ライン分の読取動作に対応する各色の画素を対象として、当該対象画素が、副走査方向の上流側のエッジ部に相当するか、副走査方向の下流側のエッジ部に相当するか、非エッジ部に相当するかを判定するエッジ判定部と、対象画素に関する各色の画素値と、対象画素がカラーかそれとも黒かを区別する色黒判定条件とに基づいて、対象画素が黒であるか否かの色黒判定を行う色黒判定部と、エッジ判定部の判定結果に基づいて色黒判定条件の設定を行うことで、色黒判定部によって黒と判定される判定幅を切り替える条件切替部と、を有している。   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. Here, for each color pixel corresponding to the reading operation for one line, the image processing apparatus corresponds to the upstream edge portion in the sub-scanning direction or the downstream side in the sub-scanning direction. Based on an edge determination unit that determines whether it corresponds to an edge portion or a non-edge portion, a pixel value of each color related to the target pixel, and a color black determination condition that distinguishes whether the target pixel is color or black The color black determination unit that determines whether the target pixel is black and the color black determination condition are set based on the determination result of the edge determination unit. And a condition switching unit that switches the determination range.

ここで、第1の発明において、条件切替部は、非エッジ部に相当すると判定された場合に用いる標準の色黒判定条件と、副走査方向の上流側のエッジ部に相当すると判定された場合に用いる色黒判定条件であって、複数の光源のうち点灯順序の早い光源の色に起因する色相を、標準の色黒判定条件よりも黒と判定するように設定された第1の色黒判定条件と、副走査方向の下流側のエッジ部に相当すると判定された場合に用いる色黒判定条件であって、複数の光源のうち点灯順序の遅い光源の色に起因する色相を、標準の色黒判定条件よりも黒と判定するように設定された第2の色黒判定条件と、を有していることが好ましい。この場合、点灯順序の早い光源は、少なくとも最も遅く点灯する光源を除いた1以上の光源であり、点灯順序の遅い光源は、少なくとも最も早く点灯する光源を除いた1以上の光源であることが望ましい。 Here, in the first invention, when the condition switching unit is determined to correspond to the standard color black determination condition used when it is determined to correspond to the non-edge portion and to the upstream edge portion in the sub-scanning direction. The color black determination condition used for the first color black that is set so that the hue caused by the color of the light source with the earlier lighting order among the plurality of light sources is determined to be black than the standard color black determination condition The determination condition and the color black determination condition used when it is determined to correspond to the downstream edge portion in the sub-scanning direction, and the hue caused by the color of the light source whose lighting order is slow among the plurality of light sources It is preferable to have a second color black determination condition set so as to determine black rather than the color black determination condition. In this case, the light source with the earliest lighting order is at least one light source excluding the light source that lights up at the latest, and the light source with the slow lighting order is at least one light source except at least the light source that lights up at the earliest. desirable.

また、第1の発明において、条件切替部は、非エッジ部に相当すると判定された場合に用いる標準の色黒判定条件と、副走査方向の上流側のエッジ部及び副走査方向の下流側のエッジ部に相当すると判定された場合に用いる色黒判定条件であって、複数の光源のうち点灯順序の真ん中の光源の色に起因する色相、及び、複数の光源のうち点灯順序の早い光源と点灯順序の遅い光源との色に起因する色相を、標準の色黒判定条件よりもカラーと判定するように設定された第3の色黒判定条件と、を有していることが好ましい。この場合、複数の光源は、3つの光源から構成され、点灯順序の真ん中の光源は、2番目に点灯する光源であることが望ましい。また、点灯順序の早い光源は、少なくとも最も遅く点灯する光源を除いた1以上の光源であり、点灯順序の遅い光源は、少なくとも最早く点灯する光源を除いた1以上の光源であることが望ましい。 In the first aspect of the invention, the condition switching unit includes a standard black / black determination condition used when it is determined to correspond to a non-edge portion, an upstream edge portion in the sub-scanning direction, and a downstream side in the sub-scanning direction. It is a color black determination condition used when it is determined that it corresponds to the edge part, and the hue caused by the color of the light source in the middle of the lighting order among the plurality of light sources, and the light source with the fast lighting order among the plurality of light sources It is preferable to have a third color black determination condition set so that the hue caused by the color of the light source with a slow lighting order is determined to be a color rather than the standard color black determination condition. In this case, the plurality of light sources are preferably composed of three light sources, and the light source in the middle of the lighting order is preferably the light source that lights second. Further, it is desirable that the light source with the fast turn-on order is at least one light source except the light source that is turned on at the latest, and the light source with the slow turn-on order is at least one light source except at least the light source that is turned on at the earliest. .

また、第1の発明において、条件切替部は、非エッジ部に相当すると判定された場合に用いる標準の色黒判定条件と、副走査方向の上流側のエッジ部に相当すると判定された場合に用いる色黒判定条件であって、複数の光源のうち点灯順序の遅い光源の色に起因する色相を、標準の色黒判定条件よりもカラーと判定するように設定された第4の色黒判定条件と、副走査方向の下流側のエッジ部に相当すると判定された場合に用いる色黒判定条件であって、複数の光源のうち点灯順序の早い光源の色に起因する色相を、標準の色黒判定条件よりもカラーと判定するように設定された第5の色黒判定条件と、を有していることが好ましい。この場合、点灯順序の早い光源は、少なくとも最も遅く点灯する光源を除いた1以上の光源であり、点灯順序の遅い光源は、少なくとも最も早く点灯する光源を除いた1以上の光源であることが望ましい。 In the first invention, when the condition switching unit is determined to correspond to a standard color black determination condition used when it is determined to correspond to a non-edge portion and to an edge portion on the upstream side in the sub-scanning direction. Fourth color black determination that is set to determine the hue that is caused by the color of the light source that is lighted up late among the plurality of light sources as the color black determination condition to be used is determined to be a color than the standard color black determination condition. This is a color black determination condition used when it is determined that the condition corresponds to the downstream edge portion in the sub-scanning direction, and the hue caused by the color of the light source with the earlier lighting order among the plurality of light sources is changed to the standard color. It is preferable to have a fifth color black determination condition set so as to determine a color rather than a black determination condition. In this case, the light source with the earliest lighting order is at least one light source excluding the light source that lights up at the latest, and the light source with the slow lighting order is at least one light source except at least the light source that lights up at the earliest. desirable.

さらに、第1の発明は、色黒判定部により黒と判定された対象画素について、複数の光源のうち点灯順序真ん中の光源の色に対応する画素の画素値に基づいて濃度補正を行う濃度補正部をさらに有することが好ましい。この場合、複数の光源は、3つの光源から構成され、点灯順序の真ん中の光源は、2番目に点灯する光源であることが望ましい。 Further, according to the first aspect of the present invention, for the target pixel determined to be black by the color black determination unit, the density for performing density correction based on the pixel value of the pixel corresponding to the color of the light source in the middle of the lighting order among the plurality of light sources. It is preferable to further include a correction unit. In this case, the plurality of light sources are preferably composed of three light sources, and the light source in the middle of the lighting order is preferably the light source that lights second.

また、第2の発明は、1ライン分の読取動作に対応して、それぞれが異なる色からなる複数の光源を順次点灯し、副走査方向に相対移動する読取画像に各色の光を順次照射する光源ユニットと、読取画像に作用した各色の光をイメージセンサで順次読み取り、各色の画像データを出力するセンサ制御部と、各色の画像データを入力し、1ライン分の画像データを生成する画像処理部と、を有する画像読取装置を提供する。ここで、画像処理部は、1ライン分の読取動作に対応する各色の画素を対象として、当該対象画素が、副走査方向の上流側のエッジ部に相当するか、副走査方向の下流側のエッジ部に相当するか、非エッジ部に相当するかを判定するエッジ判定部と、対象画素に関する各色の画素値と、対象画素がカラーかそれとも黒かを区別する色黒判定条件とに基づいて、対象画素が黒であるか否かの色黒判定を行う色黒判定部と、エッジ判定部の判定結果に基づいて色黒判定条件の設定を行うことで、色黒判定部によって黒と判定される判定幅を切り替える条件切替部と、を有している。   According to the second aspect of the invention, in response to a reading operation for one line, a plurality of light sources each having a different color are sequentially turned on, and light of each color is sequentially irradiated onto a read image that moves relatively 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 by an image sensor, and outputs image data of each color, and image processing that inputs image data of each color and generates image data for one line And an image reading apparatus. 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. Based on an edge determination unit that determines whether it corresponds to an edge portion or a non-edge portion, a pixel value of each color related to the target pixel, and a color black determination condition that distinguishes whether the target pixel is color or black The color black determination unit that determines whether the target pixel is black and the color black determination condition are set based on the determination result of the edge determination unit. And a condition switching unit that switches the determination range.

本発明によれば、対象画素に対するエッジ部の判定結果に基づいて、色黒判定条件が適宜の条件に設定される。この設定により、色黒判定部によって黒と判定される判定幅が切り替えられることとなるので、エッジ部に相当する対象画素が黒と判定されるように調整される。これにより、エッジ部に生じる色ずれを抑制することができるので、画質低下を抑制することができる。   According to the present invention, 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 width determined to be black by the color black determination unit is switched, so that the target pixel corresponding to the edge portion is adjusted to be determined to be black. As a result, color misregistration that occurs at the edge portion can be suppressed, so that 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. 色ずれが発生する読取画像の説明図Explanatory drawing of a read image in which color misregistration occurs 第2の実施形態に係る色黒判定条件を模試的に示す説明図Explanatory drawing which shows typically the black-and-white determination condition which concerns on 2nd Embodiment. 第3の実施形態に係る色黒判定条件を模試的に示す説明図Explanatory drawing which shows typically the black-and-white determination condition which concerns on 3rd Embodiment. 第3の実施形態に係る色黒判定条件を模試的に示す説明図Explanatory drawing which shows typically the black-and-white determination condition which concerns on 3rd 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. An 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 a 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 device 10 reads an image of the document D conveyed by the conveyance drum 26. The image reading apparatus 10 irradiates the original D with the light source unit 15 at the original reading position RP. The reflected light reflected by the document D is guided by a plurality of mirrors 11, 12, and 13 and 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 performs predetermined processing on the image signal to create image data. 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 photoconductive 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 conveyance 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 black determination unit 20d, and a density correction unit 20e when this is functionally grasped.

ライン間補正部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 black determination unit 20d, and the density correction 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 black determination unit 20d performs color black determination as to whether or not the target pixel is black based on the RGB pixels related to the target pixel and the color black determination condition set by the condition switching unit 20c. In this embodiment, the color black determination unit 20d performs color black determination by converting each pixel value of RGB related to the target pixel into a predetermined color space. Specifically, the color black determination unit 20d generates CbCr color space data obtained by converting each pixel value of RGB related to the target pixel 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 black 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.

濃度補正部20eは、色黒判定部20dにより黒と判定された対象画素を、読取画像の濃度に応じた黒に置換する補正を行う。この補正は、1回の点灯動作に係るRGBの点灯順序のなかで2番目(真ん中)に点灯する色の画素値を基準に行われる。本実施形態では、R、G、Bの順序で点灯を行うため、Gの画素値の濃度に応じて対象画素が黒に置換される(濃度補正処理)。点灯順序が真ん中の色の画素値に注目する理由は、光学系のぼけ等を考慮した場合、黒画素については、点灯順序が真ん中の色、すなわち、副走査方向の重心位置の色がもっとも濃度を正しく表現していると考えられるためである。なお、対象画素がエッジ部であれば、エッジ強調処理をRGBの各画素にそれぞれ同量実施することも可能である。   The density correction unit 20e performs correction to replace the target pixel determined to be black by the color black determination unit 20d with black according to the density of the read image. This correction is performed on the basis of the pixel value of the color that lights second (middle) in the RGB lighting sequence related to one lighting operation. In this embodiment, since lighting is performed in the order of R, G, and B, the target pixel is replaced with black according to the density of the G pixel value (density correction process). The reason for paying attention to the pixel value of the color in the middle of the lighting order is that when considering blurring of the optical system, for black pixels, the color in the middle of the lighting order, that is, the color at the center of gravity in the sub-scanning direction has the highest density. It is because it is thought that it is expressing correctly. Note that if the target pixel is an edge portion, the same amount of edge enhancement processing can be performed on each of the RGB pixels.

画像メモリー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.

図5は、本実施形態に係る画像形成装置1に適用される画像読取装置10における画像処理の手順を示すフローチャートである。このフローチャートに示す処理は、1ライン分の読取動作に対応するRGBの画像データの入力に対応して、画像処理部20により実行される。また、本処理は、主走査方向の各画素について各々実行される。   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.

まず、ステップ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 corrected.

ステップ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. 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 black 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 black determination unit 20d is switched.

ステップ4(S4)において、色黒判定部20dは、対象画素に係る3つの画素値をCbCr色空間データに変換し、変換したCbCr色空間データと、ステップ3で設定した色黒判定条件とを比較する。そして、色黒判定部20dは、CbCr色空間データ(対象画素)がカラーか、それとも黒かを判定する。この処理では、CbCr色空間データが、ステップ3で設定した色黒判定条件の内側に含まれていれば、そのデータを黒と判定する。一方、CbCr色空間データが、ステップ3で設定した色黒判定条件の外側に含まれていれば、そのデータをカラーと判定する。   In step 4 (S4), the color black determination unit 20d converts the three pixel values related to the target pixel into CbCr color space data, and converts the converted CbCr color space data and the color black determination condition set in step 3 Compare. The color black determination unit 20d determines whether the CbCr color space data (target pixel) is color or black. 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.

ステップ5(S5)において、色黒判定部20dは、ステップ4の判定結果が黒であるか否かを判定する。判定結果が黒である場合には、ステップ5で肯定判定されるため、ステップ6(S6)に進む。一方、判定結果がカラーである場合には、ステップ5で否定判定されるため、ステップ7(S7)に進む。   In step 5 (S5), the color black determination unit 20d determines whether or not the determination result in step 4 is black. If the determination result is black, an affirmative determination is made in step 5, and thus the process proceeds to step 6 (S6). On the other hand, if the determination result is color, a negative determination is made in step 5, and thus the process proceeds to step 7 (S7).

ステップ6において、濃度補正部20eは、黒と判定された対象画素について、濃度補正処理を行う。具体的には、濃度補正部20eは、点灯順序が2番目(真ん中)のGの画素値の濃度に応じて、対象画素を黒へと置換する。このモノクロ情報は対象画素に対応付けられ、これにより、1ライン分の画像データが生成される。そして、本処理を終了する(END)。   In step 6, the density correction unit 20e performs density correction processing on the target pixel determined to be black. Specifically, the density correction unit 20e replaces the target pixel with black according to the density of the G pixel value in the second lighting order (middle). This monochrome information is associated with the target pixel, whereby image data for one line is generated. Then, this process ends (END).

一方、ステップ7において、画像処理部20は、対象画素に係るRGBの画素値を集約し、当該対象画素のカラー情報を特定する。このカラー情報は対象画素に対応付けられ、これにより、1ライン分の画像データが生成される。そして、本処理を終了する(END)。   On the other hand, in step 7, the image processing unit 20 collects RGB pixel values related to the target pixel, and specifies color information of the target pixel. This color information is associated with the target pixel, whereby image data for one line is generated. Then, this process ends (END).

このように本実施形態において、画像形成装置1における画像読取装置10は、光源ユニット15と、CCD制御部19と、画像処理部20とを有している。ここで、光源ユニット15は、1ライン分の読取動作に対応して、それぞれが異なる色からなるRGBの光源15R,15G,15Bを順次点灯し、副走査方向に相対移動する原稿D(読取画像)に各色の光を順次照射する。CCD制御部19は、読取画像に作用した各色の光をイメージセンサCCDで順次読み取り、各色の画像データを出力する(センサ制御部)。画像処理部20は、CCD制御部から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 the reading operation for one line from the CCD control unit, and generates image data for one line based on these image data.

画像処理部20は、エッジ判定部20bと、色黒判定部20dと、条件切替部20cとを主体に構成されている。エッジ判定部20bは、1ライン分のRGBの画素を対象として、当該対象画素が、副走査方向の上流側のエッジ部に相当するか、副走査方向の下流側のエッジ部に相当するか、非エッジ部に相当するかを判定する。色黒判定部20dは、対象画素に関する各色の画素値と、対象画素がカラーかそれとも黒かを区別する色黒判定条件とに基づいて、対象画素が黒であるか否かの色黒判定を行う。条件切替部20cは、エッジ判定部20bの判定結果に基づいて色黒判定条件の設定を行うことで、色黒判定部20dによって黒と判定される判定幅を切り替える。   The image processing unit 20 is mainly configured by an edge determination unit 20b, a color black determination unit 20d, and a condition switching unit 20c. Whether the target pixel corresponds to an upstream edge portion in the sub-scanning direction or a downstream edge portion in the sub-scanning direction with respect to RGB pixels for one line as an object, It is determined whether it corresponds to a non-edge portion. The color black determination unit 20d performs color black determination as to whether or not the target pixel is black based on the pixel value of each color relating to the target pixel and the color black determination condition for distinguishing whether the target pixel is color or black. Do. The condition switching unit 20c sets the color black determination condition based on the determination result of the edge determination unit 20b, thereby switching the determination width determined as black by the color black determination unit 20d.

この構成によれば、対象画素に対するエッジ部の判定結果に基づいて、色黒判定条件が適宜の条件に設定される。この設定により、色黒判定部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 width determined as black by the color black determination unit 20d is switched, and thus the target pixel corresponding to the edge portion is adjusted to be determined as black. As a result, color misregistration that occurs at the edge portion can be suppressed, so that deterioration in image quality can be suppressed.

また、本実施形態において、条件切替部20cは、非エッジ部に相当すると判定された場合に用いる標準の色黒判定条件Csと、副走査方向の上流側のエッジ部に相当すると判定された場合に用いる色黒判定条件(第1の色黒判定条件)Cueと、副走査方向の下流側のエッジ部に相当すると判定された場合に用いる色黒判定条件(第2の色黒判定条件)Cleとを有している。   In the present embodiment, the condition switching unit 20c is determined to correspond to the standard color black determination condition Cs used when it is determined to correspond to the non-edge portion and the upstream edge portion in the sub-scanning direction. Color black determination condition (first color black determination condition) Cue and color black determination condition (second color black determination condition) Cle used when determined to correspond to the downstream edge portion in the sub-scanning direction. And have.

ここで、第1の色黒判定条件Cueは、3つの光源のうち点灯順序の早い光源(1番目の光源又は1番目・2番目の光源)の色に起因する色相を、標準の色黒判定条件Csよりも黒と判定するように設定されている。すなわち、第1の色黒判定条件Cueは、RGBのうち点灯順序の早いRの光源15R、Gの光源15Gの色に起因する赤〜黄の色相を、標準の色黒判定条件Csよりも黒と判定するように設定されている。一方、第2の色黒判定条件Cleは、3つの光源のうち点灯順序の遅い光源(2・3番目の光源又は3番目の光源)の色に起因する色相を、標準の色黒判定条件Csよりも黒と判定するように設定されている。すなわち、第2の色黒判定条件Cleは、RGBのうち点灯順序の遅いBの光源15B、Gの光源15Gの色に起因する青〜シアンの色相を、標準の色黒判定条件Csよりも黒と判定するように設定されている。   Here, the first color / black determination condition Cue is a standard color / black determination based on the hue caused by the color of the light source (first light source or first / second light source) with the fast lighting order among the three light sources. The condition Cs is set so as to be determined to be black. That is, the first color black determination condition Cue is a red to yellow hue caused by the colors of the R light source 15R and the G light source 15G that are lighted up earlier in RGB than the standard color black determination condition Cs. Is set to be judged. On the other hand, the second color / black determination condition Cle is a standard color / black determination condition Cs based on the hue caused by the color of the light source (2 · 3rd light source or the third light source) whose lighting order is slow among the three light sources. Rather than black. In other words, the second color black determination condition Cle is a blue to cyan hue caused by the colors of the B light source 15B and the G light source 15G, which are slow in lighting order, out of RGB, which is blacker than the standard color black determination condition Cs. Is set to be judged.

副走査方向の上流側のエッジ部については赤〜黄方向に色ずれを起こす傾向があるが、第1の色黒判定条件Cueは、副走査方向の上流側のエッジ部に相当する対象画素を黒と判定し易い傾向を有している。このため、上流側のエッジ部に相当する対象画素については色黒判定部20dにより黒と判定されるため、赤〜黄方向に色ずれを起こすといったことを抑制することができる。また、副走査方向の下流側のエッジ部については青〜シアン方向に色ずれを起こす傾向があるが、第2の色黒判定条件Cleは、副走査方向の下流側のエッジ部に相当する対象画素を黒と判定し易い傾向を有している。このため、下流側のエッジ部に相当する対象画素については色黒判定部20dにより黒と判定されるため、青〜シアン方向に色ずれを起こすといったことを抑制することができる。   The upstream edge portion in the sub-scanning direction tends to cause a color shift in the red to yellow direction, but the first color / black determination condition Cue is a target pixel corresponding to the upstream edge portion in the sub-scanning direction. It tends to be determined as black. For this reason, since the target pixel corresponding to the upstream edge portion is determined to be black by the color black determination unit 20d, it is possible to suppress the occurrence of a color shift in the red to yellow direction. Further, although there is a tendency to cause a color shift in the blue to cyan direction on the downstream edge portion in the sub-scanning direction, the second color black determination condition Cle is an object corresponding to the downstream edge portion in the sub-scanning direction. The pixel tends to be easily determined to be black. For this reason, since the target pixel corresponding to the downstream edge portion is determined to be black by the color black determination unit 20d, it is possible to suppress a color shift in the blue to cyan direction.

また、本実施形態において、画像処理部20は、色黒判定部20dにより黒と判定された対象画素について、3つの光源のうち点灯順序が真ん中の光源(2番目の光源)の色に対応する画素の画素値に基づいて濃度補正を行う濃度補正部20eをさらに有している。すなわち、濃度補正部20eは、RGBのうち点灯順序が真ん中のGの光源15Gの色に対応する画素の画素値に基づいて濃度補正を行う。   In the present embodiment, the image processing unit 20 corresponds to the color of the light source (second light source) whose lighting order is the middle of the three light sources for the target pixel determined to be black by the color black determination unit 20d. It further has a density correction unit 20e that performs density correction based on the pixel value of the pixel. That is, the density correction unit 20e performs density correction based on the pixel value of the pixel corresponding to the color of the G light source 15G in the middle of the lighting order of RGB.

この構成によれば、対象画素における重心位置の画素値に基づいて、黒判定された対象画素の濃度が補正される。これにより、色黒判定により黒に置換された画素についても、読取画像に応じた画素値に補正される。その結果、読取画像の画素値の濃度に応じた黒(モノクロ)に補正される。その結果、画像の線幅が太く感じられたり、画像の重心位置がずれたりするといった見た目上の違和感を低減することができる。   According to this configuration, the density of the target pixel determined to be black is corrected based on the pixel value at the center of gravity of the target pixel. Accordingly, the pixel value replaced with black by the color black determination is also corrected to the pixel value corresponding to the read image. As a result, it is corrected to black (monochrome) according to the density of the pixel value of the read image. As a result, it is possible to reduce the uncomfortable feeling that the line width of the image is felt thick or the position of the center of gravity of the image is shifted.

(第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.

2番目(真ん中)に点灯する色(本実施形態で「G」)の画素が上流側及び下流側のそれぞれにエッジを有し、マゼンダ方向又は緑色方向に色ずれを起こすケースを考える。図7において、(a)は、主走査ライン(例えば1800dpi)に相当する線幅の黒線を示し、Gの画素が上流側及び下流側のそれぞれにエッジを有している。すなわち、対象画素は、副走査方向の上流側のエッジ部及び副走査方向の下流側のエッジ部に相当する。一方、(b)は、主走査ライン(例えば1800dpi)に相当する線幅の白抜き線を示し、Gの画素が上流側及び下流側のそれぞれにエッジを有している。すなわち、対象画素は、副走査方向の下流側のエッジ部及び副走査方向の上流側のエッジ部に相当する。このような黒線又は白抜き線が、真ん中で点灯するGの読取位置(主走査ライン)と重なる場合、前者のケースでは、マゼンダ方向に色ずれを起こし、後者のケースでは、緑方向に色ずれを起こす。   Consider a case where the pixel of the second (middle) color ("G" in this embodiment) has an edge on each of the upstream side and the downstream side and causes a color shift in the magenta direction or the green direction. 7A shows a black line having a line width corresponding to the main scanning line (for example, 1800 dpi), and the G pixel has edges on the upstream side and the downstream side, respectively. That is, the target pixel corresponds to an upstream edge portion in the sub-scanning direction and a downstream edge portion in the sub-scanning direction. On the other hand, (b) shows a white line having a line width corresponding to the main scanning line (for example, 1800 dpi), and the G pixel has an edge on each of the upstream side and the downstream side. That is, the target pixel corresponds to a downstream edge portion in the sub-scanning direction and an upstream edge portion in the sub-scanning direction. When such a black line or white line overlaps with the G reading position (main scanning line) that is lit in the middle, in the former case, a color shift occurs in the magenta direction, and in the latter case, the color moves in the green direction. Cause a gap.

原理的にはこのようなケースにおいて色ずれが発生するが、通常、このような条件が満たされることは非常に少ないと考えられる。よって、本実施形態では、2番目(真ん中)に点灯する色(本実施形態で「G」)の画素が上流側及び下流側のそれぞれにエッジを有するシーン、すなわち、対象画素が副走査方向の上流側のエッジ部及び副走査方向の下流側のエッジ部に相当するシーンでは、標準の色黒判定条件Csと比較して、緑及びマゼンダの色相をカラーと判定し易くすることとしている。   In principle, color misregistration occurs in such a case, but it is generally considered that such a condition is very rarely satisfied. Therefore, in the present embodiment, the scene in which the pixel of the second (middle) color (“G” in the present embodiment) has edges on the upstream side and the downstream side, that is, the target pixel is in the sub-scanning direction. In the scene corresponding to the upstream edge portion and the downstream edge portion in the sub-scanning direction, it is made easier to determine the hues of green and magenta as colors compared to the standard color / black determination condition Cs.

そこで、本実施形態の特徴の一つとして、条件切替部20cは、上流側及び下流側のエッジ部に適用する色黒判定条件Caをさらに保持している。この色黒判定条件Caは、図8に示すように、標準の色黒判定条件Csを基本としつつ、緑(G)とマゼンダ(M)の色相についてカラー判定となる範囲を広げたものである。上述したように、2番目(真ん中)に点灯するGの画素が上流側及び下流側にエッジを有する場合には、この色黒判定条件Caを用いることで、対象画素はカラーと判定され易くなる。   Therefore, as one of the features of the present embodiment, the condition switching unit 20c further holds a color black determination condition Ca that is applied to the upstream and downstream edge portions. As shown in FIG. 8, the color black determination condition Ca is based on the standard color black determination condition Cs and expands the color determination range for the hues of green (G) and magenta (M). . As described above, when the G pixel that is lit second (middle) has edges on the upstream side and the downstream side, the target pixel is easily determined to be a color by using the color black determination condition Ca. .

このように本実施形態において、条件切替部20cは、非エッジ部に相当すると判定された場合に用いる標準の色黒判定条件Csと、副走査方向の上流側のエッジ部及び副走査方向の下流側のエッジ部に相当すると判定された場合に用いる色黒判定条件(第3の色黒判定条件)Caとを有している。   As described above, in the present embodiment, the condition switching unit 20c uses the standard color black determination condition Cs used when it is determined to correspond to the non-edge portion, the upstream edge portion in the sub-scanning direction, and the downstream in the sub-scanning direction. A color black determination condition (third color black determination condition) Ca that is used when it is determined to correspond to the side edge portion.

ここで、第3の色黒判定条件Caは、3つの光源のうち点灯順序の真ん中の光源(2番目の光源)の色に起因する色相、及び、3つの光源のうち点灯順序の早い光源(1番目の光源)と点灯順序の遅い光源(3番目の光源)との色に起因する色相を、標準の色黒判定条件Csよりもカラーと判定するように設定されている。すなわち、第3の色黒判定条件Caは、RGBのうち点灯順序の真ん中のGの光源15G(2番目の光源)の色に起因する色相、及び、RGBのうち点灯順序の早いRの光源15Rと点灯順序の遅いBの光源15Bとの色に起因する色相を、標準の色黒判定条件Csよりもカラーと判定するように設定されている。   Here, the third color black determination condition Ca includes the hue caused by the color of the light source in the middle of the lighting order (second light source) among the three light sources, and the light source with the fast lighting order among the three light sources ( The hue resulting from the colors of the first light source) and the light source with the slow lighting order (third light source) is set to be determined to be a color rather than the standard color black determination condition Cs. That is, the third color black determination condition Ca includes the hue caused by the color of the G light source 15G (second light source) in the middle of the lighting order of RGB and the R light source 15R of the fastest lighting order of RGB. And the hue caused by the color of the B light source 15B whose lighting order is slow are set so as to be determined to be a color than the standard color black determination condition Cs.

線幅が細い画像については、線幅が太く強調されたり、白抜き線が黒で塗りつぶされたりするといった事態も想定される。また、Gの画素の上流側及び下流側のそれぞれにエッジが発生するケースは稀である。そこで、本実施形態の構成によれば、上述のようなシーンにおいては、第1の実施形態と比較して黒と判定され難く構成されている。このように、色ずれを許容することで、対象画素全体での再現性を優先させることができる。これにより、画質低下を抑制することができる。   For an image with a narrow line width, a situation in which the line width is emphasized thickly, or a white line is filled with black is also assumed. In addition, it is rare that edges occur on the upstream side and the downstream side of the G pixel. Therefore, according to the configuration of the present embodiment, the scene as described above is configured not to be determined to be black compared to the first embodiment. In this manner, by allowing color misregistration, priority can be given to reproducibility in the entire target pixel. Thereby, it is possible to suppress a decrease in image quality.

なお、本実施形態に示す色黒判定条件Caと、第1の実施形態に示す色黒判定条件Cue,Cleとを組み合わせて利用することも可能である。すなわち、条件切替部20cは、対象画素が副走査方向の上流側のエッジ部に相当すると判定された場合には、第1の実施形態に示す色黒判定条件Cueと、本実施形態に示す色黒判定条件Caとを組み合わせ、それぞれの特徴的な判定特性を兼ね備える色黒判定条件を設定してもよい。同様に、条件切替部20cは、対象画素が副走査方向の下流側のエッジ部に相当すると判定された場合には、第1の実施形態に示す色黒判定条件Cleと、本実施形態に示す色黒判定条件Caとを組み合わせ、それぞれの特徴的な判定特性を併せ持つ色黒判定条件を設定してもよい。   The color black determination condition Ca shown in the present embodiment and the color black determination conditions Cue and Cle shown in the first embodiment can be used in combination. That is, the condition switching unit 20c, when it is determined that the target pixel corresponds to the upstream edge portion in the sub-scanning direction, the color black determination condition Cue shown in the first embodiment and the color shown in the present embodiment. In combination with the black determination condition Ca, a color black determination condition having both characteristic determination characteristics may be set. Similarly, when it is determined that the target pixel corresponds to an edge portion on the downstream side in the sub-scanning direction, the condition switching unit 20c displays the color black determination condition Cle shown in the first embodiment and the present embodiment. The color black determination condition Ca may be set in combination with the color black determination condition Ca.

(第3の実施形態)
以下、第3の実施形態に係る画像形成装置1について説明する。この画像形成装置1が第1の実施形態のそれと相違する点は、画像読取装置10に適用される画像処理部20による画像処理の方法である。なお、第1の実施形態と共通する点については説明を省略することとし、以下、相違点を中心に説明を行う。
(Third embodiment)
Hereinafter, the image forming apparatus 1 according to the third embodiment will be described. 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. Note that description of points that are the same as in the first embodiment will be omitted, and hereinafter, differences will be mainly described.

図9は、第3の実施形態に係る上流側のエッジ部に適用する色黒判定条件Cb1の説明図である。上述したように、副走査方向の上流側のエッジ部では、赤から黄方向に色ずれを起こす傾向があり、青からシアン方向への色ずれは起こりにくい。そこで、図9に示す色黒判定条件Cb1では、標準の色黒判定条件Csを基本としつつ、青(B)とシアン(C)の色相についてカラーと判定される範囲を広げたものである。   FIG. 9 is an explanatory diagram of the color black determination condition Cb1 applied to the upstream edge portion according to the third embodiment. As described above, at the upstream edge portion in the sub-scanning direction, there is a tendency for color shift from red to yellow, and color shift from blue to cyan is unlikely to occur. Therefore, the color black determination condition Cb1 shown in FIG. 9 is based on the standard color black determination condition Cs, and extends the range in which the hues of blue (B) and cyan (C) are determined to be color.

図10は、第3の実施形態に係る下流側のエッジ部に適用する色黒判定条件Cb2の説明図である。上述したように、副走査方向の下流側のエッジ部では、青からシアン方向に色ずれを起こす傾向があり、赤から黄方向への色ずれは起こりにくい。そこで、図10に示す色黒判定条件Cb2では、標準の色黒判定条件Csを基本としつつ、赤(R)と黄(Y)の色相についてカラーと判定される範囲を広げたものである。   FIG. 10 is an explanatory diagram of the color black determination condition Cb2 applied to the downstream edge portion according to the third embodiment. As described above, at the downstream edge portion in the sub-scanning direction, there is a tendency for color shift from blue to cyan, and color shift from red to yellow is unlikely to occur. Therefore, the color black determination condition Cb2 shown in FIG. 10 is based on the standard color black determination condition Cs, and the range in which the colors of red (R) and yellow (Y) are determined as colors is expanded.

このように本実施形態において、条件切替部20cは、標準の色黒判定条件Csに加え、副走査方向の上流側のエッジ部に相当すると判定された場合に用いる色黒判定条件(第4の色黒判定条件)Cb1と、副走査方向の下流側のエッジ部に相当すると判定された場合に用いる色黒判定条件(第5の色黒判定条件)Cb2と、を有している。 As described above, in this embodiment, the condition switching unit 20c adds the standard color black determination condition Cs to the color black determination condition (the fourth color black determination condition used when it is determined to correspond to the upstream edge portion in the sub-scanning direction). Color black determination condition) Cb1 and a color black determination condition (fifth color black determination condition) Cb2 used when it is determined to correspond to the downstream edge portion in the sub-scanning direction.

ここで、第4の色黒判定条件Cb1は、3つの光源のうち点灯順序の遅い光源(3番目の光源)の色に起因する色相を、標準の色黒判定条件Csよりもカラーと判定するように設定されている。すなわち、第4の色黒判定条件は、RGBのうち点灯順序の遅いBの光源15Bの色に起因する色相を、標準の色黒判定条件Csよりもカラーと判定するように設定されている。一方、第5の色黒判定条件Cb2は、3つの光源のうち点灯順序の早い光源(1番目の光源)の色に起因する色相を、標準の色黒判定条件Csよりもカラーと判定するように設定されている。すなわち、第4の色黒判定条件は、RGBのうち点灯順序の早いRの光源15Rの色に起因する色相を、標準の色黒判定条件Csよりもカラーと判定するように設定されている。   Here, the fourth color black determination condition Cb1 determines that the hue caused by the color of the light source (third light source) whose lighting order is slow among the three light sources is a color more than the standard color black determination condition Cs. Is set to That is, the fourth color black determination condition is set so that the hue caused by the color of the B light source 15B whose lighting order is late among RGB is determined to be a color more than the standard color black determination condition Cs. On the other hand, in the fifth color black determination condition Cb2, the hue caused by the color of the light source (first light source) whose lighting order is early among the three light sources is determined to be a color more than the standard color black determination condition Cs. Is set to That is, the fourth color black determination condition is set so that the hue caused by the color of the R light source 15R in the lighting order of RGB among the RGB is determined to be a color more than the standard color black determination condition Cs.

この構成によれば、色ずれの傾向に合わせて色黒判定条件Cb1,Cb2が最適化されている。これより、色黒判定部20dによる判定を適切に行うことができる。   According to this configuration, the color black determination conditions Cb1 and Cb2 are optimized in accordance with the tendency of color misregistration. Thus, the determination by the color black determination unit 20d can be appropriately performed.

なお、本実施形態に示す色黒判定条件Cb1,Cb2と、第1の実施形態に示す色黒判定条件Cue,Cleとを組み合わせて利用することも可能である。すなわち、条件切替部20cは、対象画素が副走査方向の上流側のエッジ部に相当すると判定された場合には、第1の実施形態に示す色黒判定条件Cueと、本実施形態に示す色黒判定条件Cb1とを組み合わせ、それぞれの特徴的な判定特性を兼ね備える色黒判定条件を設定してもよい。同様に、条件切替部20cは、対象画素が副走査方向の下流側のエッジ部に相当すると判定された場合には、第1の実施形態に示す色黒判定条件Cleと、本実施形態に示す色黒判定条件Cb2とを組み合わせ、それぞれの特徴的な判定特性を併せ持つ色黒判定条件を設定してもよい。同様に、第2の実施形態に示す手法に、本実施形態に示す色黒判定条件Caをさらに組み合わせてもよい。   The color black determination conditions Cb1 and Cb2 shown in the present embodiment and the color black determination conditions Cue and Cle shown in the first embodiment can be used in combination. That is, the condition switching unit 20c, when it is determined that the target pixel corresponds to the upstream edge portion in the sub-scanning direction, the color black determination condition Cue shown in the first embodiment and the color shown in the present embodiment. The black determination condition Cb1 may be combined to set a color black determination condition having both characteristic determination characteristics. Similarly, when it is determined that the target pixel corresponds to an edge portion on the downstream side in the sub-scanning direction, the condition switching unit 20c displays the color black determination condition Cle shown in the first embodiment and the present embodiment. The color black determination condition Cb2 may be combined to set a color black determination condition having both characteristic determination characteristics. Similarly, the color black determination condition Ca shown in the present embodiment may be further combined with the technique shown in the second embodiment.

以上、本発明の実施形態に画像形成装置及び画像読取装置について説明したが、本発明は上述した実施形態に限定されることなく、その発明の範囲内において種々の変形が可能であることはいうまでもない。また、上述した画像処理(エッジ判定部、色黒判定部、条件切替部に関する処理)を行う画像処理装置それ自体も本発明の一部として機能する。   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. Further, the image processing apparatus itself that performs the above-described image processing (processing relating to the edge determination unit, the color black 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.

また、色黒判定の誤判定を抑制するために、本実施形態に示す手法に加え、以下の処理を追加してもよい。   In addition to the method shown in the present embodiment, the following processing may be added in order to suppress erroneous black / white determination.

例えば、対象画素について本実施形態に示す色黒判定条件を行う場合に、その上流側の対象画素が標準の色黒判定条件Csにて黒と判定されていることを条件に、本実施形態に示す条件切替部20c及び色黒判定部20dの処理を行うとしてもよい。   For example, in the case where the color black determination condition shown in the present embodiment is performed for the target pixel, the present embodiment is provided on the condition that the upstream target pixel is determined to be black by the standard color black determination condition Cs. The processing of the condition switching unit 20c and the color black determination unit 20d shown may be performed.

また、読取画像の線幅が細い場合には、上流側のエッジ部に関する色ずれ方向と、下流側のエッジ部に関する色ずれ方向とが同じであった場合には、本実施形態に示す条件切替部20c及び色黒判定部20dの処理をキャンセルするとしてもよい。   Further, when the line width of the read image is thin, the condition switching shown in the present embodiment is performed when the color misregistration direction regarding the upstream edge portion and the color misregistration direction regarding the downstream edge portion are the same. The processing of the unit 20c and the color black determination unit 20d may be canceled.

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 Interline correction part 20b Edge determination part 20c Condition switching part 20d Color black determination part 20e Density correction part 21 Image memory 30Y, 30M, 30C, 30K Image forming part 50 Fixing device 70 Control part

Claims (7)

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;
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
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;
An image processing apparatus comprising:
前記条件切替部は、
前記非エッジ部に相当すると判定された場合に用いる標準の色黒判定条件と、
前記副走査方向の上流側のエッジ部に相当すると判定された場合に用いる色黒判定条件であって、前記複数の光源のうち点灯順序の早い光源の色に起因する色相を、前記標準の色黒判定条件よりも黒と判定するように設定された第1の色黒判定条件と、
前記副走査方向の下流側のエッジ部に相当すると判定された場合に用いる色黒判定条件であって、前記複数の光源のうち点灯順序の遅い光源の色に起因する色相を、前記標準の色黒判定条件よりも黒と判定するように設定された第2の色黒判定条件と、
を有し、
前記点灯順序の早い光源は、少なくとも最も遅く点灯する光源を除いた1以上の光源であり、
前記点灯順序の遅い光源は、少なくとも最も早く点灯する光源を除いた1以上の光源である
ことを特徴とする請求項1に記載された画像処理装置。
The condition switching unit
A standard black-and-white determination condition used when it is determined to correspond to the non-edge portion;
It is a color black determination condition used when it is determined that it corresponds to the upstream edge portion in the sub-scanning direction, and the hue caused by the color of the light source with the earlier lighting order among the plurality of light sources is the standard color. A first color black determination condition set to determine black as compared to the black determination condition;
It is a color black determination condition used when it is determined that it corresponds to the downstream edge portion in the sub-scanning direction, and the hue caused by the color of the light source whose lighting order is slow among the plurality of light sources is the standard color. A second color black determination condition set to determine black as compared to the black determination condition;
I have a,
The light source with the earlier lighting order is at least one light source excluding the light source that is turned on at the latest time,
The image processing apparatus according to claim 1, wherein the light source with the slow lighting order is at least one light source excluding a light source that is lighted at least earliest .
前記条件切替部は、
前記非エッジ部に相当すると判定された場合に用いる標準の色黒判定条件と、
前記副走査方向の上流側のエッジ部及び前記副走査方向の下流側のエッジ部に相当すると判定された場合に用いる色黒判定条件であって、前記複数の光源のうち点灯順序の真ん中の光源の色に起因する色相、及び、前記複数の光源のうち点灯順序の早い光源と点灯順序の遅い光源との色に起因する色相を、前記標準の色黒判定条件よりもカラーと判定するように設定された第3の色黒判定条件と、
を有し、
前記複数の光源は、3つの光源から構成され、
前記点灯順序の真ん中の光源は、2番目に点灯する光源であり、
前記点灯順序の早い光源は、1番目に点灯する光源であり、
前記点灯順序の遅い光源は、3番目に点灯する光源である
ことを特徴とする請求項1又は2に記載された画像処理装置。
The condition switching unit
A standard black-and-white determination condition used when it is determined to correspond to the non-edge portion;
A color black determination condition used when it is determined to correspond to an upstream edge portion in the sub-scanning direction and a downstream edge portion in the sub-scanning direction, and the light source in the middle of the lighting order among the plurality of light sources The hue caused by the color of the light source and the hue caused by the color of the light source with the fast lighting order and the light source with the slow lighting order among the plurality of light sources are determined to be colors than the standard color black determination condition. The set third color black judgment condition,
Have
The plurality of light sources are composed of three light sources,
The light source in the middle of the lighting sequence is the light source that lights second,
The light source with the earlier lighting order is the light source that is lighted first,
The image processing apparatus according to claim 1 or 2, wherein the light source having a slow lighting order is a light source that is lighted third .
前記条件切替部は、
前記非エッジ部に相当すると判定された場合に用いる標準の色黒判定条件と、
前記副走査方向の上流側のエッジ部に相当すると判定された場合に用いる色黒判定条件であって、前記複数の光源のうち点灯順序の遅い光源の色に起因する色相を、前記標準の色黒判定条件よりもカラーと判定するように設定された第4の色黒判定条件と、
前記副走査方向の下流側のエッジ部に相当すると判定された場合に用いる色黒判定条件であって、前記複数の光源のうち点灯順序の早い光源の色に起因する色相を、前記標準の色黒判定条件よりもカラーと判定するように設定された第5の色黒判定条件と、
を有し、
前記点灯順序の早い光源は、少なくとも最も遅く点灯する光源を除いた1以上の光源であり、
前記点灯順序の遅い光源は、少なくとも最も早く点灯する光源を除いた1以上の光源である
ことを特徴とする請求項1又は2に記載された画像処理装置。
The condition switching unit
A standard black-and-white determination condition used when it is determined to correspond to the non-edge portion;
It is a color black determination condition used when it is determined that it corresponds to the upstream edge portion in the sub-scanning direction, and the hue resulting from the color of the light source with the slow lighting order is selected from the plurality of light sources. A fourth color black determination condition set so as to be determined to be a color than the black determination condition;
It is a color black determination condition used when it is determined to correspond to the downstream edge portion in the sub-scanning direction, and the hue caused by the color of the light source in the lighting order among the plurality of light sources is determined as the standard color A fifth color black determination condition set so as to be determined to be a color than the black determination condition;
I have a,
The light source with the earlier lighting order is at least one light source excluding the light source that is turned on at the latest time,
The image processing apparatus according to claim 1 or 2 , wherein the light source with the slow lighting order is at least one light source excluding a light source that lights at least earliest .
前記条件切替部は、  The condition switching unit
前記非エッジ部に相当すると判定された場合に用いる標準の色黒判定条件と、  A standard black-and-white determination condition used when it is determined to correspond to the non-edge portion;
前記副走査方向の上流側のエッジ部に相当すると判定された場合に用いる色黒判定条件であって、前記複数の光源のうち前記点灯順序の遅い光源の色に起因する色相を、前記標準の色黒判定条件よりもカラーと判定するように設定された第4の色黒判定条件と、  It is a color black determination condition used when it is determined that it corresponds to the upstream edge portion in the sub-scanning direction, and the hue caused by the color of the light source whose lighting order is slow among the plurality of light sources is determined as the standard A fourth color black determination condition set so as to be determined to be a color than the color black determination condition;
前記副走査方向の下流側のエッジ部に相当すると判定された場合に用いる色黒判定条件であって、前記複数の光源のうち前記点灯順序の早い光源の色に起因する色相を、前記標準の色黒判定条件よりもカラーと判定するように設定された第5の色黒判定条件と、  It is a color black determination condition used when it is determined that it corresponds to an edge portion on the downstream side in the sub-scanning direction, and the hue caused by the color of the light source with the earlier lighting order among the plurality of light sources is determined as the standard A fifth color black determination condition set so as to be determined to be a color than the color black determination condition;
を有することを特徴とする請求項3に記載された画像処理装置。The image processing apparatus according to claim 3, further comprising:
前記色黒判定部により黒と判定された前記対象画素について、前記複数の光源のうち点灯順序真ん中の光源の色に対応する画素の画素値に基づいて濃度補正を行う濃度補正部をさらに有し、
前記複数の光源は、3つの光源から構成され、
前記点灯順序の真ん中の光源は、2番目に点灯する光源である
ことを特徴とする請求項1からのいずれかに記載された画像処理装置。
The target pixel determined to be black by the color black determination unit further includes a density correction unit that performs density correction based on the pixel value of the pixel corresponding to the color of the light source in the middle of the lighting order among the plurality of light sources. And
The plurality of light sources are composed of three light sources,
The image processing apparatus according to any one of claims 1 to 5 , wherein the light source in the middle of the lighting order is a light source that is lighted second .
1ライン分の読取動作に対応して、それぞれが異なる色からなる複数の光源を順次点灯して副走査方向に相対移動する読取画像に各色の光を順次照射する光源ユニットと、
前記読取画像に作用した各色の光をイメージセンサで順次読み取り、前記複数の光源に対応する各色の画像データを出力するセンサ制御部と、
前記各色の画像データを入力し、1ライン分の画像データを生成する画像処理部と、を有し、
前記画像処理部は、
前記1ライン分の読取動作に対応する各色の画素を対象として、当該対象画素が、副走査方向の上流側のエッジ部に相当するか、副走査方向の下流側のエッジ部に相当するか、非エッジ部に相当するかを判定するエッジ判定部と、
前記対象画素に関する各色の画素値と、前記対象画素がカラーかそれとも黒かを区別する色黒判定条件とに基づいて、前記対象画素が黒であるか否かの色黒判定を行う色黒判定部と、
前記エッジ判定部の判定結果に基づいて前記色黒判定条件の設定を行うことで、前記色黒判定部によって黒と判定される判定幅を切り替える条件切替部と、
を有することを特徴とする画像読取装置。
Corresponding to the reading operation for one line, a light source unit that sequentially lights a plurality of light sources each having a different color and sequentially irradiates light of each color 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;
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
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;
An image reading apparatus comprising:
JP2014221488A 2014-10-30 2014-10-30 Image processing apparatus and image reading apparatus Active JP6442985B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014221488A JP6442985B2 (en) 2014-10-30 2014-10-30 Image processing apparatus and image reading apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014221488A JP6442985B2 (en) 2014-10-30 2014-10-30 Image processing apparatus and image reading apparatus

Publications (2)

Publication Number Publication Date
JP2016092474A JP2016092474A (en) 2016-05-23
JP6442985B2 true JP6442985B2 (en) 2018-12-26

Family

ID=56019768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014221488A Active JP6442985B2 (en) 2014-10-30 2014-10-30 Image processing apparatus and image reading apparatus

Country Status (1)

Country Link
JP (1) JP6442985B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5072621B2 (en) * 2008-01-25 2012-11-14 キヤノン株式会社 Image processing apparatus and method, and program
JP5307661B2 (en) * 2009-08-06 2013-10-02 キヤノン電子株式会社 Color misregistration determination apparatus, color misregistration correction apparatus, and image reading apparatus
JP5740361B2 (en) * 2012-07-27 2015-06-24 京セラドキュメントソリューションズ株式会社 Image reading apparatus and image forming apparatus having the same

Also Published As

Publication number Publication date
JP2016092474A (en) 2016-05-23

Similar Documents

Publication Publication Date Title
JP5771556B2 (en) Image reading apparatus and image forming apparatus
JP5481436B2 (en) Image reading apparatus and image forming apparatus
JP2010063091A (en) Image reading apparatus, and image forming apparatus
JP6131964B2 (en) Image processing device
JP6123736B2 (en) Image forming apparatus and exposure position adjusting method
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
JP6503755B2 (en) Image processing apparatus, image forming apparatus and image processing method
JP6442985B2 (en) Image processing apparatus and image reading apparatus
JP2016092475A (en) Image processing system and image reader
US9197787B2 (en) Image reading device, image forming apparatus, and image reading method
JP4928597B2 (en) Image reading apparatus, image processing apparatus, image forming apparatus, system thereof, and control method thereof
JP2017072632A (en) Image reading device and image formation system
JP2019219483A (en) Image processor and image processing program
US9998630B2 (en) Image reading device and method, and image forming apparatus, with pixel value correction based on estimated image data of non-reading region
JP2001326794A (en) Image reading apparatus
JP5520851B2 (en) Image forming apparatus and image forming apparatus control method
JP2010246125A (en) Image reading apparatus, image processing apparatus and control method thereof
JP6459997B2 (en) Image processing apparatus, image reading apparatus, and foreign object image area detection method
JP5806946B2 (en) Image reading apparatus and image forming apparatus
JP2011109581A (en) Image forming apparatus and image forming method
JP2011107546A (en) Image forming apparatus, image forming method and program
JP5796034B2 (en) Image processing device
JP5011070B2 (en) Image processing apparatus and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171018

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180528

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180605

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20181030

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181112

R150 Certificate of patent or registration of utility model

Ref document number: 6442985

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150