IBM Books

Image, Audio, and Video Extenders Administration and Programming

Removing a feature from a QBIC catalog

Use the QbRemoveFeature API or the REMOVE QBIC FEATURE command

to remove a feature from a QBIC catalog. The Image Extender deletes the catalog table for the feature. As a result, data for that feature is not stored when you catalog an image. The QBIC catalog must be open for update before you remove a feature.

When you remove a feature from a catalog, specify the name of the feature that you want to remove.

Using the API: When you use the QbRemoveFeature API, you need to specify the handle of the QBIC catalog in addition to the feature name.

In the following example, the QbRemoveFeature API is used to remove the histogram color feature from a QBIC catalog:

char  featureName[qbiMaxFeatureName];
 
QbCatalogHandle   CatHdl;
 
strcpy(featureName,"QbColorHistogramFeatureClass");
 
rc=QbRemoveFeature(
                CatHdl,                              /* catalog handle */
                featureName);                        /* feature name */

Using the command line: The REMOVE QBIC FEATURE command acts on the currently open catalog. In the following example, the command is used to remove the positional color feature from the currently open QBIC catalog:

REMOVE QBIC FEATURE QbDrawFeatureClass


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