Unsupervised image categorization and affinity propagation clustering

AP (Affinity Propagation) finds a set of exemplars, Unsupervised image categorization and affinity propagation clustering, in the dataset and assigns nonselected points to the exemplars. An exemplar is the representative of a cluster.

Two types of messages are exchanged between data objects or points; they are explained here:

  • The r(i,k) message, which is called responsibility, represents the accumulated evidence sent from Unsupervised image categorization and affinity propagation clustering to Unsupervised image categorization and affinity propagation clustering. It informs us that Unsupervised image categorization and affinity propagation clustering is suitable to serve as the exemplar of point Unsupervised image categorization and affinity propagation clustering. Every candidate is counted in.
  • The a(i,k) message, which is called availability, denotes the accumulated evidence sent from Unsupervised image categorization and affinity propagation clustering to Unsupervised image categorization and affinity propagation clustering. It informs us that Unsupervised image categorization and affinity propagation clustering should be the exemplar. Every support from other points is well considered.

Both r(i, k) and a(i,k) are initialized as 0 at the beginning of the algorithm:

Unsupervised image categorization and affinity propagation clustering
Unsupervised image categorization and affinity propagation clustering

Unsupervised image categorization and affinity propagation clustering , for s(k, k) is initialized with the same value (typically defined with heuristic knowledge) for each point at the start and updated in the following description to recur the affection. s(i, k) denotes the extent to which Unsupervised image categorization and affinity propagation clustering is suited to be the exemplar of Unsupervised image categorization and affinity propagation clustering. Here is a possible value for s(i, i) to be set as a constant:

Unsupervised image categorization and affinity propagation clustering
Unsupervised image categorization and affinity propagation clustering
Unsupervised image categorization and affinity propagation clustering

The index of exemplar, Unsupervised image categorization and affinity propagation clustering, which is for data point Unsupervised image categorization and affinity propagation clustering, is defined with the following formula:

arg max {a(i,k) + r(i,k), k = 1,…, N}

Given R = (r(i, j)) as the responsibility matrix and A = (a(i, j)) as the availability matrix, t represents the iteration counts, where a damping factor Unsupervised image categorization and affinity propagation clustering is set to depress numerical oscillations that might arise:

Unsupervised image categorization and affinity propagation clustering
Unsupervised image categorization and affinity propagation clustering

Affinity propagation clustering

Affinity propagation itself is summarized as follows:

Affinity propagation clustering

The R implementation

Take a look at the ch_05_affinity_clustering.R R code file from the bundle of R code for the previously mentioned algorithms. The codes can be tested with the following command:

> source("ch_05_affinity_clustering.R")

Unsupervised image categorization

Due to the massive number of images and other multimedia documents, the task to classify images becomes even harder than before. Unsupervised image categorization is frequently utilized by image and video summarization, or it just serves as a preprocessing step in supervised methods for classification.

One major issue related to unsupervised image categorization is to estimate the distribution of image categories. Further on, finding the most descriptive prototypes of the image categories is another main issue of image categorization.

Each image can be represented as a high-dimensional data instance, including features related to color, texture, and shape. The exemplar technique is applied here; it represents image categories by a small set of image or its fragments. Given exemplar concepts, the dimension of an image data instance reduces to a relatively small size and eases further processing. The measures applied here include the Chamfer, Hausdorff, and shuffle distances.

Natural categories of the dataset can be of various complex types; overlapping might be a frequent shape.

Unsupervised image categorization or classification is a clustering problem. Image clustering is to identify a set of similar image primitives, such as pixels, line elements, regions, and so on. Given the complex dataset, the recommended way is to use the prototype-based clustering algorithm. Affinity propagation algorithms can be applied to unsupervised categorization by finding a subset of representative exemplars.

The spectral clustering algorithm

The summarized pseudocode for the spectral clustering algorithm is as follows:

The spectral clustering algorithm

The R implementation

Take a look at the ch_05_ spectral_clustering.R R code file from the bundle of R code for the previously mentioned algorithms. The codes can be tested with the following command:

> source("ch_05_ spectral_clustering.R")
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.90.59