We present an approach to detecting and localizing defects in random color textures which requires only a few defect free samples for unsupervised training. It is assumed that each image is generated by a superposition of various-size image patches with added variations at each pixel position. These image patches and their corresponding variances are referred to here as textural exemplars or texems. Mixture models are applied to obtain the texems using multiscale analysis to reduce the computational costs. Novelty detection on color texture surfaces is performed by examining the same-source similarity based on the data likelihood in multiscale, followed by logical processes to combine the defect candidates to localize defects. The proposed method is compared against a Gabor filter bank-based novelty detection method. Also, we compare different texem generalization schemes for defect detection in terms of accuracy and efficiency.

Example marble tiles from the same family whose patterns are different but visually consistent.

Structure of the Texem Model

In the two-layer generative model, an image in the first layer is assumed to be generated by superposition of a small number of image patches of various sizes from the second layer with added Gaussian noise at each pixel position. We define each texem as a mean image patch associated with a corresponding variance which controls its variation. The form of the texem variance can vary according to the learning scheme used. The generation process can be naturally modelled by mixture models with a bottom-up procedure.

An illustration of the two-layer structure of the texem model and its bottomup learning procedure. Images I are split into patches Z, from which texems M are learned. The images can, in turn, be generated from superposition of a selection of texems from M.

We use two different mixture models to extract texems from a single sample image with each texem containing some of the overall textural primitive information. The first is for graylevel images in which we vectorise the image patches and apply a Gaussian mixture model to obtain the texems. The second represent the colour textures by texems using a mixture model learnt based on joint Gaussian distributions within local neighbourhoods.

Original collage image
Individual RGB channels
Eigenchannel images

A comparison of RGB channel separation and PCA eigenchannel decomposition. The R, G, and B channels are highly correlated to each other. Their spatial relationship (texture) within each channel are very similar to each other, i.e. the channels are not sufficiently complimentary; Each eigenchannel exhibits its own characteristics, e.g., the first eigenchannel preserves most of the textural information while the last eigenchannel maintains the ambient emphasis of the image.

Eight 7 x 7 texems extracted from the above image. Each texem is defined by mean values (top row) and their corresponding variance images (bottom row).

Example results - graylevel texems

Graylevel texems defect localisation. Various defects, such as print errors, bumps, and broken corner, are successfully detected.

Example results - color texems

Defect localisation comparison. Left: original texture with print errors; middle: results by graylevel texems; and right: results by colour texems.

Example results - interscale post-fusion method followed by texem grouping

An example of the interscale post-fusion method followed by texem grouping. From top to bottom: original image and its segmentation result, initial labelling of 5 texem classes for each scale, updated labelling after grouping 5 texems into 3, and results of interscale fusion.

Example results - color image segmentation - synthetic images

Segmentation of five synthetic images with different textures. From top to bottom: original image collages, groundtruth segmentations, JSEG results, results of the proposed method using interscale post-fusion, and results of the proposed method using branch partitioning.

Example results - color image segmentation - real images

Segmentation of three real images. From left to right: original images, JSEG results, results of the proposed method using interscale post-fusion, and results of the proposed method using branch partitioning.

Funding

This project was funded by the European Commission under grant G1RD-CT- 2002-00783-MONOTONE.

Publications