# Patent

## Title
Finding structures in multi-dimensional spaces using image-guided clustering

## Abstract

A method executed on a computer for determining a hierarchical clustering of a multidimensional dataset in a multidimensional image space comprises receiving a pyramid of multidimensional images of the multidimensional dataset in which the images of the pyramid representing a first multidimensional image of the multidimensional dataset at successively lower resolution levels; identifying data clusters at each resolution level of the pyramid by applying a set of perceptual grouping constraints; plotting a variation curve of a magnitude of data clusters identified at each resolution level of the pyramid as a function of resolution level; and generating a clustering hierarchy for the multidimensional dataset by identifying the resolution level at each salient bend in the variation curve as a level of the clustering hierarchy.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 11/970,946, filed Jan. 8, 2008. This application is related to U.S. patent application Ser. No. 12/143,131, filed Jun. 20, 2008, which is a continuation of U.S. patent application Ser. No. 11/970,946, filed Jan. 8, 2008. The disclosures of both of the above listed applications are incorporated by reference herein in their entirety.


BACKGROUND
Exemplary embodiments of the present invention relates to data clustering, and more particularly, to the clustering of multidimensional data to determine high-level structures.
Data clustering (or just clustering) is the categorization of objects into different groups, or more precisely, the organizing of a collection of data into clusters, or subsets, based on quantitative information provided by one or more traits or characteristics shared by the data in each cluster. A cluster is a collection of objects which are “similar” between them and “dissimilar” to the objects belonging to other clusters. The goal of clustering is to determine an intrinsic grouping, or structure, in a set of unlabeled data. For example, the functional dependency between two or more time series can lie along a curve. As an example, FIG. 1 shows a graph of a functional dependency between a pair of time series that maps to a perceptible curve having a rotated U-like structure. Clustering can be used to perform statistical data analysis in many fields, including machine learning, data mining, pattern recognition, medical imaging and other image analysis, and bioinformatics.
For applications dealing with sets of high-dimensional data such as multimedia processing applications (for example, content-based image and video retrieval, multimedia browsing, and multimedia transmission over networks), the finding of underlying high-level structures by clustering and categorization is a fundamental analysis operation. A good clustering scheme should, for example, help to provide an efficient organization of content, as well as provide for better retrieval based upon semantic qualities. In video retrieval, because of the larger number of additional features resulting from motion in time, efficient organization is particularly important. In image-based retrieval, semantic quality retrieval is particularly important because clustering provides a means for grouping images into classes that share some common semantics.
Even though clustering of multidimensional datasets is important to determining high-level structures, much of the focus in multidimensional data analysis has been on feature extraction and representation, and existing methods available from data mining and machine learning have been relied on for the clustering task. These methods are primarily based upon the similarity criterion of distance or proximity in which two or more objects belong to the same cluster if they are “close” according to a given distance function that defines a distance between elements of a set (for example, the simple Euclidean distance metric).
The nature of multidimensional datasets, however, presents a number of peculiarities that can lead to misleading or insufficient results using distance-based clustering, particularly for cases of grouping high-dimensional objects into high-level structures. First, the number of feature dimensions in multidimensional datasets tends to be large in comparison to the number of data samples. As an example, a single four second action video assuming a pair of features per frame (for instance, for representing the motion of the object centroid) can have at least 240 feature dimensions. Similarly, in image clustering, while color, texture, and shape features can encompass hundreds of features, the number of samples available for training could be comparably small. This can result in a data space that is high-dimensional but sparse. The sparseness of the data points can make it difficult to identify the clusters because observation at multiple scales may be needed to spot the patterns.
A second issue that may arise is that the number of clusters for a multidimensional dataset is often unknown and more than one set of clusters may be possible. Different relative scalings can lead to groupings with different structures, even with measurements being taken in the same physical units. To make an informed decision as to relative scaling using existing clustering methods, either the number of clusters needs be known a priori or a hierarchical clustering must be performed that yields several possible clusters without a specific recommendation on one. In a hierarchical clustering, the process builds (agglomerative), or breaks up (divisive), a hierarchy of clusters. The traditional representation of such a hierarchy of clusters is a tree structure called a dendrogram, which depicts the mergers or divisions which have been made at successive levels in the clustering process. A bottom row of leaf nodes represent data and the set of remaining nodes represent the clusters to which the data belong at each successive stage of analysis. The leaf nodes are spaced evenly along the horizontal axis, and the vertical axis gives the distance (or dissimilarity measure) at which any two clusters are joined. Divisive methods begin at the top of the tree, while agglomerative methods begin at the bottom, and cutting the tree at a given height will give a clustering at a selected precision. The bottom level of the hierarchy includes all data points as one cluster.
As an example of the scaling issue, a clustering scenario is provided that involves a type of dataset for which the structure of the functional dependency between two or more time series can take a variety of forms. As an example, FIG. 2 illustrates a graph of functional dependencies between a pair of time series in which the noticeable structures are that of three separate lines radiating from common points. While different structures from within this graph may be obtained using hierarchical clustering methods, ideally, it would be desirable to have the result of clustering the dataset indicate the lower level structures (such as the individual splotches in FIG. 2) as well as the higher-level structures formed (such as the lines perceived in FIG. 2) without necessarily leading to a single cluster at the top level, unless that is in fact matching how the data collection should be perceived.
SUMMARY
The shortcomings of the prior art can be overcome and additional advantages can be provided through exemplary embodiments of the present invention that are related to a method executed on a computer for determining a hierarchical clustering of a multidimensional dataset in a multidimensional image space that comprises receiving a pyramid of multidimensional images of the multidimensional dataset in which the images of the pyramid representing a first multidimensional image of the multidimensional dataset at successively lower resolution levels; identifying data clusters at each resolution level of the pyramid by applying a set of perceptual grouping constraints; plotting a variation curve of a magnitude of data clusters identified at each resolution level of the pyramid as a function of resolution level; and generating a clustering hierarchy for the multidimensional dataset by identifying the resolution level at each salient bend in the variation curve as a level of the clustering hierarchy.
The shortcomings of the prior art can also be overcome and additional advantages can also be provided through exemplary embodiments of the present invention that are related to computer program products and data processing systems corresponding to the above-summarized method are also described and claimed herein.
Additional features and advantages are realized through the techniques of the present invention. Other embodiments and aspects of the invention are described in detail herein and are considered a part of the claimed invention. For a better understanding of the invention with advantages and features, refer to the description and to the drawings.



BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS
The subject matter that is regarded as the invention is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other objects, features, and advantages of the invention are apparent from the following detailed description of exemplary embodiments of the present invention taken in conjunction with the accompanying drawings in which:
FIG. 1 is a graph illustrating an exemplary functional dependency between a pair of time series.
FIG. 2 is a graph illustrating exemplary functional dependencies between a pair of time series.
FIGS. 3a and 3b are illustrations of exemplary arrangements of points to which perceptual grouping cues can be applied.
FIG. 4 is a flow diagram illustrating an exemplary embodiment of a clustering process in accordance with the present invention.
FIGS. 5a-5f illustrate graphs of different levels of an exemplary pyramidal grouping generated while performing the exemplary clustering process illustrated in FIG. 4.
FIG. 6 illustrates a graph of an exemplary variation curve of a magnitude of clusters identified from a dataset as a function of image resolution level.
FIG. 7 is a block diagram illustrating an exemplary hardware configuration or a computer system within which exemplary embodiments of the present invention can be implemented.



The detailed description explains exemplary embodiments of the present invention, together with advantages and features, by way of example with reference to the drawings. The flow diagrams depicted herein are just examples. There may be many variations to these diagrams or the steps (or operations) described therein without departing from the spirit of the invention. For instance, the steps may be performed in a differing order, or steps may be added, deleted, or modified. All of these variations are considered a part of the claimed invention.
DETAILED DESCRIPTION
While the specification concludes with claims defining the features of the invention that are regarded as novel, it is believed that the invention will be better understood from a consideration of the description of exemplary embodiments in conjunction with the drawings. It is of course to be understood that the embodiments described herein are merely exemplary of the invention, which can be embodied in various forms. Therefore, specific structural and functional details disclosed in relation to the exemplary embodiments described herein are not to be interpreted as limiting, but merely as a representative basis for teaching one skilled in the art to variously employ the present invention in virtually any appropriate form. Further, the terms and phrases used herein are not intended to be limiting but rather to provide an understandable description of the invention.
In exemplary embodiments of the present invention, concepts of perceptual grouping are exploited for clustering multidimensional datasets to determine the hierarchical structures. Perceptual grouping refers to the human visual ability to extract significant image relations from lower-level primitive image features without any knowledge of the image content and thereby group them to obtain meaningful higher-level structure. Thus, perceptual grouping concepts as implemented in exemplary embodiments described herein implicitly use some aspects of processing that can be directly related to the pattern recognition processes of the human visual system. The human visual system can detect many classes of patterns and statistically significant arrangements of image elements. Perceptual grouping aims at reducing ambiguity in image data or in initial segmentation and thus at increasing the robustness and efficiency of subsequent processing steps.
A number of factors have been known to influence the parts of an image that are combined to form an object. The use of perceptual grouping in pattern recognition involves clustering data points based upon factors embodying some or all of the relevant human perceivable attributes of parallelism, co-linearity, proximity, similarity, good continuation, orientation, connectivity, density, symmetry, etc. These factors are based on the Gestalt principles of psychology. As an example, FIGS. 3a and 3b show the close applicability of perceptual grouping to clustering. FIG. 3a illustrates an exemplary arrangement of points where proximity as well as continuity of orientation can help isolate the three lines (that is, the C and F splits and the main line A-H in the middle). FIG. 3b illustrates an exemplary case in which the density difference is the primary perceptual grouping cue used to separate the two objects (that is, the inner and outer discs).
Exemplary embodiments described herein embody methods for extracting perceptually salient clusters/groups from multidimensional datasets using perceptual grouping as a way of clustering. The multidimensional feature space is modeled as a multidimensional image, clustering is posed as a problem of object extraction from sparse and noisy data, and perceptual grouping constraints are utilized to successively group sample points into dense clusters in multidimensional spaces. To accommodate perceptual groups that may occur at different scales, the grouping is carried over progressively sub-sampled images using a pyramid scheme to identify clustering levels. Exemplary embodiments as described herein are applicable to suitable multidimensional datasets in any arbitrary application domain or field.
FIG. 4 illustrates a flow diagram of a process for performing clustering in accordance with an exemplary embodiment of the present invention. Exemplary clustering process 100 consists of three main steps: At step 110, a pyramidal image sampling is performed to create a multidimensional image pyramid by successively sub-sampling the original multidimensional image formed from the dataset. At step 120, a perceptual grouping method is performed at each image size to assemble the clusters from the samples by extracting features from the subspaces formed in the previous image in the image pyramid. That is, perceptual grouping constraints are used to assemble the clusters at successive pyramidal levels. Finally, at step 130, the cluster curve is then obtained and bends in the curve are identified as curvature change points. By noting the image size at each bend, the corresponding subspaces are retained as levels of the clustering hierarchy. Throughout this process, while the sampling of the neighborhood is discrete, the clustering at each level is based upon the actual and not quantized location of each data sample. Each step of the present exemplary embodiment is described in greater detail below. First, however, some terminology for the model used will be outlined.
In an M-dimensional data set of N samples X=(X1, X2, . . . XN) where each of the Xi=(f1i, f2i, . . . fMi) is an M-dimensional feature vector in which the features are normalized so that 0<fji≦1.0, each of the Xi is a point in an RM space, which can be regarded as an M-dimensional image Ik of size Lk×Lk. Each sample then has an image bin coordinate at level k that is an M-tuple Dik=[q1ik . . . qMik]T where 0≦qjik≦Lk−1 are the bin coordinates representing the pixel in the image. Each image bin at level k is an M-dimensional unit of size




  
    (
    
      
        1
        
          L
          k
        
      
      ×
      
        1
        
          L
          k
        
      
      ×
      ...
      ×
      
        1
        
          L
          k
        
      
    
    )
  
  .




In this model, clusters become multidimensional regions or subspaces with image intensity formed from the cluster number, so that at each image size Lk, the sample Xi belonging to cluster Clk is represented by an intensity Clk at the pixel Dik=[q1ik . . . qMik]T. The set of clusters at each image size Lk is denoted by Ck={c1k, c2k, . . . cnkk} where nk are the distinct number of subspaces at image size Lk.
The variation in the number of clusters as a function of image size is given by a 1D-cluster curve z={(nk, Lk)|k=0, . . . T}. The bends in the curve, that is, points at which there is a significant change of curvature zp=(x(p), y(p)) are noted to form the clustering levels Cp of the clustering hierarchy. It should be noted that while pyramidal level and hierarchical clustering levels are distinguished, for some data distributions, they may coincide.
Referring again to the exemplary embodiment shown in FIG. 4, at step 110, a pyramidal image sampling scheme is performed to create a multidimensional image pyramid by successively sub-sampling the original multidimensional image formed from the dataset. Any appropriate technique for pyramidal image sampling of the multidimensional dataset can be used. Several known methods have been implemented for image sampling—for example, in cross-section, radial section, or spiral (Archimedean and logarithmic) form—to obtain vector data from image greyscale values that have shown to be successful in obtaining representative samples. Following the convention in pyramid image representations, a logarithmic sampling scheme is used in the present exemplary embodiment. Because all the feature dimensions are normalized to be in the range [0,1], a square grid can be used. The scheme starts with an image of size L0×L0, and each successive image is of size Li×Li where




  
    L
    i
  
  =
  
    
      L
      
        i
        -
        1
      
    
    2
  




until an image size of 1×1 is reached. The pyramid sampling scheme is sufficient to bring out all groups that obey the selected grouping constraints.

The pyramid image sampling scheme can be used as a systemic way to explore such multi-level grouping by applying multi-resolution grouping constraints to achieve a meaningful semantic representation. That is, the multidimensional space is modeled as a multidimensional image with pyramidal sub-sampling for representing the features at lower resolution such that higher level structures are extracted from the dataset. This sampling scheme exploits the characteristic of images that indicate that neighboring pixels are highly correlated. An example of a pyramid is the Laplacian pyramid, which is obtained by convolving the image with a Gaussian kernel. The Laplacian is then computed as the difference between the original image and the low pass filtered image to create a sequence of band-pass filtered representations. This process is continued to obtain a set of band-pass filtered images, each being the difference between two levels of the Gaussian pyramid. Thus, the Laplacian pyramid is a set of band pass filters at successively lower resolutions or image sizes.
In exemplary process 100, after pyramidal sampling is performed, perceptual grouping constraints are used at step 120 to cluster the multidimensional dataset into smaller numbers of spatial and computational complexity tractable clusters at successive pyramidal levels by extracting features from the subspaces formed in the previous image in the pyramid. The cluster labels of the previous pyramid level serve as the intensity values for the current pyramid level and remain in the same cluster at the next pyramid level. This property not only ensures nested clusters across the cluster hierarchy, but also makes it possible to generate the groupings using a logarithmic scale of multi-resolution. Thus, the image size is successively sub-sampled or equivalently reduced and those perceptual groups that persist the longest as the image shrinks are selected.
In the present exemplary embodiment, the perceptual grouping constraints of proximity, density, orientation similarity, and region contiguity are utilized to successively group sample points into dense clusters in multidimensional spaces. Due to sparse and irregular nature of point distribution in clustering, the emergence of higher-level structures is rarely apparent through a single pass of the image. Initial grouping may yield some structures, and these structures may be further combined to yield another level of higher-level structures. This process can be repeated until a meaningful semantic representation is achieved. The grouping constraints that are utilized, which will now be described in greater detail, determine whether pixels can be grouped.
In the present exemplary embodiment, using the multidimensional image model outlined above, a pair of points (Xi, Xj) are considered proximal at pyramidal level k if |Dik−Djk|≦1 or |qlik−qljk|≦1, ∀1≦l≦M. The ∥ operation stands for the absolute value. For the 2-dimensional case, it corresponds to the use of a 3×3 neighborhood around a pixel.
At each pyramid level, the grouping will consider the clusters from the previous level as the grouping elements. Thus, the proximity constraints state that they can be merged provided at least a pair of their respective image bins is adjacent. By letting Dk(ci)={D1ik, . . . Dlik} be the set of image bins at level k occupied by the cluster cik-1 (that is, at least one of the sample points of the cluster belongs to one of the image bins), the proximity constraint to group two clusters cik-1, cjk-1 from level k−1 into one at level k can be given as ∃l, m|Dlik−Dmjk|≦1.
Using the multidimensional image model outlined above, the average density of a cluster obtained at pyramid level k is obtained by noting the average number of samples with the given cluster label in an image bin. By letting Nck be the number of image bins for cluster c at pyramid level k and nclk be the number of sample points belonging to cluster c in bin l at pyramid level k, the average density of the cluster c is can be given by




  
    Density
    ⁡
    
      (
      
        c
        k
      
      )
    
  
  =
  
    
      
        
          ∑
          
            l
            =
            1
          
          
            N
            c
          
        
        ⁢
        
          
        
        ⁢
        
          n
          cl
          k
        
      
      
        N
        c
        k
      
    
    .
  




The grouping constraint of density attempts to group clusters that have a small difference in density. That is, given two clusters from pyramid level k−1, cik-1, cjk-1, the density constraint is |Density(cik-1)−Density(cjk-1)|≦τ.
Using the multidimensional image model outlined above, the orientation of the subspace can be characterized by the eigenvectors of the covariance matrix of the subspace. The covariance matrix of the cluster c is given by XcXcT, where Xc are the set of sample points that fall into the cluster c. The eigenvectors are obtained from the characteristic equation (XcXcT−λI)ν=0, where λ are the eigenvalues obtained by solving the characteristic polynomial det(cXcT−λI)=0. Because the covariance matrix is symmetric, the eigenvalues are real and the eigenvectors are orthogonal. In practice, the orientation of the cluster can be determined by the eigenvectors corresponding to the largest eigenvalue.
The orientation constraint of grouping operates to group those clusters from a previous pyramid level at the next level when there is a small difference in their orientation. By letting νi, νj be the eigenvectors corresponding to the largest eigenvalues for two clusters clk-1, cjk-1 respectively, the two clusters are merged at the next pyramid level k if Θ(cik-1, cjk-1)=|νi·νj|≧ρ, where 0≦ρ≦1.0. Here, the dot product represents the cosine of the angle between the above unit eigenvectors.
Using the multidimensional image model outlined above, region contiguity should be implemented as a three-way constraint to determine if two of the regions belonging to different groups being merged potentially intersect with a third region belonging to a group that is already assembled, which would result in physically implausible clusters. The potential for having clusters consisting of intersecting regions belonging to different clusters is a particular concern at higher levels of the image pyramid. For purposes of perceptual grouping, the contiguity of two potential groups cik-1 and cjk-1 can be detected if the potential minimum spanning tree (MST) formed from their merger Vijk does not have an edge intersecting with the MST Vlk of a group already formed at this level clk or with Vmk-1 for the region cmk-1 at previous scale. The merger Vijk=Vik-1∪Vjk-1∪{Emin} where Emin=min{Euv, uεcik-1, νεcjk-1} and Euv is the distance between the M-dimensional points u and v belonging to groups cik-1 and cjk-1 respectively. The two groups cik-1 and cjk-1 meet the contiguity constraint if EminVlk′ where k′=k or k−1 (as the case may be) and  denotes no proper line segment intersection.
At each step of the pyramid, process 100 returns the number of clusters as the connected components grouped. Generally, the number of distinct groups can be expected to decrease with coarseness of sub-sampling until the minimum is reached. In the present exemplary embodiment, at step 130, the cluster curve is obtained and salient bends in the curve are identified as curvature change points to determine the clustering hierarchy. In practice, the number of clusters as a function of image sample size can be represented as a monotonically decreasing curve. FIG. 6 illustrates a graph of an exemplary variation of clusters for a sample set as a function of image resolution. The salient bends W, X, Y, and Z indicated by the arrows on the curve are used as levels of hierarchical clustering. Although the pyramidal representation gives the multi-resolution decomposition for purposes of grouping, not all levels may produce distinct changes in the grouping. Rather, distinct groups may emerge at certain levels of resolution and such emergence is usually marked with a distinct change in the number of clusters.
By plotting the variation in the number of clusters as a function of the image resolution, a pronounced bend can be observed at distinct points when salient groups emerge. These sharp changes in the cluster curve at points of steep slope or slope change can be used to signal the various levels in a hierarchical clustering. In particular, the last salient bend before the image shrinks to zero can be taken as the residual clusters at the top level. In exemplary embodiments, these change points can be detected using an algorithm for scale-space salient change detection in which the bends are identified as curvature change points, that is, where there is a zero crossing in the second derivative of the signal. By noting the image size at each bend, the corresponding subspaces are retained as levels of the clustering hierarchy. It should be noted that with the pyramidal grouping, the highest level need not be limited to a single cluster as in conventional agglomerative clustering because region grouping is dictated not only by proximity but also by orientation and change in density.
FIGS. 5a-5f are graphs illustrating the different levels of an exemplary pyramidal grouping performed in accordance with the present exemplary process. In this exemplary embodiment, multi-resolution decomposition is used to guide the perceptual grouping of data points using factors of proximity, orientation, and density. The number of clusters decreases as a function of image size. FIG. 5a shows the original data. The clustering can be produced at each level in the hierarchy by using the bends on this curve as an indication of level are shown in FIGS. 5b-5f. As can be seen, there are only a few levels of clustering, with the top level of the hierarchy representing the top-level structures perceived in the dataset without grouping all the data points into a single cluster, which is remarkably different from conventional hierarchical clustering schemes.
As described above, the exemplary clustering process illustrated in FIG. 4 can be used to create a multidimensional image pyramid by successively sub-sampling the original multidimensional image formed from the data samples. The exemplary clustering process is based upon perceptual grouping concepts that are applicable to high-dimensional spaces. The approach identifies bends in cluster curves that it then uses to determine the cluster hierarchy. The process can identify clusters which would be obvious using a visual metaphor but would otherwise be unrecognized using only proximity based measures. The details of the exemplary clustering process illustrated in FIG. 4 can be summarized as follows:
1. At level 0, ci0=Xi, Density(ci)=1.0, and Θ(ci0, cj0)=1.0, and D0(ci)={Di0}.
2. Given the subspaces (clusters from pyramid level k−1), the clusters at level k are assembled. Let nk be the number of clusters at pyramid level k.
3. For k=1 to log L0 do
For i=1 to nk-1 do

    
    
        Make-set(i);
    
    


For i=1 to nk-1 do
For j=i+1 to nk-1 do

    
    
        If (∃l, m|Dlik−Dmjk|≦1) &&
        
            (|Density(cik-1)−Density(cjk-1)|≦τ) &&
            (θ(clk-1, cjk-1)≧ρ) &&
            (EminVlk′)
            
                {
                
                    if (find-set(i)≠find-set(j))
                     union-find(i,j)
                
                
                }
            
            
        
        
    
    


4. Find salient bends in the curve plotting the nk vs. Lk. Let the bends be at positions {(Ll1, nl1), . . . (LlS, nlS)}.
5. The hierarchical levels for clustering are given by {Ll1, . . . LlS}. The corresponding clusters at each cluster hierarchy level are identified as




  
    {
    
      
        {
        
          
            c
            1
            
              l
              1
            
          
          ,
          
            ...
            ⁢
            
              
            
            ⁢
            
              c
              
                n
                
                  l
                  1
                
              
              
                l
                1
              
            
          
        
        }
      
      ⁢
      ...
      ⁢
      
        {
        
          
            c
            1
            
              l
              s
            
          
          ,
          
            ...
            ⁢
            
              
            
            ⁢
            
              c
              
                n
                
                  l
                  s
                
              
              
                l
                s
              
            
          
        
        }
      
    
    }
  
  .




The exemplary process has three parameters, namely, L0, τ, ρ, that can be chosen as follows. The starting image size for the pyramidal sampling can be taken as the minimum non-zero distance between pairs of sample points in the data set. Nevertheless, a starting sampling size based on the distance that is at 1/100th percentile in the sorted list of distances between pairs of points can usually be sufficient. In this case, supposing the pair-wise Euclidean distance at 1/100th percentile is d,




  
    L
    0
  
  =
  
    
      ⌈
      
        1
        d
      
      ⌉
    
    .
  




The process does not require a priori information regarding to the number of clusters or starting points for the computation.

As a result of exemplary embodiments of the present invention, technically we have achieved a solution that can be implemented to cluster data points in a multidimensional dataset in a multidimensional image space in a manner that performs pyramidal clustering by applying perceptual grouping constraints to identify multi-level structures in the dataset, can automatically determine the number of perceivable clusters at each level of an image pyramid, and can thereby determine a hierarchical clustering for the dataset.
In exemplary embodiments, the clustering output can be generated in the form of a tabular list of point coordinates along the corresponding cluster labels. The output can also be visualized using any suitable technique for visualizing clustering results.
The capabilities of exemplary embodiments of present invention described above can be implemented in software, firmware, hardware, or some combination thereof, and may be realized in a centralized fashion in one computer system, or in a distributed fashion where different elements are spread across several interconnected computer systems. Any kind of computer system—or other apparatus adapted for carrying out the methods and/or functions described herein—is suitable. A typical combination of hardware and software could be a general purpose computer system with a computer program that, when being loaded and executed, controls the computer system such that it carries out the methods described herein. Exemplary embodiments of the present invention can also be embedded in a computer program product, which comprises features enabling the implementation of the methods described herein, and which—when loaded in a computer system—is able to carry out these methods.
Computer program means or computer program in the present context include any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after conversion to another language, code or notation, and/or reproduction in a different material form.
Therefore, one or more aspects of exemplary embodiments of the present invention can be included in an article of manufacture (for example, one or more computer program products) having, for instance, computer usable media. The media has embodied therein, for instance, computer readable program code means for providing and facilitating the capabilities of the present invention. The article of manufacture can be included as a part of a computer system or sold separately. Furthermore, at least one program storage device readable by a machine, tangibly embodying at least one program of instructions executable by the machine to perform the capabilities of the exemplary embodiments of the present invention described above can be provided.
For instance, exemplary embodiments of the present invention can be implemented within the exemplary embodiment of a hardware configuration provided for a computer system in FIG. 7. FIG. 7 illustrates an exemplary computer system 10 upon which exemplary embodiments of the present invention can be implemented. A processor or CPU 12 receives data and instructions for operating upon from on-board cache memory or further cache memory 18, possibly through the mediation of a cache controller 20, which can in turn receives such data from system read/write memory (“RAM”) 22 through a RAM controller 24, or from various peripheral devices through a system bus 26. The data and instruction contents of RAM 22 will ordinarily have been loaded from peripheral devices such as a system disk 27. Alternative sources include communications interface 28, which can receive instructions and data from other computer systems.
The above-described program or modules implementing exemplary embodiments of the present invention can work on processor 12 and the like to perform clustering. The program or modules implementing exemplary embodiments may be stored in an external storage medium. In addition to system disk 27, an optical recording medium such as a DVD and a PD, a magneto-optical recording medium such as a MD, a tape medium, a semiconductor memory such as an IC card, and the like may be used as the storage medium. Moreover, the program may be provided to computer system 10 through the network by using, as the recording medium, a storage device such as a hard disk or a RAM, which is provided in a server system connected to a dedicated communication network or the Internet.
Although exemplary embodiments of the present invention have been described in detail, it should be understood that various changes, substitutions and alternations can be made therein without departing from spirit and scope of the inventions as defined by the appended claims. Variations described for exemplary embodiments of the present invention can be realized in any combination desirable for each particular application. Thus particular limitations, and/or embodiment enhancements described herein, which may have particular advantages to a particular application, need not be used for all applications. Also, not all limitations need be implemented in methods, systems, and/or apparatuses including one or more concepts described with relation to exemplary embodiments of the present invention.
While exemplary embodiments of the present invention have been described, it will be understood that those skilled in the art, both now and in the future, may make various modifications without departing from the spirit and the scope of the present invention as set forth in the following claims. These following claims should be construed to maintain the proper protection for the present invention.

## Claims

1. A method executed on a computer for determining a hierarchical clustering of a multidimensional dataset in a multidimensional image space, the method comprising:
using the computer to perform the following:
receiving a pyramid of multidimensional images of the multidimensional dataset, the images of the pyramid representing a first multidimensional image of the multidimensional dataset at successively lower resolution levels;
identifying data clusters at each resolution level of the pyramid by applying a set of perceptual grouping constraints;
plotting a variation curve of a magnitude of data clusters identified at each resolution level of the pyramid as a function of resolution level; and
generating a clustering hierarchy for the multidimensional dataset by identifying the resolution level at each salient bend in the variation curve as a level of the clustering hierarchy.

2. The method of claim 1, wherein the pyramid of multidimensional images of the multidimensional dataset is a Laplacian pyramid.

3. The method of claim 1, wherein identifying data clusters at each resolution level comprises identifying data clusters at a highest resolution level of the pyramid by applying the set of perceptual grouping constraints, and identifying data clusters at each successively lower resolution level of the pyramid by extracting data clusters identified at the previous resolution level and applying the set of perceptual grouping constraints.

4. The method of claim 1, wherein the set of perceptual grouping constraints comprises proximity, density, orientation similarity, and region contiguity.

5. The method of claim 1, wherein identifying the resolution level at each salient bend comprises identifying the resolution level at each zero crossing in a second derivative of the variation curve.