The present invention relates to a method for characterizing an image based on the color or textural content of the image.
Image characterization is a process for describing an image based upon the outcomes of the application of preselected measures to the image. Image characterization is useful in a number of applications such as digital image libraries where image content is useful as a basis for image indexing and retrieval. For image characterization to be practical and effective the outcome of the application of the measures to the image should be: (1) sufficient to distinguish between different images, (2) invariant to certain types of transformations of the image, (3) insensitive to noise, (4) easy to compute and (5) compact. Various methods of image characterization have been used and proposed with resulting image descriptors exhibiting these attributes to differing degrees.
A paper by Swain et al. entitled COLOR INDEXING describes the use of color histograms to characterize images. A color histogram of an image is obtained by calculating the frequency distribution of picture elements or pixels as a function of pixel color. Color histograms are invariant to translation or rotation of the image about the viewing axis. Color histograms can differ markedly for images with differing features. However, all spatial information about the features in the image is discarded in the creation of the color histogram. Therefore as long as two images have the same number of picture elements of each color it is not possible to distinguish between them using color histograms. This is true even if the two images contain features of completely different size or shape. For example, the total areas of the like colored (like hatched) geometric features of the two images of FIG. 1A and
Several methods have been proposed to improve different aspects of the performance of color histograms. Stricker et al. in the paper entitled SIMILARITY OF COLOR IMAGES proposed the use of color moments. Color moments are statistical measures of the shape and position of the population distribution of pixel colors. In particular the color moments include a mean, a standard deviation and a skewness. Expressing the information contained in the color histogram in terms of a color moment results in a very compact image descriptor. Funt et al. in the paper entitled COLOR CONSTANT COLOR INDEXING proposed using the ratios of color triples [the red, the green and the blue pixels (RGB)] from neighboring regions of an image to reduce the effects of intensity variations. Rubner et al. in the paper entitled NAVIGATING THROUGH A SPACE OF COLOR IMAGES proposed the use of color signatures which is a plot of clusters of similar colors in an RGB color space. Using color signatures reduces the amount of data necessary to describe an image compared to that required for a color histogram. These methods improve some aspects of the performance of the image descriptors over the color histogram. However, like the color histogram, no spatial information is preserved.
Several processes have been proposed which attempt to preserve some of the spatial information that is discarded in the construction of a color histogram. Pass et.al in the paper entitled HISTOGRAM REFINEMENT FOR CONTENT BASED IMAGE RETRIEVAL proposed refining the color histogram with color coherence vectors. In this process the coherence of the color of a picture element in relation to that of other picture elements in a contiguous region is determined. Even though the number of picture elements of each color is equal and, therefore, the color histograms are identical for two images, differences between features in the images will mean that the numbers of picture elements of each color which are color coherent will vary. Color coherence vectors do embed some spatial information in the descriptors. Unfortunately, they require at least twice as much additional storage space as a traditional histogram.
Rickman et al. in the paper entitled CONTENT-BASED IMAGE RETRIEVAL USING COLOUR TUPLE HISTOGRAMS proposed image characterization by construction of a histogram of the color hue at the vertices of randomly located triangular color tuples. Since the vertices of the triangular tuples are spaced apart, some spatial information is retained. Unfortunately, it is difficult to determine the dominant color of an image from the color tuple data. Further, the retained spatial information is difficult to interpret in a normal sense, therefore making it difficult to use the information for indexing an image database.
“Color correlograms” were proposed for image characterization by Huang et al. in the paper entitled IMAGE INDEXING USING COLOR CORRELOGRAMS. A color correlogram quantifies the probability that a pixel of a particular color will lie at a specified radial distance from a pixel of a particular color in the image. The color correlogram provides a technique of measuring color coherence at different scales or distances from a point on the image. However, it is difficult to determine the dominant color of the image from a correlogram and it is difficult to interpret the correlogram in any usual human sense.
Smith et al. in the paper entitled QUERYING BY COLOR REGIONS USING THE VISUALSEEK CONTENT-BASED VISUAL QUERY SYSTEM describes a method of image characterization using regions of color. Color data is transformed and the colors of the image are quantized and then filtered to emphasize prominent color regions. “Color set” values are extracted and a histogram is approximated by retaining those color set values above a threshold level. This method of image characterization requires image segmentation, a process that is difficult and computationally intensive. The region representation is rigid and variant to rotation or translation of images.
“Blobworld” is a method of image representation proposed by Carson et al. in the paper entitled REGION-BASED IMAGE QUERYING. In this method the image is segmented into a set of localized coherent regions of color and texture, known as “blobs.” The “blobworld” representation of the image is the result of recording the location, size, and color of the segmented color blobs. This method provides considerable spatial information about the image, but the “blobworld” representation is rigid and variant to rotation or translation of images. Further, the image segmentation process is difficult and requires substantial computational resources.
What is desired, therefore, is a method for characterizing an image that embeds sufficient spatial information in the descriptors to enable distinguishing images on the basis of their content. In addition the method should also be invariant to certain types of transformations of the image, conserve computational and storage resources, be insensitive to noise, and be easy to interpret in a normal sense.
The present invention overcomes the aforementioned drawbacks of the prior art by providing a method for characterizing an image comprising the steps of defining a spatial structural element including a plurality of picture elements, delineating on the image a number of test areas corresponding to the spatial structural element, and quantifying the color or, in the alternative, the texture of the image in the delineated test areas. The data resulting from the application of the inventive method is highly invariant to rotation or translation of images, but contains sufficient embedded spatial information to permit images with features of different scale to be distinguished. Further, the application of statistical methods can result in very compact expressions of the data. Also, it is computationally simple.
The foregoing and other objectives, features and advantages of the invention will be more readily understood upon consideration of the following detailed description of the invention, taken in conjunction with the accompanying drawings.
In the method of image characterization of the present invention, the color or texture is quantified for a plurality of areas of predefined size and shape. The areas are preferably located on the image according to a predefined plan. The color or textural data for these areas of the image or statistical data related thereto obtained from the application of this method are useful in describing the image and in distinguishing between images. The data obtained may be referred to as image descriptors.
A number of the test areas 6 of
Like the shape of the test areas and the plan for locating test areas, the size of the test area is determined in the application. However, spatial information about the image is embedded in the data or image descriptors because the test areas have scale, that is, the areas encompass a plurality of picture elements. As can be seen by comparing
Likewise if the sizes of the individual color regions of two images differ, the number of test areas of each color will likely vary. For example, the total areas of the four square 10 and circular 12 features of the image of
While some test areas may lie completely within a region of homogeneous color, several of the test areas of
As can be seen in
For example, a test of homogeneity can be based on the standard deviation of colors of the picture elements in the test area. If σk is the standard deviation of the pixel values in color channel k within a test area then homogeneity can be defined by:
An alternative homogeneity test function can be based on principle component analysis. A matrix A is defined as A=(pij)M×N where pij is the jth color component of the ith pixel within a test area ε. The singular values of A are determined by singular value decomposition. Letting ρk, where k=1,2, . . . , denote the singular values of A in descending order of magnitude, then homogeneity can be defined as:
Data produced by the application of the present method of image characterization can be incorporated into statistical representations which are familiar in the field. A “color blob” histogram can be constructed to present the frequency distribution of the population of test areas as a function of their color. For a given image I, a color blob histogram is the population distribution of all test areas of scale s, where s is the size of the test area in picture elements. The color blob histogram is defined as an array hs that has an element hs,c for each quantified color c belonging to the set C, that is c ε C, and:
hs,c=|{ε⊂Is|c(ε)=c}|,
The population distribution of test areas as a function of color can also be described by color blob moments which are the statistical moments of the color blob histogram. The present method has provides the advantage that color blob moments are extremely compact image descriptors. For a given image I, the first, second, and third statistical moments of the population distribution of the test areas of size s in each color channel k are:
Referring to
A second desirable attribute of the present method of image characterization is the invariance of the descriptors to rotation or translation of image features. In the two images in
The method of image characterization of the present invention is equally advantageous in characterizing images on the basis of their texture or surface appearance. While color is a point property and can be described by color histograms or other representations of the color properties of picture elements, texture is a local neighborhood property and texture descriptors describe the properties of an area surrounding a picture element. in applying the present method of image characterization, the texture of the individual test areas can be expressed in terms of mean texture descriptors, such as anisotropy, orientation, and contrast. The texture descriptors can be statistically described by a texture blob histogram. For an image I, a texture blob histogram for test areas containing s picture elements is the population distribution of test areas of size s, defined as an array hs that has an element hs,t for each quantized texture model t contained in T and
hs,t=|{ε⊂Is ⊂t(ε)=f}|
For a given image I, the texture blob moments for test areas of scale s are the first, second, and third statistical moments of the frequency distribution of the test areas of size s in each texture band k, that is:
The aforementioned technique counts the total number of test areas that are sufficiently homogeneous based upon the standard deviation of the color or texture. Unfortunately, selection of the threshold value for the standard deviation is difficult. If the threshold value is zero then no test area will likely be sufficiently homogeneous. Alternatively, if the threshold value is large then many of the test areas will likely be not very homogeneous, yet still be counted. Referring to
Referring again to
The size of the test area can have a profound effect on the number of sufficiently homogeneous test areas. Referring to
The technique described herein is applicable to any suitable color space, such as Y/Cb/Cr. The pattern and size of the test areas on the images may be changed or be random, if desired.
The aforementioned homogeneity test provides a result that is either sufficiently homogenous (yes or “1”) or not sufficiently homogenous (no or “0”), in a manner similar to a step function. The present inventors came to the realization that such a homogeneity test is sensitive to noise because slight variations in the standard deviation, which is a calculated quantity, may change the result of the homogeneity test if the standard deviation is close to the threshold. Accordingly, the aforementioned homogeneity test is sensitive to noise and doesn't take into account finer gradations in the amount of homogeneity. Referring to
Referring again to
It is to be understood that the aforementioned description regarding a “soft” thresholding technique and modified matrix is likewise applicable for texture.
The terms and expressions that have been employed in the foregoing specification are used as terms of description and not of limitation, and there is no intention, in the use of such terms and expressions, of excluding equivalents of the features shown and described or portions thereof, it being recognized that the scope of the invention is defined and limited only by the claims that follow.
This application is a continuation of Ser. No. 09/264,248 filed Mar. 8, 1999, now U.S. Pat. No. 6,542,632 which claims benefit of provisional application No. 60/118,212, filed on Feb. 1, 1999.
Number | Name | Date | Kind |
---|---|---|---|
4979225 | Tsujiuchi et al. | Dec 1990 | A |
5274715 | Hsu | Dec 1993 | A |
5309228 | Nakamura | May 1994 | A |
5446543 | Nakagawa et al. | Aug 1995 | A |
5446709 | Mukai | Aug 1995 | A |
5509111 | Hong et al. | Apr 1996 | A |
5521841 | Arman et al. | May 1996 | A |
5579471 | Barber et al. | Nov 1996 | A |
5586197 | Tsujimura et al. | Dec 1996 | A |
5606655 | Arman et al. | Feb 1997 | A |
5652881 | Takahashi et al. | Jul 1997 | A |
5875265 | Kasao | Feb 1999 | A |
5963670 | Lipson et al. | Oct 1999 | A |
6115717 | Mehrotra et al. | Sep 2000 | A |
6134541 | Castelli et al. | Oct 2000 | A |
6445835 | Qian | Sep 2002 | B1 |
6542632 | Qian et al. | Apr 2003 | B1 |
Number | Date | Country | |
---|---|---|---|
20020102020 A1 | Aug 2002 | US |
Number | Date | Country | |
---|---|---|---|
60118212 | Feb 1999 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09264248 | Mar 1999 | US |
Child | 10066166 | US |