JP2009284084A - Image collating method, image collating apparatus, image data output apparatus, program, and storage medium - Google Patents

Image collating method, image collating apparatus, image data output apparatus, program, and storage medium Download PDF

Info

Publication number
JP2009284084A
JP2009284084A JP2008132220A JP2008132220A JP2009284084A JP 2009284084 A JP2009284084 A JP 2009284084A JP 2008132220 A JP2008132220 A JP 2008132220A JP 2008132220 A JP2008132220 A JP 2008132220A JP 2009284084 A JP2009284084 A JP 2009284084A
Authority
JP
Japan
Prior art keywords
image
similarity
color
shape
registered
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
JP2008132220A
Other languages
Japanese (ja)
Other versions
JP4913094B2 (en
Inventor
Masakazu Ohira
雅和 大平
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2008132220A priority Critical patent/JP4913094B2/en
Publication of JP2009284084A publication Critical patent/JP2009284084A/en
Application granted granted Critical
Publication of JP4913094B2 publication Critical patent/JP4913094B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To achieve an image collating apparatus which determines similarity to a non-original image which is formed by copying an original image with high precision when the original image is a color image. <P>SOLUTION: In an image collating apparatus 101, a document collating section 2 extracts shape features indicating the features about the shape of an image from input image data, and compares the shape features with those of a registered image. A color similarity determination section 4 determines similarity of an input image to the registered image, extracts color features indicating the features about the color of an image from the input image data, compares the color features with those of the registered image, and determines similarity of the input image to the registered image. Furthermore, a saturation determination section 43 obtains saturation information of the input image from the input image data. A general similarity determination section 5 determines similarity of the input image to the registered image, based on the determination results and the saturation information. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、カラー画像の画像データを処理する画像照合方法、画像照合装置、画像データ出力処理装置、プログラム及び記憶媒体に関するものである。   The present invention relates to an image matching method, an image matching device, an image data output processing device, a program, and a storage medium that process image data of a color image.

従来から、画像同士の類似性を判定するための文書画像の照合技術が知られており、この文書画像の照合技術は画像データの処理において種々利用されている。   2. Description of the Related Art Conventionally, a document image matching technique for determining the similarity between images is known, and this document image matching technique is used in various ways in image data processing.

画像データ同士の類似性の判定には、例えば、OCR(Optical Character Reader)で画像からキーワードを抽出し、抽出したキーワードにより画像の類似度を判定する方法や、類似度の判定を行う画像を罫線のある帳票画像に限定して、罫線の特徴を抽出して画像の類似度を判定する方法、画像データの文字列等を点に置き換えて、点(特徴点)の位置関係を特徴量として求め画像の類似度を判定する方法などが提案されている。   For the determination of the similarity between image data, for example, a keyword is extracted from an image using an OCR (Optical Character Reader), the similarity of the image is determined based on the extracted keyword, and the image for which the similarity is determined is a ruled line. A method for extracting ruled line features and determining image similarity, replacing character strings of image data with points, and obtaining the positional relationship of points (feature points) as feature quantities A method for determining the similarity of images has been proposed.

例えば、特許文献1には、入力文書の特徴からデスクリプタを生成し、このデスクリプタと、デスクリプタを記録しデスクリプタが生成された特徴を含む文書のリストを指し示すデスクリプタデータベースとを用いて、入力文書と文書データベース中の文書とのマッチングを行う技術が開示されている。デスクリプタは、文書のデジタル化により生じる歪みや、入力文書と文書データベース中の整合する文書との間の差異に対して不変となるように選ばれる。   For example, in Patent Document 1, a descriptor is generated from the characteristics of an input document, and the descriptor is recorded with the descriptor database indicating a list of documents including the descriptor and the generated characteristics. A technique for matching with a document in a database is disclosed. The descriptor is chosen to be invariant to distortions caused by digitization of the document and differences between the input document and the matching document in the document database.

この技術では、デスクリプタデータベースがスキャンされるときに、文書データベース中の各文書に対する投票を累積し、最高得票数の1文書または得票数がある閾値を超えた文書を登録文書或いはこれに類似するものとして抽出するようになっている。   In this technology, when the descriptor database is scanned, votes for each document in the document database are accumulated, and one document with the maximum number of votes or a document whose number of votes exceeds a certain threshold is registered or similar. Is supposed to be extracted as

また、特許文献2には、デジタル画像から複数の特徴点を抽出し、抽出した各特徴点に対して局所的な特徴点の集合を決定し、決定した各集合から特徴点の部分集合を選択し、選択した各部分集合を特徴付ける量として、部分集合中の特徴点の複数の組み合わせに基づいて、幾何学的変換に対する不変量をそれぞれ求め、求めた各不変量を組み合わせて特徴量を計算し、計算した特徴量を有するデータベース中の文書画像に投票することにより、上記デジタル画像に対応する文書画像を検索する技術が開示されている。   In Patent Document 2, a plurality of feature points are extracted from a digital image, a set of local feature points is determined for each extracted feature point, and a subset of feature points is selected from each determined set Then, as an amount to characterize each selected subset, invariants for geometric transformation are obtained based on a plurality of combinations of feature points in the subset, and feature amounts are calculated by combining the obtained invariants. A technique for searching for a document image corresponding to the digital image by voting on a document image in a database having a calculated feature amount is disclosed.

特許文献3には、画像の色情報から画像の特徴を抽出して類似度を判定する方法が開示されている。これによれば、画像の各画素のRGB値をHSL値に変換し、色を特定する複数の色要素の値に基づいて複数の色グループに色を分類する色グループ分類テーブルを参照して、画像を構成する各画素の色を色グループ毎にカウントし、色グループ内でカウントされた画素の色要素の値に基づいて各色グループの平均色を求め、色グループ内でカウントされた画素が画像全体に占める割合である占有率を色グループ毎に算出し、色グループの平均色を表す色相、彩度および明度と、色グループの占有率とを、画像の色特徴として色グループ毎に抽出する。   Japanese Patent Application Laid-Open No. 2004-228561 discloses a method for determining similarity by extracting image features from image color information. According to this, referring to the color group classification table that converts the RGB value of each pixel of the image into an HSL value, and classifies the colors into a plurality of color groups based on the values of the plurality of color elements specifying the color, The color of each pixel constituting the image is counted for each color group, the average color of each color group is obtained based on the value of the color element of the pixel counted in the color group, and the pixel counted in the color group is the image The occupancy ratio, which is the ratio of the entire image, is calculated for each color group, and the hue, saturation, and lightness representing the average color of the color group, and the occupancy ratio of the color group are extracted for each color group as the color characteristics of the image. .

このようにして抽出された各色グループ毎の色特徴と比較対象画像の上記の色特徴を用いて画像の類似度を算出する。類似度は色特徴と1つと比較対照画像の全ての色特徴と比較し、それぞれの色特徴の組み合わせにおける色相の類似度、彩度の類似度および明度の類似度を計算し、類似度の重みを考慮して1つの色特徴に対する類似度を求める。そして算出された類似度の中から絶対値が最大となる類似度を選択し、他の色特徴に対してそれぞれ求められた最大の類似度にこの類似度に対応する占有率を乗算し、全ての色特徴について合計したものを比較対照画像との類似度として算出する。   The similarity between the images is calculated using the color feature for each color group extracted in this way and the color feature of the comparison target image. The similarity is compared with one color feature and all the color features of the comparison image, the hue similarity, the saturation similarity and the lightness similarity in each color feature combination are calculated, and the similarity weight Is used to determine the degree of similarity for one color feature. Then, select the similarity with the maximum absolute value from the calculated similarities, multiply the maximum similarity obtained for each of the other color features by the occupation rate corresponding to this similarity, The sum of the color features is calculated as the similarity to the comparative control image.

また、特許文献4には、入力された画像の特徴量(色特徴量、文字特徴量)とオリジナル文書の全てのページの特徴量とを比較して類似度を求め、類似度が第1の閾値よりも高い電子文書の文書ID及びページを文書候補として抽出し、文書候補が複数ある場合、表示を行ってユーザに選択を促すことが記載されている。また、検索されたページの類似度の平均が第1の閾値を下回った場合、候補から削除して絞り込みを行うようにしても良いといったことが記載されている。   Also, in Patent Document 4, the feature amount (color feature amount, character feature amount) of the input image is compared with the feature amount of all pages of the original document to obtain the similarity, and the similarity is the first. It describes that document IDs and pages of electronic documents that are higher than the threshold are extracted as document candidates, and when there are a plurality of document candidates, display is performed to prompt the user to select. In addition, it is described that when the average similarity of the searched pages is lower than the first threshold value, it may be deleted from candidates and narrowed down.

さらに、非特許文献1には、原稿から書き込み領域を抽出するにあたり、モノクロ原稿だけでなくカラー原稿も対象として、画像をRGB色空間で色クラスタリング処理し、この処理により得られた色毎に連結成分の特徴点を算出して照合判定を行うことが記載されている。
特開平7−282088号公報(1995年10月27日公開) 国際公開第2006/092957号パンフレット(2006年9月8日公開) 特開平11−96364号公報(1999年4月9日公開) 特開2006−31181号公報(2006年2月2日公開) 中居 友弘、黄瀬 浩一、岩村 雅一:「特徴点の局所的配置に基づく位置合わせを用いた文書からの書き込み抽出法」、(電子情報通信学会 技術研究 報告 「パターン認識・メディア理解研究会(PRMU)、2007年3月」)
Further, in Non-Patent Document 1, when extracting a writing area from a document, not only a monochrome document but also a color document, an image is subjected to color clustering processing in an RGB color space, and connected for each color obtained by this processing. It is described that collation determination is performed by calculating feature points of components.
Japanese Patent Laid-Open No. 7-282088 (released on October 27, 1995) International Publication No. 2006/092957 pamphlet (published on September 8, 2006) Japanese Patent Laid-Open No. 11-96364 (published on April 9, 1999) JP 2006-31181 A (published February 2, 2006) Tomohiro Nakai, Koichi Kise, Masakazu Iwamura: “Writing Extraction from Documents Using Registration Based on Localization of Feature Points” (Technical Research Report of IEICE “Pattern Recognition and Media Understanding (PRMU) ), March 2007 ")

しかしながら、上記した従来の技術には、オリジナル画像がカラー画像である場合に、これを登録した登録画像と、これをコピーしたりして形成された非オリジナル画像との類似性を、精度よく判定することができないといった問題がある。   However, in the conventional technique described above, when the original image is a color image, the similarity between the registered image in which the original image is registered and the non-original image formed by copying the image is accurately determined. There is a problem that can not be done.

すなわち、特許文献1,2の方法の場合、どのような信号を用いて照合判定を行っているかは明確に記載されていないが、2値化された信号を用いることより、輝度信号やG信号を用いているものと推定される。このような類似性の判定では、画像の構成要素(形状に関する特徴)のみで判定し、色情報(色に関する特徴)が考慮されていないので、画像の構成要素は似ているが、色が全く異なる原稿でも類似性が高いと判定されてしまう。   That is, in the methods of Patent Documents 1 and 2, it is not clearly described which signal is used for the collation determination, but by using a binarized signal, a luminance signal or a G signal is used. Is presumed to be used. In such similarity determination, only the image component (feature related feature) is determined, and color information (color related feature) is not taken into consideration, so the image component is similar, but the color is completely different. Even different documents are determined to have high similarity.

例えば、申請書などの場合、よく似たレイアウトの文書画像(輝度情報による類似度が高い)を、種類の違いが容易に識別できるように、異なる色の文字と罫線で印刷することが良く行われる。特許文献1,2の方法では、これら種類の異なる申請書が、類似性が高いと判定されてしまう。   For example, in the case of an application form, a document image with a similar layout (similarity based on luminance information) is often printed with different color characters and ruled lines so that the difference in type can be easily identified. Is called. In the methods of Patent Literatures 1 and 2, it is determined that these different types of application forms have high similarity.

一方、特許文献3のように、色情報のみで画像の類似性を判定した場合には、画像の構成要素の類似度が考慮されないために、見た目には全く異なる画像であっても類似度が高いと判定されてしまう虞がある。また、オリジナル原稿がカラー画像であり、これを白黒コピーしたりファクシミリ送信されたりして白黒画像の非オリジナル原稿が作成される場合があるが、このような場合に、色情報のみで画像の類似性を判定すると、全く別の画像であると判定されてしまう。   On the other hand, as in Patent Document 3, when the similarity of the image is determined only by the color information, the similarity of the constituent elements of the image is not taken into consideration. There is a risk of being determined to be high. In addition, the original document is a color image, which may be copied in black and white or transmitted by facsimile to create a non-original document as a black and white image. If sex is judged, it will be judged that it is a completely different image.

また、特許文献3の方法では、データベースに格納されている比較対象画像(登録画像に相当)それぞれについて類似性を求める必要があるので、照合判定を行うのに非常に時間を要するといった問題もある。   In addition, the method of Patent Document 3 has a problem in that it takes a very long time to perform collation determination because it is necessary to obtain similarity for each comparison target image (corresponding to a registered image) stored in the database. .

これに対し、特許文献4及び非特許文献1の方法では、画像の構成要素と色情報の両方を判定に用いるので、何れか一方のみを用いる特許文献1〜3のような問題はない。しかしながら、例えば、形状(文字および罫線の形状)に関する類似度が共に同程度の、赤い罫線の原稿と、緑の形成の原稿と、黒い罫線の原稿との3枚について、1)赤い罫線の原稿と緑の罫線の原稿も、2)赤い罫線の原稿と黒い罫線の原稿も、色の類似度は共に低いと判定されてしまい、1)と2)に対し、優先順位をつけることができない。   On the other hand, in the methods of Patent Document 4 and Non-Patent Document 1, since both the component of the image and the color information are used for the determination, there is no problem as in Patent Documents 1 to 3 using only one of them. However, for example, for three sheets of a red ruled original, a green-formed original, and a black ruled original having the same degree of similarity in shape (character and ruled line shape), 1) a red ruled original It is determined that both the originals of green and green ruled lines and 2) originals of red ruled lines and originals of black ruled lines are low in color similarity, and cannot give priority to 1) and 2).

本発明は、上記の問題点に鑑みてなされたものであり、オリジナル画像がカラー画像である場合に、これをコピーしたりして形成された非オリジナル画像との類似性を、精度よく判定することのできる画像照合方法、画像照合装置、画像データ出力処理装置、プログラム及び記憶媒体の提供を目的としている。   The present invention has been made in view of the above problems, and when an original image is a color image, the similarity with a non-original image formed by copying the image is accurately determined. An object of the present invention is to provide an image collation method, an image collation apparatus, an image data output processing apparatus, a program, and a storage medium.

本願出願人は、カラーの原稿を、他の色を使ってカラーコピーしたりカラー印刷するケースに比して、モノクロコピーしたり、モノクロ印刷されたりして、無彩化されるケースが多いことに着目し、上記の1)赤い罫線の原稿と緑の罫線の原稿と、2)赤い罫線の原稿と黒い罫線の原稿とでは、1)よりも2)の方の類似度を高く判定する方が現実的であることに着目し、本願発明を行うに至った。   The applicant of this application has many cases where a color manuscript is achromatized by monochrome copying or monochrome printing, compared to the case of color copying or color printing using other colors. If 1) the document with red ruled lines and the document with green ruled lines, and 2) the document with red ruled lines and the document with black ruled lines are judged to have a higher similarity in 2) than in 1) Focusing on the fact that is realistic, the present invention has been made.

本発明の画像照合装置は、上記課題を解決するために、入力された画像データより画像の形状に関する特徴を示す形状特徴量を抽出して、登録されている登録画像の形状特徴量と比較し、上記入力された入力画像と上記登録画像との類似性を判定する形状類似性判定部と、上記入力された画像データより画像の色に関する特徴を示す色特徴量を抽出して、上記登録画像の色特徴量と比較し、上記入力画像と上記登録画像との類似性を判定する色類似性判定部と、入力された画像データより彩度を抽出して、入力画像が有彩であるか無彩であるかを判定する彩度判定部と、上記形状類似性判定部の判定結果、上記色類似性判定部の判定結果、及び上記彩度判定部による判定結果にて、上記入力画像と上記登録画像との類似性を判定する類似性総合判定部とを備えることを特徴としている。   In order to solve the above-described problem, the image matching apparatus of the present invention extracts a shape feature amount indicating a feature related to the shape of an image from input image data, and compares it with the shape feature amount of a registered image registered. A shape similarity determination unit that determines the similarity between the input image and the registered image; and a color feature amount indicating a feature relating to the color of the image from the input image data; A color similarity determination unit that determines the similarity between the input image and the registered image, and by extracting the saturation from the input image data, whether the input image is chromatic In the saturation determination unit that determines whether the color is achromatic, the determination result of the shape similarity determination unit, the determination result of the color similarity determination unit, and the determination result of the saturation determination unit, the input image and Similarity total for determining similarity with the registered image It is characterized by comprising a determining unit.

形状特徴量による類似性の判定では、例えば、申請書などのよく似たレイアウトで文字と罫線に異なる色が使用されている画像の場合、形状に関する特徴が似ているため、色が異なっていても、類似性が高いと判定される。   In the similarity determination based on the shape feature amount, for example, in the case of an image that uses different colors for characters and ruled lines in a similar layout such as an application form, the colors are different because the features related to the shape are similar. Also, it is determined that the similarity is high.

また、逆に、色特徴量による類似性の判定では、見た目には全く異なる画像であっても、色目が似ている場合に、類似度が高いと判定される。また、オリジナルがカラー画像であり、これを白黒コピーしたりファクシミリ送信されたりして白黒画像の非オリジナルが作成される場合があるが、このような場合にも、色特徴量による類似性の判定では、類似性が低いと判定されてしまう。   On the other hand, in the similarity determination based on the color feature amount, it is determined that the degree of similarity is high when the colors are similar even if the images look quite different. In addition, the original is a color image, which may be copied in black and white or transmitted by facsimile to create a non-original image of the black and white image. Then, it will be determined that the similarity is low.

また、画像の構成要素と色情報の両方を判定に用いた場合であっても、彩度の情報を判定に用いるようになっていない構成では、形状(文字および罫線の形状)に関する類似度が共に同程度の、赤い罫線の原稿と、緑の形成の原稿と、黒い罫線の原稿との3枚について、1)赤い罫線の原稿と緑の罫線の原稿も、2)赤い罫線の原稿と黒い罫線の原稿も、色の類似度は共に低い判定となり、1)と2)に対し、優先順位をつけることはできなかった。   Further, even when both the image component and the color information are used for the determination, in the configuration in which the saturation information is not used for the determination, the similarity regarding the shape (the shape of the characters and the ruled lines) is high. About three sheets of a red ruled original, a green-formed original, and a black ruled original, both of which are the same, 1) a red ruled original and a green ruled original 2) a red ruled original and black The ruled line document also has a low color similarity, and it was not possible to give priority to 1) and 2).

これに対し、上記構成によれば、入力画像と登録画像との類似性は、画像の形状に関する特徴を示す形状特徴量による類似性の判定結果(形状特徴量の類似性)と、画像の色に関する特徴を示す色特徴量による類似性の判定結果(色特徴量の類似性)と、画像の彩度の情報とを用いて、総合的に判定される。   On the other hand, according to the above configuration, the similarity between the input image and the registered image is determined based on the similarity determination result (shape feature amount similarity) based on the shape feature amount indicating the feature related to the shape of the image and the color of the image. The determination is made comprehensively by using the similarity determination result (similarity of the color feature amount) based on the color feature amount indicating the feature and the saturation information of the image.

したがって、入力画像と登録画像とが、形状特徴量による類似性の判定では識別できなかった、文字や罫線の色が異なる構成要素がよく似た申請書等のカラー画像同士であっても、精度よく類似性を判定することができる。   Therefore, even if the input image and the registered image are color images such as application forms that have similar characters and ruled line colors that could not be identified by similarity determination based on shape feature amounts, The similarity can be judged well.

同様に、入力画像と登録画像とが、色特徴量による類似性の判定では識別できなかった、色目が似たカラー画像同士であったり、登録画像がカラー画像で、入力画像が、これを白黒コピーしたりファクシミリ送信したりして形成された白黒画像であっても、精度よく類似性を判定することができる。   Similarly, the input image and the registered image are color images with similar colors that could not be identified by the similarity determination based on the color feature amount, or the registered image is a color image and the input image is black and white. Even for black and white images formed by copying or facsimile transmission, similarity can be determined with high accuracy.

そして、画像の構成要素と色情報に加えて、彩度の情報を用いて判定することで、上記のような1)、2)に対し、1)よりも2)の方が類似度が高いといった、より現実の使い方にあった判定を実施できる。   Then, by determining using saturation information in addition to the component and color information of the image, 2) has higher similarity than 1) to 1) and 2) as described above. This makes it possible to carry out judgments that are more practical.

これにより、オリジナル画像がカラー画像である場合に、これをコピーしたりして形成された非オリジナル画像との類似性を、精度よく判定することのできるという効果を奏する。   As a result, when the original image is a color image, the similarity with a non-original image formed by copying the original image can be accurately determined.

なお、画像処理装置に入力される原稿の画像データは、例えば、スキャナにて原稿を読み取ることにより得られた画像データ、あるいは電子データのフォーマットに、コンピュータ(ソフトウェア)を用いて必要事項を入力して作成される電子データである。すなわち、例えば、紙に印刷されあるいは記載された画像を電子化したもの、および電子データとして直接作成されたもの(電子申請書など)である。   Note that the image data of the document input to the image processing apparatus is, for example, input necessary information using a computer (software) in the format of image data obtained by reading the document with a scanner or electronic data. Electronic data created by That is, for example, an image printed or described on paper and digitized, and an image directly created as electronic data (such as an electronic application form).

本発明の画像照合装置においては、さらに、上記色類似性判定部は、上記色特徴量として色相を用い、入力された画像データより色相を抽出する色相抽出部と、上記色相抽出部が抽出した入力画像の色相と上記登録画像の色相とを比較して上記入力画像と上記登録画像との類似性を判定する色相類似性判定部とを備える構成とすることもできる。   In the image collation device of the present invention, the color similarity determination unit further uses a hue as the color feature amount, and a hue extraction unit that extracts a hue from input image data and the hue extraction unit extract the hue. A hue similarity determination unit that compares the hue of the input image with the hue of the registered image to determine the similarity between the input image and the registered image may be provided.

これによれば、色特徴量として色相を用いることにより、画像の色特徴量を的確に抽出することができる。なお、色特徴量としては、明度(輝度)もあるが、明度は、形状特徴量による類似性の判定に用いられるので、形状特徴量の判定とが異なるパラメータを使用することで、同じパラメータを使用するよりも判定精度を高くできる。   According to this, the color feature amount of the image can be accurately extracted by using the hue as the color feature amount. In addition, although there is also lightness (luminance) as a color feature amount, since the lightness is used for determination of similarity by shape feature amount, the same parameter can be obtained by using a parameter different from the determination of shape feature amount. The determination accuracy can be made higher than that used.

本発明の画像照合装置においては、さらに、上記類似性総合判定部は、形状特徴量による類似性が同程度であり、色特徴量による類似性が低い場合、入力画像が無彩と有彩とでは、無彩の方を上記登録画像との類似性が高いと判定する構成とすることもできる。   In the image collation device according to the present invention, the similarity comprehensive determination unit further determines that the input image is achromatic and chromatic if the similarity based on the shape feature amount is similar and the similarity based on the color feature amount is low. Then, it can also be set as the structure which determines that the achromatic one has high similarity with the said registration image.

形状特徴量による判定と色相を用いた色特徴量による判定とを組み合わせて総合的に登録画像と入力原稿との類似性を判定する場合、形状特徴量による類似性が同程度でかつ色相による類似性が同程度に低い値を示す2つの入力画像があるとすると、これら2つの入力画像はどちらも同程度に登録画像に類似していないと判定される。   When judging the similarity between the registered image and the input document comprehensively by combining the judgment based on the shape feature amount and the judgment based on the color feature amount using the hue, the similarity based on the shape feature amount is similar and the similarity based on the hue Assuming that there are two input images that have similar low values, it is determined that neither of these two input images is similar to the registered image.

具体例挙げて説明すると、例えば、赤い色の文字や罫線で構成された画像に対して、形状特徴量による判定では類似すると判定される、緑色の文字や罫線で構成された画像と黒色の文字・罫線で構成された画像の2枚の画像は、色相による類似性の判定では、どちらも赤い色の文字や罫線で構成された画像に同程度類似していないと判定される。   For example, for example, an image composed of green characters and ruled lines and a black character determined to be similar in the determination by the shape feature amount to an image composed of red characters and ruled lines. The two images of the ruled line image are determined not to be similar to the image of the red color character or ruled line in the similarity determination by hue.

しかしながら、実際には、カラー画像のオリジナル画像を白黒コピーしたりファクシミリ送信したりして、無彩色の非オリジナル画像として利用したりすることが多くある。また、前述した申請書のように、よく似たレイアウトの文書画像(形状特徴量による類似性が高い)に、異なる色の文字と罫線が使用されている文書画像も多い。さらに、カラーの原稿をもともとの色から別の有彩の色に変換して使用するということはほとんど考えられない。   However, in practice, an original image of a color image is often copied as a monochrome image or transmitted by facsimile and used as an achromatic non-original image. In addition, as in the application form described above, there are many document images in which characters of different colors and ruled lines are used for document images having a similar layout (high similarity due to shape feature amounts). Furthermore, it is almost unthinkable to convert a color document from its original color to another chromatic color.

したがって、先程の例であれば、黒色の文字・罫線の原稿のほうが、緑色の文字・罫線の原稿よりも類似度が高いと判定するほうが、文書画像の使用状況を勘案した類似性の判定になる。   Therefore, in the previous example, it is better to determine that the similarity of a black text / ruled line document is higher than that of a green text / ruled line document in consideration of the usage status of the document image. Become.

上記構成では、形状特徴量による類似性が同程度であり、色相を用いた色特徴量による類似性が低い場合、無彩の画像と有彩の画像とでは無彩の画像の方を、類似性が高いと判定するので、上記のようなカラー画像のオリジナルが白黒コピーされたりファクシミリ送信されたりして形成された無彩色の非オリジナル画像や、レイアウトは似ているが異なる色の文字と罫線が用いられている前述の申請書のような画像について、使用者の感覚に合った判定が可能になり、精度の高い判定が可能になる。   In the above configuration, when the similarity by the shape feature amount is the same and the similarity by the color feature amount using the hue is low, the achromatic image and the chromatic image are more similar to the achromatic image. Since the original color image is copied in black and white or sent by facsimile, the achromatic non-original image is formed. With respect to an image such as the above-mentioned application form in which is used, determination according to the user's feeling is possible, and determination with high accuracy is possible.

本発明の画像照合装置においては、さらに、上記類似性総合判定部は、形状特徴量による類似性が低くかつ色特徴量による類似性が高い場合と、形状特徴量による類似性が高く色特徴量による類似性が低い場合とでは、形状特徴量による類似性が高く色特徴量による類似性が低い場合の方を、上記登録画像との類似性が高いと判定する構成とすることもできる。   In the image matching device of the present invention, the similarity total determination unit further includes a case where the similarity based on the shape feature amount is low and the similarity based on the color feature amount is high, and a case where the similarity based on the shape feature amount is high. In the case where the similarity due to is low, the case where the similarity based on the shape feature amount is high and the similarity based on the color feature amount is low may be determined as having a high similarity with the registered image.

これによれば、形状特徴量による類似性と色特徴量による類似性とでは、形状特徴量による類似性の判定結果を優先させることで、より精度よく登録画像と入力画像との類似性を判定することができる。   According to this, the similarity between the registered image and the input image can be determined more accurately by prioritizing the similarity determination result based on the shape feature amount between the similarity based on the shape feature amount and the similarity based on the color feature amount. can do.

本発明の画像照合装置においては、さらに、上記色類似性判定部は、上記色特徴量を抽出するにあたり、上記形状類似性判定部による判定結果を参照して、形状特徴量による類似性が高いと判定された登録画像についてのみ色特徴量を抽出する構成とすることもできる。   In the image matching device of the present invention, the color similarity determination unit refers to the determination result by the shape similarity determination unit when extracting the color feature amount, and the similarity by the shape feature amount is high. It is also possible to adopt a configuration in which color feature amounts are extracted only for registered images that are determined to be.

これによれば、入力された画像との類似性を判定する必要のある登録画像が多くある場合にも、色特徴量を抽出する登録画像を絞り込むことができるので、色類似性判定部による類似性の判定を速やかに完了することができる。   According to this, even when there are many registered images that need to be determined to be similar to the input image, it is possible to narrow down the registered images from which the color feature amount is extracted. The sex determination can be completed promptly.

本発明の画像照合装置においては、さらに、上記形状類似性判定部は、入力された画像データより上記入力画像の連結部分を抽出して特徴点を算出する特徴点算出部と、上記特徴点算出部が算出した特徴点同士の相対位置に基づいて、上記入力画像の形状特徴量を算出する形状特徴量算出部と、上記形状特徴量算出部が算出した上記入力画像の形状特徴量と上記登録画像の形状特徴量とを比較して上記入力画像と上記登録画像との形状の類似度を算出する形状類似度算出部とを備える構成とすることもできる。   In the image matching device of the present invention, the shape similarity determination unit further extracts a feature point calculation unit by extracting a connected portion of the input image from input image data, and the feature point calculation. A shape feature amount calculation unit that calculates a shape feature amount of the input image based on a relative position between the feature points calculated by the unit, a shape feature amount of the input image calculated by the shape feature amount calculation unit, and the registration It may be configured to include a shape similarity calculation unit that compares the shape feature amount of the image and calculates the similarity of the shape between the input image and the registered image.

本発明の画像処置装置は、上記課題を解決するために、第1の画像と第2の画像との類似性を、第1の画像及び第2の画像の各画像データより抽出した画像の形状に関する特徴を示す形状特徴量を比較して判定する形状類似性判定部と、第1の画像と第2の画像との類似性を、第1の画像及び第2の画像の各画像データより抽出した画像の色に関する特徴を示す色特徴量を比較して判定する色類似性判定部と、第1の画像及び第2の画像の各画像データより彩度を抽出して、第1の画像及び第2の画像が有彩であるか無彩であるかを判定する彩度判定部と、上記形状類似性判定部の判定結果、上記色類似性判定部の判定結果、及び上記彩度判定部による判定結果にて、上記第1の画像と上記第2の画像との類似性を判定する類似性総合判定部とを備えることを特徴としている。   In order to solve the above-described problem, the image processing apparatus according to the present invention is configured to extract the similarity between the first image and the second image from the image data of the first image and the second image. A shape similarity determination unit that compares and determines a shape feature amount indicating a feature, and extracts the similarity between the first image and the second image from the image data of the first image and the second image A color similarity determination unit that compares and determines a color feature amount indicating a color-related characteristic of the obtained image, extracts saturation from each image data of the first image and the second image, A saturation determination unit that determines whether the second image is chromatic or achromatic, a determination result of the shape similarity determination unit, a determination result of the color similarity determination unit, and the saturation determination unit The similarity total determination unit that determines the similarity between the first image and the second image based on the determination result by It is characterized in that it comprises.

これによれば、第1、第2の2つの画像の類似性が、画像の形状に関する特徴を示す形状特徴量による類似性の判定結果と、画像の色に関する特徴を示す色特徴量による類似性の判定結果と、画像の彩度情報とを用いて、総合的に判定される。   According to this, the similarity between the first and second images is determined based on the similarity determination result based on the shape feature amount indicating the feature relating to the shape of the image, and the similarity based on the color feature amount indicating the feature relating to the color of the image. The determination result is comprehensively determined using the determination result and the saturation information of the image.

したがって、第1、第2の2つの画像が、形状特徴量による類似性の判定では識別できなかった、文字や罫線の色が異なる構成要素がよく似た申請書等のカラー画像同士であっても、また、色特徴量による類似性の判定では識別できなかった、色目が似たカラー画像同士であったり、カラー画像を白黒コピーした画像であっても、精度よく類似性を判定することができる。   Therefore, the first and second images are color images such as application forms that cannot be identified by the similarity determination based on the shape feature quantity and that have similar elements with different characters and ruled line colors. In addition, it is possible to accurately determine the similarity even between color images having similar colors or images obtained by copying the color image in black and white, which cannot be identified by the similarity determination based on the color feature amount. it can.

また、画像の構成要素と色情報に加えて、彩度の情報を用いて判定することで、上記のような1)、2)に対し、1)よりも2)の方が類似度が高いといった、より現実の使い方にあった判定を実施できる。   Further, by determining using saturation information in addition to the component and color information of the image, 2) is higher than 1) in comparison with 1) and 2) as described above. This makes it possible to carry out judgments that are more practical.

これにより、オリジナル画像がカラー画像である場合に、これをコピーしたりして形成された非オリジナル画像との類似性を、精度よく判定することのできるという効果を奏する。   As a result, when the original image is a color image, the similarity with a non-original image formed by copying the original image can be accurately determined.

本発明の画像データ出力処理装置は、上記課題を解決するために、画像データに対して出力処理を施す画像データ出力処理装置であって、前記した本発明の画像照合装置を備えることを特徴としている。   In order to solve the above problems, an image data output processing device of the present invention is an image data output processing device that performs output processing on image data, and includes the above-described image collation device of the present invention. Yes.

既に画像照合装置として説明したように、上記の構成によれば、オリジナル画像がカラー画像である場合に、これをコピーしたりして形成された非オリジナル画像との類似性を、精度よく判定することのできるので、このような画像照合装置を搭載することで、カラー画像に対する照合精度の高い画像データ出力処理装置を提供することができる。   As already described as the image collating device, according to the above configuration, when the original image is a color image, the similarity with a non-original image formed by copying the image is accurately determined. Therefore, it is possible to provide an image data output processing device with high matching accuracy for color images by mounting such an image matching device.

本発明の画像処理方法は、上記課題を解決するために、入力された画像データより画像の形状に関する特徴を示す形状特徴量を抽出して、登録されている登録画像の形状特徴量と比較し、上記入力された入力画像と上記登録画像との類似性を判定する形状類似性判定工程と、上記入力された画像データより画像の色に関する特徴を示す色特徴量を抽出して、上記登録画像の色特徴量と比較し、上記入力画像と上記登録画像との類似性を判定する色類似性判定工程と、入力された画像データより彩度を抽出して、入力画像が有彩であるか無彩であるかを判定する彩度判定工程と、上記形状類似性判定工程の判定結果、上記色類似性判定工程の判定結果、及び上記彩度判定工程による判定結果にて、上記入力画像と上記登録画像との類似性を判定する類似性総合判定工程とを含むことを特徴としている。   In order to solve the above problems, the image processing method of the present invention extracts a shape feature amount indicating a feature related to the shape of an image from input image data, and compares it with the shape feature amount of a registered image registered. , A shape similarity determination step for determining similarity between the input image and the registered image; and a color feature amount indicating a feature relating to the color of the image is extracted from the input image data; A color similarity determination step for determining the similarity between the input image and the registered image, and extracting the saturation from the input image data, so that the input image is chromatic In the saturation determination step for determining whether the color is achromatic, the determination result in the shape similarity determination step, the determination result in the color similarity determination step, and the determination result in the saturation determination step, the input image and Judge similarity with the registered image It is characterized by including a similarity comprehensive judgment process that.

既に画像照合装置として説明したように、上記の構成によれば、オリジナル画像がカラー画像である場合に、これをコピーしたりして形成された非オリジナル画像との類似性を、精度よく、また、より現実の使い方にあった判定を実施できる。   As already described as the image collating device, according to the above configuration, when the original image is a color image, the similarity with the non-original image formed by copying the original image can be accurately determined. This makes it possible to carry out judgments that are more practical.

また、上記画像照合装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記各部として動作させることにより、上記画像照合装置をコンピュータにて実現させるプログラム、及びそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に含まれる。   Further, the image collating apparatus may be realized by a computer. In this case, by causing the computer to operate as the respective units, a program for realizing the image collating apparatus by the computer, and a computer reading that records the program. Possible recording media are also included in the scope of the present invention.

本発明の画像照合装置は、以上のように、入力された画像データより画像の形状に関する特徴を示す形状特徴量を抽出して、登録されている登録画像の形状特徴量と比較し、上記入力された入力画像と上記登録画像との類似性を判定する形状類似性判定部と、上記入力された画像データより画像の色に関する特徴を示す色特徴量を抽出して、上記登録画像の色特徴量と比較し、上記入力画像と上記登録画像との類似性を判定する色類似性判定部と、入力された画像データより彩度を抽出して、入力画像が有彩であるか無彩であるかを判定する彩度判定部と、上記形状類似性判定部の判定結果、上記色類似性判定部の判定結果、及び上記彩度判定部による判定結果にて、上記入力画像と上記登録画像との類似性を判定する類似性総合判定部とを備えた構成である。   As described above, the image collating apparatus of the present invention extracts a shape feature amount indicating a feature related to the shape of an image from input image data, compares it with the shape feature amount of a registered image, and inputs the input A shape similarity determination unit for determining the similarity between the input image and the registered image; and extracting a color feature amount indicating a feature relating to the color of the image from the input image data; A color similarity determination unit that determines the similarity between the input image and the registered image, and extracts saturation from the input image data, so that the input image is chromatic or achromatic The input image and the registered image according to the determination result of the saturation determination unit that determines whether there is a determination result of the shape similarity determination unit, the determination result of the color similarity determination unit, and the determination result of the saturation determination unit A similarity total determination unit for determining similarity to Example was a configuration.

これにより、オリジナル画像がカラー画像である場合に、これをコピーしたりして形成された非オリジナル画像との類似性を、精度よく判定することのできる画像処理装置を提供し、カラー画像に対する照合精度の高い画像形成装置を提供することができるという効果を奏する。   Accordingly, when the original image is a color image, an image processing apparatus capable of accurately determining the similarity with a non-original image formed by copying the original image is provided, and collation with the color image is provided. There is an effect that a highly accurate image forming apparatus can be provided.

本発明の実施の形態を図面に基づいて以下に説明する。図1は本実施の形態における画像照合装置101の構成を示すブロック図である。この画像照合装置101は、例えば図2に示すデジタルカラー複写機(画像データ出力処理装置)102に備えられる。   Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an image collating apparatus 101 in the present embodiment. The image collating apparatus 101 is provided in, for example, a digital color copying machine (image data output processing apparatus) 102 shown in FIG.

画像照合装置101が処理対象とする書類(原稿)は、特に特定されるものではないが、画像照合装置101は、画像同士の類似性を判定する機能を有しており、予め画像を登録できるようになっており、登録された画像と、処理すべく入力された原稿の画像との類似性を判定可能な構成である。   The document (original) to be processed by the image matching device 101 is not particularly specified, but the image matching device 101 has a function of determining the similarity between images and can register images in advance. In this configuration, the similarity between the registered image and the image of the document input to be processed can be determined.

以下、予め登録されている原稿の画像を登録画像と称し、コピーやファクシミリ、或いはファイリング等の画像照合装置101にて処理するために入力された原稿の画像を入力画像と称する。   Hereinafter, an image of a document that is registered in advance is referred to as a registered image, and an image of a document that is input for processing by the image collating apparatus 101 such as copying, facsimile, or filing is referred to as an input image.

画像照合装置101は、登録画像と処理すべく入力された入力画像との類似性を判定して、判定結果を示す判定信号を出力するものである。本実施形態の画像照合装置101では、入力画像データ増が登録画像に類似していると判定すると、出力する判定信号により、入力画像の画像データに対する出力処理(カラー複写機では画像形成処理)を禁止したり、画質を低下させたり、あるいは、画像データのファイリングといった、出力処理を制御するようになっている。   The image collation apparatus 101 determines the similarity between the registered image and the input image input to be processed, and outputs a determination signal indicating the determination result. When the image collation apparatus 101 of this embodiment determines that the increase in input image data is similar to the registered image, an output process (image forming process in a color copying machine) is performed on the image data of the input image according to the output determination signal. Output processing such as prohibition, image quality reduction, or image data filing is controlled.

画像照合装置101は、図1に示すように、制御部1、文書照合部(形状類似性判定部)2、色類似性判定部4、類似性総合判定部5、及びメモリ(記憶手段)3を備えている。   As shown in FIG. 1, the image matching device 101 includes a control unit 1, a document matching unit (shape similarity determination unit) 2, a color similarity determination unit 4, a similarity total determination unit 5, and a memory (storage unit) 3. It has.

上記文書照合部2は、入力された画像データより画像の形状に関する特徴を示す形状特徴量を抽出して、登録されている登録画像の形状特徴量と比較し、上記入力された入力画像と上記登録画像との類似性を判定するものである。判定結果は、類似性総合判定部5に出力される。また、本実施形態では、文書照合部2には登録画像を登録する機能も付加されており、登録するための画像データも入力される。   The document collation unit 2 extracts a shape feature amount indicating a feature related to the shape of the image from the input image data, compares it with the shape feature amount of the registered image, and compares the input input image with the input image data. The similarity with the registered image is determined. The determination result is output to the similarity comprehensive determination unit 5. In the present embodiment, a function for registering a registered image is also added to the document matching unit 2, and image data for registration is also input.

上記文書照合部2は、特徴点算出部11、特徴量算出部12、投票処理部13、文書類似度判定処理部14及び登録処理部15を備えている。   The document collation unit 2 includes a feature point calculation unit 11, a feature amount calculation unit 12, a voting processing unit 13, a document similarity determination processing unit 14, and a registration processing unit 15.

特徴点算出部11は、入力画像や登録画像の画像データが入力されると、該入力画像データより文字列や罫線の連結部分を抽出し、連結部分の重心を特徴点として算出する。本実施形態では、特徴点算出部11は、各特徴点の座標も算出する。   When image data of an input image or a registered image is input, the feature point calculation unit 11 extracts a connected portion of a character string or a ruled line from the input image data, and calculates the center of gravity of the connected portion as a feature point. In the present embodiment, the feature point calculation unit 11 also calculates the coordinates of each feature point.

特徴量算出部(形状特徴量算出部)12は、特徴点算出部11にて算出された特徴点を用いて、回転、拡大、縮小に対して不変な量、すなわち原稿画像の回転、平行移動、拡大縮小を含む幾何学的変化に対して不変なパラメータである特徴量(ハッシュ値)を算出する。特徴量を計算するために注目特徴点の近傍の特徴点を選択して用いる。この特徴量が、画像の形状に関する特徴を示す形状特徴量である。   The feature amount calculation unit (shape feature amount calculation unit) 12 uses the feature points calculated by the feature point calculation unit 11 and is invariable with respect to rotation, enlargement, and reduction, that is, rotation and translation of the document image. Then, a feature amount (hash value) that is a parameter that is invariant to a geometric change including enlargement / reduction is calculated. In order to calculate the feature amount, a feature point near the target feature point is selected and used. This feature amount is a shape feature amount indicating a feature related to the shape of the image.

投票処理部13は、照合モードで、特徴点算出部11が入力画像の画像データより算出した各特徴点について特徴量算出部12が算出したハッシュ値を用いて、後述するハッシュテーブルに登録されている登録画像に対して投票するものである。投票処理部13は、入力画像の画像データのハッシュ値と同じハッシュ値を有する登録画像に投票する。   The voting processing unit 13 is registered in a hash table described later using the hash value calculated by the feature amount calculation unit 12 for each feature point calculated by the feature point calculation unit 11 from the image data of the input image in the collation mode. Vote for registered images. The voting processing unit 13 votes for a registered image having the same hash value as the hash value of the image data of the input image.

文書類似度判定処理部14は、投票処理部13の投票処理結果より、入力画像が登録画像に類似するか否かを判定するものである。なお、本発明における形状類似度算出部は、これら投票処理部13と文書類似度判定処理部14とで構成される。   The document similarity determination processing unit 14 determines whether the input image is similar to the registered image based on the voting process result of the voting processing unit 13. The shape similarity calculation unit according to the present invention includes the voting processing unit 13 and the document similarity determination processing unit 14.

登録処理部15は、登録モードにおいて、特徴点算出部11が登録画像データより算出した各特徴点について特徴量算出部12が算出したハッシュ値に応じて、登録画像を表すIDを登録するものである。   The registration processing unit 15 registers an ID representing a registered image according to the hash value calculated by the feature amount calculation unit 12 for each feature point calculated by the feature point calculation unit 11 from the registered image data in the registration mode. is there.

なお、上記文書照合部2において、上記投票処理部13及び文書類似度判定処理部14は、照合モードで処理を実施し、登録モードでは、処理を実施しない。逆に登録処理部15は、登録モードで処理を実施し、照合モードでは処理を実施しない。   In the document collation unit 2, the voting processing unit 13 and the document similarity determination processing unit 14 perform processing in the collation mode, and do not perform processing in the registration mode. Conversely, the registration processing unit 15 performs processing in the registration mode and does not perform processing in the collation mode.

上記色類似性判定部4は、入力された画像データより画像の色に関する特徴を示す色特徴量を抽出して、登録されている登録画像の色特徴量と比較し、上記入力された入力画像と上記登録画像との類似性を判定するものである。判定結果は、類似性総合判定部5に出力される。また、本実施形態では、色類似性判定部4には登録画像を登録する機能も付加されており、登録するための画像データも入力される。本実施形態では、色特徴量として、色相を用いているが、色相に限られるものではない。   The color similarity determination unit 4 extracts a color feature amount indicating a feature related to the color of the image from the input image data, compares it with the color feature amount of the registered image, and inputs the input image And the similarity between the registered image and the registered image. The determination result is output to the similarity comprehensive determination unit 5. In the present embodiment, the color similarity determination unit 4 has a function of registering a registered image, and image data for registration is also input. In the present embodiment, the hue is used as the color feature amount, but is not limited to the hue.

上記色類似性判定部4は、色相情報抽出部41、色相類似度判定処理部42、彩度判定処理部43、及び色相情報登録処理部44を備えている。   The color similarity determination unit 4 includes a hue information extraction unit 41, a hue similarity determination processing unit 42, a saturation determination processing unit 43, and a hue information registration processing unit 44.

色相情報抽出部(色相抽出部)41は、画像データより色相情報を抽出するものである。色相類似度判定処理部(色相類似性判定部)42は、照合モードにおいて、色相情報抽出部41より抽出された色相情報と、登録画像の色相情報とを比較して、入力画像と登録画像とが類似するか否かを判定するものである。   The hue information extraction unit (hue extraction unit) 41 extracts hue information from image data. The hue similarity determination processing unit (hue similarity determination unit) 42 compares the hue information extracted by the hue information extraction unit 41 with the hue information of the registered image in the matching mode, and compares the input image with the registered image. Are similar to each other.

彩度判定処理部(彩度判定部)43は、照合モードにおいて、入力画像の画像データより彩度情報を算出し、算出した彩度情報より入力画像が「有彩」であるか「無彩」であるかを判定するものである。   The saturation determination processing unit (saturation determination unit) 43 calculates saturation information from the image data of the input image in the collation mode, and whether the input image is “chromatic” or “achromatic” based on the calculated saturation information. Is determined.

色相情報登録処理部44は、登録モードにおいて、色相情報抽出部41にて抽出された色相情報を、登録画像を表すIDに関連つけて登録するものである。   The hue information registration processing unit 44 registers the hue information extracted by the hue information extraction unit 41 in association with an ID representing a registered image in the registration mode.

なお、上記色類似性判定部4において、上記色相類似度判定処理部42は、照合モードで処理を実施し、登録モードでは処理を実施しない。逆に色相情報登録処理部44は、登録モードで処理を実施し、照合モードでは処理を実施しない。   In the color similarity determination unit 4, the hue similarity determination processing unit 42 performs processing in the collation mode and does not perform processing in the registration mode. Conversely, the hue information registration processing unit 44 performs processing in the registration mode and does not perform processing in the collation mode.

類似性総合判定部5は、照合モードにおいて、文書類似度判定処理部14、色相類似度判定処理部42の判定結果に基づいて、入力画像と登録画像との類似性(類似度)を決定するものである。本実施形態では、彩度判定処理部43の判定結果も用いるようになっている。   The similarity comprehensive determination unit 5 determines the similarity (similarity) between the input image and the registered image based on the determination results of the document similarity determination processing unit 14 and the hue similarity determination processing unit 42 in the collation mode. Is. In the present embodiment, the determination result of the saturation determination processing unit 43 is also used.

制御部(CPU)1は、画像照合装置101における上記各部及びメモリ3へのアクセスを制御するものである。また、メモリ3は、画像照合装置101における上記各部が処理を実施する場合の作業用メモリであると共に、また、登録処理にて、登録される画像を表すインデックス(ID;画像を識別するためのもの)等、各種の情報が登録される場所である。   A control unit (CPU) 1 controls access to the above-described units and the memory 3 in the image collating apparatus 101. The memory 3 is a working memory when the above-described units in the image collating apparatus 101 perform processing, and an index (ID; for identifying an image to be registered in the registration processing). Etc.) where various information is registered.

以下、図面を用いて、画像照合装置101各部を詳細に説明する。まず、画像照合装置101における文書照合部2から説明する。   Hereinafter, each part of the image collating apparatus 101 will be described in detail with reference to the drawings. First, the document collation unit 2 in the image collation apparatus 101 will be described.

文書照合部2における特徴点算出部11は、図3に示すように、特徴点算出部11は、無彩化処理部21、解像度変換部22、MTF処理部23、2値化処理部24及び重心算出部25を備えている。図3は特徴点算出部11の構成を示すブロック図である。   As shown in FIG. 3, the feature point calculation unit 11 in the document matching unit 2 includes the achromatic processing unit 21, the resolution conversion unit 22, the MTF processing unit 23, the binarization processing unit 24, and the like. A centroid calculating unit 25 is provided. FIG. 3 is a block diagram showing a configuration of the feature point calculation unit 11.

無彩化処理部21は、登録画像や入力画像等の画像データである入力画像データがカラー画像であった場合に、入力画像データを無彩化して明度もしくは輝度信号に変換する。例えば、下記式(1)より輝度Yを求める。   When the input image data, which is image data such as a registered image or an input image, is a color image, the achromatic processing unit 21 achromatizes the input image data and converts it into a brightness or luminance signal. For example, the luminance Y is obtained from the following formula (1).

Figure 2009284084
Figure 2009284084

なお、無彩化処理は、上式による方法に限定されず、RGB信号をCIE1976L***信号(CIE : Commission International de l'Eclairage、 L*: 明度指数、a*, b*:色度指数)に変換するものであっても良い。 The achromatization process is not limited to the above method, and the RGB signal is converted into a CIE 1976 L * a * b * signal (CIE: Commission International de l'Eclairage, L * : brightness index, a * , b * : color. (Degree index).

解像度変換部22は、入力画像データが画像入力装置で光学的に変倍されていた場合に、所定の解像度になるように入力画像データを再度変倍する。上記画像入力装置は、例えば、原稿の画像を読み取って画像データに変換するスキャナであり、図2に示すデジタルカラー複写機ではカラー画像入力装置111がそれに相当する。   When the input image data is optically scaled by the image input device, the resolution conversion unit 22 scales the input image data again so as to obtain a predetermined resolution. The image input device is, for example, a scanner that reads an image of a document and converts it into image data, and the color image input device 111 corresponds to this in the digital color copying machine shown in FIG.

また、解像度変換部22は、後段でのデータ処理量を軽減するために、画像入力装置により等倍の設定にて読み込まれる解像度よりも解像度を落とすための解像度変換部としても用いられる。例えば、600dpi(dot per inch)で読み込まれた画像データを300dpiに変換する。   Further, the resolution conversion unit 22 is also used as a resolution conversion unit for lowering the resolution from the resolution read by the image input device with the same magnification setting in order to reduce the data processing amount in the subsequent stage. For example, image data read at 600 dpi (dot per inch) is converted to 300 dpi.

MTF処理部23は、画像入力装置の空間周波数特性が画像入力装置の種類ごとに異なることによる影響を吸収するために用いられる。すなわち、画像入力装置が備えるCCDの出力する画像信号には、レンズやミラー等の光学部品、CCDの受光面のアパーチャ開口度、転送効率や残像、物理的な走査による積分効果及び操作むら等に起因しMTFの劣化が生じている。このMTFの劣化により、読み込まれた画像がぼやけたものとなっている。そこで、MTF処理部23は、適切なフィルタ処理(強調処理)を施すことにより、MTFの劣化により生じるぼやけを修復する処理を行う。また、後段の特徴量算出部12の特徴点抽出部31での処理に不要な高周波成分を抑制するためにも用いる。すなわち、混合フィルタを用いて強調及び平滑化処理を行う。なお、この混合フィルタのフィルタ係数は、例えば図4に示すものである。   The MTF processing unit 23 is used to absorb the influence caused by the difference in the spatial frequency characteristics of the image input device for each type of image input device. In other words, the image signal output from the CCD provided in the image input device includes optical components such as lenses and mirrors, aperture aperture of the light receiving surface of the CCD, transfer efficiency and afterimage, integration effects due to physical scanning, and uneven operation. This causes degradation of MTF. Due to the deterioration of the MTF, the read image is blurred. Therefore, the MTF processing unit 23 performs a process of repairing the blur caused by the degradation of the MTF by performing an appropriate filter process (enhancement process). Further, it is also used to suppress high-frequency components that are not necessary for processing in the feature point extraction unit 31 of the subsequent feature amount calculation unit 12. That is, the enhancement and smoothing processing is performed using the mixing filter. In addition, the filter coefficient of this mixing filter is shown in FIG. 4, for example.

2値化処理部24は、無彩化処理部21にて無彩化された画像データの輝度値(輝度信号)または明度値(明度信号)を閾値と比較することにより画像データを2値化し、この2値化した画像データ(登録画像、入力画像の2値画像データ)をメモリ3に格納する。   The binarization processing unit 24 binarizes the image data by comparing the brightness value (brightness signal) or brightness value (brightness signal) of the image data achromatized by the achromatization processing unit 21 with a threshold value. The binarized image data (registered image, binary image data of the input image) is stored in the memory 3.

重心算出部25は、2値化処理部24において2値化された画像データ(例えば、「1」、「0」で表される画像データ)の各画素に対してラベリング(ラベル付け処理)を行う。このラベリングにおいては2値のうちの同一の値を示す画素に同一のラベルを付与する。次に、同一ラベルを付した画素を連結して形成された複数画素からなる領域である連結領域を特定する。次に、特定した連結領域の重心を特徴点として抽出し、抽出した特徴点を特徴量算出部12へ出力する。ここで上記特徴点は、2値画像における座標値(x座標、y座標)で表すことができ、特徴点の座標値も算出して、特徴量算出部12へ出力する。   The center-of-gravity calculation unit 25 performs labeling (labeling processing) on each pixel of the image data binarized by the binarization processing unit 24 (for example, image data represented by “1” and “0”). Do. In this labeling, the same label is given to the pixels showing the same value among the two values. Next, a connected area, which is an area composed of a plurality of pixels formed by connecting pixels with the same label, is specified. Next, the center of gravity of the identified connected area is extracted as a feature point, and the extracted feature point is output to the feature amount calculation unit 12. Here, the feature point can be represented by coordinate values (x coordinate, y coordinate) in the binary image, and the coordinate value of the feature point is also calculated and output to the feature amount calculation unit 12.

図5は、2値化された画像データから抽出された連結領域及びこの連結領域の重心の一例を示す説明図であり、「A」という文字に対応する連結領域及びその連結領域の重心(特徴点)を示している。また、図6は、2値化された画像データに含まれる文字列から抽出された複数の連結領域の各重心(特徴点)の一例を示す説明図である。   FIG. 5 is an explanatory diagram showing an example of a connected area extracted from binarized image data and the center of gravity of this connected area. The connected area corresponding to the letter “A” and the center of gravity of the connected area (features) Point). FIG. 6 is an explanatory diagram illustrating an example of each centroid (feature point) of a plurality of connected regions extracted from a character string included in binarized image data.

特徴量算出部12は、図7に示すように、特徴点抽出部31、不変量算出部32及びハッシュ値算出部33を備えている。図7は特徴量算出部12の構成を示すブロック図である。   As shown in FIG. 7, the feature amount calculation unit 12 includes a feature point extraction unit 31, an invariant calculation unit 32, and a hash value calculation unit 33. FIG. 7 is a block diagram showing a configuration of the feature amount calculation unit 12.

特徴点抽出部31は、特徴点算出部11にて算出された特徴点が画像データにおいて複数存在する場合に、1つの特徴点を注目特徴点とし、この注目特徴点の周辺の特徴点を、注目特徴点からの距離が近いものから順に所定数だけ周辺特徴点として抽出する。図8の例では、上記所定数を4点とし、特徴点aを注目特徴点とした場合に特徴点b,c,d,eの4点が周辺特徴点として抽出され、特徴点bを注目特徴点とした場合には特徴点a,c,e,fの4点が周辺特徴点として抽出される。   When there are a plurality of feature points calculated by the feature point calculation unit 11 in the image data, the feature point extraction unit 31 sets one feature point as the feature point of interest, and sets feature points around the feature point of interest as A predetermined number of peripheral feature points are extracted in order from the closest distance from the feature point of interest. In the example of FIG. 8, when the predetermined number is 4 points and the feature point a is the feature point of interest, the feature points b, c, d, e are extracted as the peripheral feature points, and the feature point b is noted. In the case of feature points, four feature points a, c, e, and f are extracted as peripheral feature points.

また、特徴点抽出部31は、上記のように抽出した周辺特徴点4点の中から選択し得る3点の組み合わせを抽出する。例えば、図9(a)〜図9(d)に示すように、図8に示した特徴点aを注目特徴点とした場合、周辺特徴点b,c,d,eのうちの3点の組み合わせ、すなわち、周辺特徴点b,c,d、周辺特徴点b,c,e、周辺特徴点b,d,e、周辺特徴点c,d,eの各組み合わせが抽出される。   The feature point extraction unit 31 also extracts a combination of three points that can be selected from the four peripheral feature points extracted as described above. For example, as shown in FIGS. 9A to 9D, when the feature point a shown in FIG. 8 is the feature point of interest, three of the peripheral feature points b, c, d, and e are selected. Combinations, that is, combinations of peripheral feature points b, c, d, peripheral feature points b, c, e, peripheral feature points b, d, e, and peripheral feature points c, d, e are extracted.

不変量算出部32は、特徴点抽出部31において抽出された各組み合わせについて、幾何学的変形に対する不変量(特徴量の1つ)Hijを算出する。   The invariant calculation unit 32 calculates, for each combination extracted by the feature point extraction unit 31, an invariant (one of feature amounts) Hij with respect to geometric deformation.

ここで、iは注目特徴点を示す数(iは1以上の整数)であり、jは周辺特徴点3点の組み合わせを示す数(jは1以上の整数)である。本実施形態では、周辺特徴点同士を結ぶ線分の長さのうちの2つの比を不変量Hijとする。   Here, i is a number indicating the feature point of interest (i is an integer equal to or greater than 1), and j is a number indicating a combination of three peripheral feature points (j is an integer equal to or greater than 1). In the present embodiment, the ratio of two of the lengths of the line segments connecting the peripheral feature points is set as the invariant Hij.

上記線分の長さは、各周辺特徴点の座標値に基づいて算出できる。例えば、図9(a)の例において、特徴点bと特徴点cとを結ぶ線分の長さをA11、特徴点bと特徴点dとを結ぶ線分の長さをB11とすると、不変量H11は、H11=A11/B11である。また、図9(b)の例において、特徴点bと特徴点cとを結ぶ線分の長さをA12、特徴点bと特徴点eとを結ぶ線分の長さをB12とすると、不変量H12は、H12=A12/B12である。また、図9(c)の例において、特徴点bと特徴点dとを結ぶ線分の長さをA13、特徴点bと特徴点eとを結ぶ線分の長さをB13とすると、不変量H13は、H13=A13/B13である。また、図9(d)の例において、特徴点cと特徴点dとを結ぶ線分の長さをA14、特徴点cと特徴点eとを結ぶ線分の長さをB14とすると、不変量H14は、H14=A14/B14である。このようにして、図9(a)〜図9(d)の例では、不変量H11,H12,H13,H14が算出される。   The length of the line segment can be calculated based on the coordinate value of each peripheral feature point. For example, in the example of FIG. 9A, if the length of the line segment connecting the feature point b and the feature point c is A11 and the length of the line segment connecting the feature point b and the feature point d is B11, The variable H11 is H11 = A11 / B11. In the example of FIG. 9B, if the length of the line segment connecting the feature point b and the feature point c is A12 and the length of the line segment connecting the feature point b and the feature point e is B12, The variable H12 is H12 = A12 / B12. In the example of FIG. 9C, if the length of the line segment connecting the feature point b and the feature point d is A13 and the length of the line segment connecting the feature point b and the feature point e is B13, The variable H13 is H13 = A13 / B13. In the example of FIG. 9D, if the length of the line segment connecting the feature point c and the feature point d is A14 and the length of the line segment connecting the feature point c and the feature point e is B14, The variable H14 is H14 = A14 / B14. In this way, invariants H11, H12, H13, and H14 are calculated in the examples of FIGS. 9A to 9D.

なお、上記の例では、注目特徴点に最も近い周辺特徴点と2番目に近い周辺特徴点とを結ぶ線分をAij、注目特徴点に最も近い周辺特徴点と3番目に近い周辺特徴点とを結ぶ線分をBijとしたが、これに限らず、不変量Hijの算出に用いる線分は任意の方法で選定すればよい。   In the above example, the line segment connecting the peripheral feature point closest to the target feature point and the second closest peripheral feature point is Aij, and the peripheral feature point closest to the target feature point and the third closest peripheral feature point are The line segment connecting the two is defined as Bij. However, the present invention is not limited to this, and the line segment used for calculating the invariant Hij may be selected by an arbitrary method.

ハッシュ値算出部33は、例えば、
Hi=(Hi1×10+Hi2×10+Hi3×10+Hi4×10)/D
という式における余りの値をハッシュ値(特徴量の1つ)Hiとして算出し、得られたハッシュ値メモリ8に格納する。なお、上記Dは余りが取り得る値の範囲をどの程度に設定するかに応じて予め設定される定数である。
The hash value calculation unit 33 is, for example,
Hi = (Hi1 × 10 3 + Hi2 × 10 2 + Hi3 × 10 1 + Hi4 × 10 0 ) / D
Is calculated as a hash value (one of feature quantities) Hi and stored in the obtained hash value memory 8. Note that D is a constant set in advance according to how much the range of values that the remainder can take is set.

上記不変量Hijの算出方法は特に限定されるものではない。例えば、注目特徴点の近傍5点の複比、近傍n点(nはn≧5の整数)から抽出した5点の複比、近傍n点から抽出したm点(mは、m<nかつm≧5の整数)の配置、及びm点から抽出した5点の複比に基づいて算出される値などを注目特徴点についての上記不変量Hijとしてもよい。なお、複比とは、直線上の4点または平面上の5点から求められる値であり、幾何学的変換の一種である射影変形に対する不変量として知られている。   The method for calculating the invariant Hij is not particularly limited. For example, a multi-ratio of five points near the feature point of interest, a multi-ratio of five points extracted from n points in the vicinity (n is an integer of n ≧ 5), m points extracted from the n points in the vicinity (m is m <n and A value calculated based on the arrangement of m ≧ 5) and a cross ratio of five points extracted from m points may be used as the invariant Hij for the feature point of interest. The cross ratio is a value obtained from four points on a straight line or five points on a plane, and is known as an invariant with respect to projective deformation which is a kind of geometric transformation.

また、ハッシュ値Hiを算出するための式についても上記の式に限るものではなく、他のハッシュ関数(例えば特許文献2に記載されているハッシュ関数のうちのいずれか)を用いてもよい。   Further, the formula for calculating the hash value Hi is not limited to the above formula, and other hash functions (for example, any one of the hash functions described in Patent Document 2) may be used.

特徴量算出部12の各部は、1つの注目特徴点に対する周辺特徴点の抽出及びハッシュ値Hiの算出が終わると、注目特徴点を他の特徴点に変更して周辺特徴点の抽出及びハッシュ値の算出を行い、全ての特徴点についてのハッシュ値を算出する。   When the extraction of the peripheral feature points for one target feature point and the calculation of the hash value Hi are finished, each unit of the feature amount calculation unit 12 changes the target feature point to another feature point and extracts the peripheral feature points and the hash value. To calculate hash values for all feature points.

図8の例では、特徴点aを注目特徴点とした場合の周辺特徴点及びハッシュ値の抽出が終わると、次に特徴点bを注目特徴点とした場合の周辺特徴点及びハッシュ値の抽出を行う。なお、図8の例では、特徴点bを注目特徴点とした場合、特徴点a,c,e,fの4点が周辺特徴点として抽出される。   In the example of FIG. 8, when the extraction of the peripheral feature points and the hash value when the feature point a is the target feature point is finished, the peripheral feature points and the hash value are extracted when the feature point b is the target feature point. I do. In the example of FIG. 8, when the feature point b is the target feature point, four feature points a, c, e, and f are extracted as the peripheral feature points.

そして、図10(a)〜図10(d)に示すように、これら周辺特徴点a,c,e,fの中から選択される3点の組み合わせ(周辺特徴点a,e,f、周辺特徴点a,e,c、周辺特徴点a,f,c、周辺特徴点e,f,c)を抽出し、各組み合わせについてハッシュ値Hiを算出し、メモリ3に格納する。そして、この処理を各特徴点について繰り返し、各特徴点を注目特徴点とした場合のハッシュ値をそれぞれ求めてメモリ3に記憶させる。   Then, as shown in FIGS. 10A to 10D, a combination of three points selected from these peripheral feature points a, c, e, and f (peripheral feature points a, e, f, and peripheral points) Feature points a, e, c, peripheral feature points a, f, c, and peripheral feature points e, f, c) are extracted, and a hash value Hi is calculated for each combination and stored in the memory 3. Then, this process is repeated for each feature point, and a hash value when each feature point is a feature point of interest is obtained and stored in the memory 3.

また、特徴量算出部12は、登録処理を行う場合には、上記のように算出した入力画像データ(登録画像の画像データ)の各特徴点についてのハッシュ値(特徴量)を登録処理部15に送る。   In addition, when performing the registration process, the feature amount calculation unit 12 stores the hash value (feature amount) for each feature point of the input image data (image data of the registered image) calculated as described above. Send to.

登録処理部15は、特徴量算出部12が算出した各特徴点についてのハッシュ値と、当該入力画像データの登録画像を表すIDとをメモリ3に設けられた図示しないハッシュテーブルに順次登録していく(図11(a)参照)。ハッシュ値がすでに登録されている場合は、当該ハッシュ値に対応付けてIDを登録する。IDは重複することなく順次番号が割り当てられる。   The registration processing unit 15 sequentially registers a hash value for each feature point calculated by the feature amount calculation unit 12 and an ID representing a registered image of the input image data in a hash table (not shown) provided in the memory 3. (See FIG. 11 (a)). If a hash value has already been registered, an ID is registered in association with the hash value. IDs are sequentially assigned numbers without duplication.

なお、ハッシュテーブルに登録されている登録画像の数が所定値(例えば、登録可能な原稿の数の80%)より多くなった場合、古いIDを検索して順次消去するようにしてもよい。また、消去されたIDは、新たな入力画像データのIDとして再度使用できるようにしてもよい。また、算出されたハッシュ値が同値である場合(図11(b)の例ではH1=H5)、これらを1つにまとめてハッシュテーブルに登録してもよい。   If the number of registered images registered in the hash table exceeds a predetermined value (for example, 80% of the number of manuscripts that can be registered), old IDs may be searched and sequentially deleted. The erased ID may be used again as the ID of new input image data. Further, when the calculated hash values are the same value (H1 = H5 in the example of FIG. 11B), these may be combined and registered in the hash table.

また、特徴量算出部12は、照合処理を行う場合には、上記のように算出した入力画像データ(入力画像の画像データ)の各特徴点についてのハッシュ値を投票処理部13に送る。   Further, when performing the collation processing, the feature amount calculation unit 12 sends a hash value for each feature point of the input image data (image data of the input image) calculated as described above to the voting processing unit 13.

投票処理部13は、入力画像データから算出した各特徴点のハッシュ値をハッシュテーブルに登録されているハッシュ値と比較し、同じハッシュ値を有する登録画像に投票する(図12参照)。図12は、3つの登録画像ID1,ID2,ID3に対する投票数の一例を示すグラフである。言い換えれば、投票処理部13は、登録画像毎に、登録画像が有するハッシュ値と同じハッシュ値が入力画像データから算出された回数をカウントし、カウント値をメモリ3に記憶させる。   The voting processing unit 13 compares the hash value of each feature point calculated from the input image data with the hash value registered in the hash table, and votes for a registered image having the same hash value (see FIG. 12). FIG. 12 is a graph showing an example of the number of votes for three registered images ID1, ID2, and ID3. In other words, for each registered image, the voting processing unit 13 counts the number of times that the same hash value as the registered image has been calculated from the input image data, and stores the count value in the memory 3.

また、図11(b)の例では、H1=H5であり、これらをH1の1つにまとめてハッシュテーブルに登録されているが、このようなテーブル値において、入力画像データから算出した入力画像の有するハッシュ値にH1があった場合は、登録画像ID1には、2票投票される。   Further, in the example of FIG. 11B, H1 = H5, and these are grouped into one of H1 and registered in the hash table. In such a table value, the input image calculated from the input image data is used. If H1 is included in the hash value of the registered image ID1, two votes are cast.

文書類似度判定処理部14は、投票処理部13の投票処理結果より、最大の得票数を得た登録画像のID及び得票数を抽出し、抽出された得票数を予め定められている閾値と比較して文書類似度Llを算出する、或いは、抽出された得票数をその原稿が有している最大得票数で除算して正規化し、その結果と予め定められている閾値とを比較して文書類似度Llを算出する。   The document similarity determination processing unit 14 extracts the registered image ID and the number of votes obtained from the voting process result of the voting processing unit 13 and obtains the extracted number of votes as a predetermined threshold value. The document similarity L1 is calculated by comparison, or the extracted number of votes is normalized by dividing by the maximum number of votes the document has, and the result is compared with a predetermined threshold value. The document similarity L1 is calculated.

この場合の閾値の例としては、例えば、0.8以上に設定する方法が挙げられる。手書き部分があると、投票数は最大得票数より大きくなることがあるため、類似度は1より大きくなる場合もあり得る。   As an example of the threshold value in this case, for example, a method of setting to 0.8 or more can be mentioned. If there is a handwritten part, the number of votes may be greater than the maximum number of votes, so the similarity may be greater than one.

最大得票数は、特徴点の数×1つの特徴点(注目特徴点)から算出されるハッシュ値の数で表される。前述した図8、図9、図10の例では、最も簡単な例として、1つの特徴点から1つのハッシュ値が算出される例を示しているが、注目特徴点の周辺の特徴点を選択する方法を変えると、1つの特徴点から複数のハッシュ値を算出することができる。例えば、注目特徴点の周辺の特徴点として6点抽出し、この6点から5点を抽出する組み合わせは6通り存在する。そして、これら6通りそれぞれについて、5点から3点を抽出して不変量を求めハッシュ値を算出する方法が挙げられる。   The maximum number of votes is represented by the number of feature points × the number of hash values calculated from one feature point (attention feature point). In the example of FIGS. 8, 9, and 10 described above, as the simplest example, one hash value is calculated from one feature point. However, the feature points around the feature point of interest are selected. By changing the method, a plurality of hash values can be calculated from one feature point. For example, there are six combinations of extracting six points as feature points around the feature point of interest and extracting five points from these six points. Then, for each of these six ways, there is a method of calculating a hash value by extracting three points from five points to obtain an invariant.

本実施の形態では、文書類似度判定処理部14にて算出された文書類似度Llは、類似性総合判定部5へと出力される。   In the present embodiment, the document similarity L1 calculated by the document similarity determination processing unit 14 is output to the similarity total determination unit 5.

次に、画像照合装置101における色類似性判定部4について説明する。色類似性判定部4は、前述したように、色相情報抽出部41、色相類似度判定処理部42、彩度判定処理部43、及び色相情報登録処理部44を備えている。   Next, the color similarity determination unit 4 in the image matching device 101 will be described. As described above, the color similarity determination unit 4 includes a hue information extraction unit 41, a hue similarity determination processing unit 42, a saturation determination processing unit 43, and a hue information registration processing unit 44.

色相情報抽出部41は、登録画像や入力画像等の画像データである入力画像データがカラー画像であった場合に、入力画像データのRGBデータをCIE1976L信号(CIE: Commission International de l’Eclairage :国際照明委員会。L: 明度、a、b: 色度)に変換する。そして、例えば、下記式(2)より色相情報Hを求める。 When the input image data, which is image data such as a registered image or an input image, is a color image, the hue information extraction unit 41 converts the RGB data of the input image data into a CIE 1976 L * a * b * signal (CIE: Commission International de l'Eclairage: International Lighting Commission, L * : Lightness, a * , b * : Chromaticity) For example, the hue information H is obtained from the following equation (2).

Figure 2009284084
Figure 2009284084

なお、色相情報を抽出する処理は、上式による方法に限定されず、例えばL信号ではなく、CIE1976L信号(CIE: Commission International de l’Eclairage :国際照明委員会。L: 明度指数、u*、: クロマティクネス指数)を用いても良く、それぞれの色空間での色相情報を求めるようにしても良いし、他の簡略な色相情報を求める方法を使っても良い。 The process of extracting the hue information is not limited to the above method. For example, the CIE 1976 L * u * v * signal (CIE: Commission International de l'Eclairage: International Illumination Committee) is used instead of the L * a * b * signal. L * : Lightness index, u *, v * : Chromaticness index), hue information in each color space may be obtained, or other simple method for obtaining hue information May be used.

色相情報抽出部41は、算出した色相情報にて、例えば、10刻み36段階(すなわち、色相角が36度毎の色相)のヒストグラム(以下、色相ヒストグラム)を作成する。   The hue information extraction unit 41 creates, for example, a histogram (hereinafter referred to as a hue histogram) with 36 steps in increments of 10 (that is, a hue with a hue angle of every 36 degrees) using the calculated hue information.

色相情報登録処理部44は、登録モードにおいて、色相情報抽出部41にて作成されたこの色相ヒストグラムを、登録画像を表すIDに関連つけてメモリ3に格納する。なお、照合モードでは、色相情報登録処理部44をスルーする。   In the registration mode, the hue information registration processing unit 44 stores the hue histogram created by the hue information extraction unit 41 in the memory 3 in association with the ID representing the registered image. In the collation mode, the hue information registration processing unit 44 is passed through.

色相類似度判定処理部42は、照合モードにおいて、色相情報抽出部41にて作成された色相ヒストグラムと、登録画像の色相ヒストグラムとを比較して、入力画像と登録画像とが類似するか否かを判定するものである。   In the collation mode, the hue similarity determination processing unit 42 compares the hue histogram created by the hue information extraction unit 41 with the hue histogram of the registered image to determine whether the input image and the registered image are similar. Is determined.

このとき、色相類似度判定処理部42は、全ての登録画像の色相ヒストグラムを抽出するのではなく、文書照合部2の文書類似度判定処理部14の照合結果を参照して、形状特徴量的に類似性を有する登録画像について、その色相ヒストグラムを抽出する。   At this time, the hue similarity determination processing unit 42 does not extract the hue histograms of all the registered images, but refers to the collation result of the document similarity determination processing unit 14 of the document collation unit 2 to obtain the shape feature quantity. The hue histogram is extracted for the registered images having similarity to.

文書類似度判定処理部14の照合結果を参照して、形状特徴量の比較にて類似性を有する登録画像を特定する処理は、例えば、閾値を設けておき、閾値以上の類似度を有する登録画像を全て抽出するようにしてもよく、また、閾値と抽出数を決めておき、閾値以上の高い類似度を示す登録画像を所定数抽出するようにしても良い。   With reference to the collation result of the document similarity determination processing unit 14, for example, a process for specifying a registered image having similarity in the comparison of the shape feature amount is provided with a threshold and registration having a similarity equal to or higher than the threshold. All images may be extracted, or a threshold value and the number of extractions may be determined, and a predetermined number of registered images showing a high degree of similarity equal to or higher than the threshold value may be extracted.

そして、色相類似度判定処理部42は、色相情報のヒストグラムを用いて色相類似度を、例えば、以下のようにして求める。   Then, the hue similarity determination processing unit 42 obtains the hue similarity using the histogram of the hue information as follows, for example.

すなわち、色相類似度Lhとすると、Lhを、入力画像の色相ヒストグラムHg=(b1、b2、・・・b36)と、登録画像の色相ヒストグラムHgr=(br1,br2,・・・br36)とから、以下の式(3)で計算する。   That is, when the hue similarity Lh is set, Lh is calculated from the hue histogram Hg = (b1, b2,... B36) of the input image and the hue histogram Hgr = (br1, br2,... Br36) of the registered image. The following equation (3) is used for calculation.

Figure 2009284084
Figure 2009284084

色相類似度Lhは、値が小さいほど類似度は高いと考えられる。色相類似度判定処理部42で算出された色相類似度Lhは、類似性総合判定部5へと出力される。   The hue similarity Lh is considered to be higher as the value is smaller. The hue similarity Lh calculated by the hue similarity determination processing unit 42 is output to the similarity total determination unit 5.

なお、色相類似度判定処理部42は、文書類似度判定処理部14にて、類似する登録画像がないと判定されている場合は、以降の処理をキャンセルする。   If the document similarity determination processing unit 14 determines that there is no similar registered image, the hue similarity determination processing unit 42 cancels the subsequent processing.

一方、色相情報抽出部41にて、CIE1976L信号(CIE: Commission International de l’Eclairage :国際照明委員会。L: 明度、a、b: 色度)に変換された、登録画像や入力画像等の画像データは、彩度判定処理部43にも送られる。 On the other hand, the hue information extraction unit 41 converts the signal into a CIE 1976 L * a * b * signal (CIE: Commission International de l'Eclairage: International Lighting Commission. L * : brightness, a * , b * : chromaticity). Image data such as registered images and input images is also sent to the saturation determination processing unit 43.

彩度判定処理部43は、照合処理において、上記CIE1976L*a*b*信号より、彩度情報Sを以下の式(4)より求める。   The saturation determination processing unit 43 obtains the saturation information S from the CIE 1976 L * a * b * signal in the collation process using the following equation (4).

Figure 2009284084
Figure 2009284084

なお、上記は彩度情報Sを求めるための一例であって、例えばL信号を用いても良く、あるいは、RGB信号より、以下の式(5)を用いて簡易に彩度に相当する値を求めるようにしても良い。 Note that the above is an example for obtaining the saturation information S. For example, an L * u * v * signal may be used, or the saturation is simply calculated from the RGB signal using the following equation (5). A value corresponding to may be obtained.

Figure 2009284084
Figure 2009284084

彩度判定処理部43は、例えば、算出された彩度情報Sより入力画像の全画素について平均を求めて、求めた平均値と閾値(例えば、最大彩度の10%)を比較して、閾値よりも平均値が小さい場合には、入力画像は「無彩」と判定する。また、逆の場合には、「有彩」と判定する。   For example, the saturation determination processing unit 43 obtains an average for all pixels of the input image from the calculated saturation information S, compares the obtained average value with a threshold (for example, 10% of the maximum saturation), and When the average value is smaller than the threshold value, the input image is determined to be “achromatic”. In the opposite case, it is determined as “chromatic”.

次に、画像照合装置101における類似性総合判定部5について説明する。類似性総合判定部5には、文書照合部2の文書類似度判定処理部14より文書類似度Llが入力され、また、色類似性判定部4の色相類似度判定処理部42より色相類似度Lhが、色類似性判定部4の彩度判定処理部43より「有彩」或いは「無彩」の何れかの情報が入力される。   Next, the similarity total determination unit 5 in the image collating apparatus 101 will be described. The similarity similarity determination unit 5 receives the document similarity L1 from the document similarity determination processing unit 14 of the document matching unit 2 and the hue similarity determination unit 42 of the color similarity determination unit 4. Lh is input from the saturation determination processing unit 43 of the color similarity determination unit 4 as “chromatic” or “achromatic”.

類似性総合判定部5は、文書類似度Ll、色相類似度Lhについては、それぞれについて予め指定した閾値よりも値が大きければ類似度が高く、低ければ類似度が低いと判定する。   For the document similarity L1 and the hue similarity Lh, the similarity similarity determination unit 5 determines that the similarity is high if the value is larger than a threshold value specified in advance, and the similarity is low if the value is low.

文書類似度Llについては、類似度が高いと判断する閾値は、例えば最大類似度の90%に設定される。一方、色相類似度Lhにおいては、類似度が高いと判断する閾値は、例えば最大類似度の90%に設定される。   For the document similarity L1, the threshold value for determining that the similarity is high is set to 90% of the maximum similarity, for example. On the other hand, in the hue similarity Lh, the threshold value for determining that the similarity is high is set to 90% of the maximum similarity, for example.

また、類似性総合判定部5には、例えば、図13に示すような関係が規定されており、文書類似度Ll、色相類似度Lh、及び「有彩」或いは「無彩」の情報をもとに、総合的に類似性を判定類似度を決定する。   For example, the similarity total determination unit 5 defines a relationship as shown in FIG. 13 and includes document similarity Ll, hue similarity Lh, and “chromatic” or “achromatic” information. In addition, the similarity is determined comprehensively and the similarity is determined.

図13よりわかるように、文書類似度Llが低く色相類似度Lhが高い場合と、文書類似度Llが高く色相類似度Lhが低い場合とでは、文書類似度Llが高く色相類似度Lhが低い場合の方を、登録画像との類似性が高いと判定するようになっている。   As can be seen from FIG. 13, when the document similarity L1 is low and the hue similarity Lh is high, and when the document similarity L1 is high and the hue similarity Lh is low, the document similarity L1 is high and the hue similarity Lh is low. In this case, it is determined that the similarity with the registered image is higher.

画像の形状特徴量による類似性の判定結果を画像の色特徴量による類似性の判定結果よりも優先させることで、逆を優先させるよりも、登録画像と入力画像との類似性をより精度よく判定することができる。   By giving priority to the similarity determination result based on the shape feature amount of the image over the similarity determination result based on the color feature amount of the image, the similarity between the registered image and the input image is more accurate than prioritizing the reverse. Can be determined.

また、類似性総合判定部5は、文書類似度Llが同程度であり、色相類似度Lhが同程度に低い2つの画像がある場合、入力画像の彩度判定の結果より、無彩である場合を有彩である場合よりも高く判定するようになっている。   Further, when there are two images having the same document similarity L1 and the same low hue similarity Lh, the similarity comprehensive determination unit 5 is achromatic based on the result of the saturation determination of the input image. The case is determined to be higher than the case of being chromatic.

ここで、このように入力画像が無彩である場合を有彩よりも高く判定する理由について説明する。   Here, the reason why the case where the input image is achromatic in this way is determined to be higher than chromatic will be described.

形状特徴量による判定と色特徴量による判定とを組み合わせて総合的に登録画像と入力原稿との類似性を判定する場合、形状特徴量による類似性が同程度でかつ色相による類似性が同程度に低い値を示す2つの画像は、どちらも同程度に登録画像に類似していないと判定される。   When judging the similarity between the registered image and the input document comprehensively by combining the judgment based on the shape feature quantity and the judgment based on the color feature quantity, the similarity based on the shape feature quantity is about the same and the similarity based on the hue is about the same. It is determined that the two images showing low values are not similar to the registered image.

具体例挙げて説明すると、例えば、赤い色の文字や罫線で構成された画像に対して、形状特徴量による判定では類似すると判定される、緑色の文字や罫線で構成された画像と黒色の文字・罫線で構成された画像の2枚の画像は、色相による類似性の判定では、どちらも赤い色の文字や罫線で構成された画像に同程度類似していないと判定される。   For example, for example, an image composed of green characters and ruled lines and a black character determined to be similar in the determination by the shape feature amount to an image composed of red characters and ruled lines. The two images of the ruled line image are determined not to be similar to the image of the red color character or ruled line in the similarity determination by hue.

しかしながら、実際には、カラー画像のオリジナル画像を白黒コピーしたりファクシミリ送信したりして、無彩色の非オリジナル画像として利用したりすることが多くある。また、前述した申請書のように、よく似たレイアウトの文書画像(形状特徴量による類似性が高い)に、異なる色の文字と罫線が使用されている文書画像も多い。さらに、カラーの原稿をもともとの色から別の有彩の色に変換して使用するということはほとんど考えられない。   However, in practice, an original image of a color image is often copied as a monochrome image or transmitted by facsimile and used as an achromatic non-original image. In addition, as in the application form described above, there are many document images in which characters of different colors and ruled lines are used for document images having a similar layout (high similarity due to shape feature amounts). Furthermore, it is almost unthinkable to convert a color document from its original color to another chromatic color.

したがって、先程の例であれば、黒色の文字・罫線の原稿のほうが、緑色の文字・罫線の原稿よりも類似度が高いと判定するほうが、文書画像の使用状況を勘案した類似性の判定になる。   Therefore, in the previous example, it is better to determine that the similarity of a black text / ruled line document is higher than that of a green text / ruled line document in consideration of the usage status of the document image. Become.

そのため、本実施形態では、上述したように、類似性総合判定部5は、文書類似度Llが同程度であり、色相類似度Lhが同程度に低い2つの画像がある場合、入力画像の彩度判定の結果より、無彩である場合を有彩である場合よりも高く判定するようになっている。   Therefore, in the present embodiment, as described above, the similarity total determination unit 5 determines the saturation of the input image when there are two images having the same document similarity Ll and the same low hue similarity Lh. As a result of the degree determination, the case where the color is achromatic is determined to be higher than the case where the color is chromatic.

これにより、上記のようなカラー画像のオリジナルが白黒コピーされたりファクシミリ送信されたりして形成された無彩色の非オリジナル画像や、レイアウトは似ているが異なる色の文字と罫線が用いられている前述の申請書のような画像について、使用者の感覚に合った判定が可能になり、精度の高い判定が可能になる。   As a result, an achromatic non-original image formed by copying the original color image as described above into a black-and-white copy or facsimile transmission, or characters and ruled lines of similar colors but different in layout are used. With respect to an image such as the application form described above, it is possible to make a determination in accordance with the user's sense, and a highly accurate determination is possible.

なお、図13に示したような、関係を規定したテーブルを備えさせる以外にも、予め上記2つの類似度(文書類似度Llと色相類似度Lh)とから統合した類似度を計算する式を定めておき計算するようにしても良い。その場合、色相類似度Lhの値が予め定めた閾値よりも低い場合には、彩度判定の結果を参照して、無彩の場合のほうが類似度が高くなるように補正すればよい。   In addition to providing a table that defines the relationship as shown in FIG. 13, an expression for calculating a similarity that is integrated in advance from the two similarities (document similarity L1 and hue similarity Lh) is provided. It may be determined and calculated. In that case, when the value of the hue similarity Lh is lower than a predetermined threshold value, the result of saturation determination may be referred to correct so that the similarity is higher in the achromatic case.

次に、上記の画像照合装置101を備えるデジタルカラー複写機102の構成について説明する。図2はデジタルカラー複写機102の構成を示すブロック図である。   Next, the configuration of the digital color copying machine 102 provided with the image collating apparatus 101 will be described. FIG. 2 is a block diagram showing the configuration of the digital color copying machine 102.

図2に示すように、デジタルカラー複写機102は、カラー画像入力装置111、カラー画像処理装置112及びカラー画像出力装置113、及び操作パネル114を備えている。   As shown in FIG. 2, the digital color copying machine 102 includes a color image input device 111, a color image processing device 112, a color image output device 113, and an operation panel 114.

カラー画像入力装置111は、例えばCCD(Charge Coupled Device )などの光学情報を電気信号に変換するデバイスを備えたスキャナ部より構成され、原稿からの反射光像を、RGBのアナログ信号として出力する。   The color image input device 111 includes a scanner unit including a device that converts optical information such as a CCD (Charge Coupled Device) into an electrical signal, and outputs a reflected light image from the original as an RGB analog signal.

カラー画像入力装置111にて読み取られたアナログ信号は、カラー画像処理装置112内を、A/D変換部121、シェーディング補正部122、画像照合部123、入力階調補正部124、領域分離処理部125、色補正部126、黒生成下色除去部127、空間フィルタ処理部128、出力階調補正部129、及び階調再現処理部130の順で送られ、CMYKのデジタルカラー信号として、カラー画像出力装置113へ出力される。   An analog signal read by the color image input device 111 is converted into an A / D conversion unit 121, a shading correction unit 122, an image matching unit 123, an input tone correction unit 124, and a region separation processing unit in the color image processing device 112. 125, a color correction unit 126, a black generation and under color removal unit 127, a spatial filter processing unit 128, an output tone correction unit 129, and a tone reproduction processing unit 130 are sent in this order, and a color image is obtained as a CMYK digital color signal. It is output to the output device 113.

A/D変換部121は、RGBのアナログ信号をデジタル信号に変換するもので、シェーディング補正部122では、A/D変換部121より送られてきたデジタルのRGB信号に対して、カラー画像入力装置111の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施す。また、カラーバランスを整えると同時に、濃度信号などカラー画像処理装置112に採用されている画像処理システムの扱い易い信号に変換する処理を施す。   The A / D conversion unit 121 converts RGB analog signals into digital signals. The shading correction unit 122 applies a color image input device to the digital RGB signals sent from the A / D conversion unit 121. Processing for removing various distortions generated in the illumination system 111, imaging system, and imaging system 111 is performed. Further, at the same time as adjusting the color balance, a process for converting the signal such as a density signal into an easy-to-handle signal of the image processing system employed in the color image processing apparatus 112 is performed.

画像照合部123は、入力された入力画像データの画像、予め登録されている登録画像との類似度を判定してその結果を出力するもので、図1の画像照合装置101に相当する。また、画像照合部123は、入力された画像データのRGBデータはそのまま後段の入力階調補正部124へ出力する。また、画像照合部123は、求めた類似度判定結果(判定信号)を出力し、これを受けて、操作パネル114が、類似すると判定された画像を一覧表示したり、後段の処理部が処理を変更したりする。例えば、コピー、電子配信、ファイリングの禁止や所定のアドレスへの電子配信やフォルダへのファイリングなどを行う。   The image matching unit 123 determines the degree of similarity between the input image data input and the registered image registered in advance, and outputs the result, and corresponds to the image matching device 101 in FIG. Further, the image matching unit 123 outputs the input RGB data of the image data as it is to the input tone correction unit 124 at the subsequent stage. In addition, the image matching unit 123 outputs the obtained similarity determination result (determination signal), and in response to this, the operation panel 114 displays a list of images determined to be similar, or the subsequent processing unit performs processing. Or change. For example, copying, electronic distribution, filing prohibition, electronic distribution to a predetermined address, filing to a folder, and the like are performed.

入力階調補正部124では、シェーディング補正部122にて各種の歪みが取り除かれたRGB信号に対して、下地濃度の除去やコントラストなどの画質調整処理が施される。   The input tone correction unit 124 performs image quality adjustment processing such as removal of background density and contrast on the RGB signal from which various distortions are removed by the shading correction unit 122.

領域分離処理部125は、RGB信号より、入力画像中の各画素を文字領域、網点領域、写真領域の何れかに分離するものである。領域分離処理部125は、分離結果に基づき、画素がどの領域に属しているかを示す領域識別信号を、黒生成下色除去部127、空間フィルタ処理部128、及び階調再現処理部130へと出力すると共に、入力階調補正部124より出力された入力信号をそのまま後段の色補正部126に出力する。   The region separation processing unit 125 separates each pixel in the input image into one of a character region, a halftone dot region, and a photographic region from the RGB signal. The region separation processing unit 125 sends a region identification signal indicating which region the pixel belongs to to the black generation and under color removal unit 127, the spatial filter processing unit 128, and the gradation reproduction processing unit 130 based on the separation result. In addition to the output, the input signal output from the input tone correction unit 124 is directly output to the subsequent color correction unit 126.

色補正部126では、色再現の忠実化を図るために、不要吸収成分を含むCMY色材の分光特性に基づいた色濁りを取り除く処理を行う。   The color correction unit 126 performs a process of removing color turbidity based on the spectral characteristics of the CMY color material including unnecessary absorption components in order to make color reproduction faithful.

黒生成下色除去部127は、色補正後のCMYの3色信号から黒(K)信号を生成する黒生成、元のCMY信号から黒生成で得たK信号を差し引いて新たなCMY信号を生成する処理を行うものである。これによりCMYの3色信号はCMYKの4色信号に変換される。   The black generation and under color removal unit 127 generates black (K) signals from the CMY three-color signals after color correction, and subtracts the K signals obtained by black generation from the original CMY signals to generate new CMY signals. The process to generate is performed. As a result, the CMY three-color signal is converted into a CMYK four-color signal.

空間フィルタ処理部128は、黒生成下色除去部127より入力されるCMYK信号の画像データに対して、領域識別信号を基にデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正する。これにより出力画像のぼやけや粒状性劣化を軽減することができる。   The spatial filter processing unit 128 performs spatial filter processing using a digital filter on the image data of the CMYK signal input from the black generation and under color removal unit 127 to correct the spatial frequency characteristics. As a result, blurring of the output image and deterioration of graininess can be reduced.

階調再現処理部129では、空間フィルタ処理部と同様に、CMYK信号の画像データに対して、領域識別信号に基づいて後述する所定の処理が施される。   Similar to the spatial filter processing unit, the gradation reproduction processing unit 129 performs predetermined processing described later on the image data of the CMYK signal based on the region identification signal.

例えば、領域分離処理部125にて文字に分離された領域は、文字の再現性を高めるために、空間フィルタ処理部128における空間フィルタに高周波成分の強調量が大きいフィルタが用いられる。同時に、階調再現処理部130においては、高域周波成分の再現に適した高解像度のスクリーンによる二値化もしくは多値化処理が実施される。   For example, in the region separated into characters by the region separation processing unit 125, a filter having a high enhancement amount of a high frequency component is used as a spatial filter in the spatial filter processing unit 128 in order to improve the reproducibility of characters. At the same time, the gradation reproduction processing unit 130 performs binarization or multi-value processing using a high-resolution screen suitable for reproducing high-frequency components.

また、領域分離処理部125にて網点に分離された領域に関しては、空間フィルタ処理部128において、入力網点成分を除去するためのローパス・フィルタ処理が施される。そして、出力階調補正部129では、濃度信号などの信号をカラー画像出力装置113の特性値である網点面積率に変換する出力階調補正処理を行った後、階調再現処理部130で、最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理が施される。領域分離処理部125にて写真に分離された領域に関しては、階調再現性を重視したスクリーンでの二値化または多値化処理が行われる。   In addition, with respect to the region separated into halftone dots by the region separation processing unit 125, the spatial filter processing unit 128 performs low-pass filter processing for removing the input halftone component. The output tone correction unit 129 performs output tone correction processing for converting a signal such as a density signal into a halftone dot area ratio that is a characteristic value of the color image output device 113, and then the tone reproduction processing unit 130. A gradation reproduction process is performed in which the image is finally separated into pixels and each gradation is reproduced. With respect to the region separated into photographs by the region separation processing unit 125, binarization or multi-value processing is performed on the screen with an emphasis on gradation reproducibility.

上述した各処理が施された画像データは、一旦、図示しない記憶装置に記憶され、所定のタイミングで読み出されてカラー画像出力装置113に入力される。   The image data subjected to the above-described processes is temporarily stored in a storage device (not shown), read out at a predetermined timing, and input to the color image output device 113.

このカラー画像出力装置113は、画像データを紙などの記録媒体上に出力するもので、例えば、電子写真方式やインクジェット方式を用いたカラー無像出力装置等をあげることができるが特に限定されるものでは無い。なお、以上の処理は図示しないCPU(Central Processing Unit)により制御される。   The color image output device 113 outputs image data on a recording medium such as paper. For example, a color imageless output device using an electrophotographic method or an ink jet method can be used, but the color image output device 113 is particularly limited. It is not a thing. The above processing is controlled by a CPU (Central Processing Unit) not shown.

上記の構成において、本実施の形態の画像照合装置101の動作を、図14、図15のフローチャートに基づいて以下に説明する。   In the above configuration, the operation of the image collating apparatus 101 of the present embodiment will be described below based on the flowcharts of FIGS.

図14は、登録モードにおけるフローチャートである。登録モードの選択は、デジタルカラー複写機102では、操作パネル114の操作により選択される。画像照合装置101とこれに接続された端末装置(コンピュータ)とを備えた画像処理システムでは、端末装置からの入力操作等により選択される。   FIG. 14 is a flowchart in the registration mode. The registration mode is selected by operating the operation panel 114 in the digital color copying machine 102. In an image processing system including the image collating apparatus 101 and a terminal device (computer) connected thereto, the image is selected by an input operation from the terminal device.

制御部1は、登録すべき登録画像の画像データが入力されると、形状特徴量を抽出して登録する処理と、色特徴量である色相情報算出を算出して色相ヒストグラムを作成して登録する処理とを、並行して実施する。なお、並行処理に限らず、順次処理する構成としてもよい。   When image data of a registered image to be registered is input, the control unit 1 extracts and registers a shape feature amount, calculates hue information that is a color feature amount, creates a hue histogram, and registers it The processing to be performed is performed in parallel. In addition, it is good also as a structure which processes not only in parallel processing but in order.

形状特徴量を抽出して登録する処理においては、特徴点算出部11が、入力画像データに基づいて、登録される画像の各特徴点を算出し(S1)、特徴量算出部12が、特徴点算出部11にて算出された各特徴点の特徴量を算出し(S2)、登録処理部15が、登録される画像の上記特徴点の特徴量(ハッシュ値)、登録される画像を表すインデックス(ID)をメモリ3のテーブルに格納する(S3)。   In the process of extracting and registering shape feature amounts, the feature point calculation unit 11 calculates each feature point of the registered image based on the input image data (S1), and the feature amount calculation unit 12 The feature amount of each feature point calculated by the point calculation unit 11 is calculated (S2), and the registration processing unit 15 represents the feature amount (hash value) of the feature point of the registered image and the registered image. The index (ID) is stored in the table of the memory 3 (S3).

一方、色特徴量である色相情報を抽出して色相ヒストグラムを作成して登録する処理では、色相情報抽出部41が、入力画像データに基づいて、登録される画像の色相情報を抽出し、色相ヒストグラムを作成し(S4)、色相情報登録処理部44が、登録される画像の色相ヒストグラム、登録画像を表すインデックス(ID)をメモリ3のテーブルに格納する(S5)。以上の処理を行うと、制御部1は、登録モードを終了する。   On the other hand, in the process of creating and registering a hue histogram by extracting the hue information that is the color feature amount, the hue information extraction unit 41 extracts the hue information of the registered image based on the input image data, and the hue A histogram is created (S4), and the hue information registration processing unit 44 stores the hue histogram of the registered image and an index (ID) representing the registered image in the table of the memory 3 (S5). When the above processing is performed, the control unit 1 ends the registration mode.

図15は、照合モードにおけるフローチャートである。コピーや、ファクシミリ送信、ファイリング等、原稿画像を画像照合装置101にて読み取らせ、何らかの処理を実施させようとしたときに、処理モードに入る。   FIG. 15 is a flowchart in the collation mode. The processing mode is entered when a document image is read by the image collating apparatus 101, such as copying, facsimile transmission, or filing, and some processing is to be performed.

制御部1は、処理すべき入力画像の画像データが入力されると、形状特徴量を抽出して照合する処理と、色特徴量である色相情報算出を算出して色相ヒストグラムを作成して照合する処理とを、並行して実施する。なお、並行処理に限らず、順次処理する構成としてもよい。   When the image data of the input image to be processed is input, the control unit 1 extracts a shape feature amount and performs collation, calculates hue information calculation that is a color feature amount, creates a hue histogram, and collates The processing to be performed is performed in parallel. In addition, it is good also as a structure which processes not only in parallel processing but in order.

形状特徴量を抽出して照合する処理においては、特徴点算出部11が、入力画像データに基づいて、入力画像の各特徴点を算出し(S11)、特徴量算出部12が、特徴点算出部11にて算出された各特徴点の特徴量を算出し(S12)、投票処理部13が、算出された入力画像の特徴量を用いて投票処理を行う(S13)。   In the process of extracting and collating the shape feature amount, the feature point calculation unit 11 calculates each feature point of the input image based on the input image data (S11), and the feature amount calculation unit 12 calculates the feature point. The feature amount of each feature point calculated by the unit 11 is calculated (S12), and the voting processing unit 13 performs a voting process using the calculated feature amount of the input image (S13).

次に、文書類似度判定処理部14が、投票処理の結果に基づいて、入力画像が何れかの登録画像に類似するか否かを判断する(S14)。ここで、どの登録画像にも類似しない場合は、文書類似度判定処理部14は、判定信号「0」を出力し(S15)する。一方、何れかの登録画像に類似する場合は、文書類似度LIを出力する(S16)。   Next, the document similarity determination processing unit 14 determines whether the input image is similar to any registered image based on the result of the voting process (S14). If the registered image is not similar to any registered image, the document similarity determination processing unit 14 outputs a determination signal “0” (S15). On the other hand, when similar to any registered image, the document similarity LI is output (S16).

一方、色特徴量である色相情報を抽出して色相ヒストグラムを作成して照合する処理では、色相情報抽出部41が、入力画像データに基づいて、入力画像の色相情報を抽出し、色相ヒストグラムを作成し(S21)、色相類似度判定処理部42が、作成された入力画像の色相ヒストグラムと、メモリ3のテーブルより取得した登録画像の色相ヒストグラムとを比較し、色相類似度を算出する(S22)。ここで、色相類似度判定処理部42は、文書類似度判定処理部14の判定結果を参照し、形状特徴量による判定で類似性があると判定された登録原稿の色相ヒストグラムを抽出する。   On the other hand, in the process of extracting the hue information, which is the color feature amount, and creating and comparing the hue histogram, the hue information extraction unit 41 extracts the hue information of the input image based on the input image data, and the hue histogram is obtained. Then, the hue similarity determination processing unit 42 compares the created hue histogram of the input image with the hue histogram of the registered image acquired from the table of the memory 3 to calculate the hue similarity (S22). ). Here, the hue similarity determination processing unit 42 refers to the determination result of the document similarity determination processing unit 14 and extracts a hue histogram of a registered document that is determined to be similar in the determination based on the shape feature amount.

次いで、彩度判定処理部43が、入力画像データに基づいて、入力画像が有彩であるか無彩であるかを判定し(S23)、色相類似度判定処理部42及び彩度判定処理部43が、色相類似度と彩度の判定結果を出力する(S24)。   Next, the saturation determination processing unit 43 determines whether the input image is chromatic or achromatic based on the input image data (S23), and the hue similarity determination processing unit 42 and the saturation determination processing unit. 43 outputs the determination result of hue similarity and saturation (S24).

類似性総合判定部5は、入力される文書類似度Ll及び色相類似度Lh、並びに有彩、無彩の情報を基にして、入力画像と登録画像との類似性を総合的に判定し(S25)、判定信号を出力する(S26)。なお、本実施形態では、類似性総合判定部5は、入力される文書類似度Ll及び色相類似度Lh、並びに有彩、無彩の情報を基にして、総合的な判定として、類似度を8段階で示すようになっているので、この類似度を判定信号として出力する。   The similarity total determination unit 5 comprehensively determines the similarity between the input image and the registered image based on the input document similarity Ll and hue similarity Lh, and chromatic and achromatic information ( S25), a determination signal is output (S26). In the present embodiment, the similarity comprehensive determination unit 5 determines the similarity as a comprehensive determination based on the input document similarity Ll and hue similarity Lh, and chromatic and achromatic information. Since it is shown in 8 stages, this similarity is output as a determination signal.

上記のように、本実施の形態の画像照合装置101では、入力された画像データより画像の形状に関する特徴を示す形状特徴量を抽出して、登録されている登録画像の形状特徴量と比較し、上記入力された入力画像と上記登録画像との類似性を判定すると共に、入力された画像データより画像の色に関する特徴を示す色特徴量を抽出して、登録画像の色特徴量と比較し、上記入力画像と上記登録画像との類似性を判定し、さらに、入力画像の彩度を抽出して彩度の情報を加えて、上記入力画像と上記登録画像との類似性を判定するようになっている。   As described above, the image matching apparatus 101 according to the present embodiment extracts a shape feature amount indicating a feature related to the shape of an image from input image data, and compares it with the shape feature amount of a registered image registered. Determining the similarity between the input image and the registered image, extracting a color feature amount indicating the color feature of the image from the input image data, and comparing it with the color feature amount of the registered image; The similarity between the input image and the registered image is determined, and the saturation of the input image is extracted and the saturation information is added to determine the similarity between the input image and the registered image. It has become.

これにより、入力画像と登録画像とが、形状特徴量による類似性の判定では識別できなかった、文字や罫線の色が異なる構成要素がよく似た申請書等のカラー画像同士であっても、精度よく類似性を判定することができる。   As a result, even if the input image and the registered image are color images such as application forms that cannot be identified by the similarity determination based on the shape feature amount, and the components having different colors of characters and ruled lines are similar, Similarity can be determined with high accuracy.

同様に、入力画像と登録画像とが、色特徴量による類似性の判定では識別できなかった、色目が似たカラー画像同士であったり、登録画像がカラー画像で、入力画像が、これを白黒コピーしたりファクシミリ送信したりして形成された白黒画像であっても、精度よく類似性を判定することができる。   Similarly, the input image and the registered image are color images with similar colors that could not be identified by the similarity determination based on the color feature amount, or the registered image is a color image and the input image is black and white. Even for black and white images formed by copying or facsimile transmission, similarity can be determined with high accuracy.

そして、画像の構成要素と色情報に加えて、彩度の情報を用いて判定することで、前述した、形状(文字および罫線の形状)に関する類似度が共に同程度の、赤い罫線の原稿と、緑の形成の原稿と、黒い罫線の原稿との3枚について、1)赤い罫線の原稿と緑の罫線の原稿と、2)赤い罫線の原稿と黒い罫線の原稿とでは、1)よりも2)の方が類似度が高いといった、より現実の使い方にあった判定を実施できる。   Then, by determining using the saturation information in addition to the component of the image and the color information, the red ruled line document having the same degree of similarity with respect to the shape (character and ruled line shape) described above can be obtained. For three sheets, a green-formed document and a black ruled document, 1) a red ruled document and a green ruled document, and 2) a red ruled document and a black ruled document than in 1) It is possible to carry out a determination in accordance with the actual usage such that 2) has a higher degree of similarity.

これにより、オリジナル画像がカラー画像である場合に、これをコピーしたりして形成された非オリジナル画像との類似性を、精度よく判定することが可能になる。   Thereby, when the original image is a color image, it is possible to accurately determine the similarity to a non-original image formed by copying the original image.

また、このような類似度の判定を、画像の検索に使用して、求めた類似度の順序に従って画像をソートして表示するようにすることで、オリジナルのカラー画像が、白黒コピーされたりファクシミリ送信したりした画像を、形状的特徴がよく似た全く別のカラー原稿よりも高い順位にて表示することが可能となる。   Such similarity determination is used for image search so that images are sorted and displayed according to the order of similarity obtained, whereby an original color image can be copied in black and white or facsimile. The transmitted images can be displayed in a higher order than completely different color originals having similar shape characteristics.

図16は、本実施形態の画像照合装置101が備えられるデジタルカラー複合機(画像データ出力処理装置)104の構成を示すブロック図である。   FIG. 16 is a block diagram showing a configuration of a digital color multifunction peripheral (image data output processing apparatus) 104 provided with the image collating apparatus 101 of this embodiment.

デジタルカラー複合機104は、図2に示したデジタルカラー複写機102に対して、例えばモデムやネットワークカードよりなる通信装置115を追加した構成である。   The digital color multifunction peripheral 104 has a configuration in which a communication device 115 such as a modem or a network card is added to the digital color copying machine 102 shown in FIG.

このデジタルカラー複合機104では、ファクシミリの送信を行う場合、通信装置115にて相手先との送信手続きを行い、送信可能な状態が確保されると、所定の形式で圧縮された画像データ(スキャナで読み込まれた画像データ)をメモリ3から読み出し、圧縮形式の変更など必要な処理を施した後、その画像データを通信回線を介して相手先に順次送信する。   In the digital color multifunction peripheral 104, when transmitting a facsimile, the communication device 115 performs a transmission procedure with the other party, and when a state where transmission is possible is secured, image data compressed in a predetermined format (scanner) Is read from the memory 3 and necessary processing such as changing the compression format is performed, and the image data is sequentially transmitted to the other party via the communication line.

また、ファクシミリの受信を行う場合、通信手続きを行いながら相手先から送信されてくる画像データを受信してカラー画像処理装置116に入力する。カラー画像処理装置116では、受信した画像データに対して圧縮/伸張処理部(図示せず)にて伸張処理を施す。伸張された画像データは、必要に応じて、回転処理や解像度変換処理が行なわれ、出力階調補正(出力階調補正部131)、階調再現処理(階調再現処理部132)が施され、カラー画像出力装置113から出力される。   When receiving a facsimile, the image data transmitted from the other party is received and input to the color image processing apparatus 116 while performing a communication procedure. In the color image processing apparatus 116, the received image data is expanded by a compression / expansion processing unit (not shown). The decompressed image data is subjected to rotation processing and resolution conversion processing as necessary, and output tone correction (output tone correction unit 131) and tone reproduction processing (tone reproduction processing unit 132) are performed. Are output from the color image output device 113.

また、デジタルカラー複合機104は、ネットワークカード、LANケーブルを介して、ネットワークに接続されたコンピュータや他のデジタル複合機とデータ通信を行なう。   The digital color multifunction peripheral 104 performs data communication with a computer and other digital multifunction peripherals connected to the network via a network card and a LAN cable.

また、上記の例では、デジタルカラー複合機104について説明したが、この複合機はモノクロの複合機であっても構わない。また、単体のファクシミリ通信装置であっても構わない。   In the above example, the digital color multifunction peripheral 104 has been described. However, the multifunction peripheral may be a monochrome multifunction peripheral. A single facsimile communication apparatus may be used.

また、本実施の形態の画像照合装置101は、画像読取装置にも適用可能である。図17は、本実施の形態の画像照合装置101を適用したカラー画像読取装置(画像データ出力処理装置)105の構成を示すブロック図である。このカラー画像読取装置105は例えばフラットベッドスキャナであり、デジタルカメラであってもよい。   Further, the image collating apparatus 101 of the present embodiment can also be applied to an image reading apparatus. FIG. 17 is a block diagram showing the configuration of a color image reading apparatus (image data output processing apparatus) 105 to which the image collating apparatus 101 of this embodiment is applied. The color image reading device 105 is a flatbed scanner, for example, and may be a digital camera.

カラー画像読取装置105は、カラー画像入力装置111とカラー画像処理装置117とを備え、カラー画像処理装置117は、A/D変換部121、シェーディング補正部122、画像照合部123を備えている。画像照合部123’、図1に示した画像照合装置101に相当する。   The color image reading device 105 includes a color image input device 111 and a color image processing device 117, and the color image processing device 117 includes an A / D conversion unit 121, a shading correction unit 122, and an image matching unit 123. The image matching unit 123 'corresponds to the image matching apparatus 101 shown in FIG.

カラー画像入力装置111(画像読取手段)は、例えばCCD(Charge Coupled Device )を備えたスキャナ部より構成され、原稿からの反射光像を、RGB(R:赤・G:緑・B:青)のアナログ信号としてCCDにて読み取って、カラー画像処理装置117に入力するものである。   The color image input device 111 (image reading means) is composed of, for example, a scanner unit equipped with a CCD (Charge Coupled Device), and the reflected light image from the original is converted into RGB (R: red, G: green, B: blue). The analog signal is read by the CCD and input to the color image processing device 117.

カラー画像入力装置111にて読み取られたアナログ信号は、カラー画像処理装置117内を、A/D(アナログ/デジタル)変換部121、シェーディング補正部122、画像照合部123’の順で送られる。   The analog signal read by the color image input device 111 is sent through the color image processing device 117 in the order of an A / D (analog / digital) conversion unit 121, a shading correction unit 122, and an image matching unit 123 '.

A/D変換部121は、RGBのアナログ信号をデジタル信号に変換するもので、シェーディング補正部122は、A/D変換部121より送られてきたデジタルのRGB信号に対して、カラー画像入力装置111の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施すものである。シェーディング補正部122ではカラーバランスの調整を行い、またRGBの反射率信号を濃度信号に変換する。   The A / D converter 121 converts RGB analog signals into digital signals, and the shading correction unit 122 applies a color image input device to the digital RGB signals sent from the A / D converter 121. Processing for removing various distortions generated in the illumination system 111, imaging system, and imaging system 111 is performed. The shading correction unit 122 adjusts the color balance and converts the RGB reflectance signal into a density signal.

画像照合部123’の機能は、画像照合装置101において前述したとおりである。画像照合部123’では、入力された画像データと登録画像との類似度を判定してその結果(判定信号:コピー、電子配信、ファイリングの禁止や所定のアドレスへの電子配信やフォルダへのファイリング否など)を出力する。判定信号は、読み込まれた画像データとともにネットワークを介してプリンタや複合機に送信され出力される。あるいは、コンピュータを介してプリンタに、もしくは、直接プリンタに入力さる。この場合、プリンタや複合機、コンピュータ側で処理内容を表す信号を判断できるようにしておく必要がある。上記判定信号を出力するのではなく、算出した入力画像の形状特徴量及び色特徴量(色相情報)、彩度を出力し、サーバやコンピュータ、プリンタ側で、登録されている登録画像と照合判定を行うようにしても良い。画像読取装置としてデジタルカメラを用いても良い。   The function of the image matching unit 123 ′ is as described above in the image matching device 101. The image collating unit 123 ′ determines the similarity between the input image data and the registered image, and the result (determination signal: prohibition of copying, electronic distribution, filing, electronic distribution to a predetermined address, filing to a folder, etc. Output). The determination signal is transmitted together with the read image data to a printer or multifunction device via a network and output. Or it inputs into a printer via a computer or directly into a printer. In this case, it is necessary to be able to determine a signal representing the processing contents on the printer, the multifunction peripheral, or the computer side. Rather than outputting the determination signal, the calculated feature value, color feature value (hue information), and saturation of the input image are output, and the server, the computer, or the printer checks the registered image with the registered image. May be performed. A digital camera may be used as the image reading device.

本発明はコンピュータに実行させるためのプログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)を記録したコンピュータ読み取り可能な記録媒体に、上記した類似性判定(画像照合)及び出力制御を行う画像処理方法を記録するものとすることもできる。この結果、類似性判定部並びに出力制御、原稿画像の登録処理を行う画像処理方法を行うプログラムコードを記録した記録媒体を持ち運び自在に提供することができる。   The present invention performs the above-described similarity determination (image collation) and output control on a computer-readable recording medium in which program codes (executable program, intermediate code program, source program) of a program to be executed by a computer are recorded. An image processing method may be recorded. As a result, the recording medium on which the program code for performing the similarity determination unit, the output control, and the image processing method for registering the original image is recorded can be provided in a portable manner.

なお、本実施の形態では、この記録媒体としては、マイクロコンピュータで処理が行われるためにメモリ(図示せず)、例えばROMそのものがプログラムメディアであっても良いし、また、外部記憶装置(図示せず)としてプログラム読み取り装置が設けられ、そこに記録媒体を挿入することで読み取り可能なプログラムメディアであっても良い。   In this embodiment, since the processing is performed by a microcomputer, the recording medium may be a memory (not shown), for example, a ROM itself as a program medium, or an external storage device (see FIG. (Not shown) may be a program medium provided with a program reading device, which can be read by inserting a recording medium therein.

何れの場合においても、格納されているプログラムはマイクロプロセッサがアクセスして実行させる構成であっても良いし、あるいは、何れの場合もプログラムコードを読み出し、読み出されたプログラムコードは、マイクロコンピュータのプログラム記憶エリア(図示せず)にダウンロードされて、そのプログラムコードが実行される方式であってもよい。このダウンロード用のプログラムは予め本体装置に格納されているものとする。   In any case, the stored program may be configured to be accessed and executed by the microprocessor, or in any case, the program code is read and the read program code is stored in the microcomputer. The program code may be downloaded to a program storage area (not shown) and the program code is executed. It is assumed that this download program is stored in the main device in advance.

ここで、上記プログラムメディアは、本体と分離可能に構成される記録媒体であり、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスクやハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD等の光ディスクのディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory)、フラッシュROM等による半導体メモリを含めた固定的にプログラムを担持する媒体であっても良い。   Here, the program medium is a recording medium configured to be separable from the main body, such as a tape system such as a magnetic tape or a cassette tape, a magnetic disk such as a floppy (registered trademark) disk or a hard disk, or a CD-ROM / MO /. MD / DVD optical discs, IC cards (including memory cards) / optical cards, etc. Mask ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash A medium that carries a fixed program including a semiconductor memory such as a ROM may be used.

また、本実施の形態においては、インターネットを含む通信ネットワークを接続可能なシステム構成であることから、通信ネットワークからプログラムコードをダウンロードするように流動的にプログラムを担持する媒体であっても良い。なお、このように通信ネットワークからプログラムコードをダウンロードする場合には、そのダウンロード用のプログラムは予め本体装置に格納しておくか、あるいは別な記録媒体からインストールされるものであっても良い。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   In the present embodiment, since the system configuration is such that a communication network including the Internet can be connected, it may be a medium that fluidly carries a program so as to download a program code from the communication network. When the program code is downloaded from the communication network in this way, the download program may be stored in the main device in advance, or may be installed from another recording medium. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

上記記録媒体は、デジタルカラー画像形成装置やコンピュータシステムに備えられるプログラム読み取り装置により読み取られることで上述した画像処理方法が実行される。   The recording medium is read by a program reading device provided in a digital color image forming apparatus or a computer system, whereby the above-described image processing method is executed.

また、コンピュータシステムは、フラットベッドスキャナ・フィルムスキャナ・デジタルカメラなどの画像入力装置、所定のプログラムがロードされることにより上記画像処理方法など様々な処理が行われるコンピュータ、コンピュータの処理結果を表示するCRTディスプレイ・液晶ディスプレイなどの画像表示装置およびコンピュータの処理結果を紙などに出力するプリンタより構成される。さらには、ネットワークを介してサーバーなどに接続するための通信手段としてのネットワークカードやモデムなどが備えられる。   The computer system also displays an image input device such as a flatbed scanner, a film scanner, and a digital camera, a computer that performs various processes such as the above image processing method by loading a predetermined program, and displays the processing results of the computer. It comprises an image display device such as a CRT display / liquid crystal display and a printer that outputs the processing results of the computer to paper or the like. Furthermore, a network card, a modem, and the like are provided as communication means for connecting to a server or the like via a network.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention.

本発明の実施の形態の画像照合装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image collation apparatus of embodiment of this invention. 図1に示した画像照合装置を備える画像データ出力処理装置であるデジタルカラー複写機の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a digital color copying machine that is an image data output processing apparatus including the image collating apparatus illustrated in FIG. 1. 図1に示した画像照合装置における特徴点算出部の構成を示すブロック図である。It is a block diagram which shows the structure of the feature point calculation part in the image collation apparatus shown in FIG. 図3に示した特徴点算出部におけるMTF処理部が備える混合フィルタのフィルタ係数を示す説明図である。It is explanatory drawing which shows the filter coefficient of the mixing filter with which the MTF process part in the feature point calculation part shown in FIG. 3 is provided. 図3に示した特徴点算出部の処理により、2値化された画像データから抽出された連結領域およびこの連結領域の重心の一例を示す説明図である。It is explanatory drawing which shows an example of the connection area | region extracted from the image data binarized by the process of the feature point calculation part shown in FIG. 3, and the gravity center of this connection area | region. 図3に示した特徴点算出部の処理により、2値化された画像データに含まれる文字列から抽出された複数の連結領域の各重心(特徴点)の一例を示す説明図である。It is explanatory drawing which shows an example of each gravity center (feature point) of the some connection area | region extracted from the character string contained in the binarized image data by the process of the feature point calculation part shown in FIG. 図1に示した画像照合装置における特徴量算出部の構成を示すブロック図である。It is a block diagram which shows the structure of the feature-value calculation part in the image collation apparatus shown in FIG. 図7に示した特徴量算出部における特徴点抽出部での注目特徴点に対する周辺特徴点の抽出動作の説明図である。It is explanatory drawing of the extraction operation | movement of the surrounding feature point with respect to the attention feature point in the feature point extraction part in the feature-value calculation part shown in FIG. 図9(a)は、図8に示した特徴点抽出部にて抽出された周辺特徴点4点の中から選択し得る3点の組み合わせの一例を示すものであって、注目特徴点aに対する周辺特徴点b,c,dの組み合わせの例を示す説明図、図9(b)は、同注目特徴点aに対する周辺特徴点b,c,eの組み合わせの例を示す説明図、図9(c)は、同注目特徴点aに対する周辺特徴点b,d,eの組み合わせの例を示す説明図、図9(d)は、同注目特徴点aに対する周辺特徴点c,d,eの組み合わせの例を示す説明図である。FIG. 9A shows an example of a combination of three points that can be selected from the four peripheral feature points extracted by the feature point extraction unit shown in FIG. FIG. 9B is an explanatory diagram illustrating an example of a combination of peripheral feature points b, c, and d. FIG. 9B is an explanatory diagram illustrating an example of a combination of peripheral feature points b, c, and e with respect to the target feature point a. FIG. 9C is an explanatory diagram showing an example of a combination of peripheral feature points b, d, and e with respect to the target feature point a, and FIG. 9D is a combination of peripheral feature points c, d, and e with respect to the target feature point a. It is explanatory drawing which shows the example of. 図10(a)は、図8に示した特徴点抽出部にて抽出された周辺特徴点4点のうちの一つに注目特徴点を移した場合に選択し得る3点の周辺特徴点の組み合わせの一例を示すものであって、注目特徴点bに対する周辺特徴点a,e,fの組み合わせの例を示す説明図、図10(b)は、同注目特徴点bに対する周辺特徴点a,e,cの組み合わせの例を示す説明図、図10(c)は、同注目特徴点bに対する周辺特徴点a,f,cの組み合わせの例を示す説明図、図10(d)は、同注目特徴点bに対する周辺特徴点e,f,cの組み合わせの例を示す説明図である。FIG. 10A shows three peripheral feature points that can be selected when the target feature point is transferred to one of the four peripheral feature points extracted by the feature point extraction unit shown in FIG. FIG. 10B is a diagram illustrating an example of the combination, and is an explanatory diagram illustrating an example of the combination of the peripheral feature points a, e, and f with respect to the target feature point b. FIG. FIG. 10C is an explanatory diagram illustrating an example of a combination of peripheral feature points a, f, and c with respect to the feature point of interest b, and FIG. It is explanatory drawing which shows the example of the combination of the surrounding feature points e, f, and c with respect to the attention feature point b. 図11(a)及び図11(b)は、図1に示した画像照合装置におけるメモリに格納されている各特徴点についてのハッシュ値及び登録画像のインデックスの一例を示す説明図である。FIGS. 11A and 11B are explanatory diagrams illustrating an example of a hash value and a registered image index for each feature point stored in the memory in the image collating apparatus illustrated in FIG. 1. 図1に示した画像照合装置における投票処理部による投票結果の一例を示すグラフである。It is a graph which shows an example of the voting result by the voting process part in the image collation apparatus shown in FIG. 図1に示した画像照合装置における類似性総合判定部5が使用する、形状類似度Ll、色相類似度Lh、及び「有彩」或いは「無彩」の情報と、総合的類似度との関係を規定したデーブルの内容を示す説明図である。Relationship between shape similarity Ll, hue similarity Lh, and “chromatic” or “achromatic” information used by the similarity similarity determination unit 5 in the image matching apparatus shown in FIG. 1 and the overall similarity It is explanatory drawing which shows the content of the table which prescribed | regulated. 図1に示した画像照合装置の登録モードの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the registration mode of the image collation apparatus shown in FIG. 図1に示した画像照合装置の照合モードの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the collation mode of the image collation apparatus shown in FIG. 図1の画像照合装置を備えた画像データ出力処理装置であるデジタルカラー複合機の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a digital color multifunction peripheral that is an image data output processing apparatus including the image collating apparatus of FIG. 1. 図1の画像照合装置を備えた画像データ出力処理装置であるカラー画像読取装置の構成を示すブロック図である。It is a block diagram which shows the structure of the color image reading apparatus which is an image data output processing apparatus provided with the image collation apparatus of FIG.

符号の説明Explanation of symbols

1 制御部
2 文書照合部(形状類似性判定部)
3 メモリ(記憶手段)
4 色類似性判定部
11 特徴点算出部
12 特徴量算出部
13 投票処理部
14 文書類似度判定処理部
15 登録処理部
101 画像照合装置
102 デジタルカラー複写機(画像データ出力処理装置)
103 画像処理装置
104 デジタルカラー複合機(画像データ出力処理装置)
105 カラー画像読取装置(画像データ出力処理装置)
112 カラー画像処理装置
116 カラー画像処理装置
117 カラー画像処理装置
123 画像照合部(画像照合装置)
DESCRIPTION OF SYMBOLS 1 Control part 2 Document collation part (shape similarity determination part)
3 Memory (memory means)
4 color similarity determination unit 11 feature point calculation unit 12 feature amount calculation unit 13 voting processing unit 14 document similarity determination processing unit 15 registration processing unit 101 image collation device 102 digital color copying machine (image data output processing device)
103 Image Processing Device 104 Digital Color Multifunction Device (Image Data Output Processing Device)
105 Color image reading device (image data output processing device)
112 Color Image Processing Device 116 Color Image Processing Device 117 Color Image Processing Device 123 Image Collation Unit (Image Collation Device)

Claims (11)

入力された画像データより画像の形状に関する特徴を示す形状特徴量を抽出して、登録されている登録画像の形状特徴量と比較し、上記入力された入力画像と上記登録画像との類似性を判定する形状類似性判定部と、
上記入力された画像データより画像の色に関する特徴を示す色特徴量を抽出して、上記登録画像の色特徴量と比較し、上記入力画像と上記登録画像との類似性を判定する色類似性判定部と、
入力された画像データより彩度を抽出して、入力画像が有彩であるか無彩であるかを判定する彩度判定部と、
上記形状類似性判定部の判定結果、上記色類似性判定部の判定結果、及び上記彩度判定部による判定結果にて、上記入力画像と上記登録画像との類似性を判定する類似性総合判定部とを備えることを特徴とする画像照合装置。
A shape feature amount indicating a feature related to the shape of the image is extracted from the input image data, compared with the shape feature amount of the registered image, and the similarity between the input image and the registered image is determined. A shape similarity determination unit for determining;
Color similarity that extracts the feature of the image color from the input image data, compares it with the color feature of the registered image, and determines the similarity between the input image and the registered image A determination unit;
A saturation determination unit that extracts saturation from the input image data and determines whether the input image is chromatic or achromatic;
Comprehensive similarity determination for determining the similarity between the input image and the registered image based on the determination result of the shape similarity determination unit, the determination result of the color similarity determination unit, and the determination result of the saturation determination unit And an image collating apparatus.
上記色類似性判定部は、
上記色特徴量として色相を用い、
入力された画像データより色相を抽出する色相抽出部と、
上記色相抽出部が抽出した入力画像の色相と上記登録画像の色相とを比較して上記入力画像と上記登録画像との類似性を判定する色相類似性判定部とを備えることを特徴とする請求項1に記載の画像照合装置。
The color similarity determination unit
Using hue as the color feature amount,
A hue extraction unit that extracts the hue from the input image data;
A hue similarity determining unit that compares the hue of the input image extracted by the hue extracting unit with the hue of the registered image to determine the similarity between the input image and the registered image. Item 2. The image matching device according to Item 1.
上記類似性総合判定部は、形状特徴量による類似性が同程度であり、色特徴量による類似性が低い場合、入力画像が無彩と有彩とでは、無彩の方を上記登録画像との類似性が高いと判定することを特徴とする請求項1又は2に記載の画像照合装置。   When the similarity based on the shape feature amount is similar and the similarity based on the color feature amount is low, the similarity comprehensive determination unit determines that the input image is achromatic and chromatic, and the achromatic one is the registered image. The image collating apparatus according to claim 1, wherein the similarity is determined to be high. 上記類似性総合判定部は、形状特徴量による類似性が低くかつ色特徴量による類似性が高い場合と、形状特徴量による類似性が高く色特徴量による類似性が低い場合とでは、形状特徴量による類似性が高く色特徴量による類似性が低い方を、上記登録画像との類似性が高いと判定することを特徴とする請求項1、2又は3に記載の画像照合装置。   The similarity total determination unit determines whether the shape feature is low when the similarity by the shape feature amount is low and the similarity by the color feature amount is high, and when the similarity by the shape feature amount is high and the similarity by the color feature amount is low. The image collating apparatus according to claim 1, 2 or 3, wherein the similarity with the amount is high and the similarity with the color feature amount is low, the similarity with the registered image is determined to be high. 上記色類似性判定部は、上記色特徴量を抽出するにあたり、上記形状類似性判定部による判定結果を参照して、形状特徴量による類似性が高いと判定された登録画像についてのみ色特徴量を抽出することを特徴とする請求項1、2、3又は4に記載の画像照合装置。   In extracting the color feature amount, the color similarity determination unit refers to the determination result by the shape similarity determination unit, and only for the registered image determined to have high similarity by the shape feature amount. 5. The image collating apparatus according to claim 1, wherein: 上記形状類似性判定部は、
入力された画像データより上記入力画像の連結部分を抽出して特徴点を算出する特徴点算出部と、
上記特徴点算出部が算出した特徴点同士の相対位置に基づいて、上記入力画像の形状特徴量を算出する形状特徴量算出部と、
上記形状特徴量算出部が算出した上記入力画像の形状特徴量と上記登録画像の形状特徴量とを比較して上記入力画像と上記登録画像との形状の類似度を算出する形状類似度算出部とを備えることを特徴とする請求項1、2、3、4又は5に記載の画像照合装置。
The shape similarity determination unit
A feature point calculation unit that calculates a feature point by extracting a connected portion of the input image from input image data;
A shape feature amount calculation unit that calculates a shape feature amount of the input image based on a relative position between the feature points calculated by the feature point calculation unit;
A shape similarity calculation unit that compares the shape feature value of the input image calculated by the shape feature value calculation unit with the shape feature value of the registered image and calculates the similarity of the shape of the input image and the registered image The image collating apparatus according to claim 1, 2, 3, 4 or 5.
第1の画像と第2の画像との類似性を、第1の画像及び第2の画像の各画像データより抽出した画像の形状に関する特徴を示す形状特徴量を比較して判定する形状類似性判定部と、
第1の画像と第2の画像との類似性を、第1の画像及び第2の画像の各画像データより抽出した画像の色に関する特徴を示す色特徴量を比較して判定する色類似性判定部と、
第1の画像及び第2の画像の各画像データより彩度を抽出して、第1の画像及び第2の画像が有彩であるか無彩であるかを判定する彩度判定部と、
上記形状類似性判定部の判定結果、上記色類似性判定部の判定結果、及び上記彩度判定部による判定結果にて、上記第1の画像と上記第2の画像との類似性を判定する類似性総合判定部とを備えることを特徴とする画像照合装置。
Shape similarity in which similarity between the first image and the second image is determined by comparing shape feature amounts indicating features related to the shape of the image extracted from the image data of the first image and the second image. A determination unit;
Color similarity for determining the similarity between the first image and the second image by comparing color feature amounts indicating characteristics relating to the colors of the images extracted from the image data of the first image and the second image A determination unit;
A saturation determination unit that extracts saturation from each image data of the first image and the second image, and determines whether the first image and the second image are chromatic or achromatic;
The similarity between the first image and the second image is determined based on the determination result of the shape similarity determination unit, the determination result of the color similarity determination unit, and the determination result of the saturation determination unit. An image collation apparatus comprising: a comprehensive similarity determination unit.
画像データに対して出力処理を施す画像データ出力処理装置であって、
請求項1〜7項の何れか1項に記載の画像照合装置を備えることを特徴とする画像データ出力処理装置。
An image data output processing device that performs output processing on image data,
An image data output processing device comprising the image collating device according to claim 1.
入力された画像データより画像の形状に関する特徴を示す形状特徴量を抽出して、登録されている登録画像の形状特徴量と比較し、上記入力された入力画像と上記登録画像との類似性を判定する形状類似性判定工程と、
上記入力された画像データより画像の色に関する特徴を示す色特徴量を抽出して、上記登録画像の色特徴量と比較し、上記入力画像と上記登録画像との類似性を判定する色類似性判定工程と、
入力された画像データより彩度を抽出して、入力画像が有彩であるか無彩であるかを判定する彩度判定工程と、
上記形状類似性判定工程の判定結果、上記色類似性判定工程の判定結果、及び上記彩度判定工程による判定結果にて、上記入力画像と上記登録画像との類似性を判定する類似性総合判定工程とを含むことを特徴とする画像照合方法。
A shape feature amount indicating a feature related to the shape of the image is extracted from the input image data, compared with the shape feature amount of the registered image, and the similarity between the input image and the registered image is determined. A shape similarity determination step for determining;
Color similarity that extracts the feature of the image color from the input image data, compares it with the color feature of the registered image, and determines the similarity between the input image and the registered image A determination process;
A saturation determination step for extracting saturation from the input image data and determining whether the input image is chromatic or achromatic;
Comprehensive similarity determination that determines the similarity between the input image and the registered image based on the determination result of the shape similarity determination step, the determination result of the color similarity determination step, and the determination result of the saturation determination step And an image collating method.
請求項1〜7の何れか1項に記載の画像照合装置の上記の各部としてコンピュータを機能させるためのプログラム。   The program for functioning a computer as said each part of the image collation apparatus of any one of Claims 1-7. 請求項10に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   The computer-readable recording medium which recorded the program of Claim 10.
JP2008132220A 2008-05-20 2008-05-20 Image collation method, image collation apparatus, image data output processing apparatus, program, and storage medium Expired - Fee Related JP4913094B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008132220A JP4913094B2 (en) 2008-05-20 2008-05-20 Image collation method, image collation apparatus, image data output processing apparatus, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008132220A JP4913094B2 (en) 2008-05-20 2008-05-20 Image collation method, image collation apparatus, image data output processing apparatus, program, and storage medium

Publications (2)

Publication Number Publication Date
JP2009284084A true JP2009284084A (en) 2009-12-03
JP4913094B2 JP4913094B2 (en) 2012-04-11

Family

ID=41454097

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008132220A Expired - Fee Related JP4913094B2 (en) 2008-05-20 2008-05-20 Image collation method, image collation apparatus, image data output processing apparatus, program, and storage medium

Country Status (1)

Country Link
JP (1) JP4913094B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014526754A (en) * 2011-09-27 2014-10-06 インテル・コーポレーション Face recognition method, apparatus, and computer-readable recording medium for executing the method
JP2015149078A (en) * 2012-03-06 2015-08-20 アップル インコーポレイテッド Application for viewing images
US9582518B2 (en) 2014-06-30 2017-02-28 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium
US9594981B2 (en) 2014-04-14 2017-03-14 Canon Kabushiki Kaisha Image search apparatus and control method thereof
JP2017219984A (en) * 2016-06-07 2017-12-14 大日本印刷株式会社 Image retrieval system, image dictionary creation system, image processing system and program
US10282055B2 (en) 2012-03-06 2019-05-07 Apple Inc. Ordered processing of edits for a media editing application
US10339412B2 (en) 2016-02-02 2019-07-02 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium
KR20190106994A (en) * 2017-01-11 2019-09-18 이네스크 테크-인스티투토 드 엔젠하리아 드 시스테마스 이 컴푸타도레스, 테크놀로지아 이 시엔시아 Method and apparatus for evaluating color similarity
US10552016B2 (en) 2012-03-06 2020-02-04 Apple Inc. User interface tools for cropping and straightening image
US10936173B2 (en) 2012-03-06 2021-03-02 Apple Inc. Unified slider control for modifying multiple image properties

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1196364A (en) * 1997-09-17 1999-04-09 Minolta Co Ltd Image feature amount comparing device and recording medium recording image feature amount comparison program
JP2000331167A (en) * 1999-05-25 2000-11-30 Medeikku Engineering:Kk Method and device for collating facial image
JP2003208615A (en) * 2002-01-15 2003-07-25 Fuji Photo Film Co Ltd Image processing device and program
JP2006031181A (en) * 2004-07-13 2006-02-02 Canon Inc Image retrieval system, method, storage medium, and program
JP2007144641A (en) * 2005-11-24 2007-06-14 Seiko Epson Corp Image processing technique
JP2008172318A (en) * 2007-01-09 2008-07-24 Noritsu Koki Co Ltd Image processor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1196364A (en) * 1997-09-17 1999-04-09 Minolta Co Ltd Image feature amount comparing device and recording medium recording image feature amount comparison program
JP2000331167A (en) * 1999-05-25 2000-11-30 Medeikku Engineering:Kk Method and device for collating facial image
JP2003208615A (en) * 2002-01-15 2003-07-25 Fuji Photo Film Co Ltd Image processing device and program
JP2006031181A (en) * 2004-07-13 2006-02-02 Canon Inc Image retrieval system, method, storage medium, and program
JP2007144641A (en) * 2005-11-24 2007-06-14 Seiko Epson Corp Image processing technique
JP2008172318A (en) * 2007-01-09 2008-07-24 Noritsu Koki Co Ltd Image processor

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016006679A (en) * 2011-09-27 2016-01-14 インテル・コーポレーション Face recognition method, apparatus, and computer-readable recording medium for implementing method
JP2014526754A (en) * 2011-09-27 2014-10-06 インテル・コーポレーション Face recognition method, apparatus, and computer-readable recording medium for executing the method
US9208375B2 (en) 2011-09-27 2015-12-08 Intel Corporation Face recognition mechanism
US10552016B2 (en) 2012-03-06 2020-02-04 Apple Inc. User interface tools for cropping and straightening image
JP2015149078A (en) * 2012-03-06 2015-08-20 アップル インコーポレイテッド Application for viewing images
US11481097B2 (en) 2012-03-06 2022-10-25 Apple Inc. User interface tools for cropping and straightening image
US11119635B2 (en) 2012-03-06 2021-09-14 Apple Inc. Fanning user interface controls for a media editing application
US10282055B2 (en) 2012-03-06 2019-05-07 Apple Inc. Ordered processing of edits for a media editing application
US10942634B2 (en) 2012-03-06 2021-03-09 Apple Inc. User interface tools for cropping and straightening image
US10936173B2 (en) 2012-03-06 2021-03-02 Apple Inc. Unified slider control for modifying multiple image properties
US10545631B2 (en) 2012-03-06 2020-01-28 Apple Inc. Fanning user interface controls for a media editing application
US9594981B2 (en) 2014-04-14 2017-03-14 Canon Kabushiki Kaisha Image search apparatus and control method thereof
US10147018B2 (en) 2014-06-30 2018-12-04 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium
US9582518B2 (en) 2014-06-30 2017-02-28 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium
US10339412B2 (en) 2016-02-02 2019-07-02 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium
JP2017219984A (en) * 2016-06-07 2017-12-14 大日本印刷株式会社 Image retrieval system, image dictionary creation system, image processing system and program
KR20190106994A (en) * 2017-01-11 2019-09-18 이네스크 테크-인스티투토 드 엔젠하리아 드 시스테마스 이 컴푸타도레스, 테크놀로지아 이 시엔시아 Method and apparatus for evaluating color similarity
KR102447599B1 (en) 2017-01-11 2022-09-27 이네스크 테크-인스티투토 드 엔젠하리아 드 시스테마스 이 컴푸타도레스, 테크놀로지아 이 시엔시아 Method and apparatus for evaluating color similarity

Also Published As

Publication number Publication date
JP4913094B2 (en) 2012-04-11

Similar Documents

Publication Publication Date Title
JP4538507B2 (en) Image collation method, image collation apparatus, image data output processing apparatus, program, and storage medium
JP4913094B2 (en) Image collation method, image collation apparatus, image data output processing apparatus, program, and storage medium
JP4604100B2 (en) Image processing method, image processing apparatus, image forming apparatus, program, and storage medium
JP4362528B2 (en) Image collation apparatus, image collation method, image data output processing apparatus, program, and recording medium
US8320683B2 (en) Image processing method, image processing apparatus, image reading apparatus, and image forming apparatus
JP4469885B2 (en) Image collation apparatus, image collation method, image data output processing apparatus, program, and recording medium
US8144994B2 (en) Image processing method, image processing apparatus, image reading apparatus, image forming apparatus, and recording medium
JP4362538B2 (en) Image processing apparatus, image forming apparatus, image transmitting apparatus, image reading apparatus, image processing system, image processing method, image processing program, and recording medium thereof
JP2009031876A (en) Image processor, image forming device and image reader therewith, image processing method, image processing program and recording medium recording image processing program
JP2009277045A (en) Image processing apparatus, image forming apparatus, image processing system, image processing method, image processing program and recording medium for the same
JP4378413B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing system, image processing method, image processing program, and recording medium thereof
US8300944B2 (en) Image processing method, image processing apparatus, image reading apparatus, image forming apparatus, image processing system, and storage medium
US8107738B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus and memory product
US8180159B2 (en) Image processing apparatus, image forming apparatus, image processing system, and image processing method
JP4362537B2 (en) Image processing apparatus, image forming apparatus, image transmitting apparatus, image reading apparatus, image processing system, image processing method, image processing program, and recording medium thereof
US8184912B2 (en) Image processing apparatus, image forming apparatus, image processing system, and image processing method
JP4340711B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4361946B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium storing the program
JP4588771B2 (en) Image processing method, image processing apparatus, image forming apparatus, program, and storage medium
JP4487003B2 (en) Image data output processing apparatus, image data output processing method, program, and recording medium
JP2008245147A (en) Image processor, image reader, image forming apparatus, image processing method, computer program and recording medium
JP2008154216A (en) Image processing method and device, image forming device, document reading device, computer program, and recording medium
JP2010130634A (en) Image processing apparatus, image data output processing device, image processing method, program and recording medium therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111004

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111205

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4913094

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150127

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees