EP1815401A1 - Method for automatic shape classification - Google Patents

Method for automatic shape classification

Info

Publication number
EP1815401A1
EP1815401A1 EP05826508A EP05826508A EP1815401A1 EP 1815401 A1 EP1815401 A1 EP 1815401A1 EP 05826508 A EP05826508 A EP 05826508A EP 05826508 A EP05826508 A EP 05826508A EP 1815401 A1 EP1815401 A1 EP 1815401A1
Authority
EP
European Patent Office
Prior art keywords
shape
shapes
average
group
similar
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.)
Withdrawn
Application number
EP05826508A
Other languages
German (de)
French (fr)
Inventor
Hui Luo
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.)
Carestream Health Inc
Original Assignee
Eastman Kodak Co
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 Eastman Kodak Co filed Critical Eastman Kodak Co
Priority claimed from PCT/US2005/042595 external-priority patent/WO2006058154A1/en
Publication of EP1815401A1 publication Critical patent/EP1815401A1/en
Withdrawn legal-status Critical Current

Links

Definitions

  • This invention relates generally to techniques for shape analysis, and more particularly to techniques for automatically classifying 2D shapes in images.
  • the first technique requires the projection of shape instances into a common space and then the implementation of classification on the projection space.
  • Fourier descriptors E. Persoon, et al. "shape discrimination using Fourier descriptors” IEEE Trans. Syst. Man. Cybern, vol.7, ⁇ l70-179, 1977
  • invariant moments F. Zakaria, et. al "Fast algorithm for computation of moment invariants” Pattern Recognition, vol . 20, p 639-643, 1987
  • autoregressive models S .R. Dubois, et. al "An autoregressive model approach to two-dimensional shape classification", IEEE Trans.
  • the second technique comprises locating a set of landmark points along shape boundaries, specifying a distance measure between corresponding landmarks, and performing a distance-based clustering.
  • shape classification is reduced to the general clustering problem for which numerous solutions have been proposed.
  • M. Duta et. al. present a method using Mean Alignment Error(MAE) as a distance to measure the difference of shapes and classify shapes based on MAE.
  • MAE Mean Alignment Error
  • U.S. Patent No. 6,611,630 entitled METHOD AND APPARATUS FOR AUTOMATIC SHAPE CHARACTERIZATION and U.S. Patent No. 6,009,212 entitled METHOD AND APPARATUS FOR IMAGE REGISTRATION are directed to a method to classify shapes based on a best match probability with an average shape of a characterizing population group.
  • the limitation of this technique is that pair wise correspondence between the landmarks of shapes is difficult to achieve in practice because of the noise and variation among individuals. Given the drawbacks and limitation of the prior art, there exists a need for a method to find a simple, efficient and highly accurate method for shape classification.
  • An objective of the present invention is to provide an automated method for 2D shape classification.
  • this objective is achieved by providing an automated method for classifying 2D shapes.
  • the method includes several steps.
  • a training dataset is created for the shape under study.
  • the training set includes two groups of data: a similar shape group and a dissimilar shape group.
  • a polygonal approximation for each shape in the training dataset is generated, and an average shape from the similar shape group is computed.
  • the shapes in the database are aligned to the average shape and their similarity distances is outputted.
  • the distribution of similarity distances is obtained and the shapes are classified into two clusters based on their distances.
  • the present invention is viewed as having some advantages.
  • the method characterizes the study shape by an average shape and a threshold related to the similarity distances.
  • the shape classification is efficient, since its computation complexity is controlled under O(mnlog(mn)), where m is the number of landmarks on the average shape and n is the number of landmarks on a shape instance.
  • the shape classification is robust, since no pairwise correspondence of landmarks is required during shape alignment, and even the number of landmarks can be different. Further, the orientation correction becomes easier since the rotation angle of a shape instance to the average shape can be provided after shape alignment.
  • FIGS. IA and IB are flow charts illustrating the automated methods for shape classification.
  • FIGS. 2A-2U are diagrammatic views showing exemplary shapes extracted from the training database of cistern shape.
  • FIGS. 2A-2K depict the shapes belonging to the similar shape group
  • FIGS. 2L-2U depict the shapes from the dissimilar shape group.
  • FIGS. 3 A and 3 B are graphical views which demonstrates a polygonal approximation of a shape boundary.
  • FIG. 3 A depicts a polygonal approximation generated by equal angle sampling.
  • FIG. 3 B illustrates a polygonal approximation created by filling a number of equidistance points.
  • FIGS. 4A-4F are diagrammatic views illustrating the shape alignment by using the turning functions.
  • FIGS. 4 A and 4B display the turning functions of the template shape.
  • FIGS. 4C and 4D show the turning functions of a shape instance.
  • FIGS.4E and 4F demonstrate the alignment result of these two shapes and their best matched turning functions.
  • FIG. 5 is a flow char showing a way to compute an average shape from the similar shape group.
  • FIG. 6A-6C illustrate a method to obtain a mean point from each segment of the aligned turning functions.
  • FIG. 6A is a graphical view which shows the aligned turning functions.
  • FIG. 6B illustrates an example to compute a mean point from a segment.
  • FIG. 6C is the average shape computed from the similar shape group.
  • FIG. 7 is a diagrammatic view which shows a distance distribution of the training dataset for the study shape and illustrate the way to find a threshold.
  • the present invention discloses a method for automatically classifying 2-dimensional (2D) shapes in images.
  • a flow chart of a method in accordance with the present invention is generally shown in Figure IA.
  • the method includes four steps. First, a training dataset/database of study shape is created, which includes two group data: a similar shape group and a dissimilar shape group (step 10). Then, an average shape to characterize the similar shape group is computed (step 11). Next, the shapes in the database are aligned to the average shape and their similarity distances are calculated (step 12).
  • step 13 the distribution of the similarity distances is obtained and used to classify the shapes into two clusters: similar and dissimilar (step 13).
  • an additional step can be applied prior to the computation of an average shape (step 11).
  • the additional step is the generation of a polygonal approximation for each shape in the training dataset, and will be more particularly described below.
  • Figure 2 shows an exemplary training dataset, in which the study shape (i.e., a target shape) is the shape of cistern extracted from brain images.
  • the training dataset is created by manually selecting two types of shapes: the similar shapes and the dissimilar shapes.
  • the similar shapes represent the same object type, therefore they appear to have a high degree of similarity.
  • all shapes from the similarity group are extracted from cisterns in brain images, as shown in Figures 2A-2K.
  • there may exist a shape variation among them because of noise, pose, and segmentation error as well as nature variation between individuals.
  • the dissimilar shapes are extracted from totally different objects types, for example ventricles, foot, skull, hand, and the like, as shown in Figures 2L-2U.
  • a polygonal approximation of the boundary is generated to represent a shape.
  • the polygonal approximation can be generated by connecting a set of signature points and sampled points extracted from shape.
  • the signature points are the points representing the salient features of shape, such as points with high curvature or at specified location.
  • the sampled points are points located between the signature points based on a certain criteria.
  • One criterion is to find the gravity center of the shape, draw an arbitrary radius from the gravity center to the shape boundary, and then place a set of sampled points along the boundary by moving the radius clockwise with the regular interval of 360/n degrees.
  • the resulting shape can be represented as:
  • FIG. 3 A depicts the polygonal approximation generated by this criterion.
  • Another criterion is to select sampled points by filling a number of equidistance points (v ⁇ ) between signature points.
  • the shape can be given by:
  • Figure 3 B demonstrates the result polygonal approximation.
  • the present invention is not limited to using the above methods to generate the polygonal approximation of shape boundary.
  • Other known algorithms can be used wherein the resultant polygon correctly approximates a shape without losing the salient information.
  • a method using turning functions as a basis for the similarity measure of shapes is provided. Given the polygonal approximations of two shapes, their distance is computed from the turning functions ⁇ (s) of the two polygons.
  • a turning function, or a cumulative angle function represents a polygon by measuring the angle of the counter clockwise tangent as a function of the arc-length s from a reference point O on the shape approximation. It tracks the turning that takes place, for example, increasing with left hand turns, and decreasing with right hand turns.
  • the perimeter length of each polygon can be rescaled to 1.
  • ⁇ (s) starts at ⁇ (O) (assuming that the reference point O is placed at differential point along the contour) and increases to ⁇ (l) — ⁇ (O) + 2 ⁇ .
  • the turning function is piecewise constant for polygons, making computations particularly easy and fast.
  • the function ⁇ (s) is invariant under translation and scaling of the polygon according to the definition.
  • rotation of the polygon over an angle ⁇ corresponds to a vertical shift of the function with an amount ⁇ , while changing the location of the reference point O by an amount tefOJJ along the perimeter of polygon results in a circular shift of the function ⁇ (s).
  • T p and S p be polygonal approximations of the template shape T and a shape instance S.
  • Figures 4B and 4D display the turning functions of the two shapes shown in Figures 4A and 4C, respectively.
  • the X-axis corresponds to the perimeter of shape and the Y-axis represents to the turning angle.
  • the degree to which Tp and S p are similar can be measured by taking the minimal ⁇ 2 distance between the turning functions ⁇ p (s) and ⁇ s p (s), as defined by:
  • ⁇ * is the optimal orientation for any fixed t and is given by: ⁇ * S p ( s ) ds - J 0 V, i s ) ds - 2 ⁇ t (3 ) From these two equations, two matrices are obtained. One is D2 matrix from Equation 2 and the other is 0 matrix from Equation 3. The correct (i.e., best matched) orientation of the shape instance can be determined by searching the minimal L 2 distance in D 2 matrix and its corresponding element in ⁇ c matrix.
  • Figures 4E and 4F demonstrate the alignment result of these two shapes and their best matched turning functions.
  • the rotation angle ⁇ * from the best matched turning functions represents the orientation difference between two shapes, and can be used for orientation correction if needed.
  • the computation complexity for aligning two turning functions is O(mnlog(mn)), where m is the number of landmarks on the template shape and n is the number of landmarks on a shape instance. This is also the computation complexity of the entire shape classification process, since shape alignment takes most time needed for shape classification comparing to the polygon approximation generation and distance classification as will be discussed below. Thus by choosing an appropriate number of landmarks, the shape classification can be made efficient.
  • Another advantage of using the turning function (for example, rather than the distance between the corresponding landmark points) is that the requirement of one-to-one correspondence is no longer necessary, and even the number of landmarks can be different. This can promote shape classification robustness.
  • Each shape in the similar shape group contributes to an average shape which characterizes the feature of shape under study.
  • Figure 5 illustrates a suitable method to achieve this. The method first creates a template shape by randomly selecting a shape from the similar shape group (step 50). Then, the shapes in the similar shape group are aligned to the template shape with the best matched turning functions (step 51).
  • Figure 6k provides an illustration.
  • the aligned turning functions are divided into n equidistance segments along the X-axis, which corresponds the perimeter length of a shape.
  • a mean point is determined from the first points on the turning functions. This is shown in Figure 6B.
  • an average shape can be constructed (step 52).
  • this average shape may not best represent the shape characteristics of the similar shape group, since it highly depends on the selection of the template shape.
  • the average shape is then set as the template shape, and the above processes are repeated until the average shape reaches the minimal distance cross all shapes in the group (step 53), as given by:
  • FIG. 6C illustrates the average shape computed from the similar shape group of Figures 6 A and 6B.
  • the average shape step 54/step 11
  • the shapes in the training dataset are aligned to it and their similarity distances D 2 are computed (step 12).
  • D 2 the similarity distances
  • Combining the distances together forms a distribution of the similarity distances of the training dataset, as shown in Figure 7.
  • the X-axis in Figure 7 represents the distance value, and the Y-axis corresponds to the frequency of the distance.
  • the origin of the coordinate is associated with the average shape. An observation of the distribution shows the difference between the similar shape group and the dissimilar shape group.
  • the shapes are classified into two groups based on their distances. Since the distance distribution is one dimension, the classification problem can be simplified as determining an appropriate threshold to obtain a
  • the classification of study shape is dependent upon an average shape together with its classification threshold extracted from the training dataset.
  • new shapes are input, they are compared against the average shape of the study shape. If a match is found and its distance is less than the threshold, the new shape is classified as a member of the similar shape group.
  • the characteristic average shape and classification threshold are refined to reflect the addition of new members, which can be accomplished by updating the average shape and classification threshold (e.g., every time) when the new shapes accumulate to a certain amount.
  • the disclosed method focuses on one shape type, and the classification result is either YES or NO ( eg. 1 or 0). If a more complicated system is needed to classify several different shape types in the database, the disclosed method can be extended by creating a training dataset for each shape type, then studying the average shape and the classification threshold for each type, and finally performing classification by finding a shape type with the minimal similarity distance.
  • the present invention may be implemented for example in a computer program product.
  • a computer program product may include one or more storage media, for example; magnetic storage media such as magnetic disk (such as a floppy disk) or magnetic tape; optical storage media such as optical disk, optical tape, or machine readable bar code; solid-state electronic storage devices such as random access memory (RAM), or read-only memory (ROM); or any other physical device or media employed to store a computer program having instructions for controlling one or more computers to practice the method according to the present invention.
  • magnetic storage media such as magnetic disk (such as a floppy disk) or magnetic tape
  • optical storage media such as optical disk, optical tape, or machine readable bar code
  • solid-state electronic storage devices such as random access memory (RAM), or read-only memory (ROM); or any other physical device or media employed to store a computer program having instructions for controlling one or more computers to practice the method according to the present invention.
  • the system of the invention can include a programmable computer having a microprocessor, computer memory, and a computer program stored in said computer memory for performing the steps of the method.
  • the computer has a memory interface operatively connected to the microprocessor. This can be a port, such as a USB port, over a drive that accepts removable memory, or some other device that allows access to camera memory.
  • the system includes a digital camera that has memory that is compatible with the memory interface. A photographic film camera and scanner can be used in place of the digital camera, if desired.
  • a graphical user interface (GUI) and user input unit, such as a mouse and keyboard can be provided as part of the computer.
  • GUI graphical user interface

Abstract

A method for classifying 2D shape comprising: creating a training dataset for the shape under study with the similar shape group and the dissimilar shape group; computing an average shape from the similar shape group; aligning all shapes in the database to the average shape; classifying shapes into two clusters based on their distances.

Description

METHOD FORAUTOMATIC SHAPE CLASSIFICATION
FIELD OF THE INVENTION
This invention relates generally to techniques for shape analysis, and more particularly to techniques for automatically classifying 2D shapes in images.
BACKGROUND OF THE INVENTION Classification of 2-dimensional (2D) shapes regardless of their position, size and orientation is an important problem in computer vision and pattern recognition. Its application is spread out into many fields, such as classification of blood cell, cancer and chromosomes, industrial inspection, target recognition, medical image recognition, scene analysis, and modeling of biological systems. Generally, shape classification is a process of comparing and recognizing shape by analyzing the information of the shape's boundaries. This seems an easy task for human being, but is a quite difficult work for computers, particularly after objects are scaled, rotated and/or translated. Thus, the study of shape for the purpose of general object classification, recognition, or retrieval is an active field of current research.
Recent literature has addressed this topic, and various image processing methods have been applied. These methods can be basically classified into two techniques.
The first technique requires the projection of shape instances into a common space and then the implementation of classification on the projection space. For example: Fourier descriptors ( E. Persoon, et al. "shape discrimination using Fourier descriptors" IEEE Trans. Syst. Man. Cybern, vol.7, ρl70-179, 1977), invariant moments(F. Zakaria, et. al "Fast algorithm for computation of moment invariants" Pattern Recognition, vol . 20, p 639-643, 1987), autoregressive models (S .R. Dubois, et. al "An autoregressive model approach to two-dimensional shape classification", IEEE Trans. Pattern Analysis and Machine Intelligence, vol.8 p55-66, 1986), and principal component analysis (U.S. Patent No. 2002/0164060 Al entitled METHOD FOR CHARACTERISING SHAPES IN MEDICAL IMAGES). An advantage of these projection-based methods is that they are independent of translation and rotation. However, a disadvantage is that they exhibit an inherent loss of information since the projection transformation is not a one-to-one correspondence. That is, one point in the projection space may correspond to several shapes whose visual appearance can be quite different. Therefore, shape classification based on such technique may make incorrect results.
The second technique comprises locating a set of landmark points along shape boundaries, specifying a distance measure between corresponding landmarks, and performing a distance-based clustering. As such, shape classification is reduced to the general clustering problem for which numerous solutions have been proposed. For example: M. Duta et. al. present a method using Mean Alignment Error(MAE) as a distance to measure the difference of shapes and classify shapes based on MAE. (M. Duta, et. al. "Automatic
Construction of 2D Shape Models", IEEE Trans, on Pattern Analysis and Machine Intelligence, vol 23, no.5, ρ433-446, 2001). U.S. Patent No. 6,611,630 entitled METHOD AND APPARATUS FOR AUTOMATIC SHAPE CHARACTERIZATION and U.S. Patent No. 6,009,212 entitled METHOD AND APPARATUS FOR IMAGE REGISTRATION are directed to a method to classify shapes based on a best match probability with an average shape of a characterizing population group. The limitation of this technique is that pair wise correspondence between the landmarks of shapes is difficult to achieve in practice because of the noise and variation among individuals. Given the drawbacks and limitation of the prior art, there exists a need for a method to find a simple, efficient and highly accurate method for shape classification.
SUMMARY OF THE INVENTION An objective of the present invention is to provide an automated method for 2D shape classification.
- 9 . According to one aspect of the present invention, this objective is achieved by providing an automated method for classifying 2D shapes. The method includes several steps. A training dataset is created for the shape under study. The training set includes two groups of data: a similar shape group and a dissimilar shape group. A polygonal approximation for each shape in the training dataset is generated, and an average shape from the similar shape group is computed. The shapes in the database are aligned to the average shape and their similarity distances is outputted. The distribution of similarity distances is obtained and the shapes are classified into two clusters based on their distances. The present invention is viewed as having some advantages. For example, the method characterizes the study shape by an average shape and a threshold related to the similarity distances. The shape classification is efficient, since its computation complexity is controlled under O(mnlog(mn)), where m is the number of landmarks on the average shape and n is the number of landmarks on a shape instance. The shape classification is robust, since no pairwise correspondence of landmarks is required during shape alignment, and even the number of landmarks can be different. Further, the orientation correction becomes easier since the rotation angle of a shape instance to the average shape can be provided after shape alignment. BRIEF DESCRIPTION OF THE DRAWINGS
The foregoing and other objects, features, and advantages of the invention will be apparent from the following more particular description of embodiments of the invention, as illustrated in the accompanying drawings. The elements of the drawings are not necessarily to scale relative to each other. FIGS. IA and IB are flow charts illustrating the automated methods for shape classification.
FIGS. 2A-2U are diagrammatic views showing exemplary shapes extracted from the training database of cistern shape. FIGS. 2A-2K depict the shapes belonging to the similar shape group, and FIGS. 2L-2U depict the shapes from the dissimilar shape group.
FIGS. 3 A and 3 B are graphical views which demonstrates a polygonal approximation of a shape boundary. FIG. 3 A depicts a polygonal approximation generated by equal angle sampling. FIG. 3 B illustrates a polygonal approximation created by filling a number of equidistance points.
FIGS. 4A-4F are diagrammatic views illustrating the shape alignment by using the turning functions. FIGS. 4 A and 4B display the turning functions of the template shape. FIGS. 4C and 4D show the turning functions of a shape instance. FIGS.4E and 4F demonstrate the alignment result of these two shapes and their best matched turning functions.
FIG. 5 is a flow char showing a way to compute an average shape from the similar shape group. FIG. 6A-6C illustrate a method to obtain a mean point from each segment of the aligned turning functions. FIG. 6A is a graphical view which shows the aligned turning functions. FIG. 6B illustrates an example to compute a mean point from a segment. FIG. 6C is the average shape computed from the similar shape group. FIG. 7 is a diagrammatic view which shows a distance distribution of the training dataset for the study shape and illustrate the way to find a threshold.
DETAILED DESCRIPTION OF THE INVENTION The following is a detailed description of the preferred embodiments of the invention, reference being made to the drawings in which the same reference numerals identify the same elements of structure in each of the several figures.
The present invention discloses a method for automatically classifying 2-dimensional (2D) shapes in images. A flow chart of a method in accordance with the present invention is generally shown in Figure IA. As shown in Figure IA, the method includes four steps. First, a training dataset/database of study shape is created, which includes two group data: a similar shape group and a dissimilar shape group (step 10). Then, an average shape to characterize the similar shape group is computed (step 11). Next, the shapes in the database are aligned to the average shape and their similarity distances are calculated (step 12).
Finally, the distribution of the similarity distances is obtained and used to classify the shapes into two clusters: similar and dissimilar (step 13). In a further embodiment, shown in the flow char of Figure IB, an additional step can be applied prior to the computation of an average shape (step 11). The additional step (step 14) is the generation of a polygonal approximation for each shape in the training dataset, and will be more particularly described below.
Figure 2 shows an exemplary training dataset, in which the study shape (i.e., a target shape) is the shape of cistern extracted from brain images. The training dataset is created by manually selecting two types of shapes: the similar shapes and the dissimilar shapes. The similar shapes represent the same object type, therefore they appear to have a high degree of similarity. In this example, all shapes from the similarity group are extracted from cisterns in brain images, as shown in Figures 2A-2K. However, there may exist a shape variation among them because of noise, pose, and segmentation error as well as nature variation between individuals. Compared to the similar shapes, the dissimilar shapes are extracted from totally different objects types, for example ventricles, foot, skull, hand, and the like, as shown in Figures 2L-2U. Therefore, they demonstrate a large variety of shapes. The motivation of having two shape groups in the training dataset is to simplify the classification problem by focusing on the characteristics of study shape and its distinction from other shapes. To promote a robust shape classification, the shapes in the dataset may appear with varying orientation, position, and scale. ,
At step 14, a polygonal approximation of the boundary is generated to represent a shape. An advantage of interpreting a shape by a polygon is that it provides a simple description of shape with reduced loss of information. According to an embodiment of the present invention, the polygonal approximation can be generated by connecting a set of signature points and sampled points extracted from shape. The signature points are the points representing the salient features of shape, such as points with high curvature or at specified location. The sampled points are points located between the signature points based on a certain criteria. One criterion is to find the gravity center of the shape, draw an arbitrary radius from the gravity center to the shape boundary, and then place a set of sampled points along the boundary by moving the radius clockwise with the regular interval of 360/n degrees. The resulting shape can be represented as:
S = (rθi, rβi, rθ3, pi, p2, ra, ra+i, ...pj, Tgn,) Q1 = (360/n)*I
where r«, Ki <n , is a sampled point obtained by the intersection between the z-th radius and the shape boundary, pj is a signature point. Figure 3 A depicts the polygonal approximation generated by this criterion.
Another criterion is to select sampled points by filling a number of equidistance points (v^) between signature points. The shape can be given by:
S = (Vdl, Vd2, Vd3, Pl, P 2, VdU Vdi+1, ... Vdn,)
Figure 3 B demonstrates the result polygonal approximation.
It is noted that the present invention is not limited to using the above methods to generate the polygonal approximation of shape boundary. Other known algorithms can be used wherein the resultant polygon correctly approximates a shape without losing the salient information.
To measure shape similarity, two shapes are aligned as close as possible. According to an embodiment of the present invention, a method using turning functions as a basis for the similarity measure of shapes is provided. Given the polygonal approximations of two shapes, their distance is computed from the turning functions θ(s) of the two polygons. A turning function, or a cumulative angle function, represents a polygon by measuring the angle of the counter clockwise tangent as a function of the arc-length s from a reference point O on the shape approximation. It tracks the turning that takes place, for example, increasing with left hand turns, and decreasing with right hand turns. To ensure generality, the perimeter length of each polygon can be rescaled to 1. Thus, for a simple closed contour, θ(s) starts at Θ(O) (assuming that the reference point O is placed at differential point along the contour) and increases to θ(l) — Θ(O) + 2π.
There are several properties that make the turning function particularly suited for shape similarity measurement. First, it is piecewise constant for polygons, making computations particularly easy and fast. Secondly, the function θ(s) is invariant under translation and scaling of the polygon according to the definition. Thirdly, rotation of the polygon over an angle θ corresponds to a vertical shift of the function with an amount θ, while changing the location of the reference point O by an amount tefOJJ along the perimeter of polygon results in a circular shift of the function θ(s).
Let Tp and Sp be polygonal approximations of the template shape T and a shape instance S. Figures 4B and 4D display the turning functions of the two shapes shown in Figures 4A and 4C, respectively. The X-axis corresponds to the perimeter of shape and the Y-axis represents to the turning angle. The degree to which Tp and Sp are similar can be measured by taking the minimal ∑2 distance between the turning functions θτp(s) and θsp(s), as defined by:
where t represents the position of the reference point along the polygon, and θ corresponds to the rotation of polygon. As shown by Arkin et al (E. M. Arkin, L. P. Chew, D. P. Huttenlocher, K. Kedem, and J. S. Mitcheel, "An efficiently computable Metric for Comparing Polygonal shapes". IEEE Trans. On Pattern Analysis and Machine Intelligence. Vol.13 No.3 1991 pp 209-215), this problem can be solved by:
Dζ'-8' (t,θ) = JmIn1[J0' [θTp (, + *) - θSf (s)} ds - (θ*(t))2ψ (2)
where θ* is the optimal orientation for any fixed t and is given by: θ * S p ( s ) ds - J0V, i s ) ds - 2 π t (3 ) From these two equations, two matrices are obtained. One is D2 matrix from Equation 2 and the other is 0 matrix from Equation 3. The correct (i.e., best matched) orientation of the shape instance can be determined by searching the minimal L2 distance in D2 matrix and its corresponding element in θc matrix. Figures 4E and 4F demonstrate the alignment result of these two shapes and their best matched turning functions.
There are some advantages of using the turning function. For example, the rotation angle θ* from the best matched turning functions represents the orientation difference between two shapes, and can be used for orientation correction if needed. Further, the computation complexity for aligning two turning functions is O(mnlog(mn)), where m is the number of landmarks on the template shape and n is the number of landmarks on a shape instance. This is also the computation complexity of the entire shape classification process, since shape alignment takes most time needed for shape classification comparing to the polygon approximation generation and distance classification as will be discussed below. Thus by choosing an appropriate number of landmarks, the shape classification can be made efficient. Another advantage of using the turning function (for example, rather than the distance between the corresponding landmark points) is that the requirement of one-to-one correspondence is no longer necessary, and even the number of landmarks can be different. This can promote shape classification robustness.
Each shape in the similar shape group contributes to an average shape which characterizes the feature of shape under study. Figure 5 illustrates a suitable method to achieve this. The method first creates a template shape by randomly selecting a shape from the similar shape group (step 50). Then, the shapes in the similar shape group are aligned to the template shape with the best matched turning functions (step 51). Figure 6k provides an illustration.
Next, the aligned turning functions are divided into n equidistance segments along the X-axis, which corresponds the perimeter length of a shape. In each segment, a mean point is determined from the first points on the turning functions. This is shown in Figure 6B. By connecting the mean points together, an average shape can be constructed (step 52). However, this average shape may not best represent the shape characteristics of the similar shape group, since it highly depends on the selection of the template shape. To reduce such dependency and ensure the average shape capture the most mutual information in the similar shape group, the average shape is then set as the template shape, and the above processes are repeated until the average shape reaches the minimal distance cross all shapes in the group (step 53), as given by:
DToml = mm( ∑ D ™> ) i
Several cycles of the process may be needed for the average shape to converge. The final average shape is then output as the average shape characterizing the similar shape group (step 54). Figure 6C illustrates the average shape computed from the similar shape group of Figures 6 A and 6B. When the average shape (step 54/step 11) is obtained, the shapes in the training dataset are aligned to it and their similarity distances D2 are computed (step 12). Combining the distances together forms a distribution of the similarity distances of the training dataset, as shown in Figure 7. The X-axis in Figure 7 represents the distance value, and the Y-axis corresponds to the frequency of the distance. The origin of the coordinate is associated with the average shape. An observation of the distribution shows the difference between the similar shape group and the dissimilar shape group. For the shapes in the similar shape group, their distances (85), in general, are small and close to each other, which would be anticipated since they represent the same type object and appear relatively similar to the average shape. In contrast, the distances of shapes in the dissimilar shape group (84) present a large variation. Some are even far away from the origin because of their significant distinctions from the average shape.
At step 13, the shapes are classified into two groups based on their distances. Since the distance distribution is one dimension, the classification problem can be simplified as determining an appropriate threshold to obtain a
"good" discrimination of distances. Known thresholding methods based on image histogram shape analysis can be employed wherein the threshold can minimize the classification error. The distance distribution of the similar shape group can be assumed to the normal distribution. The mean of the distribution is set to zero, which corresponds to the average shape. The variance σ of distribution accounts for the shape variation within the similar shape group, hi one particular application, Applicant set the initial threshold (81) as 3*σ, as shown in Figure 7. Then a search is performed within a neighborhood region (83) until the best-fit threshold (82) is found which minimizes the classification error.
According to the present invention, the classification of study shape is dependent upon an average shape together with its classification threshold extracted from the training dataset. As new shapes are input, they are compared against the average shape of the study shape. If a match is found and its distance is less than the threshold, the new shape is classified as a member of the similar shape group. To promote consistency and the accuracy of the classification, the characteristic average shape and classification threshold are refined to reflect the addition of new members, which can be accomplished by updating the average shape and classification threshold (e.g., every time) when the new shapes accumulate to a certain amount.
Note that the disclosed method focuses on one shape type, and the classification result is either YES or NO ( eg. 1 or 0). If a more complicated system is needed to classify several different shape types in the database, the disclosed method can be extended by creating a training dataset for each shape type, then studying the average shape and the classification threshold for each type, and finally performing classification by finding a shape type with the minimal similarity distance. The present invention may be implemented for example in a computer program product. A computer program product may include one or more storage media, for example; magnetic storage media such as magnetic disk (such as a floppy disk) or magnetic tape; optical storage media such as optical disk, optical tape, or machine readable bar code; solid-state electronic storage devices such as random access memory (RAM), or read-only memory (ROM); or any other physical device or media employed to store a computer program having instructions for controlling one or more computers to practice the method according to the present invention.
The system of the invention can include a programmable computer having a microprocessor, computer memory, and a computer program stored in said computer memory for performing the steps of the method. The computer has a memory interface operatively connected to the microprocessor. This can be a port, such as a USB port, over a drive that accepts removable memory, or some other device that allows access to camera memory. The system includes a digital camera that has memory that is compatible with the memory interface. A photographic film camera and scanner can be used in place of the digital camera, if desired. A graphical user interface (GUI) and user input unit, such as a mouse and keyboard can be provided as part of the computer.
The invention has been described in detail with particular reference to a presently preferred embodiment, but it will be understood that variations and modifications can be effected within the spirit and scope of the invention. The presently disclosed embodiments are therefore considered in all respects to be illustrative and not restrictive. The scope of the invention is indicated by the appended claims, and all changes that come within the meaning and range of equivalents thereof are intended to be embraced therein.

Claims

WHAT IS CLAIMED IS:
1. A method for classifying 2-diniensional shapes, comprising the steps of: creating a training shape dataset comprised of a similar shape group and a dissimilar shape group; computing an average shape from the similar shape group; aligning each shape in the training shape dataset to the average shape; generating a similarity distance for each shape in the training shape dataset; and classifying each shape in the training shape dataset into either the similar shape group or the dissimilar shape group based on their similarity distance.
2. The method of claim 1 , wherein the step of computing an average shape comprises the steps of: identifying one shape from the similar shape group as a template shape; aligning the shapes in the similar shape group to the template shape; generating an average shape; determining a total distance between the average shape and the shapes in the similar shape group; and outputting the average shape when the total distance is a minimum.
3. The method of claim 2, wherein the step of outputting is accomplished by: identifying the average shape as the template shape; and repeating the steps of aligning, generating, and determining until the total distance is a minimum.
4. The method of claim 1 , wherein the step of aligning each shape in the training shape dataset to the average shape comprises the steps of: generating a polygonal approximation for the shape; and using a turning function to align the polygonal approximation to the average shape.
5. The method of claim 1 , wherein the step of classifying each shape in the training shape dataset comprises the steps of: generating a distance distribution using the similarity distances for the shapes in the training dataset; and identifying a classification threshold from the distance distribution by which to classify the shape.
6. The method of claim 5, further comprising the steps of: accessing a new shape; classifying the new shape; and
. updating the average shape and classification threshold using the new shape.
EP05826508A 2004-11-23 2005-11-22 Method for automatic shape classification Withdrawn EP1815401A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US63027004P 2004-11-23 2004-11-23
PCT/US2005/042595 WO2006058154A1 (en) 2004-11-23 2005-11-22 Method for automatic shape classification

Publications (1)

Publication Number Publication Date
EP1815401A1 true EP1815401A1 (en) 2007-08-08

Family

ID=38226739

Family Applications (1)

Application Number Title Priority Date Filing Date
EP05826508A Withdrawn EP1815401A1 (en) 2004-11-23 2005-11-22 Method for automatic shape classification

Country Status (2)

Country Link
EP (1) EP1815401A1 (en)
CN (1) CN101223539A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109300150B (en) * 2018-10-16 2021-10-29 杭州电子科技大学 Hand bone X-ray image texture feature extraction method for bone age assessment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO2006058154A1 *

Also Published As

Publication number Publication date
CN101223539A (en) 2008-07-16

Similar Documents

Publication Publication Date Title
US7706612B2 (en) Method for automatic shape classification
US10776936B2 (en) Point cloud matching method
Parvin et al. Iterative voting for inference of structural saliency and characterization of subcellular events
Ruan et al. Multi-correlation filters with triangle-structure constraints for object tracking
EP2907082B1 (en) Using a probabilistic model for detecting an object in visual data
Murillo et al. From omnidirectional images to hierarchical localization
JP2006065399A (en) Image processing device and method, storage medium and program
Demirkus et al. Hierarchical temporal graphical model for head pose estimation and subsequent attribute classification in real-world videos
Li et al. Hierarchical semantic parsing for object pose estimation in densely cluttered scenes
Li et al. Multimodal image registration with line segments by selective search
Bagchi et al. A robust analysis, detection and recognition of facial features in 2.5 D images
Spiller Object Localization Using Deformable Templates
Liu et al. Radon representation-based feature descriptor for texture classification
Morago et al. An ensemble approach to image matching using contextual features
Lee et al. Model-based detection, segmentation, and classification for image analysis using on-line shape learning
Sahin et al. A learning-based variable size part extraction architecture for 6D object pose recovery in depth images
Juang et al. Stereo-camera-based object detection using fuzzy color histograms and a fuzzy classifier with depth and shape estimations
Stebbing et al. Delineating anatomical boundaries using the boundary fragment model
EP1815401A1 (en) Method for automatic shape classification
Stubendek et al. Shape recognition based on projected edges and global statistical features
Dantanarayana et al. Object recognition and localization from 3D point clouds by maximum-likelihood estimation
Zhou et al. Hough-space-based hypothesis generation and hypothesis verification for 3D object recognition and 6D pose estimation
Zafari Segmentation of overlapping convex objects
Sintunata et al. Skewness map: estimating object orientation for high speed 3D object retrieval system
de Trazegnies et al. 3D object recognition based on curvature information of planar views

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20070503

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): DE FR GB

RBV Designated contracting states (corrected)

Designated state(s): DE FR GB

RAP1 Party data changed (applicant data changed or rights of an application transferred)

Owner name: CARESTREAM HEALTH, INC.

DAX Request for extension of the european patent (deleted)
STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20090603