Page 3 out of 26 total pages
Installing QBIC
This chapter contains the following sections:
- "Installation Steps" on page 2
- "Starting the Demo" on page 3
- "QBIC Installation Directories" on page 3
When you install QBIC, you get:
- A set of command-line programs that can be used for database population and query based on a set of predefined QBIC features. You can build a complete application using these command-line programs.
- Libraries and header files for the QBIC API. You can use the API as an interface to QBIC directly from C and C++ code. You can even add new image feature extraction and query classes in order to extend QBIC functionality.
- A demo that allows you to evaluate QBIC functionality using a set of included images. In this demo, QBIC will start a mini web server. On NT and UNIX platforms, QBIC will also start a web browser to communicate with the web server for QBIC functionality.
You can also use the mini web server when developing and testing your own QBIC-based applications. However, when you deploy your application, it is recommended that you replace the mini web server with a full-scale server. See "Replacing the Mini Web Server" on page 181 for details.
|
This chapter describes how to install the QBIC demo and classes. QBIC runs on the following platforms:
- AIX 4.1 and higher
- Linux 2.0.30
- Solaris 2.6
- Windows NT/95
- Macintosh OS8 on a PowerPC
Installation Steps
To install QBIC:
- From the QBIC Development Kit (QDK), locate the correct QBIC distribution file for your platform:
Platform
|
Distribution file
|
AIX 4.1 or higher
|
qbaix_3.zip or qbaix_3.tgz
|
Linux 2.0.30
|
qblinux_3.zip or qblinux_3.tgz
|
Solaris 2.6
|
qbsun_3.zip or qbsun_3.tgz
|
Windows NT/95
|
qbnt_3.exe
|
Macintosh OS8
|
qbmac_3.sit
|
- Locate or create a directory where you want to install QBIC. When the QBIC distribution file is uncompressed, it creates a
qbic
directory. For example, if you uncompress QBIC files to the /usr/local
directory, QBIC will install in the /usr/local/qbic
subdirectory.
Any references to a directory or path beginning with qbic is assumed to be relative to the installation directory (e.g. /usr/local). In this manual, we use the UNIX forward slash (/) for directory separators. For PC-based platforms, please substitute the backslash (\).
|
- Uncompress the QBIC distribution file in the directory where you want to install QBIC.
- For UNIX platforms, type:
unzip source_file.zip
or
gunzip -d source_file.tgz
tar -xvf source_file.tar
You need the unzip or gunzip utility to uncompress the QBIC distribution file. These utilities can be found on the Internet.
|
- For Windows NT or Windows 95 platforms, run the self-extracting program
qbnt_3.exe
, and then specify the directory in the pop-up window.
- For Macintosh, double-click the self-extracting program
qbmac_3.sit
, which will create a qbic folder called qbmac_3.
Starting the Demo
If you want to run the QBIC demo, go to the qbic
directory and type:
qbicdemo
On the Macintosh, you must start the demo manually:
1. Start the qbictcl program in the qbic/bin directory. 2. In the command shell of qbictcl type: source ../script/qbserver.tcl 3. Start Netscape or Internet Explorer. 4. Enter the following URL: http://MachineName:3456 , where MachineName is your Macintosh's Internet domain name. If you are unsure, you can enter http://127.0.0.1:3456.
|
See Chapter 5 for detailed information about running QBIC demos.
QBIC Installation Directories
The QBIC API and related files are installed to the following directories:
Directory
|
Description
|
qbic/QbicApi
|
Source, sample programs, libraries, header files
|
qbic/bin
|
Executables, dlls (PC only), scripts
|
qbic/classes
|
Java applets used for the web demo
|
qbic/docs
|
PDF and HTML on-line documentation
|
qbic/html/gifs
|
Images for the web demo
|
qbic/html/images
|
Image directory
|
qbic/html/text
|
Text files containing image descriptions or keywords
|
qbic/html/thumb
|
Thumbnail directory
|
qbic/QbicData
|
QBIC database for catalog files
|
qbic/script
|
tcl script for a QBIC mini web server
|
Page 3 out of 26 total pages
xzhu@almaden.ibm.com or
tedl@almaden.ibm.com
Copyright © 1998, IBM Corporation. All rights
reserved.