WO2000049569A1 - Procede servant a extraire les caracteristiques d'une image binaire - Google Patents

Procede servant a extraire les caracteristiques d'une image binaire Download PDF

Info

Publication number
WO2000049569A1
WO2000049569A1 PCT/JP2000/000949 JP0000949W WO0049569A1 WO 2000049569 A1 WO2000049569 A1 WO 2000049569A1 JP 0000949 W JP0000949 W JP 0000949W WO 0049569 A1 WO0049569 A1 WO 0049569A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
image
pixel
line
image area
Prior art date
Application number
PCT/JP2000/000949
Other languages
English (en)
French (fr)
Inventor
Chiaki Todaka
Original Assignee
Nippon Chemi-Con Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Chemi-Con Corporation filed Critical Nippon Chemi-Con Corporation
Priority to US09/913,937 priority Critical patent/US6973259B1/en
Priority to EP00904048A priority patent/EP1178433A1/en
Publication of WO2000049569A1 publication Critical patent/WO2000049569A1/ja

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume

Definitions

  • the present invention relates to an image data feature extraction method used in an image processing device or the like, and particularly relates to an area and perimeter by scanning binary image data once.
  • the present invention relates to a method for extracting feature values of a binary image, which can appropriately and smoothly extract end point coordinates, barycentric position coordinates, second moment, and the like for each image area.
  • various methods have been proposed as means for extracting a desired feature amount from binary image data obtained by binarization captured from an imaging device such as a CCD camera.
  • the image signal is pre-processed (binarized) in the time series of the video signal itself, and pixels are scanned with the binary data by a raster scan method or the like, and the pixel is set to “1” or “0”.
  • a feature amount such as an area, a center of gravity, and a principal axis angle is extracted in real time.
  • a binary image storage means for storing a binary image
  • a contour of the binary image stored in the binary image storage means are tracked and a position coordinate of the contour pixel is defined as a closed loop.
  • the contour line is extracted, the contour line is traced, and the zeroth moment, the first moment, and the like are obtained from the position coordinate data of the pixels constituting the contour line by the feature amount calculating means, and the area is obtained from the zeroth moment. Also, the center of gravity of the image is calculated from the 0th and 1st moments, and the contour tracking (image detection) is performed.
  • a feature extraction device for a binary image configured to detect a feature has been proposed (Japanese Patent Application Laid-Open No. Hei 6-208623).
  • the feature extraction device for a binary image extracts an outline of an image existing in the image, traces the outline, and extracts pixels constituting the outline.
  • Moment is calculated from the position coordinate data, the area is calculated from the 0th moment, and the center of gravity of the image is calculated from the 0th and 1st moments.
  • This feature amount can be represented by the total number of pixels of the image area of interest. In this case, the minute noise can be easily removed because its value is small.
  • FIG. 8 the area S I of the image area A 1 and the area S 2 of the image area A 2 are shown, respectively.
  • This feature amount can be indicated by the number of end pixels (four neighbors) of the image area of interest. It is more effective to use a feature value that expresses the roundness from the area and the ratio than using the value alone.
  • FIG. 8 the perimeter L 1 of the image area A 1 and the perimeter L 2 of the area A 2 are shown, respectively.
  • This feature value indicates the coordinates of the top, bottom, right, and left edges of the image area of interest, respectively. These values provide location information for the image area of interest and are useful for direct access to image data.
  • FIG. 9 the upper end coordinates (X lu, Y lu), the left end coordinates (XII, Y ll), the lower end coordinates (X ld, Yld), and the right end coordinates (X lr, Y lr) of image area A 1 are shown.
  • This feature amount can indicate the barycentric position coordinates of the image area of interest.
  • This coordinate value is not always located inside the image area of interest.
  • the value can be calculated by the following formula, which is useful for calculating the distance between image areas.
  • Fig. 10 the coordinates of the center of gravity of the image area A1 (Xlg, Ylg) and the coordinates of the center of gravity of the image area A2 (X2g, Y2g) are shown.
  • the second moment of the image area of interest is calculated, and the major axis length a, minor axis length b, and angle 0 of the ellipse with the same moment can be indicated. Its value can be calculated by the following equation.
  • the inventor of the present invention has conducted intensive studies and studies.
  • the image data composed of binary images displayed in one frame is scanned by a raster scan method or the like, and the area, perimeter, end point, center of gravity, and moment of the image area are scanned.
  • a pixel immediately before the same line with respect to the detected pixel is set to 1
  • For the pixel immediately above the previous line check the content of each pixel, and if the detected pixel belongs to the image area of any one of the pixels, inherit the area number of that image area. Set.
  • the above-described processing operation is repeatedly performed on the succeeding pixels sequentially to store the image data in the line buffer, and the scanning of one line is completed. Then, at this time, if the area numbers are different even though the image areas are continuous for each pixel, the line buffer is reversely scanned and the different area numbers are changed to the same area number. Align. Further, by performing the same line scan as described above up to the final line over the entire frame, the binary image data is scanned one time by setting to store the feature amount for each image area. As a result, it was found that the area, perimeter, end point coordinates, barycentric position coordinates, second moment, and the like can be appropriately and smoothly extracted for each image area.
  • an object of the present invention is to extract a required amount of feature from each binary by appropriately scanning the image data at the time of extracting a feature from binary image data.
  • An object of the present invention is to provide an image feature extraction method. DISCLOSURE OF THE INVENTION
  • a method for extracting a feature amount of a binary image according to the present invention includes: In the feature extraction method for binary images, which extracts features such as area, perimeter, end point, center of gravity, and moment,
  • the pixel immediately before the same line as the detected pixel and the pixel immediately above the previous line are detected.
  • the content of each of the pixels is checked, and when the detected pixel belongs to the image area of one of the pixels, the area number of the image area is inherited, and the processing operation is sequentially performed on the succeeding pixels.
  • the line data is stored in the line buffer and the scanning of one line is completed, if the area number is different even though the image area is continuous for each pixel, the line buffer is reversely scanned. Then, the different area numbers are matched with the same area numbers, and the same line scan is performed until the last line of one frame. And to store the feature amounts in each respective image Eria.
  • one line of the image data is scanned, and when a pixel having a predetermined density is detected, a pixel immediately before the same line as the detected pixel and a pixel of the previous line are detected.
  • a pixel immediately above check the contents of each pixel, and if the detected pixel belongs to the image area of both pixels, give priority to the pixel immediately above and inherit the area number of that image area Can be.
  • one line of the image data is scanned, and the next N pixels (N is 1) at the time when an image area including a required area number ends. Can be set as the quasi-image area of the adjacent image area. Further, by scanning one line of the image data overnight, the image area consisting of the same area number ends, and the image area consisting of the required area number is located immediately above the previous line. When the process is completed, N pixels (N is an integer of 1 or more) can be set as a quasi-image area of the immediately above image area.
  • FIG. 1 is a diagram showing a memory format for storing a feature structure of image data, that is, a feature amount of image data, for implementing a feature amount extraction method for a binary image according to the present invention.
  • FIG. 2 is an explanatory diagram of image data showing a state of occurrence of an image area of image data in the method of extracting a feature amount of a binary image according to the present invention.
  • FIGS. 3A to 3C are explanatory diagrams of image data indicating different inheritance states of image areas in an image area in the binary image feature extraction method according to the present invention.
  • FIGS. 4 (a) and 4 (b) are explanatory diagrams of image data showing the merged state of the image areas over the entire image in the binary image feature amount extraction method according to the present invention.
  • FIG. 5 is an explanatory diagram of an image data showing a generation state of a connected image area of image data in the feature extraction method for a binary image according to the present invention.
  • FIG. 6 is an explanatory diagram of image data showing the inherited state of a connected image area of image data in the method of extracting a feature amount of a binary image according to the present invention.
  • FIGS. 7 (a) and 7 (b) are illustrations of the image data showing the merged state of the connected image areas of the image data in the binary image feature extraction method according to the present invention.
  • FIG. 8 is an explanatory diagram of the image data showing the area and the perimeter of the target image area of the image data in the method of extracting the feature amount of the binary image.
  • FIG. 9 is an explanatory diagram of image data showing end point coordinate groups of an image area of interest of image data in the feature extraction method for a binary image.
  • FIG. 10 is an explanatory diagram of image data indicating respective barycentric position coordinates of an image area of interest of image data in the feature amount extraction method for a binary image.
  • FIG. 11 is an explanatory diagram of image data each showing a second moment of an image area of interest in an image image in the feature extraction method for a binary image.
  • BEST MODE FOR CARRYING OUT THE INVENTION a best mode for carrying out a method for extracting a feature amount of a binary image according to the present invention will be described in detail with reference to the accompanying drawings.
  • FIG. 1 shows one embodiment of a method for extracting a feature amount of a binary image according to the present invention.
  • the data structure for each image area for extracting the feature amount that is, the feature amount for storing the feature amount of image data Indicates the memory format.
  • the feature amounts of the binary image include the area, perimeter, end point coordinates, barycentric position coordinates, and second moment for each image area An described above.
  • the feature amount of the image data is determined by the area, perimeter, top point X coordinate, top point y coordinate, bottom point X coordinate, lower end point y coordinate, left end point X coordinate, left end point y coordinate, right end point X coordinate, right end point y coordinate, sum of X, sum of y, sum of x * x, sum of y * y, x * This is the sum of y.
  • the pixel An_ which is one line before the same line of the corresponding pixel An, and one pixel before, Of the pixel An immediately above the line, and finds which image area the pixel An belongs to. Then, if both have no image area, a new image area A1 is generated.
  • the pixel An— immediately before the corresponding pixel An and / or the pixel An + 1 immediately above the corresponding pixel An are extracted. Look to see which image area each pixel belongs to. Then, if the previous pixel An has the image area A2 with respect to the pixel An, the pixel An inherits the horizontal image area A2 (see FIG. 3A). Also, if the pixel An + 1 immediately above the pixel An has the image area A2, the pixel An inherits the image area A2 immediately above the pixel An (see FIG. 3 (b)).
  • the pixel An is the image area A of the pixel An + 1 immediately above. 2 (priority in the upward direction), and inherits the image area A2 immediately above it (see (c) in Fig. 3).
  • the image area differs even though the image area is continuous as shown in (a) of Fig. 4. May be an area number.
  • the line buffer is reversely scanned in order to merge the image areas.
  • the adjacent pixels are all aligned with the same image area A2, and the image area for processing the feature data is also merged. Wait for use of data processing.
  • each feature will be shown in Fig. 1 for each image area. It can be stored in memory (line buffer) according to the data structure (memory 'format).
  • the line buffer is inversely scanned to obtain the (b) of FIG. As shown in FIG. The matching is performed so that the same image area including the image area is obtained.
  • the area, the perimeter, and the end point of the conventional image area are described based on the feature amount data extracted for each image area. It is possible to properly and smoothly extract the characteristic amount including the coordinate group, the coordinates of the position of the center of gravity, and the second moment.
  • the method for extracting the feature amount of a binary image according to the present invention is a method of scanning an image composed of binary images displayed in one frame.
  • a binary image feature extraction method which scans the image area and extracts features such as the area, perimeter, endpoints, center of gravity, and moment of the image area, one line of image data is scanned.
  • the content of each pixel is checked for the pixel immediately before the same line as the detected pixel and the pixel immediately above the previous line,
  • the area number of the image area is inherited, and the processing operation is sequentially performed on the succeeding pixels, and the image data is line buffered
  • the line buffer is reverse-scanned to make the difference.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Description

明細書
2値画像の特徴量抽出方法 技術分野 本発明は、 画像処理装置等に使用される画像デ一夕の特徴量抽出方法に係り、 特に 2値画像データを 1スキャンすることにより、 面積、 周囲長、 端点座標、 重 心位置座標、 2次モーメント等を各画像ェリァ毎に適正かつ円滑に抽出すること ができる 2値画像の特徴量抽出方法に関するものである。 背景技術 従来、 C C Dカメラ等の撮像装置から取り込んだ 2値化して得られた 2値画像 データから、 所望の特徴量を抽出する手段として種々の方式が提案されている。 例えば、 ビデオ信号そのものの時系列で画像信号を前処理 (2値化) し、 その 2値化データに対してラス夕スキャン方式等により画素を走査し、 その画素の " 1 "、 " 0 " の状態から画像を検出すると共に、 その画像の領域内に存在する画 素を、 面積分その他種々の演算処理を行うことにより、 面積、 重心、 主軸角等の 特徴量をリアルタイムに抽出する方式が知られている。
しかし、 この抽出方式によれば、 面積等の特徴量の抽出には、 全ての画素を抽 出 (アクセス) して面積分を行うため、 その処理ステップが多く、 高速処理に適 さない難点がある。
このような観点から、従来において、 2値画像を記憶する 2値画像記憶手段と、 この 2値画像記憶手段に記憶された 2値画像の輪郭を追跡して輪郭画素の位置座 標を閉ループとして得る輪郭追跡手段と、 前記輪郭追跡手段によって得た輪郭画 素の位置座標に関する単項式を、 輪郭を示す閉ループに関して積分することによ つて、 前記閉ループに囲まれた図形に関する特徴量を抽出する特徴量算出手段を 設けることにより、 前記輪郭追跡手段により画像データ中に存在する物体等の輪 郭線を抽出し、 その輪郭線の追跡を行い、 そして前記特徴量算出手段により輪郭 線を構成する画素の位置座標データから、 0次モーメント、 1次モーメント等を 求め、 そして 0次モーメントから面積を求め、 また 0次、 1次モーメントから画 像の重心を算出して、 輪郭線追跡 (画像検出) を行いながら、 しかも輪郭線を構 成する画素データという少ない画素から、 面積、 重心等の特徴量を検出するよう に構成した 2値画像の特徴量抽出装置が提案されている (特開平 6— 2 0 8 6 2 3号公報)。
しかるに、 前述した従来の提案に係る 2値画像の特徴量抽出装置は、 画像デ一 夕中に存在する画像の輪郭線を抽出し、 その輪郭線の追跡を行うと共に輪郭線を 構成する画素の位置座標データからモ一メントをそれぞれ求め、 0次モーメント からは面積を求め、 また 0次および 1次モーメントからは画像の重心を算出する 等の演算処理を行うものであり、 データの処理量は低減することができるが、 演 算処理は依然として複雑であり、 特徴量抽出のためのデータ処理の容易化および 迅速化に限界があった。
一般に、 画像データの特徴量としては、 次のような種類が知られている。
1 . 面積 S
この特徴量は、着目する画像エリアの総画素数で示すことができる。 この場合、 微少ノイズは、 その値が小さいため、 容易に除去することができる。 図 8におい て、画像エリア A 1の面積 S Iおよび画像エリア A 2の面積 S 2をそれぞれ示す。
2 . 周囲長 L
この特徴量は、着目する画像エリアの端画素数(4隣接)で示すことができる。 その値は、 単独で使用するよりも、 面積と比とから丸っこさを表す特徴量が有効 である。 図 8において、 画像エリア A 1の周囲長 L 1 およびエリア A 2の周囲長 L 2をそれぞれ示す。
3 . 端点座標群 (上端、 下端、 左端、 右端)
この特徴量は、 着目する画像エリアの上端、 下端、 右端、 左端の座標をそれぞ れ示す。 これらの値は、 着目する画像エリアの位置情報を提供し、 画像データの 直接のアクセスに役立つ。 図 9において、 画像エリア A 1の上端座標 (X lu, Y lu)、 左端座標 (X I I , Y l l)、 下端座標 (X ld, Yld)、 右端座標 (X l r, Y l r) および画像エリア A 2の上端座標 (X2u, Y 2u) , 左端座標 (X21, Y21)、 下端 座標 (X2d, Y2d)、 右端座標 (X2r, Y2r) をそれぞれ示す。
4 . 重心位置座標
この特徴量は、 着目する画像エリアの重心位置座標を示すことができる。 この 座標値は、 着目する画像エリアの内部に位置するとは限らない。 その値は、 次式 により計算することができ、 画像ェリァ間の距離の計算等に役立つ。
Figure imgf000005_0001
図 1 0において、 画像エリア A 1の重心位置座標 (X lg, Y lg) および画像ェ リア A 2の重心位置座標 (X2g, Y2g) をそれぞれ示す。
5 . 2次モーメント
この特徴量は、 着目する画像エリアの 2次モーメントを計算し、 モーメントの 等しい楕円の主軸長 a、 副軸長 b、 角度 0を示すことができる。 その値は、 次式 により計算することができる。
Figure imgf000005_0002
但し、 max = ,l,2,3
Figure imgf000005_0003
Figure imgf000006_0001
但し、
N
^ =xi
Syy =∑ ?
i=l
N
Sxy =∑ XJi
i=l
図 1 1において、 画像エリア A 1の 2次モーメント (a l, b l, θ 1 ) および 画像エリア A 2の 2次モーメント (a 2, b 2, θ 2) をそれぞれ示す。
そこで、 本発明者は鋭意研究並びに検討を重ねた結果、 1フレームに表示され る 2値画像からなる画像データをラスタスキャン方式等によりスキャンして画像 エリアの面積、 周囲長、 端点、 重心およびモーメント等の特徴量を抽出する場合 において、 前記画像データの 1ラインのスキャンを行って、 所定の濃度を有する 画素を検知した際に、 前記検知画素に対し同一ラインの 1つ前の画素と、 1つ前 のラインの直上の画素とについて、 それぞれ前記各画素の内容を確認し、 前記検 知画素が前記いずれか一方の画素の画像ェリアに属する場合にその画像ェリアの エリア番号を継承するように設定する。 次いで、 順次後続する画素について前記 処理操作を繰り返し行って画像データをラインバッファに記憶させ、 1ラインの スキャンを終了させる。 そして、 その際に、 各画素について画像エリアが連続し ているにも拘らずエリア番号が相違する場合に、 前記ラインバッファを逆スキヤ ンして前記相違しているエリア番号を同一のエリア番号に整合させる。 さらに、 1フレーム全体に亘つて、 最終ラインまで前記と同様のラインスキャンを行うこ とにより、それぞれ画像ェリァ毎に特徴量を記憶するように設定することにより、 2値画像データを 1スキャンすることにより、 面積、 周囲長、 端点座標、 重心位 置座標、 2次モーメント等を各画像ェリァ毎に適正かつ円滑に抽出することがで きることを突き止めた。 従って、 本発明の目的は、 2値画像データにおける特徴量の抽出に際して、 画 像データを 1スキヤンすることにより、 所要の特徴量を各ェリァ毎に適正かつ簡 便に抽出することができる 2値画像の特徴量抽出方法を提供することにある。 発明の開示 前記目的を達成するために、 本発明に係る 2値画像の特徴量抽出方法は、 1フ レームに表示される 2値画像からなる画像データをラス夕スキャン方式等により スキャンして画像エリアの面積、 周囲長、 端点、 重心およびモーメント等の特徴 量を抽出する 2値画像の特徴量抽出方法において、
画像データの 1ラインのスキャンを行って、 所定の濃度を有する画素を検知し た際に、 前記検知画素に対し同一ラインの 1つ前の画素と、 1つ前のラインの直 上の画素とについて、 それぞれ前記各画素の内容を確認し、 前記検知画素が前記 いずれか一方の画素の画像ェリアに属する場合にその画像ェリアのェリァ番号を 継承すると共に、 順次後続する画素について前記処理操作を行って画像データを ラインバッファに記憶させ、 1ラインのスキャンを終了した際に、 各画素につい て画像エリアが連続しているにも拘らずエリア番号が相違する場合に、 前記ライ ンバッファを逆スキャンして前記相違しているエリァ番号を同一のェリァ番号に 整合させ、 以下 1フレームの最終ラインまで前記と同様のラインスキャンを行う ことによりそれぞれ画像ェリァ毎に特徴量を記憶することを特徴とする。
この場合、 前記画像データの 1ラインのスキャンを行って、 所定の濃度を有す る画素を検知した際に、 前記検知画素に対し同一ラインの 1つ前の画素と、 1つ 前のラインの直上の画素とについて、 それぞれ前記各画素の内容を確認し、 前記 検知画素が前記両方の画素の画像エリアに属する場合に、 前記直上の画素を優先 させてその画像エリアのエリア番号を継承させることができる。
また、 本発明に係る 2値画像の特徴量抽出方法においては、 前記画像データの 1ラインのスキャンを行って、 所要のエリア番号からなる画像エリアが終了した 時点の次の N画素 (Nは 1以上の整数) を、 隣接する画像エリアの準画像エリア として設定することができる。 さらに、 前記画像デ一夕の 1ラインのスキャンを行って、 同一のエリア番号か らなる画像エリアが終了すると共に、 1つ前のラインの直上の画素が所要のエリ ァ番号からなる画像エリアが終了している場合に、 N画素 (Nは 1以上の整数) について前記直上に隣接する画像ェリアの準画像ェリアとして設定することがで さる。
そして、 前記 1ラインのスキャンを終了した際に、 各画素について画像エリア が準画像エリアと共に連続しているにも拘らずエリア番号が相違する場合に、 前 記ラインバッファを逆スキャンして前記相違しているエリァ番号を共通のエリァ 番号に整合させることができる。 図面の簡単な説明 図 1は、 本発明に係る 2値画像の特徴量抽出方法を実施する画像データの特徴 量のデ一夕構造すなわち画像データの特徴量を記憶するためのメモリ ·フォーマ ットを示す説明図である。
図 2は、 本発明に係る 2値画像の特徴量抽出方法における画像データの画像ェ リアの発生状態を示す画像データの説明図である。
図 3 ( a ) 〜 (c ) は、 本発明に係る 2値画像の特徴量抽出方法における画像 デ一夕の画像エリアのそれぞれ異なる継承状態を示す画像データの説明図である。 図 4 ( a ) および (b ) は、 本発明に係る 2値画像の特徴量抽出方法における 画像デ一夕の画像エリアの合併状態を示す画像データの説明図である。
図 5は、 本発明に係る 2値画像の特徴量抽出方法における画像データの連結画 像エリアの発生状態を示す画像デ一夕の説明図である。
図 6は、 本発明に係る 2値画像の特徴量抽出方法における画像データの連結画 像エリアの継承状態を示す画像データの説明図である。
図 7 ( a ) および (b ) は、 本発明に係る 2値画像の特徴量抽出方法における 画像データの連結画像エリアの合併状態を示す画像デ一夕の説明図である。
図 8は、 2値画像の特徴量抽出方法における画像データの着目画像ェリァの面 積および周囲長をそれぞれ示す画像デ一夕の説明図である。 図 9は、 2値画像の特徴量抽出方法における画像データの着目画像エリアの端 点座標群をそれぞれ示す画像データの説明図である。
図 1 0は、 2値画像の特徴量抽出方法における画像データの着目画像エリアの 重心位置座標をそれぞれ示す画像データの説明図である。
図 1 1は、 2値画像の特徴量抽出方法における画像デ一夕の着目画像エリアの 2次モーメントをそれぞれ示す画像データの説明図である。 発明を実施するための最良の形態 次に、 本発明に係る 2値画像の特徴量抽出方法を実施するための最良の形態に つき、 添付図面を参照しながら以下詳細に説明する。
図 1は、 本発明における 2値画像の特徴量抽出方法の一実施形態を示すもので あり、 特徴量を抽出するための各画像エリァ毎のデータ構造すなわち画像データ の特徴量を記憶するためのメモリ · フォーマットを示すものである。 なお、 本実 施形態において、 2値画像の特徴量としては、 前述した各画像エリア A n毎の面 積、 周囲長、 端点座標、 重心位置座標および 2次モーメントである。
従って、 図 1に示す画像エリア A nのおいて、 画像デ一夕の特徴量は、 画像ェ リア有効フラグを先頭として、 順次面積、 周囲長、 上端点 X座標、 上端点 y座標、 下端点 X座標、 下端点 y座標、 左端点 X座標、 左端点 y座標、 右端点 X座標、 右 端点 y座標、 Xの総和、 yの総和、 x * xの総和、 y * yの総和、 x * yの総和 である。
次に、 2値画像の特徴量の抽出方法について説明する。
1 . 特徴量のデータ処理
1画面における画像データに対して、ラインスキヤンする場合、例えば座標(X j , Yj ) において黒画素 (いずれかの有効画像エリア) が存在すれば、 図 1に示 す所要の画像エリア A nに対し、 前記画像データの特徴量について、 それぞれ次 の通りメモリ (ラインバッファ) への書き込み処理が実行され、 記憶される。
(1)属する画像エリアの面積をインクリメントする
(2)そこが画像エリアの境界であれば周囲長をィンクリメン卜する (3)そこが画像エリアの端であれば置き換えを行う (端点座標)
(4) Xの総和を更新する (重心位置座標の算出に使用する)
(5) yの総和を更新する (重心位置座標の算出に使用する)
(6) * Xの総和を更新する ( 2次モーメントの算出に使用する)
(7) y * yの総和を更新する (2次モーメントの算出に使用する)
(8) X * yの総和を更新する (2次モーメントの算出に使用する)
2. 特徴量の発生
画像データに対する 1ラインのスキャンにおいて、 前述したように、 黒画素 A nがきた場合、 図 2に示すように、 該当する画素 Anの同一ラインの 1つ前の画 素 An_,と、 1つ前のラインの直上の画素 An + 1とをそれぞれ見て、 当該画素 A nがどの画像エリアに属するのかを探す。 そして、 もしその両者共画像エリアを 持っていなければ、 新しい画像エリア A 1を発生させる。
3. 特徴量の継承
次いで、画像データに対する 1ラインのスキャンにおいて、図 3の(a)〜(c) にそれぞれ示すように、 該当する画素 Anの 1つ前の画素 An— ,および /または 直上の画素 An+1 を見て、 それぞれの画素がどの画像エリアに属するのかを探 す。 そして、 当該画素 Anに対し、 1つ前の画素 An が画像エリア A 2を持つ ていれば、 当該画素 Anはその横画像エリア A 2を継承する 〔図 3の (a) 参照〕。 また、 当該画素 Anに対し、 直上の画素 An+1 が画像エリア A 2を持ってい れば、 当該画素 Anはその直上の画像エリア A 2を継承する 〔図 3の (b) 参照〕。 さらに、 当該画素 Anに対し、 1つ前の画素 An および直上の画素 An+1が それぞれ画像エリア A 1および A 2を持っていれば、 当該画素 Anは直上の画素 An+1 の画像エリア A 2を優先 (上方向優先) して、 その直上の画像エリア A 2を継承する 〔図 3の (c) 参照〕。
4. 特徴量の合併
前述した特徴量の発生と継承を繰り返して、 画像デ一夕の 1ラインに対するス キャンを終了すると、 図 4の (a) に示すように、 画像エリアが連続しているに も拘らず、 異なるエリア番号となっていることがある。 この場合、 前記画像エリ ァを合併させるために、 ラインバッファを逆スキャンする。 そして、 図 4の (b) に示すように、前記隣接する画素を全て同じ画像ェリア A 2に整合させると共に、 特徴量のデータ処理を行う画像エリアも合併させて、 デ一夕の空白となった部分 は初期化して、 次のデータ処理の使用のために待機させる。
前述したように、 特徴量の発生、 継承および合併の処理を、 画像データの 1ラ インスキャン毎に最終ラインまで実行していけば、 それぞれの特徴量は、 画像ェ リア毎に図 1に示すデータ構造 (メモリ 'フォーマット) に従ってメモリ (ライ ンバッファ) へ記憶させることができる。
5 . 特徴量の連結
次に、 前述した特徴量の発生、 継承および合併の処理の結果、 合併の条件を満 たさずに、 幾つかの画素によって離間している画像エリアについても、 同一画像 エリアとみなすことが有効である。 すなわち、 「ドットマーキング」 や 「かすれ」 等の画像デ一夕に対しては必要である。
すなわち、 この場合は、 N画素離れている 2つの画像エリアについて、 例えば N = 2としてこれらに該当する隣接する 2画素を準画像エリアとし、 前記 2つの 画像エリアを同一の画像エリアとして連結することである。これらの連結手法は、 前記特徴量の発生、 継承および合併の処理に準じて処理される。
( a ) 連結画像エリアの発生
図 5に示すように、 当該画素 A nにおける画像エリア A2. 0 の発生において、 その画像エリア A2. 0 が終了した時点から、 その後の 2画素 A n +I、 A n +2 (N = 2とする) を準画像エリア A2. 1、 A2. 2として発生させ、 画像エリア A2. 0情報 と共に距離情報をラインバッファに記憶させる。
( b ) 連結画像エリアの継承
同様にして、 図 6に示すように、 直上の画素 A n +1 が画像エリア A2. 0 を持 つていれば、 当該画素 A nとその後の画素 A n+Iとの隣接する 2画素の範囲内に おいて、 それぞれ準画像エリア A2. 1、 A2. 2として継承させる。
( c ) 連結画像エリアの合併
さらに、 図 7の (a ) に示すように、 画像エリアが連続しているにも拘らず、 異なるエリァ番号となっている場合には、 ラインバッファを逆スキヤンすること により、 図 7の (b ) に示すように、 前記隣接する画素を画像エリアおよび準画 像エリアを含めて同じ画像エリアとなるように整合させる。
従って、 前述した本発明による 2値画像の特徴量抽出方法によれば、 画像エリ ァ毎に抽出された特徴量のデータに基づいて、 前述したと従来における画像エリ ァの面積、 周囲長、 端点座標群、 重心位置座標および 2次モーメントからなる特 徴量を適正かつ円滑に抽出することができる。
以上、 本発明を実施するための最良の形態について説明したが、 本発明は前記 実施形態に限定されることなく、 本発明の精神を逸脱しない範囲内において種々 の設計変更をすることができる。 産業上の利用可能性 前述した実施形態から明らかなように、 本発明に係る 2値画像の特徴量抽出方 法は、 1フレームに表示される 2値画像からなる画像デ一夕をラス夕スキャン方 式等によりスキャンして画像エリアの面積、 周囲長、 端点、 重心およびモーメン ト等の特徴量を抽出する 2値画像の特徴量抽出方法において、 画像データの 1ラ インのスキャンを行って、 所定の濃度を有する画素を検知した際に、 前記検知画 素に対し同一ラインの 1つ前の画素と、 1つ前のラインの直上の画素とについて、 それぞれ前記各画素の内容を確認し、 前記検知画素が前記いずれか一方の画素の 画像エリアに属する場合にその画像エリアのエリア番号を継承すると共に、 順次 後続する画素について前記処理操作を行って画像データをラインバッファに記憶 させ、 1ラインのスキャンを終了した際に、 各画素について画像エリアが連続し ているにも拘らずエリア番号が相違する場合に、 前記ラインバッファを逆スキヤ ンして前記相違しているエリア番号を同一の番号に整合させ、 以下 1フレームの 最終ラインまで前記と同様のラインスキャンを行うことによりそれぞれ画像エリ ァ毎に特徴量を記憶することにより、 2値画像データを 1スキヤンすることによ り、 面積、 周囲長、 端点座標、 重心位置座標、 2次モーメント等を各画像エリア 毎に適正かつ円滑に抽出することができる。

Claims

請求の範囲
1 . 1フレームに表示される 2値画像からなる画像データをラス夕スキャン方 式等によりスキャンして画像エリアの面積、 周囲長、 端点、 重心およびモーメン ト等の特徴量を抽出する 2値画像の特徴量抽出方法において、
画像データの 1ラインのスキャンを行って、 所定の濃度を有する画素を検知し た際に、 前記検知画素に対し同一ラインの 1つ前の画素と、 1つ前のラインの直 上の画素とについて、 それぞれ前記各画素の内容を確認し、 前記検知画素が前記 いずれか一方の画素の画像ェリァに属する場合にその画像ェリアのェリァ番号を 継承すると共に、 順次後続する画素について前記処理操作を行って画像データを ラインバッファに記憶させ、 1ラインのスキャンを終了した際に、 各画素につい て画像エリアが連続しているにも拘らずエリア番号が相違する場合に、 前記ライ ンバッファを逆スキャンして前記相違しているエリア番号を同一のエリア番号に 整合させ、 以下 1フレームの最終ラインまで前記と同様のラインスキャンを行う ことによりそれぞれ画像ェリァ毎に特徴量を記億することを特徵とする 2値画像 の特徴量抽出方法。
2 . 画像データの 1ラインのスキャンを行って、 所定の濃度を有する画素を検 知した際に、 前記検知画素に対し同一ラインの 1つ前の画素と、 1つ前のライン の直上の画素とについて、 それぞれ前記各画素の内容を確認し、 前記検知画素が 前記両方の画素の画像エリアに属する場合に、 前記直上の画素を優先させてその 画像ェリアのェリァ番号を継承してなる請求項 1記載の 2値画像の特徴量抽出方 法。
3 . 画像データの 1ラインのスキャンを行って、 所要のエリア番号からなる画 像エリアが終了した時点の次の N画素 (Nは 1以上の整数) を、 隣接する画像ェ リアの準画像エリアとして設定してなる請求項 1または 2記載の 2値画像の特徴 量抽出方法。
4 . 画像データの 1ラインのスキャンを行って、 同一のエリア番号からなる画 像エリァが終了すると共に、 1つ前のラインの直上の画素が所要のェリァ番号か らなる画像エリアが終了している場合に、 N画素 (Nは 1以上の整数) について 前記直上に隣接する画像ェリァの準画像ェリアとして設定してなる請求項 1また は 2記載の 2値画像の特徴量抽出方法。
5 . 1ラインのスキャンを終了した際に、 各画素について画像エリアが準画像 エリアと共に連続しているにも拘らずエリア番号が相違する場合に、 前記ライン バッファを逆スキャンして前記相違しているエリア番号を共通のエリア番号に整 合させてなる請求項 3または 4記載の 2値画像の特徴量抽出方法。
PCT/JP2000/000949 1999-02-19 2000-02-18 Procede servant a extraire les caracteristiques d'une image binaire WO2000049569A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US09/913,937 US6973259B1 (en) 1999-02-19 2000-02-18 Method for extracting feature of binary image
EP00904048A EP1178433A1 (en) 1999-02-19 2000-02-18 Method for extracting feature of binary image

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP04229599A JP4221534B2 (ja) 1999-02-19 1999-02-19 2値画像の特徴量抽出方法
JP11/42295 1999-02-19

Publications (1)

Publication Number Publication Date
WO2000049569A1 true WO2000049569A1 (fr) 2000-08-24

Family

ID=12632060

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2000/000949 WO2000049569A1 (fr) 1999-02-19 2000-02-18 Procede servant a extraire les caracteristiques d'une image binaire

Country Status (4)

Country Link
US (1) US6973259B1 (ja)
EP (1) EP1178433A1 (ja)
JP (1) JP4221534B2 (ja)
WO (1) WO2000049569A1 (ja)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1364340A2 (en) * 2001-02-26 2003-11-26 Visible Diagnostic Method of detecting and segmenting characteristics areas in a picture, and use of the method
EP1605402A2 (en) * 2004-06-10 2005-12-14 Sony Corporation Image processing device and method, recording medium, and program for blur correction
WO2007130375A2 (en) * 2006-05-02 2007-11-15 Right Force Orthodontics Inc. Method and system for determining a force and/or torque applied to an orthodontic bracket
US8104055B2 (en) * 2007-11-14 2012-01-24 Mavs Lab. Inc. Method of identifying target synchronization point pair through scan-line image matching scheme
CN101620733B (zh) * 2008-06-30 2012-01-11 睿致科技股份有限公司 一种混合式连结组件标签方法
JP5027075B2 (ja) * 2008-08-05 2012-09-19 株式会社ジャパンディスプレイウェスト 画像処理装置、画像入力装置および画像入出力装置
KR101429923B1 (ko) 2011-12-06 2014-08-13 엘지디스플레이 주식회사 터치 영역 라벨링 방법 및 그를 이용한 터치 센서 구동 장치

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05120425A (ja) * 1991-10-28 1993-05-18 Kawasaki Steel Corp 画像処理のラベル付け回路
JPH05258056A (ja) * 1992-03-12 1993-10-08 Isao Horiba 画像処理装置
JPH07175925A (ja) * 1993-12-17 1995-07-14 Mitsubishi Electric Corp 特徴量算出装置及び特徴量算出方法
JPH07175932A (ja) * 1993-12-20 1995-07-14 Kawasaki Steel Corp 画像処理装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4183013A (en) * 1976-11-29 1980-01-08 Coulter Electronics, Inc. System for extracting shape features from an image
EP0552791B1 (en) * 1992-01-24 2003-05-02 Canon Kabushiki Kaisha Apparatus and method for extracting outline data and encoding image data using the outline data
US6483942B1 (en) * 1999-09-27 2002-11-19 Xerox Corporation Micro region count image texture characterization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05120425A (ja) * 1991-10-28 1993-05-18 Kawasaki Steel Corp 画像処理のラベル付け回路
JPH05258056A (ja) * 1992-03-12 1993-10-08 Isao Horiba 画像処理装置
JPH07175925A (ja) * 1993-12-17 1995-07-14 Mitsubishi Electric Corp 特徴量算出装置及び特徴量算出方法
JPH07175932A (ja) * 1993-12-20 1995-07-14 Kawasaki Steel Corp 画像処理装置

Also Published As

Publication number Publication date
JP2000242798A (ja) 2000-09-08
EP1178433A1 (en) 2002-02-06
JP4221534B2 (ja) 2009-02-12
US6973259B1 (en) 2005-12-06

Similar Documents

Publication Publication Date Title
JP3987264B2 (ja) ナンバープレート読取装置及び方法
EP1091320A2 (en) Processing multiple digital images
JPH0823890B2 (ja) 署名を自動検証する方法と装置
EP1081648B1 (en) Method for processing a digital image
JP4395188B2 (ja) 文書画像認識装置および文書画像認識プログラムの記憶媒体
CN113705673B (zh) 一种文字检测方法、装置、设备及存储介质
JP4993615B2 (ja) 画像認識方法および装置
KR102223754B1 (ko) 객체 이미지 개선 방법 및 장치
CN113158895A (zh) 票据识别方法、装置、电子设备及存储介质
WO2000049569A1 (fr) Procede servant a extraire les caracteristiques d'une image binaire
US5546479A (en) Method for detecting inclination of an image of characters
CN114140794A (zh) 一种基于ocr的通用图像校正方法
US5119445A (en) Feature extracting method
JP3516118B2 (ja) 物体認識方法および物体認識装置
CN116030236A (zh) 针对移动应用页面中动态区域的快速检测方法
JPH0130180B2 (ja)
JP2002133424A (ja) 文書の傾き角度及び境界の検出方法
JP3164835B2 (ja) 人物画像認識における前処理方法および後処理方法
JPH0896072A (ja) ページ傾き検出方法
JP2785747B2 (ja) 文字読取装置
JP2616994B2 (ja) 特徴抽出装置
JP2557872B2 (ja) 画像特徴抽出方法
Nakajima et al. Document reconstruction and recognition from an image sequence
JP2973892B2 (ja) 文字認識方式
JPH11232463A (ja) 画像認識装置および方法

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
WWE Wipo information: entry into national phase

Ref document number: 2000904048

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 09913937

Country of ref document: US

WWP Wipo information: published in national office

Ref document number: 2000904048

Country of ref document: EP