The present invention relates generally to the identification of features on three-dimensional objects and, more particularly, on three-dimensional ear impression models.
The manufacturing of medical devices designed to conform to anatomical shapes, such as hearing aids, has traditionally been a manually intensive process due to the complexity of the shape of the devices.
Different methods have been used to create ear molds, or shells, from ear impressions. One skilled in the art will recognize that the terms ear mold and ear shell are used interchangeably and refer to the housing that is designed to be inserted into an ear and which contains the electronics of a hearing aid. Traditional methods of manufacturing such hearing aid shells typically require significant manual processing to fit the hearing aid to a patient's ear by, for example, manually identifying the various features of each ear impression. Then, an ear mold could be created by sanding or otherwise removing material from the shell in order to permit it to conform better to the patient's ear. More recently, however, attempts have been made to create more automated manufacturing methods for hearing aid shells. In some such attempts, ear impressions are digitized and then entered into a computer for processing and editing. The result is a digitized model of the ear impressions that can then be digitally manipulated. One way of obtaining such a digitized model uses a three-dimensional laser scanner, which is well known in the art, to scan the surface of the impression both horizontally and vertically. Another way of obtaining digitized models uses structured light scanning, which is also well known in the art. Whatever the method used to scan an ear impression, the result is a digitized model of the ear impression having a plurality of points, referred to herein as a point cloud representation, forming a graphical image of the impression in three-dimensional space.
Once such a digitized model of an ear shell has been thus created, then various computer-based software tools have been used to manually edit the graphical shape of each ear impression individually to, for example, create a model of a desired type of hearing aid for that ear. As one skilled in the art will recognize, such types of hearing aids may include in-the-ear (ITE) hearing aids, in-the-canal (ITC) hearing aids, completely-in-the-canal (CIC) hearing aids and other types of hearing aids. Each type of hearing aid requires different editing of the graphical model in order to create an image of a desired hearing aid shell size and shape according to various requirements These requirements may originate from a physician, from the size of the electronic hearing aid components to be inserted into the shell or, alternatively, may originate from a patient's desire for specific aesthetic and ergonomic properties.
Once the desired three-dimensional hearing aid shell design is obtained, various computer-controlled manufacturing methods, such as well known lithographic or laser-based manufacturing methods, are then used to manufacture a physical hearing aid shell conforming to the edited design out of a desired shell material such as, for example, a biocompatible polymer material.
The present inventors have recognized that, while the aforementioned methods for designing hearing aid shells are advantageous in many regards, they are also disadvantageous in some aspects. In particular, prior attempts at computer-assisted hearing aid manufacturing typically relied on the manual identification of the various features of each ear impression. Once these features were identified for each ear impression, then various editing procedures would be performed on the impression to create an ear mold. However, the manual identification of the various features of each ear impression to be edited was time consuming and costly.
Accordingly, the present inventors have invented an improved method of designing hearing aid molds whereby a point on an ear impression model to be labeled is selected and a shape context is determined for that point. Such a shape context indicates the relative position of the selected point with respect to other points on the surface of the ear impression model. This shape context is then compared to average shape contexts for different regions on a reference ear impression model, also referred to herein as an ear impression shape atlas. A cost function is used to determine the minimum cost between the shape context for the selected point and one of the average shape contexts. Once the minimized cost is determined, the region label corresponding to the average shape context having a minimized cost is assigned to that point. In this way, points on the surface of an ear impression are classified and labeled as being located in regions corresponding to the regions on the ear impression shape atlas.
These and other advantages of the invention will be apparent to those of ordinary skill in the art by reference to the following detailed description and the accompanying drawings.
The present inventors have recognized that it is desirable to be able to automatically identify the various features of an ear impression in order to improve the design process of hearing aid shells. In particular, given a point cloud representation of an ear impression, such as point cloud representation 201 in
Therefore, the present inventors have invented a method and apparatus whereby a reference/example ear impression model, referred to herein as an atlas, is created based on one or more ear impressions. Once this atlas is created, a shape context is then created for each point in a labeled region, such as those regions corresponding to the foregoing anatomical features. Then, the average shape context for each region is obtained by averaging the individual shape contexts obtained from points in that region. More particularly, in order to create a shape context for a point pk on the surface an object, in accordance with an illustrative embodiment of the present invention, a histogram is first created showing the relationship of all points in the set q of points on the surface of the representation with respect to point pk.
A shape context corresponding to point pk 311 can be constructed by first binning each point in the set of points q on the surface of the object in terms of the radius r and the angle θ formed between point pk and the set q of points, calculated as:
where pk=[pkx,pky]T and q=[qx,qy]T. As one skilled in the art will recognize, to obtain a log-polar histogram, the log of r is calculated prior to binning the points, thus making the shape context more sensitive to nearby points than points that are farther away. Then, the shape context is produced according to the expression:
hk({circumflex over (r)},{circumflex over (θ)})=#{q≠pk:(q−pk)εbin({circumflex over (r)},{circumflex over (θ)})} Equation 3
where {circumflex over (r)} is a log radial bin index and {circumflex over (θ)} is an angular bin index. The result of such binning is log-polar histogram 301, which has a number of bins 303 that are created by the intersection of radial lines 309 with circular rings 310. Once such a log-polar coordinate system has been created, then a point pk 311 that is on the surface (here, the outline of a 2D shape) is identified. This point is placed at the origin of the log-polar coordinate system of histogram 301 and points 308 of a surface (once again, here, a 2D outline) are plotted according to their spatial relationship with point pk in log-polar space. As one skilled in the art will recognize, histogram 301 is merely illustrative in nature. As discussed herein above, most 3D shapes, such as ear impressions, for which such histograms will be constructed have significantly more points, such as the illustrative 30,000 points of a typical scanned ear impression model.
Once histogram 301 has been created, in accordance with the present embodiment shape context 302 is then constructed. Specifically, shape context 302 shows the relative density of points in each bin of the log-polar histogram 301. More particularly, each row in the shape context 302 represents a circular ring of bins, with row 315 representing the outer most ring and rows 314, 313 and 312 representing successive rings each closer to the origin of the histogram, respectively, than the next outer-most ring. The relative shade of the blocks in shape context 302 indicate the density of the bins with darker blocks representing denser bins. For example, block 304 corresponds to bin 306, which contains six points. Block 305, which is darker than block 304, corresponds to bin 307, which contains seven points. The other, lighter blocks, correspond to bins where fewer points are present and the white blocks correspond to bins where no points reside. As a result, shape context 302 represents a particular signature context of the entire shape from the perspective of point pk 311. This same procedure is accomplished for each point in the set q of points on the surface of the object to produce a shape context for each of the points.
Once the individual shape contexts have been created for each of the points on the surface of an object then an average shape context for various features on the object can be determined.
where I is the labeled region that contains K points, and HI is the regional shape context for region I. As can be seen in
The foregoing discussion assumes a 2D shape and the creation of average shape contexts for each labeled region on the 2D shape. However, similar to creating shape contexts for such a 2D shape, such average shape contexts can also be created for 3D objects, such as ear impressions. Like the 2D example, when considering a 3D shape, the shape context is identified using a log-polar histogram defined by the radius and angle, as shown above in Equations 1 and 2. However, to account for the third dimension, a spherical component φ is also added to extend the shape context in this third dimension. Accordingly, for a 3D shape, the log-polar histogram is defined by the equations:
where, in three dimensions, pk=[pkx,pky,pz]T and q=[qx,qy,qz]T. Similar to the 2D example above, the log of the radius can then be taken and the points can be binned according to the expression:
hk({circumflex over (r)},{circumflex over (θ)},{circumflex over (φ)})=#{q≠pk:(q−pk)εbin({circumflex over (r)},{circumflex over (θ)},{circumflex over (φ)})} Equation 8
where {circumflex over (r)},{circumflex over (θ)} are as given above and {circumflex over (φ)} is an angular bin index. In one illustrative embodiment, the radial bins are normalized as a function of an approximation to the maximum distance between any two points. Such an approximation may be achieved, illustratively, by computing twice the distance between the centroid of the 3D object and the point on the object furthest away from the centroid. Referring once again to the log-polar histogram 301 of
Once the shape contexts for each point in each labeled region on the shape atlas ear impression model have been determined, and once the unlabeled model has been registered with the shape atlas ear impression model, then the various regions on the unlabeled model can be automatically classified. Specifically, the shape context for each point on the surface of the unlabeled ear impression is determined as discussed above using, the illustrative 16 radial bins, 16 θ bins and 16 φ bins to create a three-dimensional shape context for each point. Once a point's shape context is known, it is possible to determine a label for that point by minimizing the χ2 cost function according to the expression:
where E is
and where m is an index corresponding to the dimensions of the shape context; and HI is as defined above according to Equation 4.
One skilled in the art will recognize that the number of regions identified on the classified surface might not match the number of regions on the shape atlas, possibly reflecting misclassifications of certain regions. In such cases, partial differential equations may be used to update the boundaries between different regions and to remove such misclassifications. Such an application of partial differential equations is most simply described by reference to 2D shapes, such as the 2D shapes of
Accordingly, in order to improve the match between labels, the label boundaries must be moved in order to reduce the cost as calculated by Equations 9 and 10. This may be accomplished by taking the derivative of Equation 10 with respect to the label L on surface I, resulting in the partial differential equation:
where the variables are as described herein above. As one skilled in the art will recognize in light of the forgoing, the term ∂hk/∂L can be computed using central differences. Initially, in order to minimize the costs, all labels are moved together along the surface of the object in an attempt to achieve global optimization. Specifically, each label edge contributes a ∂L/∂t term that is averaged and all labels are moved the same amount until convergence is achieved. Performing this optimization results in, illustratively, the labels 701A-707A moving to the positions shown in
Variations on the foregoing method and description can be accomplished to potentially improve the classification and labeling of the regions of an ear impression model. Specifically, in accordance with one embodiment of the present invention, in addition to the basic shape context discussed herein above, other surface properties may be used to improve the classification and labeling process. For example, the curvature of the surface sampled at various resolutions may provide a more detailed description of the surface. The average curvature can be calculated for each point according to the equation:
where p is a central point and pi is the current point in a ring of N points adjacent to p. As with the general shape context discussed herein above, the curvature of Equation 11 would be calculated for each point and then averaged for each labeled region. Such additional descriptors of the shape could in some illustrative instances improve the accuracy of the labeling of regions. In another illustrative embodiment, other shape descriptors can be used, such as the normal of the surface in a region. One skilled in the art will recognize that the use of such a normal would be most beneficial over regions having a relatively small area since the average normal would best represent a label with a small variance in the normal vector.
One skilled in the art will also recognize that other variations on the above described methods are possible. For example, another possible classifying method could incorporate the label variation into the cost minimization of Equations 9 and 10. In such a case, the average shape context may be computed for each label according to the equation:
where there are n total points in the label and hk denotes a shape context for point k. Next, the label's variance is calculated using the average shape context of Equation 13 according to the expression:
Finally, both Equations 13 and 14 are incorporated into a cost function:
where r2 is the squared Mahalanobis distance; hk is the shape context of the current vertex on the unlabeled shell; μm2 is the mth bin of the average shape context; and σm is its corresponding variance. One skilled in the art will recognize that the Mahalanobis distance is a well known characterization of a distance that is an especially useful way of determining similarity of an unknown sample set to a known one. As one skilled in the art will recognize, Mahalanobis distance differs from Euclidean distance in that it takes into account the correlations of the data set and is scale-invariant, i.e. not dependent on the scale of measurements.
The foregoing embodiments are generally described in terms of identifying and manipulating objects, such as points on the surface of an ear impression, to identify which feature corresponds to the points on that surface. One skilled in the art will recognize that such manipulations may be, in various embodiments, virtual manipulations accomplished in the memory or other circuitry/hardware of an illustrative registration system. One skilled in the art will recognize that such manipulations may be, in various embodiments, virtual manipulations accomplished in the memory or other circuitry/hardware of an illustrative computer aided design (CAD) system. Such a CAD system may be adapted to perform these manipulations, as well as to perform various methods in accordance with the above-described embodiments, using a programmable computer running software adapted to perform such virtual manipulations and methods. An illustrative programmable computer useful for these purposes is shown in
One skilled in the art will also recognize that the software stored in the computer system of
The foregoing Detailed Description is to be understood as being in every respect illustrative and exemplary, but not restrictive, and the scope of the invention disclosed herein is not to be determined from the Detailed Description, but rather from the claims as interpreted according to the full breadth permitted by the patent laws. It is to be understood that the embodiments shown and described herein are only illustrative of the principles of the present invention and that various modifications may be implemented by those skilled in the art without departing from the scope and spirit of the invention. Those skilled in the art could implement various other feature combinations without departing from the scope and spirit of the invention.
This patent application claims the benefit of U.S. Provisional Application No. 60/742,991, filed Dec. 7, 2005, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
60742991 | Dec 2005 | US |