The easiest way to access the InfoPACK library is via the menus in the main InfoPACK GUI window. Clicking on menus will generally bring up a dialog box from which files are selected, parameters are chosen and the routine is run. All menu items call the appropriate InfoPACK script. All InfoPACK scripts work file-to-file, to enable the processing of arbitrarily large images within memory. As such it is always necessary to provide an output file name in the appropriate dialog box. All menu commands are executed from within the Python shell. When a command is processed you will see in the shell window the script you have called and the parameters you are using. For ease of use, all recently accessed image file names are stored which can be accessed from a ``recent files'' button in dialog boxes and the variable ``files'' in the shell window.
The main toolbar on the GUI screen includes the following menus:
This provides access to the following facilities:
Open an image file in a format supported directly by the OpenEV Image Viewer (see Section 5.4).
Convert an image into the InfoPACK standard .nc format (see chapter 3). A wide range of standard image formats is supported.
Convert a .nc image file to an alternative format. Full conversion to the following formats is provided:
Other export formats, including postscript and .png, are made available from the OpenEV viewer: Use the Print option and print to file.
This opens a blank IDLE shell window. From the file menu, selecting ``New Window'' brings up an empty IDLE editor window, ready for you to type in a Python script: a text file containing a list of InfoPACK (or other Python) commands to be executed. A Python script files are generally give the suffix .py. For details of the editor features, see section 5.7.
This will prompt for the script file to be opened, and then open it in a new IDLE editor window. An IDLE shell window is also opened for the script output when run from the editor window. For details of the editor features, see section 5.7.
This will open a new InfoPACK shell window.
Exit InfoPACK.
Create an image with artifical speckle generated from a specified distribution. Useful when creating test images. Full function specifications are given in Appendix B.
Provides a set of statistics on the specified image:
Provides information on the selected image, including:
Segment a given image file. You will be prompted for the segmentation parameters; use the default values unless you have reason to alter these. See section A.4.1 for details of the routine parameters, and section 4.1 for a longer discussion.
Segment a given image file using texture instead of intensity information in the image. You will be prompted for the segmentation parameters; use the default values unless you have reason to alter these. See section A.4.2 for details of the routine parameters, and section 4.1.3 for a longer discussion.
Merge adjacent regions in a segmentation that are not significantly different in intensity at the specified level of significance. Merge requires the segmented image, the original image, and a significance level. See section A.4.3 for details of the routine parameters, and section 4.1.2 for a longer discussion.
Given a segmentation image and the original imge, colour the segmentation (ie floodfill each segment) with a value computed from any of a set of measures. See section A.4.4 for details of the routine parameters, and section 4.1.4 for a longer discussion.
Classify an image into a given number of classes. Classify requires a segmented image, the original image and optional means and orders images for supervised classification. See section A.4.6 for details of the routine parameters, and section 4.2 for a longer discussion.
Detect changes between layers of a multiple-layer image: for example, a multi-temporal sequence. The routines accessed look for large scale changes between layers of the specified multi-layer image; you need to supply also the segmented image.
Two options are provided:
Despeckle an image. See section A.4.9 for details of the routine parameters, and section 4.5.1 for a longer discussion.
Produce an edge map showing the edges of a segmented image. See section A.4.5 for details of the routine parameters, and section 4.4.2 for a longer discussion.
Produce a ``mask'' image labelling pixels above/below a given threshold. Image pixels that lie above the threshold are set to the true value, otherwise to the false value. See section B.2.21 for details of the routine parameters.
Provides access to the following operations, carried out on each corresponding pair of pixels in two specified images of the same size:
image3 = image1 op image2, op = +,-,*,/
InfoSAR Ltd