JP2007052670A - Method, apparatus and program for detecting side and evaluating corner - Google Patents

Method, apparatus and program for detecting side and evaluating corner Download PDF

Info

Publication number
JP2007052670A
JP2007052670A JP2005237857A JP2005237857A JP2007052670A JP 2007052670 A JP2007052670 A JP 2007052670A JP 2005237857 A JP2005237857 A JP 2005237857A JP 2005237857 A JP2005237857 A JP 2005237857A JP 2007052670 A JP2007052670 A JP 2007052670A
Authority
JP
Japan
Prior art keywords
edge
evaluation
corner
intersection
search
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
Application number
JP2005237857A
Other languages
Japanese (ja)
Other versions
JP4525519B2 (en
Inventor
Akira Kitahara
亮 北原
Atsushi Katayama
淳 片山
Takao Nakamura
高雄 中村
Kana Yamamoto
奏 山本
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2005237857A priority Critical patent/JP4525519B2/en
Publication of JP2007052670A publication Critical patent/JP2007052670A/en
Application granted granted Critical
Publication of JP4525519B2 publication Critical patent/JP4525519B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To detect the coordinates of four corners of a target image in a rectangular area on a photographed image by a portable terminal whose processing capacity is restricted and to restrict processing time within fixed time. <P>SOLUTION: In processing for detecting a portion surrounded by a rectangular area from a photographed image, many segments which may be side candidates are detected from the image, these segments are combined with each other and a plurality of evaluation values such as connection relation of sides forming a rectangle and the corner shapes of the rectangle are combined to perform comprehensive evaluation. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、辺検出方法及び隅評価方法及び装置及びプログラムに係り、特に、携帯電話などの処理能力の限られた端末上において、カメラなどの撮影画像の中から、ある矩形領域で囲まれた部分を、その四隅座標を判定することで正確に抜き出すための辺検出方法及び隅評価方法及び装置及びプログラムに関する。   The present invention relates to an edge detection method, a corner evaluation method, an apparatus, and a program. In particular, on a terminal having a limited processing capability such as a mobile phone, the image is surrounded by a rectangular area from a captured image such as a camera. The present invention relates to an edge detection method, a corner evaluation method, an apparatus, and a program for accurately extracting a portion by determining its four corner coordinates.

特定の画像の中から直線を検出する手法としてハフ変換が知られている。ハフ変換では、まず、画像を二値化処理し、二値化画像の中で画素の値がある閾値を越える全ての画素をサンプリングする。次に、サンプリングした各画素について、その画素を通る全ての直線を考える。ここで、画像中にある原点を定めて、各画素を通る全ての直線について、原点との距離を計算する。角度と距離を軸とした極座標を考え、上記全ての直線を極座標上へ投票する。ここで、投票とは、距離が一致する直線が一本あれば、該当する座標の値を+1することである。各点における投票数は、その数だけ同じ角度と原点からの距離をもつ直線が存在することを示しており、投票数が多いほど直線成分の強い直線であることがわかる。この処理により、投票数が多い方から直線を選ぶことで、画像中から強い直線成分を検出することが可能となる(例えば、特許文献1参照)。
P.V.C. Hough, “Method and means for recognizing complex patterns,” U.S. Patent 3069654
Hough transform is known as a method for detecting a straight line from a specific image. In the Hough transform, first, the image is binarized, and all pixels in the binarized image that have a pixel value exceeding a certain threshold are sampled. Next, for each sampled pixel, consider all straight lines that pass through that pixel. Here, the origin in the image is determined, and the distance from the origin is calculated for all straight lines passing through each pixel. Consider polar coordinates with the angle and distance as axes, and vote all the above straight lines on the polar coordinates. Here, voting means that if there is one straight line with the same distance, the value of the corresponding coordinate is incremented by one. The number of votes at each point indicates that there are straight lines having the same angle and the distance from the origin, and it can be seen that the more the number of votes, the stronger the straight line component. By this process, it is possible to detect a strong linear component from the image by selecting a straight line from the one with the largest number of votes (for example, see Patent Document 1).
PVC Hough, “Method and means for recognizing complex patterns,” US Patent 3069654

但し、上記のハフ変換では必ずしも必要とする直線だけが得られるわけではない。強い直線成分であればハフ変換による投票数が増え、弱い直線であれば投票数が減る。そのため、必要とする直線が絵柄に埋もれやすい場合や薄い場合などは投票数が減り、直線選別のための閾値を大きく下げることが必要である。閾値を下げることでより投票数の多い、はっきりとした直線が検出されてしまい、直線の選別が必要となる。この選別は、求める画像のパターンマッチングや人の目視などにより行われる場合が多く、確立された選別技術は存在しない。   However, the above-described Hough transform does not always obtain only the necessary straight line. A strong straight line component increases the number of votes by Hough transform, and a weak straight line decreases the number of votes. For this reason, when the required straight line is easily buried in the pattern or is thin, it is necessary to reduce the number of votes and greatly reduce the threshold for line selection. By lowering the threshold value, a clear straight line with more votes is detected, and it is necessary to select a straight line. This sorting is often performed by pattern matching of a desired image or visual observation by a person, and there is no established sorting technique.

ハフ変換は上記のように、直線検出には非常に有効な手法であり、デスクトップパーソナルコンピュータのような潤沢なリソースがあるならば、十分な性能が期待できる。しかし、プログラムサイズ、メモリ量、処理能力などの限られた携帯端末上で動作させる場合には、十分な性能を発揮するのは困難である。   As described above, the Hough transform is a very effective method for straight line detection, and if there are abundant resources such as a desktop personal computer, sufficient performance can be expected. However, when operating on a portable terminal with limited program size, memory amount, processing capability, etc., it is difficult to exhibit sufficient performance.

また、得られた直線候補の選別におけるパターンマッチングなどでは、目標となるテンプレートを用意し、直線成分の組み合わせから、最適解を求めるという操作が必要である。この場合も複数の直線の組み合わせを求め、マッチングを行うためには、携帯端末のリソースは不足していると言える。   In addition, for pattern matching or the like in selecting the obtained straight line candidates, an operation of preparing a target template and obtaining an optimal solution from a combination of straight line components is necessary. Also in this case, it can be said that the resources of the mobile terminal are insufficient to obtain a combination of a plurality of straight lines and perform matching.

本発明は、上記の点に鑑みなされたもので、撮影画像上の矩形領域の四辺と四隅座標を処理能力の限られた携帯端末上で検出し、また、同時に処理時間を一定時間以内に収めることが可能な辺検出方法及び隅評価方法及び装置及びプログラムを提供することを目的とする。   The present invention has been made in view of the above points, and detects the four sides and four corner coordinates of a rectangular area on a captured image on a portable terminal with limited processing capability, and simultaneously keeps the processing time within a certain time. An object of the present invention is to provide an edge detection method, a corner evaluation method, an apparatus, and a program.

図1は、本発明の原理を説明するための図である。   FIG. 1 is a diagram for explaining the principle of the present invention.

本発明(請求項1)は、画像中で四辺に囲まれた矩形領域の辺を検出する装置における辺検出方法であって、
画像入力手段において、入力された画像を取得する画像入力ステップ(ステップ1)と、
辺検出手段において、取得した画像中の矩形領域の辺を検出して、辺候補として記憶手段に格納する辺検出ステップ(ステップ2)と、
隅評価手段において、記憶手段から辺候補を取得し、該辺候補の交点を求め、記憶手段に格納し、該交点について矩形領域の隅を形成する組み合わせとなるかを判定し、隅評価結果として記憶手段に格納する隅評価ステップ(ステップ3)と、
検出結果出力手段において、記憶手段に格納されている隅評価結果に基づいて矩形領域の隅座標を出力する検出結果出力ステップ(ステップ4)と、を行う。
The present invention (Claim 1) is a side detection method in an apparatus for detecting a side of a rectangular region surrounded by four sides in an image,
In the image input means, an image input step (step 1) for acquiring the input image;
In the edge detection means, an edge detection step (step 2) for detecting the edge of the rectangular area in the acquired image and storing it in the storage means as an edge candidate;
In the corner evaluation means, the edge candidate is obtained from the storage means, the intersection of the edge candidate is obtained, stored in the storage means, and it is determined whether the intersection forms a corner of the rectangular area, and the corner evaluation result is obtained. A corner evaluation step (step 3) to be stored in the storage means;
In the detection result output means, a detection result output step (step 4) for outputting the corner coordinates of the rectangular area based on the corner evaluation result stored in the storage means is performed.

本発明(請求項2)は、請求項1の辺検出方法であって、
辺検出ステップ(ステップ2)において、
取得した画像に対し、フィルタ処理手段において、該画像の各縁上の任意の一点をフィルタ処理開始点とし、該フィルタ処理開始点から該画像の内側に向かって辺と直交する方向へフィルタ処理を行う。
The present invention (Claim 2) is the side detection method of Claim 1,
In the edge detection step (step 2),
For the acquired image, the filter processing means sets an arbitrary one point on each edge of the image as a filter processing start point, and performs filter processing in a direction orthogonal to the side from the filter processing start point toward the inside of the image. Do.

また、本発明(請求項3)は、請求項1または2の辺検出方法であって、
辺検出ステップ(ステップ2)において、
フィルタ処理手段が、入力された画像の各縁上の辺探索開始点から該画像内部に向かい各ピクセル毎にフィルタ処理を行い、フィルタ出力値が閾値を超えた点を矩形領域の辺候補の辺探索開始点として検出する。
Moreover, this invention (Claim 3) is the edge detection method of Claim 1 or 2,
In the edge detection step (step 2),
The filter processing means performs filter processing for each pixel from the edge search start point on each edge of the input image toward the inside of the image, and sets the point where the filter output value exceeds the threshold as the edge of the edge candidate of the rectangular area Detect as search start point.

また、本発明(請求項4)は、請求項1乃至3の辺検出方法であって、
辺検出ステップ(ステップ2)において、
フィルタ処理手段により検出した辺探索開始点について、該辺探索開始点から、該フィルタ処理手段での探索方向と直交する方向へ向かい、色調変化が連続的に続くことを判定する。
The present invention (Claim 4) is the side detection method according to Claims 1 to 3,
In the edge detection step (step 2),
With respect to the edge search start point detected by the filter processing means, it is determined from the edge search start point toward the direction orthogonal to the search direction in the filter processing means, that the color change continues continuously.

また、本発明(請求項5)は、請求項1乃至4の辺検出方法であって、
辺検出ステップ(ステップ2)において、
辺探索開始点からフィルタ処理と直交する2方向へ辺探索を行った点の位置関係より、辺探索方向を示すベクトルを決定する。
Moreover, this invention (Claim 5) is the edge | side detection method of Claims 1 thru | or 4, Comprising:
In the edge detection step (step 2),
A vector indicating the edge search direction is determined from the positional relationship between the edge search points in the two directions orthogonal to the filter processing from the edge search start point.

また、本発明(請求項6)は、請求項1乃至5の辺検出方法であって、
辺検出ステップ(ステップ2)において、
フィルタ処理を行ったピクセルから、辺探索方向ベクトルの向きに隣接する1ピクセルとその周辺のピクセルについてフィルタ処理による判定を行い、該フィルタ処理が連続して数ピクセル続くまで繰り返す。
The present invention (Claim 6) is the side detection method according to Claims 1 to 5,
In the edge detection step (step 2),
From the pixel that has been subjected to the filter processing, one pixel adjacent to the direction of the edge search direction vector and the surrounding pixels are determined by the filter processing, and the processing is repeated until the pixel continues for several pixels.

また、本発明(請求項7)は、請求項1乃至6の辺検出方法であって、
辺検出ステップ(ステップ2)において、
辺探索方向ベクトルの向きに向かい、数ピクセルおきに飛び飛びにフィルタ処理による判定を行う。
The present invention (Claim 7) is the edge detection method according to Claims 1 to 6,
In the edge detection step (step 2),
The determination is made by filter processing every few pixels in the direction of the edge search direction vector.

また、本発明(請求項8)は、請求項1乃至7の辺検出方法であって、
フィルタ処理による連続性が判定できなくなった部分を辺の端点として検出を行う。
The present invention (Claim 8) is the side detection method according to Claims 1 to 7,
A portion where continuity cannot be determined by filter processing is detected as an end point of the side.

また、本発明(請求項9)は、請求項1乃至8の辺検出方法であって、
辺の端点座標の定まった線分として辺を検出する。
The present invention (Claim 9) is the side detection method according to Claims 1 to 8,
An edge is detected as a line segment with a fixed end point coordinate.

本発明(請求項10)は、隅評価方法であって、
記憶手段に格納されている辺候補を読み出して入力とし、交点計算手段において、全ての辺の組み合わせについて、辺の延長上も含めた交点を求める交点計算ステップと、
評価値計算手段において、交点を構成する辺と該交点について第1の評価値を求める評価値計算ステップと、
検出した辺から矩形を構成する四辺の組み合わせについて第2の評価値を求め、複数の評価値を組み合わせることで矩形の総合評価を行う評価ステップと、
を行う。
The present invention (Claim 10) is a corner evaluation method,
Intersection calculation step for obtaining the intersection including the extension of the edges for all combinations of the edges in the intersection calculation means, by reading out the edge candidates stored in the storage means,
In the evaluation value calculation means, an evaluation value calculation step for obtaining a first evaluation value for the side forming the intersection and the intersection;
An evaluation step for obtaining a second evaluation value for a combination of four sides constituting a rectangle from the detected sides, and performing a comprehensive evaluation of the rectangle by combining a plurality of evaluation values;
I do.

また、本発明(請求項11)は、請求項10の隅評価方法であって、
評価ステップにおいて、
辺端点及び交点と該交点を成す2本の辺の交点側の端点座標との距離について評価する。
The present invention (Claim 11) is the corner evaluation method of Claim 10,
In the evaluation step,
The distance between the side end points and the intersection point and the end point coordinates on the intersection side of the two sides forming the intersection point is evaluated.

また、本発明(請求項12)は、請求項10の隅評価方法であって、
評価ステップにおいて、
一つの交点を成す2本の辺について、片方の辺の端点がもう片方の辺の外側に位置するか、内側に位置するかという接続位置について評価する。
The present invention (Claim 12) is the corner evaluation method of Claim 10,
In the evaluation step,
With respect to two sides forming one intersection, the connection position is evaluated as to whether the end point of one side is located outside or inside the other side.

また、本発明(請求項13)は、請求項10の隅評価方法であって、
評価ステップにおいて、
交点計算ステップで求められた交点と該交点をなす2本の線分について、該交点を開始点として辺検出ステップと同様の辺探索を行い、矩形領域における隅位置と2本の辺の位置から、特定の方向へのみ探索が可能であるかについて評価する。
The present invention (Claim 13) is the corner evaluation method of Claim 10,
In the evaluation step,
With respect to the intersection obtained in the intersection calculation step and the two line segments forming the intersection, an edge search similar to the edge detection step is performed with the intersection as a starting point, and from the corner position and the position of the two sides in the rectangular area Evaluate whether search is possible only in a specific direction.

また、本発明(請求項14)は、請求項10の隅評価方法であって、
評価ステップにおいて、
画像の各外辺からそれぞれ辺候補を一本ずつ選択し、
選択された4本の辺候補によって形成される四辺形の面積を求める。
The present invention (Claim 14) is the corner evaluation method according to Claim 10,
In the evaluation step,
Select one edge candidate from each outer edge of the image,
The area of the quadrilateral formed by the selected four side candidates is obtained.

また、本発明(請求項15)は、請求項10の隅評価方法であって、
評価ステップにおいて、
選択された4本の辺からなる矩形領域の対角線の交わる点を矩形領域の重心座標間の距離の割合を評価する。
The present invention (Claim 15) is the corner evaluation method of Claim 10,
In the evaluation step,
The ratio of the distance between the barycentric coordinates of the rectangular area is evaluated at the point where the diagonal lines of the selected rectangular area of the four sides intersect.

図2は、本発明の原理構成図である。   FIG. 2 is a principle configuration diagram of the present invention.

本発明(請求項16)は、画像中で四辺に囲まれた矩形領域の辺を検出する辺検出装置であって、
入力された画像を取得する画像入力手段10と、
取得した画像中の矩形領域の辺を検出して、辺候補として記憶手段14に格納する辺検出手段11と、
記憶手段14から辺候補を取得し、該辺候補の交点を求め、記憶手段に格納し、該交点について矩形領域の隅を形成する組み合わせとなるかを判定し、隅評価結果として記憶手段に格納する隅評価手段12と、
隅評価手段12の隅評価結果に基づいて矩形領域の隅座標を出力する検出結果出力手段13と、を有する。
The present invention (Claim 16) is an edge detection device for detecting an edge of a rectangular area surrounded by four edges in an image,
Image input means 10 for acquiring an input image;
A side detection unit 11 that detects a side of the rectangular area in the acquired image and stores the side in the storage unit 14 as a side candidate;
An edge candidate is acquired from the storage means 14, an intersection of the edge candidates is obtained, stored in the storage means, a determination is made as to whether the intersection is a combination that forms a corner of a rectangular area, and the result of corner evaluation is stored in the storage means Corner evaluation means 12 for
And detection result output means 13 for outputting the corner coordinates of the rectangular area based on the corner evaluation result of the corner evaluation means 12.

また、本発明(請求項17)は、請求項16の辺検出装置であって、
辺検出手段11は、
取得した画像に対し、該画像の各縁上の任意の一点をフィルタ処理開始点とし、該フィルタ処理開始点から該画像の内側に向かって辺と直交する方向へフィルタ処理を行うフィルタ手段を含む。
The present invention (Claim 17) is the side detection device according to Claim 16,
The edge detection means 11
Filter means for performing filtering in the direction orthogonal to the side from the filtering processing start point toward the inside of the image with respect to the acquired image as an arbitrary one point on each edge of the image .

また、本発明(請求項18)は、請求項16または、17の辺検出装置であって、
フィルタ処理手段は、
入力された画像の各縁上の辺探索開始点から該画像内部に向かい各ピクセルごとにフィルタ処理を行い、フィルタ出力値が閾値を超えた点を矩形領域の辺候補の辺探索開始点として検出する。
Moreover, this invention (Claim 18) is the edge detection apparatus of Claim 16 or 17,
Filter processing means
Performs filter processing for each pixel from the edge search start point on each edge of the input image to the inside of the image, and detects the point where the filter output value exceeds the threshold as the edge search start point of the edge candidate of the rectangular area To do.

また、本発明(請求項19)は、請求項16乃至18の辺検出装置であって、
辺検出手段11は、
フィルタ処理手段で検出した辺探索開始点について、該辺探索開始点から、該フィルタ処理手段での探索方向と直交する方向へ向かい、色調変化が連続的に続くことを判定する辺探索手段を有する。
The present invention (Claim 19) is the side detection device according to Claims 16 to 18,
The edge detection means 11
For the edge search start point detected by the filter processing means, there is an edge search means for judging from the edge search start point to a direction orthogonal to the search direction in the filter processing means and continuously changing the color tone. .

また、本発明(請求項20)は、請求項16乃至19の辺検出装置であって、
辺検出手段11の辺探索手段は、
辺探索開始点からフィルタ処理と直交する2方向へ辺探索を行った点の位置関係より、辺探索方向を示すベクトルを決定する探索方向ベクトル決定手段を有する。
The present invention (Claim 20) is the side detection apparatus according to Claims 16 to 19,
The edge search means of the edge detection means 11 is:
Search direction vector determining means is provided for determining a vector indicating the edge search direction from the positional relationship of the points where edge search is performed in two directions orthogonal to the filter processing from the edge search start point.

また、本発明(請求項21)は、請求項16乃至20の辺検出装置であって、
辺探索手段は、
フィルタ処理手段のフィルタ処理を行ったピクセルから、辺探索方向ベクトルの向きに隣接する1ピクセルとその周辺のピクセルについてフィルタ処理による判定を行い、該フィルタ処理が連続して数ピクセル続くまで繰り返す密探索手段を有する。
The present invention (Claim 21) is the side detection apparatus according to Claims 16 to 20,
The edge search means
The fine search is repeated until one pixel adjacent to the direction of the edge search direction vector and the surrounding pixels are determined by filter processing from the pixels subjected to the filter processing by the filter processing means, and the filter processing continues several pixels continuously. Have means.

また、本発明(請求項22)は、請求項16乃至21の辺検出装置であって、
辺探索手段は、
辺探索方向ベクトルの向きに向かい、数ピクセルおきに飛び飛びにフィルタ処理による判定を行う粗探索手段を有する。
The present invention (Claim 22) is the side detection device according to Claims 16 to 21,
The edge search means
Coarse search means for performing determination by filter processing every few pixels in the direction of the edge search direction vector is provided.

また、本発明(請求項23)は、請求項16乃至22の辺検出装置であって、
辺探索手段は、
フィルタ処理による連続性が判定できなくなった部分を辺の端点として検出を行う線分検出手段を有する。
The present invention (Claim 23) is the side detection apparatus according to Claims 16 to 22,
The edge search means
It has a line segment detection means for detecting the part where the continuity cannot be determined by the filter processing as the end point of the side.

また、本発明(請求項24)は、請求項16乃至23の辺検出装置であって、
辺検出手段は、
辺の端点座標の定まった線分として辺を検出する手段を有する。
The present invention (Claim 24) is the side detection apparatus according to Claims 16 to 23,
The edge detection means is
Means for detecting a side as a line segment with a fixed end point coordinate is provided.

本発明(請求項25)は、辺検出装置に用いられる隅評価装置であって、
記憶手段に格納されている辺候補を読み出して入力とし、全ての辺の組み合わせについて、辺の延長上も含めた交点を求める交点計算手段と、
交点を構成する辺と該交点について第1の評価値を求める評価値計算手段と、
辺検出装置で検出された辺から矩形を構成する四辺の組み合わせについて第2の評価値を求めることで矩形の総合評価を行う評価手段と、を有する。
The present invention (Claim 25) is a corner evaluation device used in a side detection device,
Intersection calculation means for reading out the edge candidates stored in the storage means and using them as input, and obtaining intersection points including the extension of the edges for all combinations of edges;
An evaluation value calculating means for obtaining a first evaluation value for the side constituting the intersection and the intersection;
Evaluation means for performing a comprehensive evaluation of the rectangle by obtaining a second evaluation value for a combination of four sides constituting the rectangle from the sides detected by the side detection device.

また、本発明(請求項26)は、請求項25の隅評価装置であって、
評価手段は、
辺端点、交点計算手段で求めた交点と該交点を成す2本の辺の交点側の端点座標との距離について評価する手段を含む。
The present invention (Claim 26) is the corner evaluation apparatus according to Claim 25,
Evaluation means
Means for evaluating the distance between the side end point, the intersection obtained by the intersection calculation means, and the end point coordinates of the two sides forming the intersection.

また、本発明(請求項27)は、請求項25の隅評価装置であって、
評価手段は、
一つの交点を成す2本の辺について、片方の辺の端点がもう片方の辺の外側に位置するか、内側に位置するかという接続位置について評価する辺接続位置関係評価手段を含む。
The present invention (Claim 27) is the corner evaluation apparatus according to Claim 25,
Evaluation means
Side connection position relationship evaluation means for evaluating a connection position of whether one of the end points of one side is located outside or inside the other side for two sides forming one intersection is included.

また、本発明(請求項28)は、請求項25の隅評価装置であって、
評価手段は、
交点計算手段で求めた交点と該交点を成す2本の線分について、該交点を開始点として、辺検出装置の辺探索手段と同様に辺探索を行い、矩形領域における隅位置と2本の辺の位置から、特定の方向へのみ探索が可能であるかについて評価する隅形状評価手段を含む。
The present invention (Claim 28) is the corner evaluation apparatus according to Claim 25,
Evaluation means
With respect to the intersection obtained by the intersection calculation means and the two line segments forming the intersection, an edge search is performed using the intersection as a starting point in the same manner as the edge search means of the edge detection device, and the corner position in the rectangular area and the two line segments are detected. Corner shape evaluation means for evaluating whether a search is possible only in a specific direction from the position of the side is included.

また、本発明(請求項29)は、請求項25記載の隅評価装置であって、
評価値手段は、
画像の各外辺からそれぞれ辺候補を一本ずつ選択し、
選択された4本の辺候補によって形成される四辺形の面積を求める四辺形面積評価手段を含む。
The present invention (Claim 29) is the corner evaluation apparatus according to Claim 25,
Evaluation value means
Select one edge candidate from each outer edge of the image,
A quadrilateral area evaluation means for obtaining an area of a quadrilateral formed by the selected four side candidates is included.

また、本発明(請求項30)は、請求項25記載の隅評価装置であって、
評価手段は、
選択された4本の辺からなる矩形領域の対角線の交わる点を矩形領域の重心座標間の距離の割合を評価する四辺形重心評価手段を含む。
The present invention (Claim 30) is the corner evaluation apparatus according to Claim 25,
Evaluation means
A quadrangular center-of-gravity evaluation unit is included that evaluates the ratio of the distance between the center-of-gravity coordinates of the rectangular region at the intersection of the diagonal lines of the selected rectangular region of four sides.

また、本発明(請求項31)は、画像中で四辺に囲まれた矩形領域の辺を検出する辺検出プログラムであって、
コンピュータを、請求項16乃至24記載の辺検出装置として機能させるプログラムである。
The present invention (Claim 31) is a side detection program for detecting a side of a rectangular area surrounded by four sides in an image,
A program causing a computer to function as the side detection device according to claims 16 to 24.

本発明(請求項32)は、隅を評価する隅評価プログラムであって、
コンピュータを、請求項25乃至30記載の隅評価装置として機能させるプログラムである。
The present invention (Claim 32) is a corner evaluation program for evaluating a corner,
A program causing a computer to function as a corner evaluation apparatus according to claims 25 to 30.

本発明によれば、携帯電話などの処理能力が限られた携帯用端末上においても、撮影画像中にある任意の矩形領域を高速に、そして正確に検出することが可能である。   According to the present invention, an arbitrary rectangular area in a captured image can be detected at high speed and accurately even on a portable terminal such as a cellular phone with limited processing capability.

画像中から矩形領域を検出するためには、その矩形領域を構成する四辺を検出する必要がある。本発明では、一定の方向に連続して連なり、その周辺部とのコントラストが高い画素群を検出することで、画像の端から端までを突き抜ける直線を検出することが可能である。   In order to detect a rectangular area from an image, it is necessary to detect four sides constituting the rectangular area. In the present invention, it is possible to detect a straight line penetrating from end to end of an image by detecting a pixel group that continues in a certain direction and has a high contrast with its peripheral portion.

また、それだけに留まらず、画素群の連続性が途切れる部分を判定することで、画像内部のある2点間のみを結ぶ線分をも検出可能である。   In addition, it is possible to detect a line segment connecting only two points in the image by determining a portion where the continuity of the pixel group is interrupted.

本発明では、線分(直線含む)検出漏れを防ぐため、辺検出手段におけるフィルタ処理の閾値を低く設定し、数多くの線分を検出している。検出した線分には必ず辺候補が含まれるため、この候補の中から求める矩形領域の辺を正確に判定できるように、精度の高い隅評価手段を実現した。   In the present invention, in order to prevent detection of line segments (including straight lines), the threshold value of the filter processing in the edge detection means is set low, and a large number of line segments are detected. Since the detected line segment always includes a side candidate, a highly accurate corner evaluation means is realized so that the side of the rectangular area to be obtained can be accurately determined from the candidates.

隅評価手段では、2本の線分の交点を求める矩形領域の隅と考えて、隅の座標と線分の端点座標の位置関係、2本の線分の交差状態、隅形状、四辺形の面積を合わせて評価することで求める矩形領域を構成する四辺を選択することが可能である。検出される隅座標は、ピクセル単位で検出され、正確な座標を得ることが可能である。   The corner evaluation means considers the corner of a rectangular area to obtain the intersection of two line segments, and the positional relationship between the corner coordinates and the end point coordinates of the line segment, the intersection state of the two line segments, the corner shape, and the quadrilateral shape It is possible to select four sides constituting a rectangular region to be obtained by evaluating the area together. The detected corner coordinates are detected in units of pixels, and accurate coordinates can be obtained.

また、角が丸まっている四辺形なども、四辺の部分的な検出がなされていれば、四辺の接続関係から隅座標を仮想的に計算することで、矩形領域を検出可能である。   In addition, a quadrangular shape with rounded corners can be detected as a rectangular region by virtually calculating the corner coordinates from the connection relationship of the four sides if the four sides are partially detected.

さらに、求める矩形領域のうち、一つの隅が画像外にある場合でも、四辺が部分的に検出されていれば、辺の延長上の隅座標を仮想的に計算することで、見えない隅座標を検出し、矩形領域を検出することが可能である。   Furthermore, even if one corner of the desired rectangular area is outside the image, if the four sides are partially detected, the corner coordinates on the extension of the side are virtually calculated, and the corner coordinates that cannot be seen It is possible to detect a rectangular area.

本発明は、デスクトップパーソナルコンピュータのような処理能力の高い端末では当然実現可能であるが、携帯電話に代表されるような処理能力の低い端末でも動作可能であり、その処理速度も十分に速いことを特徴とする。そのため、矩形領域の抽出のための前処理として様々な機器への組み込みが可能となる。   The present invention can naturally be realized with a terminal having a high processing capability such as a desktop personal computer, but can also be operated with a terminal having a low processing capability such as a mobile phone, and its processing speed is sufficiently high. It is characterized by. Therefore, it can be incorporated into various devices as preprocessing for extracting a rectangular area.

携帯端末上にて動作可能なため、数多く出回っているカメラ付き携帯電話にも組み込み可能であり、今後カメラ付携帯電話の利用が変わる可能性を秘めている。矩形領域の収まっているモノを撮影すれば、その領域を自動的に検出できるため、リビングの椅子に座りながら、TV画面に向けてカメラ撮影することでTVの画面のみをキャプチャすることが可能である。例えば、番組毎に電子透かしが埋め込まれていれば、番組独自の情報をこれにより取得可能となる。   Since it can be operated on a mobile terminal, it can be incorporated into a large number of camera-equipped mobile phones, which has the potential to change the use of camera-equipped mobile phones in the future. If you shoot a thing that fits in a rectangular area, you can automatically detect that area, so you can capture only the TV screen by shooting the camera toward the TV screen while sitting on a chair in the living room. is there. For example, if a digital watermark is embedded for each program, it is possible to acquire information unique to the program.

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

本実施の形態では、カメラ付き携帯電話で電子透かし入り画像を撮影した場合について説明する。   In this embodiment mode, a case where a digital watermarked image is taken with a camera-equipped mobile phone will be described.

図3は、本発明の一実施の形態における全体の動作のフローチャートであり、図4は、本発明の一実施の形態における実施イメージを示す。   FIG. 3 is a flowchart of the overall operation in one embodiment of the present invention, and FIG. 4 shows an implementation image in one embodiment of the present invention.

まず、カメラ付き携帯電話のカメラモジュールから、電子透かしを埋め込んだ画像の撮影画像を取得し(ステップ100)、撮影画像中の電子透かし入り画像領域の辺候補を検出する(ステップ200)。辺候補の2本の組み合わせから導出される交点を画像の隅候補とし、各隅候補の座標について評価する(ステップ300)。評価値の高い隅候補を構成する辺候補の組み合わせを、検出結果として出力する(ステップ400)。   First, a captured image of an image in which a digital watermark is embedded is obtained from the camera module of the camera-equipped mobile phone (step 100), and edge candidates of the image area with the digital watermark in the captured image are detected (step 200). The intersection derived from the two combinations of edge candidates is set as a corner candidate of the image, and the coordinates of each corner candidate are evaluated (step 300). A combination of edge candidates constituting a corner candidate having a high evaluation value is output as a detection result (step 400).

図5は、本発明の一実施の形態における用語を定義するための図である。同図は入力画像の例を示しており、当該入力画像において(a)の矢印は辺探索開始点探索、(b)の矢印は密探索(辺探索)、(c)の矢印は粗探索(辺探索)、(d)の矢印は辺探索方向を示す。(e)の点は、辺探索開始初期点、(f)の点は辺探索開始点、(g)の点は密探索終了点、(h)の点は粗探索終了点、(i)は辺探索途中の点であり、辺追跡点と呼ぶ。   FIG. 5 is a diagram for defining terms in an embodiment of the present invention. The figure shows an example of an input image. In the input image, an arrow (a) indicates an edge search start point search, an arrow (b) indicates a fine search (edge search), and an arrow (c) indicates a rough search ( Edge search) and (d) arrows indicate the edge search direction. The point (e) is the initial side search start point, the point (f) is the side search start point, the point (g) is the fine search end point, the point (h) is the rough search end point, and (i) is the point This is a point in the middle of edge search and is called edge tracking point.

図6は、本発明の一実施の形態における装置の基本構成を示す。   FIG. 6 shows a basic configuration of an apparatus according to an embodiment of the present invention.

同図に示す装置は、画像入力部10、辺検出部11、隅評価部12、検出結果出力部13から構成される。なお、図示しないが、本装置は、メモリ等の記憶手段を有するものとする。   The apparatus shown in FIG. 1 includes an image input unit 10, a side detection unit 11, a corner evaluation unit 12, and a detection result output unit 13. Although not shown in the figure, this apparatus has storage means such as a memory.

辺検出部11は、カメラ付き携帯電話などで撮影された画像から、画像内にある電子透かし入り画像の辺を含む辺候補を検出し、メモリ(図示せず)に格納する。   The edge detection unit 11 detects an edge candidate including an edge of an image with a digital watermark in the image from an image taken with a camera-equipped mobile phone or the like, and stores it in a memory (not shown).

図7は、本発明の一実施の形態における辺検出部の構成を示す。   FIG. 7 shows the configuration of the edge detection unit in one embodiment of the present invention.

辺検出部11は、辺探索開始初期点決定部111、辺探索開始点探索部112、密探索部113、粗探索部114から構成される。   The edge detection unit 11 includes an edge search start initial point determination unit 111, an edge search start point search unit 112, a dense search unit 113, and a rough search unit 114.

以下に、辺検出部11の動作を説明する。   Below, operation | movement of the edge | side detection part 11 is demonstrated.

図8は、本発明の一実施の形態における辺検出部の処理のフローチャートである。   FIG. 8 is a flowchart of the process of the edge detection unit according to the embodiment of the present invention.

ステップ201) 辺検出部11は、辺探索開始初期点決定部111へ入力された撮影画像を渡す。   Step 201) The edge detection unit 11 passes the captured image input to the edge search start initial point determination unit 111.

ステップ202) 辺探索開始初期点決定部111は、入力画像の縁から一辺を選択する。   Step 202) The edge search start initial point determination unit 111 selects one edge from the edge of the input image.

ステップ203) 辺探索開始初期点決定部111は、例えば、縁の中点を辺探索開始初期点と設定し、辺探索開始点座標を辺探索開始点探索部112へ渡す。本実施の形態では、画像の左辺が選択された場合について説明する。   Step 203) For example, the edge search start initial point determination unit 111 sets the middle point of the edge as the edge search start initial point, and passes the edge search start point coordinates to the edge search start point search unit 112. In the present embodiment, a case where the left side of an image is selected will be described.

ステップ204) 辺探索開始点探索部112は、ステップ203で決定した辺探索開始初期点から辺探索を開始する。辺探索開始点探索部112は、一画素ずつ画素の内側に向かって(この場合は右方向に)水平に辺探索開始点探索を行う。求める透かし入り画像が濃い色をしており、周辺部が白い画像であるなど、画像の縁の様にコントラストの大きい場所では大きいフィルタ出力が得られる。   Step 204) The edge search start point search unit 112 starts edge search from the edge search start initial point determined in step 203. The edge search start point search unit 112 performs an edge search start point search horizontally one pixel at a time toward the inside of the pixel (in this case, to the right). The desired watermarked image has a dark color, and the periphery is a white image. For example, a large filter output can be obtained at a place with high contrast such as the edge of the image.

ここで、辺探索開始点探索にて用いるフィルタについて説明する。図9は、本発明の一実施の形態における辺探索開始点探索部のフィルタを説明するための図である。同図では3×3の場合の例を示している。探索点座標をフィルタの中心と合わせて、フィルタ出力値を計算し、メモリ(図示せず)に格納する。図9(a)は、左側からの探索時に用いるフィルタであるが、例えば、上側からの探索であれば、同図(b)に示すように右90度回転したフィルタを用いる。但し、フィルタ形状は3×3に限らず、1×3や2×5の様な形状のフィルタでもよい。例えば、1×3であれば、(1,0,−1)というフィルタにすることが考えられる。また、白黒のような画像の輝度値変化を検出するフィルタに限らず、青黄のような色差の変化を検出するフィルタなども考えられる。また、画像に枠をつけた場合についても、例えば、フィルタを(1,0,1)などとすれば枠の検出が可能となる。   Here, the filter used in the edge search start point search will be described. FIG. 9 is a diagram for explaining a filter of the edge search start point search unit according to the embodiment of the present invention. In the figure, an example in the case of 3 × 3 is shown. The filter output value is calculated by matching the search point coordinates with the center of the filter, and stored in a memory (not shown). FIG. 9A shows a filter used when searching from the left side. For example, when searching from the upper side, a filter rotated 90 degrees to the right is used as shown in FIG. However, the filter shape is not limited to 3 × 3, and may be a filter having a shape such as 1 × 3 or 2 × 5. For example, if it is 1 × 3, a filter of (1, 0, −1) can be considered. Further, not only a filter that detects a change in luminance value of an image such as black and white, but also a filter that detects a change in color difference such as blue and yellow can be considered. Even when a frame is added to the image, for example, if the filter is (1, 0, 1), the frame can be detected.

ステップ205) 画像の中心線まで辺探索開始点探索が続いた場合は、その縁についての探索は終了し、ステップ214にて入力画像の全ての縁について辺探索を行ったかどうかを判定する。まだ画像の中心線まで辿り着いていなければ、ステップ206へ移動し、辺探索開始点探索を続行する。   Step 205) If the edge search start point search continues to the center line of the image, the search for the edge is completed, and it is determined in step 214 whether the edge search has been performed for all edges of the input image. If the center line of the image has not yet been reached, the process moves to step 206, and the edge search start point search is continued.

ステップ206) 現在のピクセルを中心ピクセルとして、フィルタ処理を行い、フィルタの出力をメモリ(図示せず)に格納する。メモリ(図示せず)に格納されているフィルタ出力がある閾値を超えた場合を辺検出とし、閾値を超えた座標を密探索部113へ送り、ステップ207へ処理を移す。フィルタの閾値は任意に設定でき、特に低く設定することにより、辺検出漏れを防ぐことが可能である。   Step 206) Perform filtering using the current pixel as the central pixel, and store the output of the filter in memory (not shown). When the filter output stored in the memory (not shown) exceeds a certain threshold value, the edge detection is performed, and the coordinates exceeding the threshold value are sent to the dense search unit 113, and the process proceeds to step 207. The threshold value of the filter can be arbitrarily set, and it is possible to prevent side detection omission by setting it particularly low.

ステップ207) 密探索部113は、ステップ206でエッジ検出した場合は、密探索を行う。辺探索開始点探索部112から受け取った座標を辺探索開始点とし、ステップ204の辺探索開始点探索と直交する方向(この場合は上下方向)に密探索を行う。本実施の形態では、上方向への密探索について説明する。エッジが左右に傾いている可能性があるので、密探索開始点から上方向へ1画素移動した点を中心とし、左右1画素の領域、合計3画素について辺探索開始点探索部112と同じフィルタを用いて密探索を行い、フィルタの出力をメモリ(図示せず)に格納する。メモリ(図示せず)のフィルタの出力が閾値を超えていて、かつ最も高い値の画素を次の密探索中心とする。フィルタ出力値が閾値を超えない場合は、その点で上方向への密探索を終了し、続いて辺探索開始点へ戻り、逆方向(この場合は下方向)への密探索を続ける。   Step 207) If an edge is detected in Step 206, the dense search unit 113 performs a dense search. The coordinates received from the edge search start point search unit 112 are used as edge search start points, and a dense search is performed in a direction orthogonal to the edge search start point search in step 204 (in this case, the vertical direction). In the present embodiment, an upward dense search will be described. Since there is a possibility that the edge is inclined to the left and right, the same filter as the edge search start point search unit 112 for the area of one pixel on the left and right, a total of three pixels, centered on the point moved one pixel upward from the dense search start point Is used to perform a fine search and the output of the filter is stored in a memory (not shown). The output of the filter of the memory (not shown) exceeds the threshold value, and the pixel having the highest value is set as the next dense search center. If the filter output value does not exceed the threshold value, the fine search in the upward direction is terminated at that point, then the search returns to the edge search start point, and the fine search in the reverse direction (downward in this case) is continued.

ここでは、先に上方向へ探索、閾値を下回ったら、下方向へ探索としているが、辺探索開始点から上方向へ1ピクセル探索したら、次に下方向の探索を行い、また、上方向の探索と交互に進める方法などもある。   Here, the search is performed in the upward direction first, and when the value falls below the threshold, the search is performed in the downward direction. However, if one pixel is searched upward from the edge search start point, the search is performed in the downward direction. There is also a method of proceeding alternately with search.

ステップ208) 密探索部113は、密探索による辺の追跡が、上下方向合わせて一定長以上続いた場合には密探索終了点とし、メモリ(図示せず)に格納し、ステップ209に移行し、そうでない場合はステップ213に移行する。   Step 208) The fine search unit 113 sets the fine search end point when the edge tracking by the fine search continues for a certain length or more in the vertical direction, stores it in the memory (not shown), and proceeds to step 209. If not, the process proceeds to step 213.

ステップ209) 上限密探索の途中の追跡点に基づいて得られる方向ベクトルを辺探索方向ベクトルとする。辺探索方向ベクトルの決定方法は、上下密探索終了点の二点を結ぶベクトルや辺追跡点から最小二乗近似から求まる直線の方向ベクトルから求めるといったことが考えられる。   Step 209) The direction vector obtained based on the tracking point in the middle of the upper limit dense search is set as the edge search direction vector. As a method for determining the edge search direction vector, it is conceivable that the edge search direction vector is obtained from a vector connecting two points of the upper and lower dense search end points or a direction vector of a straight line obtained from least square approximation from the edge tracking point.

ステップ210) 粗探索部114は、密探索部113でメモリ(図示せず)に格納された密探索終了点を粗探索開始点とし、ステップ209にて決定した辺方向探索ベクトルの向きに数ピクセルおきに飛び飛びに辺探索を行う(粗探索)。   Step 210) The coarse search unit 114 sets the fine search end point stored in the memory (not shown) by the fine search unit 113 as the coarse search start point, and sets several pixels in the direction of the side direction search vector determined in Step 209. Edge search is performed every other time (coarse search).

ステップ211) 粗探索部114は、ステップ210の粗探索を続け、フィルタ出力値が閾値を下回った位置を、粗探索終了点とし、メモリ(図示せず)に格納する。   Step 211) The rough search unit 114 continues the rough search in Step 210, stores the position where the filter output value is below the threshold as a rough search end point, and stores it in a memory (not shown).

ステップ212) 予め各縁毎に辺探索にて検出する候補の上限数を決めておき、これまでの辺探索で検出したメモリ(図示せず)内の辺候補の数がその数に満たなければ、ステップ213に移行し、辺探索開始点に戻り再び辺探索を続ける。また、辺候補の数が上限数に達すれば、その辺における辺探索を終了する。   Step 212) An upper limit number of candidates to be detected by edge search is determined in advance for each edge, and the number of edge candidates in a memory (not shown) detected by the previous edge search does not reach that number. Then, the process proceeds to step 213 to return to the edge search start point and continue the edge search again. If the number of edge candidates reaches the upper limit, edge search for that edge is terminated.

ステップ213) ステップ208において、密探索が一定長続かなかった場合は、文字などの短い線分の可能性や、求める矩形領域の辺ほどには長く続かない辺の可能性が高いため、途中で密探索は終了し、辺探索開始点に戻り、再び辺探索開始点探索を行う(ステップ204に移行する)。   Step 213) If the dense search does not last for a certain length in Step 208, there is a high possibility of a short line segment such as a character or a side that does not last as long as the side of the desired rectangular area. The dense search ends, returns to the edge search start point, and performs the edge search start point search again (proceeds to step 204).

ステップ214) 全ての縁について、上記の辺探索が終了していれば、辺探索は終了、まだ、探索を行っていない縁があれば、ステップ202に戻り、他の縁について辺探索を行う。   Step 214) If the above edge search has been completed for all edges, the edge search is completed. If there is an edge that has not been searched yet, the process returns to step 202, and the edge search is performed for other edges.

次に、隅評価部12について説明する。   Next, the corner evaluation unit 12 will be described.

上記の辺検出部11で撮影画像中の全ての辺候補を検出し、メモリ(図示せず)に格納した後は、隅評価部12において辺候補の組み合わせについて評価し、正解の辺の組み合わせを求める。   After all the edge candidates in the photographed image are detected by the edge detection unit 11 and stored in a memory (not shown), the corner evaluation unit 12 evaluates the combination of edge candidates, and determines the correct edge combination. Ask.

図10は、本発明の一実施の形態における隅評価部の構成を示す。   FIG. 10 shows the configuration of the corner evaluation unit in one embodiment of the present invention.

同図に示す隅評価部12は、隅座標評価部121、四辺形面積評価部122、隅総合評価部123から構成される。   The corner evaluation unit 12 shown in the figure includes a corner coordinate evaluation unit 121, a quadrilateral area evaluation unit 122, and a corner comprehensive evaluation unit 123.

隅座標評価部121が、辺検出部11で検出されメモリ(図示せず)に格納されている辺(辺候補)を読み出して、全ての辺についてその組み合わせを求め、その交点である隅について評価を行い、評価値をメモリ(図示せず)に格納する。   The corner coordinate evaluation unit 121 reads out the sides (side candidates) detected by the side detection unit 11 and stored in a memory (not shown), obtains the combinations of all the sides, and evaluates the corner that is the intersection. And the evaluation value is stored in a memory (not shown).

図11は、本発明の一実施の形態における隅座標評価部の構成を示す。隅座標評価部121は、辺選択部1211、隅座標計算部1212、辺端点・隅位置評価部1213、辺接続位置関係評価部1214、隅形状評価部1215から構成される。   FIG. 11 shows a configuration of a corner coordinate evaluation unit in an embodiment of the present invention. The corner coordinate evaluation unit 121 includes a side selection unit 1211, a corner coordinate calculation unit 1212, a side end point / corner position evaluation unit 1213, a side connection position relationship evaluation unit 1214, and a corner shape evaluation unit 1215.

まず、辺選択部1211が、メモリ(図示せず)に格納されている辺候補から2本の辺を選択する。先の図5に示す通り、辺候補は入力画像の上下左右の縁からそれぞれ検出されているため、選択する辺は隣り合う縁同士(例えば、左と上)の組み合わせとする。   First, the edge selection unit 1211 selects two edges from edge candidates stored in a memory (not shown). As shown in FIG. 5, since the edge candidates are detected from the upper, lower, left and right edges of the input image, the edges to be selected are a combination of adjacent edges (for example, left and upper).

隅座標計算部1212は、辺選択部1211にて選択された2本の辺の交点を求め、メモリ(図示せず)に格納する。2本の辺は線分であるため、直接交わらない場合もあるが、その場合は仮想的に延長した際の交点を求める。   The corner coordinate calculation unit 1212 obtains the intersection of the two sides selected by the side selection unit 1211 and stores it in a memory (not shown). Since the two sides are line segments, there are cases where they do not intersect directly, but in that case, the intersection point when virtually extending is obtained.

辺端点・隅位置評価部1213は、2辺の粗探索終了点座標と2辺から求まる隅座標の位置関係について評価し、評価値をメモリ(図示せず)に格納する。辺検出部11の検出結果が正しい場合には、2辺の粗探索終了点座標と隅座標とは一致、もしくは、非常に距離が近い状態にあるはずである。逆に不正解の場合には、これらは離れていると考えられる。但し、正しい辺を検出していても途中で探索が途切れる場合もある。以上を考慮して、この2辺の組み合わせについて図12に示すように評価の大小を考え、この評価値を“connect”とする。具体的な評価値は画像などの条件で異なるが、例えば、“5,3,1”といった評価値を与えることが考えられる。   The side end point / corner position evaluation unit 1213 evaluates the positional relationship between the rough search end point coordinates of the two sides and the corner coordinates obtained from the two sides, and stores the evaluation values in a memory (not shown). If the detection result of the edge detection unit 11 is correct, the coarse search end point coordinates and the corner coordinates of the two edges should match or be very close to each other. Conversely, in the case of incorrect answers, these are considered to be separated. However, the search may be interrupted in the middle even if the correct side is detected. Considering the above, considering the magnitude of the evaluation of the combination of the two sides as shown in FIG. 12, this evaluation value is set to “connect”. Although specific evaluation values differ depending on conditions such as images, for example, an evaluation value such as “5, 3, 1” may be given.

辺接続位置関係評価部1214は、2辺の交点がそれぞれの線分の内側で交わっているか、外側で交わっているかを判定する。正解の辺同士の組み合わせであれば、2辺は各線分の外側にて交わる可能性が高いが、画像の内側にある線分などを選択した場合は、線分の途中で2辺が交わる可能性が高い。以上を考慮し、この2辺の組み合わせについて、図13に示すように評価の大小を与え、評価値を“middle”とする。具体的な評価値は画像などの条件で異なるが、例えば、“5,1”といった評価値を与えることが考えられる。評価値は、メモリ(図示せず)に格納される。   The side connection position relationship evaluation unit 1214 determines whether the intersection of the two sides intersects inside or outside each line segment. If it is a combination of correct sides, the two sides are likely to cross outside each line segment, but if you select a line segment inside the image, two sides can cross in the middle of the line segment High nature. Considering the above, for the combination of these two sides, the magnitude of the evaluation is given as shown in FIG. 13, and the evaluation value is set to “middle”. Although specific evaluation values differ depending on conditions such as images, for example, an evaluation value such as “5, 1” may be given. The evaluation value is stored in a memory (not shown).

隅形状評価部1215は、2辺の交点からその近傍にて辺探索をすることで、交点付近の矩形領域が隅の形状をしているかを確認する。矩形領域の隅から辺探索を開始した場合、矩形領域の縁に沿うL字型をした2方向へのみ辺探索を続けることが可能であり、3方向以上へ探索できる十字やT字で辺が交わっている場合は、矩形領域の隅である可能性は低いはずである。例えば、矩形領域の左下隅を考えた場合、右方向と上方向へは辺探索は可能であるが、左方向と下方向へは矩形領域が続いていないため、辺探索できないはずである。以上を考慮し、この2辺の組み合わせについて、図14に示すように評価の大小を与え、評価値を“shape”とする。具体的な評価値は、画像などの条件で異なるが、例えば、“5,1”といった評価値を与えることが考えられる。評価値は、メモリ(図示せず)に格納される。   The corner shape evaluation unit 1215 performs edge search in the vicinity from the intersection of the two sides to confirm whether the rectangular area near the intersection has a corner shape. When the edge search is started from the corner of the rectangular area, it is possible to continue the edge search only in two L-shaped directions along the edge of the rectangular area. If it intersects, it should be less likely to be a corner of the rectangular area. For example, if the lower left corner of a rectangular area is considered, edge search is possible in the right direction and upward direction, but no edge search should be possible because the rectangular area does not continue in the left direction and downward direction. Considering the above, the combination of these two sides is given the magnitude of evaluation as shown in FIG. 14, and the evaluation value is “shape”. A specific evaluation value varies depending on conditions such as an image, but it is conceivable to give an evaluation value such as “5, 1”, for example. The evaluation value is stored in a memory (not shown).

次に、隅評価部12の四辺形評価部122について説明する。   Next, the quadrangle evaluation unit 122 of the corner evaluation unit 12 will be described.

隅座標評価部121が辺の組み合わせについて評価した後、四辺形評価部122が4辺の組み合わせについて評価し、評価値をメモリ(図示せず)に格納する。   After the corner coordinate evaluation unit 121 evaluates the combination of sides, the quadrilateral evaluation unit 122 evaluates the combination of four sides and stores the evaluation value in a memory (not shown).

図15は、本発明の一実施の形態における四辺形評価部の構成を示す。   FIG. 15 shows a configuration of a quadrangle evaluation unit in one embodiment of the present invention.

同図に示すように、四辺形評価部122は、四辺選択部1221、四辺形面積計算部1222及び、四辺形重心座標評価部1223で構成される。   As shown in the figure, the quadrangle evaluation unit 122 includes a quadrilateral selection unit 1221, a quadrilateral area calculation unit 1222, and a quadrilateral barycentric coordinate evaluation unit 1223.

まず、四辺形選択部1221が辺検出部11で求められたメモリ(図示せず)に格納されている辺候補より、入力画像の上下左右から1辺ずつ計4本の辺候補を選択する。次に、四辺形面積計算部1222が、選択された4辺から交わる交点を求め、四辺形の面積と、カメラフレームに対する四辺形の面積比率αを求める。   First, the quadrilateral selection unit 1221 selects a total of four side candidates one by one from the top, bottom, left, and right sides of the input image from the side candidates stored in the memory (not shown) obtained by the side detection unit 11. Next, the quadrilateral area calculation unit 1222 obtains intersections that intersect from the selected four sides, and obtains the area of the quadrilateral and the area ratio α of the quadrilateral with respect to the camera frame.

また、四辺形重心座評価部1223は、選択された4辺からなる矩形領域の対角線の交わる点を矩形領域の重心座標とした時に、カメラフレームの対角線の半分の長さ(Lとする)に対する、カメラフレームと矩形領域の重心座標間の距離(Lengとする)の割合を評価する。   Further, the quadrilateral center of gravity evaluation unit 1223 takes the length (L) of the half of the diagonal line of the camera frame when the point where the diagonal lines of the rectangular area consisting of the selected four sides intersect is used as the barycentric coordinate of the rectangular area. Evaluate the ratio of the distance (referred to as Leng) between the center of gravity coordinates of the camera frame and the rectangular area.

四辺形面積評価部1222は、以上の操作を全ての4辺の組み合わせについて行い、その結果をメモリ(図示せず)に格納する。   The quadrangular area evaluation unit 1222 performs the above operation for all four combinations, and stores the result in a memory (not shown).

次に、隅評価部12の隅総合評価部123について説明する。   Next, the corner comprehensive evaluation unit 123 of the corner evaluation unit 12 will be described.

隅総合評価部123が、隅座標評価部121と四辺形評価部122で求めた評価値を用いて、総合評価値を計算し、最適な辺の組み合わせを求め、メモリ(図示せず)に格納する。   The corner total evaluation unit 123 calculates a total evaluation value using the evaluation values obtained by the corner coordinate evaluation unit 121 and the quadrangle evaluation unit 122, obtains an optimum combination of sides, and stores it in a memory (not shown). To do.

図16に示すように、カメラフレームに占める画像の面積が大きいほど、総合評価値を高く、面積が小さいほど低くする。また、図17に示すように、カメラフレームの重心座標と矩形領域の重心座標が近い程評価値を高くする。例えば、総合評価値を
(connect*middle*shape)(1+α/100)(1+√Leng/L)
という計算式により計算する。但し、電子透かしの検出にはある程度の画素数が必要であるため、検出する矩形領域の面積に下限値を設け、αがある閾値(TH)よりも小さい場合には、総合評価値を0とする。
As shown in FIG. 16, the overall evaluation value increases as the area of the image in the camera frame increases, and decreases as the area decreases. Also, as shown in FIG. 17, the evaluation value is increased as the centroid coordinates of the camera frame and the centroid coordinates of the rectangular area are closer. For example, the total evaluation value is (connect * middle * shape) (1 + α / 100) (1 + √Leng / L)
Calculate with the following formula. However, since a certain number of pixels are required for detection of the digital watermark, a lower limit is provided for the area of the rectangular area to be detected, and when α is smaller than a certain threshold value (TH), the total evaluation value is set to 0. To do.

総合評価値の評価計算式は、この式に限定されるわけではなく、撮影条件や撮影対象などにより、最適な式は様々に変化し、和集合を組み合わせて、例えば、
(2*connect+middle+shape)(√α)(1+Leng/L)
といった式も考えられる。
The evaluation calculation formula of the comprehensive evaluation value is not limited to this formula, and the optimal formula changes variously depending on shooting conditions, shooting targets, etc.
(2 * connect + middle + shape) (√α) (1 + Leng / L)
Such a formula can also be considered.

なお、上記の個々の評価値についても、本実施の形態に限定されるものではない。評価値は高低の2段階と高中低の3段階だけではなく、5段階などの複数段階の評価や、離散的ではなく連続的な評価値、0−1に正規化された評価値などの重み付けを変化させることも考えられる。例えば、評価値“connect”であれば、隅座標と線分端点との距離を連続的な評価値で表現したり、評価値“shape”であれば、線分の交わり具合をL字、T字、十字と分けて評価することなどが考えられる。   The individual evaluation values are not limited to the present embodiment. The evaluation values are not only two levels of high and low and three levels of high, middle and low, but also multi-level evaluations such as five levels, continuous evaluation values rather than discrete values, and weightings such as evaluation values normalized to 0-1. It is also possible to change For example, if the evaluation value is “connect”, the distance between the corner coordinates and the end point of the line segment is expressed by a continuous evaluation value. If the evaluation value is “shape”, the intersection of the line segments is L-shaped, T It is possible to evaluate separately from letters and crosses.

また、隅評価部12へは、辺検出部11で検出した線分が入力されているが、ハフ変換で検出した直線や目視で検出した直線など、何らかの手法により得られた両端座標のわかる線であればよい。画像の端から端までの直線であった場合でも、画像の端の座標を線分の端点座標と考えればよく、これにより隅評価手法への適用が可能となる。さらに、評価値“middle”や“connect”を用いない評価式(例えば、“shape*α”など)によって判定を行うことなどにより、直線のみの組み合わせに対応することも考えられる。   In addition, although the line segment detected by the edge detection unit 11 is input to the corner evaluation unit 12, a line in which both end coordinates are obtained by some method, such as a straight line detected by Hough transform or a straight line detected visually. If it is. Even in the case of a straight line from end to end of the image, the coordinates of the end of the image may be considered as the end point coordinates of the line segment, which makes it possible to apply to the corner evaluation method. Furthermore, it may be possible to deal with a combination of only straight lines by making a determination using an evaluation expression that does not use the evaluation value “middle” or “connect” (for example, “shape * α”).

次に、隅はみ出し画像例について説明する。   Next, an example of a protruding corner image will be described.

図18は、本発明の一実施の形態におけるカメラフレームからはみ出した矩形領域の例を示す。同図に示すように、撮影対象画像の一つの隅がカメラフレームの外側に出てしまい、隅が欠けた状態の画像の場合もありうる。このとき、欠けた隅について評価値“shape”や“connect”は低い値となるが、評価値“middle”は通常の値を保つ。また、他の3つの隅の評価値や面積評価値が十分に高いことが考えられ、この組み合わせについて最も評価値が高い場合には、この欠けた隅を一つの隅として含めた矩形領域を検出することが可能である。   FIG. 18 shows an example of a rectangular region that protrudes from the camera frame according to the embodiment of the present invention. As shown in the figure, there may be a case where one corner of the image to be photographed is outside the camera frame and the corner is missing. At this time, the evaluation values “shape” and “connect” are low for the missing corner, but the evaluation value “middle” is kept at a normal value. In addition, the evaluation value and area evaluation value of the other three corners may be sufficiently high. When the evaluation value is the highest for this combination, a rectangular area including the missing corner as one corner is detected. Is possible.

次に、角丸まり画像例について説明する。   Next, an example of a rounded corner image will be described.

図19は、本発明の一実施の形態における角の丸まった矩形領域の例を示す。同図に示すように、矩形領域の隅が丸まっている場合は、辺検出部11による辺の端点(粗探索終了点)は同図Aの位置になる。この時、2辺の延長上における交点は同図中Bであるため、評価値“shape”や“connect”は低い評価値となる可能性が高い。しかし、他の3つの隅の評価値が十分に高い場合や、評価値“middle”や画面評価の結果が他の辺候補の組み合わせよりも十分に高い場合に、評価式によっては、この丸まった隅が最も評価値が高くなることが考えられる。これにより、隅が丸まった矩形領域や、あるいは角の欠けた多角形なども本方法により検出可能となる。   FIG. 19 shows an example of a rectangular area with rounded corners in an embodiment of the present invention. As shown in the figure, when the corner of the rectangular area is rounded, the end point (coarse search end point) of the side by the side detection unit 11 is the position shown in FIG. At this time, since the intersection point on the extension of the two sides is B in the figure, the evaluation values “shape” and “connect” are likely to be low evaluation values. However, if the evaluation values at the other three corners are sufficiently high, or if the evaluation value “middle” or the result of the screen evaluation is sufficiently higher than the combination of other side candidates, this rounding may occur depending on the evaluation formula. It is conceivable that the corner has the highest evaluation value. Thereby, a rectangular region with rounded corners or a polygon with missing corners can be detected by this method.

次に、多画像の例について説明する。   Next, an example of multiple images will be described.

図20は、本発明の一実施の形態における多画像中からの矩形領域抽出の例である。   FIG. 20 is an example of rectangular area extraction from multiple images according to an embodiment of the present invention.

同図に示すように、対象画像以外に他の画像が並んでいる場合など、求める矩形領域の辺以外に多数の辺候補がある場合について示す。辺検出部11では、なるべく多くの辺候補を検出するので、図20右側に示す太い線分を検出する。但し、画像右側の波打った線は、辺探索開始点探索において辺探索開始点を検出するが、その線が一定方向に連続して続かないため、辺候補としては検出されない。また、画像上部の幅の狭い矩形領域も、辺探索開始点の検出はされ、密探索が実行されるが、辺が連続して連なる距離が短いため、一定長の辺探索が続かず、辺候補として検出されることはない。   As shown in the figure, there will be shown a case where there are a large number of side candidates other than the sides of the desired rectangular area, such as when other images are arranged in addition to the target image. Since the edge detection unit 11 detects as many edge candidates as possible, a thick line segment shown on the right side of FIG. 20 is detected. However, the wavy line on the right side of the image detects the edge search start point in the edge search start point search, but since the line does not continue in a certain direction, it is not detected as an edge candidate. In addition, a narrow rectangular area at the top of the image is also detected as a side search start point, and a dense search is performed. It is not detected as a candidate.

この画像の例では、辺検出部11にて、求める矩形領域の外側にある、他の矩形領域の辺についても検出するので、検出した辺候補について隅評価部12において評価が行われる。画像下側の辺を考えた場合、図20に示すように、(1)(2)(3)と3つの候補がある。これらと組み合わせられる辺として、左側にはA,B,Cと3つの候補、右側にはa,b,cと3つの候補があり、これらの組み合わせから評価値を計算し、最適な組み合わせを求める。   In this example of the image, since the edge detection unit 11 also detects the sides of the other rectangular regions outside the desired rectangular region, the corner evaluation unit 12 evaluates the detected edge candidates. When the lower side of the image is considered, there are three candidates (1), (2), and (3) as shown in FIG. As sides to be combined with these, there are three candidates A, B, and C on the left side, and three candidates a, b, and c on the right side, and an evaluation value is calculated from these combinations to obtain an optimal combination. .

図20内の(1)の辺であれば、Bとbの組み合わせが最も評価値が高くなるといえる。Aやaを選んだ場合には、線分の粗探索終了座標とその交点座標が離れているため、評価値“connect”が低い値となる。Cやcを選んだ場合には、評価値“connect”に加えて、2本の辺候補が線分の途中で交わるために、評価値“middle”も低い値となる。評価値“shpae”については、どの候補の選び方をしても、交点座標から最適なL字型の二方向への探索はできないため、低い値となる。(2)の場合も(1)と略同様にして、Bとbの組み合わせが最も評価値が高くなると言える。(3)の場合は、Cとaの組み合わせが最も評価値が高くなる。   In the case of the side (1) in FIG. 20, it can be said that the combination of B and b has the highest evaluation value. When A or a is selected, the evaluation value “connect” is a low value because the coarse search end coordinates of the line segment and the intersection coordinates thereof are separated. When C or c is selected, in addition to the evaluation value “connect”, the two side candidates intersect in the middle of the line segment, so the evaluation value “middle” is also a low value. The evaluation value “shpae” is a low value because no candidate can be selected in any way from the intersection coordinates in the optimal L-shaped two directions. In the case of (2), it can be said that the combination of B and b has the highest evaluation value in substantially the same manner as (1). In the case of (3), the combination of C and a has the highest evaluation value.

次に、(1)、(2)、(3)を比べた場合、(2)(3)は辺候補の粗探索終了点同士がくっついているため、評価値“connect”の値が最も高くなるといえる。また、評価値“shape”についても、交点からL字2方向へ探索可能なため、(1)より高い値となる。(2)と(3)を比較した場合、それぞれの矩形領域が囲む面積が(2)の方が大きいと言えるため、最終的に(2)、B,bの組み合わせが求める矩形領域と判定される。   Next, when (1), (2), and (3) are compared, since (2) and (3) are close to the rough search end points of the edge candidates, the evaluation value “connect” is the highest. It can be said. The evaluation value “shape” is also higher than (1) because it can be searched from the intersection point in the L-shaped two directions. When comparing (2) and (3), it can be said that the area enclosed by each rectangular area is larger in (2), so it is finally determined as a rectangular area for which the combination of (2) and B and b is desired. The

逆に内側の矩形領域を取得したい場合には、面積による重み付けを変化させ、面積が小さくても評価値が高くなるようにしたり、面積に上限値を設定することなどが考えられる。   Conversely, when it is desired to acquire the inner rectangular region, it is possible to change the weighting according to the area so that the evaluation value increases even if the area is small, or an upper limit value is set for the area.

「片山淳、中村高雄、山室雅史、曽根原登:『電子透かし読み取りのためのiアプリ高速コーナー検出アルゴリズム』、電子情報通信学会論文誌、Vol. J88-D-II, No.6, 2005」においては、撮影画像からの電子透かし読み取りのための矩形領域の隅検出を行っているが、撮影画像の総ピクセルに数%程度の画素しか参照しておらず、携帯端末上において実行可能であることが示されている。本発明における方法でも、辺検出、隅評価の部分では必要最小限の画素しか利用していないことから、携帯端末上において実行可能であるといえる。   In "Kaeda Katayama, Takao Nakamura, Masafumi Yamamuro, Noboru Sonehara:" I-αppli Fast Corner Detection Algorithm for Digital Watermark Reading ", IEICE Transactions, Vol. J88-D-II, No.6, 2005 Detects corners of a rectangular area for reading a digital watermark from a captured image, but refers to only a few percent of the total pixels of the captured image and can be executed on a portable terminal. It is shown. Even in the method according to the present invention, it can be said that it can be executed on a portable terminal because only the minimum necessary pixels are used in the edge detection and corner evaluation portions.

また、本発明は、上記の図6に示す画像入力10、辺検出部11、隅評価部12、検出結果出力部13の動作をプログラムとして構築し、これらから構成される辺検出装置として利用されるコンピュータにインストールする、または、ネットワークを介して流通させることも可能である。   Further, the present invention constructs the operations of the image input 10, the edge detection unit 11, the corner evaluation unit 12, and the detection result output unit 13 shown in FIG. It can also be installed on a computer or distributed via a network.

なお、本発明は、上記の実施の形態に限定されることなく、特許請求の範囲内において種々変更・応用が可能である。   The present invention is not limited to the above-described embodiment, and various modifications and applications can be made within the scope of the claims.

本発明は、上記の実施の形態のみに依存するものではなく、映像や他の様々なメディアなどにも適用できるものである。文字認識やパターン認識の前処理として、風景中の矩形領域を抽出(看板やTVの領域検出)するといった利用方法も考えられる。   The present invention does not depend only on the above-described embodiment, but can also be applied to video and other various media. As preprocessing for character recognition and pattern recognition, a method of using a rectangular area in a landscape (detecting a signboard or TV area) may be considered.

本発明の原理を説明するための図である。It is a figure for demonstrating the principle of this invention. 本発明の原理構成図である。It is a principle block diagram of this invention. 本発明の一実施の形態における全体の動作のフローチャートである。It is a flowchart of the whole operation | movement in one embodiment of this invention. 本発明の一実施の形態における実施イメージである。It is the implementation image in one embodiment of this invention. 本発明の一実施の形態における用語を定義するための図である。It is a figure for defining the term in one embodiment of the present invention. 本発明の一実施の形態における装置の基本構成図である。1 is a basic configuration diagram of an apparatus according to an embodiment of the present invention. 本発明の一実施の形態における辺検出部の構成図である。It is a block diagram of the edge | side detection part in one embodiment of this invention. 本発明の一実施の形態における辺検出部の処理のフローチャートである。It is a flowchart of the process of the edge detection part in one embodiment of this invention. 本発明の一実施の形態における辺探索開始点探索部のフィルタを説明するための図である。It is a figure for demonstrating the filter of the edge search start point search part in one embodiment of this invention. 本発明の一実施の形態における隅評価部の構成図である。It is a block diagram of the corner evaluation part in one embodiment of this invention. 本発明の一実施の形態における隅座標評価部の構成図である。It is a block diagram of the corner coordinate evaluation part in one embodiment of this invention. 本発明の一実施の形態における辺端点・隅位置評価部の評価例である。It is an example of evaluation of the edge point and corner position evaluation part in one embodiment of the present invention. 本発明の一実施の形態における辺接続位置関係評価部の評価例である。It is an example of evaluation of the edge connection position relationship evaluation part in one embodiment of the present invention. 本発明の一実施の形態における隅形状評価部の評価例である。It is an example of evaluation of the corner shape evaluation part in one embodiment of the present invention. 本発明の一実施の形態における四辺形評価部の構成図である。It is a block diagram of the quadrangle evaluation part in one embodiment of this invention. 本発明の一実施の形態における四辺形面積評価部の評価例である。It is an example of evaluation of the quadrilateral area evaluation part in one embodiment of the present invention. 本発明の一実施の形態におけるカメラフレームの重心座標と矩形領域の重心座標との関係を示す図である。It is a figure which shows the relationship between the gravity center coordinate of the camera frame in one embodiment of this invention, and the gravity center coordinate of a rectangular area. 本発明の一実施の形態におけるカメラフレームからはみ出した矩形領域の例である。It is an example of the rectangular area | region which protruded from the camera frame in one embodiment of this invention. 本発明の一実施の形態における角の丸まった矩形領域の例である。It is an example of the rectangular area | region where the corner was rounded in one embodiment of this invention. 本発明の一実施の形態における多画像中からの矩形領域抽出の例である。It is an example of rectangular area extraction from multiple images in an embodiment of the present invention.

符号の説明Explanation of symbols

10 画像入力手段、画像入力部
11 辺検出手段、辺検出部
12 隅評価手段、隅評価部
13 検出結果出力手段、検出結果出力部
14 記憶手段
111 辺探索開始初期点決定部
112 辺探索開始点探索部
113 密探索部
114 粗探索部
121 隅座標評価部
122 四辺形面積評価部
123 隅総合評価部
1211 辺選択部
1212 隅座標計算部
1213 辺端点・隅位置評価部
1214 辺接続位置関係評価部
1215 隅形状評価部
1221 四辺選択部
1222 四辺形面積計算部
1223 四辺形重心座評価部
DESCRIPTION OF SYMBOLS 10 Image input means, Image input part 11 Edge detection means, Edge detection part 12 Corner evaluation means, Corner evaluation part 13 Detection result output means, Detection result output part 14 Storage means 111 Edge search start initial point determination part 112 Edge search start point Search unit 113 Dense search unit 114 Coarse search unit 121 Corner coordinate evaluation unit 122 Quadrilateral area evaluation unit 123 Corner comprehensive evaluation unit 1211 Edge selection unit 1212 Corner coordinate calculation unit 1213 Edge / corner position evaluation unit 1214 Edge connection position relationship evaluation unit 1215 Corner shape evaluation unit 1221 Quadrilateral selection unit 1222 Quadrilateral area calculation unit 1223 Quadrilateral center of gravity seat evaluation unit

Claims (32)

画像中で四辺に囲まれた矩形領域の辺を検出する装置における辺検出方法であって、
画像入力手段において、入力された画像を取得する画像入力ステップと、
辺検出手段において、取得した前記画像中の矩形領域の辺を検出して、辺候補として記憶手段に格納する辺検出ステップと、
隅評価手段において、前記記憶手段から前記辺候補を取得し、該辺候補の交点を求め、記憶手段に格納し、該交点について矩形領域の隅を形成する組み合わせとなるかを判定し、隅評価結果として記憶手段に格納する隅評価ステップと、
検出結果出力手段において、前記記憶手段に格納されている前記隅評価結果に基づいて矩形領域の隅座標を出力する検出結果出力ステップと、
を行うことを特徴とする辺検出方法。
A side detection method in an apparatus for detecting a side of a rectangular region surrounded by four sides in an image,
In the image input means, an image input step for acquiring the input image;
In the edge detection means, an edge detection step of detecting the edge of the rectangular area in the acquired image and storing it in the storage means as an edge candidate;
In the corner evaluation means, the edge candidate is acquired from the storage means, the intersection of the edge candidate is obtained, stored in the storage means, and it is determined whether the intersection is a combination that forms a corner of the rectangular area, and the corner evaluation is performed. As a result, a corner evaluation step for storing in the storage means;
In the detection result output means, a detection result output step for outputting the corner coordinates of the rectangular area based on the corner evaluation result stored in the storage means;
An edge detection method characterized by:
前記辺検出ステップにおいて、
取得した前記画像に対し、フィルタ処理手段において、該画像の各縁上の任意の一点をフィルタ処理開始点とし、該フィルタ処理開始点から該画像の内側に向かって辺と直交する方向へフィルタ処理を行う、請求項1記載の辺検出方法。
In the side detection step,
For the acquired image, the filter processing means sets an arbitrary one point on each edge of the image as a filter processing start point, and performs filter processing in a direction orthogonal to the side from the filter processing start point toward the inside of the image The edge detection method according to claim 1, wherein:
前記辺検出ステップにおいて、
フィルタ処理手段が、入力された前記画像の各縁上の辺探索開始点から該画像内部に向かい各ピクセル毎にフィルタ処理を行い、フィルタ出力値が閾値を超えた点を矩形領域の辺候補の辺探索開始点として検出する、請求項1または2記載の辺検出方法。
In the side detection step,
The filter processing means performs a filter process for each pixel from the edge search start point on each edge of the input image toward the inside of the image, and determines the point where the filter output value exceeds the threshold as the edge candidate of the rectangular area. The edge detection method according to claim 1, wherein the edge detection method is detected as an edge search start point.
前記辺検出ステップにおいて、
フィルタ処理手段により検出した前記辺探索開始点について、該辺探索開始点から、該フィルタ処理手段での探索方向と直交する方向へ向かい、色調変化が連続的に続くことを判定する、請求項1乃至3のいずれか1項記載の辺検出方法。
In the side detection step,
2. The edge search start point detected by the filter processing means is determined from the edge search start point in a direction orthogonal to the search direction in the filter processing means to determine that the color change continues continuously. 4. The edge detection method according to any one of items 1 to 3.
前記辺検出ステップにおいて、
前記辺探索開始点からフィルタ処理と直交する2方向へ辺探索を行った点の位置関係より、辺探索方向を示すベクトルを決定する、請求項1乃至4のいずれか1項記載の辺検出方法。
In the side detection step,
5. The edge detection method according to claim 1, wherein a vector indicating an edge search direction is determined based on a positional relationship between points where edge search has been performed in two directions orthogonal to the filter processing from the edge search start point. .
前記辺検出ステップにおいて、
フィルタ処理を行ったピクセルから、辺探索方向ベクトルの向きに隣接する1ピクセルとその周辺のピクセルについてフィルタ処理による判定を行い、該フィルタ処理が連続して数ピクセル続くまで繰り返す、請求項1乃至5のいずれか1項記載の辺検出方法。
In the side detection step,
6. From the pixel that has been subjected to the filtering process, a determination is made by the filtering process on one pixel adjacent to the direction of the edge search direction vector and surrounding pixels, and the process is repeated until the filtering process continues several pixels. The side detection method according to any one of the above.
前記辺検出ステップにおいて、
辺探索方向ベクトルの向きに向かい、数ピクセルおきに飛び飛びにフィルタ処理による判定を行う、請求項1乃至6のいずれか1項記載の辺検出方法。
In the side detection step,
The edge detection method according to any one of claims 1 to 6, wherein the determination is performed by filter processing while skipping every several pixels toward the direction of the edge search direction vector.
フィルタ処理による連続性が判定できなくなった部分を辺の端点として検出を行う、請求項1乃至7のいずれか1項記載の辺検出方法。   The side detection method according to claim 1, wherein a part where continuity cannot be determined by filter processing is detected as an end point of the side. 辺の端点座標の定まった線分として辺を検出する、請求項1乃至8のいずれか1項記載の辺検出方法。   The side detection method according to claim 1, wherein the side is detected as a line segment with a fixed end point coordinate. 隅評価方法であって、
記憶手段に格納されている辺候補を読み出して入力とし、交点計算手段において、全ての辺の組み合わせについて、辺の延長上も含めた交点を求める交点計算ステップと、
評価値計算手段において、前記交点を構成する辺と該交点について第1の評価値を求める評価値計算ステップと、
検出した辺から矩形を構成する四辺の組み合わせについて第2の評価値を求め、複数の評価値を組み合わせることで矩形の総合評価を行う評価ステップと、
を行うことを特徴とする隅評価方法。
A corner evaluation method,
Intersection calculation step for obtaining the intersection including the extension of the edges for all combinations of the edges in the intersection calculation means, by reading out the edge candidates stored in the storage means,
In the evaluation value calculation means, an evaluation value calculation step for obtaining a first evaluation value for the side constituting the intersection and the intersection;
An evaluation step for obtaining a second evaluation value for a combination of four sides constituting a rectangle from the detected sides, and performing a comprehensive evaluation of the rectangle by combining a plurality of evaluation values;
The corner evaluation method characterized by performing.
前記評価ステップにおいて、
辺端点及び前記交点と該交点を成す2本の辺の交点側の端点座標との距離について評価する請求項10記載の隅評価方法。
In the evaluation step,
The corner evaluation method according to claim 10, wherein the corner end point and the distance between the intersection point and the end point coordinates on the intersection side of the two sides forming the intersection point are evaluated.
前記評価ステップにおいて、
一つの交点を成す2本の辺について、片方の辺の端点がもう片方の辺の外側に位置するか、内側に位置するかという接続位置について評価する請求項10記載の隅評価方法。
In the evaluation step,
The corner evaluation method according to claim 10, wherein for two sides forming one intersection, a connection position is evaluated as to whether an end point of one side is located outside or inside the other side.
前記評価ステップにおいて、
前記交点計算ステップで求められた前記交点と該交点をなす2本の線分について、該交点を開始点として前記辺検出ステップと同様の辺探索を行い、矩形領域における隅位置と2本の辺の位置から、特定の方向へのみ探索が可能であるかについて評価する請求項10記載の隅評価方法。
In the evaluation step,
For the two line segments forming the intersection and the intersection obtained in the intersection calculation step, a side search similar to the edge detection step is performed using the intersection as a starting point, and a corner position and two sides in the rectangular area are detected. The corner evaluation method according to claim 10, wherein an evaluation is made as to whether or not a search is possible only in a specific direction from the position.
前記評価ステップにおいて、
画像の各外辺からそれぞれ辺候補を一本ずつ選択し、
選択された4本の辺候補によって形成される四辺形の面積を求める請求項10記載の隅評価方法。
In the evaluation step,
Select one edge candidate from each outer edge of the image,
The corner evaluation method according to claim 10, wherein an area of a quadrilateral formed by the selected four side candidates is obtained.
前記評価ステップにおいて、
選択された4本の辺からなる矩形領域の対角線の交わる点を矩形領域の重心座標間の距離の割合を評価する請求項10記載の隅評価方法。
In the evaluation step,
The corner evaluation method according to claim 10, wherein the ratio of the distance between the barycentric coordinates of the rectangular area is evaluated at a point where diagonal lines of the selected rectangular area consisting of four sides intersect.
画像中で四辺に囲まれた矩形領域の辺を検出する辺検出装置であって、
入力された画像を取得する画像入力手段と、
取得した前記画像中の矩形領域の辺を検出して、辺候補として記憶手段に格納する辺検出手段と、
前記記憶手段から前記辺候補を取得し、該辺候補の交点を求め、記憶手段に格納し、該交点について矩形領域の隅を形成する組み合わせとなるかを判定し、隅評価結果として記憶手段に格納する隅評価手段と、
前記隅評価手段の前記隅評価結果に基づいて矩形領域の隅座標を出力する検出結果出力手段と、
を有することを特徴とする辺検出装置。
A side detection device for detecting a side of a rectangular region surrounded by four sides in an image,
An image input means for acquiring the input image;
Edge detection means for detecting edges of the rectangular area in the acquired image and storing them in the storage means as edge candidates;
The edge candidate is acquired from the storage means, the intersection of the edge candidate is obtained, stored in the storage means, it is determined whether the intersection is a combination that forms a corner of the rectangular area, and the corner evaluation result is stored in the storage means. A corner evaluation means for storing;
Detection result output means for outputting corner coordinates of a rectangular area based on the corner evaluation result of the corner evaluation means;
An edge detection device comprising:
前記辺検出手段は、
取得した前記画像に対し、該画像の各縁上の任意の一点をフィルタ処理開始点とし、該フィルタ処理開始点から該画像の内側に向かって辺と直交する方向へフィルタ処理を行うフィルタ手段を含む請求項16記載の辺検出装置。
The edge detecting means is
Filter means for performing filtering in the direction perpendicular to the side from the filtering processing start point toward the inside of the image with respect to the acquired image as an arbitrary point on each edge of the image The edge detection apparatus of Claim 16 containing.
前記フィルタ処理手段は、
入力された前記画像の各縁上の辺探索開始点から該画像内部に向かい各ピクセルごとにフィルタ処理を行い、フィルタ出力値が閾値を超えた点を矩形領域の辺候補の辺探索開始点として検出する、請求項16または17記載の辺検出装置。
The filter processing means includes
A filter process is performed for each pixel from the edge search start point on each edge of the input image toward the inside of the image, and the point where the filter output value exceeds the threshold is set as the edge search start point of the edge candidate of the rectangular region The side detection device according to claim 16 or 17, which detects the side detection device.
前記辺検出手段は、
フィルタ処理手段で検出した前記辺探索開始点について、該辺探索開始点から、該フィルタ処理手段での探索方向と直交する方向へ向かい、色調変化が連続的に続くことを判定する辺探索手段を有する、請求項15乃至17のいずれか1項記載の辺検出装置。
The edge detecting means is
Edge search means for determining that the color change continuously continues from the edge search start point in a direction orthogonal to the search direction in the filter processing means with respect to the edge search start point detected by the filter processing means. The side detection device according to claim 15, further comprising:
前記辺検出手段の前記辺探索手段は、
前記辺探索開始点からフィルタ処理と直交する2方向へ辺探索を行った点の位置関係より、辺探索方向を示すベクトルを決定する探索方向ベクトル決定手段を有する、請求項16乃至19のいずれか1項記載の辺検出装置。
The edge searching means of the edge detecting means is
The search direction vector determination means which determines the vector which shows an edge search direction from the positional relationship of the point which performed the edge search to the two directions orthogonal to the filter process from the said edge search start point. The side detection device according to claim 1.
前記辺探索手段は、
前記フィルタ処理手段のフィルタ処理を行ったピクセルから、辺探索方向ベクトルの向きに隣接する1ピクセルとその周辺のピクセルについてフィルタ処理による判定を行い、該フィルタ処理が連続して数ピクセル続くまで繰り返す密探索手段を有する、請求項16乃至20のいずれか1項記載の辺検出装置。
The edge search means includes
From the pixels subjected to the filter processing of the filter processing means, one pixel adjacent to the direction of the edge search direction vector and surrounding pixels are determined by the filter processing, and the pixel processing is repeated until the filter processing continues several pixels continuously. The side detection device according to claim 16, further comprising a search unit.
前記辺探索手段は、
辺探索方向ベクトルの向きに向かい、数ピクセルおきに飛び飛びにフィルタ処理による判定を行う粗探索手段を有する、請求項16乃至21のいずれか1項記載の辺検出装置。
The edge search means includes
The edge detection device according to any one of claims 16 to 21, further comprising rough search means for performing determination by filter processing every few pixels in the direction of the edge search direction vector.
前記辺探索手段は、
フィルタ処理による連続性が判定できなくなった部分を辺の端点として検出を行う線分検出手段を有する、請求項16乃至22のいずれか1項記載の辺検出装置。
The edge search means includes
The side detection device according to any one of claims 16 to 22, further comprising line segment detection means for detecting a part where continuity cannot be determined by filter processing as an end point of the side.
前記辺検出手段は、
辺の端点座標の定まった線分として辺を検出する手段を有する、請求項16乃至23のいずれか1項記載の辺検出装置。
The edge detecting means is
The side detection device according to any one of claims 16 to 23, further comprising means for detecting a side as a line segment with a fixed end point coordinate.
辺検出装置に用いられる隅評価装置であって、
記憶手段に格納されている辺候補を読み出して入力とし、全ての辺の組み合わせについて、辺の延長上も含めた交点を求める交点計算手段と、
前記交点を構成する辺と該交点について第1の評価値を求める評価値計算手段と、
前記辺検出装置で検出された辺から矩形を構成する四辺の組み合わせについて第2の評価値を求めることで矩形の総合評価を行う評価手段と、
を有することを特徴とする隅評価装置。
A corner evaluation device used in a side detection device,
Intersection calculation means for reading out the edge candidates stored in the storage means and using them as input, and obtaining intersection points including the extension of the edges for all combinations of edges;
An evaluation value calculating means for obtaining a first evaluation value for the side constituting the intersection and the intersection;
An evaluation means for performing a comprehensive evaluation of the rectangle by obtaining a second evaluation value for a combination of four sides constituting the rectangle from the sides detected by the side detection device;
A corner evaluation apparatus comprising:
前記評価手段は、
辺端点、前記交点計算手段で求めた前記交点と該交点を成す2本の辺の交点側の端点座標との距離について評価する手段を含む、請求項25記載の隅評価装置。
The evaluation means includes
26. The corner evaluation apparatus according to claim 25, further comprising means for evaluating a distance between a side edge point, the intersection point obtained by the intersection point calculation means, and an end point coordinate on the intersection point of two sides forming the intersection point.
前記評価手段は、
一つの交点を成す2本の辺について、片方の辺の端点がもう片方の辺の外側に位置するか、内側に位置するかという接続位置について評価する辺接続位置関係評価手段を含む請求項25記載の隅評価装置。
The evaluation means includes
26. Side connection positional relationship evaluation means for evaluating a connection position as to whether an end point of one side is located outside or inside of the other side for two sides forming one intersection. The described corner evaluation device.
前記評価手段は、
前記交点計算手段で求めた前記交点と該交点を成す2本の線分について、該交点を開始点として、辺検出装置の辺探索手段と同様に辺探索を行い、矩形領域における隅位置と2本の辺の位置から、特定の方向へのみ探索が可能であるかについて評価する隅形状評価手段を含む請求項25記載の隅評価装置。
The evaluation means includes
For the two line segments that form the intersection and the intersection obtained by the intersection calculation means, the edge search is performed using the intersection as a start point in the same manner as the edge search means of the edge detection device, and the corner position in the rectangular area is calculated as 2 26. The corner evaluation apparatus according to claim 25, further comprising a corner shape evaluation unit that evaluates whether or not a search is possible only in a specific direction from the position of the side of the book.
前記評価値手段は、
画像の各外辺からそれぞれ辺候補を一本ずつ選択し、
選択された4本の辺候補によって形成される四辺形の面積を求める四辺形面積評価手段を含む請求項25記載の隅評価装置。
The evaluation value means is:
Select one edge candidate from each outer edge of the image,
26. The corner evaluation apparatus according to claim 25, further comprising quadrilateral area evaluation means for obtaining an area of a quadrilateral formed by the four selected side candidates.
前記評価手段は、
選択された4本の辺からなる矩形領域の対角線の交わる点を矩形領域の重心座標間の距離の割合を評価する四辺形重心評価手段を含む請求項25記載の隅評価装置。
The evaluation means includes
26. The corner evaluation apparatus according to claim 25, further comprising a quadrilateral centroid evaluation means for evaluating a ratio of a distance between centroid coordinates of the rectangular area at a point where diagonal lines of the selected rectangular area of the four sides intersect.
画像中で四辺に囲まれた矩形領域の辺を検出する辺検出プログラムであって、
コンピュータを、
前記請求項16乃至24記載の辺検出装置として機能させることを特徴とする辺検出プログラム。
A side detection program for detecting a side of a rectangular area surrounded by four sides in an image,
Computer
25. A side detection program that functions as the side detection device according to claim 16.
隅を評価する隅評価プログラムであって、
コンピュータを、
前記請求項25乃至30記載の隅評価装置として機能させることを特徴とする隅評価プログラム。
A corner evaluation program for evaluating a corner,
Computer
31. A corner evaluation program that functions as the corner evaluation apparatus according to claim 25.
JP2005237857A 2005-08-18 2005-08-18 Quadrilateral evaluation method, apparatus and program Active JP4525519B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005237857A JP4525519B2 (en) 2005-08-18 2005-08-18 Quadrilateral evaluation method, apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005237857A JP4525519B2 (en) 2005-08-18 2005-08-18 Quadrilateral evaluation method, apparatus and program

Publications (2)

Publication Number Publication Date
JP2007052670A true JP2007052670A (en) 2007-03-01
JP4525519B2 JP4525519B2 (en) 2010-08-18

Family

ID=37917067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005237857A Active JP4525519B2 (en) 2005-08-18 2005-08-18 Quadrilateral evaluation method, apparatus and program

Country Status (1)

Country Link
JP (1) JP4525519B2 (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010062722A (en) * 2008-09-02 2010-03-18 Casio Comput Co Ltd Image processing apparatus and computer program
JP2012014430A (en) * 2010-06-30 2012-01-19 Canon Inc Image processing device, control method and program
JP2012114665A (en) * 2010-11-24 2012-06-14 Nippon Telegr & Teleph Corp <Ntt> Feature figure adding method, feature figure detecting method, feature figure adding device, feature figure detecting device and program
JP2012216184A (en) * 2012-01-24 2012-11-08 Nanao Corp Display device, image processing device, image area detecting method, and computer program
JP2013033406A (en) * 2011-08-02 2013-02-14 Ntt Comware Corp Image processing device, image processing method, and image processing program
JP2013041315A (en) * 2011-08-11 2013-02-28 Fujitsu Ltd Image recognition device and image recognition method
JP2013106160A (en) * 2011-11-11 2013-05-30 Pfu Ltd Image processing apparatus, rectangle detection method, and computer program
US8805077B2 (en) 2011-04-06 2014-08-12 Fuji Xerox Co., Ltd. Subject region detecting apparatus
JP2016028363A (en) * 2012-01-12 2016-02-25 コファックス, インコーポレイテッド Systems and methods for mobile image capture and processing
DE102016113163A1 (en) 2015-07-21 2017-01-26 Canon Kabushiki Kaisha Image processing apparatus, image processing method and storage medium
US9747504B2 (en) 2013-11-15 2017-08-29 Kofax, Inc. Systems and methods for generating composite images of long documents using mobile video data
US9760788B2 (en) 2014-10-30 2017-09-12 Kofax, Inc. Mobile document detection and orientation based on reference object characteristics
US9767379B2 (en) 2009-02-10 2017-09-19 Kofax, Inc. Systems, methods and computer program products for determining document validity
US9767354B2 (en) 2009-02-10 2017-09-19 Kofax, Inc. Global geographic information retrieval, validation, and normalization
US9769354B2 (en) 2005-03-24 2017-09-19 Kofax, Inc. Systems and methods of processing scanned data
US9779296B1 (en) 2016-04-01 2017-10-03 Kofax, Inc. Content-based detection and three dimensional geometric reconstruction of objects in image and video data
US9819825B2 (en) 2013-05-03 2017-11-14 Kofax, Inc. Systems and methods for detecting and classifying objects in video captured using mobile devices
US9946954B2 (en) 2013-09-27 2018-04-17 Kofax, Inc. Determining distance between an object and a capture device based on captured image data
US9996741B2 (en) 2013-03-13 2018-06-12 Kofax, Inc. Systems and methods for classifying objects in digital images captured using mobile devices
US10146795B2 (en) 2012-01-12 2018-12-04 Kofax, Inc. Systems and methods for mobile image capture and processing
US10146803B2 (en) 2013-04-23 2018-12-04 Kofax, Inc Smart mobile application development platform
US10467465B2 (en) 2015-07-20 2019-11-05 Kofax, Inc. Range and/or polarity-based thresholding for improved data extraction
US10803350B2 (en) 2017-11-30 2020-10-13 Kofax, Inc. Object detection and image cropping using a multi-detector approach

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0789063A (en) * 1993-09-24 1995-04-04 Toshiba Corp Printed matter inspecting system
JPH08125855A (en) * 1994-10-26 1996-05-17 Hitachi Ltd Intersection correcting device for table frame line, table recognition device, and optical character reader
JPH08221506A (en) * 1995-02-16 1996-08-30 Toshiba Corp Device and method for recognizing business document
JP2004310726A (en) * 2003-03-24 2004-11-04 Fuji Xerox Co Ltd Image inspection method, image inspection apparatus, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0789063A (en) * 1993-09-24 1995-04-04 Toshiba Corp Printed matter inspecting system
JPH08125855A (en) * 1994-10-26 1996-05-17 Hitachi Ltd Intersection correcting device for table frame line, table recognition device, and optical character reader
JPH08221506A (en) * 1995-02-16 1996-08-30 Toshiba Corp Device and method for recognizing business document
JP2004310726A (en) * 2003-03-24 2004-11-04 Fuji Xerox Co Ltd Image inspection method, image inspection apparatus, and program

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9769354B2 (en) 2005-03-24 2017-09-19 Kofax, Inc. Systems and methods of processing scanned data
JP4715888B2 (en) * 2008-09-02 2011-07-06 カシオ計算機株式会社 Image processing apparatus and computer program
JP2010062722A (en) * 2008-09-02 2010-03-18 Casio Comput Co Ltd Image processing apparatus and computer program
US9767379B2 (en) 2009-02-10 2017-09-19 Kofax, Inc. Systems, methods and computer program products for determining document validity
US9767354B2 (en) 2009-02-10 2017-09-19 Kofax, Inc. Global geographic information retrieval, validation, and normalization
JP2012014430A (en) * 2010-06-30 2012-01-19 Canon Inc Image processing device, control method and program
JP2012114665A (en) * 2010-11-24 2012-06-14 Nippon Telegr & Teleph Corp <Ntt> Feature figure adding method, feature figure detecting method, feature figure adding device, feature figure detecting device and program
US8805077B2 (en) 2011-04-06 2014-08-12 Fuji Xerox Co., Ltd. Subject region detecting apparatus
JP2013033406A (en) * 2011-08-02 2013-02-14 Ntt Comware Corp Image processing device, image processing method, and image processing program
JP2013041315A (en) * 2011-08-11 2013-02-28 Fujitsu Ltd Image recognition device and image recognition method
JP2013106160A (en) * 2011-11-11 2013-05-30 Pfu Ltd Image processing apparatus, rectangle detection method, and computer program
US10664919B2 (en) 2012-01-12 2020-05-26 Kofax, Inc. Systems and methods for mobile image capture and processing
US10657600B2 (en) 2012-01-12 2020-05-19 Kofax, Inc. Systems and methods for mobile image capture and processing
JP2016028363A (en) * 2012-01-12 2016-02-25 コファックス, インコーポレイテッド Systems and methods for mobile image capture and processing
US10146795B2 (en) 2012-01-12 2018-12-04 Kofax, Inc. Systems and methods for mobile image capture and processing
JP2012216184A (en) * 2012-01-24 2012-11-08 Nanao Corp Display device, image processing device, image area detecting method, and computer program
US9996741B2 (en) 2013-03-13 2018-06-12 Kofax, Inc. Systems and methods for classifying objects in digital images captured using mobile devices
US10127441B2 (en) 2013-03-13 2018-11-13 Kofax, Inc. Systems and methods for classifying objects in digital images captured using mobile devices
US10146803B2 (en) 2013-04-23 2018-12-04 Kofax, Inc Smart mobile application development platform
US9819825B2 (en) 2013-05-03 2017-11-14 Kofax, Inc. Systems and methods for detecting and classifying objects in video captured using mobile devices
US9946954B2 (en) 2013-09-27 2018-04-17 Kofax, Inc. Determining distance between an object and a capture device based on captured image data
US9747504B2 (en) 2013-11-15 2017-08-29 Kofax, Inc. Systems and methods for generating composite images of long documents using mobile video data
US9760788B2 (en) 2014-10-30 2017-09-12 Kofax, Inc. Mobile document detection and orientation based on reference object characteristics
US10467465B2 (en) 2015-07-20 2019-11-05 Kofax, Inc. Range and/or polarity-based thresholding for improved data extraction
US9871947B2 (en) 2015-07-21 2018-01-16 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium
DE102016113163A1 (en) 2015-07-21 2017-01-26 Canon Kabushiki Kaisha Image processing apparatus, image processing method and storage medium
US9779296B1 (en) 2016-04-01 2017-10-03 Kofax, Inc. Content-based detection and three dimensional geometric reconstruction of objects in image and video data
US10803350B2 (en) 2017-11-30 2020-10-13 Kofax, Inc. Object detection and image cropping using a multi-detector approach
US11062176B2 (en) 2017-11-30 2021-07-13 Kofax, Inc. Object detection and image cropping using a multi-detector approach

Also Published As

Publication number Publication date
JP4525519B2 (en) 2010-08-18

Similar Documents

Publication Publication Date Title
JP4525519B2 (en) Quadrilateral evaluation method, apparatus and program
Lee et al. Interactive e-learning system using pattern recognition and augmented reality
US20050242186A1 (en) 2D rectangular code symbol scanning device and 2D rectangular code symbol scanning method
US8811725B2 (en) Learning device, learning method, identification device, identification method, and program
US20120092329A1 (en) Text-based 3d augmented reality
JP5366756B2 (en) Information processing apparatus and information processing method
EP2492873B1 (en) Image processing program, image processing apparatus, image processing system, and image processing method
WO2010150639A1 (en) Method and device for determining shape congruence in three dimensions
TWI571828B (en) Optical navigation method and device using same
JP2009211490A (en) Image recognition method and image recognition device
KR101344851B1 (en) Device and Method for Processing Image
JP6429483B2 (en) Information processing apparatus, imaging apparatus, information processing system, information processing method, and program
JP4390487B2 (en) Head region extraction device
EP2966613A1 (en) Method and apparatus for generating a super-resolved image from an input image
Ha et al. Embedded panoramic mosaic system using auto-shot interface
JP4550768B2 (en) Image detection method and image detection apparatus
US20070242876A1 (en) Image Processing Apparatus, Image Processing Method, and Program
CN111182207A (en) Image shooting method and device, storage medium and electronic equipment
CN106402717B (en) A kind of AR control method for playing back and intelligent desk lamp
JP5708305B2 (en) Image recognition apparatus, image recognition method, and computer program for image recognition
JP2005250778A (en) Vertical direction decision of image
JP6118295B2 (en) Marker embedding device, marker detection device, method, and program
JP6278757B2 (en) Feature value generation device, feature value generation method, and program
JP4683238B2 (en) Object recognition device, object recognition method, and object recognition program
KR101900797B1 (en) Method for providing augmented reality using rubik&#39;s cube

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070817

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100209

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100323

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

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

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130611

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4525519

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140611

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350