JP2016015668A - Image processing device, image processing method and program - Google Patents

Image processing device, image processing method and program Download PDF

Info

Publication number
JP2016015668A
JP2016015668A JP2014137456A JP2014137456A JP2016015668A JP 2016015668 A JP2016015668 A JP 2016015668A JP 2014137456 A JP2014137456 A JP 2014137456A JP 2014137456 A JP2014137456 A JP 2014137456A JP 2016015668 A JP2016015668 A JP 2016015668A
Authority
JP
Japan
Prior art keywords
image
corrected
pixel
luminance value
corrected 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.)
Pending
Application number
JP2014137456A
Other languages
Japanese (ja)
Inventor
敬之 山本
Noriyuki Yamamoto
敬之 山本
水野 守倫
Morimichi Mizuno
守倫 水野
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2014137456A priority Critical patent/JP2016015668A/en
Priority to US14/790,516 priority patent/US9691211B2/en
Priority to ARP150102134A priority patent/AR101104A1/en
Priority to MX2015008724A priority patent/MX2015008724A/en
Priority to CN201510388400.9A priority patent/CN105243727B/en
Priority to BR102015016127A priority patent/BR102015016127A2/en
Priority to CL2015001903A priority patent/CL2015001903A1/en
Publication of JP2016015668A publication Critical patent/JP2016015668A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing device which synthesizes a surface image of a medium on which visible rays are irradiated and a surface image of a medium on which ultraviolet rays are irradiated in a state of allowing easy discrimination of a printed part by a UV ink.SOLUTION: A control device 7 (image processing device) comprises: an image reading part 35 for acquiring a first surface image G1 obtained by reading a check 2 on which first light (visible rays) are irradiated and a second surface image G2 obtained by reading the check 2 on which second light including ultraviolet rays are irradiated by driving an image sensor 16; a first corrected image creation part 51 for creating a first corrected image H1 where brightness of the first surface image G1 is decreased; a second corrected image creation part 52 for creating a second corrected image H2 where a contrast of the second surface image G2 is increased; and a synthetic image creation part 47 for creating a synthetic image where the first corrected image H1 and the second corrected image H2 are synthesized.

Description

本発明は、紫外線が照射されたときに蛍光を発光するインクで印刷された印刷部分を含む媒体の表面を読み取る画像処理装置、画像処理方法およびプログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and a program for reading a surface of a medium including a printed portion printed with ink that emits fluorescence when irradiated with ultraviolet rays.

小切手が持ち込まれた金融機関では、小切手を小切手処理装置に掛け、小切手に印刷されている磁気インク文字を磁気的に読み取り、取得した磁気情報に基づいて決済処理を行う。また、金融機関では、磁気インク文字の読み取りと並行して、小切手処理装置によって可視光線を照射した小切手の表面を読み取り、取得した表面画像を決済の証拠として保存する。さらに、金融機関では、小切手として、紫外線の照射に対したときに蛍光を発光するインク(以下、UVインクという)で偽造防止用画像が印刷されたものが用いられる場合には、小切手処理装置によって紫外線を照射した小切手の表面を読み取り、取得した表面画像を小切手の真贋判定のために利用する。また、金融機関では、紫外線を照射した小切手の表面画像を決済の証拠として保存する。   In a financial institution where a check is brought in, the check is put on a check processing device, magnetic ink characters printed on the check are magnetically read, and settlement processing is performed based on the acquired magnetic information. In addition, in parallel with reading of magnetic ink characters, a financial institution reads the surface of a check irradiated with visible light by a check processing device, and stores the acquired surface image as evidence of settlement. Furthermore, in a financial institution, when an anti-counterfeit image printed with ink that emits fluorescence when irradiated with ultraviolet rays (hereinafter referred to as UV ink) is used as a check, The surface of the check irradiated with ultraviolet rays is read, and the acquired surface image is used to determine the authenticity of the check. In addition, financial institutions store the surface images of checks irradiated with ultraviolet rays as proof of payment.

このような小切手の決済処理に用いることが可能な小切手処理装置は特許文献1に記載されている。同文献の小切手処理装置は、磁気インク文字を磁気的に読み取る磁気センサーと、小切手の表面に読取光を照射して表面画像を取得するイメージセンサーを搭載する。イメージセンサーは、読取光として可視光線と紫外線を射出する。   A check processing apparatus that can be used for such check settlement processing is described in Patent Document 1. The check processing apparatus of this document is equipped with a magnetic sensor that magnetically reads magnetic ink characters and an image sensor that irradiates the surface of the check with reading light to acquire a surface image. The image sensor emits visible light and ultraviolet light as reading light.

特開2013−70225号公報JP2013-70225A

小切手による決済の証拠として、可視光線を照射した小切手の表面画像と、紫外線を照射した小切手の表面画像を保存する場合には、保存する画像のデータ容量が大きくなるという問題がある。ここで、決済の証拠として保存する画像のデータ容量を抑制するためには、可視光線を照射した小切手の表面画像と、紫外線を照射した小切手の表面画像を合成して1枚の合成画像を保存することが考えられる。しかし、これらの2つの表面画像を単純に合成した場合には、合成画像において偽造防止用画像が認識し難くなるなどの問題が発生する。   As evidence of payment by check, when storing the surface image of a check irradiated with visible light and the surface image of a check irradiated with ultraviolet light, there is a problem that the data capacity of the image to be stored increases. Here, in order to reduce the data capacity of the image to be saved as payment evidence, the surface image of the check irradiated with visible light and the surface image of the check irradiated with ultraviolet light are combined to save one composite image. It is possible to do. However, when these two surface images are simply combined, there arises a problem that it becomes difficult to recognize the forgery prevention image in the combined image.

本発明の課題は、このような点に鑑みて、可視光線を照射した媒体の表面画像と紫外線を照射した媒体の表面画像を、UVインクによる印刷部分を判別しやすい状態で合成する画像処理装置、画像処理方法、および、プログラムを提供することにある。   An object of the present invention is to provide an image processing apparatus that synthesizes a surface image of a medium irradiated with visible light and a surface image of a medium irradiated with ultraviolet light in a state in which it is easy to distinguish a printed portion using UV ink. An image processing method and a program are provided.

上記の課題を解決するために、本発明の画像処理装置は、イメージセンサーを駆動して、第1の光が照射された媒体の表面を読み取った第1画像を取得するとともに、紫外線を含む第2の光が照射された前記媒体の表面を読み取った第2画像を取得する画像取得部と、前記第1画像の明るさを低下させた第1補正画像を生成する第1補正画像生成部と、前記第2画像のコントラストを増大させた第2補正画像を生成する第2補正画像生成部と、前記第1補正画像と前記第2補正画像とを合成した合成画像を生成する合成画像生成部と、を有することを特徴とする。   In order to solve the above problems, an image processing apparatus according to the present invention drives an image sensor to acquire a first image obtained by reading the surface of a medium irradiated with first light, and includes an ultraviolet ray. An image acquisition unit that acquires a second image obtained by reading the surface of the medium irradiated with the second light; and a first correction image generation unit that generates a first correction image with reduced brightness of the first image; A second corrected image generating unit that generates a second corrected image in which the contrast of the second image is increased, and a combined image generating unit that generates a combined image obtained by combining the first corrected image and the second corrected image. It is characterized by having.

本発明では、可視光などの第1の光が照射された媒体の第1画像と紫外線を含む第2の光が照射された媒体の第2画像を合成する際に、第1画像については明るさ(例えば、輝度)を低下させた第1補正画像を生成し、第2画像についてはコントラストを増大させた第2補正画像を生成して、これら第1補正画像および第2補正画像を合成する。ここで、紫外線が照射された小切手の表面をイメージセンサーで読み取った場合に取得される第2画像は、小切手の表面で反射された読取光の反射光を撮像した部分が暗く(輝度が低く)、UVインクによる印刷部分からの蛍光を撮像した部分が明るい(輝度が高い)グレースケールの画像となる。従って、第2画像のコントラストを増大させた第2補正画像は、第2画像と比較して、UVインクによる印刷部分を判別しやすくなる。また、第2補正画像と、第1画像について輝度を低下させた第1補正画像を合成すれば、第2補正画像におけるUVインクによる印刷部分と第1補正画像の間でコントラストを増大させることができる。よって、可視光線を照射した媒体の表面画像と紫外線を照射した媒体の表面画像を、UVインクによる印刷部分を判別しやすい状態で合成できる。   In the present invention, when combining the first image of the medium irradiated with the first light such as visible light and the second image of the medium irradiated with the second light including ultraviolet light, the first image is bright. A first corrected image with reduced brightness (for example, brightness) is generated, a second corrected image with increased contrast is generated for the second image, and the first corrected image and the second corrected image are combined. . Here, in the second image acquired when the surface of the check irradiated with ultraviolet rays is read by the image sensor, a portion obtained by imaging the reflected light of the reading light reflected on the surface of the check is dark (the luminance is low). The portion obtained by imaging fluorescence from the printed portion with UV ink becomes a bright (high luminance) gray scale image. Therefore, the second corrected image in which the contrast of the second image is increased is easier to discriminate the printed portion with the UV ink than the second image. Further, if the second corrected image and the first corrected image with reduced brightness are synthesized with respect to the first image, the contrast between the printed portion of the second corrected image by the UV ink and the first corrected image can be increased. it can. Therefore, the surface image of the medium irradiated with visible light and the surface image of the medium irradiated with ultraviolet light can be combined in a state where it is easy to discriminate a printed portion with UV ink.

本発明において、前記第1補正画像生成部は、前記第1画像の画素の輝度値を一定割合で低下させて前記第1補正画像を生成するものとすることができる。このようにすれば、第1補正画像の生成が容易である。   In the present invention, the first corrected image generation unit may generate the first corrected image by reducing luminance values of pixels of the first image at a constant rate. In this way, it is easy to generate the first corrected image.

本発明において、前記第2補正画像生成部は、前記第2画像において、隣り合う画素の輝度値の差が予め設定した輝度差よりも大きい画像部分を含む領域をエッジ領域として抽出するエッジ領域抽出部と、前記エッジ領域に含まれる複数の画素を、輝度値に基づいて第1画素群と当該第1画素群よりも輝度値の低い第2画素群とに振分けて、前記第1画素群に含まれる画素と前記第2画素群に含まれる画素との間でコントラストが増大するように画素の輝度値を補正する補正関数を生成する補正関数生成部と、前記第2画像を構成する画素について画素の輝度値を前記補正関数で補正した前記第2補正画像を生成する輝度値補正画像生成部と、を備えるものとすることができる。このようにすれば、エッジ領域抽出部が、紫外線が照射された媒体の画像から、UVインクによる印刷部分とUVインクによる印刷のない媒体の表面部分を含む画像部分をエッジ領域として抽出する。そして、補正関数生成部が、このエッジ領域における明るい部分(第1画素群)と、暗い部分(第2画素群)との間のコントラストが増大するような補正関数を生成する。しかる後に、補正画像生成部が、補正関数に基づいて画像の全体を補正した第2補正画像を生成する。これにより、第2補正画像では、UVインクによる印刷部分と、UVインクにより印刷がされていない媒体の表面との間のコントラストが増大する。従って、UVインクによる印刷部分が判別しやすくなる。   In the present invention, the second corrected image generation unit extracts, as the edge region, an area including an image portion in which the difference in luminance value between adjacent pixels is larger than a preset luminance difference in the second image. And a plurality of pixels included in the edge region are divided into a first pixel group and a second pixel group having a lower luminance value than the first pixel group based on a luminance value, and the first pixel group A correction function generating unit that generates a correction function for correcting a luminance value of a pixel so that a contrast is increased between the pixel included and the pixel included in the second pixel group; and a pixel constituting the second image A luminance value corrected image generation unit that generates the second corrected image obtained by correcting the luminance value of the pixel with the correction function. According to this configuration, the edge region extraction unit extracts, as an edge region, an image portion including a printed portion using UV ink and a surface portion of the medium not printed with UV ink from an image of the medium irradiated with ultraviolet rays. Then, the correction function generation unit generates a correction function that increases the contrast between the bright part (first pixel group) and the dark part (second pixel group) in the edge region. Thereafter, the corrected image generation unit generates a second corrected image obtained by correcting the entire image based on the correction function. Thereby, in the 2nd correction image, the contrast between the printing part by UV ink and the surface of the medium which has not been printed by UV ink increases. Therefore, it becomes easy to distinguish the printed portion by the UV ink.

本発明では、前記合成画像において、前記第1補正画像の画素と前記第2補正画像の画素とを合成した合成画素の輝度値は、前記第1補正画像の前記画素の輝度値以上であり、かつ、前記第2補正画像の前記画素の輝度値以上であることが望ましい。このようにすれば、合成画像においてUVインクによる印刷部分に対応する画素の輝度が低下しないので、この印刷部分が判別しやすくなる。   In the present invention, in the synthesized image, a luminance value of a synthesized pixel obtained by synthesizing the pixel of the first corrected image and the pixel of the second corrected image is equal to or higher than the luminance value of the pixel of the first corrected image. And it is desirable that it is more than the luminance value of the pixel of the 2nd amendment picture. In this way, the luminance of the pixel corresponding to the printed portion of UV ink in the composite image does not decrease, and this printed portion can be easily identified.

本発明において、前記第1画像は可視光に基づく画像を含み、前記第2画像はUVインクからの蛍光に基づく画像を含むものとすることができる。このようにすれば、例えば、UVインクにより偽造防止用画像が印刷されている小切手の表面を読み取って、小切手の表面の画像と偽造防止用画像とを合成した合成画像を生成することができる。   In the present invention, the first image may include an image based on visible light, and the second image may include an image based on fluorescence from UV ink. In this way, for example, the surface of a check on which an image for preventing forgery is printed with UV ink can be read, and a composite image obtained by combining the image on the surface of the check and the image for preventing forgery can be generated.

次に、本発明の画像処理方法は、イメージセンサーによって第1の光が照射された媒体の表面を読み取った第1画像を取得するとともに、紫外線を含む第2の光が照射された前記媒体の表面を読み取った第2画像を取得し、前記第1画像の輝度を低下させた第1補正画像を生成するとともに、前記第2画像のコントラストを増大させた第2補正画像を生成し、前記第1補正画像と前記第2補正画像とを合成した合成画像を生成することを特徴とする。   Next, the image processing method of the present invention acquires a first image obtained by reading the surface of the medium irradiated with the first light by the image sensor, and the second medium including the ultraviolet light is irradiated with the second light. A second image obtained by reading the surface is acquired, a first corrected image in which the luminance of the first image is reduced is generated, a second corrected image in which the contrast of the second image is increased is generated, and the first image is generated. A synthesized image obtained by synthesizing one corrected image and the second corrected image is generated.

本発明では、可視光などの第1の光が照射された媒体の第1画像と紫外線を含む第2の光が照射された媒体の第2画像を合成する際に、第1画像については輝度を低下させた第1補正画像を生成し、第2画像についてはコントラストを増大させた第2補正画像を生成して、これら第1補正画像および第2補正画像を合成する。ここで、第2画像のコントラストを増大させた第2補正画像は、第2画像と比較して、UVインクによる印刷部分を判別しやすくなる。また、第2補正画像と、第1画像について輝度を低下させた第1補正画像を合成すれば、第2補正画像におけるUVインクによる印刷部分と第1補正画像の間でコントラストを増大させることができる。よって、可視光線を照射した媒体の表面画像と紫外線を照射した媒体の表面画像を、UVインクによる印刷部分を判別しやすい状態で合成できる。   In the present invention, when the first image of the medium irradiated with the first light such as visible light and the second image of the medium irradiated with the second light including ultraviolet light are combined, the luminance of the first image is determined. A first corrected image with reduced contrast is generated, a second corrected image with increased contrast is generated for the second image, and the first corrected image and the second corrected image are combined. Here, the second corrected image in which the contrast of the second image is increased is easier to discriminate the printed portion by the UV ink than the second image. Further, if the second corrected image and the first corrected image with reduced brightness are synthesized with respect to the first image, the contrast between the printed portion of the second corrected image by the UV ink and the first corrected image can be increased. it can. Therefore, the surface image of the medium irradiated with visible light and the surface image of the medium irradiated with ultraviolet light can be combined in a state where it is easy to discriminate a printed portion with UV ink.

本発明において、前記第1画像の画素の輝度値を一定割合で低下させて前記第1補正画像を生成することができる。このようにすれば、第1補正画像の生成が容易である。   In the present invention, the first corrected image can be generated by reducing the luminance value of the pixel of the first image at a constant rate. In this way, it is easy to generate the first corrected image.

本発明において、UVインクによる印刷部分と、UVインクにより印刷がされていない媒体の表面との間のコントラストを増大させるためには、前記第2画像において、隣り合う画素の輝度値の差が予め設定した輝度差よりも大きい画像部分を含む領域をエッジ領域として抽出し、前記エッジ領域に含まれる複数の画素を、輝度に基づいて、第1画素群と当該第1画素群よりも輝度の低い第2画素群に振分けて、前記第1画素群に含まれる画素と前記第2画素群に含まれる画素との間でコントラストが増大するように画素の輝度値を補正する補正関数を生成し、前記第2画像を構成する画素について画素の輝度値を前記補正関数で補正して前記第2補正画像を生成するものとすることができる。   In the present invention, in order to increase the contrast between the printed portion with the UV ink and the surface of the medium not printed with the UV ink, a difference in luminance value between adjacent pixels in the second image is determined in advance. An area including an image part larger than the set luminance difference is extracted as an edge area, and a plurality of pixels included in the edge area are lower in luminance than the first pixel group and the first pixel group based on the luminance. A correction function for correcting the luminance value of the pixels so as to increase the contrast between the pixels included in the first pixel group and the pixels included in the second pixel group by allocating to the second pixel group; The second correction image may be generated by correcting the luminance value of the pixel constituting the second image with the correction function.

本発明において、前記第1補正画像の画素と前記第2補正画像の画素とを合成した前記合成画像の合成画素の輝度値は、前記第1補正画像の画素の輝度値以上であり、かつ、前記第2補正画像の画素の輝度値以上であるものとすることができる。このようにすれば、合成画像においてUVインクによる印刷部分に対応する画素の輝度が低下しないので、この印刷部分が判別しやすくなる。   In the present invention, the luminance value of the synthesized pixel of the synthesized image obtained by synthesizing the pixel of the first corrected image and the pixel of the second corrected image is equal to or higher than the luminance value of the pixel of the first corrected image, and The luminance value of the pixel of the second corrected image may be greater than or equal to the luminance value. In this way, the luminance of the pixel corresponding to the printed portion of UV ink in the composite image does not decrease, and this printed portion can be easily identified.

本発明において、前記第1画像は可視光に基づく画像を含み、前記第2画像はUVインクからの蛍光に基づく画像を含むものとすることができる。このようにすれば、例えば、UVインクにより偽造防止用画像が印刷されている小切手の表面を読み取って、小切手の表面の画像と偽造防止用画像とを合成した合成画像を生成することができる。   In the present invention, the first image may include an image based on visible light, and the second image may include an image based on fluorescence from UV ink. In this way, for example, the surface of a check on which an image for preventing forgery is printed with UV ink can be read, and a composite image obtained by combining the image on the surface of the check and the image for preventing forgery can be generated.

また、本発明は、イメージセンサーを制御する制御装置で動作するプログラムにおいて、前記制御装置を、前記イメージセンサーを駆動して、第1の光が照射された媒体の表面を読み取った第1画像を取得するとともに、紫外線を含む第2の光が照射された前記媒体の表面を読み取った第2画像を取得する画像取得部と、前記第1画像の輝度を低下させた第1補正画像を生成する第1補正画像生成部と、前記第2画像のコントラストを増大させた第2補正画像を生成する第2補正画像生成部と、前記第1補正画像と前記第2補正画像とを合成した合成画像を生成する合成画像生成部と、に機能させることを特徴とする。   According to the present invention, in a program that operates in a control device that controls an image sensor, the control device drives the image sensor to read a first image read from the surface of the medium irradiated with the first light. An image acquisition unit that acquires the second image obtained by reading the surface of the medium irradiated with the second light including ultraviolet light and a first correction image in which the luminance of the first image is reduced are generated. A first corrected image generating unit; a second corrected image generating unit that generates a second corrected image in which the contrast of the second image is increased; and a composite image obtained by combining the first corrected image and the second corrected image. And a composite image generation unit that generates the function.

本発明によれば、可視光などの第1の光が照射された媒体の第1画像と紫外線が照射された媒体の第2画像を合成する際に、第1画像については輝度を低下させた第1補正画像を生成し、第2画像についてはコントラストを増大させた第2補正画像を生成して、これら第1補正画像および第2補正画像を合成する。ここで、第2画像のコントラストを増大させた第2補正画像は、第2画像と比較して、UVインクによる印刷部分を判別しやすくなる。また、第2補正画像と、第1画像について輝度を低下させた第1補正画像を合成すれば、第2補正画像におけるUVインクによる印刷部分と第1補正画像の間でコントラストを増大させることができる。よって、可視光線を照射した媒体の表面画像と紫外線を照射した媒体の表面画像を、UVインクによる印刷部分を判別しやすい状態で合成できる。   According to the present invention, when combining the first image of the medium irradiated with the first light such as visible light and the second image of the medium irradiated with the ultraviolet light, the luminance of the first image is reduced. A first corrected image is generated, a second corrected image with increased contrast is generated for the second image, and the first corrected image and the second corrected image are combined. Here, the second corrected image in which the contrast of the second image is increased is easier to discriminate the printed portion by the UV ink than the second image. Further, if the second corrected image and the first corrected image with reduced brightness are synthesized with respect to the first image, the contrast between the printed portion of the second corrected image by the UV ink and the first corrected image can be increased. it can. Therefore, the surface image of the medium irradiated with visible light and the surface image of the medium irradiated with ultraviolet light can be combined in a state where it is easy to discriminate a printed portion with UV ink.

本発明を適用した小切手処理システムの説明図である。It is explanatory drawing of the check processing system to which this invention is applied. 小切手処理システムの制御系を示すブロック図である。It is a block diagram which shows the control system of a check processing system. 小切手の第1表面画像および第1補正画像の説明図である。It is explanatory drawing of the 1st surface image of a check, and a 1st correction image. 小切手の第2表面画像および第2補正画像の説明図である。It is explanatory drawing of the 2nd surface image of a check, and a 2nd correction image. 小切手の表面画像の画像部分における輝度値のグラフである。It is a graph of the luminance value in the image part of the surface image of a check. エッジ領域における輝度地のヒストグラムおよび補正関数の説明図である。It is explanatory drawing of the histogram of the brightness place in an edge area | region, and a correction function. 合成画像の説明図である。It is explanatory drawing of a synthesized image.

以下に、図面を参照して、本発明を適用した画像処理装置の実施の形態である小切手処理装置を説明する。   A check processing apparatus as an embodiment of an image processing apparatus to which the present invention is applied will be described below with reference to the drawings.

(小切手処理システム)
図1(a)は小切手処理システムの説明図であり、図1(b)は小切手の説明図である。小切手処理システム(画像処理システム)1は、小切手2による決済処理などを行うものである。図1(a)に示すように、小切手処理システム1は、小切手処理装置5と、小切手処理装置5にケーブル6等で通信可能に接続された制御装置(画像処理装置)7を備える。制御装置7は装置本体8と、装置本体8に接続された入力装置9およびディスプレイ10を備える。装置本体8はコンピューターである。
(Check processing system)
FIG. 1A is an explanatory diagram of a check processing system, and FIG. 1B is an explanatory diagram of a check. A check processing system (image processing system) 1 performs a settlement process using a check 2. As shown in FIG. 1A, the check processing system 1 includes a check processing device 5 and a control device (image processing device) 7 connected to the check processing device 5 via a cable 6 or the like so as to be able to communicate. The control device 7 includes a device body 8, an input device 9 and a display 10 connected to the device body 8. The apparatus main body 8 is a computer.

金融機関に持ち込まれる小切手2の表面2aには、図1(b)に示すように、磁気インクにより顧客の口座番号などを表した磁気インク文字11が印刷されている。また、小切手2の表面2aには、紫外線を照射したときに蛍光を発光するUVインクにより偽造防止用画像12が印刷されている。   On the surface 2a of the check 2 brought into the financial institution, as shown in FIG. 1B, magnetic ink characters 11 representing a customer account number or the like are printed with magnetic ink. An anti-counterfeiting image 12 is printed on the surface 2a of the check 2 with UV ink that emits fluorescence when irradiated with ultraviolet rays.

小切手処理装置5は、図1(a)に示すように、磁気センサー15と、イメージセンサー16と、磁気センサー15による磁気読取位置Aとイメージセンサー16による画像読取位置Bを経由して延びる搬送路17を備える。また、小切手処理装置5は、搬送路17に挿入された小切手2を搬送路17に沿って搬送して磁気読取位置Aと画像読取位置Bを通過させる搬送機構18を備える。搬送機構18は搬送路17に挿入された小切手2を挟持した状態で送り出す搬送ローラー対19と、搬送ローラー対19を駆動する搬送モーター20(図2参照)を備える。   As shown in FIG. 1A, the check processing device 5 includes a magnetic sensor 15, an image sensor 16, a conveyance path extending through a magnetic reading position A by the magnetic sensor 15 and an image reading position B by the image sensor 16. 17. Further, the check processing device 5 includes a transport mechanism 18 that transports the check 2 inserted in the transport path 17 along the transport path 17 and passes the magnetic reading position A and the image reading position B. The transport mechanism 18 includes a transport roller pair 19 that feeds the check 2 inserted in the transport path 17 and a transport motor 20 (see FIG. 2) that drives the transport roller pair 19.

磁気センサー15は磁気読取面21を搬送路17に向けて配置されている。磁気センサー15は、磁気読取位置Aを通過する小切手2から磁気インク文字11を読み取る。   The magnetic sensor 15 is arranged with the magnetic reading surface 21 facing the conveyance path 17. The magnetic sensor 15 reads the magnetic ink character 11 from the check 2 that passes through the magnetic reading position A.

イメージセンサー16は、CIS(Contact Image Sensor)モジュールである。イメージセンサー16は画像読取位置Bを通過する小切手2に光を照射して小切手2からの反射光または発光を読み取る。イメージセンサー16は、照射部25および読取部(撮像素子)26を搬送路17に向けて配置される。   The image sensor 16 is a CIS (Contact Image Sensor) module. The image sensor 16 irradiates the check 2 passing through the image reading position B with light, and reads the reflected light or light emission from the check 2. The image sensor 16 is arranged with the irradiation unit 25 and the reading unit (imaging device) 26 facing the conveyance path 17.

照射部25は小切手2の搬送方向Cと直交する上下方向に線状に設けられている。照射部25は、発光素子として、赤色読取光を照射する複数の赤色発光素子25R、緑色読取光を照射する複数の緑色発光素子25G、青色読取光を照射する複数の青色発光素子25B、および、紫外線からなる紫外線読取光を照射する複数の紫外線発光素子25UVを備える。各読取光を照射する複数の発光素子25R、25G、25B、25UVは、それぞれ上下方向に延びる線状に配列される。   The irradiation unit 25 is linearly provided in the vertical direction perpendicular to the conveyance direction C of the check 2. The irradiation unit 25 includes a plurality of red light emitting elements 25R that emit red reading light, a plurality of green light emitting elements 25G that emit green reading light, a plurality of blue light emitting elements 25B that emit blue reading light, and a light emitting element. A plurality of ultraviolet light emitting elements 25UV for irradiating ultraviolet reading light composed of ultraviolet rays are provided. The plurality of light emitting elements 25R, 25G, 25B, and 25UV that irradiate each reading light are arranged in a line extending in the vertical direction.

読取部26は照射部25に沿って上下方向に線状に設けられている。読取部26はCMOSセンサーなどの撮像素子からなる。読取部26(撮像素子)は、小切手2に各読取光が照射されたタイミングで、画像読取位置Bを通過する小切手2を上下方向に延びる1ライン毎、逐次、に読み取る。   The reading unit 26 is linearly provided in the vertical direction along the irradiation unit 25. The reading unit 26 includes an image sensor such as a CMOS sensor. The reading unit 26 (imaging device) sequentially reads the check 2 passing through the image reading position B for each line extending in the vertical direction at the timing when each reading light is irradiated to the check 2.

小切手処理装置5は搬送機構18により小切手2を搬送路17に沿って搬送する。そして、小切手処理装置5は磁気読取位置Aを通過する小切手2から磁気センサー15により磁気インク文字11を読み取って磁気情報を取得する。また、小切手処理装置5は読み取った磁気情報を制御装置7に送信する。さらに、小切手処理装置5は画像読取位置Bを通過する小切手2からイメージセンサー16により小切手2の表面2aを読み取り、読取情報を、逐次に、制御装置7に送信する。   The check processing device 5 transports the check 2 along the transport path 17 by the transport mechanism 18. Then, the check processing device 5 reads the magnetic ink characters 11 from the check 2 passing through the magnetic reading position A by the magnetic sensor 15 and acquires magnetic information. Further, the check processing device 5 transmits the read magnetic information to the control device 7. Further, the check processing device 5 reads the surface 2a of the check 2 from the check 2 passing through the image reading position B by the image sensor 16, and sequentially transmits the read information to the control device 7.

制御装置7は、小切手処理装置5が取得した磁気情報を受信し、磁気情報と入力装置9から入力される入力情報に基づいて決済処理を行う。   The control device 7 receives the magnetic information acquired by the check processing device 5 and performs a settlement process based on the magnetic information and the input information input from the input device 9.

また、制御装置7は、小切手処理装置5から逐次に送信されてくる読取情報(イメージセンサー16からの出力)に基づいて、第1表面画像(第1画像)と第2表面画像(第2画像)を取得する。第1表面画像は可視光線読取光(赤色読取光、青色読取光、緑色読取光)を小切手2に照射した場合のグレースケール(コンポジットグレー)の画像であり、第2表面画像は紫外線読取光を小切手2に照射した場合のグレースケールの画像である。第1表面画像と第2表面画像は、イメージセンサー16の解像度に応じた画素により構成される。   In addition, the control device 7 performs the first surface image (first image) and the second surface image (second image) based on the read information (output from the image sensor 16) sequentially transmitted from the check processing device 5. ) To get. The first surface image is a gray scale (composite gray) image when the check 2 is irradiated with visible light reading light (red reading light, blue reading light, and green reading light), and the second surface image is obtained with ultraviolet reading light. It is a gray scale image when the check 2 is irradiated. The first surface image and the second surface image are configured by pixels corresponding to the resolution of the image sensor 16.

さらに、制御装置7は、取得した第1表面画像および第2表面画像に補正を施した後に合成し、第1表面画像と第2表面画像を合成した合成画像を生成する。そして、制御装置7は、合成画像を決済処理の証拠として記憶保持する。   Further, the control device 7 corrects and combines the acquired first surface image and second surface image, and generates a combined image by combining the first surface image and the second surface image. Then, the control device 7 stores and holds the composite image as evidence of the settlement process.

(制御系)
図2は小切手処理システム1の制御系を示す概略ブロック図である。図3は第1表面画像および第1補正画像の説明図である。図4は第2表面画像および第2補正画像の説明図である。
(Control system)
FIG. 2 is a schematic block diagram showing a control system of the check processing system 1. FIG. 3 is an explanatory diagram of the first surface image and the first corrected image. FIG. 4 is an explanatory diagram of the second surface image and the second corrected image.

図2に示すように、小切手処理装置5の制御系は、CPUなどを搭載する制御部31を中心に構成されている。制御部31には、制御装置7との間で通信を行うための通信インターフェースを備える通信部32が接続されている。また、制御部31には、搬送モーター20、磁気センサー15およびイメージセンサー16が不図示のドライバーを介して接続される。   As shown in FIG. 2, the control system of the check processing device 5 is configured around a control unit 31 on which a CPU and the like are mounted. A communication unit 32 including a communication interface for communicating with the control device 7 is connected to the control unit 31. Further, the transport motor 20, the magnetic sensor 15, and the image sensor 16 are connected to the control unit 31 via a driver (not shown).

制御部31では制御プログラムが動作している。制御プログラムは、制御部31を、搬送制御部33、磁気情報取得部34、画像読取部35として機能させている。従って、制御部31は、搬送制御部33、磁気情報取得部34、画像読取部35を有する。   In the control unit 31, a control program is operating. The control program causes the control unit 31 to function as a conveyance control unit 33, a magnetic information acquisition unit 34, and an image reading unit 35. Therefore, the control unit 31 includes a conveyance control unit 33, a magnetic information acquisition unit 34, and an image reading unit 35.

搬送制御部33は、搬送モーター20を駆動制御して、小切手2を搬送路17に沿って搬送する。   The conveyance control unit 33 drives and controls the conveyance motor 20 to convey the check 2 along the conveyance path 17.

磁気情報取得部34は、磁気センサー15を駆動して、磁気読取位置Aを通過する小切手2の磁気インク文字11から磁気読取情報(検出信号)を読み取る。また、磁気情報取得部34は、磁気読取情報に基づいて、磁気インク文字11を認識する。磁気インク文字11の認識は、磁気センサー15から出力される磁気読取情報と、予め記憶保持している磁気インク文字11の信号波形パターンとを照合して行われる。磁気情報取得部34は磁気インク文字11の認識結果を磁気情報として取得する。磁気情報が取得されると、磁気情報取得部34はこの磁気情報を制御装置7に送信する。   The magnetic information acquisition unit 34 drives the magnetic sensor 15 to read magnetic reading information (detection signal) from the magnetic ink character 11 of the check 2 that passes the magnetic reading position A. Further, the magnetic information acquisition unit 34 recognizes the magnetic ink character 11 based on the magnetic reading information. The magnetic ink character 11 is recognized by collating the magnetic reading information output from the magnetic sensor 15 with the signal waveform pattern of the magnetic ink character 11 stored and held in advance. The magnetic information acquisition unit 34 acquires the recognition result of the magnetic ink character 11 as magnetic information. When the magnetic information is acquired, the magnetic information acquisition unit 34 transmits this magnetic information to the control device 7.

画像読取部35は、イメージセンサー16を駆動して、画像読取位置Bを通過する小切手2から小切手2の表面2aを読み取る。   The image reading unit 35 drives the image sensor 16 to read the surface 2 a of the check 2 from the check 2 that passes through the image reading position B.

イメージセンサー16による小切手2の表面2aの読み取りに際し、画像読取部35は、画像読取位置Bで小切手2を読取解像度に対応する1ライン分の搬送量だけ搬送する間に、照射部25から小切手2の表面2aに赤色読取光、緑色読取光、青色読取光、および紫外線読取光をこの順番で順次に照射する。また、画像読取部35は、小切手2が1ライン分の搬送量だけ搬送される毎に、読取部26に、赤色読取光が照射された小切手2の1ライン分の表面部分、青色読取光が照射された小切手2の1ライン分の表面部分、緑色読取光が照射された小切手2の1ライン分の表面部分、紫外線読取光が照射された小切手2の1ライン分の表面部分を逐次に読みとらせる。さらに、画像読取部35は、赤色読取光が照射されている間に読取部26から出力される読取情報、緑色読取光が照射されている間に読取部26から出力される読取情報、青色読取光が照射されている間に読取部26から出力される読取情報、紫外線読取光が照射されている間に読取部26から出力される読取情報を、逐次に、制御装置7に送信する。   When reading the surface 2 a of the check 2 by the image sensor 16, the image reading unit 35 transfers the check 2 from the irradiation unit 25 to the check 2 while conveying the check 2 by an amount corresponding to one line corresponding to the reading resolution at the image reading position B. The surface 2a is irradiated with red reading light, green reading light, blue reading light, and ultraviolet reading light in this order. Further, every time the check 2 is conveyed by the conveyance amount for one line, the image reading unit 35 receives the surface portion for one line of the check 2 irradiated with red reading light and the blue reading light to the reading unit 26. The surface portion of one line of the irradiated check 2, the surface portion of one line of the check 2 irradiated with the green reading light, and the surface portion of one line of the check 2 irradiated with the ultraviolet reading light are sequentially read. Let me take it. Further, the image reading unit 35 reads the reading information output from the reading unit 26 while the red reading light is irradiated, the reading information output from the reading unit 26 while the green reading light is irradiated, and the blue reading. The reading information output from the reading unit 26 while the light is irradiated and the reading information output from the reading unit 26 while the ultraviolet reading light is applied are sequentially transmitted to the control device 7.

次に、制御装置7は、図2に示すように、小切手処理装置制御部41、画像処理部42、および、決済処理部43を備える。制御装置7は、装置本体8でプログラムが動作することにより、小切手処理装置制御部41、画像処理部42、および、決済処理部43として機能する。   Next, as shown in FIG. 2, the control device 7 includes a check processing device control unit 41, an image processing unit 42, and a settlement processing unit 43. The control device 7 functions as a check processing device control unit 41, an image processing unit 42, and a payment processing unit 43 when a program operates on the device main body 8.

小切手処理装置制御部41は、小切手処理装置5に小切手処理動作を開始させる処理動作開始命令を送信する。   The check processing device control unit 41 transmits a processing operation start command for starting the check processing operation to the check processing device 5.

画像処理部42は、可視光線(赤色読取光・緑色読取光・青色読取光)が照射されている間に読取部26から出力される読取情報に基づいて第1表面画像G1を取得する。また、画像読取部35は、紫外線読取光が照射されている間に読取部26から出力される読取情報に基づいて、第2表面画像G2を取得する。さらに、画像処理部42は、第1表面画像G1と第2表面画像G2を合成した合成画像Iを生成する。   The image processing unit 42 acquires the first surface image G1 based on the read information output from the reading unit 26 while the visible light (red reading light, green reading light, and blue reading light) is irradiated. Further, the image reading unit 35 acquires the second surface image G2 based on the reading information output from the reading unit 26 while the ultraviolet reading light is irradiated. Furthermore, the image processing unit 42 generates a composite image I obtained by combining the first surface image G1 and the second surface image G2.

決済処理部43は、小切手処理装置5から受信した口座番号などの磁気情報、入力装置9を介して制御装置7への入力される金額などの入力情報に基づいて決済処理を行う。また、決済処理部43は、画像処理部42により生成された合成画像Iをディスプレイ10に表示する。さらに、決済処理部43は、合成画像Iを、決済の日付、磁気情報および入力情報などを含む決済情報と関連付けて記憶保持する。   The settlement processing unit 43 performs settlement processing based on magnetic information such as an account number received from the check processing device 5 and input information such as an amount input to the control device 7 via the input device 9. Further, the settlement processing unit 43 displays the composite image I generated by the image processing unit 42 on the display 10. Further, the settlement processing unit 43 stores and holds the composite image I in association with settlement information including a settlement date, magnetic information, input information, and the like.

ここで、画像処理部42は、画像取得部45、補正画像生成部46、合成画像生成部47を備える。   Here, the image processing unit 42 includes an image acquisition unit 45, a corrected image generation unit 46, and a composite image generation unit 47.

画像取得部45は、赤色読取光が照射されている間に読取部26から出力される読取情報、緑色読取光が照射されている間に読取部26から出力される読取情報、青色読取光が照射されている間に読取部26から出力される読取情報に基づいて、第1表面画像G1を取得する。画像取得部45により取得される第1表面画像G1は図3(a)の上側の図に示すものとなる。図3(a)の下側の図は、第1表面画像G1における明るさ(輝度値)の分布のヒストグラムである。画像をディスプレイ10に表示するため、明るさを輝度で表し、ヒストグラムの横軸を輝度値とし、縦軸を度数(画素数)とする。前述のとおり、第1表面画像G1グレースケールの画像であるので、輝度を表す輝度値は、256階調とし、輝度値0が最も暗く(黒)、輝度値255が最も明るい(白)ものとする。   The image acquisition unit 45 receives reading information output from the reading unit 26 while the red reading light is emitted, reading information output from the reading unit 26 while the green reading light is emitted, and blue reading light. Based on the read information output from the reading unit 26 during irradiation, the first surface image G1 is acquired. The first surface image G1 acquired by the image acquisition unit 45 is as shown in the upper diagram of FIG. The lower diagram in FIG. 3A is a histogram of the distribution of brightness (luminance values) in the first surface image G1. In order to display an image on the display 10, brightness is represented by luminance, the horizontal axis of the histogram is a luminance value, and the vertical axis is frequency (number of pixels). As described above, since the first surface image G1 is a grayscale image, the luminance value representing luminance is 256 gradations, the luminance value 0 is the darkest (black), and the luminance value 255 is the brightest (white). To do.

また、画像取得部45は、紫外線読取光が照射されている間に読取部26から出力される読取情報に基づいて、第2表面画像G2を取得する。画像取得部45により取得される第2表面画像G2は図4(a)の上側に示すものとなる。図4(a)の下側の図は、第2表面画像G2における明るさ(輝度値)の分布のヒストグラムである。第2表面画像G2は、小切手2の表面で反射された読取光の反射光(紫外線)を撮像した部分が暗く(輝度が低く)、UVインクによる印刷部分により発光した蛍光を撮像した部分が明るい(輝度が高い)。   The image acquisition unit 45 acquires the second surface image G2 based on the read information output from the reading unit 26 while the ultraviolet reading light is irradiated. The second surface image G2 acquired by the image acquisition unit 45 is shown on the upper side of FIG. The lower diagram in FIG. 4A is a histogram of the distribution of brightness (luminance values) in the second surface image G2. In the second surface image G2, the portion where the reflected light (ultraviolet light) of the reading light reflected by the surface of the check 2 is imaged is dark (the luminance is low), and the portion where the fluorescence emitted from the printed portion by the UV ink is imaged is bright. (High brightness).

補正画像生成部46は、第1表面画像G1を補正する第1補正画像生成部51と、第2表面画像を補正する第2補正画像生成部52を備える。   The correction image generation unit 46 includes a first correction image generation unit 51 that corrects the first surface image G1 and a second correction image generation unit 52 that corrects the second surface image.

第1補正画像生成部51は、第1表面画像G1の各画素の輝度値を一定割合で低下させて第1補正画像を生成する。本例では、第1表面画像G1の各画素の輝度値を5割低下させる。第1補正画像生成部51により生成される第1補正画像H1は、図3(b)の上側の図に示すものとなる。図3(b)の下側の図は、第1補正画像H1における明るさ(輝度値)の分布のヒストグラムである。図3に示すように、第1補正画像H1は、第1表面画像G1と比較して暗い(輝度が低下した)画像である。   The first corrected image generation unit 51 generates a first corrected image by reducing the luminance value of each pixel of the first surface image G1 at a constant rate. In this example, the luminance value of each pixel of the first surface image G1 is reduced by 50%. The first corrected image H1 generated by the first corrected image generation unit 51 is as shown in the upper diagram of FIG. The lower diagram in FIG. 3B is a histogram of the distribution of brightness (luminance values) in the first corrected image H1. As shown in FIG. 3, the first corrected image H1 is an image that is darker (luminance is reduced) than the first surface image G1.

第2補正画像生成部52は、エッジ領域抽出部53、補正関数生成部54、輝度値補正画像生成部55を備える。   The second corrected image generation unit 52 includes an edge region extraction unit 53, a correction function generation unit 54, and a brightness value correction image generation unit 55.

エッジ領域抽出部53は、第2表面画像G2が取得されると、第2表面画像G2の画像部分をエッジ領域として抽出する。エッジ領域は第2表面画像G2を構成している各画素の輝度値を参照して抽出される。エッジ領域は、隣り合う第1画素および第2画素の輝度値の差が予め設定した輝度差よりも大きい画像部分を含む領域である。また、エッジ領域は、第1画素および第2画素のうち輝度値の高い第1画素の輝度値が、第2表面画像G2の全画素の輝度値の平均Aveよりも高い画像部分を含む領域である。   When the second surface image G2 is acquired, the edge region extraction unit 53 extracts the image portion of the second surface image G2 as an edge region. The edge region is extracted with reference to the luminance value of each pixel constituting the second surface image G2. The edge region is a region including an image portion in which the difference between the luminance values of the adjacent first pixel and second pixel is larger than a preset luminance difference. Further, the edge region is a region including an image portion in which the luminance value of the first pixel having the higher luminance value among the first pixel and the second pixel is higher than the average Ave of the luminance values of all the pixels of the second surface image G2. is there.

図5は、第2表面画像G2において、偽造防止用画像12を小切手2の長手方向(搬送方向Cに対応する方向)に通過する画素列の一部分の輝度を示したグラフである。横軸は画素の位置であり、縦軸はその位置にある画素の輝度値(0〜255)を示す。輝度値0は黒であり、輝度値255は白である。図5に示す例では、隣り合う第1画素および第2画素の輝度値の差が所定の輝度差より大きい画像部分として、P1、P2、P3、P4の4つの画像部分がある。P1、P2の画像部分は、輝度の高い第1画素の輝度値が画像を構成する全画素の輝度値の平均Aveよりも低い。P3、P4の画像部分は、輝度の高い第1画素の輝度値が画像を構成する全画素の輝度値の平均Aveよりも高い。   FIG. 5 is a graph showing the luminance of a part of a pixel row that passes through the anti-counterfeit image 12 in the longitudinal direction of the check 2 (direction corresponding to the transport direction C) in the second surface image G2. The horizontal axis represents the pixel position, and the vertical axis represents the luminance value (0 to 255) of the pixel at that position. The luminance value 0 is black and the luminance value 255 is white. In the example shown in FIG. 5, there are four image portions P1, P2, P3, and P4 as image portions in which the difference between the luminance values of the adjacent first and second pixels is larger than a predetermined luminance difference. In the image portions P1 and P2, the luminance value of the first pixel having high luminance is lower than the average Ave of the luminance values of all the pixels constituting the image. In the image portions P3 and P4, the luminance value of the first pixel having high luminance is higher than the average Ave of the luminance values of all the pixels constituting the image.

ここで、UVインクにより発光した蛍光を撮像した画像部分の輝度値は、UVインクの濃度が十分なものでない場合でも、画像を構成する全画素の輝度値の平均Aveよりも高くなる。従って、輝度値が輝度値の平均Aveよりも高い画素を含むP3、P4の画像部分は、UVインクによる印刷部分を撮影した画像部分である。よって、エッジ領域抽出部53は、P3の画像部分またはP4の画像部分をエッジ領域として抽出する。抽出されるエッジ領域56は、例えば、図4(a)に示す領域である。なお、P1、P2の画像部分は、小切手2の表面に模様が施されていたり、通常のインクにより印刷が施されていたりする部分である。   Here, the luminance value of the image portion obtained by imaging the fluorescence emitted by the UV ink is higher than the average Ave of the luminance values of all the pixels constituting the image even when the concentration of the UV ink is not sufficient. Accordingly, the P3 and P4 image portions including pixels whose luminance values are higher than the average luminance value Ave are image portions obtained by photographing the printed portion using UV ink. Therefore, the edge region extraction unit 53 extracts the image portion P3 or the image portion P4 as an edge region. The extracted edge region 56 is, for example, a region shown in FIG. The image portions P1 and P2 are portions where the surface of the check 2 is patterned or printed with ordinary ink.

補正関数生成部54は、エッジ領域56に含まれる複数の画素を輝度値に基づいて第1画素群と第2画素群に振分ける。図6(a)はエッジ領域56に含まれる複数の画素における明るさ(輝度値)の分布のヒストグラムの例である。図6(b)は補正関数のグラフである。   The correction function generator 54 distributes the plurality of pixels included in the edge region 56 into a first pixel group and a second pixel group based on the luminance value. FIG. 6A is an example of a histogram of brightness (luminance value) distribution in a plurality of pixels included in the edge region 56. FIG. 6B is a graph of the correction function.

エッジ領域56に含まれる複数の画素は、図6(a)に示すように、明るさ(輝度値)の分布のヒストグラムが輝度の高い部分と低い部分に2つの山が形成される双峰分布を備えるものとなる。従って、補正関数生成部54は、双峰分布している複数の値を2つに分ける閾値を見つけるアルゴリズムを用いて、これら複数の画素を、第1画素群と、第1画素群よりも輝度値の低い第2画素群に振分ける。双峰分布している複数の値を2つに分ける閾値を見つけるアルゴリズムとしては、大津の手法などが知られている。   As shown in FIG. 6A, the plurality of pixels included in the edge region 56 has a bimodal distribution in which two peaks are formed in a portion where the brightness (brightness value) distribution is high and low. It will be equipped with. Therefore, the correction function generation unit 54 uses an algorithm for finding a threshold value that divides a plurality of bimodal distribution values into two, and sets the plurality of pixels to a luminance higher than that of the first pixel group and the first pixel group. The second pixel group having a low value is assigned. As an algorithm for finding a threshold value for dividing a plurality of bimodal distribution values into two, Otsu's method is known.

また、補正関数生成部54は、第1画素群に含まれる各画素と第2画素群に含まれる各画素との間でコントラストが増大するように各画素の輝度値を補正する補正関数を生成する。補正関数生成部54は、第1画素群に含まれる各画素の輝度値を平均した第1平均輝度値L1と、第2画素群に含まれる各画素の輝度値を平均した第2平均輝度値L2と、第1平均輝度値L1および第2平均輝度値L2を平均した第3平均輝度値L3に基づいて、補正関数を生成する。   Further, the correction function generation unit 54 generates a correction function for correcting the luminance value of each pixel so that the contrast increases between each pixel included in the first pixel group and each pixel included in the second pixel group. To do. The correction function generation unit 54 averages the luminance value of each pixel included in the first pixel group, and the second average luminance value averaged the luminance value of each pixel included in the second pixel group. A correction function is generated based on L2 and a third average luminance value L3 obtained by averaging the first average luminance value L1 and the second average luminance value L2.

ここで、生成される補正関数は、第1平均輝度値L1の画素の輝度値を第1目標輝度値T1に補正し、第2平均輝度値L2の画素の輝度値を第2目標輝度値T2に補正し、第3平均輝度値L3の画素の輝度値を第3目標輝度値T3に補正するものである。第1目標輝度値T1は、第2目標輝度値T2および第3目標輝度値T3よりも高い値であり、輝度値の最高値(本例では255)よりも低い値である。第2目標輝度値T2は第3目標輝度値T3よりも低い値であり、輝度値の最低値(本例では0)よりも低い値である。   Here, the generated correction function corrects the luminance value of the pixel having the first average luminance value L1 to the first target luminance value T1, and changes the luminance value of the pixel having the second average luminance value L2 to the second target luminance value T2. The luminance value of the pixel having the third average luminance value L3 is corrected to the third target luminance value T3. The first target luminance value T1 is higher than the second target luminance value T2 and the third target luminance value T3, and is lower than the highest luminance value (255 in this example). The second target luminance value T2 is a value lower than the third target luminance value T3, and is lower than the lowest luminance value (0 in this example).

また、補正関数は、第1目標輝度値T1と第1平均輝度値L1との第1差分が、第2目標輝度値T2と第2平均輝度値L2との第2差分および第3目標輝度値T3と第3平均輝度値L3との第3差分よりも大きくなり、第2差分が第3差分よりも小さくなるように、各画素の輝度値を補正するものである。本例では、第1平均輝度値L1が54.02であり、第1目標輝度値T1が200である。第1差分は145.98である。第2平均輝度値L2が41.64であり、第2目標輝度値T2が63である。第2差分は21.36である。第3平均輝度値L3が47.83であり、第3目標輝度値T3が127である。第2差分は97.17である。   The correction function is such that the first difference between the first target luminance value T1 and the first average luminance value L1 is the second difference between the second target luminance value T2 and the second average luminance value L2, and the third target luminance value. The brightness value of each pixel is corrected so that the third difference between T3 and the third average brightness value L3 is larger than the third difference, and the second difference is smaller than the third difference. In this example, the first average luminance value L1 is 54.02, and the first target luminance value T1 is 200. The first difference is 145.98. The second average luminance value L2 is 41.64, and the second target luminance value T2 is 63. The second difference is 21.36. The third average luminance value L3 is 47.83, and the third target luminance value T3 is 127. The second difference is 97.17.

補正関数生成部54が生成する補正関数は、例えば、図6(b)に示すものとなる。図6(b)の横軸は、補正前の画素の輝度値(入力輝度値)であり、縦軸は、補正後の画素の輝度値(補正輝度値)である。本例では、補正関数は、ペジェ曲線、シグモイド曲線などにより表される。   The correction function generated by the correction function generation unit 54 is, for example, as shown in FIG. The horizontal axis in FIG. 6B is the luminance value (input luminance value) of the pixel before correction, and the vertical axis is the luminance value (corrected luminance value) of the pixel after correction. In this example, the correction function is represented by a Pezier curve, a sigmoid curve, or the like.

なお、第1目標輝度値T1を、輝度値の最高値(本例では255)よりも低い値とするのは、第2表面画像G2を補正関数によって補正した第2補正画像の輝度が、最高値で飽和することを防止あるいは抑制するためである。ここで、第2目標輝度値T2を、第2平均輝度値L2よりも低い値として、補正関数を生成することもできる。   The first target luminance value T1 is set to a value lower than the highest luminance value (255 in this example) because the luminance of the second corrected image obtained by correcting the second surface image G2 with the correction function is the highest. This is to prevent or suppress saturation with the value. Here, the correction function can be generated by setting the second target luminance value T2 to a value lower than the second average luminance value L2.

輝度値補正画像生成部55は、第2表面画像G2を構成する全画素について各画素の輝度値を補正関数で補正した第2補正画像H2を生成する。第2補正画像H2は図4(b)の上側の図に示すものとなる。図4(b)の下側の図は、第2補正画像H2における明るさ(輝度値)の分布のヒストグラムである。図4(b)に示す第2補正画像H2は、図4(a)に示す第2表面画像G2と比較して、コントラストが増大した画像となる。   The luminance value corrected image generation unit 55 generates a second corrected image H2 in which the luminance value of each pixel is corrected with a correction function for all the pixels constituting the second surface image G2. The second corrected image H2 is as shown in the upper diagram of FIG. The lower diagram in FIG. 4B is a histogram of the brightness (luminance value) distribution in the second corrected image H2. The second corrected image H2 illustrated in FIG. 4B is an image having an increased contrast compared to the second surface image G2 illustrated in FIG.

合成画像生成部47は、第1補正画像H1と第2補正画像H2を合成した合成画像を生成する。図7(a)は合成画像生成部47により生成された合成画像の説明図であり、図7(b)は合成画像における明るさ(輝度値)の分布のヒストグラムである。   The composite image generation unit 47 generates a composite image obtained by combining the first correction image H1 and the second correction image H2. FIG. 7A is an explanatory diagram of a composite image generated by the composite image generation unit 47, and FIG. 7B is a histogram of brightness (luminance value) distribution in the composite image.

合成画像生成部47は、第1補正画像H1と第2補正画像H2で対応する画素同士を合成する。合成画像生成部47は、合成画像Iにおいて第1補正画像H1の画素と第2補正画像H2の画素を合成した合成画素が、第1補正画像H1の前記画素の輝度値以上であり、かつ、第2補正画像H2の前記画素の輝度値以上となる合成方法で、第1補正画像H1と第2補正画像H2を合成する。   The synthesized image generation unit 47 synthesizes corresponding pixels in the first corrected image H1 and the second corrected image H2. The synthesized image generation unit 47 has a synthesized pixel obtained by synthesizing the pixel of the first corrected image H1 and the pixel of the second corrected image H2 in the synthesized image I equal to or higher than the luminance value of the pixel of the first corrected image H1, and The first corrected image H1 and the second corrected image H2 are combined by a combining method that is equal to or higher than the luminance value of the pixel of the second corrected image H2.

本例では、以下の式(1)に基づいて、第1補正画像H1の画素と第2補正画像H2の画素を合成する。式(1)において、Imは合成画素の輝度であり、I1は第1補正画像H1の画素であり、I2は第2補正画像H2の画素である。
Im=255×(1−(1−I1/255)×(1−I2/255))・・・(1)
In this example, the pixels of the first corrected image H1 and the pixels of the second corrected image H2 are synthesized based on the following equation (1). In Expression (1), Im is the luminance of the combined pixel, I1 is a pixel of the first corrected image H1, and I2 is a pixel of the second corrected image H2.
Im = 255 * (1- (1-I1 / 255) * (1-I2 / 255)) (1)

式(1)に基づく合成方法は、第1補正画像H1をネガポジ反転させるとともに、第2補正画像H2をネガポジ反転させ、反転させた第1補正画像H1の各画素と反転させた第2補正画像H2の各画素を重ね合わせ、重ね合わせた画像を、さらにネガポジ反転することにより、合成画像Iを生成するものである。   In the synthesis method based on the formula (1), the first correction image H1 is negative-positive-inverted, the second correction image H2 is negative-positive-inverted, and each pixel of the inverted first correction image H1 is inverted. The composite image I is generated by superimposing the pixels of H2 and further performing negative-positive inversion on the superimposed image.

ここで、合成画像生成部47により生成された合成画像Iは、図7(a)に示すものとなる。合成画像Iは、第1表面画像G1について輝度を低下させた第1補正画像H1と、第2表面画像G2についてコントラストを増大させた第2補正画像H2を合成している。また、合成画像生成部47による合成方法では、合成画像Iにおいて第1補正画像H1の画素と第2補正画像H2の画素を合成した合成画素が低下しない。これらの結果、合成画像Iでは偽造防止用画像12に対応する画素の輝度が低下しないので、偽造防止用画像12が判別しやすくなる。   Here, the composite image I generated by the composite image generation unit 47 is as shown in FIG. The composite image I is a composite of the first corrected image H1 with reduced brightness for the first surface image G1 and the second corrected image H2 with increased contrast for the second surface image G2. Further, in the composition method by the composite image generation unit 47, the composite pixel obtained by combining the pixel of the first correction image H1 and the pixel of the second correction image H2 in the composite image I does not decrease. As a result, in the composite image I, the luminance of the pixels corresponding to the forgery prevention image 12 does not decrease, so that the forgery prevention image 12 can be easily identified.

なお、合成画像生成部47は、以下の式(2)に基づいて、第1補正画像H1の画素と第2補正画像H2の画素を合成してもよい。
Im=max(I1,I2)・・・(2)
Note that the composite image generation unit 47 may combine the pixels of the first correction image H1 and the pixels of the second correction image H2 based on the following equation (2).
Im = max (I1, I2) (2)

式(2)に基づく合成方法は、第1補正画像H1と第2補正画像H2で対応する画素同士を合成する際に、2つの画素のうち輝度値の高い画素の輝度値を合成画素の輝度値として合成画像Iを生成するものである。   In the synthesis method based on Expression (2), when the corresponding pixels in the first correction image H1 and the second correction image H2 are synthesized, the luminance value of the pixel having the higher luminance value of the two pixels is used as the luminance of the synthesis pixel. The composite image I is generated as a value.

(小切手処理動作)
小切手2が持ち込まれた金融機関で決済処理を行う際には、小切手2を小切手処理装置5の搬送路17に挿入して、制御装置7から小切手処理装置5に処理動作開始命令を送信する。
(Check processing operation)
When payment processing is performed at the financial institution where the check 2 is brought in, the check 2 is inserted into the transport path 17 of the check processing device 5, and a processing operation start command is transmitted from the control device 7 to the check processing device 5.

これにより、小切手処理装置5は、小切手2を搬送路17に沿って搬送して、小切手2に印刷された磁気インク文字11を磁気センサー15で読み取り、磁気情報を取得する。また、小切手処理装置5は取得した磁気情報を制御装置7に送信する。さらに、小切手処理装置5は、小切手2の表面2aをイメージセンサー16で読み取って、この読取情報を逐次に制御装置7に送信する。   As a result, the check processing device 5 transports the check 2 along the transport path 17, reads the magnetic ink characters 11 printed on the check 2 with the magnetic sensor 15, and acquires magnetic information. Further, the check processing device 5 transmits the acquired magnetic information to the control device 7. Further, the check processing device 5 reads the surface 2 a of the check 2 with the image sensor 16 and sequentially transmits the read information to the control device 7.

小切手処理装置5からの読取情報を受信した制御装置7は、第1表面画像G1(図3(a)参照)および第2表面画像G2(図4(a)参照)を取得する。そして、制御装置7は、第1表面画像G1の輝度値を補正した第1補正画像H1を生成する(図3(b)参照)。また、制御装置7は、第2表面画像G2に基づいて補正関数を生成し、第2表面画像G2を補正関数で補正した第2補正画像H2を生成する(図4(b)参照)。その後、制御装置7は、第1補正画像H1と第2補正画像H2を合成した合成画像Iを生成し(図7(a)参照)、この合成画像Iをディスプレイ10に表示する。   The control device 7 that has received the read information from the check processing device 5 acquires the first surface image G1 (see FIG. 3A) and the second surface image G2 (see FIG. 4A). And the control apparatus 7 produces | generates the 1st correction image H1 which correct | amended the luminance value of the 1st surface image G1 (refer FIG.3 (b)). Moreover, the control apparatus 7 produces | generates a correction function based on the 2nd surface image G2, and produces | generates the 2nd correction image H2 which correct | amended the 2nd surface image G2 with the correction function (refer FIG.4 (b)). Thereafter, the control device 7 generates a composite image I obtained by combining the first correction image H1 and the second correction image H2 (see FIG. 7A), and displays the composite image I on the display 10.

ここで、オペレーターはディスプレイ10に表示される合成画像Iに基づいて小切手2の真贋を確認する。すなわち、オペレーターは合成画像Iに現れている偽造防止用画像12をディスプレイ10上で確認する。また、オペレーターは、合成画像Iや小切手2に基づいて表書きなどを確認して、決済に必要な情報を、入力装置9を介して装置本体8に入力する。決済に必要な情報が入力されると、この入力情報と磁気情報に基づいて決済処理が行われる。決済が完了すると、制御装置7は、合成画像Iを、決済の日付、磁気情報および入力情報などを含む決済情報と関連付けて記憶保持する。   Here, the operator confirms the authenticity of the check 2 based on the composite image I displayed on the display 10. That is, the operator checks on the display 10 the forgery prevention image 12 appearing in the composite image I. In addition, the operator confirms a front page and the like based on the composite image I and the check 2, and inputs information necessary for settlement to the apparatus main body 8 via the input apparatus 9. When information necessary for settlement is input, settlement processing is performed based on the input information and magnetic information. When the payment is completed, the control device 7 stores and holds the composite image I in association with the payment information including the date of payment, magnetic information, input information, and the like.

本例によれば、小切手2による決済の証拠として、可視光線を照射した小切手2の第1表面画像G1と、紫外線を照射した小切手2の第2表面画像G2を別々に保存するのではなく、これらを合成した合成画像Iを保存する。従って、決済の証拠として保存する画像のデータ容量を抑制することができる。   According to this example, as a proof of settlement by the check 2, instead of separately storing the first surface image G1 of the check 2 irradiated with visible light and the second surface image G2 of the check 2 irradiated with ultraviolet light, A composite image I obtained by combining these is stored. Accordingly, it is possible to suppress the data capacity of the image stored as proof of settlement.

また、本例では、合成画像IにおいてUVインクによる印刷部分に対応する画素の輝度が、合成前の第2補正画像H2と比較して低下しないので、合成画像Iにおいて偽造防止用画像12を判別しやすい。   Further, in this example, since the luminance of the pixel corresponding to the printed portion of the UV ink in the composite image I does not decrease compared to the second corrected image H2 before composition, the forgery prevention image 12 is determined in the composite image I. It's easy to do.

さらに、本例では、第1補正画像H1を生成する際に、第1表面画像G1の各画素の輝度値を一律の割合で低下させている。従って、第1補正画像H1の生成が容易である。また、本例では、第1表面画像G1の各画素の輝度値を一律の割合で低下させることにより明るさ(輝度値)の分布のヒストグラムを圧縮して、図3(b)に示すように第1補正画像H1における輝度の上限値を下げている。従って、合成画像Iにおける明るさ(輝度値)の分布のヒストグラムにおいて、第1補正画像H1における輝度の上限値を超えた部分は、第1補正画像H1に関する情報を含まない部分であると判別できる。すなわち、本例では、第1表面画像G1の各画素の輝度値を一律に5割低下させた後に第2補正画像H2と合成しているので、合成画像Iにおける輝度値128以上の画素は、第1表面画像G1に第2補正画像H2を合成することにより第1表面画像G1に追加された情報であり、第1表面画像G1の情報を含まない部分であると区分できる。   Further, in this example, when the first corrected image H1 is generated, the luminance value of each pixel of the first surface image G1 is reduced at a uniform rate. Therefore, it is easy to generate the first corrected image H1. Further, in this example, the brightness value (brightness value) distribution histogram is compressed by reducing the luminance value of each pixel of the first surface image G1 at a uniform rate, as shown in FIG. The upper limit value of the luminance in the first corrected image H1 is lowered. Accordingly, in the histogram of the brightness (luminance value) distribution in the composite image I, it is possible to determine that the portion exceeding the upper limit value of the luminance in the first corrected image H1 is a portion that does not include information on the first corrected image H1. . That is, in this example, since the luminance value of each pixel of the first surface image G1 is uniformly reduced by 50% and then synthesized with the second corrected image H2, pixels having a luminance value of 128 or more in the synthesized image I are It is information added to the first surface image G1 by synthesizing the second correction image H2 with the first surface image G1, and can be classified as a portion not including the information of the first surface image G1.

(その他の実施の形態)
上記の例では、画像処理装置の実施の形態として小切手を処理する小切手処理装置を示したが、小切手以外のUVインクで印刷された媒体から読取った画像を処理する画像処理装置にも適用可能である。また、上記の例では、第1補正画像H1と第2補正画像H2をRGB色空間で合成しているが、第1補正画像H1と第2補正画像H2の各画素をHSB色空間の値に変換して、HSB色空間でこれらを合成した合成画像を生成してもよい。
(Other embodiments)
In the above example, the check processing device for processing a check is shown as an embodiment of the image processing device, but it can also be applied to an image processing device for processing an image read from a medium printed with UV ink other than a check. is there. In the above example, the first correction image H1 and the second correction image H2 are synthesized in the RGB color space. However, each pixel of the first correction image H1 and the second correction image H2 is set to a value in the HSB color space. You may convert and produce | generate the synthesized image which synthesize | combined these in HSB color space.

また、小切手処理システム1では、制御装置7における画像取得部45、補正画像生成部46、合成画像生成部47を、小切手処理装置5の側に搭載する構成を採用することもできる。この場合、小切手処理装置5に搭載された合成画像生成部47は、合成画像Iを制御装置7に送信する。また、この場合には、小切手処理装置5の制御部(制御装置)31上で画像処理プログラムを動作させることにより、制御部31を、画像取得部45、補正画像生成部46および合成画像生成部47として機能させる。   In the check processing system 1, a configuration in which the image acquisition unit 45, the corrected image generation unit 46, and the composite image generation unit 47 in the control device 7 are mounted on the check processing device 5 side may be employed. In this case, the composite image generation unit 47 mounted on the check processing device 5 transmits the composite image I to the control device 7. In this case, the image processing program is operated on the control unit (control device) 31 of the check processing device 5, thereby causing the control unit 31 to change the image acquisition unit 45, the correction image generation unit 46, and the composite image generation unit. Function as 47.

なお、小切手処理装置5としては、画像読取位置Bにおいて搬送路17を挟んで対峙する一対のイメージセンサー16を備え、小切手2の表面画像および裏面画像を取得するものとしてもよい。また、第1表面画像G1に基づいて、小切手2の表面2aに記載された文字などを画像認識する画像認識部を搭載するものとすることができる。さらに、小切手処理システム1としては、小切手処理装置5における磁気情報取得部および画像取得部45を制御装置7の側に搭載する構成を採用することもできる。この場合には、小切手処理装置5から制御装置7に磁気読取情報及び補正読取情報を送信するものとする。   Note that the check processing device 5 may include a pair of image sensors 16 that face each other across the conveyance path 17 at the image reading position B, and acquire a front image and a back image of the check 2. Further, it is possible to mount an image recognition unit for recognizing characters and the like written on the surface 2a of the check 2 based on the first surface image G1. Further, the check processing system 1 may employ a configuration in which the magnetic information acquisition unit and the image acquisition unit 45 in the check processing device 5 are mounted on the control device 7 side. In this case, the magnetic reading information and the corrected reading information are transmitted from the check processing device 5 to the control device 7.

1・・小切手処理システム、2・・小切手(媒体)、2a・・小切手の表面、5・・小切手処理装置、6・・ケーブル、7・・制御装置(画像処理装置)、8・・装置本体、9・・入力装置、10・・ディスプレイ、11・・磁気インク文字、12・・偽造防止用画像、15・・磁気センサー、16・・イメージセンサー、17・・搬送路、18・・搬送機構、19・・搬送ローラー対、20・・搬送モーター、21・・磁気読取面、25・・照射部、25B・・青色発光素子、25G・・緑色発光素子、25R・・赤色発光素子、25UV・・紫外線発光素子、26・・読取部、31・・制御部、32・・通信部、33・・搬送制御部、34・・磁気情報取得部、35・・画像読取部、41・・小切手処理装置制御部、42・・画像処理部、43・・決済処理部、45・・画像取得部、46・・補正画像生成部、47・・合成画像生成部、51・・第1補正画像生成部、52・・第2補正画像生成部、53・・エッジ領域抽出部、54・・補正関数生成部、55・・輝度値補正画像生成部、56・・エッジ領域、A・・磁気読取位置、B・・画像読取位置、C・・搬送方向、G1・・第1表面画像(第1画像)、G2・・第2表面画像(第2画像)、H1・・第1補正画像、H2・・第2補正画像、I・・合成画像、L1〜L3・・平均輝度値、T1〜T3・・目標輝度値 1. Check processing system 2. Check (medium) 2a Check surface 5. Check processing device 6. Cable 7. Control device (image processing device) 8. Device body , 9 .. Input device, 10 .. Display, 11 .. Magnetic ink character, 12 .. Anti-counterfeit image, 15 .. Magnetic sensor, 16 .. Image sensor, 17 .. Conveyance path, 18. , 19 ·· Conveying roller pair, 20 ·· Conveying motor, 21 ·· Magnetic reading surface, 25 ·· Irradiation part, 25B ·· Blue light emitting element, 25G ·· Green light emitting element, 25R ·· Red light emitting element, 25UV ·・ UV light emitting element 26 ..Reading unit 31 ..Control unit 32 ..Communication unit 33 ..Transport control unit 34 ..Magnetic information acquisition unit 35 ..Image reading unit 41. Device control unit, 42..Image processing unit 43 .. Settlement processing unit 45... Image acquisition unit 46.. Correction image generation unit 47.. Composite image generation unit 51.. First correction image generation unit 52. 53 .. Edge area extraction unit, 54... Correction function generation unit, 55 .. Brightness value corrected image generation unit, 56 .. Edge region, A .. Magnetic reading position, B .. Image reading position, C. Direction, G1 ··· first surface image (first image), G2 ··· second surface image (second image), H1 ··· first corrected image, H2 ··· second corrected image, I ··· composite image, L1 to L3 ・ ・ Average luminance value, T1 to T3 ・ ・ Target luminance value

Claims (11)

イメージセンサーを駆動して、第1の光が照射された媒体の表面を読み取った第1画像を取得するとともに、紫外線を含む第2の光が照射された前記媒体の表面を読み取った第2画像を取得する画像取得部と、
前記第1画像の明るさを低下させた第1補正画像を生成する第1補正画像生成部と、
前記第2画像のコントラストを増大させた第2補正画像を生成する第2補正画像生成部と、
前記第1補正画像と前記第2補正画像とを合成した合成画像を生成する合成画像生成部と、を有することを特徴とする画像処理装置。
The image sensor is driven to obtain a first image obtained by reading the surface of the medium irradiated with the first light, and at the same time, a second image obtained by reading the surface of the medium irradiated with the second light including ultraviolet rays. An image acquisition unit for acquiring
A first corrected image generating unit that generates a first corrected image with reduced brightness of the first image;
A second corrected image generation unit for generating a second corrected image in which the contrast of the second image is increased;
An image processing apparatus comprising: a composite image generation unit configured to generate a composite image obtained by combining the first correction image and the second correction image.
請求項1において、
前記第1補正画像生成部は、前記第1画像の画素の輝度値を一定割合で低下させて前記第1補正画像を生成することを特徴とする画像処理装置。
In claim 1,
The image processing apparatus according to claim 1, wherein the first corrected image generation unit generates the first corrected image by reducing luminance values of pixels of the first image at a constant rate.
請求項1において、
前記第2補正画像生成部は、前記第2画像において、隣り合う画素の輝度値の差が予め設定した輝度差よりも大きい画像部分を含む領域をエッジ領域として抽出するエッジ領域抽出部と、前記エッジ領域に含まれる複数の画素を、輝度値に基づいて第1画素群と当該第1画素群よりも輝度値の低い第2画素群とに振分けて、前記第1画素群に含まれる画素と前記第2画素群に含まれる画素との間でコントラストが増大するように画素の輝度値を補正する補正関数を生成する補正関数生成部と、前記第2画像を構成する画素について画素の輝度値を前記補正関数で補正した前記第2補正画像を生成する輝度値補正画像生成部と、を備えることを特徴とする画像処理装置。
In claim 1,
The second corrected image generation unit extracts, as the edge region, an area including an image portion in which the difference in luminance value between adjacent pixels is larger than a preset luminance difference in the second image, A plurality of pixels included in the edge region are divided into a first pixel group and a second pixel group having a lower luminance value than the first pixel group based on the luminance value, and pixels included in the first pixel group A correction function generating unit that generates a correction function for correcting a luminance value of a pixel so that a contrast with a pixel included in the second pixel group is increased; and a luminance value of the pixel for the pixels constituting the second image A luminance value corrected image generation unit that generates the second corrected image obtained by correcting the image with the correction function.
請求項3において、
前記合成画像において、前記第1補正画像の画素と前記第2補正画像の画素とを合成した合成画素の輝度値は、前記第1補正画像の前記画素の輝度値以上であり、かつ、前記第2補正画像の前記画素の輝度値以上であることを特徴とする画像処理装置。
In claim 3,
In the synthesized image, a luminance value of a synthesized pixel obtained by synthesizing the pixel of the first corrected image and the pixel of the second corrected image is equal to or higher than the luminance value of the pixel of the first corrected image, and An image processing apparatus having a luminance value equal to or higher than the pixel of the two corrected images.
請求項1から4のいずれかの1項において、
前記第1画像は可視光に基づく画像を含み、前記第2画像はUVインクからの蛍光に基づく画像を含むことを特徴とする画像処理装置。
In any one of Claims 1-4,
The image processing apparatus according to claim 1, wherein the first image includes an image based on visible light, and the second image includes an image based on fluorescence from UV ink.
イメージセンサーによって第1の光が照射された媒体の表面を読み取った第1画像を取得するとともに、紫外線を含む第2の光が照射された前記媒体の表面を読み取った第2画像を取得し、
前記第1画像の輝度を低下させた第1補正画像を生成するとともに、前記第2画像のコントラストを増大させた第2補正画像を生成し、
前記第1補正画像と前記第2補正画像とを合成した合成画像を生成することを特徴とする画像処理方法。
A first image obtained by reading the surface of the medium irradiated with the first light by the image sensor is obtained, and a second image obtained by reading the surface of the medium irradiated with the second light including ultraviolet light is obtained.
Generating a first corrected image with reduced brightness of the first image and generating a second corrected image with increased contrast of the second image;
An image processing method, comprising: generating a synthesized image obtained by synthesizing the first corrected image and the second corrected image.
請求項6において、
前記第1画像の画素の輝度値を一定割合で低下させて前記第1補正画像を生成することを特徴とする画像処理方法。
In claim 6,
An image processing method, wherein the first corrected image is generated by reducing luminance values of pixels of the first image at a constant rate.
請求項6において、
前記第2画像において、隣り合う画素の輝度値の差が予め設定した輝度差よりも大きい画像部分を含む領域をエッジ領域として抽出し、
前記エッジ領域に含まれる複数の画素を、輝度に基づいて、第1画素群と当該第1画素群よりも輝度の低い第2画素群に振分けて、前記第1画素群に含まれる画素と前記第2画素群に含まれる画素との間でコントラストが増大するように画素の輝度値を補正する補正関数を生成し、
前記第2画像を構成する画素について画素の輝度値を前記補正関数で補正して前記第2補正画像を生成することを特徴とする画像処理方法。
In claim 6,
In the second image, an area including an image portion in which a difference in luminance value between adjacent pixels is larger than a preset luminance difference is extracted as an edge area;
The plurality of pixels included in the edge region are divided into a first pixel group and a second pixel group having a lower luminance than the first pixel group based on luminance, and the pixels included in the first pixel group and the pixels Generating a correction function for correcting the luminance value of the pixel so that the contrast with the pixels included in the second pixel group is increased;
An image processing method, wherein the second corrected image is generated by correcting the luminance value of the pixel constituting the second image with the correction function.
請求項8において、
前記第1補正画像の画素と前記第2補正画像の画素とを合成した前記合成画像の合成画素の輝度値は、前記第1補正画像の画素の輝度値以上であり、かつ、前記第2補正画像の画素の輝度値以上であることを特徴とする画像処理方法。
In claim 8,
The luminance value of the synthesized pixel of the synthesized image obtained by synthesizing the pixel of the first corrected image and the pixel of the second corrected image is equal to or higher than the luminance value of the pixel of the first corrected image, and the second corrected image An image processing method characterized by being equal to or greater than a luminance value of a pixel of an image.
請求項6から9のいずれかの1項において、
前記第1画像は可視光に基づく画像を含み、前記第2画像はUVインクからの蛍光に基づく画像を含むことを特徴とする画像処理方法。
In one of claims 6 to 9,
The image processing method, wherein the first image includes an image based on visible light, and the second image includes an image based on fluorescence from UV ink.
イメージセンサーを制御する制御装置で動作するプログラムにおいて、
前記制御装置を、
前記イメージセンサーを駆動して、第1の光が照射された媒体の表面を読み取った第1画像を取得するとともに、紫外線を含む第2の光が照射された前記媒体の表面を読み取った第2画像を取得する画像取得部と、
前記第1画像の輝度を低下させた第1補正画像を生成する第1補正画像生成部と、
前記第2画像のコントラストを増大させた第2補正画像を生成する第2補正画像生成部と、
前記第1補正画像と前記第2補正画像とを合成した合成画像を生成する合成画像生成部と、
に機能させることを特徴とするプログラム。
In a program that runs on the control device that controls the image sensor,
The control device;
The image sensor is driven to acquire a first image obtained by reading the surface of the medium irradiated with the first light, and a second image obtained by reading the surface of the medium irradiated with the second light including ultraviolet rays. An image acquisition unit for acquiring images;
A first corrected image generation unit for generating a first corrected image in which the luminance of the first image is reduced;
A second corrected image generation unit for generating a second corrected image in which the contrast of the second image is increased;
A composite image generation unit that generates a composite image by combining the first correction image and the second correction image;
A program characterized by making it function.
JP2014137456A 2014-07-03 2014-07-03 Image processing device, image processing method and program Pending JP2016015668A (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2014137456A JP2016015668A (en) 2014-07-03 2014-07-03 Image processing device, image processing method and program
US14/790,516 US9691211B2 (en) 2014-07-03 2015-07-02 Image processing apparatus, image processing method, and program
ARP150102134A AR101104A1 (en) 2014-07-03 2015-07-02 APPARATUS AND METHOD FOR PROCESSING IMAGES
MX2015008724A MX2015008724A (en) 2014-07-03 2015-07-03 Image processing apparatus, image processing method, and program.
CN201510388400.9A CN105243727B (en) 2014-07-03 2015-07-03 Image processing equipment, image processing method and program
BR102015016127A BR102015016127A2 (en) 2014-07-03 2015-07-03 image processing apparatus, image processing method and program
CL2015001903A CL2015001903A1 (en) 2014-07-03 2015-07-03 An image processing apparatus comprising an imaging unit with a first light and a second light that includes ultraviolet rays, an image sensor, a first corrected image generating unit, a second corrected image generating unit, and a synthetic imaging unit; method; Program.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014137456A JP2016015668A (en) 2014-07-03 2014-07-03 Image processing device, image processing method and program

Publications (1)

Publication Number Publication Date
JP2016015668A true JP2016015668A (en) 2016-01-28

Family

ID=55231544

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014137456A Pending JP2016015668A (en) 2014-07-03 2014-07-03 Image processing device, image processing method and program

Country Status (2)

Country Link
JP (1) JP2016015668A (en)
AR (1) AR101104A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020028102A (en) * 2018-08-10 2020-02-20 株式会社リコー Reading apparatus, image forming apparatus, authenticity determination system, and reading method
CN112116748A (en) * 2020-02-28 2020-12-22 李淑 Red and blue lamp body driving system utilizing cloud computing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020028102A (en) * 2018-08-10 2020-02-20 株式会社リコー Reading apparatus, image forming apparatus, authenticity determination system, and reading method
JP7147530B2 (en) 2018-08-10 2022-10-05 株式会社リコー Reading device, image forming device, authentication system and reading method
CN112116748A (en) * 2020-02-28 2020-12-22 李淑 Red and blue lamp body driving system utilizing cloud computing

Also Published As

Publication number Publication date
AR101104A1 (en) 2016-11-23

Similar Documents

Publication Publication Date Title
US9691211B2 (en) Image processing apparatus, image processing method, and program
CN110830670A (en) Reading device, image forming apparatus, authentication system, and reading method
US7650041B2 (en) System and method for optical character recognition in an image
WO2017090454A1 (en) Information processing device, information processing method, and program
US20100258629A1 (en) Infrared and Visible Imaging of Documents
US8199228B2 (en) Method of and apparatus for correcting contour of grayscale image
KR20070021085A (en) Detection of document security marks using run profiles
CN103929560A (en) Image obtaining method and device
JP2016015668A (en) Image processing device, image processing method and program
US10158788B2 (en) Image processing device and image processing method
US10452901B2 (en) Image processing device, image processing method, and program
JP7147530B2 (en) Reading device, image forming device, authentication system and reading method
US9508063B2 (en) Image reading device, image reading system, and control method of an image reading device
JP2017038324A (en) Image processing apparatus and image reader and image processing system
JP6357927B2 (en) Image processing apparatus, image processing method, and program
KR102158633B1 (en) A method for extraction of a registered seal impression from a document
US20200244937A1 (en) Image processing apparatus and method, and program
JP6511777B2 (en) Image processing apparatus, image processing method and program
JP5486478B2 (en) Document camera device
JP4321666B2 (en) Image data correction device
JP2007140703A (en) Method for reading insurance policy, system thereof, and insurance policy recognition system
JP2012204990A (en) Image scanner apparatus
JP4143044B2 (en) Reader
JP2017169198A (en) Image readout device, image readout method and program
US20220215214A1 (en) Method for evaluating an infrared signature

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20160617

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20160628