JP4480980B2 - Image processing apparatus, image processing method, program, and recording medium - Google Patents
Image processing apparatus, image processing method, program, and recording medium Download PDFInfo
- Publication number
- JP4480980B2 JP4480980B2 JP2003366872A JP2003366872A JP4480980B2 JP 4480980 B2 JP4480980 B2 JP 4480980B2 JP 2003366872 A JP2003366872 A JP 2003366872A JP 2003366872 A JP2003366872 A JP 2003366872A JP 4480980 B2 JP4480980 B2 JP 4480980B2
- Authority
- JP
- Japan
- Prior art keywords
- matching
- degree
- area
- template
- candidate area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Analysis (AREA)
Description
本発明は、探索対象画像の中から、特定の微小画像(テンプレート)に類似した領域を探索する画像処理技術に係り、特に、探索対象画像中に複数のテンプレート候補が見つかった場合でも高速、且つ、高精度に探索を行うことができるようにする画像処理技術に関する。 The present invention relates to an image processing technique for searching a region similar to a specific minute image (template) from search target images, and particularly, even when a plurality of template candidates are found in a search target image, The present invention relates to an image processing technique that enables a search with high accuracy.
画像中からテンプレートを探索する手法としては、画像の中でテンプレートをずらしながら各位置での画像の領域とテンプレートとの整合度合いを算出してテーブルに記録し、その後にテーブルから局所的なピークの位置を探索する方法が知られている(例えば、非特許文献1参照)。その他に、従来の認識処理技術として、下記に示す非特許文献2に開示されているものなどがある。
従来技術では、画像中にテンプレートとの類似度の高いものが複数存在する場合には多くの候補位置が検出されてしまい、処理量が増大し、処理にかかる時間が増大するという問題がある。 In the prior art, when there are a plurality of images having a high degree of similarity with a template, many candidate positions are detected, which increases the amount of processing and increases the time required for processing.
本発明はかかる事情に鑑みてなされたもので、探索対象画像中にテンプレートとの類似度の高いものが複数存在する場合でも、高い精度で候補位置を絞り込むことができ、さらに候補位置を絞り込むことにより、処理量を削減し、高速に認識を行うことができる画像処理装置、画像処理方法、プログラム、および、記録媒体の提供を目的とする。 The present invention has been made in view of such circumstances, and even when there are a plurality of search target images having high similarity to the template, the candidate positions can be narrowed down with high accuracy, and further the candidate positions can be narrowed down. Accordingly, an object of the present invention is to provide an image processing apparatus, an image processing method, a program, and a recording medium that can reduce the processing amount and perform high-speed recognition.
本発明は、画像中のテンプレートとの整合度合いの高い領域を高精度、且つ、効率的に検出するにあたって、
(1)探索対象画像に含まれるテンプレートとの整合度合いの高い領域を記録し、
(2)記録した整合度合いの高い領域から任意の位置、及びその周辺の領域整合度合いを抽出し、
(3)抽出した領域内での整合度合いの最も高い位置をテンプレートの存在する候補位置とすることにより、
探索対象画像中にテンプレートの存在する候補位置が複数存在してしまった場合でも、それら候補位置の中から信頼できる候補位置への絞込みを行うことができる。
In the present invention, an area having a high degree of matching with a template in an image is detected with high accuracy and efficiency.
(1) Record a region having a high degree of matching with the template included in the search target image,
(2) Extract an arbitrary position from the recorded region with a high degree of matching and the region matching degree around it,
(3) By setting the position with the highest degree of matching in the extracted area as a candidate position where the template exists,
Even when there are a plurality of candidate positions where the template exists in the search target image, the candidate positions can be narrowed down to reliable candidate positions.
さらに、(2)の処理において、周辺領域の整合度合いを抽出する前に、閾値処理、及びラベリングにより整合度合いの高い領域をラベル付けし、同一ラベル内での整合度合いの高い領域を候補位置として絞込みを行うことにより、候補領域の絞込み効率を高めることが可能となる。 Further, in the process of (2), before extracting the matching degree of the peripheral area, the area having a high matching degree is labeled by threshold processing and labeling, and the area having a high matching degree in the same label is used as a candidate position. By narrowing down, it becomes possible to increase the narrowing efficiency of candidate areas.
以下に説明する本発明の構成は、本発明の基本的な構成を実現するために、候補領域の絞込みのためにどのような手順で計算をするのかについて具体的に示したものである。 The configuration of the present invention to be described below specifically shows how to calculate for narrowing down candidate regions in order to realize the basic configuration of the present invention.
この目的を達成するために、本発明の画像処理装置は、
探索対象画像に含まれるテンプレートとの整合度合いを算出することのできる整合度合い算出手段と、
算出した整合度合いを対象画像の各画素に対応する位置座標に記録することのできる整合度合い記録手段と、
記録された整合度合いに対し、任意の位置座標においてその位置座標の周辺領域における整合度合いの最も高い位置座標を候補位置として算出し、該候補位置を記録することのできる候補領域絞込み手段とを備えるように構成する。
In order to achieve this object, the image processing apparatus of the present invention provides:
A matching degree calculating means capable of calculating a matching degree with a template included in the search target image;
A matching degree recording means capable of recording the calculated matching degree in position coordinates corresponding to each pixel of the target image;
A candidate area narrowing means is provided that can calculate, as a candidate position, a position coordinate having the highest degree of matching in a peripheral area of an arbitrary position coordinate with respect to the recorded matching degree, and record the candidate position. Configure as follows.
さらに、この構成に加え、探索対象画像とテンプレートとの整合度合いを算出するにあたり、探索対象画像とテンプレートとの画像特徴に基づいた特徴抽出処理を行うことのできる特徴抽出手段を備え、該特徴抽出手段により抽出された特徴を使用して、前記整合度合い算出手段により探索対象画像とテンプレートとの整合度合いを算出してもよい。 Further, in addition to this configuration, a feature extraction unit capable of performing feature extraction processing based on the image features of the search target image and the template when calculating the degree of matching between the search target image and the template is provided. The matching degree between the search target image and the template may be calculated by the matching degree calculating means using the feature extracted by the means.
さらに、前記候補領域絞込み手段において、前記整合度合い記録手段において記録された整合度合いを、図2に示すように任意の閾値により閾値処理し、図3に示すように閾値処理結果に対してラベリングを行い、図4に示すようにラベリング結果の各ラベル番号内での整合度合いの最も高かった位置座標を候補位置として記録するラベリング手段を備えてもよい。 Further, in the candidate area narrowing-down means, the matching degree recorded in the matching degree recording means is threshold-processed with an arbitrary threshold as shown in FIG. 2, and the threshold processing result is labeled as shown in FIG. As shown in FIG. 4, labeling means may be provided for recording the position coordinates having the highest degree of matching within each label number of the labeling result as candidate positions.
さらに、前記候補領域絞込み手段において、前記整合度合い記録手段において記録された整合度合い、又は前記ラベリング手段により絞り込まれた候補位置を、図5に示すように任意の間隔で分割し、図6に示すように分割された領域内での整合度合いの最も高かった位置座標を候補位置として記録する候補領域分割手段を備えてもよい。 Furthermore, the candidate area narrowing means divides the matching degree recorded by the matching degree recording means or the candidate positions narrowed down by the labeling means at arbitrary intervals as shown in FIG. In this way, candidate area dividing means for recording the position coordinates having the highest degree of matching in the divided areas as candidate positions may be provided.
このとき、図7に示すように、候補領域の分割間隔は任意に選択できるものとする。 At this time, as shown in FIG. 7, it is assumed that the division interval of the candidate area can be arbitrarily selected.
さらに、前記候補領域分割手段において、図8に示すように分割の間隔を空間的に平行に移動することで分割領域に冗長性を持たせることのできる分割領域ずらし手段を備えてもよい。 Further, the candidate area dividing means may further include a divided area shifting means capable of providing redundancy to the divided areas by spatially moving the division intervals as shown in FIG.
さらに、前記候補領域絞込み手段において、図9に示すように任意の位置座標を選択し、図11に示すように該位置座標およびその周辺領域における整合度合いの最も高かった位置座標を候補位置として記録する候補領域抽出手段を備えてもよい。 Further, in the candidate area narrowing means, arbitrary position coordinates are selected as shown in FIG. 9, and the position coordinates having the highest degree of matching in the position coordinates and the surrounding area are recorded as candidate positions as shown in FIG. Candidate area extracting means may be provided.
このとき、周辺領域の大きさは図10に示すように任意に選択できるものとする。 At this time, the size of the peripheral region can be arbitrarily selected as shown in FIG.
前記構成を実現するために請求項1の画像処理装置は、探索対象画像の中からテンプレートに類似した領域を探索して出力する画像処理装置であって、探索対象画像とテンプレートとを入力し、探索対象画像とテンプレートとの画像特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出する整合度合い算出手段と、整合度合いが高い領域を候補領域とし、この候補領域の整合度合いを記録する整合度合い記録手段と、前記整合度合い記録手段に記録された候補領域に対して閾値に基づく閾値処理を行った後、この処理結果に対してラベリングを行い、同じラベル番号の中で整合度合いが最も高い領域をそのラベル番号における候補領域として記録するラベリング処理を行い、前記ラベリング番号の候補領域の周辺領域とテンプレートとの整合度合いを算出し、前記候補領域と周辺領域との中から整合度合いが高い領域に絞り込みを行う候補領域絞り込み手段と、を備えることを特徴とする。 In order to realize the above configuration, the image processing apparatus according to claim 1 is an image processing apparatus that searches and outputs a region similar to a template from search target images, and inputs the search target image and the template, A matching degree calculation means for calculating the degree of matching between the area in the search target image and the template based on the image features of the search target image and the template, and an area having a high degree of matching as a candidate area. After performing threshold processing based on the threshold on the matching degree recording means to be recorded and the candidate area recorded on the matching degree recording means, this processing result is labeled, and the matching degree within the same label number There performs labeling processing for recording the highest region as a candidate region in the label number, and the peripheral region of the candidate region of the labeling numbers Calculating a matching degree between PLATES, characterized in that it comprises, a candidate area narrowing means narrows down the matching degree higher region from among said candidate region and the peripheral region.
請求項1の画像処理装置では、候補領域の周辺領域についてテンプレートとの整合度合いを算出し、候補領域と周辺領域との中から整合度合いの高い領域に絞り込みを行うので、絞り込みの信頼性が高くなり、処理速度が増大する。また、ラベル番号ごとに候補領域を算出することができ、これを利用して絞り込み速度を増大することができる。 In the image processing apparatus according to the first aspect, the degree of matching with the template is calculated for the peripheral region of the candidate region, and the region having a high degree of matching is selected from the candidate region and the peripheral region. As a result, the processing speed increases. Moreover, a candidate area | region can be calculated for every label number, and a narrowing-down speed can be increased using this .
また、請求項2の画像処理装置は、探索対象画像の中からテンプレートに類似した領域を探索して出力する画像処理装置であって、探索対象画像とテンプレートとを入力し、探索対象画像とテンプレートとの画像特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出する整合度合い算出手段と、整合度合いが高い領域を候補領域とし、この候補領域の整合度合いを記録する整合度合い記録手段と、前記整合度合い記録手段に記録された候補領域を一定間隔で分割し、分割した領域の中で整合度合いが最も高い領域をその分割した領域における候補領域として記録する候補領域分割処理を行い、前記分割した領域における候補領域の周辺領域とテンプレートとの整合度合いを算出し、前記候補領域と周辺領域との中から整合度合いが高い領域に絞り込みを行う候補領域絞り込み手段と、を備えることを特徴とする。さらに、請求項3の画像処理装置は、探索対象画像の中からテンプレートに類似した領域を探索して出力する画像処理装置であって、探索対象画像とテンプレートとを入力し、探索対象画像とテンプレートとの画像特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出する整合度合い算出手段と、整合度合いが高い領域を候補領域とし、この候補領域の整合度合いを記録する整合度合い記録手段と、前記整合度合い記録手段に記録された候補領域に対して閾値に基づく閾値処理を行った後、この処理結果に対してラベリングを行い、同じラベル番号の中で整合度合いが最も高い領域をそのラベル番号における候補領域として記録するラベリング処理を行い、前記ラベリング処理で記録された候補領域を一定間隔で分割し、分割した領域のなかで整合度合いが最も高い領域をその分割した領域における候補領域として記録する候補領域分割処理を行い、前記分割した領域における候補領域の周辺領域とテンプレートとの整合度合いを算出し、前記候補領域と周辺領域との中から整合度合いが高い領域に絞り込みを行う候補領域絞り込み手段と、を備えことを特徴とする。
An image processing apparatus according to
請求項2の画像処理装置は、分割した領域毎に候補領域を算出することができ、その候補領域の周辺領域についてテンプレートとの整合度合いを算出し、候補領域と周辺領域との中から整合度合いの高い領域に絞り込みを行うので、絞り込みの信頼性が高くなり、処理速度が増大する。また、請求項3に記載の画像処理装置は、ラベリング処理で記録した領域を分割して、分割した領域毎に候補領域を算出するため、絞り込み速度をさらに増大することができる。
The image processing apparatus according to
また、請求項4の画像処理装置は、請求項2または3において、前記候補領域分割手段は、分割する領域の間隔を変化させることができ、複数の分割間隔について絞り込み結果を算出することができることを特徴とする。 According to a fourth aspect of the present invention, in the image processing apparatus according to the second or third aspect , the candidate area dividing unit can change the interval of the areas to be divided and can calculate a narrowing result for a plurality of division intervals. It is characterized by.
請求項4の画像処理装置では、絞り込みに冗長性をもたせることができる。 In the image processing apparatus according to the fourth aspect , it is possible to provide redundancy for narrowing down.
また、請求項5の画像処理装置は、請求項2〜4のいずれか1項において、前記候補領域分割手段は、分割する領域の基準位置を平行移動させることで分割する領域を変化させることができ、複数の領域の異なる絞り込み結果を算出することができることを特徴とする。 According to a fifth aspect of the present invention, in the image processing apparatus according to any one of the second to fourth aspects, the candidate area dividing unit may change the area to be divided by translating a reference position of the area to be divided. It is possible to calculate different narrowing results for a plurality of areas.
請求項5の画像処理装置では、絞り込みに冗長性をもたせることができる。 In the image processing apparatus according to the fifth aspect , it is possible to provide redundancy for narrowing down.
また、請求項6の画像処理装置は、請求項1〜5において、前記整合度合い算出手段は、入力された探索対象画像とテンプレートとの画像特徴から識別用の特徴を作成する特徴抽出手段を備えており、作成された識別用の特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出することを特徴とする。また、請求項1〜5の候補領域絞り込み手段は、候補領域から任意の大きさの領域をずらしながら領域の抽出を行い、抽出した領域の中から整合度合いが最も高いものに絞り込みを行う候補領域抽出手段を備えてもよい。 According to a sixth aspect of the present invention, in the first to fifth aspects, the matching degree calculating unit includes a feature extracting unit that creates a feature for identification from the image features of the input search target image and the template. The degree of matching between the region in the search target image and the template is calculated based on the created identification feature. Further, the candidate area narrowing means according to claims 1 to 5 performs extraction of an area while shifting an area of an arbitrary size from the candidate area, and narrows down candidate areas for narrowing down to the highest degree of matching from the extracted areas. Extraction means may be provided.
請求項6の画像処理装置では、例えば、画像特徴に基づく画像の濃淡の強さや濃淡勾配の方向、及び/またはそれらの濃淡の強さや勾配の方向から得られる特徴を識別用の特徴とすることができる。これにより、入力された探索対象画像とテンプレートとの画像特徴から整合度合いを算出するのが困難な場合や算出度合いに差がないような場合に、特に有効である。また、候補領域絞り込み手段が候補領域抽出手段を備えることによって、より信頼性の高い絞り込みを行うことができ、絞り込みの速度を増大することができる。 In the image processing device according to the sixth aspect, for example, the characteristics obtained from the intensity of the image based on the image characteristics and the direction of the intensity gradient and / or the direction of the intensity of the intensity and the gradient are used as the characteristics for identification. Can do. This is particularly effective when it is difficult to calculate the degree of matching from the image features of the input search target image and the template or when there is no difference in the degree of calculation. Further, by providing the candidate area narrowing means with the candidate area extracting means, it is possible to perform narrowing with higher reliability and increase the speed of narrowing down.
請求項7の画像処理方法は、探索対象画像の中からテンプレートに類似した領域を探索して出力する画像処理方法であって、探索対象画像とテンプレートとを入力し、探索対象画像とテンプレートとの画像特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出する整合度合い算出過程と、整合度合いが高い領域を候補領域とし、この候補領域の整合度合いを記録する整合度合い記録過程と、前記整合度合い記録過程に記録された候補領域に対して閾値に基づく閾値処理を行った後、この処理結果に対してラベリングを行い、同じラベル番号の中で整合度合いが最も高い領域をそのラベル番号における候補領域として記録するラベリング処理を行い、前記ラベリング番号の候補領域の周辺領域とテンプレートとの整合度合いを算出し、前記候補領域と周辺領域との中から整合度合いが高い領域に絞り込みを行う候補領域絞り込み過程と、を備えることを特徴とする。
An image processing method according to
請求項7の画像処理方法では、候補領域の周辺領域についてテンプレートとの整合度合いを算出し、候補領域と周辺領域との中から整合度合いの高い領域に絞り込みを行うので、絞り込みの信頼性が高くなり、処理速度が増大する。また、ラベル番号ごとに候補領域を算出することができ、これを利用して絞り込み速度を増大することができる。 In the image processing method according to the seventh aspect, since the degree of matching with the template is calculated for the peripheral area of the candidate area, and the candidate area and the peripheral area are narrowed down to areas with a high degree of matching, so the reliability of the narrowing is high. As a result, the processing speed increases. Moreover, a candidate area | region can be calculated for every label number, and a narrowing-down speed can be increased using this.
請求項8の画像処理方法は、探索対象画像の中からテンプレートに類似した領域を探索して出力する画像処理方法であって、探索対象画像とテンプレートとを入力し、探索対象画像とテンプレートとの画像特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出する整合度合い算出過程と、整合度合いが高い領域を候補領域とし、この候補領域の整合度合いを記録する整合度合い記録過程と、前記整合度合い記録過程に記録された候補領域を一定間隔で分割し、分割した領域の中で整合度合いが最も高い領域をその分割した領域における候補領域として記録する候補領域分割処理を行い、前記分割した領域における候補領域の周辺領域とテンプレートとの整合度合いを算出し、前記候補領域と周辺領域との中から整合度合いが高い領域に絞り込みを行う候補領域絞り込み過程と、を備えることを特徴とする。請求項9の画像処理方法は、探索対象画像の中からテンプレートに類似した領域を探索して出力する画像処理方法であって、探索対象画像とテンプレートとを入力し、探索対象画像とテンプレートとの画像特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出する整合度合い算出過程と、整合度合いが高い領域を候補領域とし、この候補領域の整合度合いを記録する整合度合い記録過程と、前記整合度合い記録過程に記録された候補領域に対して閾値に基づく閾値処理を行った後、この処理結果に対してラベリングを行い、同じラベル番号の中で整合度合いが最も高い領域をそのラベル番号における候補領域として記録するラベリング処理を行い、前記ラベリング処理で記録された候補領域を一定間隔で分割し、分割した領域の中で整合度合いが最も高い領域をその分割した領域における候補領域として記録する候補領域分割処理を行い、前記分割した領域における候補領域の周辺領域とテンプレートとの整合度合いを算出し、前記候補領域と周辺領域との中から整合度合いが高い領域に絞り込みを行う候補領域絞り込み過程と、を備えことを特徴とする。 An image processing method according to claim 8 is an image processing method for searching and outputting a region similar to a template from search target images, wherein the search target image and the template are input, and the search target image and the template A matching degree calculation process for calculating the degree of matching between the region in the search target image and the template based on the image characteristics, and a matching degree recording process for recording the degree of matching of the candidate area with a region having a high matching degree as a candidate area; , Dividing the candidate area recorded in the matching degree recording process at regular intervals, and performing candidate area dividing processing for recording the area having the highest matching degree among the divided areas as a candidate area in the divided area , The degree of matching between the candidate area and the surrounding area of the candidate area in the divided area is calculated, and the degree of matching is calculated from the candidate area and the surrounding area. Characterized in that and a candidate area narrowing process to narrow down the high region. The image processing method according to claim 9 is an image processing method for searching and outputting a region similar to a template from search target images, wherein the search target image and the template are input, and the search target image and the template A matching degree calculation process for calculating the degree of matching between the region in the search target image and the template based on the image characteristics, and a matching degree recording process for recording the degree of matching of the candidate area with a region having a high matching degree as a candidate area; Then, after performing threshold processing based on the threshold for the candidate area recorded in the matching degree recording process, the processing result is labeled, and the area having the highest matching degree among the same label numbers is labeled. Perform a labeling process to record as a candidate area in the number, divide the candidate area recorded by the labeling process at regular intervals, Performing candidate region division processing for recording a region having the highest matching degree among the regions as a candidate region in the divided region, calculating a matching degree between a peripheral region of the candidate region and the template in the divided region, and And a candidate area narrowing-down process for narrowing down the area having a high degree of matching from the area and the peripheral area.
請求項8の画像処理方法では、分割した領域毎に候補領域を算出することができ、その候補領域の周辺領域についてテンプレートとの整合度合いを算出し、候補領域と周辺領域との中から整合度合いの高い領域に絞り込みを行うので、絞り込みの信頼性が高くなり、処理速度が増大する。また、請求項9に記載の画像処理方法は、ラベリング処理で記録した領域を分割して、分割した領域毎に候補領域を算出するため、絞り込み速度をさらに増大することができる。 In the image processing method according to claim 8 , a candidate area can be calculated for each divided area, a matching degree with a template is calculated for a peripheral area of the candidate area, and a matching degree is determined from the candidate area and the peripheral area. Since the narrowing down is performed in the high region, the reliability of the narrowing becomes high and the processing speed increases. In the image processing method according to the ninth aspect, the area recorded by the labeling process is divided and a candidate area is calculated for each divided area, so that the narrowing-down speed can be further increased.
また、請求項10の画像処理方法は、請求項8または9において、前記候補領域分割過程は、分割する領域の間隔を変化させることができ、複数の分割間隔について絞り込み結果を算出することができることを特徴とする。 The image processing method according to a tenth aspect is the image processing method according to the eighth or ninth aspect , wherein the candidate area dividing step can change an interval between the divided areas, and can calculate a narrowing result for a plurality of dividing intervals. It is characterized by.
請求項10の画像処理方法では、絞り込みに冗長性をもたせることができる。 In the image processing method according to the tenth aspect , it is possible to provide redundancy for narrowing down.
また、請求項11の画像処理方法は、請求項8〜10のいずれか1項において、前記候補領域分割過程は、分割する領域の基準位置を平行移動させることで分割する領域を変化させることができ、複数の領域の異なる絞り込み結果を算出することができることを特徴とする。 An image processing method according to an eleventh aspect is the image processing method according to any one of the eighth to tenth aspects, wherein the candidate region dividing step changes a region to be divided by translating a reference position of the region to be divided. It is possible to calculate different narrowing results for a plurality of areas.
請求項11の画像処理方法では、絞り込みに冗長性をもたせることができる。 In the image processing method according to the eleventh aspect , it is possible to provide redundancy for narrowing down.
また、請求項12の画像処理方法は、請求項7〜11において、前記整合度合い算出過程は、入力された探索対象画像とテンプレートとの画像特徴から識別用の特徴を作成する特徴抽出過程を備えており、作成された識別用の特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出することを特徴とする。また、請求項7〜11の候補領域絞り込み過程は、候補領域から任意の大きさの領域をずらしながら領域の抽出を行い、抽出した領域の中から整合度合いが最も高いものに絞り込みを行う候補領域抽出過程を備えてもよい。
An image processing method according to a twelfth aspect of the present invention is the image processing method according to any one of the seventh to eleventh aspects, wherein the matching degree calculation step includes a feature extraction step of creating a feature for identification from the image feature of the input search target image and the template. The degree of matching between the region in the search target image and the template is calculated based on the created identification feature. In the candidate area narrowing-down process according to
請求項12の画像処理方法では、例えば、画像特徴に基づく画像の濃淡の強さや濃淡勾配の方向、及び/またはそれらの濃淡の強さや勾配の方向から得られる特徴を識別用の特徴とすることができる。これにより、入力された探索対象画像とテンプレートとの画像特徴から整合度合いを算出するのが困難な場合や算出度合いに差がないような場合に、特に有効である。また、候補領域絞り込み過程が候補領域抽出過程を備えることによって、より信頼性の高い絞り込みを行うことができ、絞り込みの速度を増大することができる。 In the image processing method according to the twelfth aspect, for example, the intensity obtained from the intensity of the image based on the image characteristics and the direction of the intensity gradient and / or the characteristic obtained from the intensity of the intensity or the direction of the gradient is used as the identification characteristic. Can do. This is particularly effective when it is difficult to calculate the degree of matching from the image features of the input search target image and the template or when there is no difference in the degree of calculation. Further, since the candidate area narrowing process includes the candidate area extracting process, it is possible to perform narrowing with higher reliability and increase the speed of narrowing down.
また、請求項13のプログラムは、請求項7〜12のいずれか1項に記載の画像処理方法を、コンピュータに実行させることを特徴とする。 A program according to a thirteenth aspect causes a computer to execute the image processing method according to any one of the seventh to twelfth aspects .
また、請求項14のコンピュータ読み取り可能な記録媒体は、請求項13記載のプログラムを記録したことを特徴とする。 A computer-readable recording medium according to a fourteenth aspect is characterized in that the program according to the thirteenth aspect is recorded .
以上のような構成により、識別における候補位置の絞込みを行うことができるので、処理量の削減による処理の高速化が実現でき、さらに誤抽出による識別率の低下を防ぐことが可能となる。 With the configuration as described above, candidate positions in identification can be narrowed down, so that the processing speed can be increased by reducing the processing amount, and further, the reduction in the identification rate due to erroneous extraction can be prevented.
以上に説明したように、本発明によれば、探索対象画像の中から、特定のテンプレートに類似した領域を探索するときに、複数の候補位置が検出されてしまった場合でも、高精度に候補位置の絞込みを行うことができる。 As described above, according to the present invention, even when a plurality of candidate positions are detected when searching for an area similar to a specific template from the search target image, the candidates are highly accurate. The position can be narrowed down.
また、本発明によれば、候補位置の絞込みを行うことで、その後の処理量を削減することができ、高速な探索を実行できるようになる。 Further, according to the present invention, by narrowing down candidate positions, the subsequent processing amount can be reduced, and high-speed search can be executed.
さらに、候補位置の絞込みを行うことで識別における誤抽出を削減することができ、識別精度を向上させることもできる。 Further, by narrowing down candidate positions, erroneous extraction in identification can be reduced, and identification accuracy can be improved.
以下、実施の形態に従って本発明を詳細に説明する。 Hereinafter, the present invention will be described in detail according to embodiments.
図1に、本発明の画像処理装置の装置構成の一実施形態例を図示する。図中、101は整合度合い算出手段、102は整合度合い記録手段、103は特徴抽出手段、104は候補領域絞込み手段、105はラベリング手段、106は候補領域分割手段、107は分割領域ずらし手段、108は候補領域抽出手段である。 FIG. 1 illustrates an embodiment of an apparatus configuration of an image processing apparatus according to the present invention. In the figure, 101 is a matching degree calculating means, 102 is a matching degree recording means, 103 is a feature extracting means, 104 is a candidate area narrowing means, 105 is a labeling means, 106 is a candidate area dividing means, 107 is a divided area shifting means, 108 Is candidate area extraction means.
次に、これらの各処理手段の詳細な動作について図12〜15のフローチャートを用いて説明する。 Next, the detailed operation of each of these processing means will be described with reference to the flowcharts of FIGS.
まず、一種類のテンプレートを使用した場合の実施の形態例について説明する。 First, an embodiment in the case where one type of template is used will be described.
本実施の形態例では、まず整合度合い算出手段101が動作する。整合度合い算出手段101は、ST1において探索対象画像とテンプレートとを読み込む。
In this embodiment, first, the matching
次いでST2で、画像そのものの特徴を使用して識別を行う場合はST4の処理へ進み、画像特徴から識別用の特徴を抽出する場合はST3の処理へ移ることを判断する。このとき、探索対象画像に対するテンプレートの大きさの比率、あるいは探索対象画像中のテンプレートが変形している場合も考慮し、変形を加味した複数の探索対象画像を作成し、作成した該複数の探索対象画像に対してST3、ST4の処理を行うことができる。 Next, in ST2, when the identification is performed using the feature of the image itself, the process proceeds to ST4, and when the identification feature is extracted from the image feature, the process proceeds to ST3. At this time, taking into account the ratio of the size of the template to the search target image or the case where the template in the search target image is deformed, a plurality of search target images taking into account the deformation are created, and the plurality of created searches The processing of ST3 and ST4 can be performed on the target image.
ST3では、特徴抽出手段103が動作し、画像特徴から識別用の特徴、例えば画像の濃淡から算出される勾配の強さなどの特徴に変換され、変換された特徴を用いてST4の処理に移る。
In ST3, the
ST4では、探索対象画像とテンプレートとの整合度合いを算出する。 In ST4, the degree of matching between the search target image and the template is calculated.
整合度合いの算出には、正規化した相互相関(長尾真、「ディジタル画像処理」pp306−310、近代科学社、1995年)や、特徴抽出手段103において算出された探索対象画像とテンプレートとの特徴の特徴空間における距離値や、該特徴空間における少数の特徴ベクトルで近似された部分空間への投影距離(田村秀行、「コンピュータ画像処理」pp282−286、オーム社出版局、2002)、カーネル関数により定義された非線形変換を利用して作成した該部分空間への投影距離(前田英作、村瀬洋、「カーネル非線形部分空間法によるパターン認識」、電子情報通信学会論文詩D−II、VOL.J82−D−II、NO.4、pp600−612.1999年4月)、ヘイズ推定や最尤推定等の特徴ベクトル空間における生起確率(Richard O.Duda、Peter E.Hart、David G.Stock、「パターン識別」、84−101、新技術コミュニケーションズ、2001)を使用することができる。 For the calculation of the degree of matching, normalized cross-correlation (Masao Nagao, “Digital Image Processing” pp 306-310, Modern Science Co., Ltd., 1995), the characteristics of the search target image calculated by the feature extraction means 103 and the template By a distance value in the feature space of the image, a projection distance to a subspace approximated by a small number of feature vectors in the feature space (Hideyuki Tamura, “Computer Image Processing” pp 282-286, Ohm Publishing Co., 2002), and a kernel function Projection distance to the subspace created using the defined non-linear transformation (Eisaku Maeda, Hiroshi Murase, “Pattern Recognition by Kernel Nonlinear Subspace Method”, IEICE Poetry D-II, VOL.J82- D-II, NO.4, pp600-6122.1999), feature vector spaces such as haze estimation and maximum likelihood estimation That the occurrence probability (Richard O.Duda, Peter E.Hart, David G.Stock, "pattern identification", 84-101, new technology Communications, 2001) can be used.
このとき、ST1において複数の探索対象画像を作成した場合は、該複数の探索対象画像に対してテンプレートとの整合度合いを算出し、変形前の探索対象画像の位置座標に対応する該複数の探索対象画像とテンプレートとの整合度合いを比較し、整合度合いが最大となるものを該位置座標における探索対象画像との整合度合いとすることができる。 At this time, when a plurality of search target images are created in ST1, the degree of matching with the template is calculated for the plurality of search target images, and the plurality of search corresponding to the position coordinates of the search target image before deformation is calculated. The degree of matching between the target image and the template is compared, and the degree of matching that maximizes the degree of matching can be set as the degree of matching with the search target image at the position coordinates.
次に、ST5において、整合度合い算出手段101で算出した探索対象画像とテンプレートとの整合度合いを整合度合い記録手段102で記録し、この記録された整合度合いを候補領域絞込み手段104へ送る。 Next, in ST5, the matching degree between the search target image and the template calculated by the matching degree calculation means 101 is recorded by the matching degree recording means 102, and the recorded matching degree is sent to the candidate area narrowing means 104.
ST6において、候補領域絞込み手段104では、探索対象画像とテンプレートとの整合度合いから候補領域を絞り込むために、該整合度合いのラベリングを行うかどうかの判定を行う。 In ST6, the candidate area narrowing means 104 determines whether or not to perform labeling of the matching degree in order to narrow down the candidate area based on the matching degree between the search target image and the template.
ここで、探索対象画像とテンプレートとの整合度合いに対してラベリング処理を行う場合はST9の処理ヘ、ラベリングを行わない場合はST7の処理へ移る。 If the labeling process is performed for the degree of matching between the search target image and the template, the process proceeds to ST9. If the labeling is not performed, the process proceeds to ST7.
ST9では、ラベリング手段105が、ラベリングを行う前に、探索対象画像とテンプレートとの整合度合いに対して行う閾値の設定を行う。閾値の設定後、該閾値を使用してST10において閾値処理を行い、ST11においてラベリングを行う。 In ST9, the labeling means 105 sets a threshold value for the degree of matching between the search target image and the template before labeling. After setting the threshold, threshold processing is performed in ST10 using the threshold, and labeling is performed in ST11.
次いで、ST12において、ラベリング結果の各ラベルに対して、同一ラベル内での整合度合いの最も高かった位置座標を候補位置として記録し、同一ラベル内の候補位置以外の領域を候補からはずし、ST6の処理へ戻る。このとき、閾値を変えて同様の処理を行う場合は、再度ST9の処理へ移り、ラベリングを繰り返す。 Next, in ST12, for each label of the labeling result, the position coordinate having the highest matching degree within the same label is recorded as a candidate position, and regions other than the candidate position within the same label are excluded from the candidates. Return to processing. At this time, when the same process is performed while changing the threshold, the process proceeds to ST9 again and the labeling is repeated.
次に、ST7において、候補領域絞込み手段104に記録された、探索対象画像とテンプレートとの整合度合いから候補領域を絞り込むために、該整合度合いを分割して処理するかの判定を行う。ここで、探索対象画像をテンプレートとの整合度合いを領域分割して処理を行う場合はST13の処理へ、領域分割して行わない場合はST8の処理へ移る。 Next, in ST7, in order to narrow down the candidate area from the degree of matching between the search target image and the template recorded in the candidate area narrowing means 104, it is determined whether the matching degree is divided and processed. Here, if the search target image is processed by dividing the degree of matching with the template into regions, the process proceeds to ST13. If not, the process proceeds to ST8.
ST13では、候補領域分割手段108が、探索対象画像とテンプレートとの整合度合いを領域分割する分割間隔を指定し、ST14の処理に移る。
In ST13, the candidate
ST14では、領域分割を開始する位置座標を指定し、続くST15で、ST13、ST14で指定された分割間隔、分割開始位置座標に基づき、候補領域絞込み手段104に記録された、探索対象画像とテンプレートとの整合度合いを分割する。 In ST14, position coordinates for starting area division are designated, and in subsequent ST15, search target images and templates recorded in the candidate area narrowing means 104 based on the division intervals and division start position coordinates designated in ST13 and ST14. And the degree of matching with.
ST16からST17ではST15において分割された探索対象画像とテンプレートとの整合度合いの各分割ブロックに対して、各々の領域内で整合度合いの最も高い位置座標を算出し、算出された位置座標を候補領域絞込み手段104へ送り、該位置座標を記録し、同ブロック内の候補位置以外の領域を候補からはずし、ST7の処理へと戻る。 In ST16 to ST17, for each of the divided blocks having the matching degree between the search target image and the template divided in ST15, the position coordinates having the highest matching degree in each area are calculated, and the calculated position coordinates are used as candidate areas. This is sent to the narrowing means 104, the position coordinates are recorded, areas other than the candidate positions in the same block are excluded from the candidates, and the process returns to ST7.
ST8では、探索対象画像とテンプレートとの整合度合いから候補領域を絞り込むために、該整合度合いから任意の位置座標を基準として、候補領域絞込み手段104に記録された該位置座標を含むその周辺領域を抽出して処理するかどうかの判定を行う。 In ST8, in order to narrow down the candidate area based on the degree of matching between the search target image and the template, the peripheral area including the position coordinates recorded in the candidate area narrowing means 104 is determined based on any position coordinates based on the degree of matching. Determine whether to extract and process.
ここで、該位置座標を含むその周辺領域を抽出して処理を行う場合はST18へ、処理を行わない場合は、候補領域絞込み手段104に記録された候補領域の位置座標を結果として出力する。 Here, when processing is performed by extracting the surrounding area including the position coordinates, the process proceeds to ST18. When the process is not performed, the position coordinates of the candidate area recorded in the candidate area narrowing means 104 are output as a result.
ST18では、候補領域抽出手段108が、周辺領域として抽出する範囲を指定し、ST19の処理へと移る。 In ST18, the candidate area extraction means 108 designates a range to be extracted as a peripheral area, and the process proceeds to ST19.
ST19では、任意の位置座標を指定し、次いでST20ではST18、ST19で指定した周辺領域としての範囲、任意の位置座標に基づき、候補領域絞込み手段104に記録された、探索対象画像とテンプレートとの整合度合いから抽出する領域を選択する。 In ST19, an arbitrary position coordinate is designated, and in ST20, the search target image and the template recorded in the candidate area narrowing means 104 are recorded based on the range as the peripheral area designated in ST18 and ST19 and the arbitrary position coordinate. A region to be extracted is selected from the matching degree.
ST21では、抽出された探索対象画像とテンプレートとの整合度合いから、該整合度合いが最も高い位置座標を候補領域絞込み手段104へと送り、該位置座標を記録し、同一の領域の候補位置以外の領域を候補からはずし、続くST22で候補領域絞込み手段104に記録された、探索対象画像とテンプレートとの整合度合いから全位置を選択し終えたかどうかの判定を行う。 In ST21, based on the degree of matching between the extracted search target image and the template, the position coordinates having the highest degree of matching are sent to the candidate area narrowing means 104, the position coordinates are recorded, and the positions other than the candidate positions in the same area are recorded. The area is removed from the candidates, and it is determined whether or not all positions have been selected from the degree of matching between the search target image and the template recorded in the candidate area narrowing means 104 in ST22.
ここで、全位置を選択し終えている場合はST8の処理へ移り、そうでない場合はST19の処理へ移る。 If all positions have been selected, the process proceeds to ST8. Otherwise, the process proceeds to ST19.
次に、対象中に識別すべき複数のオブジェクトが存在し、該複数のオブジェクトに対応する複数のテンプレートを使用する場合の動作について説明する。ここで、複数のオブジェクトとは、図16の例では「三角形」、「四角形」、「円」のような、対象画像中に存在する識別すべき異なる図形、図17の例ては「あ」、「い」、「う」のような、対象画像中に存在する識別すべき異なる文字種を指す。 Next, an operation when there are a plurality of objects to be identified in the target and a plurality of templates corresponding to the plurality of objects are used will be described. Here, the plurality of objects are different figures to be identified existing in the target image such as “triangle”, “square”, and “circle” in the example of FIG. 16, and “a” in the example of FIG. , “I”, “U”, and the like, indicate different character types to be identified existing in the target image.
本実施の形態例では、まず整合度合い算出手段101が動作する。整合度合い算出手段101は、ST1において探索対象画像と複数のテンプレートとを読み込み、次いでST2で画像そのものの特徴を使用して識別を行う場合はST4の処理へ、画像特徴から識別用の特徴を抽出する場合はST3の処理へ移ることを判断する。
In this embodiment, first, the matching
このとき、探索対象画像に対するテンプレートの大きさの比率、あるいは探索対象画像中のテンプレートが変形している場合も考慮し、変形を加味した複数の探察対象画像を作成し、作成した該複数の探索対象画像に対してST3、ST4の処理を行うことができる。 At this time, taking into account the ratio of the size of the template to the search target image, or the case where the template in the search target image is deformed, a plurality of search target images taking into account the deformation are created, and the created plurality of searches The processing of ST3 and ST4 can be performed on the target image.
ST3では特徴抽出手段103が動作し、画像特徴から識別用の特徴、例えば画像の濃淡から算出される勾配の強さなどの特徴に変換され、変換された特徴を用いてST4の処理に移る。
In ST3, the
ST4では探索対象画像と複数のテンプレートとの整合度合いを算出する。ここで、整合度合いの算出には、一種類のテンプレートを使用する場合の実施の形態例と同様の手法を使用する。 In ST4, the degree of matching between the search target image and the plurality of templates is calculated. Here, for the calculation of the matching degree, the same technique as in the embodiment in the case of using one type of template is used.
そして、整合度合い記録手段102は、整合度合いの高い順に任意順位までのテンプレートとの整合度合い、及び該テンプレートを示す情報を記録し、これを候補領域絞込み手段104に送る。
Then, the matching
候補領域絞込み手段104では、まずST6において探索対象画像と複数のテンプレートとの整合度合いから候補領域を絞り込むために、該整合度合いのラベリングを行うかどうかの判定を行う。 In ST6, the candidate area narrowing means 104 first determines whether or not to perform labeling of the matching degree in order to narrow down the candidate area from the matching degree between the search target image and the plurality of templates.
ここで、探索対象画像と複数のテンプレートとの整合度合いに対してラベリング処理を行う場合はST9の処理ヘ,ラベリングを行わない場合はST7の処理へ移る。 If the labeling process is performed for the degree of matching between the search target image and the plurality of templates, the process proceeds to ST9. If the labeling is not performed, the process proceeds to ST7.
ST9ではまずラベリングを行う前に、ラベリング手段105が、探索対象画像とテンプレートとの整合度合いに対して行う閾値の設定を行う。閾値の設定後、該閾値を便用してST10において閾値処理を行い、ST11においてラベリングを行う。
In ST9, before the labeling is performed, the
次いで、ST12において、ラベリング結果の各ラベルに対して、同一ラベル内での整合度合いの最も高かった位置座標を候補領域絞込み手段104に候補位置として記録し、同一ラベル内の候補領域以外の領域を候補領域からはずし、ST6の処理へ戻る。 Next, in ST12, for each label of the labeling result, the position coordinates having the highest matching degree within the same label are recorded as candidate positions in the candidate area narrowing means 104, and areas other than the candidate areas within the same label are recorded. It removes from a candidate area | region and returns to the process of ST6.
ここで、整合度合いの高い順に任意の順位までの整合度合いの位置座標、及び該テンプレートを示す情報を算出する際に、該順位までに同一テンプレートが候補として挙げられる場合は、より整合度合いの高い位置座標を候補とし、整合度合いの低い位置座標の情報は順位の対象からはずすこととする。 Here, when calculating the position coordinates of the matching degree up to an arbitrary rank and the information indicating the template in descending order of matching degree, if the same template is listed as a candidate by the rank, the matching degree is higher. Position coordinates are candidates, and information on position coordinates with a low degree of matching is excluded from the ranking targets.
このとき、閾値を変えて同様の処理を行う場合は、再度ST9の処理へ移り、ラベリングを繰り返す。 At this time, when the same process is performed while changing the threshold, the process proceeds to ST9 again and the labeling is repeated.
次に、ST7において、候補領域絞込み手段104に記録された探索対象画像と複数のテンプレートとの整合度合いから候補領域を絞り込むために、該整合度合いを分割して処理するかの判定を行う。 Next, in ST7, in order to narrow down the candidate area from the degree of matching between the search target image recorded in the candidate area narrowing means 104 and the plurality of templates, it is determined whether or not to process the matching degree.
ここで、探索対象面像を複数のテンプレートとの整合度合いを分割して処理を行う場合はST13の処理へ、分割して行わない場合はST8の処理へ移る。 Here, if the search target surface image is processed by dividing the degree of matching with a plurality of templates, the process proceeds to ST13. Otherwise, the process proceeds to ST8.
ST13では、候補領域分割手段106が、探索対象画像と複数のテンプレートとの整合度合いを分割する分割間隔を指定し、ST14の処理に移る。
In ST13, the candidate
ST14では、分割を開始する位置座標を指定し、続くST15で、ST13、ST14で指定された分割間隔、分割開始位置座標に基づき、候補領域絞込み手段104に記録された探索対象画像と複数のテンプレートとの整合度合いを分割する。 In ST14, position coordinates for starting division are designated, and in subsequent ST15, search target images and a plurality of templates recorded in the candidate area narrowing means 104 based on the division interval and division start position coordinates designated in ST13 and ST14. And the degree of matching with.
ST16からST17ではST15において分割された探索対象画像と複数のテンプレートとの整合度合いの各分割ブロックに対して、各々の領域内で整合度合いの最も高い位置座標を算出し、算出された位置座標を候補領域絞込み手段104へと送り、該位置座標を記録し、同ブロック内の候補位置以外の領域を候補領域からはずし、ST7の処理へと戻る。 In ST16 to ST17, the position coordinates having the highest degree of matching are calculated in each region for each divided block of the degree of matching between the search target image and the plurality of templates divided in ST15, and the calculated position coordinates are calculated. This is sent to the candidate area narrowing means 104, the position coordinates are recorded, areas other than the candidate positions in the block are removed from the candidate areas, and the process returns to ST7.
ここで、整合度合いの高い順に任意の順位までの整合度合いの位置座標、及び該テンプレートを示す情報を算出する際に、該順位までに同一テンプレートが候補として挙げられる場合は、より整合度合いの高い位置座標を候補とし、整合度合いの低い位置座標の情報は順位の対象からはずすこととする。 Here, when calculating the position coordinates of the matching degree up to an arbitrary rank and the information indicating the template in descending order of matching degree, if the same template is listed as a candidate by the rank, the matching degree is higher. Position coordinates are candidates, and information on position coordinates with a low degree of matching is excluded from the ranking targets.
ST8では、候補領域絞込み手段104において、探索対象画像と複数のテンプレートとの整合度合いから候補領域を絞り込むために、候補領域絞込み手段104に記録された該整合度合いから任意の位置座標を基準として、該位置座標を含むその周辺領域を抽出して処理するかどうかの判定を行う。 In ST8, in order to narrow down the candidate area from the matching degree between the search target image and the plurality of templates in the candidate area narrowing means 104, an arbitrary position coordinate is used as a reference from the matching degree recorded in the candidate area narrowing means 104. It is determined whether the peripheral area including the position coordinates is extracted and processed.
ここで、該位置座標を含むその周辺領域を抽出して処理を行う場合はST18へ、処理を行わない場合は、候補領域絞込み手段104に記録された候補領域の位置座標を結果として出力する。 Here, when processing is performed by extracting the surrounding area including the position coordinates, the process proceeds to ST18. When the process is not performed, the position coordinates of the candidate area recorded in the candidate area narrowing means 104 are output as a result.
ST18では、候補領域抽出手段108が、周辺領域として抽出する範囲を指定し、ST19の処理へと移る。 In ST18, the candidate area extraction means 108 designates a range to be extracted as a peripheral area, and the process proceeds to ST19.
ST19では、任意の位置座標を指定し、次いでST20ではST18、ST19で指定した周辺領域としての範囲、任意の位置座標に基づき、候補領域絞込み手段104に記録された探索対象画像と複数のテンプレートとの整合度合いから抽出する領域を選択する。 In ST19, an arbitrary position coordinate is specified, and in ST20, the search target image and a plurality of templates recorded in the candidate area narrowing means 104 based on the range as the peripheral area specified in ST18 and ST19, and the arbitrary position coordinate, A region to be extracted is selected from the degree of matching.
ST21では、抽出された探索対象画像と複数のテンプレートとの整合度合いから、該整合度合いが最も高い位置座標を候補領域絞込み手段104へと送り、該位置座標を記録し、同一の領域の候補位置以外の領域を候補からはずす。 In ST21, the position coordinates having the highest degree of matching are sent to the candidate area narrowing means 104 from the degree of matching between the extracted search target image and the plurality of templates, the position coordinates are recorded, and the candidate position of the same area is recorded. Remove areas other than.
ここで、整合度合いの高い順に任意の順位までの整合度合いの位置座標、及び該テンプレートを示す情報を算出する際に、該順位までに同一テンプレートが候補として挙げられる場合は、より整合度合いの高い位置座標を候補とし、整合度合いの低い位置座標の情報は順位の対象からはずすこととする。 Here, when calculating the position coordinates of the matching degree up to an arbitrary rank and the information indicating the template in descending order of matching degree, if the same template is listed as a candidate by the rank, the matching degree is higher. Position coordinates are candidates, and information on position coordinates with a low degree of matching is excluded from the ranking targets.
続いてST22で候補領域絞込み手段104に記録された探索対象画像と複数のテンプレートとの整合度合いから全位置を選択し終えたかどうかの判定を行う。 Subsequently, in ST22, it is determined whether or not all positions have been selected from the degree of matching between the search target image recorded in the candidate area narrowing means 104 and the plurality of templates.
ここで、全位置を選択し終えている場合はST8の処理へ移り、そうでない場合はST19の処理へ移る。 If all positions have been selected, the process proceeds to ST8. Otherwise, the process proceeds to ST19.
なお、本発明は図1に示した装置の一部又は全部の処理機能をプログラムとして構成してコンピュータを用いて実現すること、あるいは図12〜図15で示した処理手順をプログラムとして構成してコンピュータに実行させることができる。また、コンピュータでその各部の処理機能を実現するためのプログラム、あるいはコンピュータにその処理手順を実行させるためのプログラムを、そのコンピュータが読み取り可能な記録媒体、例えば、フレキシブルディスク、MO、ROM、メモリカード、CD、DVD、リムーバブルディスクなどに記録して、保存したり、提供したりすることが可能であり、また、インターネットのような通信ネットワークを介して配布したりすることが可能である。 In the present invention, some or all of the processing functions of the apparatus shown in FIG. 1 are configured as a program and realized using a computer, or the processing procedures shown in FIGS. 12 to 15 are configured as a program. It can be executed by a computer. In addition, a computer-readable recording medium such as a flexible disk, MO, ROM, or memory card can be used to store a program for realizing the processing functions of each unit by the computer or a program for causing the computer to execute the processing procedure. It can be recorded on a CD, DVD, removable disk, etc., stored, provided, and distributed via a communication network such as the Internet.
101…整合度合い算出手段
102…整合度合い記録手段
103…特徴抽出手段
104…候補領域絞り込み手段
105…ラベリング手段
106…候補領域分割手段
107…分割領域ずらし手段
108…候補領域抽出手段
DESCRIPTION OF
Claims (14)
探索対象画像とテンプレートとを入力し、探索対象画像とテンプレートとの画像特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出する整合度合い算出手段と、
整合度合いが高い領域を候補領域とし、この候補領域の整合度合いを記録する整合度合い記録手段と、
前記整合度合い記録手段に記録された候補領域に対して閾値に基づく閾値処理を行った後、この処理結果に対してラベリングを行い、同じラベル番号の中で整合度合いが最も高い領域をそのラベル番号における候補領域として記録するラベリング処理を行い、前記ラベリング番号の候補領域の周辺領域とテンプレートとの整合度合いを算出し、前記候補領域と周辺領域との中から整合度合いが高い領域に絞り込みを行う候補領域絞り込み手段と、を備えることを特徴とする画像処理装置。 An image processing apparatus that searches and outputs a region similar to a template from search target images,
A matching degree calculating means for inputting a search target image and a template, and calculating a matching degree between a region in the search target image and the template based on an image feature of the search target image and the template;
An area with a high degree of matching is set as a candidate area, and a degree-of-match recording means for recording the degree of matching of this candidate area;
After the threshold value processing based on the threshold value is performed on the candidate area recorded in the matching degree recording unit, the processing result is labeled, and the area having the highest matching degree among the same label numbers is labeled with the label number. performs labeling processing for and recorded as the candidate regions in, calculates the matching degree between the peripheral region and the template of the candidate region of the labeling number, the narrowing in the region is higher matching degree among said candidate region and the peripheral region An image processing apparatus comprising: candidate area narrowing means for performing .
探索対象画像とテンプレートとを入力し、探索対象画像とテンプレートとの画像特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出する整合度合い算出手段と、
整合度合いが高い領域を候補領域とし、この候補領域の整合度合いを記録する整合度合い記録手段と、
前記整合度合い記録手段に記録された候補領域を一定間隔で分割し、分割した領域の中で整合度合いが最も高い領域をその分割した領域における候補領域として記録する候補領域分割処理を行い、前記分割した領域における候補領域の周辺領域とテンプレートとの整合度合いを算出し、前記候補領域と周辺領域との中から整合度合いが高い領域に絞り込みを行う候補領域絞り込み手段と、を備えることを特徴とする画像処理装置。 An image processing apparatus that searches and outputs a region similar to a template from search target images,
A matching degree calculating means for inputting a search target image and a template, and calculating a matching degree between a region in the search target image and the template based on an image feature of the search target image and the template;
An area with a high degree of matching is set as a candidate area, and a degree-of-match recording means for recording the degree of matching of this candidate area;
The candidate area recorded in the matching degree recording means is divided at regular intervals, and a candidate area dividing process is performed in which the area having the highest degree of matching among the divided areas is recorded as a candidate area in the divided area. And a candidate area narrowing means for calculating a degree of matching between a candidate area and a template in a peripheral area of the candidate area and narrowing down the candidate area and the peripheral area to a region having a high degree of matching. Image processing device.
探索対象画像とテンプレートとを入力し、探索対象画像とテンプレートとの画像特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出する整合度合い算出手段と、 A matching degree calculating means for inputting a search target image and a template, and calculating a matching degree between a region in the search target image and the template based on an image feature of the search target image and the template;
整合度合いが高い領域を候補領域とし、この候補領域の整合度合いを記録する整合度合い記録手段と、 An area with a high degree of matching is set as a candidate area, and a degree-of-match recording means for recording the degree of matching of this candidate area;
前記整合度合い記録手段に記録された候補領域に対して閾値に基づく閾値処理を行った後、この処理結果に対してラベリングを行い、同じラベル番号の中で整合度合いが最も高い領域をそのラベル番号における候補領域として記録するラベリング処理を行い、前記ラベリング処理で記録された候補領域を一定間隔で分割し、分割した領域のなかで整合度合いが最も高い領域をその分割した領域における候補領域として記録する候補領域分割処理を行い、前記分割した領域における候補領域の周辺領域とテンプレートとの整合度合いを算出し、前記候補領域と周辺領域との中から整合度合いが高い領域に絞り込みを行う候補領域絞り込み手段と、を備えことを特徴とする画像処理装置。 After the threshold value processing based on the threshold value is performed on the candidate area recorded in the matching degree recording unit, the processing result is labeled, and the area having the highest matching degree among the same label numbers is labeled with the label number. The candidate area recorded by the labeling process is divided at regular intervals, and the area with the highest degree of matching is recorded as a candidate area in the divided area. Candidate area narrowing means that performs candidate area dividing processing, calculates the degree of matching between the peripheral area of the candidate area and the template in the divided area, and narrows down the candidate area and the peripheral area to areas having a high degree of matching An image processing apparatus comprising:
分割する領域の間隔を変化させることができ、複数の分割間隔について絞り込み結果を算出することができることを特徴とする請求項2または3に記載の画像処理装置。 The candidate area dividing means includes:
The image processing apparatus according to claim 2, wherein an interval between divided areas can be changed, and a narrowing result can be calculated for a plurality of divided intervals.
分割する領域の基準位置を平行移動させることで分割する領域を変化させることができ、複数の領域の異なる絞り込み結果を算出することができることを特徴とする請求項2〜4のいずれか1項に記載の画像処理装置。 The candidate area dividing means includes:
The reference position of the divided regions can be changed region to divide by moving parallel to any one of claims 2-4, characterized in that it is possible to calculate the different refined result of a plurality of regions The image processing apparatus described.
入力された探索対象画像とテンプレートとの画像特徴から識別用の特徴を作成する特徴抽出手段を備えており、
作成された識別用の特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出することを特徴とする請求項1〜5に記載の画像処理装置。 The matching degree calculation means includes:
Comprising a feature extraction means for creating a feature for identification from the image features of the input search target image and the template,
6. The image processing apparatus according to claim 1 , wherein a degree of matching between a region in a search target image and a template is calculated based on the created identification feature.
探索対象画像とテンプレートとを入力し、探索対象画像とテンプレートとの画像特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出する整合度合い算出過程と、
整合度合いが高い領域を候補領域とし、この候補領域の整合度合いを記録する整合度合い記録過程と、
前記整合度合い記録過程に記録された候補領域に対して閾値に基づく閾値処理を行った後、この処理結果に対してラベリングを行い、同じラベル番号の中で整合度合いが最も高い領域をそのラベル番号における候補領域として記録するラベリング処理を行い、前記ラベリング番号の候補領域の周辺領域とテンプレートとの整合度合いを算出し、前記候補領域と周辺領域との中から整合度合いが高い領域に絞り込みを行う候補領域絞り込み過程と、を備えることを特徴とする画像処理方法。 An image processing method for searching and outputting a region similar to a template from search target images,
A matching degree calculation process of inputting a search target image and a template, and calculating a matching degree between a region in the search target image and the template based on an image feature of the search target image and the template;
A matching degree recording process in which an area having a high degree of matching is set as a candidate area and the matching degree of the candidate area is recorded,
After the threshold processing based on the threshold is performed on the candidate region recorded in the matching degree recording process, the processing result is labeled, and the region having the highest matching degree among the same label numbers is labeled with the label number. performs labeling processing for and recorded as the candidate regions in, calculates the matching degree between the peripheral region and the template of the candidate region of the labeling number, the narrowing in the region is higher matching degree among said candidate region and the peripheral region And a candidate area narrowing-down process to be performed .
探索対象画像とテンプレートとを入力し、探索対象画像とテンプレートとの画像特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出する整合度合い算出過程と、
整合度合いが高い領域を候補領域とし、この候補領域の整合度合いを記録する整合度合い記録過程と、
前記整合度合い記録過程に記録された候補領域を一定間隔で分割し、分割した領域の中で整合度合いが最も高い領域をその分割した領域における候補領域として記録する候補領域分割処理を行い、前記分割した領域における候補領域の周辺領域とテンプレートとの整合度合いを算出し、前記候補領域と周辺領域との中から整合度合いが高い領域に絞り込みを行う候補領域絞り込み過程と、を備えることを特徴とする画像処理方法。 An image processing method for searching and outputting a region similar to a template from search target images,
A matching degree calculation process of inputting a search target image and a template, and calculating a matching degree between a region in the search target image and the template based on an image feature of the search target image and the template;
A matching degree recording process in which an area having a high degree of matching is set as a candidate area and the matching degree of the candidate area is recorded,
The candidate area recorded in the matching degree recording process is divided at regular intervals, and a candidate area dividing process is performed in which the area having the highest degree of matching among the divided areas is recorded as a candidate area in the divided area. A candidate area narrowing process that calculates a degree of matching between a candidate area and a template in a peripheral area of the candidate area, and narrows down the candidate area and the peripheral area to a region having a high degree of matching. Image processing method.
探索対象画像とテンプレートとを入力し、探索対象画像とテンプレートとの画像特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出する整合度合い算出過程と、
整合度合いが高い領域を候補領域とし、この候補領域の整合度合いを記録する整合度合い記録過程と、
前記整合度合い記録過程に記録された候補領域に対して閾値に基づく閾値処理を行った後、この処理結果に対してラベリングを行い、同じラベル番号の中で整合度合いが最も高い領域をそのラベル番号における候補領域として記録するラベリング処理を行い、前記ラベリング処理で記録された候補領域を一定間隔で分割し、分割した領域のなかで整合度合いが最も高い領域をその分割した領域における候補領域として記録する候補領域分割処理を行い、前記分割した領域における候補領域の周辺領域とテンプレートとの整合度合いを算出し、前記候補領域と周辺領域との中から整合度合いが高い領域に絞り込みを行う候補領域絞り込み過程と、を備えことを特徴とする画像処理方法。 An image processing method for searching and outputting a region similar to a template from search target images,
A matching degree calculation process of inputting a search target image and a template, and calculating a matching degree between a region in the search target image and the template based on an image feature of the search target image and the template;
A matching degree recording process in which an area having a high degree of matching is set as a candidate area and the matching degree of the candidate area is recorded,
After the threshold processing based on the threshold is performed on the candidate region recorded in the matching degree recording process, the processing result is labeled, and the region having the highest matching degree among the same label numbers is labeled with the label number. The candidate area recorded by the labeling process is divided at regular intervals, and the area with the highest degree of matching is recorded as a candidate area in the divided area. Candidate area narrowing process that performs candidate area division processing, calculates the degree of matching between the peripheral area of the candidate area and the template in the divided area, and narrows down the candidate area and the peripheral area to areas having a high degree of matching And an image processing method .
分割する領域の間隔を変化させることができ、複数の分割間隔について絞り込み結果を算出することができることを特徴とする請求項8または9に記載の画像処理方法。 The candidate area dividing process includes:
The image processing method according to claim 8 or 9 , wherein the interval between the divided regions can be changed, and a narrowing result can be calculated for a plurality of divided intervals.
分割する領域の基準位置を平行移動させることで分割する領域を変化させることができ、複数の領域の異なる絞り込み結果を算出することができることを特徴とする請求項8〜10のいずれか1項に記載の画像処理方法。 The candidate area dividing process includes:
The reference position of the divided regions can be changed region to divide by moving parallel to one of claims 8 to 10, characterized in that it is possible to calculate the different refined result of a plurality of regions The image processing method as described.
入力された探索対象画像とテンプレートとの画像特徴から識別用の特徴を作成する特徴抽出過程を備えており、
作成された識別用の特徴に基づいて探索対象画像中の領域とテンプレートとの整合度合いを算出することを特徴とする請求項7〜11に記載の画像処理方法。 The matching degree calculation process includes:
It has a feature extraction process that creates features for identification from the image features of the input search target image and template,
The image processing method according to claim 7 , wherein the degree of matching between the region in the search target image and the template is calculated based on the created identification feature.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003366872A JP4480980B2 (en) | 2003-10-28 | 2003-10-28 | Image processing apparatus, image processing method, program, and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003366872A JP4480980B2 (en) | 2003-10-28 | 2003-10-28 | Image processing apparatus, image processing method, program, and recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005134949A JP2005134949A (en) | 2005-05-26 |
| JP4480980B2 true JP4480980B2 (en) | 2010-06-16 |
Family
ID=34645037
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003366872A Expired - Fee Related JP4480980B2 (en) | 2003-10-28 | 2003-10-28 | Image processing apparatus, image processing method, program, and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4480980B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7490359B2 (en) * | 2019-12-24 | 2024-05-27 | キヤノン株式会社 | Information processing device, information processing method, and program |
-
2003
- 2003-10-28 JP JP2003366872A patent/JP4480980B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005134949A (en) | 2005-05-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Kumar et al. | Personal recognition using hand shape and texture | |
| US11507784B2 (en) | Device and method of digital image content recognition, training of the same | |
| JP7370759B2 (en) | Image processing device, image processing method and program | |
| Xiong et al. | Text-independent writer identification using SIFT descriptor and contour-directional feature | |
| KR101761234B1 (en) | Hand Feature Extraction Algorithm using Curvature Analysis For Recognition of Various Hand Feature | |
| Hassaballah et al. | Detection and description of image features: an introduction | |
| Kumar et al. | Indian classical dance classification with adaboost multiclass classifier on multifeature fusion | |
| JP7220062B2 (en) | LEARNING DATA GENERATION PROGRAM, LEARNING DATA GENERATION DEVICE, AND LEARNING DATA GENERATION METHOD | |
| CN112017162B (en) | Pathological image processing method, pathological image processing device, storage medium and processor | |
| CN115810106B (en) | A method for accurate identification of tea shoot grade under complex environments | |
| CN111523537A (en) | Character recognition method, storage medium and system | |
| Verma et al. | Script identification in natural scene images: a dataset and texture-feature based performance evaluation | |
| Hameed et al. | Content based image retrieval based on feature fusion and support vector machine | |
| JP2010257267A (en) | Object region detection apparatus, object region detection method, and object region detection program | |
| JP4480980B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
| Madni et al. | Hand Gesture Recognition Using Semi Vectorial Multilevel Segmentation Method with Improved ReliefF Algorithm. | |
| JP2014225168A (en) | Program, device, and method for calculating similarity between images represented by feature point set | |
| Vinay et al. | A double filtered GIST descriptor for face recognition | |
| KR20110052962A (en) | Object recognition device and method | |
| CN108475339A (en) | Method and system for classifying objects in images | |
| JPWO2013154062A1 (en) | Image identification system, image identification method, and program | |
| Khan et al. | Feature-Based Tracking via SURF Detector and BRISK Descriptor | |
| JP2005339075A (en) | Image search apparatus, image search method, program for the method, and recording medium recording the program | |
| JP2005149302A (en) | Face image recognition apparatus and face image recognition program | |
| JP4490794B2 (en) | Moving body contour extraction method and apparatus, and moving body contour extraction program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060407 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20090521 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090714 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090914 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091013 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091120 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100105 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100205 |
|
| 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: 20100309 |
|
| 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: 20100317 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130326 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |