Content-based image retrieval

Content-based image retrieval, also known as query by image content (QBIC) and content-based visual information retrieval (CBVIR), is the application of computer vision techniques to the image retrieval problem, that is, the problem of searching for digital images in large databases (see this survey[1] for a scientific overview of the CBIR field). Content-based image retrieval is opposed to traditional concept-based approaches (see Concept-based image indexing).

General scheme of content-based image retrieval

"Content-based" means that the search analyzes the contents of the image rather than the metadata such as keywords, tags, or descriptions associated with the image. The term "content" in this context might refer to colors, shapes, textures, or any other information that can be derived from the image itself. CBIR is desirable because searches that rely purely on metadata are dependent on annotation quality and completeness.

Comparison with metadata searching

edit

An image meta search requires humans to have manually annotated images by entering keywords or metadata in a large database, which can be time-consuming and may not capture the keywords desired to describe the image. The evaluation of the effectiveness of keyword image search is subjective and has not been well-defined. In the same regard, CBIR systems have similar challenges in defining success.[2] "Keywords also limit the scope of queries to the set of predetermined criteria." and, "having been set up" are less reliable than using the content itself.[3]

History

edit

The term "content-based image retrieval" seems to have originated in 1992 when it was used by Japanese Electrotechnical Laboratory engineer Toshikazu Kato to describe experiments into automatic retrieval of images from a database, based on the colors and shapes present.[2][4] Since then, the term has been used to describe the process of retrieving desired images from a large collection on the basis of syntactical image features. The techniques, tools, and algorithms that are used originate from fields such as statistics, pattern recognition, signal processing, and computer vision.[1]

QBIC - Query By Image Content

edit

The earliest commercial CBIR system was developed by IBM and was called QBIC (Query By Image Content).[5][6] Recent network- and graph-based approaches have presented a simple and attractive alternative to existing methods.[7]

While the storing of multiple images as part of a single entity preceded the term BLOB (Binary Large OBject),[8] the ability to fully search by content, rather than by description, had to await IBM's QBIC.[3]

VisualRank

edit

VisualRank is a system for finding and ranking images by analysing and comparing their content, rather than searching image names, Web links or other text. Google scientists made their VisualRank work public in a paper describing applying PageRank to Google image search at the International World Wide Web Conference in Beijing in 2008.

[9]

Technical progress

edit

The interest in CBIR has grown because of the limitations inherent in metadata-based systems, as well as the large range of possible uses for efficient image retrieval. Textual information about images can be easily searched using existing technology, but this requires humans to manually describe each image in the database. This can be impractical for very large databases or for images that are generated automatically, e.g. those from surveillance cameras. It is also possible to miss images that use different synonyms in their descriptions. Systems based on categorizing images in semantic classes like "cat" as a subclass of "animal" can avoid the miscategorization problem, but will require more effort by a user to find images that might be "cats", but are only classified as an "animal". Many standards have been developed to categorize images, but all still face scaling and miscategorization issues.[2]

Initial CBIR systems were developed to search databases based on image color, texture, and shape properties. After these systems were developed, the need for user-friendly interfaces became apparent. Therefore, efforts in the CBIR field started to include human-centered design that tried to meet the needs of the user performing the search. This typically means inclusion of: query methods that may allow descriptive semantics, queries that may involve user feedback, systems that may include machine learning, and systems that may understand user satisfaction levels.[1]

Techniques

edit

Many CBIR systems have been developed, but as of 2006, the problem of retrieving images on the basis of their pixel content remains largely unsolved.[1][needs update]

Different query techniques and implementations of CBIR make use of different types of user queries.

Query By Example

edit

QBE (Query By Example) is a query technique[10] that involves providing the CBIR system with an example image that it will then base its search upon. The underlying search algorithms may vary depending on the application, but result images should all share common elements with the provided example.[11]

Options for providing example images to the system include:

  • A preexisting image may be supplied by the user or chosen from a random set.
  • The user draws a rough approximation of the image they are looking for, for example with blobs of color or general shapes.[11]

This query technique removes the difficulties that can arise when trying to describe images with words.

Semantic retrieval

edit

Semantic retrieval starts with a user making a request like "find pictures of Abraham Lincoln". This type of open-ended task is very difficult for computers to perform - Lincoln may not always be facing the camera or in the same pose. Many CBIR systems therefore generally make use of lower-level features like texture, color, and shape. These features are either used in combination with interfaces that allow easier input of the criteria or with databases that have already been trained to match features (such as faces, fingerprints, or shape matching). However, in general, image retrieval requires human feedback in order to identify higher-level concepts.[6]

Relevance feedback (human interaction)

edit

Combining CBIR search techniques available with the wide range of potential users and their intent can be a difficult task. An aspect of making CBIR successful relies entirely on the ability to understand the user intent.[12] CBIR systems can make use of relevance feedback, where the user progressively refines the search results by marking images in the results as "relevant", "not relevant", or "neutral" to the search query, then repeating the search with the new information. Examples of this type of interface have been developed.[13]

Iterative/machine learning

edit

Machine learning and application of iterative techniques are becoming more common in CBIR.[14]

Other query methods

edit

Other query methods include browsing for example images, navigating customized/hierarchical categories, querying by image region (rather than the entire image), querying by multiple example images, querying by visual sketch, querying by direct specification of image features, and multimodal queries (e.g. combining touch, voice, etc.)[15]

Content comparison using image distance measures

edit

The most common method for comparing two images in content-based image retrieval (typically an example image and an image from the database) is using an image distance measure. An image distance measure compares the similarity of two images in various dimensions such as color, texture, shape, and others. For example, a distance of 0 signifies an exact match with the query, with respect to the dimensions that were considered. As one may intuitively gather, a value greater than 0 indicates various degrees of similarities between the images. Search results then can be sorted based on their distance to the queried image.[11] Many measures of image distance (Similarity Models) have been developed.[16]

Color

edit

Computing distance measures based on color similarity is achieved by computing a color histogram for each image that identifies the proportion of pixels within an image holding specific values.[2] Examining images based on the colors they contain is one of the most widely used techniques because it can be completed without regard to image size or orientation.[6] However, research has also attempted to segment color proportion by region and by spatial relationship among several color regions.[15]

Texture

edit

Texture measures look for visual patterns in images and how they are spatially defined. Textures are represented by texels which are then placed into a number of sets, depending on how many textures are detected in the image. These sets not only define the texture, but also where in the image the texture is located.[11]

Texture is a difficult concept to represent. The identification of specific textures in an image is achieved primarily by modeling texture as a two-dimensional gray level variation. The relative brightness of pairs of pixels is computed such that degree of contrast, regularity, coarseness and directionality may be estimated.[6][17] The problem is in identifying patterns of co-pixel variation and associating them with particular classes of textures such as silky, or rough.

Other methods of classifying textures include:

Shape

edit

Shape does not refer to the shape of an image but to the shape of a particular region that is being sought out. Shapes will often be determined first applying segmentation or edge detection to an image. Other methods use shape filters to identify given shapes of an image.[18] Shape descriptors may also need to be invariant to translation, rotation, and scale.[6]

Some shape descriptors include:[6]

Vulnerabilities, attacks and defenses

edit

Like other tasks in computer vision such as recognition and detection, recent neural network based retrieval algorithms are susceptible to adversarial attacks, both as candidate and the query attacks.[19] It is shown that retrieved ranking could be dramatically altered with only small perturbations imperceptible to human beings. In addition, model-agnostic transferable adversarial examples are also possible, which enables black-box adversarial attacks on deep ranking systems without requiring access to their underlying implementations.[19][20]

Conversely, the resistance to such attacks can be improved via adversarial defenses such as the Madry defense.[21]

Image retrieval evaluation

edit

Measures of image retrieval can be defined in terms of precision and recall. However, there are other methods being considered.[22]

Image retrieval in CBIR system simultaneously by different techniques

edit

An image is retrieved in CBIR system by adopting several techniques simultaneously such as Integrating Pixel Cluster Indexing, histogram intersection and discrete wavelet transform methods.[23]

Applications

edit

Potential uses for CBIR include:[2]

Commercial Systems that have been developed include:[2]

  • IBM's QBIC
  • Virage's VIR Image Engine
  • Excalibur's Image RetrievalWare
  • VisualSEEk and WebSEEk
  • Netra
  • MARS
  • Vhoto
  • Pixolution

Experimental Systems include:[2]

  • MIT's Photobook
  • Columbia University's WebSEEk
  • Carnegie-Mellon University's Informedia
  • iSearch - PICT

See also

edit

References

edit
  1. ^ a b c d Content-based Multimedia Information Retrieval: State of the Art and Challenges (Original source, 404'd)Content-based Multimedia Information Retrieval: State of the Art and Challenges Archived 2007-09-28 at the Wayback Machine, Michael Lew, et al., ACM Transactions on Multimedia Computing, Communications, and Applications, pp. 1–19, 2006.
  2. ^ a b c d e f g Eakins, John; Graham, Margaret. "Content-based Image Retrieval". University of Northumbria at Newcastle. Archived from the original on 2012-02-05. Retrieved 2014-03-10.
  3. ^ a b Julie Anderson (April 29, 1996). "Search Images / Object Design Inc - Bargain of the year Stock Discussion Forums (Aug. 6, 1996)". Information Week (OnLine-reprinted in Silicon Investor's Stock Discussion Forums (Aug. 6, 1996). p. 69 (IW). At DB Expo in San Francisco earlier this month ...[permanent dead link]
  4. ^ Kato, Toshikazu (April 1992). Jamberdino, Albert A.; Niblack, Carlton W. (eds.). "Database architecture for content-based image retrieval". Image Storage and Retrieval Systems. 1662. International Society for Optics and Photonics: 112–123. Bibcode:1992SPIE.1662..112K. doi:10.1117/12.58497. S2CID 14342247.
  5. ^ Flickner, M.; Sawhney, H.; Niblack, W.; Ashley, J.; Qian Huang; Dom, B.; Gorkani, M.; Hafner, J.; Lee, D.; Petkovic, D.; Steele, D.; Yanker, P. (1995). "Query by image and video content: the QBIC system". Computer. 28 (9): 23–32. doi:10.1109/2.410146. Abstract: Research on ways to extend and improve query methods for image databases is widespread. We have developed the QBIC (Query by Image Content) ...
  6. ^ a b c d e f Rui, Yong; Huang, Thomas S.; Chang, Shih-Fu (1999). "Image Retrieval: Current Techniques, Promising Directions, and Open Issues". Journal of Visual Communication and Image Representation. 10: 39–62. CiteSeerX 10.1.1.32.7819. doi:10.1006/jvci.1999.0413. S2CID 2910032.[permanent dead link]
  7. ^ Banerjee, S. J.; et al. (2015). "Using complex networks towards information retrieval and diagnostics in multidimensional imaging". Scientific Reports. 5: 17271. arXiv:1506.02602. Bibcode:2015NatSR...517271B. doi:10.1038/srep17271. PMC 4667282. PMID 26626047.
  8. ^ "The true story of BLOBs". Archived from the original on 2011-07-23.
  9. ^ Yushi Jing and Baluja, S. (2008). "VisualRank: Applying PageRank to Large-Scale Image Search". IEEE Transactions on Pattern Analysis and Machine Intelligence. 30 (11): 1877–1890. CiteSeerX 10.1.1.309.741. doi:10.1109/TPAMI.2008.121. ISSN 0162-8828. PMID 18787237. S2CID 10545157..
  10. ^ "Query-by-Example". IBM.com KnowledgeCenter. QBE is a language for querying ...
  11. ^ a b c d Shapiro, Linda; George Stockman (2001). Computer Vision. Upper Saddle River, NJ: Prentice Hall. ISBN 978-0-13-030796-5.
  12. ^ Datta, Ritendra; Dhiraj Joshi; Jia Li; James Z. Wang (2008). "Image Retrieval: Ideas, Influences, and Trends of the New Age". ACM Computing Surveys. 40 (2): 1–60. doi:10.1145/1348246.1348248. S2CID 7060187.
  13. ^ a b Bird, C.L.; P.J. Elliott; E. Griffiths (1996). "User interfaces for content-based image retrieval". IEE Colloquium on Intelligent Image Databases. IET. doi:10.1049/ic:19960746.
  14. ^ Cardoso, Douglas; et al. "Iterative Technique for Content-Based Image Retrieval using Multiple SVM Ensembles" (PDF). Federal University of Parana(Brazil). Retrieved 2014-03-11.
  15. ^ a b Liam M. Mayron. "Image Retrieval Using Visual Attention" (PDF). Mayron.net. Retrieved 2012-10-18.
  16. ^ Eidenberger, Horst (2011). "Fundamental Media Understanding", atpress. ISBN 978-3-8423-7917-6.
  17. ^ Tamura, Hideyuki; Mori, Shunji; Yamawaki, Takashi (1978). "Textural Features Corresponding to Visual Perception". IEEE Transactions on Systems, Man, and Cybernetics. 8 (6): 460, 473. doi:10.1109/tsmc.1978.4309999. S2CID 32197839.
  18. ^ Tushabe, F.; M.H.F. Wilkinson (2008). "Content-Based Image Retrieval Using Combined 2D Attribute Pattern Spectra". Advances in Multilingual and Multimodal Information Retrieval (PDF). Lecture Notes in Computer Science. Vol. 5152. pp. 554–561. doi:10.1007/978-3-540-85760-0_69. ISBN 978-3-540-85759-4. S2CID 18566543.
  19. ^ a b Zhou, Mo; Niu, Zhenxing; Wang, Le; Zhang, Qilin; Hua, Gang (2020). "Adversarial Ranking Attack and Defense". arXiv:2002.11293v2 [cs.CV].
  20. ^ Li, Jie; Ji, Rongrong; Liu, Hong; Hong, Xiaopeng; Gao, Yue; Tian, Qi (2019). "Universal Perturbation Attack Against Image Retrieval". pp. 4899–4908. arXiv:1812.00552 [cs.CV].
  21. ^ Madry, Aleksander; Makelov, Aleksandar; Schmidt, Ludwig; Tsipras, Dimitris; Vladu, Adrian (2017-06-19). "Towards Deep Learning Models Resistant to Adversarial Attacks". arXiv:1706.06083v4 [stat.ML].
  22. ^ Deselaers, Thomas; Keysers, Daniel; Ney, Hermann (2007). "Features for Image Retrieval: An Experimental Comparison" (PDF). RWTH Aachen University. Retrieved 11 March 2014.
  23. ^ Bhattacharjee, Pijush kanti (2010). "Integrating Pixel Cluster Indexing, Histogram Intersection and Discrete Wavelet Transform Methods for Color Images Content Based Image Retrieval System" (PDF). International Journal of Computer and Electrical Engineering [IJCEE], Singapore, vol. 2, no. 2, pp. 345-352, 2010.
  24. ^ Wang, James Ze; Jia Li; Gio Wiederhold; Oscar Firschein (1998). "System for Screening Objectionable Images". Computer Communications. 21 (15): 1355–1360. CiteSeerX 10.1.1.78.7689. doi:10.1016/s0140-3664(98)00203-5.

Further reading

edit

Relevant research papers

edit
edit