JP5786585B2 - Image reading apparatus and program - Google Patents

Image reading apparatus and program Download PDF

Info

Publication number
JP5786585B2
JP5786585B2 JP2011203375A JP2011203375A JP5786585B2 JP 5786585 B2 JP5786585 B2 JP 5786585B2 JP 2011203375 A JP2011203375 A JP 2011203375A JP 2011203375 A JP2011203375 A JP 2011203375A JP 5786585 B2 JP5786585 B2 JP 5786585B2
Authority
JP
Japan
Prior art keywords
image
image signal
receiving elements
light receiving
pixel
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
JP2011203375A
Other languages
Japanese (ja)
Other versions
JP2013066049A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2011203375A priority Critical patent/JP5786585B2/en
Publication of JP2013066049A publication Critical patent/JP2013066049A/en
Application granted granted Critical
Publication of JP5786585B2 publication Critical patent/JP5786585B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像読取装置及びプログラムに関する。   The present invention relates to an image reading apparatus and a program.

特許文献1には、副走査方向に並列に配置された分光感度が異なる複数のCCDセンサでカラー画像を各CCDセンサに対応したR,G,B画素データに分解して入力するカラー画像入力装置において、入力された画像データを補間してリサンプリングするリサンプリング手段と、リサンプリング手段の任意の1色の補間された画像データと他色の補間された画像データとの相関関数を演算し、求められた読取ライン数−1個の相関関数のピーク値、ピーク値位置(補間データのアドレス値)、及び合計値を演算する相互相関関数演算手段と、を具備することを特徴とするカラー画像入力装置が開示されている。   Japanese Patent Application Laid-Open No. 2005-228561 discloses a color image input device that decomposes and inputs a color image into R, G, and B pixel data corresponding to each CCD sensor by a plurality of CCD sensors arranged in parallel in the sub-scanning direction and having different spectral sensitivities. A re-sampling unit that interpolates and re-samples the input image data, and calculates a correlation function between the interpolated image data of any one color of the re-sampling unit and the interpolated image data of the other color, A color image comprising: a calculated correlation value calculating means for calculating a peak value of a correlation function of one read line, a peak value position (interpolated data address value), and a total value. An input device is disclosed.

特開平8−139949号公報JP-A-8-139949

本発明の課題は、異なる無彩色領域間における色ずれを高精度に補正する画像読取装置及びプログラムを提供することである。   An object of the present invention is to provide an image reading apparatus and a program for correcting a color shift between different achromatic regions with high accuracy.

上記課題を解決するために、請求項1に記載の画像読取装置を、画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段と、前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段と、前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域について、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段と、を含んで構成した。   In order to solve the above-mentioned problem, at least one of a recording medium on which an image is recorded and a light source that irradiates light to an image recording area including the image is arranged in a predetermined direction. A moving means for relative movement and a plurality of light receiving elements with different spectral sensitivities arranged in a state shifted in the predetermined direction are provided in units of one pixel, and light is applied to the image recording area during the relative movement by the moving means. The light reflected by the image recording area is received by the plurality of light receiving elements to generate an image signal corresponding to each received light amount, and the image based on the image signal generated by the generating means Detection means for detecting a boundary area between different achromatic areas in the recording area, and before output from each of the plurality of light receiving elements corresponding to pixels existing in the boundary area detected by the detection means A specifying unit that identifies a pixel in which color misregistration occurs in the boundary region based on an image signal, and a region in which the boundary region detected by the detection unit is changing from a white region to a black region by the specifying unit. Of the image signals corresponding to each of the plurality of light receiving elements corresponding to the specified pixel, when the image signal having the maximum signal level is to be corrected, the image signal and the image signal are generated before the image signal. The color shift is corrected by interpolating the corresponding image signal between two points, and the minimum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means When the image signal having the image signal is a correction target, the image signal and the corresponding image signal generated after the image signal are interpolated between two points to thereby eliminate the color shift. And correcting means for correcting, and configured to include.

請求項1に記載の画像読取装置を、請求項2に記載の発明のように、前記補正手段が、更に、前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域について、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正するものとした。   The image reading apparatus according to claim 1 is the same as the invention according to claim 2, wherein the correction unit is further in the middle of changing the boundary region detected by the detection unit from a black region to a white region. When an image signal having the maximum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit is corrected, the image signal and the image signal The image signal corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means is corrected by interpolating between the corresponding image signals generated later than the two points to correct the color shift. If the image signal having the minimum signal level is to be corrected, the color is obtained by interpolating the image signal and the corresponding image signal generated before the image signal between two points. It was assumed to correct the record.

一方、上記課題を解決するために、請求項3に記載の画像読取装置を、画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段と、前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段と、前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域について、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段と、を含んで構成した。   On the other hand, in order to solve the above-mentioned problem, at least one of a recording medium on which an image is recorded and a light source that irradiates light to an image recording area including the image is predetermined. A moving unit that relatively moves in a direction and a plurality of light receiving elements having different spectral sensitivities arranged in a state shifted in the predetermined direction in units of pixels, and light is emitted to the image recording area during the relative movement by the moving unit. Is generated on the basis of the image signal generated by the generation unit and the generation unit that receives the light reflected by the image recording area and generates an image signal corresponding to each received light amount. Detection means for detecting a boundary area between different achromatic areas in the image recording area, and output from each of the plurality of light receiving elements corresponding to pixels existing in the boundary area detected by the detection means. Identifying means for identifying a pixel in which a color shift has occurred in the boundary region based on the image signal, and identifying the region where the boundary region detected by the detecting unit is changing from a black region to a white region. When an image signal having the maximum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the means is to be corrected, the image signal is generated after the image signal and the image signal. The color shift is corrected by interpolating between the corresponding image signals at two points, and the minimum signal among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means When an image signal having a level is to be corrected, the image signal and the corresponding image signal generated prior to the image signal are interpolated between two points to obtain Configured to include a correction means for correcting the color shift, the.

請求項3に記載の画像読取装置を、請求項4に記載の発明のように、前記補正手段が、更に、前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域について、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正するものとした。   According to a third aspect of the present invention, in the image reading apparatus according to the fourth aspect of the invention, the correction unit is further configured such that the boundary region detected by the detection unit is changing from a white region to a black region. When an image signal having the maximum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit is corrected, the image signal and the image signal An image corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means by correcting the color shift by interpolating between the corresponding image signals generated earlier than two points. When an image signal having the minimum signal level among the signals is to be corrected, the color is obtained by interpolating the image signal and the corresponding image signal generated after the image signal between two points. It was assumed to correct the record.

一方、上記課題を解決するために、請求項5に記載の画像読取装置を、画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段と、前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段と、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた前記画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段と、を含んで構成した。   On the other hand, in order to solve the above-mentioned problem, the image reading apparatus according to claim 5 is provided with at least one of a recording medium on which an image is recorded and a light source for irradiating light on an image recording area including the image. A moving unit that relatively moves in a direction and a plurality of light receiving elements having different spectral sensitivities arranged in a state shifted in the predetermined direction in units of pixels, and light is emitted to the image recording area during the relative movement by the moving unit. Is generated on the basis of the image signal generated by the generation unit and the generation unit that receives the light reflected by the image recording area and generates an image signal corresponding to each received light amount. Detection means for detecting a boundary area between different achromatic areas in the image recording area, and output from each of the plurality of light receiving elements corresponding to pixels existing in the boundary area detected by the detection means. Among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means, and specifying means for specifying a pixel in which color misregistration occurs in the boundary region based on the image signal, When the image signal having the maximum signal level is to be corrected and the boundary area detected by the detection means is an area in the middle of changing from a white area to a black area, the image signal to be corrected and the image The color shift is corrected by interpolating between the corresponding image signals generated prior to the signal between two points, and corresponds to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit. Among the image signals, an image signal having the maximum signal level is a correction target, and the boundary area detected by the detection unit is changed from a black area to a white area. Correction means for correcting the color misregistration by interpolating between two points of the image signal to be corrected and the corresponding image signal generated after the image signal in the case of the intermediate region. Consists of.

請求項5に記載の画像読取装置を、請求項6に記載の発明のように、前記補正手段が、更に、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた前記画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正するものとした。   In the image reading apparatus according to claim 5, as in the invention according to claim 6, the correction unit further corresponds to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit. Among image signals, an image signal having a minimum signal level is a correction target, and the boundary region detected by the detection unit is a region in the middle of a change from a white region to a black region, the correction target The color shift is corrected by interpolating between the image signal and the corresponding image signal generated after the image signal between two points, and the plurality of light receiving elements corresponding to the pixels specified by the specifying means Of the image signals corresponding to each, the image signal having the minimum signal level is a correction target, and the boundary area detected by the detection means is in the process of changing from a black area to a white area. If a region, was used to correct the color shift of said image signal corresponding generated before the image signal and the image signal subject to correction by interpolating between two points.

一方、上記課題を解決するために、請求項7に記載の画像読取装置を、画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段と、前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段と、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた前記画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段と、を含んで構成した。   On the other hand, in order to solve the above-mentioned problem, at least one of a recording medium on which an image is recorded and a light source that irradiates light to an image recording area including the image is predetermined. A moving unit that relatively moves in a direction and a plurality of light receiving elements having different spectral sensitivities arranged in a state shifted in the predetermined direction in units of pixels, and light is emitted to the image recording area during the relative movement by the moving unit. Is generated on the basis of the image signal generated by the generation unit and the generation unit that receives the light reflected by the image recording area and generates an image signal corresponding to each received light amount. Detection means for detecting a boundary area between different achromatic areas in the image recording area, and output from each of the plurality of light receiving elements corresponding to pixels existing in the boundary area detected by the detection means. Among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means, and specifying means for specifying a pixel in which color misregistration occurs in the boundary region based on the image signal, When an image signal having a minimum signal level is to be corrected, and the boundary area detected by the detection means is an area in the middle of a change from a white area to a black area, the image signal to be corrected and the image An image corresponding to each of the plurality of light-receiving elements corresponding to the pixels specified by the specifying unit by correcting the color shift by interpolating between the corresponding image signals generated after the signal between two points. Among the signals, an image signal having a minimum signal level is a correction target, and the boundary area detected by the detection unit is changed from a black area to a white area. A correction means for correcting the color misregistration by interpolating between the image signal to be corrected and the corresponding image signal generated prior to the image signal between two points, Constructed including.

請求項7に記載の画像読取装置を、請求項8に記載の発明のように、前記補正手段が、更に、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた前記画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正するものとした。   In the image reading apparatus according to claim 7, as in the invention according to claim 8, the correction unit further corresponds to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit. Among image signals, an image signal having a maximum signal level is a correction target, and the boundary region detected by the detection unit is a region in the middle of a change from a white region to a black region, the correction target The plurality of light receiving elements corresponding to the pixel specified by the specifying means by correcting the color shift by interpolating between the image signal and the corresponding image signal generated before the image signal between two points Among the image signals corresponding to each of the image signals, the image signal having the maximum signal level is set as a correction target, and the boundary area detected by the detection unit is in the process of changing from a black area to a white area. If a region, was used to correct the color shift of said image signal corresponding generated later than the image signal is the correction target and the image signal by interpolating between two points.

請求項1〜請求項8の何れか1項に記載の画像読取装置を、請求項9に記載の発明のように、前記2点間補間の対象となる画像信号を、時系列上互いに隣接して生成された画像信号としたものとした。   The image reading apparatus according to any one of claims 1 to 8, and the image signals to be interpolated between the two points are adjacent to each other in time series as in the invention according to claim 9. It was assumed that the generated image signal.

請求項1〜請求項9の何れか1項に記載の画像読取装置を、請求項10に記載の発明のように、前記補正手段が、複数組の補間係数を組毎に用いて前記2点間補間を行い、前記2点間補間を行って得られた補間結果のうち、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうちの中間信号レベルを有する画像信号の信号レベルに最も近い補間結果を補正後の画像信号として適用するものとした。   The image reading apparatus according to any one of Claims 1 to 9, and the correction unit uses the plurality of interpolation coefficients for each pair as in the invention according to Claim 10. The intermediate signal level of the image signal corresponding to each of the plurality of light receiving elements corresponding to the pixel specified by the specifying means among the interpolation results obtained by performing the interpolating and performing the interpolation between the two points The interpolation result closest to the signal level of the image signal having a value is applied as the corrected image signal.

請求項1〜請求項10の何れか1項に記載の画像読取装置を、請求項11に記載の発明のように、前記特定手段が、前記検出手段によって検出された前記境界領域が所定画素数以内であり、かつ該境界領域を挟んだ前記無彩色領域間の濃度差が所定値以上であり、かつ該境界領域に存在する画素のうち、対応する前記複数の受光素子の各々から出力された前記画像信号のうちの最大信号レベルと最小信号レベルとの差が予め定められた色ずれ閾値以上である画素を色ずれが発生した画素として特定するものとした。   The image reading apparatus according to any one of claims 1 to 10, wherein, as in the invention according to claim 11, the specifying unit detects that the boundary region detected by the detecting unit is a predetermined number of pixels. And the density difference between the achromatic regions across the boundary region is greater than or equal to a predetermined value, and among the pixels existing in the boundary region, output from each of the corresponding light receiving elements A pixel in which the difference between the maximum signal level and the minimum signal level in the image signal is equal to or greater than a predetermined color shift threshold is specified as a pixel in which color shift has occurred.

請求項1〜請求項11の何れか1項に記載の画像読取装置を、請求項12に記載の発明のように、前記移動手段が、前記画像記録領域に前記光源の光が照射されるように前記記録媒体を搬送する搬送手段を有するものとした。   The image reading apparatus according to any one of claims 1 to 11, wherein the moving means irradiates the light of the light source onto the image recording area as in the invention according to claim 12. And a conveying means for conveying the recording medium.

請求項12に記載の画像読取装置を、請求項13に記載の発明のように、前記検出手段が、前記画像記録領域のうちの前記搬送手段によって搬送されている前記記録媒体の搬送速度が変化する期間として予め定められた期間に前記光が照射された領域に対応する前記画像信号に基づいて前記境界領域を検出するものとした。   The image reading apparatus according to claim 12 is the same as the invention according to claim 13, wherein the detection unit changes a conveyance speed of the recording medium conveyed by the conveyance unit in the image recording area. The boundary region is detected based on the image signal corresponding to the region irradiated with the light during a predetermined period.

請求項1〜請求項13の何れか1項に記載の画像読取装置を、請求項14に記載の発明のように、前記生成手段を、前記複数の受光素子が1画素単位で前記所定方向に沿って配列されると共に、分光感度毎に前記所定方向に対して交差する方向に複数組配置されたラインセンサとしたものとした。   The image reading apparatus according to any one of claims 1 to 13, and the generation unit according to the invention according to claim 14, wherein the plurality of light receiving elements are arranged in the predetermined direction in units of one pixel. In addition, a plurality of sets of line sensors are arranged in a direction intersecting the predetermined direction for each spectral sensitivity.

請求項1〜請求項14の何れか1項に記載の画像読取装置を、請求項15に記載の発明のように、前記検出手段が、前記画像信号の生成順序が所定画素数離間して先後する画素について、先の画素に係る前記複数の受光素子に対応する各画像信号の信号レベルのうちの最大信号レベルと最小信号レベルとの差の絶対値が、白であることを示す値として予め定められた白基準値以内であるとの条件及び黒であることを示す値として予め定められた黒基準値以内であるとの条件の一方の条件を満足し、かつ後の画素に係る前記複数の受光素子に対応する各画像信号の信号レベルのうちの最大信号レベルと最小信号レベルとの差の絶対値が、前記予め定められた白基準値以内であるとの条件及び前記予め定められた黒基準値以内であるとの条件の他方の条件を満足した場合に前記先の画素と前記後の画素とで挟まれる領域を前記境界領域として検出するものとした。   The image reading apparatus according to any one of claims 1 to 14, wherein, as in the invention according to claim 15, the detection means is configured so that the generation order of the image signals is separated by a predetermined number of pixels. As a value indicating that the absolute value of the difference between the maximum signal level and the minimum signal level among the signal levels of the image signals corresponding to the plurality of light receiving elements related to the previous pixel is white. The plurality of conditions relating to a later pixel satisfying one of a condition that it is within a predetermined white reference value and a condition that is within a predetermined black reference value as a value indicating black A condition that the absolute value of the difference between the maximum signal level and the minimum signal level among the signal levels of the image signals corresponding to the light receiving elements is within the predetermined white reference value and the predetermined Other than the condition that it is within the black reference value The region sandwiched by the first pixel and the subsequent pixel when satisfying the condition was assumed to be detected as the boundary region.

一方、上記課題を解決するために、請求項16に記載のプログラムを、画像が記録された記録媒体の該画像を含む画像記録領域と該画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されることにより該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、を含む画像読取装置を制御するコンピュータを、前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段、前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段、及び、前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域について、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段として機能させるためのものとした。   On the other hand, in order to solve the above-mentioned problem, the program according to claim 16 is executed at least of an image recording area including the image on a recording medium on which the image is recorded and a light source that irradiates the image recording area with light. A moving unit that relatively moves one side in a predetermined direction and a plurality of light receiving elements with different spectral sensitivities arranged in a state shifted in the predetermined direction in units of one pixel, and the image recording during the relative movement by the moving unit The image reading apparatus includes: a generation unit configured to receive light reflected by the image recording area by irradiating the area with the plurality of light receiving elements and generate an image signal corresponding to each amount of received light; Detecting means for detecting a boundary area between different achromatic areas in the image recording area based on the image signal generated by the generating means; Based on the image signal output from each of the plurality of light receiving elements corresponding to the pixels existing in the boundary region, a specifying unit that specifies a pixel in which color misregistration has occurred in the boundary region, and detected by the detection unit An image having a maximum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means with respect to an area where the boundary area is changing from a white area to a black area. When a signal is a correction target, the color misregistration is corrected by interpolating between the image signal and the corresponding image signal generated before the image signal between two points, and specified by the specifying unit When an image signal having a minimum signal level among image signals corresponding to each of the plurality of light receiving elements corresponding to a pixel is to be corrected, the image signal and the image signal It was assumed to function and the image signal corresponding generated later than the signal as a correction means for correcting the color shift by interpolating between two points.

一方、上記課題を解決するために、請求項17に記載のプログラムを、画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、を含む画像読取装置を制御するコンピュータを、前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段、前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段、及び、前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域について、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段として機能させるためのものとした。   On the other hand, in order to solve the above problem, the program according to claim 17 is arranged so that at least one of a recording medium on which an image is recorded and a light source that irradiates light to an image recording area including the image is in a predetermined direction. A moving means for relative movement and a plurality of light receiving elements with different spectral sensitivities arranged in a state shifted in the predetermined direction are provided in units of one pixel, and light is applied to the image recording area during the relative movement by the moving means. A generating unit that receives the light reflected by the image recording area by the plurality of light receiving elements and generates an image signal corresponding to each amount of received light. Detection means for detecting a boundary area between different achromatic areas in the image recording area based on the generated image signal, and pixels existing in the boundary area detected by the detection means A specifying means for specifying a pixel in which color misregistration occurs in the boundary area based on the image signal output from each of the plurality of corresponding light receiving elements; and the boundary area detected by the detecting means is a black area When an image signal having a maximum signal level is selected as a correction target among image signals corresponding to each of the plurality of light receiving elements corresponding to the pixel specified by the specifying means for the region in the middle of the change from the white region to the white region The color shift is corrected by interpolating between the image signal and the corresponding image signal generated after the image signal between two points, and the plurality of light receptions corresponding to the pixels specified by the specifying unit When the image signal having the minimum signal level among the image signals corresponding to each of the elements is to be corrected, the image signal and the image signal generated before the image signal are generated. And said image signal response was intended to function as a correction means for correcting the color shift by interpolating between two points.

一方、上記課題を解決するために、請求項18に記載のプログラムを、画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、を含む画像読取装置を制御するコンピュータを、前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段、前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段、及び、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた前記画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段として機能させるためのものとした。   On the other hand, in order to solve the above-mentioned problem, at least one of a recording medium on which an image is recorded and a light source that irradiates light to an image recording area including the image is set in a predetermined direction. A moving means for relative movement and a plurality of light receiving elements with different spectral sensitivities arranged in a state shifted in the predetermined direction are provided in units of one pixel, and light is applied to the image recording area during the relative movement by the moving means. A generating unit that receives the light reflected by the image recording area by the plurality of light receiving elements and generates an image signal corresponding to each amount of received light. Detection means for detecting a boundary area between different achromatic areas in the image recording area based on the generated image signal, and pixels existing in the boundary area detected by the detection means A specifying unit for specifying a pixel in which color misregistration occurs in the boundary region based on the image signal output from each of the plurality of corresponding light receiving elements; and the plurality corresponding to the pixel specified by the specifying unit Among the image signals corresponding to each of the light receiving elements, the image signal having the maximum signal level is a correction target, and the boundary area detected by the detection means is an area in the middle of changing from a white area to a black area In this case, the color shift is corrected by interpolating between the image signal to be corrected and the corresponding image signal generated before the image signal between two points, and the pixel specified by the specifying unit Among the image signals corresponding to each of the plurality of light receiving elements corresponding to the image signal having the maximum signal level as a correction target and detected by the detection means. When the boundary region is a region in the middle of a change from a black region to a white region, interpolation between the image signal to be corrected and the corresponding image signal generated after the image signal is performed between two points. In order to function as correction means for correcting the color misregistration.

一方、上記課題を解決するために、請求項19に記載のプログラムを、画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、を含む画像読取装置を制御するコンピュータを、前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段、前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段、及び、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた前記画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段として機能させるためのものとした。   On the other hand, in order to solve the above-mentioned problem, at least one of a recording medium on which an image is recorded and a light source that irradiates light to an image recording area including the image is set in a predetermined direction. A moving means for relative movement and a plurality of light receiving elements with different spectral sensitivities arranged in a state shifted in the predetermined direction are provided in units of one pixel, and light is applied to the image recording area during the relative movement by the moving means. A generating unit that receives the light reflected by the image recording area by the plurality of light receiving elements and generates an image signal corresponding to each amount of received light. Detection means for detecting a boundary area between different achromatic areas in the image recording area based on the generated image signal, and pixels existing in the boundary area detected by the detection means A specifying unit for specifying a pixel in which color misregistration occurs in the boundary region based on the image signal output from each of the plurality of corresponding light receiving elements; and the plurality corresponding to the pixel specified by the specifying unit Among the image signals corresponding to each of the light receiving elements, the image signal having the minimum signal level is an object to be corrected, and the boundary area detected by the detecting means is an area in the middle of changing from a white area to a black area In this case, the color misregistration is corrected by interpolating between the image signal to be corrected and the corresponding image signal generated after the image signal between two points, and the pixel specified by the specifying unit is corrected. Among the image signals corresponding to each of the corresponding light receiving elements, the image signal having the minimum signal level is to be corrected and detected by the detection means. When the boundary region is a region in the middle of a change from a black region to a white region, interpolation is performed between the image signal to be corrected and the corresponding image signal generated before the image signal between two points. Thus, the color misregistration is made to function as a correction unit.

請求項1、請求項3、請求項5、請求項7及び請求項16〜請求項19に係る発明によれば、異なる無彩色領域間の境界領域に存在する画素に係る補正対象とされた画像信号を用いて2点間補間を行う構成を有しない場合に比べ、異なる無彩色領域間における色ずれが高精度に補正される、という効果が得られる。   According to the first, third, fifth, seventh and sixteenth to nineteenth aspects of the present invention, the image to be corrected is related to a pixel existing in a boundary region between different achromatic regions. Compared to the case where the configuration for performing interpolation between two points using a signal is not provided, an effect that color shift between different achromatic regions is corrected with high accuracy is obtained.

請求項2に係る発明によれば、検出手段によって検出された境界領域が黒色領域から白色領域への変化途中の領域について、特定手段によって特定された画素に対応する複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する画像信号とを2点間補間することで色ずれを補正し、特定手段によって特定された画素に対応する複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する画像信号とを2点間補間することで色ずれを補正する構成を有しない場合に比べ、異なる無彩色領域間における色ずれがより高精度に補正される、という効果が得られる。   According to the second aspect of the present invention, the boundary region detected by the detecting unit corresponds to each of the plurality of light receiving elements corresponding to the pixel specified by the specifying unit for the region in the middle of the change from the black region to the white region. When the image signal having the maximum signal level is to be corrected among the image signals to be corrected, the color misregistration is corrected by interpolating between the image signal and the corresponding image signal generated after the image signal. When the image signal having the minimum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixel specified by the specifying unit is to be corrected, the image signal and the image signal are preceded. Compared to the case where there is no configuration that corrects color misregistration by interpolating between the corresponding image signals generated at 2 points, color misregistration between different achromatic regions is corrected with higher accuracy. The effect is obtained that.

請求項4に係る発明によれば、検出手段によって検出された境界領域が白色領域から黒色領域への変化途中の領域について、特定手段によって特定された画素に対応する複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する画像信号とを2点間補間することで色ずれを補正し、特定手段によって特定された画素に対応する複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する画像信号とを2点間補間することで色ずれを補正する構成を有しない場合に比べ、異なる無彩色領域間における色ずれがより高精度に補正される、という効果が得られる。   According to the fourth aspect of the present invention, the boundary region detected by the detecting unit corresponds to each of the plurality of light receiving elements corresponding to the pixel specified by the specifying unit for the region in the middle of the change from the white region to the black region. When the image signal having the maximum signal level is to be corrected among the image signals to be corrected, color misregistration is performed by interpolating between the image signal and the corresponding image signal generated prior to the image signal. When an image signal having a minimum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit is corrected, the image signal and the image signal are Compared to the case where there is no configuration for correcting color misregistration by interpolating between corresponding image signals generated later at two points, color misregistration between different achromatic regions is corrected with higher accuracy. The effect is obtained that.

請求項6に係る発明によれば、特定手段によって特定された画素に対応する複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ検出手段によって検出された境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも後に生成された対応する画像信号とを2点間補間することで色ずれを補正し、特定手段によって特定された画素に対応する複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ検出手段によって検出された境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも先に生成された対応する画像信号とを2点間補間することで色ずれを補正する構成を有しない場合に比べ、異なる無彩色領域間における色ずれがより高精度に補正される、という効果が得られる。   According to the invention of claim 6, among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means, the image signal having the minimum signal level is to be corrected, and the detection means When the detected boundary region is a region in the middle of the change from the white region to the black region, the image signal to be corrected and the corresponding image signal generated after the image signal are interpolated between two points. The color misregistration is corrected with the image signal corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means, and the image signal having the minimum signal level is to be corrected and detected by the detecting means. When the boundary region is a region in the middle of changing from the black region to the white region, the image signal to be corrected and the corresponding image signal generated prior to the image signal are between two points. Compared with the case of not having the structure of correcting the color shift by between color shift between different achromatic region is corrected with higher accuracy, the effect is obtained that.

請求項8に係る発明によれば、特定手段によって特定された画素に対応する複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ検出手段によって検出された境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも先に生成された対応する画像信号とを2点間補間することで色ずれを補正し、特定手段によって特定された画素に対応する複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ検出手段によって検出された境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも後に生成された対応する画像信号とを2点間補間することで色ずれを補正する構成を有しない場合に比べ、異なる無彩色領域間における色ずれがより高精度に補正される、という効果が得られる。   According to the eighth aspect of the invention, among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means, the image signal having the maximum signal level is to be corrected, and the detection means When the detected boundary region is a region in the middle of the change from the white region to the black region, the image signal to be corrected and the corresponding image signal generated before the image signal are interpolated between two points. Thus, the color misregistration is corrected, and among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means, the image signal having the maximum signal level is targeted for correction and detected by the detecting means. If the boundary region is a region in the middle of changing from the black region to the white region, the image signal to be corrected and the corresponding image signal generated after the image signal are Compared with the case of not having the structure of correcting the color shift by between color shift between different achromatic region is corrected with higher accuracy, the effect is obtained that.

請求項9に係る発明によれば、2点間補間の対象となる画像信号を、時系列上互いに隣接して生成された画像信号とした構成を有しない場合に比べ、異なる無彩色領域間における色ずれがより高精度に補正される、という効果が得られる。   According to the ninth aspect of the present invention, the image signals to be interpolated between the two points are compared between different achromatic regions as compared with the case where the image signals are generated adjacent to each other in time series. There is an effect that the color shift is corrected with higher accuracy.

請求項10に係る発明によれば、補正手段が複数組の補間係数を組毎に用いて2点間補間を行い、2点間補間を行って得られた補間結果のうち、特定手段によって特定された画素に対応する複数の受光素子の各々に対応する画像信号のうちの中間信号レベルを有する画像信号の信号レベルに最も近い補間結果を補正後の画像信号として適用する構成を有しない場合に比べ、異なる無彩色領域間における色ずれがより高精度に補正される、という効果が得られる。   According to the invention of claim 10, the correcting means performs two-point interpolation using a plurality of sets of interpolation coefficients for each set, and the specifying means among the interpolation results obtained by performing the two-point interpolation is specified by the specifying means. When there is no configuration to apply the interpolation result closest to the signal level of the image signal having the intermediate signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the selected pixel as the corrected image signal In comparison, it is possible to obtain an effect that a color shift between different achromatic regions is corrected with higher accuracy.

請求項11に係る発明によれば、特定手段が、検出手段によって検出された境界領域が所定画素数以内であり、かつ該境界領域を挟んだ無彩色領域間の濃度差が所定値以上であり、かつ該境界領域に存在する画素のうち、対応する複数の受光素子の各々から出力された画像信号のうちの最大信号レベルと最小信号レベルとの差が予め定められた色ずれ閾値以上である画素を色ずれが発生した画素として特定する構成を有しない場合に比べ、異なる無彩色領域間における色ずれが高精度に特定される、という効果が得られる。   According to the eleventh aspect of the invention, the specifying means has the boundary area detected by the detecting means within a predetermined number of pixels, and the density difference between the achromatic areas sandwiching the boundary area is not less than a predetermined value. The difference between the maximum signal level and the minimum signal level of the image signals output from each of the corresponding light receiving elements among the pixels existing in the boundary region is equal to or greater than a predetermined color misregistration threshold. Compared to a case where the pixel is not configured to identify a pixel where color misregistration has occurred, an effect that the color misregistration between different achromatic regions can be identified with high accuracy can be obtained.

請求項12に係る発明によれば、画像記録領域に光源の光が照射されるように記録媒体を搬送する搬送手段を有しない場合に比べ、記録媒体を搬送している間に搬送速度の急な変化に起因して生じる色ずれが高精度に検出される、という効果が得られる。   According to the twelfth aspect of the present invention, compared to the case where the recording medium is not transported so that the light of the light source is irradiated on the image recording area, the transport speed is rapidly increased while the recording medium is transported. An effect is obtained that a color shift caused by a large change is detected with high accuracy.

請求項13に係る発明によれば、画像記録領域のうちの搬送手段によって搬送されている記録媒体の搬送速度が変化する期間として予め定められた期間に光が照射された領域に対応する画像信号に基づいて境界領域を検出する構成を有しない場合に比べ、色ずれが高精度且つ迅速に検出される、という効果が得られる。   According to the thirteenth aspect of the present invention, the image signal corresponding to an area irradiated with light in a predetermined period as a period during which the conveyance speed of the recording medium conveyed by the conveying means in the image recording area changes. As compared with the case where the configuration for detecting the boundary region based on the above is not provided, an effect that the color misregistration is detected with high accuracy and speed can be obtained.

請求項14に係る発明によれば、複数の受光素子が1画素単位で所定方向に沿って配列されると共に、所定方向に対して交差する方向に分光感度毎に複数組配置されたラインセンサとした構成を有しない場合に比べ、広範囲の色ずれが高精度に検出される、という効果が得られる。   According to the invention of claim 14, a plurality of light receiving elements are arranged along a predetermined direction in units of one pixel, and a plurality of line sensors are arranged for each spectral sensitivity in a direction intersecting the predetermined direction. Compared to the case without the above configuration, an effect that a wide range of color misregistration is detected with high accuracy can be obtained.

請求項15に係る発明によれば、画像信号の生成順序が所定画素数離間して先後する画素について、先の画素に係る複数の受光素子に対応する各画像信号の信号レベルのうちの最大信号レベルと最小信号レベルとの差の絶対値が、白であることを示す値として予め定められた白基準値以内であるとの条件及び黒であることを示す値として予め定められた黒基準値以内であるとの条件の一方の条件を満足し、かつ後の画素に係る複数の受光素子に対応する各画像信号の信号レベルのうちの最大信号レベルと最小信号レベルとの差の絶対値が、予め定められた白基準値以内であるとの条件及び予め定められた黒基準値以内であるとの条件の他方の条件を満足した場合に先の画素と後の画素とで挟まれる領域を境界領域として検出する構成を有しない場合に比べ、色ずれの検出対象とされる境界領域が高精度且つ容易に検出される、という効果が得られる。   According to the fifteenth aspect of the present invention, the maximum signal among the signal levels of the respective image signals corresponding to the plurality of light receiving elements according to the preceding pixel, with respect to the pixel preceding the predetermined number of pixels in the generation order of the image signal. The condition that the absolute value of the difference between the level and the minimum signal level is within a predetermined white reference value as a value indicating white and a black reference value predetermined as a value indicating black The absolute value of the difference between the maximum signal level and the minimum signal level among the signal levels of the image signals corresponding to the plurality of light receiving elements related to the subsequent pixels is satisfied. An area sandwiched between the previous pixel and the subsequent pixel when the other condition of being within a predetermined white reference value and the condition of being within a predetermined black reference value is satisfied Does not have a configuration to detect as a boundary region When compared with the boundary regions are detected in the color shift is highly accurate and easily detected, the effect is obtained that.

実施の形態に係る画像処理装置の構成の一例を示す概略構成図である。It is a schematic block diagram which shows an example of a structure of the image processing apparatus which concerns on embodiment. 実施の形態に係る画像処理装置のスキャナの構成の一例を示す概略端面図及び一部の機能を示すブロック図である。1 is a schematic end view illustrating an example of a configuration of a scanner of an image processing apparatus according to an embodiment and a block diagram illustrating some functions. 実施の形態に係るスキャナに含まれる画像読取センサの一例を示す概略構成図である。1 is a schematic configuration diagram illustrating an example of an image reading sensor included in a scanner according to an embodiment. 実施の形態に係る画像処理装置の電気系の要部構成の一例を示すブロック図である。It is a block diagram which shows an example of the principal part structure of the electric system of the image processing apparatus which concerns on embodiment. 実施の形態に係るスキャナに含まれる信号処理部の一例を示すブロック図である。It is a block diagram which shows an example of the signal processing part contained in the scanner which concerns on embodiment. 実施の形態に係る信号処理部に含まれる色ずれ検出・補正回路の一例を示すブロック図であるFIG. 3 is a block diagram illustrating an example of a color misregistration detection / correction circuit included in the signal processing unit according to the embodiment. 実施の形態に係る無彩色・色ずれ検出処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the achromatic color / color misregistration detection process which concerns on embodiment. 搬送方向に沿って白色領域と黒色領域とが交互に配置されたラダーパターンが記録された画像記録領域を有する原稿を画像読取センサで読み取って得られた画像データの各色の濃度値と原稿の搬送方向の位置との相関関係の一例を示すグラフである。The density value of each color of image data obtained by reading an original having an image recording area on which a ladder pattern in which white areas and black areas are alternately arranged along the conveyance direction is recorded, and conveyance of the original It is a graph which shows an example of correlation with the position of a direction. 実施の形態に係る色ずれ検出処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the color misregistration detection process which concerns on embodiment. 実施の形態に係る無彩色・色ずれ検出処理で採用した無彩色領域の変化点を特定する方法を説明するための説明図であるIt is explanatory drawing for demonstrating the method of pinpointing the change point of the achromatic color area employ | adopted by the achromatic color and color shift detection process which concerns on embodiment. 実施の形態に係る色ずれ検出処理で採用した色ずれ検出方法の説明に供する各色の濃度値と搬送方向の位置との関係の一例を示すグラフである。It is a graph which shows an example of the relationship between the density value of each color and the position of a conveyance direction with which it uses for description of the color shift detection method employ | adopted by the color shift detection process which concerns on embodiment. 実施の形態に係る色ずれ補正処理の流れの一例を示すフローチャートである。6 is a flowchart illustrating an example of a flow of color misregistration correction processing according to the embodiment. 色ずれ補正処理で採用した2点間補間による補正方法の説明に供する各色の濃度値と搬送方向の位置との関係の一例を示すグラフである。It is a graph which shows an example of the relationship between the density value of each color and the position of a conveyance direction used for description of the correction method by the interpolation between two points employ | adopted by the color shift correction process.

以下、図面を参照して、本発明を実施するための実施の形態の一例について詳細に説明する。   Hereinafter, an example of an embodiment for carrying out the present invention will be described in detail with reference to the drawings.

図1は、本実施の形態に係る画像処理装置10の概略構成の一例を示す図である。画像処理装置10は、スキャナ12、画像形成部14、給紙トレイ16、及びUI(ユーザ・インタフェース)パネル18を備えている。   FIG. 1 is a diagram illustrating an example of a schematic configuration of an image processing apparatus 10 according to the present embodiment. The image processing apparatus 10 includes a scanner 12, an image forming unit 14, a paper feed tray 16, and a UI (user interface) panel 18.

スキャナ12は、原稿台22及び排出台24を備えている。原稿台22の上面には1対のガイド26A,26Bが設けられている。1対のガイド26A,26Bは、一方が原稿台22に置かれた原稿の幅方向に手動操作で移動し、原稿台22に置かれた原稿が搬送される際に、原稿を案内する。スキャナ12は、原稿台22に置かれた原稿を一枚ずつ取り込み、取り込んだ原稿を読み取って、読み取った原稿の画像を示す画像情報を取得した後、原稿を排出台24に排出する。   The scanner 12 includes a document table 22 and a discharge table 24. A pair of guides 26 </ b> A and 26 </ b> B are provided on the upper surface of the document table 22. One of the pair of guides 26A and 26B is manually moved in the width direction of the document placed on the document table 22, and guides the document when the document placed on the document table 22 is conveyed. The scanner 12 fetches the originals placed on the original table 22 one by one, reads the read originals, obtains image information indicating an image of the read originals, and then discharges the originals to the discharge table 24.

一方、画像形成部14は、給紙トレイ16に収容されている記録媒体の一例である記録用紙を取り出し、取り出した記録用紙に対して、スキャナ12で取得した画像情報に基づく画像を形成し、画像が形成された記録用紙を排出台32に排出する。   On the other hand, the image forming unit 14 takes out a recording sheet that is an example of a recording medium accommodated in the paper feed tray 16, forms an image based on the image information acquired by the scanner 12 on the removed recording sheet, The recording sheet on which the image is formed is discharged to the discharge table 32.

UIパネル18は、画像を表示するタッチパネルディスプレイ34及びスイッチ36を備え、タッチパネルディスプレイ34及びスイッチ36を介して、スキャナ12による原稿の読み取り、及び画像形成部14による記録用紙への画像の形成等の各種指示がユーザによって入力されると共に、タッチパネルディスプレイ34に必要事項が表示される。   The UI panel 18 includes a touch panel display 34 and a switch 36 for displaying an image. The touch panel display 34 and the switch 36 are used to read a document by the scanner 12 and form an image on a recording sheet by the image forming unit 14. Various instructions are input by the user, and necessary items are displayed on the touch panel display 34.

図2は、本実施の形態に係るスキャナ12の構成の一例を示す概略端面図及びその周辺の電気系の構成の一部を示すブロック図である。図2に示すように、スキャナ12は、上段に配置された原稿搬送部40と下段に配置された画像読取部42とに大別される。原稿搬送部40は、原稿台22に置かれた原稿を搬送するものである。画像読取部42は、原稿搬送部40によって搬送された原稿を読み取り、読み取って得た画像を示す画像情報を出力する。   FIG. 2 is a schematic end view showing an example of the configuration of the scanner 12 according to the present embodiment and a block diagram showing a part of the configuration of the electrical system around it. As shown in FIG. 2, the scanner 12 is roughly divided into an original conveying unit 40 arranged in the upper stage and an image reading unit 42 arranged in the lower stage. The document transport unit 40 transports a document placed on the document table 22. The image reading unit 42 reads the document conveyed by the document conveying unit 40 and outputs image information indicating an image obtained by reading.

原稿搬送部40は、上述した原稿台22を上昇および下降させる原稿台リフタ44、原稿台リフタ44により上昇された原稿台22の原稿の束の最上面に接触して、原稿を一枚ずつ取り込む原稿取込ローラ46、及び原稿取込ローラ46により取り込まれた原稿を搬送路48に送り出す送出ローラ50を備えている。   The document transport unit 40 touches the document table lifter 44 for raising and lowering the document table 22 and the uppermost surface of the bundle of documents on the document table 22 raised by the document table lifter 44, and takes the documents one by one. A document take-in roller 46 and a feed roller 50 that sends a document taken in by the document take-in roller 46 to a conveyance path 48 are provided.

原稿が搬送される搬送路48には、原稿をさらに搬送方向下流側(図2の矢印B方向)に搬送する搬送ローラ52、原稿を更に下流側に搬送すると共にループ作成を行うプレ位置合わせローラ54、原稿読み取り部に対してレジストレーション調整を施しながら原稿を供給する位置合わせローラ56、読取対象とされた原稿の搬送をアシストするプラテンローラ58、及び画像が読み取られた原稿を更に下流側に搬送するアウトローラ60を備えている。また、搬送路48には、搬送される原稿のループ状態に応じて支点を中心として回動するバッフル62、及びアウトローラ60よりも原稿の搬送方向下流側に設けられると共に、排出台24へ原稿を排出する排出ローラ64を備えている。   In the conveyance path 48 where the document is conveyed, a conveyance roller 52 that conveys the document further downstream in the conveyance direction (in the direction of arrow B in FIG. 2), and a pre-positioning roller that conveys the document further downstream and creates a loop 54, an alignment roller 56 for supplying the document while performing registration adjustment on the document reading unit, a platen roller 58 for assisting the conveyance of the document to be read, and the document on which the image is read further downstream An out-roller 60 is provided. The transport path 48 is provided on the downstream side in the transport direction of the document with respect to the baffle 62 that rotates about the fulcrum according to the loop state of the transported document and the out roller 60, and the document is supplied to the discharge table 24. Is provided with a discharge roller 64.

次に、本実施の形態に係るスキャナ12における、原稿の搬送の動作について簡単に説明する。   Next, a document transport operation in the scanner 12 according to the present embodiment will be briefly described.

原稿取込ローラ46は、原稿の搬送を行わない待機時にはリフトアップされて退避位置に保持され、原稿搬送時にニップ位置(原稿搬送位置)へ降下して原稿台22上の最上位の原稿を搬送する。プレ位置合わせローラ54は、停止している位置合わせローラ56に原稿先端を突き当ててループを作成する。このループが形成されると、バッフル62は支点を中心として開き、原稿のループを妨げることのないように機能している。また、搬送ローラ52およびプレ位置合わせローラ54は、画像の読み取り中におけるループを保持している。このループ形成によって、原稿の読み取りタイミングが調整され、また、原稿の読み取り時における原稿搬送に伴うスキューを抑制して、位置合わせの調整機能を高める。そして、原稿の読み取りの開始タイミングに合わせて、停止されていた位置合わせローラ56が回転を開始し、原稿が搬送される。搬送された原稿は、プラテンローラ58によって、後述する第2プラテンガラス70Bに押圧されて下面方向から読み取られる。   The document take-in roller 46 is lifted up and held at the retracted position during standby when the document is not transported, and descends to the nip position (document transport position) during document transport to transport the uppermost document on the document table 22. To do. The pre-alignment roller 54 makes a loop by abutting the leading end of the document against the stopped alignment roller 56. When this loop is formed, the baffle 62 opens around the fulcrum and functions so as not to interfere with the document loop. Further, the transport roller 52 and the pre-positioning roller 54 hold a loop during image reading. By forming this loop, the document reading timing is adjusted, and the skew associated with document conveyance at the time of document reading is suppressed to enhance the alignment adjustment function. Then, the alignment roller 56 that has been stopped starts rotating in accordance with the document reading start timing, and the document is conveyed. The conveyed document is pressed by a platen roller 58 against a second platen glass 70B described later and read from the lower surface.

一方、画像読取部42は、原稿が置かれる透明な第1プラテンガラス70A、及び原稿搬送部40によって搬送中の原稿を読み取るための光の開口部を形成する透明な第2プラテンガラス70Bが設けられている。   On the other hand, the image reading unit 42 is provided with a transparent first platen glass 70A on which an original is placed and a transparent second platen glass 70B that forms an opening for reading the original being conveyed by the original conveying unit 40. It has been.

第1プラテンガラス70A及び第2プラテンガラス70Bの下側には、原稿の表面に向けて照明光を照射する光源72と、原稿の表面で反射した反射光を受ける第1反射ミラー74、第1反射ミラー74で受けた反射光の進行方向を90°曲げるための第2反射ミラー76、及び第2反射ミラー76で受けた反射光の進行方向をさらに90°曲げるための第3反射ミラー78が備えられている。   Below the first platen glass 70A and the second platen glass 70B, a light source 72 that irradiates illumination light toward the surface of the document, a first reflection mirror 74 that receives reflected light reflected by the surface of the document, and a first A second reflecting mirror 76 for bending the traveling direction of the reflected light received by the reflecting mirror 74 by 90 ° and a third reflecting mirror 78 for further bending the traveling direction of the reflected light received by the second reflecting mirror 76 by 90 ° Is provided.

なお、本実施の形態に係る画像読取部42では、光源72として蛍光ランプを用いるが、これに限らず、原稿の搬送方向と交差する方向に沿って配列された複数のLED(Light Emitting Diode)等、他の光源を用いても良い。   In the image reading unit 42 according to the present embodiment, a fluorescent lamp is used as the light source 72. However, the present invention is not limited to this, and a plurality of LEDs (Light Emitting Diodes) arranged along the direction intersecting the document conveying direction are used. For example, other light sources may be used.

さらに、画像読取部42は、レンズ80及び画像読取センサ82を備えており、画像読取部42は、第3反射ミラー78で反射された反射光を、レンズ80によって画像読取センサ82に結像させることにより、画像読取センサ82によって原稿を読み取る。   Further, the image reading unit 42 includes a lens 80 and an image reading sensor 82, and the image reading unit 42 forms an image of the reflected light reflected by the third reflection mirror 78 on the image reading sensor 82 by the lens 80. Thus, the document is read by the image reading sensor 82.

本実施の形態に係る画像読取部42では、画像信号を生成する生成手段の一例である画像読取センサ82として、複数の受光素子(一例としてフォトダイオード)の各々に対して画素毎に対応するCCD(Charge Coupled Device)が配置されて構成されるCCDラインセンサを適用している。このCCDラインセンサは異なる分光感度毎に設けられており、各々のCCDラインセンサは個々の受光素子の受光量に応じた画像信号を生成して後段に出力する。すなわち、レンズ80によって結像された光学像を光電変換して赤(R)、緑(G)、青(B)の各色の画像信号を生成して後段に出力する。なお、本実施の形態では、CCDラインセンサを適用しているが、これに限らず、CMOS(Complementary Metal-Oxide Semiconductor)イメージセンサ等の固体撮像素子を用いても良い。   In the image reading unit 42 according to the present embodiment, as an image reading sensor 82 which is an example of a generation unit that generates an image signal, a CCD corresponding to each pixel for each of a plurality of light receiving elements (photodiodes as an example). A CCD line sensor configured with (Charge Coupled Device) is applied. This CCD line sensor is provided for each different spectral sensitivity, and each CCD line sensor generates an image signal corresponding to the amount of light received by each light receiving element and outputs it to the subsequent stage. That is, the optical image formed by the lens 80 is photoelectrically converted to generate red (R), green (G), and blue (B) color image signals, which are output to the subsequent stage. In this embodiment, a CCD line sensor is applied. However, the present invention is not limited to this, and a solid-state imaging device such as a CMOS (Complementary Metal-Oxide Semiconductor) image sensor may be used.

また、本実施の形態に係る画像読取部42は、光源72及び第1反射ミラー74がキャリッジ83Aによって、第2反射ミラー76及び第3反射ミラー78がキャリッジ83Bによって図3の矢印C方向に移動自在とされている。これにより、第1プラテンガラス70Aの上面に原稿が置かれた場合に、光源72から照明光を原稿に向けて照射しつつ、矢印C方向へ光源72、第1反射ミラー74、第2反射ミラー76、及び第3反射ミラー78を移動させて原稿を読み取る。   Further, in the image reading unit 42 according to the present embodiment, the light source 72 and the first reflection mirror 74 are moved in the direction of arrow C in FIG. 3 by the carriage 83A, and the second reflection mirror 76 and the third reflection mirror 78 are moved by the carriage 83B. It is supposed to be free. Thus, when the document is placed on the upper surface of the first platen glass 70A, the light source 72, the first reflection mirror 74, and the second reflection mirror are irradiated in the direction of arrow C while irradiating the illumination light from the light source 72 toward the document. 76 and the third reflecting mirror 78 are moved to read the original.

また、画像読取部42は、信号処理部84を備えている。信号処理部84の入力端は、画像読取センサ82の出力端に接続されている。従って、信号処理部84は、画像読取センサ82から各色の画像信号が入力され、入力された各色(ここでは一例としてR,G,B)の画像信号に対して予め定められた信号処理を施してデジタル画像データ(以下、画像データという)を後段に出力する。   Further, the image reading unit 42 includes a signal processing unit 84. The input end of the signal processing unit 84 is connected to the output end of the image reading sensor 82. Therefore, the signal processing unit 84 receives image signals of each color from the image reading sensor 82, and performs predetermined signal processing on the input image signals of each color (here, R, G, B as an example). Digital image data (hereinafter referred to as image data) is output to the subsequent stage.

図3は、画像読取部42の画像読取センサ82の構成の一例を示す概略構成図である。なお、以下の説明では、原稿と光源72との相対的な移動方向を副走査方向SS(又は搬送方向SS)と称し、副走査方向と交差(一例として直交)する方向を主走査方向FSと称する。図3に示すように画像読取センサ82は、矩形状の基板82aと、この基板82a上に設けられた互いに分光感度が異なる赤用CCDラインセンサ82R、緑用CCDラインセンサ82G、及び青用CCDラインセンサ82Bを有している。赤用CCDラインセンサ82R、緑用CCDラインセンサ82G、及び青用CCDラインセンサ82Bは各々主走査方向FSに沿って延在しており、かつ副走査方向SSに並ぶように配置されている。本実施の形態に係る赤用CCDラインセンサ82R、緑用CCDラインセンサ82G、及び青用CCDラインセンサ82Bは、各々フォトダイオード19が主走査方向FSに直線状にN個並べられて構成されている。また、赤用CCDラインセンサ82Rと緑用CCDラインセンサ82Gとの間隔、及び緑用CCDラインセンサ82Gと青用CCDラインセンサ82Bとの間隔は、各々副走査方向SSに主走査線4本分(以下、単に4ライン相当という)とされている。   FIG. 3 is a schematic configuration diagram illustrating an example of the configuration of the image reading sensor 82 of the image reading unit 42. In the following description, the relative movement direction of the original and the light source 72 is referred to as the sub-scanning direction SS (or the transport direction SS), and the direction intersecting (subjecting as an example) the sub-scanning direction is referred to as the main scanning direction FS. Called. As shown in FIG. 3, the image reading sensor 82 includes a rectangular substrate 82a, a red CCD line sensor 82R, a green CCD line sensor 82G, and a blue CCD provided on the substrate 82a and having different spectral sensitivities. A line sensor 82B is provided. The red CCD line sensor 82R, the green CCD line sensor 82G, and the blue CCD line sensor 82B each extend along the main scanning direction FS and are arranged in the sub-scanning direction SS. Each of the red CCD line sensor 82R, the green CCD line sensor 82G, and the blue CCD line sensor 82B according to the present embodiment is configured by arranging N photodiodes 19 in a straight line in the main scanning direction FS. Yes. Further, the distance between the red CCD line sensor 82R and the green CCD line sensor 82G and the distance between the green CCD line sensor 82G and the blue CCD line sensor 82B are respectively equal to four main scanning lines in the sub-scanning direction SS. (Hereinafter simply referred to as 4 lines).

青用CCDラインセンサ82Bは、主走査方向FSに一直線状に配置されたN個の画素の各々の青色成分を表す画像信号Bを信号処理部84に出力する。また、緑用CCDラインセンサ82Gは、青用CCDラインセンサ82Bから副走査方向SSに4ライン相当だけ下流側で主走査方向FSに一直線状に配置されたN個の画素の緑色成分を表す画像信号Gを信号処理部84に出力する。更に、赤用CCDラインセンサ82Rは、緑色読み取り位置RGから副走査方向SSに4ライン相当だけ下流側で主走査方向FSに一直線状に配置されたN個の画素の赤色成分を表す画像信号Rを信号処理部84に出力する。   The blue CCD line sensor 82B outputs an image signal B representing the blue component of each of the N pixels arranged in a straight line in the main scanning direction FS to the signal processing unit 84. The green CCD line sensor 82G is an image representing the green components of N pixels arranged in a straight line in the main scanning direction FS downstream of the blue CCD line sensor 82B by an amount corresponding to four lines in the sub scanning direction SS. The signal G is output to the signal processing unit 84. Further, the red CCD line sensor 82R is an image signal R representing the red component of N pixels arranged in a straight line in the main scanning direction FS downstream of the green reading position RG by the amount corresponding to four lines in the sub scanning direction SS. Is output to the signal processing unit 84.

図4は、本実施の形態に係る画像処理装置10の電気系の要部構成の一例を示すブロック図である。図4に示すように、画像処理装置10は、画像形成部14、UIパネル18、コントローラ100、二次記憶部102、及び外部I/F(インタフェース)104を含んで構成されている。   FIG. 4 is a block diagram illustrating an example of a main configuration of the electrical system of the image processing apparatus 10 according to the present embodiment. As shown in FIG. 4, the image processing apparatus 10 includes an image forming unit 14, a UI panel 18, a controller 100, a secondary storage unit 102, and an external I / F (interface) 104.

コントローラ100は、画像処理装置10全体の動作を制御するものであり、CPU(中央処理装置:Central Processing Unit)100A、RAM(Read Only Memory)100B及びROM(Read Only Memory)100Cを備えている。RAM100Bは、各種プログラムの実行時のワークエリア等として用いられるメモリであり、ROM100Cには、各種プログラムや各種パラメータ、各種テーブル情報等が予め記憶されている。CPU100Aは、ROM100Cに記憶されたプログラムをRAM100Bに取り込み、取り込んだプログラムを実行し、画像処理装置10全体の動作を制御する。   The controller 100 controls the overall operation of the image processing apparatus 10, and includes a CPU (Central Processing Unit) 100A, a RAM (Read Only Memory) 100B, and a ROM (Read Only Memory) 100C. The RAM 100B is a memory used as a work area when various programs are executed, and various programs, various parameters, various table information, and the like are stored in advance in the ROM 100C. The CPU 100A fetches the program stored in the ROM 100C into the RAM 100B, executes the fetched program, and controls the overall operation of the image processing apparatus 10.

外部I/F104は、パーソナル・コンピュータ等の外部装置110に接続されており、コントローラ100と外部装置110とが相互に各種情報の授受を行うためのものである。   The external I / F 104 is connected to an external device 110 such as a personal computer, and is used for the controller 100 and the external device 110 to exchange various information with each other.

CPU100A、RAM100B、ROM100C、二次記憶部102、スキャナ12、画像形成部14、UIパネル18及び外部I/F104は互いにアドレスバス、データバス、及び制御バス等のバス108を介して接続されている。従って、CPU100Aは、RAM100B、ROM100C、及び二次記憶部102へのアクセスと、UIパネル18への各種情報の表示と、UIパネル18に対するユーザの操作指示内容の把握と、外部I/F104を介した外部装置110との各種情報の授受と、スキャナ12及び画像形成部14の動作状態の把握と、スキャナ12及び画像形成部14の動作の制御と、を各々行う。   The CPU 100A, RAM 100B, ROM 100C, secondary storage unit 102, scanner 12, image forming unit 14, UI panel 18 and external I / F 104 are connected to each other via a bus 108 such as an address bus, a data bus, and a control bus. . Accordingly, the CPU 100A accesses the RAM 100B, the ROM 100C, and the secondary storage unit 102, displays various types of information on the UI panel 18, grasps the contents of user operation instructions on the UI panel 18, and passes the external I / F 104. Each exchange of various information with the external device 110, grasping of the operation state of the scanner 12 and the image forming unit 14, and control of the operation of the scanner 12 and the image forming unit 14 are performed.

図5は、本実施の形態に係る信号処理部84の構成の一例を示すブロック図である。図5に示すように、信号処理部84は、サンプルホールド112、黒レベル調整回路114、出力増幅回路116、AD変換回路118、シェーディング補正回路120、出力遅延回路122、色ずれ検出・補正回路124、画像処理回路126及びCPU128を含んで構成されている。画像読取センサ82の画像信号B,G,Rの各々に対応する出力端はサンプルホールド回路112の対応する各入力端に接続されている。サンプルホールド回路112において、画像読取センサ82に係る画像信号B,G,Rの各々に対応する出力端は黒レベル調整回路114の対応する各入力端に接続されている。黒レベル調整回路114において、画像読取センサ82に係る画像信号B,G,Rの各々に対応する出力端は出力増幅回路116の対応する各入力端に接続されている。出力増幅回路116において、画像読取センサ82に係る画像信号B,G,Rの各々に対応する出力端はAD変換回路118の対応する各入力端に接続されている。AD変換回路118において、画像読取センサ82に係る画像信号B,G,Rの各々に対応する出力端はシェーディング補正回路120の対応する各入力端に接続されている。シェーディング補正回路120において、画像読取センサ82に係る画像信号B,Gの各々に対応する出力端は出力遅延回路122の対応する各入力端に接続されている。シェーディング補正回路120において、画像読取センサ82に係る画像信号Rに対応する出力端は色ずれ検出・補正回路124の対応する入力端に接続されている。出力遅延回路122において、画像読取センサ82に係る画像信号B,Gの各々に対応する出力端は色ずれ検出・補正回路124の対応する各入力端に接続されている。色ずれ検出・補正回路124において、画像読取センサ82に係る画像信号B,G,Rの各々に対応する出力端は画像処理回路126の対応する各入力端に接続されている。CCD駆動回路130は、出力端が画像読取センサ82の入力端に接続されている。   FIG. 5 is a block diagram showing an example of the configuration of the signal processing unit 84 according to the present embodiment. As shown in FIG. 5, the signal processing unit 84 includes a sample hold 112, a black level adjustment circuit 114, an output amplification circuit 116, an AD conversion circuit 118, a shading correction circuit 120, an output delay circuit 122, and a color misregistration detection / correction circuit 124. The image processing circuit 126 and the CPU 128 are included. Output terminals corresponding to the image signals B, G, and R of the image reading sensor 82 are connected to corresponding input terminals of the sample hold circuit 112. In the sample and hold circuit 112, output terminals corresponding to the image signals B, G, and R related to the image reading sensor 82 are connected to corresponding input terminals of the black level adjusting circuit 114. In the black level adjustment circuit 114, output terminals corresponding to the image signals B, G, and R related to the image reading sensor 82 are connected to corresponding input terminals of the output amplifier circuit 116. In the output amplifier circuit 116, output terminals corresponding to the image signals B, G, and R related to the image reading sensor 82 are connected to corresponding input terminals of the AD conversion circuit 118. In the AD conversion circuit 118, output terminals corresponding to the image signals B, G, and R related to the image reading sensor 82 are connected to corresponding input terminals of the shading correction circuit 120. In the shading correction circuit 120, output terminals corresponding to the image signals B and G related to the image reading sensor 82 are connected to corresponding input terminals of the output delay circuit 122. In the shading correction circuit 120, an output terminal corresponding to the image signal R related to the image reading sensor 82 is connected to a corresponding input terminal of the color misregistration detection / correction circuit 124. In the output delay circuit 122, output terminals corresponding to the image signals B and G related to the image reading sensor 82 are connected to corresponding input terminals of the color misregistration detection / correction circuit 124. In the color misregistration detection / correction circuit 124, output terminals corresponding to the image signals B, G, and R related to the image reading sensor 82 are connected to corresponding input terminals of the image processing circuit 126. The CCD drive circuit 130 has an output end connected to the input end of the image reading sensor 82.

サンプルホールド回路112は、画像読取センサ82から入力された画像信号B,G,Rをサンプリング(標本化)すると共に予め定められた期間ホールド(保持)するサンプリングホールドを行う。   The sample hold circuit 112 performs sampling hold for sampling (sampling) the image signals B, G, R inputted from the image reading sensor 82 and holding (holding) them for a predetermined period.

黒レベル調整回路114は、サンプルホールド回路112によりサンプリングホールドされた画像信号B,G,Rについて、読み取られた原稿の黒色に対応する出力とスキャナ12の出力の黒レベルとが相違しないように調整する。   The black level adjustment circuit 114 adjusts the image signals B, G, and R sampled and held by the sample hold circuit 112 so that the output corresponding to the black color of the read original does not differ from the black level of the output of the scanner 12. To do.

出力増幅回路116は、黒レベル調整された後の画像信号B,G,Rを増幅する。A/D変換回路118は、出力増幅回路116により増幅された画像信号B,G,RをA/D変換し、デジタルデータである画像データB,G,Rに変換する。   The output amplifier circuit 116 amplifies the image signals B, G, R after the black level adjustment. The A / D conversion circuit 118 performs A / D conversion on the image signals B, G, and R amplified by the output amplifier circuit 116, and converts them into image data B, G, and R that are digital data.

シェーディング補正回路120は、A/D変換回路118により変換されて得られた画像データB,G,Rに対して、光源72やCCDラインセンサ82B,82G,82Rに起因する読取出力のばらつきを補正すると共に、読み取られた原稿の白色に対応する出力とスキャナ12の出力の白レベルとが相違しないように調整する所謂シェーディング補正を行う。   The shading correction circuit 120 corrects variations in read output caused by the light source 72 and the CCD line sensors 82B, 82G, and 82R with respect to the image data B, G, and R obtained by conversion by the A / D conversion circuit 118. At the same time, so-called shading correction is performed to adjust so that the output corresponding to the white color of the read document does not differ from the white level of the output of the scanner 12.

出力遅延回路122は、青用CCDラインセンサ82B、緑用CCDラインセンサ82G、及び赤用CCDラインセンサ82Rの副走査方法SSにおける位置のずれに起因して生じる各画像データ間の読み取り時間差を、画像データRを基準に補正する。本実施の形態では、シェーディング補正回路120から出力される画像データGを4ライン相当、画像データBを8ライン相当の遅延時間だけ遅延させることにより、画像データRと同相の画像データとして出力している。   The output delay circuit 122 calculates a reading time difference between the image data caused by the positional deviation in the sub scanning method SS of the blue CCD line sensor 82B, the green CCD line sensor 82G, and the red CCD line sensor 82R. Correction is performed based on the image data R. In the present embodiment, the image data G output from the shading correction circuit 120 is output as image data in phase with the image data R by delaying the image data G by a delay time corresponding to 4 lines and the image data B corresponding to 8 lines. Yes.

色ずれ検出・補正回路124は、入力された画像データB,R,Gに基づいて、読み取られた原稿の予め定められた領域(例えば後述の画像記録領域)における無彩色領域間の境界領域(白色領域と黒色領域との境界領域)を検出し、検出した境界領域に黒色又は白色とは認められてない色であって、肉眼で視認される可能性が高い色として予め定められた色が発生していること(色ずれ)を検出し、検出した色ずれに対して画素単位で補正を行う。   The color misregistration detection / correction circuit 124 is based on the input image data B, R, and G, and a boundary region between achromatic regions in a predetermined region (for example, an image recording region described later) of the read original ( The boundary area between the white area and the black area is detected, and a color that is not recognized as black or white in the detected boundary area and that is likely to be visually recognized by the naked eye is a color that is determined in advance. The occurrence (color misregistration) is detected, and the detected color misregistration is corrected in pixel units.

画像処理回路126は、色ずれ・補正回路124から出力された画像データB,G,Rに対して、例えば色空間変換、拡大縮小処理、地色除去処理、2値化処理などの各種画像処理を施した後、後段に出力する。   The image processing circuit 126 performs various image processing, such as color space conversion, enlargement / reduction processing, ground color removal processing, and binarization processing, on the image data B, G, and R output from the color misregistration / correction circuit 124. Is output to the subsequent stage.

CPU128は、アドレスバス、データバス、及び制御バス等のバス132を介して、サンプルホールド回路112、黒レベル調整回路114、出力増幅回路116、AD変換回路118、シェーディング補正回路120、色ずれ検出・補正回路124、画像処理回路126、及びCCD駆動回路130に接続されている。従って、CPU128は、コントローラ100の制御下で、CCD駆動回路130を介して画像読取センサ82の動作を制御すると共に、サンプルホールド回路112、黒レベル調整回路114、出力増幅回路116、AD変換回路118、シェーディング補正回路120、色ずれ検出・補正回路124及び画像処理回路126の動作状態の把握と動作の制御とを各々行う。   The CPU 128 is connected to a sample hold circuit 112, a black level adjustment circuit 114, an output amplification circuit 116, an AD conversion circuit 118, a shading correction circuit 120, a color shift detection / detection circuit, and the like via a bus 132 such as an address bus, a data bus, and a control bus. The correction circuit 124, the image processing circuit 126, and the CCD driving circuit 130 are connected. Therefore, the CPU 128 controls the operation of the image reading sensor 82 via the CCD drive circuit 130 under the control of the controller 100, and also includes the sample hold circuit 112, the black level adjustment circuit 114, the output amplification circuit 116, and the AD conversion circuit 118. The operation status of the shading correction circuit 120, the color misregistration detection / correction circuit 124, and the image processing circuit 126 is ascertained and the operation is controlled.

図6は、本実施の形態に係る色ずれ検出・補正回路124の構成の一例を示すブロック図である。図6に示すように色ずれ検出・補正回路124は、画像データ保持回路124A、比較回路124B、スレッショルドメモリ124C、演算回路124D、及び補間係数メモリ124Eを含んで構成されている。   FIG. 6 is a block diagram showing an example of the configuration of the color misregistration detection / correction circuit 124 according to the present embodiment. As shown in FIG. 6, the color misregistration detection / correction circuit 124 includes an image data holding circuit 124A, a comparison circuit 124B, a threshold memory 124C, an arithmetic circuit 124D, and an interpolation coefficient memory 124E.

出力遅延回路122に係る画像データB,Gの各出力端及びシェーディング補正回路120に係る画像データRの出力端は、画像データ保持回路124Aにおける各色に対応する入力端に接続されている。画像データ保持回路124Aは、画像データB,G,Rが比較回路124B及び演算回路124Dに供給されるように比較回路124B及び演算回路124Dの各々に接続されている。比較回路124Bは演算回路124Dに接続されている。演算回路124Dは、後段の画像処理回路126に接続されている。比較回路124Bにはスレッショルドメモリ124Cが接続されている。演算回路124Dには補間係数メモリ124Eが接続されている。   The output terminals of the image data B and G related to the output delay circuit 122 and the output terminal of the image data R related to the shading correction circuit 120 are connected to input terminals corresponding to the respective colors in the image data holding circuit 124A. The image data holding circuit 124A is connected to each of the comparison circuit 124B and the calculation circuit 124D so that the image data B, G, and R are supplied to the comparison circuit 124B and the calculation circuit 124D. The comparison circuit 124B is connected to the arithmetic circuit 124D. The arithmetic circuit 124D is connected to the subsequent image processing circuit 126. A threshold memory 124C is connected to the comparison circuit 124B. An interpolation coefficient memory 124E is connected to the arithmetic circuit 124D.

画像データ保持回路124Aは、入力された画像データB,G,Rの各々を画素単位で保持する回路であり、時系列でFIFO(First-in First-out)形式で予め定められた画素分(例えば7画素分)保持する。スレッショルドメモリ124Cは、閾値(スレッショルド)ThC,ThD,ThΔW,ThΔBを予め記憶したものである。比較回路124Bは、画像データ保持回路124Aから入力された画像データとスレッショルドメモリ124Cから読み出された閾値ThC,ThD,ThΔW,ThΔBとを比較し、比較結果に応じた信号を演算回路124Dに出力すると共に、入力された画像データB,G,Rを演算回路124Dに転送する。補間係数メモリ124Eは、2点間補間の演算で用いる複数組の補間係数を予め記憶したものである。演算回路124Dは、画像保持データ保持回路124Aから入力された画像データ及び補間係数メモリ124Eから読み出された補間係数を用いて予め定められた演算を行う。   The image data holding circuit 124A is a circuit that holds each of the input image data B, G, and R in units of pixels. The image data holding circuit 124A has a predetermined number of pixels (FIFO (First-in First-out) format) in a time series ( For example, 7 pixels). The threshold memory 124C stores threshold values (thresholds) ThC, ThD, ThΔW, and ThΔB in advance. The comparison circuit 124B compares the image data input from the image data holding circuit 124A with the threshold values ThC, ThD, ThΔW, ThΔB read from the threshold memory 124C, and outputs a signal corresponding to the comparison result to the arithmetic circuit 124D. At the same time, the input image data B, G, R is transferred to the arithmetic circuit 124D. The interpolation coefficient memory 124E stores in advance a plurality of sets of interpolation coefficients used in the calculation of two-point interpolation. The arithmetic circuit 124D performs a predetermined calculation using the image data input from the image holding data holding circuit 124A and the interpolation coefficient read from the interpolation coefficient memory 124E.

ところで、青用CCDラインセンサ82B、緑用CCDラインセンサ82G、及び赤用CCDラインセンサ82Rの互いの位置関係は上述したように副走査方向SSに沿ってずれている。そのため、本実施の形態に係る信号処理部84では、特定の色のCCDラインセンサ(ここでは一例として青用CCDラインセンサ82B及び緑用CCDラインセンサ82G)で得た画像データB,Gの出力時期を遅延させて画像データRの出力時期に合わせ込むように出力(画像データRと同相の画像データとして出力)するようにしている。   By the way, the positional relationship among the blue CCD line sensor 82B, the green CCD line sensor 82G, and the red CCD line sensor 82R is shifted along the sub-scanning direction SS as described above. Therefore, in the signal processing unit 84 according to the present embodiment, the output of the image data B and G obtained by the CCD line sensor of a specific color (here, the blue CCD line sensor 82B and the green CCD line sensor 82G as an example). The output is delayed so as to match the output timing of the image data R (output as image data in phase with the image data R).

しかし、原稿の搬送路48での搬送速度が急に変化すると、事前に想定していた画像データB,Gの遅延時間では読取対象とされた1つの画素に係る画像データB,Gを、対応する画像データRに合わせ込んで出力することが困難になる。例えば、原稿上の読取対象とされた1画素(注目画素)について、画像データB,Gが予め定められた遅延時間で合わせ込まれたとしても、画像データRについては他の画素に係る画像データになってしまう。これは“色ずれ”として現れる。この色ずれの発生は、固定された時間間隔で画像データB,Gを遅延させていることに起因する。   However, when the conveyance speed of the document in the conveyance path 48 changes abruptly, the image data B and G related to one pixel to be read is handled in the delay time of the image data B and G that is assumed in advance. Therefore, it becomes difficult to output in accordance with the image data R to be output. For example, even if the image data B and G are combined with a predetermined delay time for one pixel (target pixel) to be read on the document, the image data relating to the other pixels is the image data R. Become. This appears as “color shift”. The occurrence of this color shift is caused by delaying the image data B and G at a fixed time interval.

このような色ずれが生じると、実際の原稿における無彩色画像の境界領域(白黒の境界領域)に実際にカラー画像が挿入されているにも拘らず、そのカラー画像が正しく読み取られなかったり(認識されなかったり)、逆に無彩色画像の境界領域にカラー画像が挿入されていないにも拘らず、あたかもカラー画像が挿入されているかのように読み取られたり(誤検出)してしまう虞がある。   When such a color misregistration occurs, the color image may not be read correctly even though the color image is actually inserted into the boundary area (monochrome boundary area) of the achromatic image in the actual document ( On the other hand, there is a possibility that the color image may be read as if it was inserted (false detection) even though no color image is inserted in the boundary area of the achromatic image. is there.

そこで、本実施の形態に係る画像処理装置10では、上記のような色ずれの発生を抑制すべく信号処理部84の色ずれ検出・補正回路124にて無彩色・色ずれ検出処理及び色ずれ補正処理が実行される。   Therefore, in the image processing apparatus 10 according to the present embodiment, the color misregistration detection / correction circuit 124 of the signal processing unit 84 performs achromatic / color misregistration detection processing and color misregistration in order to suppress the occurrence of the above color misregistration. Correction processing is executed.

本実施の形態に係る画像処理装置10では、無彩色・色ずれ検出処理及び色ずれ補正処理を実現するための各種処理が一例として図6に示す色ずれ検出・補正回路124に示すようにハードウェア構成によって実現される。しかし、このようなハードウェア構成による実現に限られるものではなく、ソフトウェア構成や、ハードウェア構成とソフトウェア構成との組み合わせによって実現しても良いことは言うまでもない。なお、ソフトウェア構成に依拠する場合は、CPU(中央処理装置)により各処理に対応するプログラムを実行することにより無彩色・色ずれ検出処理及び色ずれ補正処理を実現する例が挙げられる。この場合、各プログラムをROMに予め記憶させておく形態や、記憶内容がコンピュータによって読み取られる記録媒体に記憶された状態で提供される形態、有線または無線による通信手段を介して配信される形態等を適用しても良い。   In the image processing apparatus 10 according to the present embodiment, various processes for realizing the achromatic color / color misregistration detection process and the color misregistration correction process are performed as shown in the color misregistration detection / correction circuit 124 shown in FIG. 6 as an example. It is realized by the hardware configuration. However, the present invention is not limited to such a hardware configuration, and it goes without saying that it may be realized by a software configuration or a combination of a hardware configuration and a software configuration. When relying on the software configuration, an example in which an achromatic color / color misregistration detection process and a color misregistration correction process are realized by executing a program corresponding to each process by a CPU (central processing unit). In this case, a form in which each program is stored in the ROM in advance, a form in which the stored contents are stored in a recording medium that is read by a computer, a form in which the program is distributed via wired or wireless communication means, etc. May be applied.

以下、本実施の形態に係る色ずれ検出・補正回路124が無彩色・色ずれ検出処理及び色ずれ補正処理の各処理を実行する場合について説明する。   Hereinafter, a case where the color misregistration detection / correction circuit 124 according to the present embodiment executes each process of the achromatic color / color misregistration detection process and the color misregistration correction process will be described.

図7は、本実施の形態に係る無彩色・色ずれ検出処理の流れの一例を示すフローチャートである。なお、ここでは、錯綜を回避するため、原稿台22に置かれた原稿が読取対象とされ、原稿の読み取りを開始する指示がUIパネル18によって受け付けられることで、原稿台22上の原稿が原稿搬送部40に取り込まれて搬送され、画像読取センサ82による原稿の読み取りが開始された場合について説明する。また、ここでは、錯綜を回避するため、搬送方向SSに沿って白色領域と黒色領域とが交互に配置されたラダーパターンが記録された画像記録領域を有する原稿の画像記録領域が画像読取センサ82によって読み取られる場合について説明する。また、ここでは、錯綜を回避するために、一例として図8に示すように、急な搬送速度の変化が見込まれる期間(上記遅延時間では各色の画像データの同相出力の実現が困難となる搬送速度の変化が見込まれる期間)として予め定められた速度変化予測期間αに無彩色・色ずれ検出処理が実行される場合について説明する。   FIG. 7 is a flowchart showing an example of the flow of achromatic / color shift detection processing according to the present embodiment. Here, in order to avoid complications, the document placed on the document table 22 is to be read, and an instruction to start reading the document is received by the UI panel 18. A case will be described in which the image reading sensor 82 starts reading a document by being taken in and conveyed by the conveyance unit 40. Here, in order to avoid complications, the image reading sensor 82 is an image recording area of a document having an image recording area in which a ladder pattern in which white areas and black areas are alternately arranged along the conveyance direction SS is recorded. A case of reading by the above will be described. Further, here, in order to avoid complication, as shown in FIG. 8 as an example, a period in which a sudden change in the conveyance speed is expected (conveyance in which in-phase output of image data of each color is difficult to realize in the above delay time) A case where the achromatic color / color shift detection process is executed in a speed change prediction period α that is predetermined as a period during which a speed change is expected will be described.

図8は、搬送方向SSに搬送されている原稿の画像記録領域を画像読取センサ82で読み取って得られた画像データB,G,Rの各色の濃度値(画像データにより特定される各色の信号レベルに相当する画素値である画素値B,G,R)と原稿の搬送方向SSの位置との相関関係の一例を示すグラフである。図8に示すように画像記録領域が画像読取センサ82によって読み取られると、画像データB,G,Rの各色の濃度変化は搬送方向SSのラダーパターンに対応する波形グラフで表される。波形グラフの頂部は黒色領域を読み取って得られた濃度値であり、波形の底部は白色領域を読み取って得られた濃度値である。図8に示す例では、白色領域を読み取って得られた濃度値から黒色領域を読み取って得られた濃度値への変化途中で画素単位での各色の濃度値の差が大きな箇所(図8の破線で囲まれた領域)が存在している。このような箇所が存在する原因は、原稿の搬送速度が急峻に変化したため、本来読み取るべき画素とは異なる画素が読み取られて画像データとして出力されることにある。そこで、本実施の形態では、図8の破線で囲まれた領域が含まれる原稿の位置に対応する読み取り期間が含まれる期間を速度変化予測期間αとして実験やシミュレーション等によって事前に把握しておき、速度変化予測期間αにて本無彩色・色ずれ検出処理を実行している。なお、ここでは、速度変化予測期間αを例に挙げているが、これ以外にも原稿の後端が位置合わせローラ56から抜け出る時点を含む期間や原稿の先端が排出ローラ64に挟み込まれる時点を含む期間などが挙げられる。   FIG. 8 shows density values of the colors of the image data B, G, R obtained by reading the image recording area of the document conveyed in the conveyance direction SS by the image reading sensor 82 (signals of the colors specified by the image data). 6 is a graph showing an example of a correlation between a pixel value B, G, R) corresponding to a level and a position in a document transport direction SS. As shown in FIG. 8, when the image recording area is read by the image reading sensor 82, the density change of each color of the image data B, G, R is represented by a waveform graph corresponding to the ladder pattern in the transport direction SS. The top of the waveform graph is the density value obtained by reading the black area, and the bottom of the waveform is the density value obtained by reading the white area. In the example shown in FIG. 8, the density value difference of each color in a pixel unit is large during the change from the density value obtained by reading the white area to the density value obtained by reading the black area (see FIG. 8). There is a region surrounded by a broken line). The reason for the presence of such a location is that pixels different from the pixels that should be read are read and output as image data because the document transport speed has changed sharply. Therefore, in the present embodiment, the period including the reading period corresponding to the position of the document including the area surrounded by the broken line in FIG. 8 is previously known as a speed change prediction period α through experiments, simulations, or the like. In the speed change prediction period α, the achromatic / color shift detection process is executed. Here, the speed change prediction period α is taken as an example, but other periods include the period including the time when the trailing edge of the document comes out of the alignment roller 56 and the time when the leading edge of the document is sandwiched between the discharge rollers 64. Examples include the period of inclusion.

図7のステップ200では、画像データB,G,Rの入力待ちを行った後、ステップ202に移行し、画素毎に画像データB,G,Rを画像データ保持回路124Aに保持する。次のステップ204では、画像データ保持回路124Aに予め定められた画素数分の画像データB,G,Rが保持されていない場合にステップ200に戻る一方、画像データ保持回路124Aに予め定められた画素数分の画像データB,G,Rが保持された場合にステップ206に移行する。なお、ここでは、予め定められた画素数として“7”を適用しているが、これに限らず3画素数以上であれば何れの画素数であっても良い。   In step 200 of FIG. 7, after waiting for input of the image data B, G, R, the process proceeds to step 202, and the image data B, G, R is held in the image data holding circuit 124A for each pixel. In the next step 204, when the image data B, G, R for the predetermined number of pixels is not held in the image data holding circuit 124A, the process returns to step 200, while the image data holding circuit 124A determines the image data. When the image data B, G, R for the number of pixels is held, the process proceeds to step 206. Here, “7” is applied as the predetermined number of pixels. However, the number of pixels is not limited to this, and any number of pixels may be used as long as the number is three or more.

ステップ206では、現時点で画像データ保持回路124Aに保持されている7画素分の画像データB,G,Rのうち、中央の画素に対応する画像データB,G,Rを注目画素の画像データB,G,Rとして指定した後、ステップ208に移行する。   In step 206, the image data B, G, R corresponding to the center pixel among the image data B, G, R for the seven pixels currently held in the image data holding circuit 124A is used as the image data B of the target pixel. , G, and R, the process proceeds to step 208.

ステップ208では、注目画素に対して先後して複数画素(ここでは一例として4画素)離れた画素の特定色(ここでは一例として“G”)の画像データにより特定される画素値Gの差を算出した後、ステップ210に移行する。ステップ210では、上記ステップ208で算出された差が“0”を超えている場合にステップ212に移行する一方、上記ステップ208で算出された差が“0”以下の場合にステップ226に移行する。   In step 208, the difference between the pixel values G specified by the image data of the specific color (here, “G” as an example) of pixels separated by a plurality of pixels (here, 4 pixels as an example) from the target pixel is calculated. After the calculation, the process proceeds to step 210. In step 210, if the difference calculated in step 208 is greater than “0”, the process proceeds to step 212. If the difference calculated in step 208 is “0” or less, the process proceeds to step 226. .

ステップ212では、上記ステップ208で算出された差が閾値ThD未満である場合にステップ238に移行する一方、上記ステップ208で算出された差が閾値ThD以上である場合にステップ214に移行する。ステップ214では、上記ステップ208で算出対象とされた画素のうちの注目画素よりも先に読み取られた画素に係る画像データB,G,Rにより特定される画素値B,G,Rの最大画素値と最小画素値との差を算出する。次のステップ216では、上記ステップ214で算出された差が閾値ThΔWを超えている場合にステップ238に移行する一方、上記ステップ214で算出された差が閾値ThΔW以下である場合にステップ218に移行する。ここで言う「ThΔW」とは、画像データB,G,Rによって形成される色が白色であることを示す値として予め定められた白基準値を意味する。上記ステップ214で算出された差が白基準値以内にない場合は白色でないと判定され、白基準値以内にある場合は白色であると判定される。   In step 212, if the difference calculated in step 208 is less than the threshold ThD, the process proceeds to step 238. On the other hand, if the difference calculated in step 208 is greater than or equal to the threshold ThD, the process proceeds to step 214. In step 214, the maximum pixel of the pixel values B, G, and R specified by the image data B, G, and R relating to the pixel read before the target pixel among the pixels to be calculated in step 208 above. The difference between the value and the minimum pixel value is calculated. In the next step 216, if the difference calculated in step 214 exceeds the threshold ThΔW, the process proceeds to step 238. If the difference calculated in step 214 is equal to or less than the threshold ThΔW, the process proceeds to step 218. To do. Here, “ThΔW” means a white reference value determined in advance as a value indicating that the color formed by the image data B, G, R is white. If the difference calculated in step 214 is not within the white reference value, it is determined that the color is not white, and if it is within the white reference value, it is determined that the color is white.

ステップ218では、上記ステップ208で算出対象とされた画素のうちの注目画素よりも後に読み取られた画素に係る画像データB,G,Rにより特定される画素値B,G,Rの最大画素値と最小画素値との差を算出する。次のステップ220では、上記ステップ218で算出された差が閾値ThΔBを超えている場合にステップ238に移行する一方、上記ステップ218で算出された差が閾値ThΔB以下である場合にステップ222に移行する。ここで言う「ThΔB」とは、画像データB,G,Rによって形成される色が黒色であることを示す値として予め定められた黒基準値を意味する。上記ステップ218で算出された差が黒基準値以内にない場合は黒色でないと判定され、黒基準値以内にある場合は黒色であると判定される。   In step 218, the maximum pixel value of the pixel values B, G, and R specified by the image data B, G, and R related to the pixel read after the target pixel among the pixels that were calculated in step 208 above. And the difference between the minimum pixel value and the minimum pixel value. In the next step 220, if the difference calculated in step 218 exceeds the threshold ThΔB, the process proceeds to step 238. If the difference calculated in step 218 is equal to or less than the threshold ThΔB, the process proceeds to step 222. To do. Here, “ThΔB” means a black reference value determined in advance as a value indicating that the color formed by the image data B, G, R is black. If the difference calculated in step 218 is not within the black reference value, it is determined that the color is not black, and if it is within the black reference value, it is determined that the color is black.

ステップ222では、上記ステップ206で指定された注目画素が白色から黒色への変化途中に存在する画素であることを示す白黒変化途中信号を出力した後、ステップ224に移行する。上記ステップ222では、具体的には、比較回路124Bが後段の演算回路124Dに白黒変化途中信号を出力する。   In step 222, after outputting a black and white changing signal indicating that the target pixel specified in step 206 is a pixel existing in the middle of changing from white to black, the process proceeds to step 224. In step 222, specifically, the comparison circuit 124B outputs a black-and-white changing signal to the subsequent arithmetic circuit 124D.

一方、ステップ226では、上記ステップ208で算出された差が閾値ThD未満の場合にステップ240に移行する一方、上記ステップ208で算出された差が閾値ThD以上の場合にステップ228に移行する。ステップ228では、上記ステップ208で算出対象とされた画素のうちの注目画素よりも後に読み取られた画素に係る画像データB,G,Rにより特定される画素値B,G,Rの最大画素値と最小画素値との差を算出する。次のステップ230では、上記ステップ228で算出された差が閾値ThΔWを超えている場合にステップ240に移行する一方、上記ステップ228で算出された差が閾値ThΔW以下である場合にステップ232に移行する。   On the other hand, in step 226, if the difference calculated in step 208 is less than the threshold ThD, the process proceeds to step 240. On the other hand, if the difference calculated in step 208 is greater than or equal to the threshold ThD, the process proceeds to step 228. In step 228, the maximum pixel value of the pixel values B, G, and R specified by the image data B, G, and R related to the pixel read after the target pixel among the pixels that are the calculation target in step 208. And the difference between the minimum pixel value and the minimum pixel value. In the next step 230, if the difference calculated in step 228 exceeds the threshold ThΔW, the process proceeds to step 240. If the difference calculated in step 228 is equal to or less than the threshold ThΔW, the process proceeds to step 232. To do.

ステップ232では、上記ステップ208で算出対象とされた画素のうちの注目画素よりも先に読み取られた画素に係る画像データB,G,Rにより特定される画素値B,G,Rの最大画素値と最小画素値との差を算出する。次のステップ234では、上記ステップ232で算出された差が閾値ThΔBを超えている場合にステップ240に移行する一方、上記ステップ232で算出された差が閾値ThΔB以下である場合にステップ236に移行する。   In step 232, the maximum pixel of the pixel values B, G, and R specified by the image data B, G, and R related to the pixel read before the target pixel among the pixels that are the calculation target in step 208 above. The difference between the value and the minimum pixel value is calculated. In the next step 234, if the difference calculated in step 232 exceeds the threshold ThΔB, the process proceeds to step 240. On the other hand, if the difference calculated in step 232 is equal to or less than the threshold ThΔB, the process proceeds to step 236. To do.

ステップ236では、上記ステップ206で指定された注目画素が黒色から白色への変化途中に存在する画素であることを示す黒白変化途中信号を出力した後、ステップ224に移行する。上記ステップ236では、具体的には、比較回路124Bが後段の演算回路124Dに黒白変化途中信号を出力する。   In step 236, a black-and-white changing signal indicating that the target pixel specified in step 206 is a pixel existing in the middle of the change from black to white is output, and then the process proceeds to step 224. In step 236, more specifically, the comparison circuit 124B outputs a black-and-white changing signal to the subsequent arithmetic circuit 124D.

一方、ステップ238,240では共に上記ステップ206で指定された注目画素の画像データB,G,Rを出力する。なお、本ステップ238,240では、具体的には、比較回路124Bが後段の演算回路124Dに画像データB,G,Rを出力する。   On the other hand, in steps 238 and 240, the image data B, G, and R of the target pixel designated in step 206 are output. In steps 238 and 240, specifically, the comparison circuit 124B outputs the image data B, G, and R to the subsequent arithmetic circuit 124D.

一方、ステップ224では、色ずれ検出処理を実行する。図8には、色ずれ検出処理の具体的な処理の流れの一例が示されている。図8のステップ224Aでは、上記ステップ206で指定された注目画素に係る画像データB,G,Rにより特定される画素値B,G,Rのうちの最大画素値と最小画素値との差を算出した後、ステップ224Bに移行する。ステップ224Bでは、上記ステップ224Aで算出された差が閾値ThC未満である場合に本色ずれ検出処理を終了する一方、上記ステップ224Aで算出された差が閾値ThC以上である場合にステップ224Cに移行する。   On the other hand, in step 224, color misregistration detection processing is executed. FIG. 8 shows an example of a specific process flow of the color misregistration detection process. In step 224A of FIG. 8, the difference between the maximum pixel value and the minimum pixel value of the pixel values B, G, R specified by the image data B, G, R related to the target pixel specified in step 206 is calculated. After the calculation, the process proceeds to step 224B. In step 224B, the color misregistration detection process is terminated when the difference calculated in step 224A is less than the threshold ThC. On the other hand, if the difference calculated in step 224A is greater than or equal to the threshold ThC, the process proceeds to step 224C. .

ステップ224Cでは、上記ステップ224Aの差の算出元とされた最大画素値と最小画素値とのうち、上記ステップ206で指定された注目画素に係る画像データB,G,Rにより特定される画素値B,G,Rのうちの中間画素値との差が大きい方を特定した後、ステップ224Dに移行する。なお、中間画素値との差が大きい方が特定されない場合、すなわち、中間画素値との差に違いがない場合は予め定められた方を採用する。本実施の形態では、最大画素値が採用される。
ステップ224Dでは、上記ステップ224Cにおい上記ステップ224Aの差の算出元とされた最大画素値と最小画素値とのうちの最小画素値が特定された場合にはステップ224Jに移行する一方、上記ステップ224Cにおいて上記ステップ224Aの差の算出元とされた最大画素値と最小画素値とのうちの最大画素値が特定された場合にはステップ224Eに移行する。
In step 224C, the pixel value specified by the image data B, G, and R relating to the target pixel specified in step 206 is selected from the maximum pixel value and the minimum pixel value that are the calculation source of the difference in step 224A. After identifying the one having the larger difference from the intermediate pixel value among B, G, and R, the process proceeds to step 224D. In addition, when the difference with the intermediate pixel value is not specified, that is, when there is no difference with the intermediate pixel value, the predetermined one is adopted. In the present embodiment, the maximum pixel value is adopted.
In step 224D, when the minimum pixel value of the maximum pixel value and the minimum pixel value that are the source of the difference in step 224A is specified in step 224C, the process proceeds to step 224J, while step 224C is performed. When the maximum pixel value of the maximum pixel value and the minimum pixel value that are used as the calculation source of the difference in step 224A is specified, the process proceeds to step 224E.

ステップ224Eでは、上記ステップ224Aの差の算出元とされた最大画素値と上記ステップ206で指定された注目画素に係る画像データB,G,Rにより特定される画素値B,G,Rのうちの中間画素値との差が予め定められた閾値を超えている場合にステップ224Fに移行する一方、閾値以下の場合に本色ずれ検出処理を終了する。   In step 224E, among the pixel values B, G, and R specified by the image data B, G, and R related to the target pixel specified in step 206 and the maximum pixel value that is the source of the difference in step 224A. When the difference from the intermediate pixel value exceeds a predetermined threshold value, the process proceeds to step 224F, and when it is equal to or less than the threshold value, the color misregistration detection process ends.

ステップ224Fでは、上記ステップ206で指定された注目画素について色ずれが検出されたことを示す色ずれ検出信号を出力する。具体的には、比較回路124Bが後段の演算回路124Dに色ずれ検出信号を出力する。   In step 224F, a color misregistration detection signal indicating that color misregistration has been detected for the target pixel specified in step 206 is output. Specifically, the comparison circuit 124B outputs a color misregistration detection signal to the subsequent arithmetic circuit 124D.

次のステップ224Gでは、上記ステップ206で指定された注目画素に係る画像データB,G,Rのうちの上記ステップ224Aの差の算出元とされた最大画素値に対応する画像データに対して補正対象の画像データであることを特定する特定データを付与した後、ステップ224Hに移行し、上記ステップ206で指定された注目画素に係る画像データB,G,Rを出力した後、本色ずれ検出処理を終了する。なお、上記ステップ224Hでは、具体的には、比較回路1214Bが後段の演算回路124Dに画像データB,G,Rを出力する。   In the next step 224G, correction is performed on the image data corresponding to the maximum pixel value from which the difference of step 224A is calculated among the image data B, G, and R related to the target pixel specified in step 206. After adding specific data specifying the target image data, the process proceeds to step 224H, and after outputting the image data B, G, R relating to the target pixel specified in step 206, the color misregistration detection process Exit. In step 224H, specifically, the comparison circuit 1214B outputs the image data B, G, and R to the subsequent arithmetic circuit 124D.

一方、ステップ224Jでは、上記ステップ224Aの差の算出元とされた最小画素値と上記ステップ206で指定された注目画素に係る画像データB,G,Rにより特定される画素値B,G,Rのうちの中間画素値との差が予め定められた閾値を超えている場合にステップ224Kに移行する一方、閾値以下の場合に本色ずれ検出処理を終了する。   On the other hand, in step 224J, pixel values B, G, R specified by the minimum pixel value that is the source of the difference in step 224A and the image data B, G, R relating to the target pixel specified in step 206 are described. If the difference from the intermediate pixel value exceeds a predetermined threshold value, the process proceeds to step 224K. If the difference is equal to or smaller than the threshold value, the color misregistration detection process is terminated.

ステップ224Kでは、上記ステップ206で指定された注目画素について色ずれが検出されたことを示す色ずれ検出信号を出力する。具体的には、比較回路124Bが後段の演算回路124Dに色ずれ検出信号を出力する。   In step 224K, a color misregistration detection signal indicating that color misregistration has been detected for the target pixel specified in step 206 is output. Specifically, the comparison circuit 124B outputs a color misregistration detection signal to the subsequent arithmetic circuit 124D.

次のステップ224Lでは、上記ステップ206で指定された注目画素に係る画像データB,G,Rのうちの上記ステップ224Aの差の算出元とされた最小画素値に対応する画像データに対して補正対象画像データであることを特定する特定データを付与した後、ステップ224Hに移行する。   In the next step 224L, correction is performed on the image data corresponding to the minimum pixel value from which the difference of step 224A is calculated among the image data B, G, and R related to the target pixel specified in step 206. After assigning specific data that identifies the target image data, the process proceeds to step 224H.

このようにステップ224の処理が上記のように実行されると、図7に示すようにステップ226に移行する。ステップ226では、上述した速度変化予測期間αに原稿の画像記録領域が読み取られて得られた全ての画像データB,G,Rが入力されていない場合はステップ200に戻る一方、上述した速度変化予測期間αに原稿の画像記録領域が読み取られて得られた全ての画像データB,G,Rが入力された場合に本無彩色・色ずれ検出処理を終了する。   When the processing of step 224 is executed as described above, the routine proceeds to step 226 as shown in FIG. In step 226, if all the image data B, G, R obtained by reading the image recording area of the document in the speed change prediction period α is not input, the process returns to step 200, while the speed change described above. When all the image data B, G, and R obtained by reading the image recording area of the document are input during the prediction period α, the achromatic / color misregistration detection process is terminated.

図10は、上記無彩色・色ずれ検出処理で採用した無彩色領域の変化点を特定する方法(注目画素が白色領域から黒色領域への変化途中の画素なのか黒色領域から白色領域への変化途中の画素なのかを特定する方法)を説明するための説明図である。本実施の形態では、図10に示すように、原稿における搬送方向SSの位置“0”の画素を注目画素とした場合、位置“−3”の画素(位置“0”よりも先に読み取られた画素)及び位置“+1”の画素(位置“0”よりも後に読み取られた画素)の各々の画像データB,G,Rを用いて、注目画素が白色領域から黒色領域への変化途中の画素なのか黒色領域から白色領域への変化途中の画素なのかを特定している。この場合、例えば、下記条件1−a〜4−aの全てを満足した場合に注目画素が白色領域から黒色領域への変化途中の画素であると特定される。以下に条件1−a〜4−aを列挙する。   FIG. 10 shows a method for identifying the change point of the achromatic color region used in the achromatic color / color shift detection process (whether the target pixel is a pixel in the middle of the change from the white color region to the black color region, or the change from the black color region to the white color region). It is explanatory drawing for demonstrating the method of specifying whether it is a pixel in the middle. In the present embodiment, as shown in FIG. 10, when the pixel at position “0” in the transport direction SS in the document is the target pixel, the pixel at position “−3” (read before the position “0”) is read. Pixel) and the pixel at the position “+1” (the pixel read after the position “0”) are used to change the target pixel from the white region to the black region. Whether the pixel is a pixel in the middle of a change from a black region to a white region is specified. In this case, for example, when all of the following conditions 1-a to 4-a are satisfied, the target pixel is specified as a pixel that is in the process of changing from the white region to the black region. The conditions 1-a to 4-a are listed below.

条件1−a:位置“+1”の画像データGにより特定される画素値G(VDTG[+1])から位置“−3”の画像データGにより特定される画素値G(VDTG[−3])を減じて得られた値(delta1)が0以上の値である、との条件。   Condition 1-a: Pixel value G (VDTG [-3]) specified by image data G at position "-3" from pixel value G (VDTG [+1]) specified by image data G at position "+1" The value (delta1) obtained by subtracting 0 is a value of 0 or more.

条件2−a:delata1が閾値ThD以上である、との条件。   Condition 2-a: a condition that delta1 is greater than or equal to the threshold ThD.

条件3−a:位置“−3”の画像データB,G,Rにより特定される画素値B,G,Rのうちの最大画素値と最小画素値との差(WDLT)が閾値ThΔW以下である、との条件。   Condition 3-a: The difference (WDLT) between the maximum pixel value and the minimum pixel value among the pixel values B, G, R specified by the image data B, G, R at the position “−3” is equal to or less than the threshold ThΔW. There is a condition.

条件4−a:位置“+1”の画像データB,G,Rにより特定される画素値B,G,Rのうちの最大画素値と最小画素値との差(BDLT)が閾値ThΔB以下である、との条件。   Condition 4-a: The difference (BDLT) between the maximum pixel value and the minimum pixel value among the pixel values B, G, R specified by the image data B, G, R at the position “+1” is equal to or less than the threshold ThΔB. , And conditions.

一方、下記条件1−b〜4−bの全てを満足した場合に注目画素が黒色領域から白色領域への変化途中の画素であると特定される。以下に条件1−b〜4−bを列挙する。   On the other hand, when all of the following conditions 1-b to 4-b are satisfied, the target pixel is specified as a pixel that is in the process of changing from the black region to the white region. The conditions 1-b to 4-b are listed below.

条件1−b:VDTG[−3]からVDTG[+1]を減じて得られた値(delta2)が0以上の値である、との条件。   Condition 1-b: a condition that a value (delta2) obtained by subtracting VDTG [+1] from VDTG [-3] is a value of 0 or more.

条件2−b:delata2が閾値ThD以上である、との条件。   Condition 2-b: a condition that delta2 is equal to or greater than a threshold ThD.

条件3−b:位置“+1”の画像データB,G,Rにより特定される画素値B,G,Rのうちの最大画素値と最小画素値との差(WDLT)が閾値ThΔW以下である、との条件。   Condition 3-b: The difference (WDLT) between the maximum pixel value and the minimum pixel value among the pixel values B, G, R specified by the image data B, G, R at the position “+1” is equal to or less than the threshold ThΔW. , And conditions.

条件4−b:位置“−3”の画像データB,G,Rにより特定される画素値B,G,Rのうちの最大画素値と最小画素値との差(BDLT)が閾値ThΔB以下である、との条件。   Condition 4-b: The difference (BDLT) between the maximum pixel value and the minimum pixel value among the pixel values B, G, R specified by the image data B, G, R at the position “−3” is equal to or less than the threshold ThΔB. There is a condition.

なお、位置“0”の画素を注目画素とした場合には、位置“−3”の画素及び位置“+1”の画素との比較に限らず、位置“−2”の画素及び位置“+2”の画素との比較又は位置“−1”の画素及び位置“+3”の画素との比較を適用しても良い。このように注目画素を挟んで予め定められた画素数分だけ離間している画素同士を対象にして比較しても良い。また、図10に示す例では4画素分だけ離間している画素同士を対象にしているが“4画素分”というのはあくまでも一例であり、他の画素数分であっても良いことは言うまでもない。   When the pixel at the position “0” is the target pixel, the pixel at the position “−2” and the position “+2” are not limited to the comparison with the pixel at the position “−3” and the pixel at the position “+1”. Or a comparison with the pixel at position “−1” and the pixel at position “+3” may be applied. In this way, comparison may be made with respect to pixels that are separated by a predetermined number of pixels across the pixel of interest. Further, in the example shown in FIG. 10, pixels that are separated by 4 pixels are targeted, but “4 pixels” is merely an example, and it is needless to say that the number of other pixels may be used. Yes.

図11は、上記色ずれ検出処理で採用した色ずれ検出方法の説明に供する各色の濃度値と搬送方向SSの位置との関係の一例を示すグラフである。本実施の形態では、図11に示すように、原稿の搬送方向SSの位置“3”の画素が白色であり、4画素分後に読み取られた画素(原稿の搬送方向SSの位置“7”の画素)が黒色であるとの条件(条件1−c)、位置“4”〜“6”の画素の各々における画像値B,G,Rのうちの最大画素値と最小画素値との差が閾値ThC以上であるとの条件(条件2−c)、並びに最大画素値(図11に示す例では画素値B)と中間画素値(図11に示す例では画素値G)との差、及び最小画素値(図11に示す例では画素値R)と中間画素値(図11に示す例では画素値G)との差の何れかの差が予め定められた閾値を超えているとの条件(条件3−c)の条件1−c〜3−cを全て満足している場合に無彩色領域間に色ずれが発生していると判定する。なお、図11に示す例では白色領域から黒色領域への変化を例示しているが、黒色領域から白色領域への変化の場合も、図11に示す色ずれ検出方法に対応するように構成された色ずれ検出方法が適用される。   FIG. 11 is a graph showing an example of the relationship between the density value of each color and the position in the transport direction SS for explaining the color misregistration detection method employed in the color misregistration detection process. In the present embodiment, as shown in FIG. 11, the pixel at the position “3” in the document transport direction SS is white, and the pixel read after four pixels (the position “7” in the document transport direction SS) Pixel) is black (condition 1-c), and the difference between the maximum pixel value and the minimum pixel value of the image values B, G, R in each of the pixels at positions “4” to “6” is A condition (condition 2-c) that the threshold value is ThC or more, a difference between a maximum pixel value (pixel value B in the example shown in FIG. 11) and an intermediate pixel value (pixel value G in the example shown in FIG. 11), and The condition that any one of the differences between the minimum pixel value (pixel value R in the example shown in FIG. 11) and the intermediate pixel value (pixel value G in the example shown in FIG. 11) exceeds a predetermined threshold. When all the conditions 1-c to 3-c of (Condition 3-c) are satisfied, it is determined that a color shift has occurred between the achromatic regions That. In the example shown in FIG. 11, the change from the white area to the black area is illustrated, but the change from the black area to the white area is also configured to correspond to the color misregistration detection method shown in FIG. The color misregistration detection method is applied.

次に、図12を参照しながら色ずれ補正処理について説明する。なお、図12は、演算回路124Dで実行される色ずれ補正処理の流れの一例を示すフローチャートである。   Next, the color misregistration correction process will be described with reference to FIG. FIG. 12 is a flowchart showing an example of the color misregistration correction process executed by the arithmetic circuit 124D.

図12のステップ250では、上記無彩色・色ずれ検出処理のステップ238、ステップ240、又はステップ224Hで出力された画像データB,G,Rの入力待ちを行った後、ステップ252に移行する。ステップ252では、色ずれ検出信号が入力されない場合にステップ268に移行する一方、色ずれ検出信号が入力された場合にステップ254に移行する。ステップ254では、白黒変化途中信号又は黒白変化途中信号が入力されない場合にステップ268に移行する一方、白黒変化途中信号又は黒白変化途中信号が入力された場合にステップ256に移行する。   In step 250 of FIG. 12, after waiting for input of the image data B, G, R output in step 238, step 240, or step 224H of the achromatic color / color misregistration detection process, the process proceeds to step 252. In step 252, when the color misregistration detection signal is not input, the process proceeds to step 268. On the other hand, when the color misregistration detection signal is input, the process proceeds to step 254. In step 254, the process proceeds to step 268 when the black-and-white change signal or black-and-white change signal is not input, while the process proceeds to step 256 when the black-and-white change signal or black-and-white change signal is input.

ステップ256では、上記ステップ254で白黒変化途中信号が入力された場合にステップ258に移行する一方、上記ステップ254で黒白変化途中信号が入力された場合にステップ272に移行する。   In step 256, the process proceeds to step 258 when the black and white changing signal is input in step 254, while the process proceeds to step 272 when the black and white changing signal is input in step 254.

ステップ258では、上記ステップ250で入力された画像データB,G,Rに、上記ステップ224Gで特定データ(最大画素値の画像データを特定する特定データ)が付与された画像データが含まれている場合にステップ260に移行する一方、上記ステップ250で入力された画像データB,G,Rに、上記ステップ224Lで特定データ(最小画素値の画像データを特定する特定データ)が付与された画像データが含まれている場合にステップ270に移行する。   In step 258, the image data B, G, R input in step 250 includes image data to which specific data (specific data for specifying image data of the maximum pixel value) is added in step 224G. In this case, the process proceeds to step 260. On the other hand, the image data B, G, R input in step 250 is given the specific data (specific data for specifying the image data having the minimum pixel value) in step 224L. Is included, the process proceeds to step 270.

ステップ260では、上記ステップ206で指定された注目画素に係る画像データB,G,R(上記ステップ250で入力された画像データB,G,R)から、上記特定データが付与された画像データを取得すると共に、その注目画素よりも先に読み取られた画素に係る画像データB,G,Rのうち、上記特定データが付与された画像データの色の画像データを画像データ保持回路124Aから取得する。なお、ここでは、注目画素よりも先に読み取られた画素に係る画像データB,G,Rとして、1画素分前に読み取られた画素に係る画像データB,G,Rを適用しているが、これに限らず、注目画素よりも複数画素分前に読み取られた画素に係る画像データB,G,Rを適用しても良い。   In step 260, the image data to which the specific data is added is selected from the image data B, G, R related to the target pixel specified in step 206 (the image data B, G, R input in step 250). In addition to the acquisition, the image data of the color of the image data to which the specific data is assigned is acquired from the image data holding circuit 124A among the image data B, G, R related to the pixel read before the target pixel. . In this case, the image data B, G, and R related to the pixel read one pixel before is applied as the image data B, G, and R related to the pixel read before the target pixel. However, the present invention is not limited to this, and image data B, G, and R relating to pixels read a plurality of pixels before the target pixel may be applied.

次のステップ262では、補間係数メモリ124Eから複数組(ここでは一例として5組)の補間係数(総和が“1”となる予め定められた係数)を取得した後、ステップ264に移行する。ステップ264では、上記ステップ260又は後述のステップ270で取得された画像データについて上記ステップ262で取得された複数組の補間係数を組毎に用いて2点間補完を行った後、ステップ266に移行する。ステップ266では、上記ステップ264で2点間補完を行って得られた補間係数の組毎の画像データ(補間済み画像データ)のうち、上記ステップ206で指定された注目画素に係る画像データB,G,Rにより特定される画素値B,G,Rのうちの中間画素値との差が最も小さな画素値を特定する画像データ(例えば画像データB)及びこの画像データと共に1画素分の画像データの組を構成する画像データ(例えば画像データG,R)を出力した後、ステップ268に移行する。   In the next step 262, a plurality of sets (here, 5 sets as an example) of interpolation coefficients (predetermined coefficients whose sum is “1”) are acquired from the interpolation coefficient memory 124E, and then the process proceeds to step 264. In step 264, two-point interpolation is performed on the image data acquired in step 260 or step 270 described later using the plurality of sets of interpolation coefficients acquired in step 262 for each set, and then the process proceeds to step 266. To do. In step 266, among the image data (interpolated image data) for each set of interpolation coefficients obtained by performing the two-point interpolation in step 264, the image data B relating to the target pixel specified in step 206 is described. Image data (for example, image data B) for specifying a pixel value having the smallest difference from the intermediate pixel value among the pixel values B, G, and R specified by G and R, and image data for one pixel together with this image data After outputting the image data (for example, image data G and R) constituting each set, the process proceeds to step 268.

ステップ270では、上記ステップ206で指定された注目画素に係る画像データB,G,R(上記ステップ250で入力された画像データB,G,R)から、上記特定データが付与された画像データを取得すると共に、その注目画素よりも後に読み取られた画素に係る画像データB,G,Rのうち、上記特定データが付与された画像データの色の画像データを画像データ保持回路124Aから取得した後、ステップ262に移行する。なお、ここでは、注目画素よりも後に読み取られた画素に係る画像データB,G,Rとして、1画素分後に読み取られた画素に係る画像データB,G,Rを適用しているが、これに限らず、注目画素よりも複数画素分後に読み取られた画素に係る画像データB,G,Rを適用しても良い。   In step 270, the image data to which the specific data is assigned is selected from the image data B, G, R related to the target pixel specified in step 206 (the image data B, G, R input in step 250). After obtaining the image data of the color of the image data to which the specific data is given from the image data holding circuit 124A among the image data B, G, R related to the pixel read after the target pixel. The process proceeds to step 262. Here, the image data B, G, and R related to the pixel read after one pixel are applied as the image data B, G, and R related to the pixel read after the target pixel. However, the image data B, G, and R relating to pixels read after a plurality of pixels after the target pixel may be applied.

一方、ステップ272では、上記ステップ250で入力された画像データB,G,Rに、上記ステップ224Gで特定データ(最大画素値の画像データを特定する特定データ)が付与された画像データが含まれている場合にステップ274に移行する一方、上記ステップ250で入力された画像データB,G,Rに、上記ステップ224Lで特定データ(最小画素値の画像データを特定する特定データ)が付与された画像データが含まれている場合にステップ276に移行する。   On the other hand, in step 272, the image data B, G, R input in step 250 includes image data to which specific data (specific data for specifying image data with the maximum pixel value) is added in step 224G. If the image data B, G, R input in step 250, the specific data (specific data specifying the image data of the minimum pixel value) is added in step 224L. If image data is included, the process proceeds to step 276.

ステップ274では、上記ステップ206で指定された注目画素に係る画像データB,G,R(上記ステップ250で入力された画像データB,G,R)から、上記特定データが付与された画像データを取得すると共に、その注目画素よりも後に読み取られた画素に係る画像データB,G,Rのうち、上記特定データが付与された画像データの色の画像データを画像データ保持回路124Aから取得した後、ステップ262に移行する。なお、ここでは、注目画素よりも後に読み取られた画素に係る画像データB,G,Rとして、1画素分後に読み取られた画素に係る画像データB,G,Rを適用しているが、これに限らず、注目画素よりも複数画素分後に読み取られた画素に係る画像データB,G,Rを適用しても良い。   In step 274, the image data to which the specific data is assigned is selected from the image data B, G, R related to the target pixel specified in step 206 (the image data B, G, R input in step 250). After obtaining the image data of the color of the image data to which the specific data is given from the image data holding circuit 124A among the image data B, G, R related to the pixel read after the target pixel. The process proceeds to step 262. Here, the image data B, G, and R related to the pixel read after one pixel are applied as the image data B, G, and R related to the pixel read after the target pixel. However, the image data B, G, and R relating to pixels read after a plurality of pixels after the target pixel may be applied.

ステップ276では、上記ステップ206で指定された注目画素に係る画像データB,G,R(上記ステップ250で入力された画像データB,G,R)から、上記特定データが付与された画像データを取得すると共に、その注目画素よりも先に読み取られた画素に係る画像データB,G,Rのうち、上記特定データが付与された画像データの色の画像データを画像データ保持回路124Aから取得する。なお、ここでは、注目画素よりも先に読み取られた画素に係る画像データB,G,Rとして、1画素分前に読み取られた画素に係る画像データB,G,Rを適用しているが、これに限らず、注目画素よりも複数画素分前に読み取られた画素に係る画像データB,G,Rを適用しても良い   In step 276, the image data to which the specific data is assigned is selected from the image data B, G, R related to the target pixel specified in step 206 (the image data B, G, R input in step 250). In addition to the acquisition, the image data of the color of the image data to which the specific data is assigned is acquired from the image data holding circuit 124A among the image data B, G, R related to the pixel read before the target pixel. . In this case, the image data B, G, and R related to the pixel read one pixel before is applied as the image data B, G, and R related to the pixel read before the target pixel. However, the present invention is not limited to this, and image data B, G, and R relating to pixels read a plurality of pixels before the target pixel may be applied.

ステップ268では、上述した速度変化予測期間αに読み取られた得られた全ての画像データB,G,Rが入力されていない場合はステップ250に戻る一方、上述した速度変化予測期間αに読み取られた得られた全ての画像データB,G,Rが入力された場合に本色ずれ補正処理を終了する。   In step 268, when all the obtained image data B, G, R read in the above-described speed change prediction period α is not input, the process returns to step 250, but is read in the above-described speed change prediction period α. When all the obtained image data B, G, and R are input, the color misregistration correction process is terminated.

図13は、上記色ずれ補正処理で採用した2点間補間による補正方法の説明に供する各色の濃度値と搬送方向SSの位置との関係の一例を示すグラフである。図13に示す例では、白色領域から黒色領域への変化途中で色ずれが発生しており、その変化途中における画素が補正対象画素とされている。ここで言う補正対象画素とは、具体的には上記ステップ224G又は上記ステップ224Lで特定データが付された画像データに対応する画素のことを言う。なお、図13には、補正対象画素として、原稿における搬送方向SSの位置“4”の画素と原稿における搬送方向SSの位置“6”の画素とが例示されている。   FIG. 13 is a graph showing an example of the relationship between the density value of each color and the position in the transport direction SS for explaining the correction method using two-point interpolation employed in the color misregistration correction process. In the example shown in FIG. 13, a color shift occurs in the middle of the change from the white area to the black area, and the pixel in the middle of the change is the correction target pixel. The correction target pixel mentioned here specifically refers to a pixel corresponding to the image data to which the specific data is added in step 224G or step 224L. In FIG. 13, as the correction target pixels, a pixel at a position “4” in the transport direction SS on the document and a pixel at a position “6” in the transport direction SS on the document are illustrated.

図13に示す例では、位置“4”の補正対象画素の最大画素値である画素値Bmとこの補正対象画素の1画素分先に読み取られた画素(位置“3”の画素)に係る画素値Bm−1とを使用して画素値Bmに対して2点間補間による補正を行っている。つまり、演算回路124Dが、予め定められた補間係数K1,K2を補間係数メモリ124Eから複数組取得し、各組毎に補間係数K1を画素値Bmに乗じて得た値と補間係数K2を画素値Bm−1に乗じて得た値との和を算出する。このように算出されて得られた和のうち、位置“4”の補正対象画素の中間画素値である画素値Gmに最も近いものを最終的な補正後の画素値Bmとして採用する。   In the example illustrated in FIG. 13, a pixel value Bm that is the maximum pixel value of the correction target pixel at the position “4” and a pixel that is read one pixel ahead of the correction target pixel (a pixel at the position “3”). The value Bm-1 is used to correct the pixel value Bm by interpolation between two points. That is, the arithmetic circuit 124D obtains a plurality of sets of predetermined interpolation coefficients K1 and K2 from the interpolation coefficient memory 124E, and sets the value obtained by multiplying the pixel value Bm by the interpolation coefficient K1 and the interpolation coefficient K2 for each group. The sum with the value obtained by multiplying the value Bm-1 is calculated. Of the sums calculated in this way, the one closest to the pixel value Gm, which is the intermediate pixel value of the correction target pixel at the position “4”, is adopted as the final corrected pixel value Bm.

また、図13に示す例では、位置“6”の補正対象画素の最小画素値である画素値Rnとこの補正対象画素の1画素分後に読み取られた画素(位置“7”の画素)に係る画素値Rn+1とを使用して画素値Rnに対して2点間補間による補正を行っている。つまり、演算回路124Dが、予め定められた補間係数K1,K2を補間係数メモリ124Eから複数組取得し、各組毎に補間係数K1を画素値Rnに乗じて得た値と補間係数K2を画素値Rn+1に乗じて得た値との和を算出する。このように算出されて得られた和のうち、位置“6”の補正対象画素の中間画素値である画素値Gnに最も近いものを最終的な補正後の画素値Rnとして採用する。なお、図13に示す例では白色領域から黒色領域への変化を例示しているが、黒色領域から白色領域への変化の場合も、図13に示す補正方法に対応するように構成された補正方法が適用される。   In the example illustrated in FIG. 13, the pixel value Rn that is the minimum pixel value of the correction target pixel at the position “6” and the pixel read after one pixel of the correction target pixel (the pixel at the position “7”) The pixel value Rn + 1 is used to correct the pixel value Rn by interpolation between two points. That is, the arithmetic circuit 124D obtains a plurality of sets of predetermined interpolation coefficients K1 and K2 from the interpolation coefficient memory 124E, and obtains a value obtained by multiplying the pixel value Rn by the interpolation coefficient K1 and the interpolation coefficient K2 for each group. The sum of the value obtained by multiplying the value Rn + 1 is calculated. Of the sums calculated in this way, the pixel value Rn closest to the pixel value Gn, which is the intermediate pixel value of the correction target pixel at the position “6”, is adopted as the final corrected pixel value Rn. In the example illustrated in FIG. 13, the change from the white region to the black region is illustrated, but the correction configured to correspond to the correction method illustrated in FIG. 13 also in the case of the change from the black region to the white region. The method is applied.

以上詳細に説明したように、本実施の形態に係る画像処理装置10では、搬送及び読取対象とされた原稿を画像記録領域に対して光を照射する光源72に対して移動させ、画像記録領域に光が照射されることに画像記録領域で反射した光をフォトダイオード19で受光して各受光量に対した画像データB,G,Rを生成し、生成した画像データB,G,Rに基づいて無彩色領域間の境界領域(黒から白への変化途中又は白から黒への変化途中)を検出し、検出した境界領域が予め定められた画素数以内(ここでは一例として3画素以内)であり、境界領域を挟んだ無彩色領域間の濃度差が予め定められた値(ここでは一例として閾値ThD)以上であり、境界領域に存在する画素に対応する画像データB,G,Rのうちの最大信号レベル(ここでは一例として最大画素値)と最小信号レベル(ここでは一例として最小画素値)との差が予め定められた閾値(ここでは一例として閾値ThC)以上である場合に色ずれが発生したことを示す色ずれ発生信号(一例として白黒変換途中信号又は黒色変化途中信号)を出力するので、無彩色領域間における色ずれが高精度に検出される。   As described above in detail, in the image processing apparatus 10 according to the present embodiment, the document to be conveyed and read is moved with respect to the light source 72 that emits light to the image recording area, and the image recording area The light reflected by the image recording area is received by the photodiode 19 to generate image data B, G, R for each received light amount, and the generated image data B, G, R Based on this, a boundary region between achromatic regions (in the middle of changing from black to white or in the middle of changing from white to black) is detected, and the detected boundary region is within a predetermined number of pixels (here, within three pixels as an example) ), And the density difference between the achromatic regions across the boundary region is equal to or greater than a predetermined value (here, threshold ThD as an example), and image data B, G, R corresponding to the pixels existing in the boundary region Of which the maximum signal level ( Shows that color misregistration has occurred when the difference between the maximum pixel value (as an example) and the minimum signal level (here, the minimum pixel value as an example) is equal to or greater than a predetermined threshold (here, threshold ThC as an example). Since a color misregistration occurrence signal (for example, a black and white conversion midway signal or a black change midway signal) is output, color misregistration between achromatic regions is detected with high accuracy.

その上、異なる無彩色領域間の境界領域に存在する画素に係る補正対象とされた画像信号を用いて2点間補間を行うので、無彩色領域間における色ずれが高精度に補正される。   In addition, since point-to-point interpolation is performed using image signals that are correction targets related to pixels that exist in boundary regions between different achromatic regions, color misregistration between achromatic regions is corrected with high accuracy.

また、異なる無彩色領域間の境界領域に存在する画素に係る補正対象とされた画像信号とこの画像信号よりも1画素分先又は後に生成された画像信号とを2点間補間することで補正対象とされた画像信号を補正しているので、本構成を有しない場合に比べ、無彩色領域間における色ずれが高精度に補正される。   In addition, correction is performed by interpolating between the image signal that is the correction target related to the pixel existing in the boundary region between different achromatic regions and the image signal generated one pixel ahead or after this image signal. Since the target image signal is corrected, color misregistration between achromatic regions is corrected with higher accuracy than when the present configuration is not provided.

なお、上記実施の形態では、色ずれ検出処理において最大画素値又は最小画素値を特定した後に最大画素値と中間画素値との差又は最小画素値と中間画素値との差が閾値を超えている場合に色ずれが発生していると判定し、閾値を超えていると判定された対象の画素値を有する画像データに対して補正対象であることを特定する特定データを付したが、これは高精度な補正を行う上で有効であるからである。しかし、そこまでの高精度な処理を行うよりもむしろ高速な処理が要求される場合も考えられる。この場合は、最大画素値と中間画素値との差又は最小画素値と中間画素値との差を算出することなく、最大画素値又は最小画素値の何れかを補正対象として扱うようにしても良い。この場合、最大画素値と中間画素値との差又は最小画素値と中間画素値との差を算出する処理、及び閾値と比較する処理が省かれるので、より高速な処理が実現される。   In the above embodiment, after the maximum pixel value or the minimum pixel value is specified in the color misregistration detection process, the difference between the maximum pixel value and the intermediate pixel value or the difference between the minimum pixel value and the intermediate pixel value exceeds the threshold value. If the image data having the target pixel value determined to exceed the threshold is attached with specific data for specifying that it is a correction target. This is because it is effective in performing highly accurate correction. However, there may be a case where high-speed processing is required rather than performing such high-precision processing. In this case, either the maximum pixel value or the minimum pixel value may be treated as a correction target without calculating the difference between the maximum pixel value and the intermediate pixel value or the difference between the minimum pixel value and the intermediate pixel value. good. In this case, a process for calculating a difference between the maximum pixel value and the intermediate pixel value or a difference between the minimum pixel value and the intermediate pixel value and a process for comparing with the threshold value are omitted, so that a higher-speed process is realized.

また、上記実施の形態では、原稿が搬送される場合の形態例を挙げて説明したが、これに限らず、フラットベッド方式であっても良い。この場合、光源72の移動速度が急に変化する期間として事前に予想された期間に上記無彩色・色ずれ検出処理及び色ずれ補正処理を実行すれば良い。   In the above embodiment, an example of a case where a document is conveyed has been described. However, the present invention is not limited to this, and a flat bed method may be used. In this case, the achromatic color / color misregistration detection process and the color misregistration correction process may be executed in a period predicted in advance as a period during which the moving speed of the light source 72 suddenly changes.

また、上記実施の形態では、光源72の位置が固定されている状態で原稿が搬送される場合の形態例を挙げて説明したが、原稿を搬送しながら光源72も搬送方向SSに対して移動させても良い。この場合は上記速度変化予測期間αに代えて、原稿の搬送速度が急に変化する時点と光源の移動速度が急に変化する時点との双方を含む期間を適用したり、原稿の搬送速度が急に変化する時点を含む期間と光源の移動速度が急に変化する時点を含む期間とを重複しないように別々に設けるようにしても良い。   In the above-described embodiment, an example in which the document is transported while the position of the light source 72 is fixed has been described. However, the light source 72 also moves in the transport direction SS while transporting the document. You may let them. In this case, instead of the speed change prediction period α, a period including both a time when the document transport speed suddenly changes and a time when the light source moving speed suddenly changes is applied. You may make it provide separately the period containing the time point which changes suddenly, and the period containing the time point where the moving speed of a light source changes suddenly so that it may not overlap.

また、上記実施の形態では、原稿にラダーパターンが記録された画像記録領域を読取対象とした場合を例示したが、ラダーパターン以外の画像(例えば有彩色及び無彩色が混在している画像や有彩色を含まない画像など)を記録した画像記録領域を読取対象としても良い。   Further, in the above embodiment, the case where the image recording area where the ladder pattern is recorded on the original is set as the reading target is exemplified. However, an image other than the ladder pattern (for example, an image in which chromatic colors and achromatic colors are mixed or a An image recording area in which an image including no coloring is recorded may be set as a reading target.

また、上記実施の形態では、原稿の裏面を読み取る点については言及していないが、原稿の裏面を読み取る場合にも上記無彩色・色ずれ検出処理及び色ずれ補正処理が有効に機能することは言うまでもない。   In the above embodiment, the point of reading the back side of the document is not mentioned. However, the achromatic color / color misregistration detection process and the color misregistration correction process function effectively even when the back side of the document is read. Needless to say.

また、上記実施の形態では、「白色」との文言及び「黒色」との文言を使用しているが、これらの文言が意味するところは、いわゆる256階調の“0”及び“255”に限定されるものではなく、あくまでも上述した白基準値及び黒基準値によって定められる色であるということである。つまり、「白色」及び「黒色」を規定する階調値は、幅を持っていても良いし、幅を持っていなくても良い。   Further, in the above embodiment, the wording “white” and the wording “black” are used, but these words mean “0” and “255” of 256 gradations. The color is not limited and is determined by the white reference value and the black reference value described above. That is, the gradation values defining “white” and “black” may have a width or may not have a width.

また、上記実施の形態では、CCDラインセンサ82B,82G,82Rを例に挙げて説明したが、これに限らず、例えば、搬送方向SSに沿ってずれた状態で配列された各々単体の青用フォトダイオード、緑用フォトダイオード、及び赤用フォトダイオードであっても良い。また、R,G,B以外の異なる分光感度の複数の受光素子を搬送方向SSに沿ってずれた状態であっても良い。このように搬送方向SSにずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で設けるのであれば如何なる形態であっても良い。   In the above-described embodiment, the CCD line sensors 82B, 82G, and 82R have been described as examples. However, the present invention is not limited to this. For example, each single blue array arranged in a state shifted along the transport direction SS is used. A photodiode, a green photodiode, and a red photodiode may be used. Further, a plurality of light receiving elements having different spectral sensitivities other than R, G, and B may be shifted along the transport direction SS. Thus, any form may be employed as long as a plurality of light receiving elements having different spectral sensitivities arranged in a state shifted in the transport direction SS are provided in units of one pixel.

12 スキャナ
19 フォトダイオード
40 原稿搬送部
42 画像読取部
82 画像読取センサ
82B 青用CCDラインセンサ
82G 緑用CCDラインセンサ
82R 赤用CCDラインセンサ
120 シェーディング補正回路
122 出力遅延回路
124 色ずれ検出・補正回路
124B 比較回路
124D 演算回路
12 Scanner 19 Photodiode 40 Document conveying section 42 Image reading section 82 Image reading sensor 82B Blue CCD line sensor 82G Green CCD line sensor 82R Red CCD line sensor 120 Shading correction circuit 122 Output delay circuit 124 Color shift detection / correction circuit 124B comparison circuit 124D arithmetic circuit

Claims (19)

画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、
前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、
前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段と、
前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段と、
前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域について、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段と、
を含む画像読取装置。
Moving means for relatively moving at least one of a recording medium on which an image is recorded and a light source that emits light to an image recording area including the image in a predetermined direction;
A plurality of light receiving elements having different spectral sensitivities arranged in a state shifted in the predetermined direction are provided in units of one pixel, and light is irradiated to the image recording area during relative movement by the moving means, and the image recording area Generating means for receiving reflected light by the plurality of light receiving elements and generating an image signal corresponding to each received light amount;
Detecting means for detecting a boundary area between different achromatic areas in the image recording area based on the image signal generated by the generating means;
Specifying means for specifying a pixel having a color shift in the boundary region based on the image signal output from each of the plurality of light receiving elements corresponding to the pixels existing in the boundary region detected by the detection unit; ,
Among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means for the area where the boundary area detected by the detecting means is changing from a white area to a black area, When the image signal having the maximum signal level is to be corrected, the color shift is corrected by interpolating the image signal and the corresponding image signal generated before the image signal between two points, When an image signal having a minimum signal level is targeted for correction among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means, the image signal is generated after the image signal and the image signal. Correction means for correcting the color misregistration by interpolating between the corresponding image signals that have been performed,
An image reading apparatus.
前記補正手段は、更に、前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域について、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する請求項1に記載の画像読取装置。   The correction means further includes, for each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means, about the area where the boundary area detected by the detection means is changing from a black area to a white area. When the image signal having the maximum signal level among the corresponding image signals is to be corrected, the color is obtained by interpolating the image signal and the corresponding image signal generated after the image signal between two points. When the image signal having the minimum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit is corrected, the image signal and the image signal are corrected. The image reading apparatus according to claim 1, wherein the color misregistration is corrected by interpolating between the corresponding image signals generated before the image signal between two points. 画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、
前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、
前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段と、
前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段と、
前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域について、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段と、
を含む画像読取装置。
Moving means for relatively moving at least one of a recording medium on which an image is recorded and a light source that emits light to an image recording area including the image in a predetermined direction;
A plurality of light receiving elements having different spectral sensitivities arranged in a state shifted in the predetermined direction are provided in units of one pixel, and light is irradiated to the image recording area during relative movement by the moving means, and the image recording area Generating means for receiving reflected light by the plurality of light receiving elements and generating an image signal corresponding to each received light amount;
Detecting means for detecting a boundary area between different achromatic areas in the image recording area based on the image signal generated by the generating means;
Specifying means for specifying a pixel having a color shift in the boundary region based on the image signal output from each of the plurality of light receiving elements corresponding to the pixels existing in the boundary region detected by the detection unit; ,
Among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means for the area where the boundary area detected by the detecting means is changing from a black area to a white area, When an image signal having the maximum signal level is to be corrected, the color misregistration is corrected by interpolating between the image signal and the corresponding image signal generated after the image signal between the two points. When an image signal having a minimum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the means is to be corrected, the image signal is generated prior to the image signal. Correction means for correcting the color misregistration by interpolating between the corresponding image signals that have been performed,
An image reading apparatus.
前記補正手段は、更に、前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域について、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する請求項3に記載の画像読取装置。   The correction unit further includes, for each of the plurality of light receiving elements corresponding to the pixel specified by the specifying unit, about the region where the boundary region detected by the detection unit is changing from a white region to a black region. Among the corresponding image signals, when an image signal having the maximum signal level is to be corrected, the image signal and the corresponding image signal generated prior to the image signal are interpolated between two points, thereby When an image signal having a minimum signal level among image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit is corrected, the image signal is corrected. The image reading apparatus according to claim 3, wherein the color misregistration is corrected by interpolating between the corresponding image signals generated after the image signal between two points. 画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、
前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、
前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段と、
前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段と、
前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた前記画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段と、
を含む画像読取装置。
Moving means for relatively moving at least one of a recording medium on which an image is recorded and a light source that emits light to an image recording area including the image in a predetermined direction;
A plurality of light receiving elements having different spectral sensitivities arranged in a state shifted in the predetermined direction are provided in units of one pixel, and light is irradiated to the image recording area during relative movement by the moving means, and the image recording area Generating means for receiving reflected light by the plurality of light receiving elements and generating an image signal corresponding to each received light amount;
Detecting means for detecting a boundary area between different achromatic areas in the image recording area based on the image signal generated by the generating means;
Specifying means for specifying a pixel having a color shift in the boundary region based on the image signal output from each of the plurality of light receiving elements corresponding to the pixels existing in the boundary region detected by the detection unit; ,
Among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit, the image signal having the maximum signal level is to be corrected, and the boundary region detected by the detecting unit is In the case of a region in the middle of a change from a white region to a black region, the color is obtained by interpolating the image signal to be corrected and the corresponding image signal generated before the image signal between two points. The image signal having the maximum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit is corrected and detected by the detecting unit. In addition, when the boundary area is an area in the middle of a change from a black area to a white area, an image signal to be corrected and a corresponding before generated image signal And correcting means for correcting the color shift by the image signal interpolating between two points,
An image reading apparatus.
前記補正手段は、更に、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた前記画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する請求項5に記載の画像読取装置。   The correcting means further targets an image signal having a minimum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means, and the detecting means When the detected boundary region is a region in the middle of a change from a white region to a black region, the image signal to be corrected and the corresponding image signal generated after the image signal are The color shift is corrected by interpolation, and an image signal having a minimum signal level among image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit is to be corrected, and When the boundary area detected by the detection means is an area in the middle of a change from a black area to a white area, the image signal to be corrected and the image signal before the image signal The apparatus according to said image signal generated corresponding the to claim 5 for correcting the color shift by interpolating between two points. 画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、
前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、
前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段と、
前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段と、
前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた前記画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段と、
を含む画像読取装置。
Moving means for relatively moving at least one of a recording medium on which an image is recorded and a light source that emits light to an image recording area including the image in a predetermined direction;
A plurality of light receiving elements having different spectral sensitivities arranged in a state shifted in the predetermined direction are provided in units of one pixel, and light is irradiated to the image recording area during relative movement by the moving means, and the image recording area Generating means for receiving reflected light by the plurality of light receiving elements and generating an image signal corresponding to each received light amount;
Detecting means for detecting a boundary area between different achromatic areas in the image recording area based on the image signal generated by the generating means;
Specifying means for specifying a pixel having a color shift in the boundary region based on the image signal output from each of the plurality of light receiving elements corresponding to the pixels existing in the boundary region detected by the detection unit; ,
Among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means, an image signal having a minimum signal level is to be corrected, and the boundary region detected by the detecting means is In the case of a region in the middle of a change from a white region to a black region, the color shift is performed by interpolating the image signal to be corrected and the corresponding image signal generated after the image signal between two points. The image signal having the minimum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit is corrected and detected by the detecting unit When the boundary region is a region in the middle of a change from a black region to a white region, the image signal to be corrected and a corresponding before-generated image signal And correcting means for correcting the color shift by the image signal interpolating between two points,
An image reading apparatus.
前記補正手段は、更に、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた前記画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する請求項7に記載の画像読取装置。   The correction means further targets an image signal having a maximum signal level among image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means, and the detection means When the detected boundary region is a region in the middle of a change from a white region to a black region, two points of the image signal to be corrected and the corresponding image signal generated before the image signal are obtained. The color shift is corrected by interpolating, and the image signal having the maximum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit is to be corrected, In addition, when the boundary area detected by the detection unit is an area in the middle of a change from a black area to a white area, the image signal to be corrected and the image signal The apparatus according to said image signal corresponding generated to claim 7 for correcting the color shift by interpolating between two points. 前記2点間補間の対象となる画像信号を、時系列上互いに隣接して生成された画像信号とした請求項1〜請求項8の何れか1項に記載の画像読取装置。   9. The image reading apparatus according to claim 1, wherein the image signals to be interpolated between the two points are image signals generated adjacent to each other in time series. 前記補正手段は、複数組の補間係数を組毎に用いて前記2点間補間を行い、
前記2点間補間を行って得られた補間結果のうち、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうちの中間信号レベルを有する画像信号の信号レベルに最も近い補間結果を補正後の画像信号として適用する請求項1〜請求項9の何れか1項に記載の画像読取装置。
The correction means performs the interpolation between the two points using a plurality of sets of interpolation coefficients for each set,
Among the interpolation results obtained by performing the interpolation between the two points, an image signal having an intermediate signal level among image signals corresponding to each of the plurality of light receiving elements corresponding to the pixel specified by the specifying unit The image reading apparatus according to claim 1, wherein an interpolation result closest to the signal level is applied as a corrected image signal.
前記特定手段は、前記検出手段によって検出された前記境界領域が所定画素数以内であり、かつ該境界領域を挟んだ前記無彩色領域間の濃度差が所定値以上であり、かつ該境界領域に存在する画素のうち、対応する前記複数の受光素子の各々から出力された前記画像信号のうちの最大信号レベルと最小信号レベルとの差が予め定められた色ずれ閾値以上である画素を色ずれが発生した画素として特定する請求項1〜請求項10の何れか1項に記載の画像読取装置。   The specifying means has the boundary area detected by the detecting means within a predetermined number of pixels, and the density difference between the achromatic areas sandwiching the boundary area is not less than a predetermined value, and the boundary area Among the existing pixels, a pixel whose difference between the maximum signal level and the minimum signal level of the image signal output from each of the corresponding light receiving elements is equal to or greater than a predetermined color shift threshold is color-shifted. The image reading device according to claim 1, wherein the image reading device is specified as a pixel in which the occurrence of the error occurs. 前記移動手段は、前記画像記録領域に前記光源の光が照射されるように前記記録媒体を搬送する搬送手段を有する請求項1〜請求項11の何れか1項に記載の画像読取装置。   The image reading apparatus according to claim 1, wherein the moving unit includes a conveying unit that conveys the recording medium so that the light of the light source is irradiated to the image recording area. 前記検出手段は、前記画像記録領域のうちの前記搬送手段によって搬送されている前記記録媒体の搬送速度が変化する期間として予め定められた期間に前記光が照射された領域に対応する前記画像信号に基づいて前記境界領域を検出する請求項12に記載の画像読取装置。   The detection means includes the image signal corresponding to an area irradiated with the light during a predetermined period as a period during which the conveyance speed of the recording medium conveyed by the conveyance means in the image recording area changes. The image reading device according to claim 12, wherein the boundary region is detected based on the image. 前記生成手段を、前記複数の受光素子が1画素単位で前記所定方向に沿って配列されると共に、分光感度毎に前記所定方向に対して交差する方向に複数組配置されたラインセンサとした請求項1〜請求項13の何れか1項に記載の画像読取装置。   The generation unit is a line sensor in which the plurality of light receiving elements are arranged along the predetermined direction in units of one pixel and a plurality of sets are arranged in a direction intersecting the predetermined direction for each spectral sensitivity. The image reading apparatus according to any one of claims 1 to 13. 前記検出手段は、前記画像信号の生成順序が所定画素数離間して先後する画素について、先の画素に係る前記複数の受光素子に対応する各画像信号の信号レベルのうちの最大信号レベルと最小信号レベルとの差の絶対値が、白であることを示す値として予め定められた白基準値以内であるとの条件及び黒であることを示す値として予め定められた黒基準値以内であるとの条件の一方の条件を満足し、かつ後の画素に係る前記複数の受光素子に対応する各画像信号の信号レベルのうちの最大信号レベルと最小信号レベルとの差の絶対値が、前記予め定められた白基準値以内であるとの条件及び前記予め定められた黒基準値以内であるとの条件の他方の条件を満足した場合に前記先の画素と前記後の画素とで挟まれる領域を前記境界領域として検出する請求項1〜請求項14の何れか1項に記載の画像読取装置。   The detection means includes a maximum signal level and a minimum signal level among signal levels of the image signals corresponding to the plurality of light receiving elements related to the previous pixel, with respect to a pixel preceding the generation order of the image signal by a predetermined number of pixels. The absolute value of the difference from the signal level is within a predetermined white reference value as a value indicating white and within a predetermined black reference value as a value indicating black And the absolute value of the difference between the maximum signal level and the minimum signal level among the signal levels of each image signal corresponding to the plurality of light receiving elements related to the subsequent pixel is satisfied, When the other condition of the condition of being within the predetermined white reference value and the condition of being within the predetermined black reference value is satisfied, the pixel is sandwiched between the previous pixel and the subsequent pixel. The area is detected as the boundary area. The image reading apparatus according to any one of claims 1 to 14. 画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、を含む画像読取装置を制御するコンピュータを、
前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段、
前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段、
及び、前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域について、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段として機能させるためのプログラム。
A moving means for relatively moving at least one of a recording medium on which an image is recorded and a light source for irradiating light to an image recording area including the image in a predetermined direction, and a spectrum arranged in a state shifted in the predetermined direction A plurality of light receiving elements having different sensitivities are provided in units of one pixel, and light reflected on the image recording area is received by the plurality of light receiving elements during the relative movement by the moving means. Generating means for generating an image signal corresponding to each received light amount, and a computer for controlling the image reading apparatus,
Detecting means for detecting a boundary area between different achromatic areas in the image recording area based on the image signal generated by the generating means;
Specifying means for specifying a pixel in which color misregistration occurs in the boundary region based on the image signal output from each of the plurality of light receiving elements corresponding to the pixel existing in the boundary region detected by the detection unit;
And an image signal corresponding to each of the plurality of light receiving elements corresponding to the pixel specified by the specifying means for an area where the boundary area detected by the detecting means is changing from a white area to a black area. When the image signal having the maximum signal level is to be corrected, the color shift is corrected by interpolating between the image signal and the corresponding image signal generated before the image signal. When the image signal having the minimum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixel specified by the specifying unit is to be corrected, the image signal and the image signal A program for functioning as correction means for correcting the color shift by interpolating between the corresponding image signals generated later between two points.
画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、を含む画像読取装置を制御するコンピュータを、
前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段、
前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段、
及び、前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域について、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とした場合、該画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段として機能させるためのプログラム。
A moving means for relatively moving at least one of a recording medium on which an image is recorded and a light source for irradiating light to an image recording area including the image in a predetermined direction, and a spectrum arranged in a state shifted in the predetermined direction A plurality of light receiving elements having different sensitivities are provided in units of one pixel, and light reflected on the image recording area is received by the plurality of light receiving elements during the relative movement by the moving means. Generating means for generating an image signal corresponding to each received light amount, and a computer for controlling the image reading apparatus,
Detecting means for detecting a boundary area between different achromatic areas in the image recording area based on the image signal generated by the generating means;
Specifying means for specifying a pixel in which color misregistration occurs in the boundary region based on the image signal output from each of the plurality of light receiving elements corresponding to the pixel existing in the boundary region detected by the detection unit;
And an image signal corresponding to each of the plurality of light receiving elements corresponding to the pixel specified by the specifying unit with respect to a region in which the boundary region detected by the detecting unit is changing from a black region to a white region. Among them, when the image signal having the maximum signal level is to be corrected, the color shift is corrected by interpolating between the image signal and the corresponding image signal generated after the image signal, When an image signal having a minimum signal level among image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit is to be corrected, the image signal and the image signal are preceded. A program for functioning as a correcting means for correcting the color misregistration by interpolating between the corresponding image signals generated in (2).
画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、を含む画像読取装置を制御するコンピュータを、
前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段、
前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段、
及び、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた前記画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最大信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段として機能させるためのプログラム。
A moving means for relatively moving at least one of a recording medium on which an image is recorded and a light source for irradiating light to an image recording area including the image in a predetermined direction, and a spectrum arranged in a state shifted in the predetermined direction A plurality of light receiving elements having different sensitivities are provided in units of one pixel, and light reflected on the image recording area is received by the plurality of light receiving elements during the relative movement by the moving means. Generating means for generating an image signal corresponding to each received light amount, and a computer for controlling the image reading apparatus,
Detecting means for detecting a boundary area between different achromatic areas in the image recording area based on the image signal generated by the generating means;
Specifying means for specifying a pixel in which color misregistration occurs in the boundary region based on the image signal output from each of the plurality of light receiving elements corresponding to the pixel existing in the boundary region detected by the detection unit;
And the boundary detected by the detection means, with the image signal having the maximum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means being corrected. When the region is a region in the middle of a change from a white region to a black region, interpolation is performed between the image signal to be corrected and the corresponding image signal generated before the image signal between two points. The color misregistration is corrected, an image signal having a maximum signal level among image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit is set as a correction target, and the detection unit When the detected boundary area is an area in the middle of a change from a black area to a white area, the image signal to be corrected and the correspondence generated after the image signal The image signal and a program for functioning as a correction means for correcting the color shift by interpolating between two points that.
画像が記録された記録媒体と該画像を含む画像記録領域に対して光を照射する光源との少なくとも一方を所定方向に相対移動させる移動手段と、前記所定方向にずれた状態で配列された分光感度の異なる複数の受光素子を1画素単位で有し、前記移動手段による相対移動中に前記画像記録領域に光が照射されて該画像記録領域で反射した光を前記複数の受光素子で受光して各受光量に対応した画像信号を生成する生成手段と、を含む画像読取装置を制御するコンピュータを、
前記生成手段で生成された前記画像信号に基づいて前記画像記録領域における異なる無彩色領域間の境界領域を検出する検出手段、
前記検出手段によって検出された前記境界領域に存在する画素に対応する前記複数の受光素子の各々から出力された前記画像信号に基づいて前記境界領域における色ずれが発生した画素を特定する特定手段、
及び、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が白色領域から黒色領域への変化途中の領域である場合、補正対象とされた前記画像信号と該画像信号よりも後に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正し、前記特定手段によって特定された画素に対応する前記複数の受光素子の各々に対応する画像信号のうち、最小信号レベルを有する画像信号を補正対象とし、かつ前記検出手段によって検出された前記境界領域が黒色領域から白色領域への変化途中の領域である場合、補正対象とされた画像信号と該画像信号よりも先に生成された対応する前記画像信号とを2点間補間することで前記色ずれを補正する補正手段として機能させるためのプログラム。
A moving means for relatively moving at least one of a recording medium on which an image is recorded and a light source for irradiating light to an image recording area including the image in a predetermined direction, and a spectrum arranged in a state shifted in the predetermined direction A plurality of light receiving elements having different sensitivities are provided in units of one pixel, and light reflected on the image recording area is received by the plurality of light receiving elements during the relative movement by the moving means. Generating means for generating an image signal corresponding to each received light amount, and a computer for controlling the image reading apparatus,
Detecting means for detecting a boundary area between different achromatic areas in the image recording area based on the image signal generated by the generating means;
Specifying means for specifying a pixel in which color misregistration occurs in the boundary region based on the image signal output from each of the plurality of light receiving elements corresponding to the pixel existing in the boundary region detected by the detection unit;
And the boundary detected by the detection unit, the correction target being an image signal having a minimum signal level among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying unit When the region is a region in the middle of a change from a white region to a black region, the image signal to be corrected and the corresponding image signal generated after the image signal are interpolated between two points, Corrects the color misregistration, detects the image signal having the minimum signal level from among the image signals corresponding to each of the plurality of light receiving elements corresponding to the pixels specified by the specifying means, and detects them by the detecting means. If the boundary area is an area in the middle of a change from a black area to a white area, the image signal to be corrected and the correspondence generated prior to the image signal The image signal and a program for functioning as a correction means for correcting the color shift by interpolating between two points that.
JP2011203375A 2011-09-16 2011-09-16 Image reading apparatus and program Active JP5786585B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011203375A JP5786585B2 (en) 2011-09-16 2011-09-16 Image reading apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011203375A JP5786585B2 (en) 2011-09-16 2011-09-16 Image reading apparatus and program

Publications (2)

Publication Number Publication Date
JP2013066049A JP2013066049A (en) 2013-04-11
JP5786585B2 true JP5786585B2 (en) 2015-09-30

Family

ID=48189156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011203375A Active JP5786585B2 (en) 2011-09-16 2011-09-16 Image reading apparatus and program

Country Status (1)

Country Link
JP (1) JP5786585B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002077644A (en) * 2000-08-24 2002-03-15 Minolta Co Ltd Image reading apparatus
JP3923293B2 (en) * 2000-11-22 2007-05-30 シャープ株式会社 Image processing method, image processing apparatus, and image forming apparatus
JP2009224829A (en) * 2008-03-13 2009-10-01 Canon Inc Image reading apparatus
JP5098937B2 (en) * 2008-10-03 2012-12-12 セイコーエプソン株式会社 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JP2013066049A (en) 2013-04-11

Similar Documents

Publication Publication Date Title
US7969627B2 (en) Image reading apparatus for detecting noise in image data
JP6042814B2 (en) Signal brightness matching method for image sensors
US20100118352A1 (en) Image reading apparatus for detecting noise in image data
US7782506B2 (en) Image reading apparatus capable of detecting noise
JP2009177479A (en) Image processing apparatus
US7551326B2 (en) Image reading apparatus for detecting noise in image data
US7710617B2 (en) Image reading apparatus capable of detecting noise
US20060066919A1 (en) Image reading apparatus reading an original while transporting the same
JP6686671B2 (en) Image reading apparatus and image reading method
JP2017098623A (en) Image reader and image forming apparatus employing the same
JP4165488B2 (en) Image reading device
JP5786585B2 (en) Image reading apparatus and program
JP5786584B2 (en) Image reading apparatus and program
JP2013066050A (en) Image reading apparatus and program
JP2008099129A (en) Image reading apparatus
JP2007215050A (en) Image reader
JP2007088557A (en) Method of calculating inter-color crosstalk correction formula, and image reading apparatus
KR100645856B1 (en) Signal processing method and image acquisition device
JP4429233B2 (en) Crosstalk correction device for scanner and crosstalk correction method
JP4821718B2 (en) Image forming system program and image forming system
US20080297862A1 (en) Image reading device, image forming apparatus, and reading-unit install method
JP2009010924A (en) Image reading apparatus, image forming apparatus, and method of incorporating same
JP4735534B2 (en) Image processing apparatus, image reading apparatus, and program
JP5458943B2 (en) Image processing device
JP4414276B2 (en) Image reading device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140822

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150619

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: 20150630

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150713

R150 Certificate of patent or registration of utility model

Ref document number: 5786585

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350