JP6761583B2 - Image reader - Google Patents

Image reader Download PDF

Info

Publication number
JP6761583B2
JP6761583B2 JP2017177501A JP2017177501A JP6761583B2 JP 6761583 B2 JP6761583 B2 JP 6761583B2 JP 2017177501 A JP2017177501 A JP 2017177501A JP 2017177501 A JP2017177501 A JP 2017177501A JP 6761583 B2 JP6761583 B2 JP 6761583B2
Authority
JP
Japan
Prior art keywords
pixel
colored
value
image
proximity
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.)
Expired - Fee Related
Application number
JP2017177501A
Other languages
Japanese (ja)
Other versions
JP2018056988A (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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Publication of JP2018056988A publication Critical patent/JP2018056988A/en
Application granted granted Critical
Publication of JP6761583B2 publication Critical patent/JP6761583B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、画像読取装置に関するものである。 The present invention relates to an image reader.

近年の読取速度向上の要求に伴い、ある画像読取装置は、センサーの画素解像度を実現する基準スキャン線速より速くスキャン走査させることで、スキャン速度を高くしている。 With the recent demand for improvement in reading speed, some image reading devices increase the scanning speed by scanning at a speed higher than the reference scanning line speed that realizes the pixel resolution of the sensor.

この場合、所定周期で画素値の読み取りが行われており、スキャン走査速度だけを高くしているので、実際に副走査方向において読み取られる画素数が少なくなり、RGBの各色について、原稿画像のうち、読み取られない部分(画素位置)が発生する。そのため、副走査方向に沿ってグレー画像の濃度が変化している箇所では、RGBのうちの一部の色が他の色とは異なった画素値変化を示し、色付きが発生してしまう。図7は、スキャン速度を高くした場合の色付きの発生について説明するタイミングチャートである。例えば図7に示すように、基準読取線速では、RGBのすべての色について、画素値が検出される画素位置が同一になっているため、副走査方向に沿ってグレー画像の濃度が変化している箇所でも、RGBのすべての色が同一の画素値変化を示すため、色付きが発生しない。しかし、読取線速を高くした場合、RおよびBとGとで異なる画素位置で画素値が検出されるため、副走査方向に沿ってグレー画像の濃度が変化している箇所では、RGBのうちの一部の色が他の色とは異なった画素値変化を示し、色付きが発生してしまう。 In this case, since the pixel values are read at a predetermined cycle and only the scanning scanning speed is increased, the number of pixels actually read in the sub-scanning direction is reduced, and each of the RGB colors is included in the original image. , An unreadable part (pixel position) occurs. Therefore, in the portion where the density of the gray image changes along the sub-scanning direction, some colors of RGB show a pixel value change different from that of the other colors, and coloring occurs. FIG. 7 is a timing chart illustrating the occurrence of coloring when the scanning speed is increased. For example, as shown in FIG. 7, at the reference reading line speed, since the pixel positions where the pixel values are detected are the same for all the colors of RGB, the density of the gray image changes along the sub-scanning direction. Since all the colors of RGB show the same pixel value change, coloring does not occur. However, when the reading line speed is increased, the pixel values are detected at different pixel positions in R, B, and G. Therefore, in the place where the density of the gray image changes along the sub-scanning direction, of RGB. Some colors of the above show pixel value changes different from those of other colors, and coloring occurs.

このような、色付きを解消するために、ある画像読取装置は、カラー画素の前後がモノクロ画素である場合、そのカラー画素を異常とみなし、異常画素として検出している(例えば特許文献1参照)。 In order to eliminate such coloring, when a certain image reading device has monochrome pixels before and after the color pixel, the color pixel is regarded as an abnormality and detected as an abnormal pixel (see, for example, Patent Document 1). ..

特開2013−131861号公報Japanese Unexamined Patent Publication No. 2013-131861

しかしながら、主走査方向に延びる細線(無彩色の細線)の場合、副走査方向の幅が狭いため、その細線の位置によっては細線すべてに色付きが発生してしまい、無彩色部分が発生しないときには、上述の技術では、その色付きが発生した画素が検出されない。 However, in the case of a thin line extending in the main scanning direction (achromatic thin line), since the width in the sub-scanning direction is narrow, all the thin lines are colored depending on the position of the thin line, and when the achromatic part does not occur, In the above technique, the pixel in which the coloring occurs is not detected.

本発明は、上記の問題に鑑みてなされたものであり、線画の全域に色付きが発生していても、色付きを検出する画像読取装置を得ることを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to obtain an image reading device that detects coloring even if coloring occurs in the entire area of the line art.

本発明に係る画像読取装置は、RGBに対応する3つのラインセンサーを備えるイメージセンサーと、基準解像度を得るための基準読取線速より高い読取線速で前記イメージセンサーの読取位置を前記副走査方向へ移動させつつ、原稿からの反射光に基づいて前記ラインセンサーで副走査方向においてそれぞれ異なる読取位置でのRGBの画素値を検出する読取制御部と、前記原稿の画像である原稿画像内の各画素について、線画であるか否かを示す画素属性を特定する画素属性特定部と、前記原稿画像内の注目画素に色付きが発生しているか否かを判定し、前記注目画素に色付きが発生している場合には、前記注目画素の色付きを除去する色付き除去処理を実行する色付き除去部とを備える。そして、前記色付き除去部は、前記色付き除去処理において、(a)前記注目画素が、線画の前記画素属性を有するカラー画素であり、かつ、(b)前記副走査方向において前記注目画素に対して前後に近接する2つの近接画素の一方が、線画の前記画素属性を有するカラー画素であり、(c)前記注目画素と、線画の前記画素属性を有するカラー画素である前記近接画素との間の色相差が所定の閾値以上である場合、前記注目画素に色付きが発生していると判定し、前記注目画素の色付きを除去する。また、本発明に係る画像読取装置では、前記色付き除去部は、前記色付き除去処理において、(a)前記注目画素が、線画の前記画素属性を有する画素であり、(b)副走査方向において前記注目画素に対して近接する近接画素が、線画の前記画素属性を有する画素であり、(c)前記注目画素のR値、G値、およびB値のうちの最大値と最小値との差が所定の閾値以上であり、かつ、前記近接画素のR値、G値、およびB値のうちの最大値と最小値との差が前記所定の閾値以上であり、かつ、(d)前記注目画素の前記最大値の色種別と前記近接画素の前記最小値の色種別とが同一であるか、前記注目画素の前記最小値の色種別と前記近接画素の前記最大値の色種別とが同一である場合、前記注目画素および前記近接画素に色付きが発生していると判定し、前記注目画素および前記近接画素の色付きを除去するようにしてもよい。


The image reading device according to the present invention has an image sensor including three line sensors corresponding to RGB, and the reading position of the image sensor in the sub-scanning direction at a reading line speed higher than the reference reading line speed for obtaining a reference resolution. while moving to a reading control section for detecting the RGB pixel values in different reading positions in the sub scanning direction by the line sensor based on the reflected light from the document, each of the original image is an image of the document With respect to the pixel, it is determined whether or not the pixel attribute specifying unit that specifies the pixel attribute indicating whether or not it is a line drawing and the pixel of interest in the original image are colored, and the pixel of interest is colored. If so, it includes a colored removal unit that executes a colored removal process for removing the coloring of the pixel of interest. Then, the colored removing unit is in the colored removal process, the pixel of interest (a), a color pixel having the pixel attribute of the line drawing, and, with respect to the target pixel in the (b) the sub-scanning direction One of the two proximity pixels adjacent to the front and back is a color pixel having the pixel attribute of the line drawing, and (c) between the attention pixel and the proximity pixel which is a color pixel having the pixel attribute of the line drawing. When the hue difference is equal to or greater than a predetermined threshold value, it is determined that the attention pixel is colored, and the coloration of the attention pixel is removed. Further, in the image reading device according to the present invention, in the colored removal process, (a) the pixel of interest is a pixel having the pixel attribute of the line drawing, and (b) the pixel in the sub-scanning direction. A close pixel close to the pixel of interest is a pixel having the pixel attribute of the line drawing, and (c) the difference between the maximum value and the minimum value of the R value, G value, and B value of the pixel of interest is The difference between the maximum value and the minimum value of the R value, G value, and B value of the proximity pixel is equal to or more than the predetermined threshold value, and (d) the pixel of interest. The maximum value color type and the minimum value color type of the proximity pixel are the same, or the minimum value color type of the attention pixel and the maximum value color type of the proximity pixel are the same. In some cases, it may be determined that the attention pixel and the proximity pixel are colored, and the coloring of the attention pixel and the proximity pixel may be removed.


本発明によれば、線画の全域に色付きが発生していても、色付きが検出される。 According to the present invention, coloring is detected even if coloring occurs in the entire area of the line art.

本発明の上記又は他の目的、特徴および優位性は、添付の図面とともに以下の詳細な説明から更に明らかになる。 The above or other object, feature and superiority of the present invention will be further clarified from the following detailed description with the accompanying drawings.

図1は、本発明の実施の形態に係る画像読取装置の内部構成を示す側面図である。FIG. 1 is a side view showing an internal configuration of an image reading device according to an embodiment of the present invention. 図2は、図1に示す画像読取装置の電気的構成を示すブロック図である。FIG. 2 is a block diagram showing an electrical configuration of the image reader shown in FIG. 図3は、副走査方向において注目画素に近接する近接画素を説明する図である。FIG. 3 is a diagram for explaining nearby pixels that are close to the pixel of interest in the sub-scanning direction. 図4は、実施の形態1における色付き除去部33の動作について説明するフローチャートである。FIG. 4 is a flowchart illustrating the operation of the colored removing unit 33 according to the first embodiment. 図5は、実施の形態2における近接画素を説明する図である。FIG. 5 is a diagram illustrating proximity pixels in the second embodiment. 図6は、実施の形態2における色付き除去部33の動作について説明するフローチャートである。FIG. 6 is a flowchart illustrating the operation of the colored removing unit 33 according to the second embodiment. 図7は、スキャン速度を高くした場合の色付きの発生について説明するタイミングチャートである。FIG. 7 is a timing chart illustrating the occurrence of coloring when the scanning speed is increased.

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

実施の形態1. Embodiment 1.

図1は、本発明の実施の形態に係る画像読取装置の内部構成を示す側面図である。図1に示す画像読取装置は、スキャナー、複写機、デジタル複合機などといった装置である。図1において、コンタクトガラス1は、当該画像読取装置本体の上面に設置され、画像読取時に原稿が載置される透明な載置台である。また、キャリッジ2は、図示せぬ駆動源によって副走査方向に移動可能に設置されている。キャリッジ2は、光源11とミラー12とを有する。光源11は、主走査方向に沿って配置され、例えば配列された複数の発光ダイオードで光を出射する。光源11から出射された光は、キャリッジ2の位置に応じて、コンタクトガラス1上に載置された原稿に入射する。原稿に入射した光は、原稿の表面で反射する。そして、ミラー12は、原稿からのその反射光をキャリッジ3に向けて反射する。 FIG. 1 is a side view showing an internal configuration of an image reading device according to an embodiment of the present invention. The image reading device shown in FIG. 1 is a device such as a scanner, a copying machine, or a digital multifunction device. In FIG. 1, the contact glass 1 is a transparent mounting table that is installed on the upper surface of the image reading device main body and on which a document is placed when reading an image. Further, the carriage 2 is installed so as to be movable in the sub-scanning direction by a drive source (not shown). The carriage 2 has a light source 11 and a mirror 12. The light source 11 is arranged along the main scanning direction, and emits light by, for example, a plurality of arranged light emitting diodes. The light emitted from the light source 11 is incident on the document placed on the contact glass 1 according to the position of the carriage 2. Light incident on the document is reflected by the surface of the document. Then, the mirror 12 reflects the reflected light from the document toward the carriage 3.

また、キャリッジ3は、図示せぬ駆動源によってキャリッジ2とともに副走査方向に移動可能に設置されている。キャリッジ3は、ミラー13,14を有する。ミラー13,14は、キャリッジ2のミラー12からの光を2度反射して副走査方向に沿って出射する。 Further, the carriage 3 is movably installed together with the carriage 2 in the sub-scanning direction by a drive source (not shown). The carriage 3 has mirrors 13 and 14. The mirrors 13 and 14 reflect the light from the mirror 12 of the carriage 2 twice and emit it along the sub-scanning direction.

結像レンズ4は、キャリッジ3のミラー14からの光をイメージセンサー5に結像させる。イメージセンサー5は、RGBに対応する3つのラインセンサー5R,5G,5Bを備え、キャリッジ3のミラー14からの光は、それらのラインセンサー5R,5G,5B上に結像される。各ラインセンサー5R,5G,5Bは、主走査方向に配列された所定の画素数の受光素子を有する1次元イメージセンサーであり、ラインごとに、その画素数の画素についての受光量に対応する電気信号を出力する。ラインセンサー5R,5G,5Bには、例えば、CCD(Charge Coupled Device)が使用される。 The imaging lens 4 forms an image of light from the mirror 14 of the carriage 3 on the image sensor 5. The image sensor 5 includes three line sensors 5R, 5G, 5B corresponding to RGB, and the light from the mirror 14 of the carriage 3 is imaged on the line sensors 5R, 5G, 5B. Each of the line sensors 5R, 5G, and 5B is a one-dimensional image sensor having a light receiving element having a predetermined number of pixels arranged in the main scanning direction, and each line has electricity corresponding to the amount of light received for the pixel of the number of pixels. Output a signal. For the line sensors 5R, 5G, and 5B, for example, a CCD (Charge Coupled Device) is used.

キャリッジ2,3、結像レンズ4、イメージセンサー5、光源11、ミラー12、ミラー13,14、キャリッジ2,3を副走査方向において移動させる図示せぬ駆動部などにより、コンタクトガラス1に載置され原稿カバー6で抑えられた原稿の画像を読み取る画像読取部21が構成されている。 The carriages 2 and 3, the imaging lens 4, the image sensor 5, the light source 11, the mirror 12, the mirrors 13 and 14, and the carriages 2 and 3 are placed on the contact glass 1 by a drive unit (not shown) for moving the carriages 2 and 3 in the sub-scanning direction. An image reading unit 21 that reads an image of a document suppressed by the document cover 6 is configured.

図2は、図1に示す画像読取装置の電気的構成を示すブロック図である。図2において、画像処理装置22は、画像読取部21により読み取られた画像に対して画像処理を行う内部装置である。画像処理装置22は、例えばASIC(Application Specific Integrated Circuit)や、制御プログラムに従って動作するコンピューターなどで実現される。 FIG. 2 is a block diagram showing an electrical configuration of the image reader shown in FIG. In FIG. 2, the image processing device 22 is an internal device that performs image processing on the image read by the image reading unit 21. The image processing device 22 is realized by, for example, an ASIC (Application Specific Integrated Circuit), a computer that operates according to a control program, or the like.

画像処理装置22は、読取制御部31、画素属性特定部32、および色付き除去部33を備える。 The image processing device 22 includes a reading control unit 31, a pixel attribute specifying unit 32, and a colored removing unit 33.

読取制御部31は、画像読取部21を制御して、所定の基準解像度(例えば600dpi)を得るための基準読取線速より高い読取線速でイメージセンサー5の読取位置を副走査方向へ移動させつつ、原稿からの反射光に基づいてラインセンサー5R,5G,5Bで副走査方向においてそれぞれ異なる読取位置でのRGB3色の画素値を検出する。これにより、原稿画像についてのRGB各色の1頁分の画像データが得られ、図示せぬメモリーなどに格納される。 The reading control unit 31 controls the image reading unit 21 to move the reading position of the image sensor 5 in the sub-scanning direction at a reading line speed higher than the reference reading line speed for obtaining a predetermined reference resolution (for example, 600 dpi). At the same time, the line sensors 5R, 5G, and 5B detect pixel values of three RGB colors at different reading positions in the sub-scanning direction based on the reflected light from the original. As a result, one page of image data of each RGB color of the original image is obtained and stored in a memory (not shown) or the like.

画素属性特定部32は、原稿画像内の各画素について、線画であるか否かを示す画素属性を特定する。例えば、画素属性特定部32は、原稿画像内のオブジェクトを、階調画像(写真など)、文字、罫線などの線画などに分類する領域分割技術を使用して、画素属性を特定する。なお、例えば、画素属性特定部32は、原稿画像内の線画を検出する際に、原稿画像を無彩化してから原稿画像内のエッジを検出し、その検出したエッジに基づいて線画を検出する。 The pixel attribute specifying unit 32 specifies a pixel attribute indicating whether or not each pixel in the original image is a line art. For example, the pixel attribute specifying unit 32 specifies the pixel attribute by using an area division technique for classifying an object in the original image into a gradation image (photograph or the like), a character, a line art such as a ruled line, or the like. For example, when detecting the line art in the original image, the pixel attribute specifying unit 32 detects the edge in the original image after achromaticizing the original image, and detects the line art based on the detected edge. ..

色付き除去部33は、色付き除去処理を実行する。色付き除去処理は、原稿画像内の注目画素に色付きが発生しているか否かを判定し、注目画素に色付きが発生している場合には、注目画素の色付きを除去する処理である。 The colored removal unit 33 executes the colored removal process. The colored removal process is a process for determining whether or not the pixel of interest in the original image is colored, and if the pixel of interest is colored, the pixel of interest is removed.

図3は、副走査方向において注目画素に近接する近接画素を説明する図である。 FIG. 3 is a diagram for explaining nearby pixels that are close to the pixel of interest in the sub-scanning direction.

具体的には、色付き除去部33は、注目画素のRGB画素値に基づいて注目画素の彩度および色相を計算し、注目画素の彩度が所定の閾値TH_satを超えている場合には、注目画素がカラー画素(つまり、有彩色の画素)であると判定し、注目画素の彩度が所定の閾値TH_satを超えていない場合には、注目画素がグレー画素(つまり、無彩色の画素)であると判定する。同様に、図3に示すように、副走査方向において注目画素に対して前後に近接する2つの近接画素について、色付き除去部33は、各近接画素のRGB画素値に基づいて近接画素の彩度および色相を計算し、近接画素の彩度が所定の閾値TH_satを超えている場合には、その近接画素がカラー画素(つまり、有彩色の画素)であると判定し、近接画素の彩度が所定の閾値TH_satを超えていない場合には、その近接画素がグレー画素(つまり、無彩色の画素)であると判定する。 Specifically, the colored removal unit 33 calculates the saturation and hue of the pixel of interest based on the RGB pixel value of the pixel of interest, and when the saturation of the pixel of interest exceeds a predetermined threshold TH_sat, attention is paid. If it is determined that the pixel is a color pixel (that is, a chromatic pixel) and the saturation of the pixel of interest does not exceed a predetermined threshold TH_sat, the pixel of interest is a gray pixel (that is, an achromatic pixel). Judge that there is. Similarly, as shown in FIG. 3, for two proximity pixels that are close to each other in the sub-scanning direction in the front-rear direction with respect to the pixel of interest, the colored removal unit 33 determines the saturation of the proximity pixels based on the RGB pixel values of the proximity pixels. And the hue is calculated, and if the saturation of the proximity pixel exceeds a predetermined threshold TH_sat, it is determined that the proximity pixel is a color pixel (that is, a chromatic pixel), and the saturation of the proximity pixel is determined. If it does not exceed the predetermined threshold TH_sat, it is determined that the nearby pixel is a gray pixel (that is, an achromatic pixel).

そして、色付き除去部33は、色付き除去処理において、注目画素について、(a)注目画素が、線画の画素属性を有するカラー画素であり、かつ、(b)図3に示す2つの近接画素の一方が、線画の画素属性を有するカラー画素であり、(c)注目画素と、線画の画素属性を有するカラー画素である近接画素との間の色相差が所定の閾値TH_hue以上である場合、注目画素に色付きが発生していると判定し、注目画素の色付きを除去する。 Then, in the colored removal process, the colored removal unit 33 indicates that, with respect to the pixel of interest, (a) the pixel of interest is a color pixel having the pixel attribute of a line drawing, and (b) one of the two proximity pixels shown in FIG. Is a color pixel having a pixel attribute of a line drawing, and (c) a pixel of interest when the hue difference between a pixel of interest and a proximity pixel which is a color pixel having a pixel attribute of a line drawing is equal to or greater than a predetermined threshold TH_hoe. It is determined that coloring has occurred in, and the coloring of the pixel of interest is removed.

また、この実施の形態では、色付き除去部33は、色付き除去処理において、(a)注目画素が、線画の前記画素属性を有するカラー画素であり、かつ、(b)図3に示す2つの近接画素の一方が、線画の前記画素属性を有するカラー画素であり、かつ2つの近接画素の他方が、非線画の前記画素属性を有するかグレー画素であり、かつ、(c)注目画素と、線画の画素属性を有するカラー画素である近接画素との間の色相差が所定の閾値以上である場合、注目画素に色付きが発生していると判定し、注目画素の色付きを除去する。 Further, in this embodiment, in the colored removal process, in the colored removal process, (a) the pixel of interest is a color pixel having the pixel attribute of the line drawing, and (b) two proximity shown in FIG. 3 One of the pixels is a color pixel having the pixel attribute of the line drawing, and the other of the two proximity pixels has the pixel attribute of the non-line drawing or is a gray pixel, and (c) the pixel of interest and the line drawing. When the hue difference between the color pixel having the pixel attribute of the above and the proximity pixel is equal to or more than a predetermined threshold value, it is determined that the attention pixel is colored, and the color of the attention pixel is removed.

さらに、この実施の形態では、色付き除去部33は、注目画素のR画素値、G画素値、およびB画素値を、それらのR画素値、G画素値、およびB画素値の平均値に置き換えて、注目画素の色付きを除去する。 Further, in this embodiment, the colored removal unit 33 replaces the R pixel value, the G pixel value, and the B pixel value of the pixel of interest with the average value of the R pixel value, the G pixel value, and the B pixel value. To remove the coloring of the pixel of interest.

次に、当該実施の形態に係る画像読取装置の動作について説明する。図4は、図2における色付き除去部33の動作について説明するフローチャートである。 Next, the operation of the image reading device according to the embodiment will be described. FIG. 4 is a flowchart illustrating the operation of the colored removing unit 33 in FIG.

まず、読取制御部31は、ユーザー設定などに基づいて指定された読取線速で、1頁の原稿画像の画像データ(RGB画素値)を取得する。 First, the reading control unit 31 acquires the image data (RGB pixel value) of the original image of one page at the reading line speed specified based on the user setting or the like.

次に、画素属性特定部32は、取得した1頁分の画像データに基づいて、原稿画像における各画素の画素属性を特定する。 Next, the pixel attribute specifying unit 32 specifies the pixel attribute of each pixel in the original image based on the acquired image data for one page.

そして、色付き除去部33は、色付き除去処理を実行する。色付き除去部33は、原稿画像内の画素から注目画素を例えば所定の走査順に選択していき、その注目画素に対して図4に示す処理を実行する。 Then, the colored removal unit 33 executes the colored removal process. The colored removal unit 33 selects the pixels of interest from the pixels in the original image, for example, in a predetermined scanning order, and executes the process shown in FIG. 4 on the pixels of interest.

色付き除去部33は、まず、横1画素、縦3画素の参照領域内の画素(つまり、注目画素、第1近接画素および第2近接画素)について、カラー/グレー判定を行う(ステップS1)。 First, the colored removal unit 33 performs color / gray determination on the pixels in the reference region of 1 horizontal pixel and 3 vertical pixels (that is, the pixel of interest, the first proximity pixel, and the second proximity pixel) (step S1).

このとき、色付き除去部33は、参照領域内の各画素の彩度および色相を計算し、その彩度に基づいて上述のように参照領域内の各画素がカラー画素であるかグレー画素であるかを判定する。 At this time, the colored removal unit 33 calculates the saturation and hue of each pixel in the reference region, and based on the saturation, each pixel in the reference region is a color pixel or a gray pixel as described above. Is determined.

例えば、第1近接画素のRGB値が(120,246,124)であり、注目画素のRGB値が(208,179,215)であり、第2近接画素のRGB値が(237,236,241)である場合、第1近接画素の彩度Sおよび色相Hは、(98,122)となり、注目画素の彩度Sおよび色相Hは、(24,288)となり、第2近接画素の彩度Sおよび色相Hは、(3,252)となる。したがって、この場合、第1近接画素および注目画素はカラー画素であると判定され、第2近接画素はグレー画素であると判定される。 For example, the RGB value of the first proximity pixel is (120,246,124), the RGB value of the noteworthy pixel is (208,179,215), and the RGB value of the second proximity pixel is (237,236,241). ), The saturation S and hue H of the first proximity pixel are (98,122), the saturation S and hue H of the pixel of interest are (24,288), and the saturation of the second proximity pixel. S and hue H are (3,252). Therefore, in this case, the first proximity pixel and the attention pixel are determined to be color pixels, and the second proximity pixel is determined to be a gray pixel.

次に、色付き除去部33は、注目画素が線画属性(つまり、線画であることを示す画素属性)のカラー画素であるか否かを判定する(ステップS2)。 Next, the colored removal unit 33 determines whether or not the pixel of interest is a color pixel having a line art attribute (that is, a pixel attribute indicating that it is a line art) (step S2).

注目画素が線画属性のカラー画素である場合、色付き除去部33は、一方の近接画素が線画属性のカラー画素であり、かつ他方の近接画素がグレー画素または非線画属性の画素であるか否かを判定する(ステップS3)。 When the pixel of interest is a color pixel with a line art attribute, the colored removal unit 33 determines whether one of the proximity pixels is a color pixel with a line art attribute and the other proximity pixel is a gray pixel or a pixel with a non-line art attribute. Is determined (step S3).

この注目画素に関し、一方の近接画素が線画属性のカラー画素であり、かつ他方の近接画素がグレー画素または非線画属性の画素である場合、色付き除去部33は、注目画素と線画属性のカラー画素である近接画素との間の色相差を計算し、その色相差が所定の閾値以上であるか否かを判定する(ステップS4)。 With respect to the pixel of interest, when one of the proximity pixels is a color pixel having a line drawing attribute and the other proximity pixel is a gray pixel or a pixel having a non-line drawing attribute, the colored removal unit 33 is a color pixel of the attention pixel and the line drawing attribute. The hue difference between the nearby pixels is calculated, and it is determined whether or not the hue difference is equal to or greater than a predetermined threshold value (step S4).

色付きの場合、RGBの少なくとも1つの色の画素値が、本来の正しい値から大きく異なっているため、このように、線画内において副走査方向に互いに隣接する画素の色相差に基づいて、色付きが検出される。 In the case of coloring, since the pixel values of at least one color of RGB are significantly different from the original correct values, the coloring is thus performed based on the hue difference of the pixels adjacent to each other in the sub-scanning direction in the line art. Detected.

そして、その色相差が所定の閾値以上である場合、色付き除去部33は、注目画素に色付きが発生していると判定し、注目画素をグレー化して注目画素の色付きを除去する(ステップS5)。 Then, when the hue difference is equal to or greater than a predetermined threshold value, the coloring removal unit 33 determines that the attention pixel is colored, grays the attention pixel, and removes the coloring of the attention pixel (step S5). ..

上述の例において、第1近接画素および注目画素が線画属性を有し、第2近接画素が非線画属性を有する場合、第1近接画素は線画属性のカラー画素であり、第2近接画素が非線画属性のグレー画素であり、注目画素と第1近接画素との色相差が166度であり、閾値TH_hue(例えば120度)以上であるので、注目画素に色付きが発生していると判定され、グレー化によって除去される。 In the above example, when the first proximity pixel and the attention pixel have the line drawing attribute and the second proximity pixel has the non-line drawing attribute, the first proximity pixel is a color pixel with the line drawing attribute and the second proximity pixel is non-line drawing attribute. Since it is a gray pixel with a line drawing attribute, the hue difference between the attention pixel and the first proximity pixel is 166 degrees, and the threshold value TH_hoe (for example, 120 degrees) or more, it is determined that the attention pixel is colored. Removed by graying.

なお、注目画素が線画属性のカラー画素ではない場合(ステップS2)、一方の近接画素が線画属性のカラー画素ではないか、他方の近接画素がグレー画素および非線画属性の画素のいずれでもない場合(ステップS3)、および注目画素と線画属性のカラー画素である近接画素との間の色相差が所定の閾値以上ではない場合(ステップS4)においては、色付き除去部33は、注目画素に色付きが発生していないと判定し、色付き除去処理を行わない。 When the pixel of interest is not a color pixel with a line drawing attribute (step S2), one proximity pixel is not a color pixel with a line drawing attribute, or the other proximity pixel is neither a gray pixel nor a pixel with a non-line drawing attribute. (Step S3), and when the hue difference between the attention pixel and the proximity pixel which is a color pixel of the line drawing attribute is not equal to or more than a predetermined threshold value (step S4), the coloring removal unit 33 causes the attention pixel to be colored. It is determined that it has not occurred, and the coloring removal process is not performed.

その後、このようにして色付き除去処理された画像データが1つのデータファイルとして図示せぬ内蔵通信装置で出力されたり、色付き除去処理された画像データに基づく原稿画像が図示せぬ内蔵印刷装置で印刷されたりする。 After that, the image data that has been color-removed in this way is output as one data file by a built-in communication device that is not shown, or the original image based on the image data that has been colored-removed is printed by a built-in printing device that is not shown. It is done.

以上のように、上記実施の形態1によれば、読取制御部31は、基準解像度を得るための基準読取線速より高い読取線速でイメージセンサー5の読取位置を副走査方向へ移動させつつ、原稿からの反射光に基づいてラインセンサー5R,5G,5Bで副走査方向においてそれぞれ異なる読取位置でのRGBの画素値を検出する。画素属性特定部32は、原稿画像内の各画素について、線画であるか否かを示す画素属性を特定する。色付き除去部32は、原稿画像内の注目画素に色付きが発生しているか否かを判定し、注目画素に色付きが発生している場合には、注目画素の色付きを除去する。そして、色付き除去部33は、色付き除去処理において、(a)注目画素が、線画の画素属性を有するカラー画素であり、かつ、(b)副走査方向において注目画素に対して前後に近接する2つの近接画素の一方が、線画の画素属性を有するカラー画素であり、(c)注目画素と、線画の画素属性を有するカラー画素である近接画素との間の色相差が所定の閾値以上である場合、注目画素に色付きが発生していると判定し、注目画素の色付きを除去する。 As described above, according to the first embodiment, the reading control unit 31 moves the reading position of the image sensor 5 in the sub-scanning direction at a reading line speed higher than the reference reading line speed for obtaining the reference resolution. , The line sensors 5R, 5G, and 5B detect RGB pixel values at different reading positions in the sub-scanning direction based on the reflected light from the original. The pixel attribute specifying unit 32 specifies a pixel attribute indicating whether or not each pixel in the original image is a line art. The colored removal unit 32 determines whether or not the pixel of interest in the original image is colored, and if the pixel of interest is colored, the colored removal unit 32 removes the coloring of the pixel of interest. Then, in the colored removal process, the colored removal unit 33 has (a) a color pixel in which the pixel of interest has a pixel attribute of a line image, and (b) is close to the pixel of interest in the front-rear direction in the sub-scanning direction. One of the two proximity pixels is a color pixel having a line drawing pixel attribute, and (c) the hue difference between the attention pixel and the proximity pixel which is a color pixel having the line drawing pixel attribute is equal to or more than a predetermined threshold value. In this case, it is determined that the pixel of interest is colored, and the coloring of the pixel of interest is removed.

これにより、線画の全域に色付きが発生していても、色付きが検出される。 As a result, even if the entire area of the line art is colored, the coloring is detected.

実施の形態2. Embodiment 2.

実施の形態2では、色付き除去部33は、実施の形態1とは異なる色付き除去処理を実行する。図5は、実施の形態2における近接画素を説明する図である。具体的には、実施の形態2では、色付き除去部33は、色付き除去処理において、(a)注目画素が、線画の画素属性を有する画素であり、(b)副走査方向において注目画素に対して近接する近接画素が、線画の画素属性を有する画素であり、(c)注目画素のR値、G値、およびB値のうちの最大値と最小値との差が所定の閾値以上であり、かつ、近接画素のR値、G値、およびB値のうちの最大値と最小値との差が所定の閾値以上であり、かつ、(d)注目画素の最大値の色種別と近接画素の最小値の色種別とが同一であるか、注目画素の最小値の色種別と近接画素の最大値の色種別とが同一である場合、注目画素および近接画素に色付きが発生していると判定し、注目画素および近接画素の色付きを除去する。 In the second embodiment, the colored removing unit 33 executes a colored removing process different from that of the first embodiment. FIG. 5 is a diagram illustrating proximity pixels in the second embodiment. Specifically, in the second embodiment, in the colored removal process, the colored removal unit 33 has (a) the pixel of interest being a pixel having the pixel attribute of the line drawing, and (b) the pixel of interest in the sub-scanning direction. The close pixels that are close to each other are pixels having the pixel attribute of the line drawing, and (c) the difference between the maximum value and the minimum value of the R value, G value, and B value of the pixel of interest is equal to or larger than a predetermined threshold value. And, the difference between the maximum value and the minimum value of the R value, G value, and B value of the proximity pixel is equal to or more than a predetermined threshold value, and (d) the color type and the proximity pixel of the maximum value of the pixel of interest. If the minimum value color type of is the same, or if the minimum value color type of the attention pixel and the maximum value color type of the proximity pixel are the same, it means that the attention pixel and the proximity pixel are colored. Judgment is made, and the coloring of the pixel of interest and the nearby pixel is removed.

次に、実施の形態2に係る画像読取装置の動作について説明する。図6は、実施の形態2における色付き除去部33の動作について説明するフローチャートである。 Next, the operation of the image reading device according to the second embodiment will be described. FIG. 6 is a flowchart illustrating the operation of the colored removing unit 33 according to the second embodiment.

まず、読取制御部31は、ユーザー設定などに基づいて指定された読取線速で、1頁の原稿画像の画像データ(RGB画素値)を取得する。 First, the reading control unit 31 acquires the image data (RGB pixel value) of the original image of one page at the reading line speed specified based on the user setting or the like.

次に、画素属性特定部32は、取得した1頁分の画像データに基づいて、原稿画像における各画素の画素属性を特定する。 Next, the pixel attribute specifying unit 32 specifies the pixel attribute of each pixel in the original image based on the acquired image data for one page.

そして、色付き除去部33は、色付き除去処理を実行する。色付き除去部33は、原稿画像内の画素から注目画素を例えば所定の走査順に選択していき、その注目画素に対して図6に示す処理を実行する。 Then, the colored removal unit 33 executes the colored removal process. The colored removal unit 33 selects the pixels of interest from the pixels in the original image, for example, in a predetermined scanning order, and executes the process shown in FIG. 6 on the pixels of interest.

色付き除去部33は、まず、注目画素および近接画素が、それぞれ、線画属性の画素であるか否かを判定する(ステップS21)。 First, the colored removal unit 33 determines whether or not the pixel of interest and the proximity pixel are pixels having a line art attribute (step S21).

注目画素および近接画素が線画属性の画素である場合、色付き除去部33は、注目画素および近接画素のそれぞれについて、RGB値のうちのR値、G値、およびB値のうちの最大値および最小値、並びに、最大値の色種別および最小値の色種別を特定する(ステップS22)。例えば、注目画素のRGB値が(120,246,124)である場合、注目画素の最大値および最小値は、246および120であり、最大値の色種別は、Gであり、最小値の色種別は、Rである。また、例えば、近接画素のRGB値が(208,179,215)である場合、注目画素の最大値および最小値は、215および179であり、最大値の色種別は、Bであり、最小値の色種別は、Gである。 When the attention pixel and the proximity pixel are the pixels of the line art attribute, the colored removal unit 33 determines the maximum value and the minimum value of the R value, the G value, and the B value among the RGB values for each of the attention pixel and the proximity pixel. The value, the maximum color type, and the minimum color type are specified (step S22). For example, when the RGB value of the pixel of interest is (120, 246, 124), the maximum and minimum values of the pixel of interest are 246 and 120, the color type of the maximum value is G, and the color of the minimum value. The type is R. Further, for example, when the RGB values of the proximity pixels are (208, 179, 215), the maximum and minimum values of the pixel of interest are 215 and 179, and the color type of the maximum value is B and the minimum value. The color type of is G.

次に、色付き除去部33は、注目画素についての上述の最大値と最小値との差が所定の閾値以上であり、かつ、近接画素についての上述の最大値と最小値との差が所定の閾値以上であるか否かを判定する(ステップS23)。 Next, in the colored removal unit 33, the difference between the above-mentioned maximum value and the minimum value for the pixel of interest is equal to or greater than a predetermined threshold value, and the difference between the above-mentioned maximum value and the minimum value for the proximity pixel is predetermined. It is determined whether or not it is equal to or greater than the threshold value (step S23).

上述の例の場合、注目画素についての上述の最大値と最小値との差は、126(=246−120)であり、近接画素についての上述の最大値と最小値との差は、36(=215−179)であり、いずれも、所定の閾値以上となる。 In the case of the above example, the difference between the above-mentioned maximum value and the minimum value for the pixel of interest is 126 (= 246-120), and the difference between the above-mentioned maximum value and the minimum value for the proximity pixel is 36 (. = 215-179), and both are equal to or higher than a predetermined threshold value.

注目画素についての上述の最大値と最小値との差が所定の閾値以上であり、かつ、近接画素についての上述の最大値と最小値との差が所定の閾値以上である場合、色付き除去部33は、注目画素についての上述の最大値の色種別と近接画素についての上述の最小値の色種別とが同一であるか、あるいは、注目画素についての上述の最小値の色種別と近接画素についての上述の最大値の色種別とが同一であるか否かを判定する(ステップS24,S25)。 When the difference between the above-mentioned maximum value and the minimum value for the pixel of interest is equal to or greater than a predetermined threshold value and the difference between the above-mentioned maximum value and the minimum value for the proximity pixel is equal to or greater than the predetermined threshold value, the colored removal unit. In No. 33, the above-mentioned maximum value color type for the attention pixel and the above-mentioned minimum value color type for the proximity pixel are the same, or the above-mentioned minimum value color type and the proximity pixel for the attention pixel. It is determined whether or not the color type of the above-mentioned maximum value is the same (steps S24 and S25).

注目画素についての上述の最大値の色種別と近接画素についての上述の最小値の色種別とが同一であるか、あるいは、注目画素についての上述の最小値の色種別と近接画素についての上述の最大値の色種別とが同一である場合、色付き除去部33は、注目画素および近接画素に色付きが発生していると判定し、注目画素および近接画素をグレー化して注目画素の色付きを除去する(ステップS26)。 The above-mentioned maximum value color type for the pixel of interest and the above-mentioned minimum value color type for the proximity pixel are the same, or the above-mentioned minimum value color type for the attention pixel and the above-mentioned above-mentioned for the proximity pixel. When the color type of the maximum value is the same, the coloring removal unit 33 determines that the attention pixel and the proximity pixel are colored, grays the attention pixel and the proximity pixel, and removes the coloring of the attention pixel. (Step S26).

上述の例の場合、注目画素についての上述の最大値の色種別(=G)と、近接画素についての上述の最小値の色種別(=G)が同一であると判定されるので、注目画素および近接画素がグレー化される。 In the case of the above example, since it is determined that the above-mentioned maximum value color type (= G) for the pixel of interest and the above-mentioned minimum value color type (= G) for the proximity pixel are the same, the attention pixel. And the proximity pixels are grayed out.

なお、注目画素が線画属性の画素ではない場合(ステップS21)、上述の最大値と最小値との差が所定の閾値以上ではない場合(ステップS23)、および、注目画素についての上述の最大値の色種別と近接画素についての上述の最小値の色種別とが同一でもなく、かつ、注目画素についての上述の最小値の色種別と近接画素についての上述の最大値の色種別とが同一でもない場合(ステップS24,S25)においては、色付き除去部33は、上述の色付き除去処理を行わない。 In addition, when the pixel of interest is not a pixel of the line drawing attribute (step S21), when the difference between the above-mentioned maximum value and the minimum value is not equal to or more than a predetermined threshold (step S23), and when the above-mentioned maximum value for the pixel of interest is Even if the above-mentioned minimum value color type for the proximity pixel and the above-mentioned minimum value color type for the proximity pixel are not the same, and the above-mentioned minimum value color type for the attention pixel and the above-mentioned maximum value color type for the proximity pixel are the same. If not (steps S24 and S25), the colored removing unit 33 does not perform the above-mentioned colored removing process.

その後、このようにして色付き除去処理された画像データが1つのデータファイルとして図示せぬ内蔵通信装置で出力されたり、色付き除去処理された画像データに基づく原稿画像が図示せぬ内蔵印刷装置で印刷されたりする。 After that, the image data that has been color-removed in this way is output as one data file by a built-in communication device that is not shown, or the original image based on the image data that has been colored-removed is printed by a built-in printing device that is not shown. It is done.

なお、実施の形態2に係る画像読取装置のその他の構成および動作については実施の形態1と同様であるので、その説明を省略する。 Since other configurations and operations of the image reading device according to the second embodiment are the same as those of the first embodiment, the description thereof will be omitted.

なお、上述の実施の形態に対する様々な変更および修正については、当業者には明らかである。そのような変更および修正は、その主題の趣旨および範囲から離れることなく、かつ、意図された利点を弱めることなく行われてもよい。つまり、そのような変更および修正が請求の範囲に含まれることを意図している。 It should be noted that various changes and modifications to the above-described embodiments will be apparent to those skilled in the art. Such changes and modifications may be made without departing from the intent and scope of the subject and without diminishing the intended benefits. That is, such changes and amendments are intended to be included in the claims.

例えば、上記実施の形態において、色付き除去部33は、画像読取時の設定により指定される読取線速が基準読取線速である場合には、上述の色付き除去処理を実行せず、指定される読取線速が基準読取線速より高い読取線速の場合には、上述の色付き除去処理を実行するようにしてもよい。 For example, in the above embodiment, when the reading line speed specified by the setting at the time of image reading is the reference reading line speed, the colored removing unit 33 is designated without executing the above-mentioned colored removing process. When the reading line speed is higher than the reference reading line speed, the above-mentioned coloring removal process may be executed.

また、上記実施の形態において、色付き除去部33は、画素属性特定部32により特定された画素属性に基づいて、副走査方向の幅が2画素以下である線画部分を特定し、その特定した線画部分に属する画素(つまり線画属性を有する画素)を特定し、特定した画素を上述の注目画素とし、その他の画素を注目画素としないようにしてもよい。 Further, in the above embodiment, the colored removal unit 33 specifies a line art portion having a width of 2 pixels or less in the sub-scanning direction based on the pixel attribute specified by the pixel attribute specifying unit 32, and the specified line art. A pixel belonging to a portion (that is, a pixel having a line art attribute) may be specified, the specified pixel may be the above-mentioned attention pixel, and the other pixels may not be the attention pixel.

また、上記実施の形態において、ステップS3の処理では、色付き除去部33は、一方の近接画素が線画属性のカラー画素であるか否かのみを判定するようにしてもよい。 Further, in the above embodiment, in the process of step S3, the colored removal unit 33 may determine only whether or not one of the proximity pixels is a color pixel having a line art attribute.

本発明は、例えば、スキャナー、複写機、複合機などに適用可能である。 The present invention can be applied to, for example, scanners, copiers, multifunction devices, and the like.

5 イメージセンサー
5R,5G,5B ラインセンサー
31 読取制御部
32 画素属性特定部
33 色付き除去部
5 Image sensor 5R, 5G, 5B Line sensor 31 Reading control unit 32 Pixel attribute identification unit 33 Colored removal unit

Claims (6)

RGBに対応する3つのラインセンサーを備えるイメージセンサーと、
基準解像度を得るための基準読取線速より高い読取線速で前記イメージセンサーの読取位置を副走査方向へ移動させつつ、原稿からの反射光に基づいて前記ラインセンサーで前記副走査方向においてそれぞれ異なる読取位置でのRGBの画素値を検出する読取制御部と、
前記原稿の画像である原稿画像内の各画素について、線画であるか否かを示す画素属性を特定する画素属性特定部と、
前記原稿画像内の注目画素に色付きが発生しているか否かを判定し、前記注目画素に色付きが発生している場合には、前記注目画素の色付きを除去する色付き除去処理を実行する色付き除去部とを備え、
前記色付き除去部は、前記色付き除去処理において、(a)前記注目画素が、線画の前記画素属性を有するカラー画素であり、かつ、(b)前記副走査方向において前記注目画素に対して前後に近接する2つの近接画素の一方が、線画の前記画素属性を有するカラー画素であり、(c)前記注目画素と、線画の前記画素属性を有するカラー画素である前記近接画素との間の色相差が所定の閾値以上である場合、前記注目画素に色付きが発生していると判定し、前記注目画素の色付きを除去すること、
を特徴とする画像読取装置。
An image sensor equipped with three line sensors that support RGB,
While it is moving to the sub scanning direction by the reference higher than the reading linear velocity reading linear velocity of the reading position of the image sensor for obtaining a reference resolution, different from each other in the sub-scanning direction by the line sensor based on the reflected light from the original document A reading control unit that detects RGB pixel values at the reading position,
For each pixel in the original image which is an image of the original, a pixel attribute specifying unit for specifying a pixel attribute indicating whether or not it is a line art
It is determined whether or not the attention pixel in the original image is colored, and if the attention pixel is colored, the color removal process for removing the coloring of the attention pixel is executed. With a department,
The colored removing unit is in the colored removal process, the pixel of interest (a), a color pixel having the pixel attribute of the line drawing, and, back and forth relative to the pixel of interest in (b) the sub-scanning direction One of the two proximity pixels in close proximity is a color pixel having the pixel attribute of the line drawing, and (c) the hue difference between the attention pixel and the proximity pixel which is a color pixel having the pixel attribute of the line drawing. When is equal to or greater than a predetermined threshold value, it is determined that the pixel of interest is colored, and the coloring of the pixel of interest is removed.
An image reader characterized by.
前記色付き除去部は、前記色付き除去処理において、(a)前記注目画素が、線画の前記画素属性を有するカラー画素であり、かつ、(b)前記2つの近接画素の一方が、線画の前記画素属性を有するカラー画素であり、かつ前記2つの近接画素の他方が、非線画の前記画素属性を有するかグレー画素であり、かつ、(c)前記注目画素と、線画の前記画素属性を有するカラー画素である前記近接画素との間の色相差が所定の閾値以上である場合、前記注目画素に色付きが発生していると判定し、前記注目画素の色付きを除去することを特徴とする請求項1記載の画像読取装置。 In the colored removal process, the colored removal unit has (a) the pixel of interest is a color pixel having the pixel attribute of the line drawing, and (b) one of the two proximity pixels is the pixel of the line drawing. A color pixel having an attribute, and the other of the two proximity pixels having the pixel attribute of a non-line image or a gray pixel, and (c) the pixel of interest and a color having the pixel attribute of the line image. A claim characterized in that when the hue difference between the nearby pixels, which are pixels, is equal to or greater than a predetermined threshold value, it is determined that the attention pixel is colored, and the coloration of the attention pixel is removed. 1. The image reading device according to 1. 前記色付き除去部は、前記基準読取線速の場合には、前記色付き除去処理を実行せず、前記基準読取線速より高い読取線速の場合には、前記色付き除去処理を実行することを特徴とする請求項1または請求項2記載の画像読取装置。 The colored removing unit is characterized in that the colored removing process is not executed in the case of the reference reading line speed, and the colored removing process is executed in the case of a reading line speed higher than the reference reading line speed. The image reading device according to claim 1 or 2. 前記色付き除去部は、前記注目画素のR画素値、G画素値、およびB画素値を、前記R画素値、前記G画素値、および前記B画素値の平均値に置き換えて、前記注目画素の色付きを除去することを特徴とする請求項1から請求項3のうちのいずれか1項記載の画像読取装置。 The colored removal unit replaces the R pixel value, the G pixel value, and the B pixel value of the attention pixel with the average value of the R pixel value, the G pixel value, and the B pixel value of the attention pixel. The image reading device according to any one of claims 1 to 3, wherein the coloring is removed. 前記色付き除去部は、前記副走査方向の幅が2画素以下である線画部分における画素を前記注目画素とすることを特徴とする請求項1から請求項4のうちのいずれか1項記載の画像読取装置。 The image according to any one of claims 1 to 4, wherein the colored removing unit uses pixels in a line drawing portion having a width of 2 pixels or less in the sub-scanning direction as the pixel of interest. Reader. RGBに対応する3つのラインセンサーを備えるイメージセンサーと、
基準解像度を得るための基準読取線速より高い読取線速で前記イメージセンサーの読取位置を副走査方向へ移動させつつ、原稿からの反射光に基づいて前記ラインセンサーで前記副走査方向においてそれぞれ異なる読取位置でのRGBの画素値を検出する読取制御部と、
前記原稿の画像である原稿画像内の各画素について、線画であるか否かを示す画素属性を特定する画素属性特定部と、
前記原稿画像内の注目画素に色付きが発生しているか否かを判定し、前記注目画素に色付きが発生している場合には、前記注目画素の色付きを除去する色付き除去処理を実行する色付き除去部とを備え、
前記色付き除去部は、前記色付き除去処理において、(a)前記注目画素が、線画の前記画素属性を有する画素であり、(b)前記副走査方向において前記注目画素に対して近接する近接画素が、線画の前記画素属性を有する画素であり、(c)前記注目画素のR値、G値、およびB値のうちの最大値と最小値との差が所定の閾値以上であり、かつ、前記近接画素のR値、G値、およびB値のうちの最大値と最小値との差が前記所定の閾値以上であり、かつ、(d)前記注目画素の前記最大値の色種別と前記近接画素の前記最小値の色種別とが同一であるか、前記注目画素の前記最小値の色種別と前記近接画素の前記最大値の色種別とが同一である場合、前記注目画素および前記近接画素に色付きが発生していると判定し、前記注目画素および前記近接画素の色付きを除去すること、
を特徴とする画像読取装置。
An image sensor equipped with three line sensors that support RGB,
While it is moving to the sub scanning direction by the reference higher than the reading linear velocity reading linear velocity of the reading position of the image sensor for obtaining a reference resolution, different from each other in the sub-scanning direction by the line sensor based on the reflected light from the original document A reading control unit that detects RGB pixel values at the reading position,
For each pixel in the original image, which is an image of the original, a pixel attribute specifying unit that specifies a pixel attribute indicating whether or not the image is a line art,
It is determined whether or not the attention pixel in the original image is colored, and if the attention pixel is colored, the color removal process for removing the coloring of the attention pixel is executed. With a department,
The colored removing unit is in the colored removal process, the pixel of interest (a), a pixel having the pixel attribute of the line drawing, the proximity pixels adjacent to the pixel of interest in (b) the sub-scanning direction , The pixel having the pixel attribute of the line drawing, and (c) the difference between the maximum value and the minimum value of the R value, G value, and B value of the pixel of interest is equal to or more than a predetermined threshold value, and the above. The difference between the maximum value and the minimum value of the R value, G value, and B value of the proximity pixel is equal to or greater than the predetermined threshold value, and (d) the color type of the maximum value of the attention pixel and the proximity. When the minimum value color type of the pixel is the same, or the minimum value color type of the attention pixel and the maximum value color type of the proximity pixel are the same, the attention pixel and the proximity pixel It is determined that coloring has occurred in, and the coloring of the attention pixel and the proximity pixel is removed.
An image reader characterized by.
JP2017177501A 2016-09-23 2017-09-15 Image reader Expired - Fee Related JP6761583B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016186219 2016-09-23
JP2016186219 2016-09-23

Publications (2)

Publication Number Publication Date
JP2018056988A JP2018056988A (en) 2018-04-05
JP6761583B2 true JP6761583B2 (en) 2020-09-30

Family

ID=61836084

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017177501A Expired - Fee Related JP6761583B2 (en) 2016-09-23 2017-09-15 Image reader

Country Status (1)

Country Link
JP (1) JP6761583B2 (en)

Also Published As

Publication number Publication date
JP2018056988A (en) 2018-04-05

Similar Documents

Publication Publication Date Title
JP6198521B2 (en) Image processing apparatus, image processing method, and program
JP4487320B2 (en) Image processing apparatus, document reading apparatus, and color / monochrome determination method
KR102055293B1 (en) Apparatus, method, and storage medium storing program
JP4075881B2 (en) Image reading device
JP2016032270A (en) Image processor and image processing program
JP4244898B2 (en) Image reading device
JP4111181B2 (en) Image reading device
JP2006101300A (en) Image reading apparatus
JP3918844B2 (en) Image reading device
US10237449B2 (en) Image reading apparatus and image forming apparatus using the same
JP2006101273A (en) Image reading apparatus
JP6761583B2 (en) Image reader
US9531912B2 (en) Image processing apparatus and image processing method
JP5968263B2 (en) Image processing device
JP2013115579A (en) Image reading apparatus, multifunction printer apparatus, and image reading method
US10477071B2 (en) Image processing apparatus and image processing method in which color and monochrome images are distinguished
JP4404042B2 (en) Image reading device
JP2016116128A (en) Image processing system and method for the same
US20180343353A1 (en) Reading apparatus and image generation method
JP4353045B2 (en) Image reading device
JP6796265B2 (en) Image reader
JP6798451B2 (en) Document reader
JP4277778B2 (en) Image reading device
JP6519808B2 (en) Image processing device
JP6501125B2 (en) Image reading apparatus, image reading method, image forming apparatus, and image reading program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190828

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200521

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200709

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200819

R150 Certificate of patent or registration of utility model

Ref document number: 6761583

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees