PCIDEL2 -- Delete Image Channels from Database
Deletes image channels from a PCIDSK database created by CIM
(separate image files are used for storing each image channel).
Image channels are deleted by modifying the PCIDSK database header
and (optionally) deleting the image files.
See Also: DIM2, DIM, PCIMOD, PCIADD2
PARAMETERS
PCIDEL2 is controlled by the following global parameters:
Name Prompt Count Type
FILE Database File Name 1-64 Char
DELMODE Delete Image File: YES/NO 1-3 Char
DBIC Database Input Channel List 1-1024 Int
FILE
Specifies the name of the PCIDSK header file to modify.
EASI>FILE="filespec"
DELMODE
Specifies whether or not to delete individual image channel files
from disk.
EASI>DELMODE="YES" | delete image files
EASI>DELMODE="NO" | do NOT delete image files
DBIC
Specifies a list of 1 to 1024 image channels to delete from the
PCIDSK database. The channel number for a deleted channel can be
used again by the PCIADD2 program.
EASI>DBIC=i,j,k | list of image channels to delete
- Up to 1024 channels can be handled.
- Up to 16 integer values can be specified.
- Ranges of channels can be specified with negative values. For
example, {1,-4,10} is internally expanded to {1,2,3,4,10}.
DETAILS
PCIDEL2 deletes from one to 1024 image channels (DBIC) from a PCIDSK
database file (FILE) created by CIM or PCIADD2, where each image
channel on the database is stored as a separate image disk file.
PCIDEL2 cannot delete image channels created by PCIMOD; use PCIMOD
to delete image channels created by PCIMOD. The option to delete the
image files can be specified (DELMODE).
If DELMODE="NO", the PCIDSK database is modified so that the
specified image channels are marked as deleted in the PCIDSK file
header. However, the actual image files containing the image data
are NOT deleted from disk.
If DELMODE="YES", the PCIDSK database is modified so that the
specified image channels are marked as deleted in the PCIDSK file
header, plus the actual image files containing the image data are
actually deleted from disk.
PCIDEL2 does NOT change the numbering of existing channels. The
channel numbers for deleted image channels are used again if a new
image channel is created by PCIADD2. Deleted channels are still
listed by CDL, but their channel descriptors are erased.
EXAMPLE
Delete channels 1, 3, and 6 from a 512 by 512 PCIDSK file created by
CIM, which already contains six image channels. The image files
pertaining to these image channels are deleted from disk.
EASI>FILE="image.pix"
EASI>DELMODE="YES"
EASI>DBIC=1,3,6
EASI>RUN PCIDEL2
About PCI Help Gateway