IBM Books

Image, Audio, and Video Extenders Administration and Programming

Recataloging images

When you catalog an image, the Image Extender analyzes the features of the image that were identified to the QBIC catalog and stores values for those features in the catalog. When you add a feature to a QBIC catalog, the Image Extender does not automatically analyze the new feature for already cataloged images. To add values for the new feature to the catalog, you need to recatalog all the images.

Use the QbReCatalogColumn API or the CATALOG QBIC COLUMN

command to recatalog the images in a QBIC catalog. The Image Extender removes all feature data currently in the catalog. It then analyzes the images for all features, including any new features, and catalogs the images. The QBIC catalog must be open before you recatalog images.

Using the API: When you use the QbReCatalogColumn API, specify the catalog handle.

In the following example, the images in a QBIC catalog are reanalyzed:

QbCatalogHandle   CatHdl;
 
rc=QbReCatalogColumn(
                CatHdl);                             /* catalog handle */
 

Using the command line: Use the CATALOG QBIC COLUMN command to recatalog images. The command acts on the currently open catalog. You can also use the command to manually catalog images (see Manually cataloging an image).

When you issue the command, specify the parameters FOR and ALL. This tells the Image Extender that you want to recatalog all the images.

In the following example, the cataloged images in the currently-opened QBIC catalog are recataloged:

CATALOG QBIC COLUMN FOR ALL


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