JP2010231536A - Method of detecting optimum position for imaging subject - Google Patents
Method of detecting optimum position for imaging subject Download PDFInfo
- Publication number
- JP2010231536A JP2010231536A JP2009078845A JP2009078845A JP2010231536A JP 2010231536 A JP2010231536 A JP 2010231536A JP 2009078845 A JP2009078845 A JP 2009078845A JP 2009078845 A JP2009078845 A JP 2009078845A JP 2010231536 A JP2010231536 A JP 2010231536A
- Authority
- JP
- Japan
- Prior art keywords
- area
- finger
- image
- threshold
- scanning
- 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.)
- Granted
Links
Images
Landscapes
- Studio Devices (AREA)
- Image Input (AREA)
Abstract
Description
本発明は、カメラによって撮影される対象物が最適な位置に置かれているか否かを判定する方法および装置に関するものである。 The present invention relates to a method and apparatus for determining whether or not an object photographed by a camera is placed at an optimal position.
近年、指静脈を用いた個人認証装置、すなわち、指に近赤外線(近赤外光)を照射し、その透過光または反射光を撮影し、その画像データから指の静脈パターンを抽出し、個人認証に利用するための装置が普及しつつある。
従来、下記の特許文献1に開示された個人認証装置がある。
In recent years, personal authentication devices using finger veins, that is, the finger is irradiated with near infrared light (near infrared light), the transmitted light or reflected light is photographed, and the finger vein pattern is extracted from the image data. Devices for use in authentication are becoming widespread.
Conventionally, there is a personal authentication device disclosed in
指静脈の撮影において重要なことは、装置と指の間隔について言えば、常に同じ間隔を保って撮影を行うことである。しかしながら、一定の間隔を置いて指を静止させることは事実上極めて困難であるため、装置に軽く接触する位置に指を置くように運用している場合が多い。
装置に指が触れているか否かを判定する方法としては、タッチセンサ等のハードウェア的な部品を実装する方法があるが、装置の部品点数が多くなり、コスト的に不利になるという問題点がある。
What is important in photographing the finger vein is that the distance between the device and the finger is always taken at the same interval. However, since it is practically extremely difficult to stop the finger at a fixed interval, it is often operated so that the finger is placed at a position where the finger is lightly touched.
As a method of determining whether or not a finger is touching the device, there is a method of mounting hardware parts such as a touch sensor, but there is a problem that the number of parts of the device increases, which is disadvantageous in terms of cost. There is.
本発明の目的は、ハードウェア的な部品を用いずに、撮影した画像データのみによって、撮影対象である指が、撮影に適した位置にあるか否かを判定することができる方法を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a method that can determine whether or not a finger to be imaged is in a position suitable for imaging based only on captured image data without using hardware components. There is.
上記課題を解決するために、本発明に係る撮影対象物の最適撮影位置検出方法は、撮影対象物体の側面に照明光を照射して撮影した画像から撮影対象物体が適切な位置に置かれているかを検出する装置における最適撮影位置検出方法であって、
前記装置が、
前記撮影した画像から特定の明るさより明るい領域を検出するステップと、検出した領域の大きさ及び位置を算出するステップと、算出した領域及び位置を予め設定したそれぞれの第1の閾値、第2の閾値と比較し、第1の閾値を超える大きさの明るさの領域が存在し、かつその領域が第2の閾値で定めた範囲の位置に存在する場合には前記撮影対象物体が適切な撮影位置に置かれているものと判定するステップを備えることを特徴とする。
また、前記照明光が近赤外光であることを特徴とする。
In order to solve the above-described problem, an optimal shooting position detection method for a shooting target object according to the present invention is such that a shooting target object is placed at an appropriate position from an image shot by illuminating illumination light on a side surface of the shooting target object. An optimal shooting position detection method in a device for detecting whether or not
The device is
A step of detecting an area brighter than a specific brightness from the captured image; a step of calculating the size and position of the detected area; and a first threshold value for which the calculated area and position are preset; When there is an area whose brightness is larger than the first threshold and the area is in a position within a range defined by the second threshold, the object to be imaged is appropriately captured. It is characterized by comprising the step of determining that it is placed at a position.
Further, the illumination light is near infrared light.
また、本発明に係る撮影対象物の最適撮影位置検出措置は、撮影対象物体の側面に近赤外線を照射して撮影した画像から撮影対象物体が適切な位置に置かれているかを検出する装置であって、
前記撮影した画像から特定の明るさより明るい領域を検出する手段と、検出した領域の大きさ及び位置を算出する手段と、算出した領域及び位置を予め設定したそれぞれの第1の閾値、第2の閾値と比較し、第1の閾値を超える大きさの明るさの領域が存在し、かつその領域が第2の閾値で定めた範囲の位置に存在する場合には前記撮影対象物体が適切な撮影位置に置かれているものと判定する手段とを備えることを特徴とする。
また、前記照明光が近赤外光であることを特徴とする。
The optimum shooting position detection measure for a shooting target object according to the present invention is an apparatus that detects whether a shooting target object is placed at an appropriate position from an image shot by irradiating the side surface of the shooting target object with near infrared rays. There,
Means for detecting an area brighter than a specific brightness from the photographed image; means for calculating the size and position of the detected area; and a first threshold value set in advance for each of the calculated areas and positions. When there is an area whose brightness is larger than the first threshold and the area is in a position within a range defined by the second threshold, the object to be imaged is appropriately captured. And a means for determining that it is placed at a position.
Further, the illumination light is near infrared light.
本発明によれば、次のような効果がある。
(1)撮影した画像データのみで装置と指の間隔が撮影に適しているか否かを判定できるので、タッチセンサ等のハードウェアを搭載する必要が無い。
The present invention has the following effects.
(1) Since it can be determined whether or not the distance between the device and the finger is suitable for photographing only with the photographed image data, it is not necessary to install hardware such as a touch sensor.
以下、本発明を適用した最適撮影位置検出方法の一実施の形態について説明する。
図1は、本発明による最適撮影位置検出方法を実施するシステムの構成成図であり、制御部1が指定する出力で赤外線照明装置2が撮影対象である指に対して近赤外線を照射し、その状態で制御部1からの指示を受けたカメラ3が指を撮影し、その指の画像データを記憶装置5に出力し、さらに制御部1からの指示を受けた最適位置判定装置4が記憶装置5に格納された指の画像データを読出し、画像処理を行って、指の位置が最適位置にあるのか否かを検出するものである。
Hereinafter, an embodiment of an optimum photographing position detection method to which the present invention is applied will be described.
FIG. 1 is a configuration diagram of a system that implements an optimal photographing position detection method according to the present invention, and an
図2(a)は、本発明による最適撮影位置検出方法を実施する赤外線照明装置2とカメラ、及び指の位置関係を示す図であり、指201を上面側(手の甲側)から見た上面図である。
図2の上面図に示すように、指201の軸方向の左右の側面に指向性を持った近赤外線発光ダイオード(LED)202を複数個配置する。
図2(b)の断面図は、指201と近赤外線発光ダイオード202の位置関係を示しており、指201の側面のやや下方向の位置204(太線で示した部分)に向けて近赤外線を照射するようにしている。
カメラ3は近赤外線発光ダイオード202によって照射された指201の表面を撮影し、画像データを出力するものである。最適位置203は、カメラ3が指201を撮影するのに最も適した位置を示す。
指201が最適位置203に置かれている場合、近赤外線ダイオード202はその指向特性により、位置204(太線で示した部分)の部分を特に強く照射する。
図2(c)の撮影画像210は、この状態で撮影された画像の例であり、位置204に対応する領域211の部分が特に明るく撮影される。
FIG. 2A is a diagram showing the positional relationship between the infrared
As shown in the top view of FIG. 2, a plurality of near infrared light emitting diodes (LEDs) 202 having directivity are arranged on the left and right side surfaces of the
The cross-sectional view of FIG. 2B shows the positional relationship between the
The
When the
A captured
図3(a)の断面図は、最適位置203から少し離れた位置に指201が置かれた場合の状態を示し、近赤外線ダイオード202はその指向特性により、位置205(太線で示した部分)の部分を特に強く照射する。
図3(b)の撮影画像310は、この状態でカメラ3により撮影された画像の例であり、位置205に対応する領域311の部分が特に明るく撮影される。図2(c)の画像と比較して明るい部分の面積が多くなる。
The cross-sectional view of FIG. 3A shows a state where the
A photographed image 310 in FIG. 3B is an example of an image photographed by the
図4(a)の断面図は、最適位置203から相当に離れた位置に指201が置かれた場合の状態を示し、近赤外線発光ダイオード202は指201を照射できない状態になっている。
図4(b)の撮影画像410は、この状態でカメラ3により撮影された画像の例であり、明るく撮影されている部分の面積が図2の撮影画像210や図3の撮影画像310に比べて非常に少なくなる
4A shows a state where the
A photographed
以上のように、撮影される画像を用いて、本発明による位置検出を行うには、撮影された画像について次のように処理を行い、指201が最適位置に置かれているかを検出する。
図5の画像501は指201が最適位置に置かれている状態での画像である。
中心線502は、撮影範囲のy方向の中心(指の軸方向における撮影範囲の中心線)を示すものである。座標の原点は、画像データの左上であり、x方向は右側が正、y方向は下側が正である。
本発明では、図6に示すように、上側y座標発見カウンタ604、下側y座標発見カウンタ605、上側y座標積算カウンタ606、下側y座標積算カウンタ607、上側画素数積算カウンタ608、下側画素数積算カウンタ609とを設ける。そして、撮影範囲をy方向の中心位置であるH/2(H=画像データのy方向の大きさ)の位置からy方向に走査し、その走査が終わったならばx座標位置をx=x+1として再び、y方向に走査する処理をx=W(W=撮影範囲のx方向の大きさ)に達するまで繰り返す。
As described above, in order to perform position detection according to the present invention using a photographed image, the photographed image is processed as follows to detect whether the
An
The
In the present invention, as shown in FIG. 6, an upper y coordinate
この走査の繰り返しの過程で、y方向に特定の明るさBrを越える画素が幾つ存在するかを上側y座標発見カウンタ604、下側y座標発見カウンタ605でカウントする。
詳しくは、y方向の中心位置(H/2の位置)から下側に走査したとき、特定の明るさBrを越える画素が幾つ存在するかを下側y座標発見カウンタ605によりカウントし、特定の明るさBrを越える画素を発見したならばyc1=yc1+1とし、またH/2の位置から上側に走査したとき、特定の明るさBrを越える画素が幾つ存在するかを上側y座標発見カウンタ604によりカウントし、特定の明るさBrを越える画素を発見したならばyc0=yc0+1とする。
In the process of repeating this scanning, the upper y-coordinate
More specifically, the lower y coordinate discovery counter 605 counts the number of pixels exceeding a specific brightness Br when scanning downward from the center position in the y direction (position of H / 2). If a pixel exceeding the brightness Br is found, yc1 = yc1 + 1 is set, and the number of pixels exceeding the specified brightness Br when scanning upward from the H / 2 position is determined by the upper y-coordinate
また、特定の明るさBrを越える画素を発見したならば、そのy座標位置の情報を下側y座標積算カウンタ607及び上側y座標積算カウンタ606で積算し、それぞれyg1=yg1+i、yg0=yg0+iとする。ここで、iは特定の明るさBrを越えた画素のy座標値である。例えば下方向に走査しているときに、y=100、y=101で特定の明るさBrを越えた場合、yg1=100+101=201となる。
また、下側画素数積算カウンタ609、上側画素数積算カウンタ608により、特定の明るさBrを超える画素の連続する個数を積算する。例えば、図5の特定の明るさBrを越えた画素504からBrを下回る画素505の座標をそれぞれy0、y1とすると、上側画素数積算カウンタ608にctr0=ctr0+1=y0−y1を積算する。
If a pixel exceeding a specific brightness Br is found, the information on the y-coordinate position is accumulated by the lower y-coordinate integrating
Further, the lower pixel
同様に、図5の特定の明るさBrを越えた画素506からBrを下回る画素507の座標をそれぞれy2、y3とすると、下側画素数積算カウンタ609にctr1=ctr1+1=y3−y2を積算する。
Similarly, if the coordinates of the
この上側画素数積算カウンタ608、下側画素数積算カウンタ609のカウント値ctr0、ctr1によれば、図9(a)のような画像であった場合は、特定の明るさBrを連続して超える画素数が少ないのでカウント値ctr0、ctr1が閾値Baを下回ることになり、適切でない撮影位置であると看做すことができる。
According to the count values ctr0 and ctr1 of the upper pixel
また、図9(b)のように特定の明るさBrを越える部分が少ない画像であった場合、上側y座標発見カウンタ604、下側y座標発見カウンタ605のカウント値yc0、yc1の値が閾値Yaを下回ることになり、適切でない撮影位置であると看做すことができる。
Also, as shown in FIG. 9B, when the image has few portions exceeding the specific brightness Br, the count values yc0 and yc1 of the upper y-coordinate
また、図9(c)に示すような画像であった場合、特定の明るさBrを超える画素の座標値の平均値yg1/yc1,yg0/yc0との差「yg1/yc1−yg0/yc0」が小さくなるため、閾値Ywと比較し、これを下回る場合には、適切でない撮影位置であると看做すことができる。 Further, in the case of an image as shown in FIG. 9C, the difference “yg1 / yc1−yg0 / yc0” from the average value yg1 / yc1, yg0 / yc0 of the coordinate values of the pixels exceeding the specific brightness Br Is smaller than the threshold value Yw, and if it falls below this, it can be regarded as an inappropriate photographing position.
また、図9(d)に示すような画像であった場合、特定の明るさBrを連続して超える画素数が閾値Baを超え、かつ特定の明るさBrを越える画素のカウント値yc0、yc1の値が閾値Yaが閾値Yaを超え、かつ特定の明るさBrを超える画素の座標値の平均値yg1/yc1,yg0/yc0との差が閾値Ywを超えるため、適切な撮影位置であると看做すことができる。 Further, in the case of an image as shown in FIG. 9D, the count values yc0 and yc1 of the pixels in which the number of pixels continuously exceeding the specific brightness Br exceeds the threshold value Ba and exceeds the specific brightness Br. Since the difference between the average value yg1 / yc1 and yg0 / yc0 of the coordinate values of pixels in which the threshold value Ya exceeds the threshold value Ya and the specific brightness Br exceeds the threshold value Yw, the appropriate photographing position Can be seen.
図7及び図8は、本発明による最適撮影位置検出方法を適用した装置において、最適な位置か否かを判定するためのフローチャートである。
ステップ701は、指の画像を撮影するものである。このときに得られる画像の幅はW、高さはHとする。
ステップ702は、判定処理に必要なカウンタを初期設定するものである。
yg0およびyg1は上側および下側のy座標積算カウンタ、yc0およびyc1は上側および下側のy座標発見カウンタ、ctr0およびctr1は、上側および下側の画素数積算カウンタであり、このステップ702でカウント値=0に初期化する。
7 and 8 are flowcharts for determining whether or not the position is optimum in the apparatus to which the optimum photographing position detection method according to the present invention is applied.
Step 701 captures an image of a finger. The width of the image obtained at this time is W, and the height is H.
Step 702 initializes a counter necessary for the determination process.
yg0 and yg1 are upper and lower y-coordinate integration counters, yc0 and yc1 are upper and lower y-coordinate discovery counters, and ctr0 and ctr1 are upper and lower pixel count integration counters, which are counted in step 702. Initialize to value = 0.
ステップ703は、下側の画像走査におけるx方向の走査を行うためのカウンタ値jを初期設定するものである。
ステップ704は、x方向の走査が終了したかどうかを判定するものであり、画像の幅Wよりjの値が小さい場合にはx方向の走査が終了していないことになるのでステップ705に進む。
ステップ705は、y方向の走査を行うためのカウンタ値iを画像の高さHの1/2の値に初期設定するものである。
Step 703 is to initialize a counter value j for performing scanning in the x direction in the lower image scanning.
In
In
ステップ706は、y方向の走査が終了したかどうかを判定するものであり、カウンタ値iとHとを比較し、i<Hの場合にはy方向の走査が終了していないのでステップ707に進む。
ステップ707は、着目画素(x位置=j、 y位置=i)が、特定の明るさBrを超えているかどうかを判定するものである。
In
Step 707 determines whether or not the pixel of interest (x position = j, y position = i) exceeds a specific brightness Br.
ステップ708は、特定の明るさBrを超えているy座標を発見したことをカウントする処理と、発見したy座標を積算する処理を行うものである。 Step 708 carries out a process of counting the discovery of y coordinates exceeding a specific brightness Br and a process of integrating the found y coordinates.
具体的には、yc1=yc1+1、とし、かつyg1=yg1+i(i=y方向の走査座標位置)とする。例えば、走査座標位置y=100において特定の明るさBrを超える最初の画素が発見された場合、yc1=1、yg1=100となる。
ステップ709は、y方向の走査が終了したかどうかを判定するものであり、i<Hならばy方向の走査が終了していないので、ステップ710に進む。
Specifically, yc1 = yc1 + 1 and yg1 = yg1 + i (i = scanning coordinate position in the y direction). For example, when the first pixel exceeding a specific brightness Br is found at the scanning coordinate position y = 100, yc1 = 1 and yg1 = 100.
In
ステップ710は、着目画素(x位置=j、 y位置=I)が特定の明るさBrを下回るかどうか(特定の明るさより暗いか)を判定するものであり、特定の明るさよりも暗くない場合にはステップ711に進む。特定の明るさよりも暗い場合にはステップ715に進む。
ステップ711は、特定の明るさを超える画素数をカウントする処理であり、ctr1=ctr1+1とする。
Step 710 determines whether or not the pixel of interest (x position = j, y position = I) is less than the specific brightness Br (is darker than the specific brightness), and is not darker than the specific brightness Then, go to
Step 711 is a process of counting the number of pixels exceeding a specific brightness, and ctr1 = ctr1 + 1.
ステップ712は、y方向走査のためのカウンタ値iをインクリメントする処理であり、i=i+1とする。インクリメントした後、ステップ709に戻り、i<Hかどうかを判定し、i<Hならばy方向の走査が終了していないので、再度ステップ710〜712の処理を繰り返し、特定の明るさBrより明るい画素の連続数を積算する。
Step 712 is a process of incrementing the counter value i for scanning in the y direction, i = i + 1. After incrementing, the process returns to step 709 to determine whether i <H. If i <H, the scanning in the y direction has not been completed. Therefore, the processing in
i<Hとなり、y方向の走査が終了したならばステップ714に進み、j=j+1としてx方向の走査位置をインクリメントする。
y方向の走査が終了していない段階で、特定の明るさBrより暗い画素が出現したならばステップ710からステップ714に進み、x方向走査のためのカウンタ値jをインクリメントする。
ステップ713は、y方向走査のためのカウント値iをi+1にインクリメントする処理である。
ステップ714は、x方向走査のためのカウンタ値jをインクリメントする処理である。
以上でy方向下側の走査が終了する。
If i <H and the scanning in the y direction is completed, the process proceeds to step 714, where j = j + 1 and the scanning position in the x direction is incremented.
If a pixel darker than the specific brightness Br appears at the stage where the scanning in the y direction has not ended, the process proceeds from
Step 713 is a process of incrementing the count value i for y-direction scanning to i + 1.
Step 714 is a process of incrementing the counter value j for scanning in the x direction.
This completes the scan in the lower side in the y direction.
ステップ715は、上側画像走査におけるx方向の走査を行うためのカウンタ値jを初期設定するものである。
ステップ716は、x方向の走査が終了したかどうかを判定するものであり、j<Wの場合は上側画像走査におけるx方向の走査が終了していないのでステップ717に進む。
ステップ717は、y方向走査の最初の位置を初期設定するものである。
ステップ718は、上側画像走査におけるy方向の走査が終了したかどうかを判定するものであり、i≧0の場合は上側画像操作におけるy方向の走査が終了していないので、ステップ719に進む。
In step 715, a counter value j for performing scanning in the x direction in the upper image scanning is initialized.
Step 716 determines whether or not the scanning in the x direction has been completed. If j <W, the scanning in the x direction in the upper image scanning has not been completed, and the process proceeds to step 717.
Step 717 initializes the initial position of the y-direction scan.
Step 718 determines whether or not scanning in the y direction in the upper image scanning has been completed. If i ≧ 0, scanning in the y direction in the upper image operation has not been completed, and the process proceeds to step 719.
ステップ719は、着目画素(x位置=j, y位置=I)が、特定の明るさBrを超えているかどうかを判定するものであり、特定の明るさBrを超えている場合にはステップ720に進む。
ステップ720は、特定の明るさBrを超えているy座標を発見したことをカウントする上側y座標発見カウンタyc0をyc0=yc0+1に更新する処理と、発見したy座標を積算する処理yg0=yg0+1を行うものである。
ステップ721は、y方向の走査が終了したかどうかどうかを判定(i≧0かどうか)するものであり、i≧0であり、y方向の走査が終了していない場合にはステップ722に進む。
ステップ722は、着目画素(x位置=j、y位置=i)が特定の明るさBrを下回っているかどうかを判定するものであり、特定の明るさBrを下回っている場合にはステップ726に進み、超える場合にはステップ723に進む。
ステップ723は、特定の明るさを超える画素数をカウントする処理であり、上側画素数積算カウンタctr0を+1更新する。
Step 719 determines whether the pixel of interest (x position = j, y position = I) exceeds a specific brightness Br. If the target pixel exceeds a specific brightness Br,
Step 720 includes a process of updating the upper y-coordinate discovery counter yc0 that counts that the y-coordinate exceeding the specific brightness Br is found to yc0 = yc0 + 1, and a process of accumulating the found y-coordinates yg0 = yg0 + 1. Is what you do.
Step 721 determines whether or not the scanning in the y direction has been completed (whether i ≧ 0). If i ≧ 0 and the scanning in the y direction has not been completed, the process proceeds to step 722. .
Step 722 determines whether or not the pixel of interest (x position = j, y position = i) is below a specific brightness Br. If it is below the specific brightness Br, the process goes to Step 726. If YES, go to step 723.
Step 723 is a process of counting the number of pixels exceeding a specific brightness, and updates the upper pixel number integration counter ctr0 by +1.
ステップ724は、y方向走査のためのカウンタの値iをインクリメントする処理であり、更新後、ステップ721に戻り、特定の明るさBrを超える画素の連続数をカウントする処理を繰り返す。
ステップ725は、y方向走査のためのカウンタをインクリメントする処理である。
ステップ726は、x方向走査のためのカウンタをインクリメントする処理であり、y方向走査が終了するたびに実行され、j>Wになったならばx方向走査が終了したことになるので、ステップ727に進む。
Step 724 is a process of incrementing the counter value i for scanning in the y direction. After the update, the process returns to step 721 and repeats the process of counting the continuous number of pixels exceeding the specific brightness Br.
Step 725 is a process of incrementing the counter for scanning in the y direction.
Step 726 is a process for incrementing a counter for x-direction scanning, and is executed every time the y-direction scanning is completed. If j> W, the x-direction scanning is completed. Proceed to
ステップ727は、y座標発見カウンタのカウント値yc0またはyc1が、しきい値Yaを下回っていないかどうかを、上側走査領域と下側走査領域について判定する処理であり、下回っていた場合には、最適位置ではないと判定する。
ステップ728は、特定の明るさBrの画素の連続数をカウントするカウンタctr0またはctr1のカウント値が、しきい値Baを超過していないかどうかを、上側走査領域と下側走査領域について判定する処理であり、下回っている場合には最適位置ではないと判定する。
ステップ729は、特定の明るさBrを超える画素の上側のy座標の平均値yg0/yc0と、下側のy座標の平均値yg1/yc0との差が、しきい値Ywを上回っているかどうかを判定する処理であり、下回っている場合には最適位置ではないと判定する。
Step 727 is a process for determining whether the count value yc0 or yc1 of the y-coordinate discovery counter is below the threshold value Ya for the upper scanning area and the lower scanning area. It is determined that the position is not optimal.
Step 728 determines whether or not the count value of the counter ctr0 or ctr1 that counts the number of consecutive pixels having a specific brightness Br exceeds the threshold value Ba for the upper scanning area and the lower scanning area. If it is lower than the process, it is determined that the position is not the optimum position.
Step 729 is to determine whether or not the difference between the average value yg0 / yc0 of the upper y-coordinate and the average value yg1 / yc0 of the lower y-coordinate of the pixel exceeding the specific brightness Br exceeds the threshold Yw. If it is below, it is determined that the position is not the optimum position.
本発明においては、撮影範囲のy方向の中心線を中心に、下側方向、上側方向に画像を走査し、特定の明るさBrよりも明るい画素が連続する数、特定の明るさBrが出現する平均的なy方向座標、特定の明るさBrより明るい画素の数を検出し、その検出結果に基づき、撮影対象の指の位置が最適撮影位置にあるかを判定しているので、子供の指であっても、大人の指であっても最適撮影位置であるかを判定することができる。
すなわち、特定の明るさBrよりも明るい画素が出現する位置が、指の軸方向の中心線の左右両側の閾値Ywを下回らない範囲であり、かつ明るい領域の大きさ(あるいは面積)が閾値Baで定まる大きさを超えない場合には最適位置に置かれているものと判定する。
これによれば、図3(b)の画像は特定の明るさBrよりも明るい領域の大きさが閾値Baより多いが、特定の明るさBrよりも明るい画素が出現する位置が閾値Ywを下回る範囲の位置であり、帯状の暗い領域の幅が小さいので、最適撮影位置から離れた不適切な位置に置かれているものと判定することができる。
また、図2(c)の画像のように、指の軸方向の中心の両側の所定の幅の暗い領域を挟んで、その両側に特定の明るさより明るい領域が所定の大きさより少なく存在する場合には、大人、子供に拘わらず、最適位置に置かれているものと判定することができる。
なお、実施形態においては、指を撮影した画像データを指の軸方向に直交する方向に走査しているが、本発明はこれに限定されるものではなく、軸方向に走査するように構成することができる。
また、照明光は指静脈の像を撮影する関係で近赤外光としているが、撮影対象が他の物体であれば近赤外光以外の照明光を用いるように構成することができる。
In the present invention, the image is scanned in the lower direction and the upper direction around the center line in the y direction of the imaging range, and the number of pixels brighter than the specific brightness Br and the specific brightness Br appear. The number of pixels brighter than the average y-direction coordinate and the specific brightness Br is detected, and based on the detection result, it is determined whether the position of the finger to be photographed is at the optimum photographing position. Whether it is a finger or an adult's finger, it can be determined whether it is the optimum photographing position.
That is, the position where a pixel brighter than the specific brightness Br appears is a range that does not fall below the threshold value Yw on both the left and right sides of the center line in the axial direction of the finger, and the size (or area) of the bright region is the threshold value Ba. If it does not exceed the size determined by, it is determined that it is placed at the optimum position.
According to this, in the image of FIG. 3B, the size of the area brighter than the specific brightness Br is larger than the threshold value Ba, but the position where a pixel brighter than the specific brightness Br appears is lower than the threshold value Yw. Since it is a range position and the width of the band-like dark region is small, it can be determined that the band is placed at an inappropriate position away from the optimum photographing position.
In addition, as in the image of FIG. 2C, when a dark region having a predetermined width is sandwiched between both sides of the center in the axial direction of the finger, a region brighter than a specific brightness is present on both sides less than a predetermined size. Therefore, it can be determined that it is placed in the optimum position regardless of whether it is an adult or a child.
In the embodiment, image data obtained by photographing a finger is scanned in a direction orthogonal to the axial direction of the finger. However, the present invention is not limited to this, and is configured to scan in the axial direction. be able to.
In addition, the illumination light is near-infrared light for capturing a finger vein image. However, if the object to be imaged is another object, illumination light other than near-infrared light can be used.
1 制御部
2 赤外線照明装置
3 カメラ
4 最適位置判定装置
201 撮影対象の指
202 近赤外線LED
203 最適位置
210 撮影画像
DESCRIPTION OF
203
Claims (4)
前記装置が、
前記撮影した画像から特定の明るさより明るい領域を検出するステップと、検出した領域の大きさ及び位置を算出するステップと、算出した領域及び位置を予め設定したそれぞれの第1の閾値、第2の閾値と比較し、第1の閾値を超える大きさの明るさの領域が存在し、かつその領域が第2の閾値で定めた範囲の位置に存在する場合には前記撮影対象物体が適切な撮影位置に置かれているものと判定するステップを備えることを特徴とする撮影対象物の最適撮影位置検出方法。 An optimal shooting position detection method in an apparatus for detecting whether a shooting target object is placed at an appropriate position from an image shot by irradiating illumination light on a side surface of the shooting target object,
The device is
A step of detecting an area brighter than a specific brightness from the captured image; a step of calculating the size and position of the detected area; and a first threshold value for which the calculated area and position are preset; When there is an area whose brightness is larger than the first threshold and the area is in a position within a range defined by the second threshold, the object to be imaged is appropriately captured. A method for detecting an optimum photographing position of a photographing object, comprising a step of determining that the object is placed at a position.
前記撮影した画像から特定の明るさより明るい領域を検出する手段と、検出した領域の大きさ及び位置を算出する手段と、算出した領域及び位置を予め設定したそれぞれの第1の閾値、第2の閾値と比較し、第1の閾値を超える大きさの明るさの領域が存在し、かつその領域が第2の閾値で定めた範囲の位置に存在する場合には前記撮影対象物体が適切な撮影位置に置かれているものと判定する手段とを備えることを特徴とする撮影対象物の最適撮影位置検出装置。 A device that detects whether a shooting target object is placed at an appropriate position from an image shot by irradiating the side surface of the shooting target object with near infrared rays,
Means for detecting an area brighter than a specific brightness from the photographed image; means for calculating the size and position of the detected area; and a first threshold value set in advance for each of the calculated areas and positions. When there is an area whose brightness is larger than the first threshold and the area is in a position within a range defined by the second threshold, the object to be imaged is appropriately captured. An apparatus for detecting the optimum photographing position of a photographing object, characterized by comprising means for determining that the object is placed at a position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009078845A JP5081186B2 (en) | 2009-03-27 | 2009-03-27 | Method for detecting shooting position of shooting object |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009078845A JP5081186B2 (en) | 2009-03-27 | 2009-03-27 | Method for detecting shooting position of shooting object |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010231536A true JP2010231536A (en) | 2010-10-14 |
JP5081186B2 JP5081186B2 (en) | 2012-11-21 |
Family
ID=43047279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009078845A Expired - Fee Related JP5081186B2 (en) | 2009-03-27 | 2009-03-27 | Method for detecting shooting position of shooting object |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5081186B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012155405A (en) * | 2011-01-24 | 2012-08-16 | Fujitsu Ltd | Biological image photography system, biological image acquisition method, and program |
JP2015130097A (en) * | 2014-01-08 | 2015-07-16 | 東芝テック株式会社 | Information processing apparatus, shop system, and program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004265269A (en) * | 2003-03-04 | 2004-09-24 | Hitachi Ltd | Personal identification device |
JP2005018405A (en) * | 2003-06-26 | 2005-01-20 | Matsushita Electric Ind Co Ltd | Eye image pickup device |
-
2009
- 2009-03-27 JP JP2009078845A patent/JP5081186B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004265269A (en) * | 2003-03-04 | 2004-09-24 | Hitachi Ltd | Personal identification device |
JP2005018405A (en) * | 2003-06-26 | 2005-01-20 | Matsushita Electric Ind Co Ltd | Eye image pickup device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012155405A (en) * | 2011-01-24 | 2012-08-16 | Fujitsu Ltd | Biological image photography system, biological image acquisition method, and program |
JP2015130097A (en) * | 2014-01-08 | 2015-07-16 | 東芝テック株式会社 | Information processing apparatus, shop system, and program |
Also Published As
Publication number | Publication date |
---|---|
JP5081186B2 (en) | 2012-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6270808B2 (en) | Motion sensor device having a plurality of light sources | |
WO2019120011A1 (en) | Target detection method and apparatus | |
JP6299983B2 (en) | Motion sensor device having a plurality of light sources | |
WO2012124730A1 (en) | Detection device, input device, projector, and electronic apparatus | |
JP6302414B2 (en) | Motion sensor device having a plurality of light sources | |
TW201042235A (en) | Three-dimensional shape measuring device, three-dimensional shape measuring method, and three-dimensional shape measuring program | |
KR101413413B1 (en) | Foreign object determination device, foreign object determination method and foreign object determination program | |
JP2014064047A (en) | Information processing device, information processing method and program | |
EP1933256A3 (en) | Eye closure recognition system and method | |
EP2161537A3 (en) | Optical position measuring apparatus based on projection of grid patterns | |
KR100904254B1 (en) | Non-intrusive iris image acquisition system and method thereof | |
JP2013542528A (en) | Night scene image blur detection system | |
JP2014137762A (en) | Object detector | |
KR20180123990A (en) | Device for capturing imprints | |
EP2207137A1 (en) | Motionlessness deciding method and device for photograph object | |
JP5081186B2 (en) | Method for detecting shooting position of shooting object | |
JP6104745B2 (en) | Hole inspection device | |
CN110836647B (en) | Three-dimensional scanning system | |
US20180130230A1 (en) | Recognition apparatus, determination method, and article manufacturing method | |
JP5004099B2 (en) | Cursor movement control method and cursor movement control apparatus | |
KR20130037939A (en) | Image recognition device and method for improving image recognition rate | |
JP2004226072A (en) | Shape measuring device | |
JP2012133587A (en) | Image analysis device, image analysis method and program | |
JP4852454B2 (en) | Eye tilt detection device and program | |
JP5475604B2 (en) | Method for determining contact of shooting object |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110803 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120604 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120614 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120808 |
|
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: 20120828 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120831 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150907 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |