Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6683017B2 - Image processing apparatus, image processing system, image processing method, and program - Google Patents
[go: Go Back, main page]

JP6683017B2 - Image processing apparatus, image processing system, image processing method, and program - Google Patents

Image processing apparatus, image processing system, image processing method, and program Download PDF

Info

Publication number
JP6683017B2
JP6683017B2 JP2016106974A JP2016106974A JP6683017B2 JP 6683017 B2 JP6683017 B2 JP 6683017B2 JP 2016106974 A JP2016106974 A JP 2016106974A JP 2016106974 A JP2016106974 A JP 2016106974A JP 6683017 B2 JP6683017 B2 JP 6683017B2
Authority
JP
Japan
Prior art keywords
image
medium
abnormal point
reading
medium image
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
JP2016106974A
Other languages
Japanese (ja)
Other versions
JP2017216490A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2016106974A priority Critical patent/JP6683017B2/en
Publication of JP2017216490A publication Critical patent/JP2017216490A/en
Application granted granted Critical
Publication of JP6683017B2 publication Critical patent/JP6683017B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は、画像処理装置、画像処理システム、画像処理方法、およびプログラムに関する。   The present invention relates to an image processing device, an image processing system, an image processing method, and a program.

非接触スキャナ装置などの画像読取装置では、設置場所の光環境等によって発生する光量むらの影響を低減するために、読取画像に対してシェーディング補正を行っている。   In an image reading device such as a non-contact scanner device, shading correction is performed on a read image in order to reduce the influence of unevenness in the amount of light that occurs due to the light environment of the installation location.

シェーディング補正とは、例えば、面内の反射率が略均一な白色の基準媒体をあらかじめ読み取ることで読取画像全体の輝度むらを検出し、検出した輝度むらに基づいて、読取画像全体の輝度を補正するものである。   Shading correction is, for example, detecting the brightness unevenness of the entire read image by reading in advance a white reference medium whose in-plane reflectance is substantially uniform, and correcting the brightness of the entire read image based on the detected brightness unevenness. To do.

ここで、シェーディング補正に用いられる基準媒体にゴミまたは汚れが付着していた場合、ゴミまたは汚れが異常点となるため、ゴミ等が付着した基準媒体の画像(以下、媒体画像ともいう)を用いて正確なシェーディング補正を行うことは、困難であった。   Here, if dust or dirt is attached to the reference medium used for shading correction, the dust or dirt becomes an abnormal point, so an image of the reference medium with dust or the like (hereinafter also referred to as a medium image) is used. It was difficult to accurately and accurately perform shading correction.

そこで、例えば、下記の特許文献1には、白色基準板を読み取って得られるシェーディングデータにおいて、周囲画素の平均値よりも輝度が暗い処理画素に対して、処理画素の暗さ割合に応じて、周囲画素の輝度に基づいた補正を行う技術が開示されている。   Therefore, for example, in Patent Document 1 below, in the shading data obtained by reading the white reference plate, with respect to the processed pixel whose brightness is darker than the average value of the surrounding pixels, according to the darkness ratio of the processed pixel, A technique for performing correction based on the brightness of surrounding pixels is disclosed.

また、下記の特許文献2には、スキャナ装置の光学ミラーに付着したゴミの影響を低減するために、光学ミラーを変位させながら白基準画像を複数取得し、取得した白基準画像の平均を採ることで、シェーディング補正用の白基準画像を得る技術が開示されている。   Further, in Patent Document 2 below, in order to reduce the influence of dust adhering to the optical mirror of the scanner device, a plurality of white reference images are acquired while displacing the optical mirror, and the average of the acquired white reference images is taken. Thus, a technique for obtaining a white reference image for shading correction is disclosed.

特開2015−103883号公報JP, 2005-103883, A 特開2006−270603号公報JP 2006-270603 A

しかし、上記の特許文献1に開示された技術では、光量むらが生じている領域に重畳してゴミ等が存在している場合、ゴミ等の影響のみを排除して光量むらを正確に反映した媒体画像を得ることは困難であった。また、上記の特許文献2に開示された技術では、光学ミラーの変位によるゴミ等の移動が小さい場合、ゴミ等の影響を排除した正確な媒体画像を得ることは困難であった。   However, in the technique disclosed in the above-mentioned Patent Document 1, when dust or the like is present in a region where the light amount unevenness is superimposed, only the influence of the dust or the like is eliminated to accurately reflect the light amount unevenness. Obtaining a media image was difficult. Further, with the technique disclosed in Patent Document 2 described above, when the movement of dust or the like due to the displacement of the optical mirror is small, it is difficult to obtain an accurate medium image in which the influence of dust or the like is eliminated.

すなわち、基準媒体を読み取った媒体画像に対して、周辺画素からの補間、または複数の画像の平均化を行うだけでは、ゴミ等の影響を排除した正確な媒体画像を得ることは困難であり、より抜本的な対策が求められていた。   That is, with respect to the medium image obtained by reading the reference medium, it is difficult to obtain an accurate medium image in which the influence of dust or the like is eliminated only by performing interpolation from peripheral pixels or averaging a plurality of images. More drastic measures were required.

そこで、本発明は、上記問題に鑑みてなされたものであり、本発明の目的とするところは、ゴミ等の影響を排除したより正確なシェーディング補正用の媒体画像を得ることが可能な、新規かつ改良された画像処理装置、画像処理システム、画像処理方法、およびプログラムを提供することにある。   Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to obtain a more accurate medium image for shading correction by eliminating the influence of dust and the like. Another object of the present invention is to provide an improved image processing device, image processing system, image processing method, and program.

上記課題を解決するために、本発明のある観点によれば、載置された基準媒体を読み取った第1の媒体画像と、前記第1の媒体画像と異なる状態で載置された前記基準媒体を読み取った第2の媒体画像とを取得する画像取得部と、前記第1の媒体画像から異常点を検出する異常点検出部と、前記第1の媒体画像の前記異常点を含む領域を、前記異常点を含む領域と対応する前記第2の媒体画像の領域で置き換え、補正用画像を生成する画像生成部と、を備え、前記第2の媒体画像は、前記第1の媒体画像における載置状態に対して、表裏反転して載置された前記基準媒体を読み取った画像である、画像処理装置が提供される。
In order to solve the above problems, according to an aspect of the present invention, a first medium image obtained by reading a placed reference medium, and the reference medium placed in a state different from the first medium image. An image acquisition unit that acquires the second medium image that has been read, an abnormal point detection unit that detects an abnormal point from the first medium image, and an area including the abnormal point of the first medium image, An image generation unit that generates a correction image by replacing the area including the abnormal point with the area of the second medium image that corresponds to the area, and the second medium image is included in the first medium image. There is provided an image processing apparatus which is an image obtained by reading the reference medium placed upside down with respect to the placed state .

前記画像生成部は、前記第1の媒体画像の前記異常点を含む領域を、前記第2の媒体画像の位置座標が同じ領域で置き換えてもよい。   The image generation unit may replace an area including the abnormal point of the first medium image with an area having the same position coordinates of the second medium image.

前記画像生成部による置き換えに用いられた前記第2の媒体画像の領域は、前記異常点検出部によって検出される異常点を含まないようであってもよい。   The area of the second medium image used for the replacement by the image generation unit may not include the abnormal point detected by the abnormal point detection unit.

前記第2の媒体画像は、前記第1の媒体画像における載置状態に対して、水平方向に移動して載置された前記基準媒体を読み取った画像であってもよい。   The second medium image may be an image obtained by reading the reference medium placed by moving in the horizontal direction with respect to the placed state in the first medium image.

前記第2の媒体画像は、前記第1の媒体画像における載置状態に対して、回転して載置された前記基準媒体を読み取った画像であってもよい。   The second medium image may be an image obtained by reading the reference medium that is rotated and placed with respect to the placed state in the first medium image.

前記画像取得部は、前記異常点検出部によって前記第1の媒体画像から異常点が検出された場合にのみ、前記第2の媒体画像を取得してもよい。   The image acquisition unit may acquire the second medium image only when the abnormal point detection unit detects an abnormal point from the first medium image.

前記画像処理装置は、前記異常点検出部によって前記第1の媒体画像から異常点が検出された場合、ユーザに対して、前記第1の媒体画像と異なる状態で前記基準媒体を載置することを指示する表示を生成する表示生成部をさらに備えてもよい。   The image processing apparatus, when an abnormal point is detected from the first medium image by the abnormal point detection unit, places the reference medium on a user in a state different from that of the first medium image. A display generation unit that generates a display instructing may be further provided.

前記補正用画像は、非接触スキャナのシェーディング補正に用いられる画像であってもよい。   The correction image may be an image used for shading correction of a non-contact scanner.

前記画像処理装置は、前記非接触スキャナをさらに備えてもよい。   The image processing apparatus may further include the non-contact scanner.

また、上記課題を解決するために、本発明の別の観点によれば、載置された基準媒体を読み取った第1の媒体画像と、前記第1の媒体画像と異なる状態で載置された前記基準媒体を読み取った第2の媒体画像とを取得する画像取得部と、前記第1の媒体画像から異常点を検出する異常点検出部と、前記第1の媒体画像の前記異常点を含む領域を、前記異常点を含む領域と対応する前記第2の媒体画像の領域で置き換え、補正用画像を生成する画像生成部と、を備え、前記第2の媒体画像は、前記第1の媒体画像における載置状態に対して、表裏反転して載置された前記基準媒体を読み取った画像である、画像処理システムが提供される。
In order to solve the above-mentioned problems, according to another aspect of the present invention, the first medium image obtained by reading the placed reference medium is placed in a state different from the first medium image. An image acquisition unit that acquires a second medium image obtained by reading the reference medium, an abnormal point detection unit that detects an abnormal point from the first medium image, and an abnormal point of the first medium image are included. An image generation unit that replaces the area with an area of the second medium image corresponding to the area including the abnormal point, and generates an image for correction, wherein the second medium image is the first medium. There is provided an image processing system which is an image obtained by reading the reference medium placed upside down with respect to the placement state in the image .

また、上記課題を解決するために、本発明の別の観点によれば、載置された基準媒体を読み取った第1の媒体画像と、前記第1の媒体画像と異なる状態で載置された前記基準媒体を読み取った第2の媒体画像とを取得するステップと、前記第1の媒体画像から異常点を検出するステップと、演算処理装置によって、前記第1の媒体画像の前記異常点を含む領域を、前記異常点を含む領域と対応する前記第2の媒体画像の領域で置き換え、補正用画像を生成するステップと、を含み、前記第2の媒体画像は、前記第1の媒体画像における載置状態に対して、表裏反転して載置された前記基準媒体を読み取った画像である、画像処理方法が提供される。
In order to solve the above-mentioned problems, according to another aspect of the present invention, the first medium image obtained by reading the placed reference medium is placed in a state different from the first medium image. Acquiring a second medium image obtained by reading the reference medium; detecting an abnormal point from the first medium image; and including the abnormal point of the first medium image by an arithmetic processing unit. Replacing the area with an area of the second medium image corresponding to the area including the abnormal point to generate a correction image, the second medium image being in the first medium image. There is provided an image processing method , which is an image obtained by reading the reference medium placed upside down with respect to the placed state .

さらに、上記課題を解決するために、本発明の別の観点によれば、コンピュータを載置された基準媒体を読み取った第1の媒体画像と、前記第1の媒体画像と異なる状態で載置された前記基準媒体を読み取った第2の媒体画像とを取得する画像取得部と、前記第1の媒体画像から異常点を検出する異常点検出部と、前記第1の媒体画像の前記異常点を含む領域を、前記異常点を含む領域と対応する前記第2の媒体画像の領域で置き換え、補正用画像を生成する画像生成部と、として機能させ、前記第2の媒体画像は、前記第1の媒体画像における載置状態に対して、表裏反転して載置された前記基準媒体を読み取った画像である、プログラムが提供される。
Further, in order to solve the above-mentioned problems, according to another aspect of the present invention, a first medium image obtained by reading a reference medium on which a computer is placed and a first medium image placed in a different state from the first medium image are placed. An image acquisition unit that acquires a second medium image obtained by reading the reference medium that has been read, an abnormal point detection unit that detects an abnormal point from the first medium image, and the abnormal point of the first medium image Replacing the area containing the abnormal area with the area of the second medium image corresponding to the area containing the abnormal point, and causing the second medium image to function as an image generating unit that generates a correction image . There is provided a program , which is an image obtained by reading the reference medium that has been placed upside down with respect to the placement state in one medium image .

以上説明したように本発明によれば、基準媒体に付着したゴミ等の影響を排除したより正確なシェーディング補正用の媒体画像を得ることが可能である。   As described above, according to the present invention, it is possible to obtain a more accurate medium image for shading correction in which the influence of dust or the like attached to the reference medium is eliminated.

画像読取装置の機能構成を説明するブロック図である。FIG. 3 is a block diagram illustrating a functional configuration of the image reading device. 本発明の一実施形態に係る画像処理装置の機能構成を示すブロック図である。FIG. 3 is a block diagram showing a functional configuration of an image processing apparatus according to an embodiment of the present invention. ゴミ等が付着した基準媒体を示す模式図である。FIG. 3 is a schematic diagram showing a reference medium with dust and the like attached. 異なる状態で載置された基準媒体を説明するための模式図である。It is a schematic diagram for demonstrating the reference | standard medium mounted in a different state. 画像処理装置の第1の動作例を説明するフローチャート図である。It is a flowchart figure explaining the 1st operation example of an image processing apparatus. 第1の動作例において、異なる状態で基準媒体を載置するようことをユーザに求める表示の一例を示す説明図である。FIG. 8 is an explanatory diagram showing an example of a display requesting the user to mount the reference medium in different states in the first operation example. 画像処理装置の第2の動作例を説明するフローチャート図である。It is a flowchart figure explaining the 2nd operation example of an image processing apparatus. 第2の動作例において、異なる状態で基準媒体を載置するようことをユーザに求める表示の一例を示す説明図である。FIG. 16 is an explanatory diagram showing an example of a display requesting the user to mount the reference medium in different states in the second operation example. 同実施形態に係る画像処理装置のハードウェア構成の一例を示すブロック図である。FIG. 3 is a block diagram showing an example of a hardware configuration of the image processing apparatus according to the same embodiment.

以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the present specification and the drawings, constituent elements having substantially the same functional configuration are designated by the same reference numerals, and duplicate description will be omitted.

<1.画像読取装置の構成>
まず、図1を参照して、本発明の一実施形態に係る画像処理装置を含む画像読取装置の構成について説明する。図1は、画像読取装置1の機能構成を説明するブロック図である。
<1. Image reading device configuration>
First, the configuration of an image reading apparatus including an image processing apparatus according to an embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram illustrating the functional configuration of the image reading apparatus 1.

画像読取装置1は、例えば、非接触スキャナ装置である。このような画像読取装置1では、設置場所の照明および影等によって、読取画像内で輝度むらが生じることがある。そのため、非接触スキャナ装置等の画像読取装置1では、画像読取装置1の設置時または画像の読取前に、読取画像内の輝度むらを示すシェーディング補正用画像を生成し、シェーディング補正用画像に基づいて、読取画像の輝度分布を補正している。   The image reading device 1 is, for example, a non-contact scanner device. In such an image reading device 1, uneven brightness may occur in the read image due to the illumination and shadow of the installation place. Therefore, in the image reading device 1 such as a non-contact scanner device, when the image reading device 1 is installed or before the image is read, a shading correction image indicating uneven brightness in the read image is generated, and based on the shading correction image. Thus, the brightness distribution of the read image is corrected.

図1に示すように、画像読取装置1は、補正用画像生成部10と、補正用画像格納部12と、シェーディング補正部11と、読取画像取得部13と、表示部14とを備え、読取部2と接続されている。   As shown in FIG. 1, the image reading device 1 includes a correction image generation unit 10, a correction image storage unit 12, a shading correction unit 11, a read image acquisition unit 13, and a display unit 14, and reads the image. It is connected to the section 2.

読取部2は、紙葉状の帳票3を光学的に読み取ることで、帳票3をカラーまたはモノクロで表現した読取画像を生成する。読取部2は、例えば、イメージスキャナ等で構成されてもよい。   The reading unit 2 optically reads the paper-like form 3 to generate a read image in which the form 3 is expressed in color or monochrome. The reading unit 2 may be composed of, for example, an image scanner or the like.

シェーディング補正部11は、補正用画像格納部12に記憶されるシェーディング補正用画像の輝度分布に基づいて、読取部2が読み取った読取画像にシェーディング補正を行う。シェーディング補正とは、上述したように、読取画像の輝度分布を補正することで、より輝度むらの少ない読取画像を得ることを表す。具体的には、シェーディング補正部11は、シェーディング補正用画像の輝度むらと同様の輝度むらが読取画像に生じていると判断し、シェーディング補正用画像の輝度分布を均一な輝度分布に変換する補正を読取画像に対して行う。シェーディング補正部11は、例えば、MPU(Micro Processing Unit)などの演算処理装置で構成されてもよい。   The shading correction unit 11 performs shading correction on the read image read by the reading unit 2 based on the brightness distribution of the shading correction image stored in the correction image storage unit 12. Shading correction means obtaining a read image with less uneven brightness by correcting the brightness distribution of the read image as described above. Specifically, the shading correction unit 11 determines that the read image has brightness unevenness similar to that of the shading correction image, and corrects the brightness distribution of the shading correction image into a uniform brightness distribution. Is performed on the read image. The shading correction unit 11 may be configured by, for example, an arithmetic processing device such as an MPU (Micro Processing Unit).

例えば、シェーディング補正部11は、読取画像の画素ごとに、シェーディング補正用画像の対応する位置の画素の輝度を参照し、シェーディング補正用画像の画素の輝度値が所定値になるような係数を求めて、該係数にて読取画像の輝度値を補正してもよい。より具体的には、シェーディング補正部11は、シェーディング補正用画像の画素の輝度と所定値との差分を算出し、算出した差分を読取画像の画素の輝度値に加算してもよい。または、シェーディング補正部11は、所定値に対するシェーディング補正用画像の画素の輝度の比を算出し、算出した比を読取画像の画素の輝度値に乗算してもよい。なお、シェーディング補正部11は、補正時に、直接シェーディング補正用画像を参照するのではなく、予め算出した差分または比をシェーディング補正用情報として記憶し、該差分または比を補正時に参照してもよい。   For example, the shading correction unit 11 refers to the brightness of the pixel at the corresponding position of the shading correction image for each pixel of the read image, and obtains a coefficient such that the brightness value of the pixel of the shading correction image becomes a predetermined value. Then, the brightness value of the read image may be corrected by the coefficient. More specifically, the shading correction unit 11 may calculate the difference between the brightness of the pixel of the image for shading correction and a predetermined value, and add the calculated difference to the brightness value of the pixel of the read image. Alternatively, the shading correction unit 11 may calculate the ratio of the brightness of the pixel of the shading correction image to a predetermined value and multiply the calculated ratio by the brightness value of the pixel of the read image. Note that the shading correction unit 11 may store the previously calculated difference or ratio as shading correction information and refer to the difference or ratio at the time of correction, instead of directly referring to the image for shading correction at the time of correction. .

補正用画像生成部10は、シェーディング補正部11にて用いられるシェーディング補正用画像を生成する。具体的には、補正用画像生成部10は、面内の反射率が略均一であり、かつ全面が無彩色(例えば、白色など)の基準媒体を読み取った媒体画像に基づいて、シェーディング補正用画像を生成する。例えば、補正用画像生成部10は、白色の基準媒体を読み取った媒体画像から、基準媒体に付着したゴミまたは汚れによる異常点を消去することで、シェーディング補正用画像を生成してもよい。   The correction image generation unit 10 generates a shading correction image used by the shading correction unit 11. Specifically, the correction image generation unit 10 performs the shading correction based on a medium image obtained by reading a reference medium having substantially uniform in-plane reflectance and an achromatic color (for example, white) on the entire surface. Generate an image. For example, the correction image generation unit 10 may generate the shading correction image by deleting an abnormal point due to dust or dirt adhering to the reference medium from the medium image obtained by reading the white reference medium.

なお、シェーディング補正用画像は、読取画像における輝度むらを示す画像である。したがって、シェーディング補正用画像の基となる基準媒体は、照明または影等の周辺環境による輝度むらを反映しやすいように面内の反射率が略均一であることが好ましい。また、基準媒体は、輝度を把握しやすいように全面が白色などの無彩色であることが好ましい。   The shading correction image is an image showing uneven brightness in the read image. Therefore, it is preferable that the reference medium that is the basis of the image for shading correction has a substantially uniform in-plane reflectance so as to easily reflect the uneven brightness due to the surrounding environment such as illumination or shadow. Further, it is preferable that the entire surface of the reference medium is an achromatic color such as white so that the brightness can be easily grasped.

補正用画像格納部12は、補正用画像生成部10にて生成されたシェーディング補正用画像を記憶する。補正用画像格納部12は、RAM(Random Access Memory)などの情報を一時記憶する揮発性メモリで構成されてもよく、フラッシュメモリなどの不揮発性メモリ、またはHDD(Hard Disk Drive)装置などの記憶装置で構成されてもよい。   The correction image storage unit 12 stores the shading correction image generated by the correction image generation unit 10. The correction image storage unit 12 may be configured by a volatile memory such as a RAM (Random Access Memory) that temporarily stores information, and may be a nonvolatile memory such as a flash memory or a storage such as an HDD (Hard Disk Drive) device. It may be configured by a device.

読取画像取得部13は、シェーディング補正部11によって輝度分布が補正された読取画像を取得する。また、取得された読取画像は、画像読取装置1に接続された外部機器(例えば、画像認識装置など)または表示部14に出力されてもよい。これによれば、画像読取装置1は、紙葉状の帳票3の内容を画像データとして取得することができるため、顧客が帳票3に記入した情報を画像認識装置等によって容易に認識することが可能になる。読取画像取得部13は、例えば、MPUなどの演算処理装置で構成されてもよい。   The read image acquisition unit 13 acquires the read image whose brightness distribution has been corrected by the shading correction unit 11. In addition, the acquired read image may be output to an external device (for example, an image recognition device or the like) connected to the image reading device 1 or the display unit 14. According to this, since the image reading device 1 can acquire the content of the paper-like form 3 as image data, the information entered by the customer on the form 3 can be easily recognized by the image recognition device or the like. become. The read image acquisition unit 13 may be configured by an arithmetic processing device such as an MPU, for example.

表示部14は、読取画像または各種情報を表示する表示装置である。表示部14は、例えば、CRT(Cathode Ray Tube)表示装置、液晶表示装置、有機EL(Organic ElectroLuminescence)表示装置、またはプラズマディスプレイ装置などで構成されてもよい。   The display unit 14 is a display device that displays a read image or various information. The display unit 14 may be configured by, for example, a CRT (Cathode Ray Tube) display device, a liquid crystal display device, an organic EL (Organic ElectroLuminescence) display device, a plasma display device, or the like.

ここで、本実施形態に係る画像処理装置は、上記の構成のうち、補正用画像生成部10に相当し、読取画像からシェーディング補正用画像を生成する情報処理装置である。本実施形態に係る画像処理装置は、基準媒体に付着したゴミまたは汚れ等に起因する異常点を媒体画像から消去することにより、周辺環境に起因する輝度むらをより正確に反映したシェーディング補正用画像を生成することが可能である。したがって、本実施形態によれば、画像読取装置1は、より正確なシェーディング補正を行うことが可能である。   Here, the image processing apparatus according to the present embodiment corresponds to the correction image generation unit 10 in the above configuration, and is an information processing apparatus that generates a shading correction image from a read image. The image processing apparatus according to the present embodiment eliminates abnormal points caused by dust or dirt adhering to the reference medium from the medium image, and thereby a shading correction image that more accurately reflects uneven brightness caused by the surrounding environment. Can be generated. Therefore, according to the present embodiment, the image reading device 1 can perform more accurate shading correction.

<2.画像処理装置の構成>
次に、図2を参照して、本実施形態に係る画像処理装置の構成について説明する。図2は、本実施形態に係る画像処理装置100の機能構成を示すブロック図である。
<2. Configuration of image processing device>
Next, the configuration of the image processing apparatus according to this embodiment will be described with reference to FIG. FIG. 2 is a block diagram showing the functional arrangement of the image processing apparatus 100 according to this embodiment.

図2に示すように、画像処理装置100は、画像取得部101と、第1画像格納部102と、第2画像格納部103と、異常点検出部104と、画像生成部105と、を備える。   As shown in FIG. 2, the image processing apparatus 100 includes an image acquisition unit 101, a first image storage unit 102, a second image storage unit 103, an abnormal point detection unit 104, and an image generation unit 105. .

上述したように、本実施形態に係る画像処理装置100は、図1における補正用画像生成部10に相当する。ただし、シェーディング補正部11、補正用画像格納部12、読取画像取得部13、および表示部14は、画像処理装置100と同一の装置内に備えられていてもよく、画像処理装置100と別体の装置内に備えられていてもよい。また、読取部2についても、同様に、画像処理装置100と同一の装置内に備えられていてもよく、画像処理装置100と別体の装置内に備えられていてもよい。   As described above, the image processing apparatus 100 according to this embodiment corresponds to the correction image generation unit 10 in FIG. However, the shading correction unit 11, the correction image storage unit 12, the read image acquisition unit 13, and the display unit 14 may be provided in the same device as the image processing device 100, and are separate from the image processing device 100. May be provided in the device. Similarly, the reading unit 2 may be included in the same device as the image processing device 100 or may be included in a device separate from the image processing device 100.

画像取得部101は、読取部2から第1の媒体画像および第2の媒体画像を取得する。具体的には、画像取得部101は、帳票3が載置される読取台の上に載置された基準媒体を読取部2によって読み取った第1の媒体画像および第2の媒体画像を取得する。なお、基準媒体とは、例えば、面内の反射率が略均一であり、かつ全面が無彩色の紙片等である。具体的には、基準媒体は、全面が白色で構成された帳票であってもよい。   The image acquisition unit 101 acquires the first medium image and the second medium image from the reading unit 2. Specifically, the image acquisition unit 101 acquires the first medium image and the second medium image obtained by reading the reference medium placed on the reading table on which the form 3 is placed by the reading unit 2. . The reference medium is, for example, a piece of paper having an in-plane reflectance that is substantially uniform and having an achromatic color over the entire surface. Specifically, the reference medium may be a form whose entire surface is white.

ここで、画像処理装置100は、異なる状態で載置された基準媒体を読み取った複数の媒体画像を用いることにより、基準媒体に付着したゴミ等に起因する異常点を媒体画像から消去し、輝度むらをより正確に反映したシェーディング補正用の媒体画像(以下、単にシェーディング補正用画像ともいう)を得ることができる。   Here, the image processing apparatus 100 uses a plurality of medium images obtained by reading the reference mediums placed in different states to erase an abnormal point caused by dust or the like attached to the reference medium from the medium image to obtain brightness. It is possible to obtain a medium image for shading correction that reflects the unevenness more accurately (hereinafter, also simply referred to as an image for shading correction).

かかる点について、図3および図4を参照して、具体的に説明する。図3は、ゴミ等が付着した基準媒体を示す模式図であり、図4は、異なる状態で載置された基準媒体を説明するための模式図である。   This point will be specifically described with reference to FIGS. 3 and 4. FIG. 3 is a schematic diagram showing a reference medium on which dust or the like is attached, and FIG. 4 is a schematic diagram for explaining the reference medium placed in a different state.

図3に示すように、基準媒体30は、面内の反射率が略均一であり、かつ全面が白色等の無彩色であることが好ましいが、経年使用または保管環境によっては、ゴミ31が付着することがある。このような場合、ゴミ31が付着した箇所は、反射率、彩度または明度等がゴミ31によって変化してしまうため、輝度むらを正確に反映しない異常点となってしまう。このような基準媒体30を読み取って生成されたシェーディング補正用画像を用いて、シェーディング補正を行った場合、ゴミ31が付着した箇所は、実際の光量よりも暗いものとして扱われるため、実際よりも明るく補正されてしまう。したがって、ゴミ31が付着した基準媒体30を読み取って生成されたシェーディング補正用画像は、周囲環境の光量むらに起因する輝度むらを正確に反映したものにならなかった。   As shown in FIG. 3, the reference medium 30 preferably has a substantially uniform in-plane reflectance and an achromatic color such as white on the entire surface. However, dust 31 may adhere to the reference medium 30 depending on the aged use or storage environment. I have something to do. In such a case, since the dust 31, the reflectance, the saturation, the brightness, or the like changes depending on the dust 31, the abnormal point does not accurately reflect the uneven brightness. When shading correction is performed using the shading correction image generated by reading the reference medium 30 as described above, a portion to which the dust 31 is attached is treated as being darker than the actual light amount, and therefore, is smaller than the actual light amount. It will be corrected brightly. Therefore, the shading correction image generated by reading the reference medium 30 to which the dust 31 is attached does not accurately reflect the uneven brightness due to the uneven light amount of the surrounding environment.

そこで、本実施形態に係る画像処理装置100では、図4に示すように、異なる状態で読取台300の上に載置された基準媒体30Aおよび30Bをそれぞれ読み取った第1の媒体画像および第2の媒体画像を用いて、シェーディング補正用画像を生成する。   Therefore, in the image processing apparatus 100 according to the present embodiment, as shown in FIG. 4, the first medium image and the second medium image obtained by respectively reading the reference mediums 30A and 30B placed on the reading table 300 in different states. An image for shading correction is generated using the medium image of.

具体的には、基準媒体30Aを読み取った第1の媒体画像と、基準媒体30Aと異なる状態で載置された基準媒体30Bを読み取った第2の媒体画像とでは、媒体画像中におけるゴミ31Aおよび31Bの位置座標がそれぞれ異なっている。したがって、第1の媒体画像の領域32Aには、ゴミ31Aが存在するが、領域32Aと媒体画像中の位置座標が同じである第2の媒体画像の領域32Bには、ゴミ31Bが存在しない。よって、第1の媒体画像の領域32Aを、第2の媒体画像の領域32Bで置き換えることで、第1の媒体画像からゴミ31Aに起因する異常点を消去することが可能になる。   Specifically, for the first medium image obtained by reading the reference medium 30A and the second medium image obtained by reading the reference medium 30B placed in a state different from the reference medium 30A, dusts 31A and The position coordinates of 31B are different. Therefore, the dust 31A exists in the area 32A of the first medium image, but the dust 31B does not exist in the area 32B of the second medium image having the same position coordinates in the area 32A and the medium image. Therefore, by replacing the area 32A of the first medium image with the area 32B of the second medium image, it becomes possible to erase the abnormal point caused by the dust 31A from the first medium image.

このように、画像処理装置100は、異なる状態で基準媒体が載置された第1の媒体画像および第2の媒体画像を用い、それぞれのゴミ等が存在しない領域を組み合わせることで、ゴミ等に起因する異常点を消去したシェーディング補正用画像を生成することが可能である。   In this way, the image processing apparatus 100 uses the first medium image and the second medium image on which the reference medium is placed in different states, and combines the areas in which there is no dust or the like to remove dust or the like. It is possible to generate an image for shading correction in which the resulting abnormal point is deleted.

また、第1の媒体画像および第2の媒体画像は、それぞれ読取部2によって読み取りが行われているため、読取部2の光学系に起因する読み取りむら、および読取部2および読取台300の周囲環境による光量むらを反映した画像となっている。したがって、画像処理装置100は、上記のように第1の媒体画像および第2の媒体画像を用いて、シェーディング補正用画像を生成することで、読取部2および周囲環境に起因する輝度むらを維持しつつ、ゴミ等に起因する異常点のみを消去することが可能である。   In addition, since the first medium image and the second medium image are respectively read by the reading unit 2, the reading unevenness caused by the optical system of the reading unit 2 and the surroundings of the reading unit 2 and the reading table 300 are performed. The image reflects the uneven light amount due to the environment. Therefore, the image processing apparatus 100 maintains the brightness unevenness caused by the reading unit 2 and the surrounding environment by generating the shading correction image by using the first medium image and the second medium image as described above. At the same time, it is possible to erase only the abnormal points caused by dust and the like.

なお、画像処理装置100は、第1の媒体画像の一部(すなわち、ゴミ31が付着した箇所)を第2の媒体画像で置き換えたシェーディング補正用画像を生成してもよいが、第1の媒体画像および第2の媒体画像を用いて、前述のシェーディング補正用情報を生成してもよい。このような場合、画像処理装置100は、第1の媒体画像と第2の媒体画像とを合成した画像そのものを生成する必要はなく、ゴミ等に起因する異常点を含む領域のみ第2の媒体画像を参照してシェーディング補正用情報を生成すればよい。   The image processing apparatus 100 may generate a shading correction image in which a part of the first medium image (that is, a portion where the dust 31 is attached) is replaced with the second medium image, but the first medium image is generated. The shading correction information may be generated using the medium image and the second medium image. In such a case, the image processing apparatus 100 does not need to generate the image itself that is a combination of the first medium image and the second medium image, and only the area including the abnormal point due to dust or the like is used for the second medium. The shading correction information may be generated by referring to the image.

ここで、第1の媒体画像と、第2の媒体画像とは、読取台300に載置された基準媒体の状態が互いに異なっていればよく、基準媒体の載置の状態は特に限定されない。   Here, the first medium image and the second medium image need only have different states of the reference medium placed on the reading table 300, and the placement state of the reference medium is not particularly limited.

例えば、図4に示すように、第2の媒体画像は、第1の媒体画像における載置状態に対して、水平方向に移動して載置された基準媒体30Bを読み取った画像であってもよい。第1の媒体画像における基準媒体30Aが面内のいずれかの方向に水平に移動されることにより、第2の媒体画像では、媒体画像内におけるゴミ31Bの位置がゴミ31Aの位置から変化する。したがって、第1の媒体画像と、第2の媒体画像とを組み合わせることで、ゴミ等に起因する異常点を消去したシェーディング補正用画像を生成することが可能となる。   For example, as shown in FIG. 4, the second medium image may be an image obtained by reading the reference medium 30B that is placed by moving in the horizontal direction with respect to the placement state of the first medium image. Good. By moving the reference medium 30A in the first medium image horizontally in any direction in the plane, the position of the dust 31B in the medium image changes from the position of the dust 31A in the second medium image. Therefore, by combining the first medium image and the second medium image, it becomes possible to generate a shading correction image in which an abnormal point caused by dust or the like is erased.

基準媒体30Aから基準媒体30Bへの移動量は、任意であり、第1の媒体画像と、第2の媒体画像との間で、ゴミ31Aおよび31Bの位置が重ならない程度の移動量であればよい。また、基準媒体30Aから基準媒体30Bへの移動は、ゴミ31Aおよび31Bの位置が重ならなければ、必ずしも正確に平行移動する必要はない。また、基準媒体30Aおよび30Bが載置される読取台300には、第1の媒体画像および第2の媒体画像を読み取る際の基準媒体30Aおよび30Bのそれぞれの載置位置を示す印または突起35Aおよび35Bが設けられていてもよい。   The amount of movement from the reference medium 30A to the reference medium 30B is arbitrary, as long as the positions of the dust particles 31A and 31B do not overlap between the first medium image and the second medium image. Good. Further, the movement from the reference medium 30A to the reference medium 30B does not necessarily need to be accurately translated in parallel unless the positions of the dusts 31A and 31B overlap. Further, on the reading table 300 on which the reference media 30A and 30B are placed, marks or protrusions 35A indicating the respective placement positions of the reference media 30A and 30B when reading the first medium image and the second medium image. And 35B may be provided.

また、第2の媒体画像は、第1の媒体画像における載置状態に対して、基準媒体の重心を中心に回転して載置された基準媒体を読み取った画像であってもよい。第1の媒体画像における基準媒体が面内で回転されることにより、第2の媒体画像では、媒体画像内におけるゴミ等の位置が第1の媒体画像から変化する。したがって、第1の媒体画像と、第2の媒体画像とを組み合わせることで、ゴミ等に起因する異常点を消去したシェーディング補正用画像を生成することが可能となる。なお、基準媒体の回転中心は、必ずしも基準媒体の重心でなくともよく、ゴミ31Aおよび31Bの位置が重ならなければ、いかなる点を中心に回転してもよい。   In addition, the second medium image may be an image obtained by reading the reference medium placed by rotating around the center of gravity of the reference medium with respect to the placed state in the first medium image. By rotating the reference medium in the first medium image in the plane, the position of dust or the like in the medium image changes from the first medium image in the second medium image. Therefore, by combining the first medium image and the second medium image, it becomes possible to generate a shading correction image in which an abnormal point caused by dust or the like is erased. The center of rotation of the reference medium does not necessarily have to be the center of gravity of the reference medium, and may be rotated about any point as long as the positions of the dust particles 31A and 31B do not overlap.

第1の媒体画像と、第2の媒体画像との間の基準媒体の回転量は、任意であり、第1の媒体画像と、第2の媒体画像との間で、ゴミ等の位置が重ならない程度の回転量であればよい。ただし、第1の媒体画像と、第2の媒体画像との間の基準媒体の回転量は、回転前後で基準媒体が互いに重なり合う回転量(すなわち、回転対称となる回転量)であることが好ましい。例えば、基準媒体の形状が長方形である場合、回転量は、180度であることが好ましく、基準媒体の形状が正方形である場合、回転量は、90度、180度または270度であることが好ましい。このような場合、媒体画像を読み取る際の基準媒体の載置位置を示す印または突起などを読取台300に複数設ける必要がないため、読取台300の構成をより簡素にすることができる。   The rotation amount of the reference medium between the first medium image and the second medium image is arbitrary, and the position of dust or the like overlaps between the first medium image and the second medium image. The rotation amount may not be so large. However, the rotation amount of the reference medium between the first medium image and the second medium image is preferably a rotation amount in which the reference media overlap with each other before and after the rotation (that is, a rotation amount having rotational symmetry). . For example, when the reference medium has a rectangular shape, the rotation amount is preferably 180 degrees, and when the reference medium has a square shape, the rotation amount may be 90 degrees, 180 degrees, or 270 degrees. preferable. In such a case, since it is not necessary to provide a plurality of marks or protrusions indicating the placement position of the reference medium when reading the medium image on the reading table 300, it is possible to further simplify the configuration of the reading table 300.

さらに、第2の媒体画像は、第1の媒体画像における載置状態に対して、表裏面を反転して載置された基準媒体を読み取った画像であってもよい。第1の媒体画像における基準媒体の表裏面が反転されることにより、第2の媒体画像では、媒体画像内におけるゴミ等の位置が第1の媒体画像と異なることになる。したがって、第1の媒体画像と、第2の媒体画像とを組み合わせることで、ゴミ等に起因する異常点を消去したシェーディング補正用画像を生成することが可能となる。このような場合、媒体画像を読み取る際の基準媒体の載置位置を示す印または突起などを読取台300に複数設ける必要がないため、読取台300の構成をより簡素にすることができる。   Further, the second medium image may be an image obtained by reading the reference medium placed with the front and back surfaces reversed with respect to the placed state in the first medium image. By inverting the front and back surfaces of the reference medium in the first medium image, the positions of dust and the like in the medium image in the second medium image differ from those in the first medium image. Therefore, by combining the first medium image and the second medium image, it becomes possible to generate a shading correction image in which an abnormal point caused by dust or the like is erased. In such a case, since it is not necessary to provide a plurality of marks or protrusions indicating the placement position of the reference medium when reading the medium image on the reading table 300, it is possible to further simplify the configuration of the reading table 300.

ここで、第2の媒体画像は、第1の媒体画像に対して、上述した載置状態を組み合わせて載置された基準媒体を読み取った画像であってもよい。例えば、第2の媒体画像は、第1の媒体画像に対して平行移動させつつ回転させた基準媒体を読み取った画像であってもよく、第1の媒体画像に対して回転させた上で表裏反転させた基準媒体を読み取った画像であってもよく、第1の媒体画像に対して表裏反転させた上で平行移動させた基準媒体を読み取った画像であってもよい。   Here, the second medium image may be an image obtained by reading the reference medium placed by combining the above-described placement states with the first medium image. For example, the second medium image may be an image obtained by reading a reference medium that is rotated in parallel with the first medium image and is rotated. The image may be an image obtained by reading the inverted reference medium, or may be an image obtained by inverting the front surface of the first medium image and then performing parallel movement on the reference medium.

また、第1の媒体画像と、第2の媒体画像との間の基準媒体の載置状態の変更は、基準媒体が載置された読取台の自動的な移動によって行われてもよく、ユーザによって行われてもよい。基準媒体の載置状態の変更がユーザによって行われる場合、画像処理装置100は、ユーザに対して、基準媒体の載置状態を変更することを求める表示を提示してもよい。   The loading state of the reference medium between the first medium image and the second medium image may be changed by automatically moving the reading table on which the reference medium is placed. May be done by. When the loading state of the reference medium is changed by the user, the image processing apparatus 100 may present, to the user, a display requesting that the loading state of the reference medium be changed.

第1画像格納部102および第2画像格納部103は、画像取得部101が取得した第1の媒体画像および第2の媒体画像をそれぞれ一時的に記憶する。例えば、第1画像格納部102および第2画像格納部103は、揮発性のRAMなどで構成されてもよく、不揮発性のフラッシュメモリなどで構成されてもよい。   The first image storage unit 102 and the second image storage unit 103 temporarily store the first medium image and the second medium image acquired by the image acquisition unit 101, respectively. For example, the first image storage unit 102 and the second image storage unit 103 may be configured by a volatile RAM or the like, or a nonvolatile flash memory or the like.

異常点検出部104は、第1の媒体画像から、基準媒体に付着したゴミ等に起因する異常点を検出する。ここで、異常点とは、基準媒体に付着したゴミ等に起因して、光量むらによる輝度変動よりも極端に輝度が低くなった領域(低輝度異常点ともいう)、および極端に輝度が高くなった領域(高輝度異常点ともいう)の両方を指す。   The abnormal point detection unit 104 detects an abnormal point caused by dust or the like attached to the reference medium from the first medium image. Here, the abnormal point is an area where the luminance is extremely lower than the luminance variation due to the unevenness of the light amount due to dust adhering to the reference medium (also called a low luminance abnormal point), and the extremely high luminance. It refers to both the area (also called the high brightness abnormal point).

具体的には、異常点検出部104は、第1の媒体画像と、第2の媒体画像とを比較し、双方の輝度の差が閾値以上である領域を異常点として検出してもよい。このような場合、異常点検出部104は、1つの閾値にて、低輝度異常点および高輝度異常点の双方を同時に検出することができる。   Specifically, the abnormal point detection unit 104 may compare the first medium image and the second medium image, and detect an area in which the difference between the brightnesses of the first medium image and the second medium image is a threshold value or more as an abnormal point. In such a case, the abnormal point detection unit 104 can simultaneously detect both the low-luminance abnormal point and the high-luminance abnormal point with one threshold value.

また、異常点検出部104は、第1の媒体画像において、低輝度側に設定した第1の閾値よりも輝度が低い領域を低輝度異常点として検出し、高輝度側に設定した第2の閾値よりも輝度が高い領域を高輝度異常点として検出してもよい。このような場合、異常点検出部104は、低輝度異常点を検出するための第1の閾値、および高輝度異常点を検出するための第2の閾値を用いることで、第2の媒体画像を取得せずとも、第1の媒体画像のみから異常点を検出することができる。   Further, the abnormal point detection unit 104 detects, in the first medium image, an area having a lower brightness than the first threshold set on the low brightness side as a low brightness abnormal point, and sets the second brightness set on the high brightness side. A region having a brightness higher than the threshold may be detected as a high brightness abnormal point. In such a case, the abnormal point detection unit 104 uses the first threshold value for detecting the low-luminance abnormal point and the second threshold value for detecting the high-luminance abnormal point, and thereby the second medium image. It is possible to detect the abnormal point from only the first medium image without acquiring.

画像生成部105は、第1の媒体画像の異常点を含む領域を、該異常点を含む領域と対応する第2の媒体画像の領域にて置き換えることで、シェーディング補正用画像を生成する。具体的には、画像生成部105は、第1の媒体画像において、異常点検出部104が検出した異常点を含む領域を、第2の媒体画像の媒体画像中の位置座標が同じ領域にて置き換える。これにより、画像生成部105は、第1の媒体画像からゴミ等に起因する異常点を消去し、輝度むらを正確に反映したシェーディング補正用画像を生成することができる。なお、画像生成部105によって生成されたシェーディング補正用画像は、補正用画像格納部12に格納され、読取部2によって読み取られた帳票3のシェーディング補正の際に輝度むらを示す基準として用いられる。   The image generation unit 105 replaces the area including the abnormal point of the first medium image with the area of the second medium image corresponding to the area including the abnormal point to generate the shading correction image. Specifically, the image generation unit 105 sets the area including the abnormal point detected by the abnormal point detection unit 104 in the first medium image to the area having the same position coordinate in the medium image of the second medium image. replace. As a result, the image generation unit 105 can erase an abnormal point caused by dust or the like from the first medium image and generate a shading correction image that accurately reflects the uneven brightness. The shading correction image generated by the image generation unit 105 is stored in the correction image storage unit 12 and is used as a reference for uneven brightness when shading correction is performed on the form 3 read by the reading unit 2.

ここで、画像生成部105は、異常点検出部104によって検出された異常点の輝度ピークの立ち下りおよび立ち上がりを境界として異常点を含む領域を設定してもよい。また、画像生成部105は、異常点検出部104によって検出された異常点の輝度ピークの立ち下りおよび立ち上がりを境界とする領域に対して、さらに輝度ピークの外側の領域を所定範囲加えた領域を、異常点を含む領域として設定してもよい。異常点を含む領域に、輝度ピークの立ち下りおよび立ち上がりよりも外側の領域を加えることで、画像生成部105は、ゴミ等に起因する異常点をより確実に第1の媒体画像から消去することができる。   Here, the image generation unit 105 may set an area including the abnormal point with the falling edge and the rising edge of the brightness peak of the abnormal point detected by the abnormal point detecting unit 104 as boundaries. In addition, the image generation unit 105 adds an area outside the brightness peak to the area bounded by the falling edge and the rising edge of the brightness peak of the abnormal point detected by the abnormal point detection unit 104 in a predetermined range. , May be set as an area including an abnormal point. By adding an area outside the fall and rise of the brightness peak to the area including the abnormal point, the image generation unit 105 can more reliably erase the abnormal point caused by dust or the like from the first medium image. You can

なお、異常点検出部104が第1の媒体画像にて異常点を複数検出した場合、画像生成部105は、検出された異常点を含む領域の全てに対して、対応する第2の媒体画像の領域による置き換えを実行する。   When the abnormal point detection unit 104 detects a plurality of abnormal points in the first medium image, the image generation unit 105 causes the corresponding second medium image to correspond to all the regions including the detected abnormal points. Replace with the area of.

以上のような構成によれば、本実施形態に係る画像処理装置100は、輝度むらをより正確に反映したシェーディング補正用画像を生成することが可能である。これによれば、本実施形態に係る画像処理装置100を含む画像読取装置1は、より正確なシェーディング補正を読取画像に対して行うことが可能である。   With the above-described configuration, the image processing apparatus 100 according to the present embodiment can generate a shading correction image that more accurately reflects uneven brightness. According to this, the image reading device 1 including the image processing device 100 according to the present embodiment can perform more accurate shading correction on the read image.

上述した画像処理装置100の構成の一部は、画像処理装置100と接続された別体の装置内に備えられていてもよい。このような場合、画像処理装置100は、接続された別体の装置と共に画像処理システムを構成する。   A part of the configuration of the image processing apparatus 100 described above may be provided in a separate device connected to the image processing apparatus 100. In such a case, the image processing apparatus 100 constitutes an image processing system together with a connected separate device.

<3.画像処理装置の動作>
続いて、図5〜図8を参照して、本実施形態に係る画像処理装置100の動作について説明する。
<3. Operation of image processing device>
Next, the operation of the image processing apparatus 100 according to this embodiment will be described with reference to FIGS.

[3.1.第1の動作例]
まず、図5および図6を参照して、画像処理装置100の第1の動作例について説明する。図5は、画像処理装置100の第1の動作例を説明するフローチャート図である。また、図6は、異なる状態で基準媒体を載置するようことをユーザに求める表示の一例を示す説明図である。
[3.1. First operation example]
First, a first operation example of the image processing apparatus 100 will be described with reference to FIGS. 5 and 6. FIG. 5 is a flowchart illustrating a first operation example of the image processing apparatus 100. FIG. 6 is an explanatory diagram showing an example of a display requesting the user to mount the reference medium in different states.

第1の動作例は、第1の媒体画像および第2の媒体画像を取得した後、第1の媒体画像から異常点を検出し、第2の媒体画像を用いて第1の媒体画像から検出した異常点を消去することでシェーディング補正用画像を生成する動作例である。   In the first operation example, after acquiring the first medium image and the second medium image, an abnormal point is detected from the first medium image, and the abnormal point is detected from the first medium image using the second medium image. It is an operation example of generating a shading correction image by deleting the abnormal point.

図5に示すように、まず、画像取得部101は、第1の媒体画像を取得し(S101)、第1画像格納部102に格納する。その後、画像取得部101は、その後、第2の媒体画像を取得し(S103)、第2画像格納部103に格納する。   As shown in FIG. 5, first, the image acquisition unit 101 acquires a first medium image (S101) and stores it in the first image storage unit 102. After that, the image acquisition unit 101 then acquires the second medium image (S103) and stores it in the second image storage unit 103.

ここで、第1の媒体画像を取得した後、画像処理装置100は、図6に示すような表示をユーザに提示することで、基準媒体を異なる載置状態とすることをユーザに対して求めてもよい。   Here, after acquiring the first medium image, the image processing apparatus 100 requests the user to place the reference medium in a different mounting state by presenting the display as shown in FIG. 6 to the user. May be.

例えば、図6に示す表示401には、「基準媒体をずらして再設置し、確認ボタンを押下して下さい」という基準媒体を異なる載置状態に変更することを求めるメッセージ411と共に、基準媒体のどのような載置状態に変更するのかを示す画像421が示されている。このような表示401を視認したユーザが画像421に従って基準媒体の載置状態を変更した後、確認ボタン431を押下することで、画像取得部101は、第1の媒体画像と基準媒体の載置状態が異なる第2の媒体画像を取得することができる。   For example, in the display 401 shown in FIG. 6, a message 411 requesting to change the reference medium to a different mounting state, “Please shift the reference medium and re-install, and press the confirmation button”, along with a message 411 An image 421 showing what kind of placement state is changed is shown. The user who visually recognizes such a display 401 changes the placement state of the reference medium according to the image 421, and then presses the confirmation button 431, whereby the image acquisition unit 101 causes the first medium image and the reference medium to be placed. It is possible to acquire the second medium images in different states.

続いて、第1の媒体画像および第2の媒体画像を取得した後、異常点検出部104は、第1の媒体画像からゴミ等に起因する異常点を検出する(S105)。次に、画像生成部105は、検出された異常点を含む第1の媒体画像の領域を、第2の媒体画像の対応する領域で置換することで、異常点が含まれない第1の媒体画像を生成する(S107)。さらに、画像生成部105は、異常点を含む領域が置換された第1の媒体画像をシェーディング補正用画像として補正用画像格納部12に格納する。   Subsequently, after acquiring the first medium image and the second medium image, the abnormal point detection unit 104 detects an abnormal point due to dust or the like from the first medium image (S105). Next, the image generation unit 105 replaces the area of the first medium image including the detected abnormal point with the corresponding area of the second medium image, so that the first medium including no abnormal point is included. An image is generated (S107). Further, the image generation unit 105 stores the first medium image, in which the region including the abnormal point is replaced, as the shading correction image in the correction image storage unit 12.

以上のような動作によれば、画像処理装置100は、輝度むらをより正確に反映したシェーディング補正用画像を生成することが可能である。第1の動作例によれば、第1の媒体画像にて異常点が検出されたか否かに関わらず、画像処理装置100を同一のフローで動作させることができるため、例外処理が発生しない単純なフローにて画像処理装置100を動作させることができる。   According to the above-described operation, the image processing apparatus 100 can generate a shading correction image that more accurately reflects the uneven brightness. According to the first operation example, since the image processing apparatus 100 can be operated in the same flow regardless of whether or not an abnormal point is detected in the first medium image, exception processing does not occur. The image processing apparatus 100 can be operated in this flow.

[3.2.第2の動作例]
続いて、図7および図8を参照して、画像処理装置100の第2の動作例について説明する。図7は、画像処理装置100の第2の動作例を説明するフローチャート図である。また、図8は、異なる状態で基準媒体を載置するようことをユーザに求める表示の一例を示す説明図である。
[3.2. Second operation example]
Subsequently, a second operation example of the image processing apparatus 100 will be described with reference to FIGS. 7 and 8. FIG. 7 is a flowchart illustrating a second operation example of the image processing apparatus 100. FIG. 8 is an explanatory diagram showing an example of a display requesting the user to place the reference medium in different states.

第2の動作例は、第1の媒体画像を取得した後、第1の媒体画像から異常点を検出し、第1の媒体画像から異常点が検出された場合のみ、第2の媒体画像を取得する動作例である。したがって、第2の動作例では、第1の媒体画像から異常点が検出された場合のみ、第2の媒体画像を取得し、第2の媒体画像を用いて第1の媒体画像からシェーディング補正用画像を生成する。なお、第1の媒体画像から異常点が検出されない場合、第2の動作例では、第1の媒体画像をシェーディング補正用画像とする。   In the second operation example, after acquiring the first medium image, the abnormal point is detected from the first medium image, and the second medium image is detected only when the abnormal point is detected from the first medium image. It is an operation example to acquire. Therefore, in the second operation example, only when an abnormal point is detected from the first medium image, the second medium image is acquired, and the second medium image is used to correct the shading correction from the first medium image. Generate an image. When no abnormal point is detected from the first medium image, in the second operation example, the first medium image is used as the shading correction image.

図7に示すように、まず、画像取得部101は、第1の媒体画像を取得し(S111)、第1画像格納部102に格納する。その後、異常点検出部104は、第1の媒体画像からゴミ等に起因する異常点を検出する(S113)。ここで、画像取得部101は、第1の媒体画像から異常点が検出されたか否かを判断し(S115)、異常点が検出された場合(S115/Yes)、第2の媒体画像を取得する(S117)。   As shown in FIG. 7, first, the image acquisition unit 101 acquires the first medium image (S111) and stores it in the first image storage unit 102. After that, the abnormal point detection unit 104 detects an abnormal point caused by dust or the like from the first medium image (S113). Here, the image acquisition unit 101 determines whether or not an abnormal point is detected from the first medium image (S115), and when an abnormal point is detected (S115 / Yes), acquires the second medium image. Yes (S117).

ここで、第1の媒体画像から異常点が検出された場合、画像処理装置100は、図8に示すような表示をユーザに提示することで、基準媒体を異なる載置状態とすることをユーザに対して求めてもよい。   Here, when an abnormal point is detected from the first medium image, the image processing apparatus 100 presents a display as shown in FIG. 8 to the user, thereby making it possible for the user to place the reference medium in a different mounting state. You may ask for.

例えば、図8に示す表示402には、「基準媒体からゴミが検出されました」という警告と共に、「基準媒体をずらして再設置し、確認ボタンを押下して下さい」という基準媒体を異なる載置状態に変更することを求めるメッセージ412が示されている。また、表示402には、基準媒体のどのような載置状態に変更するのかを示す画像422が示されている。このような表示402を視認したユーザが画像422に従って基準媒体の載置状態を変更した後、確認ボタン432を押下することで、画像取得部101は、第1の媒体画像と基準媒体の載置状態が異なる第2の媒体画像を取得することができる。   For example, in the display 402 shown in FIG. 8, a reference medium such as "The dust has been detected from the reference medium" and the reference medium "Please move the reference medium and reinstall it and press the confirmation button" are displayed differently. A message 412 is shown requesting a change to the open state. Further, in the display 402, an image 422 showing what kind of mounting state of the reference medium is changed is shown. The user who visually recognizes such a display 402 changes the placement state of the reference medium according to the image 422 and then presses the confirmation button 432, whereby the image acquisition unit 101 causes the first medium image and the reference medium to be placed. It is possible to acquire the second medium images in different states.

第2の媒体画像を取得した後、画像生成部105は、検出された異常点を含む第1の媒体画像の領域を、第2の媒体画像の対応する領域で置換することで、異常点が含まれない第1の媒体画像を生成する(S119)。さらに、画像生成部105は、異常点を含む領域が置換された第1の媒体画像をシェーディング補正用画像として補正用画像格納部12に格納する。   After acquiring the second medium image, the image generation unit 105 replaces the area of the first medium image including the detected abnormal point with the corresponding area of the second medium image, so that the abnormal point is detected. A first medium image that is not included is generated (S119). Further, the image generation unit 105 stores the first medium image, in which the region including the abnormal point is replaced, as the shading correction image in the correction image storage unit 12.

なお、異常点検出部104は、第2の媒体画像に対しても異常点を検出する処理を行い、第2の媒体画像では、第1の媒体画像にて異常点が発生した位置に異常点が検出されないことを確認してもよい。このとき、第1の媒体画像で異常点が発生した位置に、第2の媒体画像でも異常点が検出された場合、画像処理装置100は、第2の媒体画像を取得する処理を繰り返すために、基準媒体を再設置する操作を再度実行するようユーザに求めてもよい。   It should be noted that the abnormal point detection unit 104 performs a process of detecting an abnormal point also in the second medium image, and in the second medium image, the abnormal point is located at the position where the abnormal point occurs in the first medium image. May be confirmed not to be detected. At this time, when an abnormal point is also detected in the second medium image at the position where the abnormal point occurs in the first medium image, the image processing apparatus 100 repeats the process of acquiring the second medium image. The user may be asked to re-execute the operation of re-installing the reference medium.

一方、異常点が検出されなかった場合(S115/No)、画像取得部101は、第2の媒体画像を取得せず、画像生成部105は、シェーディング補正用画像として、第1の媒体画像を補正用画像格納部12に格納する(S121)。   On the other hand, when no abnormal point is detected (S115 / No), the image acquisition unit 101 does not acquire the second medium image, and the image generation unit 105 determines the first medium image as the shading correction image. The image is stored in the correction image storage unit 12 (S121).

以上のような動作によれば、画像処理装置100は、輝度むらをより正確に反映したシェーディング補正用画像を生成することが可能である。また、第2の動作例では、第1の媒体画像に異常点が検出された場合にのみ、第2の媒体画像を取得するため、第1の媒体画像に異常点が検出されない場合にシェーディング補正用画像の生成にかかる時間を短縮することができる。   According to the above-described operation, the image processing apparatus 100 can generate a shading correction image that more accurately reflects the uneven brightness. Further, in the second operation example, the second medium image is acquired only when the abnormal point is detected in the first medium image. Therefore, the shading correction is performed when the abnormal point is not detected in the first medium image. It is possible to reduce the time required to generate the usage image.

<4.画像処理装置のハードウェア構成>
次に、図9を参照して、本実施形態に係る画像処理装置100のハードウェア構成について説明を行う。図9は、本実施形態に係る画像処理装置100のハードウェア構成の一例を示すブロック図である。
<4. Hardware configuration of image processing device>
Next, with reference to FIG. 9, a hardware configuration of the image processing apparatus 100 according to the present embodiment will be described. FIG. 9 is a block diagram showing an example of the hardware configuration of the image processing apparatus 100 according to this embodiment.

本実施形態に係る画像処理装置100が行う情報処理は、ソフトウェアと以下で説明するハードウェアとの協働により実現される。   The information processing performed by the image processing apparatus 100 according to this embodiment is realized by cooperation between software and hardware described below.

図9に示すように、画像処理装置100は、CPU(Central Processing Unit)151と、ROM(Read Only Memory)153と、RAM155と、内部バス157と、入出力インターフェース159と、表示部161と、入力部163と、音声出力部165と、HDD167と、ドライブ169と、ネットワークインターフェース171と、外部インターフェース173と、を備える。   As illustrated in FIG. 9, the image processing apparatus 100 includes a CPU (Central Processing Unit) 151, a ROM (Read Only Memory) 153, a RAM 155, an internal bus 157, an input / output interface 159, a display unit 161, and An input unit 163, an audio output unit 165, an HDD 167, a drive 169, a network interface 171, and an external interface 173 are provided.

CPU151は、演算処理装置および制御装置として機能し、各種プログラムに従って画像処理装置100の各構成の動作全般を制御する。なお、CPU151は、例えば、画像取得部101、異常点検出部104、および画像生成部105に対応し、各部の機能を実現する。   The CPU 151 functions as an arithmetic processing unit and a control unit, and controls the overall operation of each component of the image processing apparatus 100 according to various programs. The CPU 151 corresponds to, for example, the image acquisition unit 101, the abnormal point detection unit 104, and the image generation unit 105, and realizes the function of each unit.

ROM153は、CPU151が使用するプログラムや演算パラメータ等を記憶する。RAM155は、CPU151の実行において使用するプログラムや、その実行において適宜変化するパラメータ等を一時記憶する。RAM155は、例えば、第1画像格納部102および第2画像格納部103に対応し、各部の機能を実現する。   The ROM 153 stores programs used by the CPU 151, calculation parameters, and the like. The RAM 155 temporarily stores a program used in the execution of the CPU 151, a parameter that appropriately changes in the execution, and the like. The RAM 155 corresponds to, for example, the first image storage unit 102 and the second image storage unit 103, and realizes the function of each unit.

また、CPU151、ROM153、およびRAM155は、内部バス157により相互に接続され、さらに入出力インターフェース159を介して後述する表示部161、入力部163、音声出力部165、HDD167、ドライブ169、ネットワークインターフェース171、および外部インターフェース173と接続される。   Further, the CPU 151, the ROM 153, and the RAM 155 are mutually connected by an internal bus 157, and further, via an input / output interface 159, a display unit 161, an input unit 163, an audio output unit 165, a HDD 167, a drive 169, and a network interface 171 described later. , And the external interface 173.

表示部161は、例えば、CRT表示装置、液晶表示装置、有機EL表示装置、およびプラズマディスプレイ装置などの表示装置であり、映像データを映像に変換して出力する。   The display unit 161 is, for example, a display device such as a CRT display device, a liquid crystal display device, an organic EL display device, and a plasma display device, and converts video data into a video and outputs the video.

入力部163は、例えば、マウス、キーボード、タッチパネル、ボタン、マイクロフォン、スイッチおよびレバーなどユーザが情報を入力するための入力装置と、ユーザによる入力に基づいて入力信号を生成し、CPU151に出力する入力制御回路などから構成される。   The input unit 163 is, for example, an input device for a user to input information such as a mouse, a keyboard, a touch panel, a button, a microphone, a switch and a lever, and an input that generates an input signal based on the input by the user and outputs the input signal to the CPU 151. It is composed of a control circuit.

音声出力部165は、例えば、スピーカおよびヘッドフォンなどの音声出力装置であり、音声データ等を音声に変換して出力する。   The voice output unit 165 is, for example, a voice output device such as a speaker and a headphone, and converts voice data and the like into voice and outputs the voice.

HDD167は、画像処理装置100の記憶部の一例として構成されるデータ格納用の装置である。HDD167は、例えば、記憶媒体、記憶媒体にデータを記録する記録装置、記憶媒体からデータを読み出す読出装置、および記憶媒体に記憶されたデータを削除する削除装置を含む。   The HDD 167 is a data storage device configured as an example of a storage unit of the image processing apparatus 100. The HDD 167 includes, for example, a storage medium, a recording device that records data in the storage medium, a reading device that reads data from the storage medium, and a deleting device that deletes the data stored in the storage medium.

ドライブ169は、記憶媒体用リーダライタであり、画像処理装置100に内蔵または外付けされる。ドライブ169は、装着されている磁気ディスク、光ディスク、光磁気ディスク、または半導体メモリ等のリムーバブル記憶媒体に記憶されている情報を読み出してRAM155に出力する。また、ドライブ169は、リムーバブル記憶媒体に情報を書き込むことも可能である。   The drive 169 is a reader / writer for a storage medium, and is built in or externally attached to the image processing apparatus 100. The drive 169 reads information stored in a removable storage medium such as a mounted magnetic disk, optical disk, magneto-optical disk, or semiconductor memory, and outputs it to the RAM 155. The drive 169 can also write information to a removable storage medium.

ネットワークインターフェース171は、例えば、インターネット等の通信網に接続するための通信デバイス等で構成された通信インターフェースである。また、ネットワークインターフェース171は、有線LAN(Local Area Network)または無線LAN対応通信装置であってもよいし、有線による通信を行うワイヤー通信装置であってもよい。   The network interface 171 is, for example, a communication interface including a communication device or the like for connecting to a communication network such as the Internet. Further, the network interface 171 may be a wired LAN (Local Area Network) or wireless LAN compatible communication device, or may be a wire communication device that performs wired communication.

外部インターフェース173は、例えば、USB(Universal Serial Bus)ポート、IEEE1394ポート、SCSI(Small Computer System Interface)ポート、RS−232Cポート、または光オーディオ端子等のような外部接続機器を接続するための接続ポートで構成された接続インターフェースである。   The external interface 173 is, for example, a connection port for connecting an external connection device such as a USB (Universal Serial Bus) port, an IEEE 1394 port, a SCSI (Small Computer System Interface) port, an RS-232C port, or an optical audio terminal. It is a connection interface composed of.

なお、本発明の他の実施形態として、本発明の一実施形態に係る画像処理装置100に内蔵されるCPU151、ROM153およびRAM155などのハードウェアに対して、画像処理装置100の各構成と同等の機能を発揮させるコンピュータプログラムも作成可能である。また、該コンピュータプログラムを記憶させた記憶媒体も、本発明の他の実施形態として提供される。   As another embodiment of the present invention, the hardware such as the CPU 151, the ROM 153, and the RAM 155 built in the image processing apparatus 100 according to the embodiment of the present invention is equivalent to each component of the image processing apparatus 100. It is also possible to create a computer program that exercises the functions. A storage medium storing the computer program is also provided as another embodiment of the present invention.

<5.まとめ>
以上にて説明したように、本発明の一実施形態に係る画像処理装置100によれば、第1の媒体画像と、第1の媒体画像と異なる状態で載置された基準媒体を読み取った第2の媒体画像とを用いることで、より輝度むらを正確に反映したシェーディング補正用画像を生成することが可能である。具体的には、画像処理装置100は、第1の媒体画像のゴミ等に起因する異常点を含む領域を、第2の媒体画像の対応する領域で置き換えることにより、第1の媒体画像からゴミ等の影響のみを排除することが可能である。
<5. Summary>
As described above, according to the image processing apparatus 100 according to the embodiment of the present invention, the first medium image and the reference medium placed in a state different from the first medium image are read. By using the second medium image, it is possible to generate a shading correction image that more accurately reflects the uneven brightness. Specifically, the image processing apparatus 100 replaces the area including the abnormal point due to dust or the like of the first medium image with the corresponding area of the second medium image to remove dust from the first medium image. It is possible to eliminate only the effect of

以上、添付図面を参照しながら本発明の好適な実施形態について詳細に説明したが、本発明はかかる例に限定されない。本発明の属する技術の分野における通常の知識を有する者であれば、特許請求の範囲に記載された技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、これらについても、当然に本発明の技術的範囲に属するものと了解される。   The preferred embodiments of the present invention have been described above in detail with reference to the accompanying drawings, but the present invention is not limited to these examples. It is obvious that a person having ordinary knowledge in the technical field to which the present invention pertains can come up with various changes or modifications within the scope of the technical idea described in the claims. Of course, it is understood that these also belong to the technical scope of the present invention.

1 画像読取装置
2 読取部
3 帳票
10 補正用画像生成部
11 シェーディング補正部
12 補正用画像格納部
13 読取画像取得部
14 表示部
100 画像処理装置
101 画像取得部
102 第1画像格納部
103 第2画像格納部
104 異常点検出部
105 画像生成部
DESCRIPTION OF SYMBOLS 1 image reading device 2 reading unit 3 form 10 correction image generation unit 11 shading correction unit 12 correction image storage unit 13 read image acquisition unit 14 display unit 100 image processing device 101 image acquisition unit 102 first image storage unit 103 second Image storage unit 104 Abnormal point detection unit 105 Image generation unit

Claims (12)

載置された基準媒体を読み取った第1の媒体画像と、前記第1の媒体画像と異なる状態で載置された前記基準媒体を読み取った第2の媒体画像とを取得する画像取得部と、
前記第1の媒体画像から異常点を検出する異常点検出部と、
前記第1の媒体画像の前記異常点を含む領域を、前記異常点を含む領域と対応する前記第2の媒体画像の領域で置き換え、補正用画像を生成する画像生成部と、
を備え
前記第2の媒体画像は、前記第1の媒体画像における載置状態に対して、表裏反転して載置された前記基準媒体を読み取った画像である、画像処理装置。
An image acquisition unit that acquires a first medium image obtained by reading the placed reference medium and a second medium image obtained by reading the reference medium placed in a state different from the first medium image,
An abnormal point detection unit that detects an abnormal point from the first medium image;
An image generation unit that replaces a region including the abnormal point of the first medium image with a region of the second medium image corresponding to the region including the abnormal point, and generates a correction image,
Equipped with
The image processing apparatus , wherein the second medium image is an image obtained by reading the reference medium that is placed upside down with respect to the placement state in the first medium image .
前記画像生成部は、前記第1の媒体画像の前記異常点を含む領域を、前記第2の媒体画像の位置座標が同じ領域で置き換える、請求項1に記載の画像処理装置。   The image processing device according to claim 1, wherein the image generation unit replaces an area including the abnormal point of the first medium image with an area having the same position coordinates of the second medium image. 前記画像生成部による置き換えに用いられた前記第2の媒体画像の領域は、前記異常点検出部によって検出される異常点を含まない、請求項1または2に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the area of the second medium image used for replacement by the image generation unit does not include an abnormal point detected by the abnormal point detection unit. 前記第2の媒体画像は、前記第1の媒体画像における載置状態に対して、水平方向に移動して載置された前記基準媒体を読み取った画像である、請求項1〜3のいずれか一項に記載の画像処理装置。   4. The second medium image according to claim 1, wherein the second medium image is an image obtained by reading the reference medium that is horizontally moved and placed with respect to the placed state in the first medium image. The image processing device according to one item. 前記第2の媒体画像は、前記第1の媒体画像における載置状態に対して、回転して載置された前記基準媒体を読み取った画像である、請求項1〜3のいずれか一項に記載の画像処理装置。   4. The second medium image according to claim 1, wherein the second medium image is an image obtained by reading the reference medium that is rotated and mounted with respect to the mounted state in the first medium image. The image processing device described. 前記画像取得部は、前記異常点検出部によって前記第1の媒体画像から異常点が検出された場合にのみ、前記第2の媒体画像を取得する、請求項1〜5のいずれか一項に記載の画像処理装置。 The image acquisition unit acquires the second medium image only when an abnormal point is detected from the first medium image by the abnormal point detection unit, according to any one of claims 1 to 5. The image processing device described. 前記異常点検出部によって前記第1の媒体画像から異常点が検出された場合、ユーザに対して、前記第1の媒体画像と異なる状態で前記基準媒体を載置することを指示する表示を生成する表示生成部をさらに備える、請求項に記載の画像処理装置。 When an abnormal point is detected from the first medium image by the abnormal point detection unit, a display for instructing the user to place the reference medium in a state different from that of the first medium image is generated. The image processing apparatus according to claim 6 , further comprising a display generation unit that performs 前記補正用画像は、非接触スキャナのシェーディング補正に用いられる画像である、請求項1〜7のいずれか一項に記載の画像処理装置。 The correction image is an image used for the non-contact scanner shading correction, the image processing apparatus according to any one of claims 1 to 7. 前記非接触スキャナをさらに備える、請求項に記載の画像処理装置。 The image processing apparatus according to claim 8 , further comprising the non-contact scanner. 載置された基準媒体を読み取った第1の媒体画像と、前記第1の媒体画像と異なる状態で載置された前記基準媒体を読み取った第2の媒体画像とを取得する画像取得部と、
前記第1の媒体画像から異常点を検出する異常点検出部と、
前記第1の媒体画像の前記異常点を含む領域を、前記異常点を含む領域と対応する前記第2の媒体画像の領域で置き換え、補正用画像を生成する画像生成部と、
を備え
前記第2の媒体画像は、前記第1の媒体画像における載置状態に対して、表裏反転して載置された前記基準媒体を読み取った画像である、画像処理システム。
An image acquisition unit that acquires a first medium image obtained by reading the placed reference medium and a second medium image obtained by reading the reference medium placed in a state different from the first medium image,
An abnormal point detection unit that detects an abnormal point from the first medium image;
An image generation unit that replaces a region including the abnormal point of the first medium image with a region of the second medium image corresponding to the region including the abnormal point, and generates a correction image,
Equipped with
The image processing system , wherein the second medium image is an image obtained by reading the reference medium that is placed upside down with respect to the placement state in the first medium image .
載置された基準媒体を読み取った第1の媒体画像と、前記第1の媒体画像と異なる状態で載置された前記基準媒体を読み取った第2の媒体画像とを取得するステップと、
前記第1の媒体画像から異常点を検出するステップと、
演算処理装置によって、前記第1の媒体画像の前記異常点を含む領域を、前記異常点を含む領域と対応する前記第2の媒体画像の領域で置き換え、補正用画像を生成するステップと、
を含み、
前記第2の媒体画像は、前記第1の媒体画像における載置状態に対して、表裏反転して載置された前記基準媒体を読み取った画像である、画像処理方法。
Acquiring a first medium image obtained by reading the placed reference medium and a second medium image obtained by reading the reference medium placed in a state different from the first medium image;
Detecting an abnormal point from the first medium image;
A step of replacing a region including the abnormal point of the first medium image with a region of the second medium image corresponding to the region including the abnormal point by the arithmetic processing device to generate a correction image;
Including,
The image processing method , wherein the second medium image is an image obtained by reading the reference medium that is placed upside down with respect to the placement state in the first medium image .
コンピュータを
載置された基準媒体を読み取った第1の媒体画像と、前記第1の媒体画像と異なる状態で載置された前記基準媒体を読み取った第2の媒体画像とを取得する画像取得部と、
前記第1の媒体画像から異常点を検出する異常点検出部と、
前記第1の媒体画像の前記異常点を含む領域を、前記異常点を含む領域と対応する前記第2の媒体画像の領域で置き換え、補正用画像を生成する画像生成部と、
として機能させ、
前記第2の媒体画像は、前記第1の媒体画像における載置状態に対して、表裏反転して載置された前記基準媒体を読み取った画像である、プログラム。

An image acquisition unit that acquires a first medium image obtained by reading a reference medium on which a computer is placed and a second medium image obtained by reading the reference medium placed in a state different from the first medium image When,
An abnormal point detection unit that detects an abnormal point from the first medium image;
An image generation unit that replaces a region including the abnormal point of the first medium image with a region of the second medium image corresponding to the region including the abnormal point, and generates a correction image,
Function as
The program , wherein the second medium image is an image obtained by reading the reference medium that is placed upside down with respect to the placement state in the first medium image .

JP2016106974A 2016-05-30 2016-05-30 Image processing apparatus, image processing system, image processing method, and program Active JP6683017B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016106974A JP6683017B2 (en) 2016-05-30 2016-05-30 Image processing apparatus, image processing system, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016106974A JP6683017B2 (en) 2016-05-30 2016-05-30 Image processing apparatus, image processing system, image processing method, and program

Publications (2)

Publication Number Publication Date
JP2017216490A JP2017216490A (en) 2017-12-07
JP6683017B2 true JP6683017B2 (en) 2020-04-15

Family

ID=60577256

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016106974A Active JP6683017B2 (en) 2016-05-30 2016-05-30 Image processing apparatus, image processing system, image processing method, and program

Country Status (1)

Country Link
JP (1) JP6683017B2 (en)

Also Published As

Publication number Publication date
JP2017216490A (en) 2017-12-07

Similar Documents

Publication Publication Date Title
JP5256899B2 (en) Image correction apparatus, image correction method, projector and projection system
EP3637763A1 (en) Colour detection method and terminal
CN111107333B (en) Brightness correction method, system, equipment and computer readable storage medium
JP6401855B2 (en) Method and apparatus for setting background of UI control, and terminal
JP2016103823A (en) Stereoscopic image display method and portable terminal
JP5870586B2 (en) Projector control device, display device, and program.
CN103581636B (en) Image display device, method for displaying image and image display program
JP2011082798A (en) Projection graphic display device
JP2007142495A (en) Planar projection apparatus and planar projection program
CN104240227A (en) Image analysis system and method
JP2017059984A5 (en)
JP2008180797A (en) Image display apparatus, image display apparatus control method, and computer program
JP2015170206A (en) detection device and detection method
JP6683017B2 (en) Image processing apparatus, image processing system, image processing method, and program
JP6432159B2 (en) Information display device, information display method, and information display program
JP6314564B2 (en) Image processing apparatus, image processing method, and program
CN110442314A (en) Display method, terminal and computer readable storage medium
CN112767472B (en) Method, computing device and storage medium for locating lamp beads in display image
TWI469089B (en) Image determining method and object coordinate computing apparatus
US9407898B2 (en) Display control device, display control method, and program
US9298319B2 (en) Multi-touch recognition apparatus using filtering and a difference image and control method thereof
US11256399B2 (en) Information processing apparatus and non-transitory computer readable medium
TWI439962B (en) Intuitive depth image generation system and depth image generation method
US10893205B2 (en) Image display method and image display device using the same
JPWO2017154046A1 (en) Display device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190215

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20190327

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20190328

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200207

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200309

R150 Certificate of patent or registration of utility model

Ref document number: 6683017

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150