IBM Books

Image, Audio, and Video Extenders Administration and Programming

QbCatalogImage


Image Audio Video
X    

Catalogs an entire image. The API adds an entry for the image to the feature table, and then analyzes the image. When the API analyzes the image, it creates image data and stores it in the image's entry in the feature table. The image handle must be from the image column associated with the current QBIC catalog. The image is cataloged according to the currently defined features classes. The default parameters for the features in the catalog are used.

Authorization

Insert

Library file
OS/2 and Windows AIX, HP-UX, and Solaris
dmbqbapi.lib libdmbqbapi.a (AIX)

libdmbqbapi.sl (HP-UX)

libdmbqbapi.so (Solaris)

Include file

dmbqbapi.h

Syntax

SQLRETURN QbCatalogImage(
      QbCatalogHandle cHdl,
      char *imgHandle
      );

Parameters

cHdl (in)
A pointer to the handle of the catalog.

imgHandle (in)
The handle of the image.

Error codes

qbicECIvalidHandle
The catalog handle is not valid.

qbicECImageNotFound
The image cannot be found or accessed.

qbicECCatalogRO
The catalog is read-only.

Examples

Catalog an image identified by the handle Img_hdl:

#include <dmbqbapi.h>
 
rc = QbCatalogColumn(CatHdl, Img_hdl);


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