IBM Books

Image, Audio, and Video Extenders Administration and Programming


How to query by image content

To query by image content:

  1. Create a QBIC catalog for the images.
  2. Catalog the images. This means adding entries for the images to the catalog and storing values for image features.

    See QBIC catalogs for a description of QBIC catalogs and image features.

  3. Build a query. The query identifies the features to be used as search criteria, their values, and their weights (that is, emphasis to be placed on each feature). You can specify these query attributes in a character string that is called a query string. Alternatively, you can create a query object and associate these attributes with the query object. You can then save the query string and reuse it.
  4. Run the query. When you run the query, you specify a query string as input, or you identify a query object for the query. In either case, you also identify the images to be searched. In either case, you can submit the query from the DB2 command line or from within a program.

In response, the Image Extender computes the feature values for the query. It compares the value to the feature values that are stored in the QBIC catalog for the target images. The Image Extender then computes a score that indicates how similar the feature values of each target image are to the source.

You can tell the Image Extender to return the images whose feature values are most similar to the source. You can also tell the Image Extender to return the scores of one or more images.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]