Professional Documents
Culture Documents
Geo Matic A 2013
Geo Matic A 2013
User Guide
©2013 PCI Geomatics Enterprises, Inc.®. All rights reserved.
COPYRIGHT NOTICE
Software copyrighted © by PCI Geomatics Enterprises, Inc., 50 West Wilmot Street, Richmond Hill, Ontario L4B 1M5, CANADA Telephone number:
(905) 764-0614
The Licensed Software contain material that is protected by international Copyright Law and trade secret law, and by international treaty provisions, as
well as by the laws of the country in which this software is used All rights not granted to Licensee herein are reserved to Licensor. Licensee may not
remove any proprietary notice of Licensor from any copy of the Licensed Software.
RESTRICTED RIGHTS
Canadian Government
Use, duplication, or disclosure is subject to restrictions as set forth in Public Works and Government Services Canada Supplemental General Conditions
– Licensed Software – 4003.
U.S. Government
Use, duplication, or disclosure by the Government is subject to restrictions set forth in subparagraph (b)(3) of the Rights in Technical Data and Computer
Software clause of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software-Restricted Rights clause at 48 CFR
52.227-19 as amended, or any successor regulations thereto.
PCI, PCI Geomatics, PCI and design (logo), Geomatica, Committed to GeoIntelligence Solutions, GeoGateway, FLY!, OrthoEngine, RADARSOFT,
EASI/PACE, ImageWorks, GCPWorks, PCI Author, PCI Visual Modeler, and SPANS are registered trademarks of PCI Geomatics Enterprises, Inc.
PCI Geomatics 3
Creating an image profile............................................................................................53
About the Profile Table window....................................................................................53
Working with profile options.........................................................................................54
About the Profile Graph window..................................................................................55
About the Graph Controls window...............................................................................55
Using the graph controls..............................................................................................56
Exporting profiles.........................................................................................................57
Printing your graph without showing the mensuration bars.........................................57
Using the View tools...............................................................................................................57
Using the Zoom window..............................................................................................57
Using a Clone view......................................................................................................57
Chaining clone views...................................................................................................58
Zooming using the Overview window..........................................................................58
Working with named regions.......................................................................................58
Panning an image........................................................................................................59
Zooming an image with the Zoom tools.......................................................................59
Viewing a 1:1 image resolution....................................................................................60
Using a layout grid.......................................................................................................60
Visualizing your data..............................................................................................................61
Using the Attribute Manager........................................................................................61
Visualizing GCP segments as map layers...................................................................61
Importing image data...................................................................................................63
Enabling and disabling panes......................................................................................64
Using the Visualization tools...................................................................................................65
About the Visualization Tools window..........................................................................65
Working with the Thumbnails viewer...........................................................................70
Visualizing data with the 3-D data cube......................................................................71
Selecting colors...........................................................................................................74
Setting options and preferences.............................................................................................75
General interface.........................................................................................................75
Warnings.....................................................................................................................76
Layers..........................................................................................................................77
Default RGB................................................................................................................78
Default representation.................................................................................................78
Vector editing...............................................................................................................79
Memory cache.............................................................................................................80
Overview window.........................................................................................................81
Zoom window..............................................................................................................81
Layer Manager.............................................................................................................82
Open GL settings.........................................................................................................82
Setting shape and color preferences...........................................................................82
Setting up a digitizing tablet.........................................................................................84
Setting up a GPS receiver...........................................................................................85
Measurement tools......................................................................................................86
Changing display options............................................................................................86
4 PCI Geomatics
Customizing the Focus toolbars..................................................................................87
Chapter 2: Basics..............................................................................................................................88
Supported layer types............................................................................................................88
Focus and raster layers...............................................................................................88
Metadata......................................................................................................................89
Segment organization..................................................................................................89
Topological layers........................................................................................................92
Importing, linking, and translating data..................................................................................93
Importing files to the PCIDSK format..........................................................................93
Using undefined image data........................................................................................94
Creating linked files.....................................................................................................95
Exporting/translating data............................................................................................96
Importing and converting ASCII files......................................................................................96
Using the Import ASCII Table/Points wizard................................................................97
Formating fixed width files...........................................................................................98
Opening data from a remote data source...............................................................................98
Using undefined image data...................................................................................................98
Image metadata support......................................................................................................100
Working with projections......................................................................................................100
Understanding the PCIDSK projection definition.......................................................100
Supported projections...............................................................................................100
Defining a new projection..........................................................................................101
Working with earth models........................................................................................103
Reprojecting files.......................................................................................................104
Working with layers..............................................................................................................106
Adding and removing imagery...................................................................................107
Organizing and editing layers....................................................................................107
Using the Map Layer Selection tool in Focus............................................................107
Creating a new raster layer........................................................................................108
Creating a new bitmap layer .....................................................................................108
Creating a new vector layer.......................................................................................108
Setting vector layer attributes....................................................................................109
Setting vector layer properties...................................................................................109
Transferring layers.....................................................................................................109
Working with data tools........................................................................................................110
Changing data formats..............................................................................................110
Clipping and subsetting data.....................................................................................116
Using the Data Merge Wizard....................................................................................123
Chapter 3: Algorithm Librarian........................................................................................................127
About the Algorithm Librarian...............................................................................................127
Opening the Algorithm Librarian..........................................................................................127
Algorithm categories............................................................................................................127
Managing user-defined categories.......................................................................................128
Working with folders and subfolders in the User Defined category...........................128
Adding a module shortcut to the User Defined category folder or subfolder.............129
PCI Geomatics 5
Searching for an algorithm by name or keyword..................................................................129
Using an algorithm...............................................................................................................130
About algorithm Module Control Panels....................................................................130
Opening an algorithm's Module Control Panel..........................................................131
Working with an example: the ASP algorithm............................................................131
Adding functions to the Algorithm Library............................................................................133
Chapter 4: Image classification.......................................................................................................134
Starting a classification session...........................................................................................134
Unsupervised classification..................................................................................................134
Configuring a new classification session...................................................................134
Initializing unsupervised classification.......................................................................135
Reading a classification report..................................................................................135
Saving a classification report.....................................................................................135
Supervised classification......................................................................................................136
The supervised classification process.......................................................................136
Initializing a supervised classification........................................................................137
Specifying the reference image.................................................................................137
Specifying the input channels....................................................................................137
Training sites and ground cover............................................................................................138
Drawing a class training site......................................................................................139
Changing training site colors.....................................................................................139
Importing training sites..............................................................................................140
Analyzing training sites.........................................................................................................143
Creating a histogram to view and test training sites..................................................143
Testing signature separability....................................................................................143
Previewing the classification......................................................................................145
Running a supervised classification..........................................................................146
Post-classification editing..........................................................................................148
Aggregation...............................................................................................................150
Setting up for class labelling......................................................................................154
Launching the Accuracy Assessment window...........................................................156
Chapter 5: Image processing..........................................................................................................160
Information tools...................................................................................................................160
Using the Information Report....................................................................................160
Displaying the attributes from a chart........................................................................161
Using the Measure tool..............................................................................................161
Viewing histograms and statistics.........................................................................................163
Viewing a histogram..................................................................................................163
Viewing histogram statistics.......................................................................................163
Viewing Mask contents..............................................................................................164
Viewing histograms under a bitmap mask.................................................................164
Zooming into and out of a histogram.........................................................................165
Printing a histogram...................................................................................................165
Exporting a histogram...............................................................................................165
Working with numeric values................................................................................................165
6 PCI Geomatics
Opening the Numeric Values window........................................................................165
Exporting the numeric values to a text file.................................................................166
Change a color channel DN value.............................................................................166
Interpreting the values...............................................................................................167
Making an image profile.......................................................................................................167
Using the mensuration bars.......................................................................................168
Selecting vector profiles............................................................................................168
Using the spectra extraction tools........................................................................................168
Extracting spectra from a region of interest...............................................................169
About the Spectra Extraction Configuration window..................................................169
Configuring a hyperspectral metalayer......................................................................169
About the Spectra Extraction window........................................................................170
About the Import Vectors window..............................................................................172
About the Import Bitmaps window.............................................................................172
Merging a spectra channel........................................................................................173
Plotting spectra.....................................................................................................................174
Opening the Spectra Plotting window........................................................................174
Radiometric quantity vs. wavelength graph...............................................................174
Displayed spectra......................................................................................................175
Graph options............................................................................................................176
Plotting ranges...........................................................................................................176
Report........................................................................................................................177
Selecting a spectra library.........................................................................................177
Changing the graph options......................................................................................178
Saving a spectra plot.................................................................................................178
Spectral Plotting with ATCOR....................................................................................178
Editing digital elevation models............................................................................................179
Opening the DEM editing window.............................................................................179
Defining DEM special values.....................................................................................179
Working with polygon masks.....................................................................................180
Working with bitmap masks.......................................................................................183
Tips and shortcuts for editing DEMs..........................................................................186
Applying tool strategies for common situations in DEMs......................................................186
Adjusting pixel values for a lake.................................................................................187
Adjusting pixel values for multiple lakes....................................................................187
Compensating for forests and urban areas...............................................................188
Removing noise from a DEM.....................................................................................188
Working with scatter plots....................................................................................................189
Viewing the scatter plot for a layer.............................................................................190
Changing the input channel for the X and Y axes......................................................190
Changing the display of the scatter plot....................................................................190
Zooming into and out of a scatter plot.......................................................................191
Printing the scatter plot..............................................................................................191
Changing the x and y view ranges............................................................................191
Exporting a profile.....................................................................................................191
PCI Geomatics 7
Working with legend and color controls.....................................................................191
Interpreting a profile table..........................................................................................192
Changing the color of a channel................................................................................192
Changing the profile vector color...............................................................................193
About the Change Color window...............................................................................193
Printing without the mensuration bars showing.........................................................193
Using the profile statistics..........................................................................................194
Opening the GPS tool................................................................................................194
Converting RGB to pseudocolor...........................................................................................195
Editing single-value pseudocolor tables (PCTs)........................................................196
Customizing range-based pseudocolor tables..........................................................196
Opening the Raster Editing window.....................................................................................198
Specifying a value................................................................................................................198
Enhancing images................................................................................................................198
Understanding enhancements...................................................................................198
Changing a default enhancement..............................................................................199
Enhancing images.....................................................................................................199
Automatically re-enhancing a layer when the display changes.................................200
Zooming an image feature with an enhancement.....................................................200
Setting the Tail Trim....................................................................................................201
Setting the Exclude Min/Max.....................................................................................201
Changing the image brightness and contrast............................................................201
Creating custom enhancements................................................................................202
Working with spatial filters....................................................................................................204
Opening the Filter window.........................................................................................204
Filtering under a mask...............................................................................................205
Using low-pass filters.................................................................................................205
Applying a gamma filter.............................................................................................206
Using high-pass filters...............................................................................................207
Creating custom filters...............................................................................................209
Saving a filtered image to a new file..........................................................................210
Scaling images.....................................................................................................................210
Scaling output data using Save As............................................................................211
Available scaling methods.........................................................................................211
Scaling output data....................................................................................................212
Fusing image data................................................................................................................213
Running the FUSE algorithm.....................................................................................213
Running IHS and RGB..............................................................................................214
Using the PANSHARP algorithm...............................................................................215
Using the raster calculator....................................................................................................217
Expression.................................................................................................................217
Edit............................................................................................................................218
View...........................................................................................................................218
Raster Calculator toolbar...........................................................................................219
Expression.................................................................................................................219
8 PCI Geomatics
Calculator keys..........................................................................................................219
Output parameters.....................................................................................................219
Using the Raster Calculator to set output parameters...............................................220
EASI modeling in Focus.......................................................................................................221
Opening the EASI Modeling window.........................................................................221
Adding image and bitmap layers to a .pix file............................................................221
Using simple image models.......................................................................................222
Understanding the basic modeling logic....................................................................222
Creating an EASI bitmap mask.................................................................................226
Chapter 6: Atmospheric correction..................................................................................................231
Understanding atmospheric correction.................................................................................231
Preparing data for atmospheric correction...........................................................................231
Atmospheric correction workflows........................................................................................232
Opening the atmospheric correction window.............................................................233
The TOA Reflectance workflow.................................................................................233
The Haze Removal workflow.....................................................................................237
The ATCOR Ground Reflectance workflow...............................................................239
The ATCOR Surface Temperature workflow..............................................................248
Chapter 7: Spatial analysis..............................................................................................................256
Understanding vector layer types.........................................................................................256
Unstructured vector layers.........................................................................................256
About topological layers.............................................................................................256
Thematic rasters........................................................................................................257
Understanding vector editing in a math model area.............................................................258
Adding a new vector layer....................................................................................................258
Drawing vectors....................................................................................................................258
Adding points to an active layer.................................................................................258
Adding a line or a polygon to an active layer.............................................................259
Adding a rectangle or ellipse to an active layer.........................................................259
Tracing a line on an active layer.................................................................................259
Digitizing 3D vectors..................................................................................................259
Working with the Attribute Manager.....................................................................................260
Controlling the Attribute Manager cursor...................................................................260
Setting a selected record statistics display................................................................260
Creating an unconnected table..................................................................................260
Restricting the layer so you cannot add shapes to it.................................................261
Viewing records.........................................................................................................261
Opening a file saved as an attribute..........................................................................261
Selecting and clearing records and fields..................................................................261
Understanding vector layer type default fields...........................................................262
Adding records to the Attribute Manager...................................................................263
Adding new fields......................................................................................................263
Setting the field definitions.........................................................................................263
Changing an existing field to a geometry field...........................................................264
Adding all appropriate geometry fields......................................................................265
PCI Geomatics 9
Updating the geometry..............................................................................................265
Using find and replace in the Attribute Manager.......................................................265
Creating a relational database...................................................................................265
Selecting all records that match a value in the current cell.......................................266
Using the compute function.......................................................................................267
Opening the Aggregate Attributes window................................................................268
Opening the Area Neighbors window........................................................................268
Reporting bordering areas.........................................................................................268
Creating a chart from the Attribute Manager.............................................................269
Opening the Z-value Transfer window.......................................................................269
Exporting layer attributes to a file..............................................................................270
Exporting the attributes to a text file..........................................................................271
Opening GeoRasters from the Attribute Manager.....................................................271
Dissolving a boundary..........................................................................................................271
Adding function fields to output layers.......................................................................272
Working with shapes............................................................................................................272
Selecting a single shape............................................................................................273
Grouping shapes.......................................................................................................273
Ungrouping shapes...................................................................................................273
Attaching shapes.......................................................................................................273
Separating shapes.....................................................................................................274
Creating buffers.........................................................................................................274
Editing vectors......................................................................................................................275
Accessing the Vector Editing tools and toolbar..........................................................275
About the Vector Editing Tools toolbar.......................................................................275
Selecting a shape......................................................................................................276
Moving a vertex.........................................................................................................277
Moving several vertices together while maintaining their form..................................277
Reversing vector direction.........................................................................................277
Adding vertices..........................................................................................................277
Reshaping a line or polygon......................................................................................277
Connecting lines........................................................................................................278
Connecting polygons.................................................................................................278
Cutting a line..............................................................................................................278
Cutting a polygon.......................................................................................................278
Extending a line.........................................................................................................279
Merging segmented lines..........................................................................................279
Changing a line into a polygon..................................................................................279
Flipping a shape to its mirror image..........................................................................279
Spinning a shape free hand.......................................................................................280
Spinning the shape precisely.....................................................................................280
Separating overlapping shapes.................................................................................280
Navigating to a vertex................................................................................................280
Displaying vertices.....................................................................................................281
Adding and removing vertices...................................................................................281
10 PCI Geomatics
Switching between coordinate systems.....................................................................282
Selecting vectors using spatial query tools................................................................282
About the Overlay wizard.....................................................................................................283
Combining layers with a spatial overlay.....................................................................283
Using a statistical overlay..........................................................................................284
Adding attributes to the statistical overlay output......................................................285
Using a suitability overlay..........................................................................................286
Viewing data as a chart.............................................................................................287
Defining the data to chart..........................................................................................290
Designing the chart surround....................................................................................291
Resetting the chart to defaults...................................................................................293
Using the Chart Viewer..............................................................................................293
Designing the chart legend........................................................................................294
Opening the X-axis or Y-axis Properties window.......................................................295
Opening the X-axis or Y-axis Properties window.......................................................295
Opening the Title or Subtitle Properties window........................................................296
Opening the data labels properties...........................................................................296
Saving a chart...........................................................................................................297
Opening and deleting a chart....................................................................................297
Digitizing vectors with peripheral devices.............................................................................298
Registering a digitizing tablet.....................................................................................298
Importing and exporting tablet registration................................................................299
Using a digitizing tablet..............................................................................................299
Using the GPS tool....................................................................................................299
Understanding representation..............................................................................................301
Types of representation style tables..........................................................................301
Opening the Representation Editor...........................................................................302
Using the Representation Editor................................................................................302
Converting an indirect RST to a direct RST..............................................................307
Opening the Set Style Attribute window....................................................................307
Setting the style attribute...........................................................................................308
Selecting a symbol....................................................................................................308
Labelling shapes..................................................................................................................308
Managing the labels..................................................................................................308
Adding labels to a layer.............................................................................................309
Setting label representation.......................................................................................309
Changing labels.........................................................................................................309
Defining the design and layout for labels...................................................................309
Designing a symbol..............................................................................................................311
Understanding the symbol working area...................................................................311
Creating a symbol......................................................................................................311
Creating a multi-part symbol.....................................................................................312
Selecting a symbol from the symbol file....................................................................312
Setting symbol representation...................................................................................312
Editing the symbol RST.............................................................................................312
PCI Geomatics 11
About the symbol file Save As window......................................................................313
Chapter 8: Publishing map projects................................................................................................314
Saving a project file..............................................................................................................314
Renaming a map.......................................................................................................314
Starting a new map...................................................................................................314
Working with areas...............................................................................................................315
Creating a map area..................................................................................................315
Removing a map area...............................................................................................315
Scaling an area..........................................................................................................316
Setting area properties..............................................................................................317
Opening the Math Model Area Properties window....................................................318
Working with surrounds........................................................................................................319
Creating a surround...................................................................................................319
Setting a default surround element............................................................................320
Setting a default quick style.......................................................................................320
Setting surround element properties.........................................................................320
About neatlines..........................................................................................................320
About borders............................................................................................................321
About grids................................................................................................................322
About legends............................................................................................................326
Adding a picture to a map..........................................................................................330
About north arrows....................................................................................................331
About scale bars........................................................................................................333
Adding a map title to an area.....................................................................................337
Adding text to a surround..........................................................................................338
Setting the updating behavior....................................................................................338
Selecting an existing quick style................................................................................339
Creating an index for a project, you must provide................................................................340
Adding a default index to a map................................................................................340
Indexation properties.................................................................................................340
Setting the text color..................................................................................................346
Setting the text style..................................................................................................346
Using the New Text tool.............................................................................................346
Printing a map......................................................................................................................347
Selecting printer options............................................................................................347
Selecting page layout options....................................................................................347
Printing color separations..........................................................................................347
Opening the Export Map window.........................................................................................349
Exporting a map or chart as an Adobe Illustrator file................................................349
Exporting a map or chart as a JPEG.........................................................................349
Exporting a map or chart to a JPEG 2000 file...........................................................350
Exporting a map or chart to PCIDSK........................................................................350
Exporting a map or chart to TIFF..............................................................................350
Exporting a map or chart to BMP..............................................................................351
Exporting a map or chart to an HP RTL file...............................................................351
12 PCI Geomatics
Exporting a map or chart to EMF..............................................................................351
Exporting to Google Earth....................................................................................................352
Viewing overlapping layers from a Web mapping service....................................................352
PCI Geomatics 13
Chapter 1: Getting started
Opening a file
You can open files in Focus from the File menu, from the toolbar, or from shortcut menus in the Focus control
pane under both the Files tab and the Maps tab. You can choose files from the File Selector window, which
is a standard Windows window that also allows you to choose from data types in the GDB file list.
Focus also allows you to easily open one or more PCIDSK (.pix) files by dragging them from your Windows
Explorer file repository and dropping them anywhere on the application window.
The following image shows the main Focus interface:
When you open data files, they are listed in the Files tree in the control pane and all files and layers are
available.
14 PCI Geomatics
Chapter 1: Getting started
Note: For color images, TM Bands 1, 2, and 3 representing the red, green, and blue (RGB) image channels,
are listed in the Maps tree under New Area.
When you open an image containing a math model segment, you can choose to use the a georeferencing
or math model.
Related Links
Using a math model with images on page 16
Understanding the Focus control panel on page 17
1. In the Maps tree, right-click the area where you want to add a layer and click Add.
You can also click Add from the Layer menu.
2. From the Add Layer Wizard, choose a layer type option and click Next.
3. From the Files available list, select the data file containing the raster channels you want to use.
If the raster file you want to use is not listed, click Browse, navigate to the file you want, and click OK.
PCI Geomatics 15
Chapter 1: Getting started
When you have selected a file in the Files available list, only channels of the specified type are listed in
the The following vector segments are available list. For example, only bitmap channels are listed if
you have selected bitmaps as the layer type you want to add.
4. From the The following vector segments are available list, select the channel you want to use in your
layer.
5. Click Finish.
Related Links
Using the math model for georeferencing on page 17
16 PCI Geomatics
Chapter 1: Getting started
1. In the Source of georeferencing list, select the segment containing the math model that you want to use
in the Area.
The projection, bounds, upper-left coordinate, lower-right coordinate, and pixel sizes are displayed under
Georeferencing Information.
2. To use a DEM as the source for your elevation values, click DEM.
In the File box, type the path and file name of the DEM or click Browse to select the file.
In the Layer list, select the layer that contains the DEM.
In the NoData (background) value box, type the value that represents the pixels that lie outside the DEM
area so they are not mistaken for elevation values.
3. To use an estimate of the elevation instead of the DEM, click Approximate elevation.
In the Elevation value box, type the elevation value that you want to use. If you do not enter an elevation
value, a value of 0 meters (Mean Sea Level) is used by default.
4. In the Elevation reference box, select Mean Sea Level (MSL) if the elevation values were calculated
based on the geoid; select Ellipsoid (ELL) if the elevation values were calculated based on an ellipsoidal
model of the Earth.
5. In the Elevation units box, select a measurement unit for the elevation values.
6. Click OK.
PCI Geomatics 17
Chapter 1: Getting started
Are all of the components that make up a layer, such as rasters, vectors, bitmaps, and lookup tables (LUT).
The files, listed in the Maps tree, are a hierarchy of elements that make up a project. Maps tree elements
have common properties that you can control from the Maps and Files tree, menu bars, and shortcut menus.
You can move an entire area, including associated components, in the same way.
Related Links
Opening a Properties window from the Maps tab on page 24
Managing file properties on page 40
Working with the Layer Manager on page 20
18 PCI Geomatics
Chapter 1: Getting started
Like the PCIDSK format, Focus keeps image channels and auxiliary data segments in the same place. The
data listed in the Files tree is stored in the source file on your system hard disk.
Some of the data types, listed in the Files tree, are not viewable as image components. The same list can
contain other auxiliary data types such as LUTs, pseudocolor tables (PCT), and signatures. You can use the
Focus software tools and windowes to work with these data types.
1. In the Add Image Channels window, type a number in the desired Channels to add field, or use the
arrows to specify the number.
2. Click Add to complete the operation.
3. Click Close to close the window.
Combining layers
A combined vector layer amalgamates several vector layers into one. For example, one vector layer covering
the eastern US can be combined with another layer covering the western US to produce a virtual single layer
for all of the US. When you combine layers, data is not duplicated, it is linked. The combined layer does not
store data but acts as a pointer to the source data.
You can combine vector layers from your current data files and from other source files with a two-part process
to locate and choose the data you want to combine.
1. With at least two PCIDSK files open in the control pane, click the Files tab.
2. In the Files tree, right-click the file folder icon and click New and then click Combined Vector Layer.
3. In the Combined Layer window, click Browse.
4. From the Select Layer window, select a file from the File list box.
5. Select an available layer from the Layers available list.
6. Click OK.
The layers and common columns are listed in the Combined Layer window.
PCI Geomatics 19
Chapter 1: Getting started
The Layer list shows two or more entries that you can combine.
The Common attributes list identifies the columns (fields/attributes) that will make up the combined layer
doesn't require any action. Only columns that are present in all layers of your inputs are listed.
7. In the Combined Layer window, select a layer and click OK.
A new layer is added under the files listed in the Files tree. You can view the new layer and see the combined
data in the view pane. You can also open the Attribute Manager to see all of the combined shapes. Layers
common to both input layers are listed twice.
Saving a project
When you work with multiple files, you can save your work as a project using the file name of your original
data files or save your project under a new file name.
1. From the File menu, click Save Project or Save Project As.
2. In the File Selector window, navigate to the folder where you want to store the project file.
3. Type a name for the project in the File name box.
4. Click Save.
To save your project while you are working on it, click File and then click Save Project.
• From the Files tree, right-click a file you want to remove and click Remove from Project.
The file is removed from the project.
20 PCI Geomatics
Chapter 1: Getting started
PCI Geomatics 21
Chapter 1: Getting started
Transparency Active:
Checked cells can be assigned a transparency value. When this check box is selected, the values in the
Transparency Value columns are active and the results are shown in Focus.
Transparency Value:
The pixel value entered here will become transparent, allowing you to see imagery under it. To properly assign
transparent values to a three-channel RGB image, use the following format: R10G20B100. In this example,
pixel value 10 will become transparent for the red band, 20 for the green band, and 100 for the blue band.
For grayscale images, you need only specify a singe value. For example: 10. The pixel value of 10 would
become transparent in your grayscale image.
Opacity Active:
When this check box is enabled, the values in the Opacity% column become active and the results are shown
in Focus.
Opacity%:
Sets the opacity level. For example, 100% opacity shows the entire image. Layers beneath cannot be seen.
With a setting of 0%, none of the image is shown. You can see all of an image beneath the layer.
View No Data Value:
Shows Null values.
No Data Color:
When there are NoData values in your working file, The No Data Color column lets you assign a color for
viewing your NoData pixels.
22 PCI Geomatics
Chapter 1: Getting started
The Cursor Control window displays the cursor position in four different coordinate systems. You can move
the cursor in any of the supported coordinate systems by changing the associated coordinates.
The Paper area measures the paper size that is set for the Map. It can be larger than the area view where
the imagery is displayed. The paper size can be changed in the Maps tree by right-clicking the Map layer and
choosing Properties. From the Map Properties window, click the Page Setup tab, and specify the size.
You can use cursor control in Map View mode and Area View mode. If more than one file is opened in the
view pane, the coordinates displayed in the Cursor Control diaglog box represent the selected database file.
The file origin, (0,0) is the top left of the image or file. If the projection has not been set for a file, the database
coordinates are not displayed.
The Geocoded area displays the cursor coordinates in geocoded coordinates (for example, Eastings and
Northings) according to the geocoding shown in the Cursor Control window. If the opened data has no
associated geocoded location, the geocoded location is shown in pixels and lines. The units displayed indicate
the geocoding type.
The User Defined Projection area shows Lat/Long coordinates as the default if sufficient geocoding information
is available for the viewed data. Typically, UTM data with a valid zone number must be provided for this
transformation to occur. If a projection is not set, the User Defined Projection coordinates are not displayed.
PCI Geomatics 23
Chapter 1: Getting started
With the Raster Up option, the Area is rotated to counteract the effect of the rotation in the file so the first
pixel in the data is in the top left corner of the Area. In the Focus view pane the raster appears squared to
the Area.
A rotated raster as Raster Up
When you create a map with a rotated Area (Raster Up), two surround elements are affected: Grid and North
Arrow. You cannot create a grid in a rotated Area. When you create a North Arrow in a rotated Area, the
North Arrow will be rotated by the amount set in the Area properties.
1. In the control pane, click the Maps tab and select a map, area, or layer.
2. From the View menu, click Properties.
You can also right-click a layer, area, or map and click Properties to open the Properties window.
24 PCI Geomatics
Chapter 1: Getting started
General tab
Under the General tab, you can change generic information about your Map and read other file information.
Description:
Lets you change the file name or description appearing in the Maps tree.
File Name:
Reports the name of the Map file for the properties you are viewing.
Created:
Reports the date the file was created.
PCI Geomatics 25
Chapter 1: Getting started
The Width box shows the dimensions of the standard paper size you have chosen or allows you to enter a
custom paper width of your own.
Height:
The Height box shows the dimensions of the standard paper size you have chosen, or allows you to enter a
custom paper height of your own.
General tab
Under the General tab you can change generic information about your Area and preview the position of your
area in relation to your map.
Description:
The Description box lets you change the Area name or description appearing in the Maps tree.
Show Outline:
The Show Outline option outlines the Area in the view pane.
Scale:
The Scale box allows you to change the scale of your Area to several standard scales or to a custom scale.
You can choose from the following scale options:
• 1:20000
• 1:50000
• 1:100000
• 1:1000000
• Custom
When you choose Custom from the Scale list, you enter your custom scale in the scale box. If you enter a
decimal value, Focus rounds it up to the next integer value.
Preview:
The Preview area allows you to see the scale and orientation of your area relative to your map.
Layout tab
The Layout tab lets you change the Area representation, position, and size. You can also view position and
size changes in a preview window.
Representation:
26 PCI Geomatics
Chapter 1: Getting started
Lets you change the Area scale factor and the Area priority.
Scale Factor:
Changes the Area scale factor. (See Scaling an area on page 316)
Priority:
Changes the Area priority relative to other Areas in your project or file. (See Changing the layer priority on
page 18)
Position:
Allows you to move your Area relative to the Map and to select a unit of measure for your Area.
Left:
Allows you to change the Area position left or right.
Bottom:
Allows you to change the Area position up or down.
Size:
Allows you to control the width and height of your Area.
Width:
Changes the width of the Area.
Height:
Changes the height of the Area.
Automatic resize:
Resizes your Area automatically.
Preview:
Allows you to see the position and width and height changes for your Area relative to your map.
Projection/Extents tab
The Projection/Extents tab allows you to change the definition of the area's projection, change the bounds
of the area, and rotate the area. Changing the projection's definition does not change the projection of the
area. To change the projection, see Reprojecting files on page 104.
Coordinate System:
The Coordinate Systems list displays the coordinate system for your area.
The available coordinate systems are
• Pixel
• UTM
• Long/Lat
• Meter
• Foot
• SPCS
• Other
Earth Model:
The Earth Model button opens the Earth Model window, where you can choose from a list of data and
ellipsoids to define a coordinate system for an area.
More:
PCI Geomatics 27
Chapter 1: Getting started
The More button opens projection definition windows, where you can select a projection definition for the
Area. The More button is active if you select UTM, SPCS, or Other from the Coordinate System box. A
different projection window opens under different conditions.
Table 1:
Bounds:
The Bounds box allows you to show the bounding coordinates of you file in either geocoded (Eastings and
Northings) or geographic (latitude and longitude) units for UTM, SPCS and Other coordinate systems. Bounding
coordinates are not shown with the Pixel option. Long/Lat displays the bounding coordinates in geographic
units only. Meter and Foot displays the bounding coordinates in geocoded units only.
Upper Left:
The Upper Left boxes show the X, Y coordinates for the upper-left corner of the area. Values are in the units
of the selected coordinate system.
Lower Right:
The Lower Right boxes indicate the X, Y coordinates for the lower-right corner of the area. Values are in the
units of selected coordinate system.
Rotation:
The Rotation boxes indicate the amount the area is rotated to display a rotated raster so the first pixel in the
data is in the top-left corner. For more information, see About rotated rasters on page 23.
Visual Clipping:
The Visual Clipping section lets you choose a clip region from a list of clips that fall within your area.
Define Clip Region:
The Define Clip Region button opens the Define clip region window, which allows you to choose a clip
region from a list of layers that fall within the area. See Selecting a clip region on page 123.
Enable:
The Enable option is available after you have chosen a clip region from the Define clip region window.
Related Links
Selecting a clip region on page 123
General tab
Under the General tab, you can change generic information about your Math Model Area and preview the
position of your area in relation to your map.
Name:
28 PCI Geomatics
Chapter 1: Getting started
The Name box lets you change the Math Model Area name or description appearing in the Maps tree.
Show Outline:
The Show Outline option outlines the Math Model Area in the view pane.
Scale:
The Scale box allows you to change the scale of a Math Model Area to several standard scales or to a custom
scale.
You can choose from the following scale options:
• 1:20000
• 1:50000
• 1:100000
• 1:1000000
• Custom
When you choose Custom from the scale list, you enter your custom scale in the scale box.
Preview:
The Preview area allows you to see the scale and orientation of your Math Model Area relative to your map.
Layout tab
The Layout tab lets you change the Math Model Area representation and position. You can also view position
changes in a preview area.
Representation:
Lets you change the Math Model Area scale factor and the Math Model Area priority.
Scale Factor:
Changes the Math Model Area scale factor. (See Scaling an area on page 316.)
Priority:
Changes the Math Model Area priority relative to other Math Model Areas in your project or file. (See Changing
the layer priority on page 18)
Position:
Allows you to move your Math Model Area relative to the Map and to select a unit of measure for your Math
Model Area.
Left:
Allows you to change the Math Model Area position to the left or right.
Bottom:
Allows you to change the Math Model Area position up or down.
Size:
The Size section is always disabled in a Math Model Area. The width and height of your Math Model Area
are determined by the file.
Automatic Resize:
Automatically enlarges the extents of the Area to accommodate the extents of the data.
Preview:
The Preview area allows you to see the position and width and height changes for your Math Model Area
relative to your map.
PCI Geomatics 29
Chapter 1: Getting started
Projection/Extents tab
The Projection/Extents tab allows you to view the Math Model Area projection and select a clip of image data
that falls within the area. It lists the file that contained the math model segment, the name of the segment,
and the source for the elevation values.
Projection
The coordinate system used in your Math Model Area is displayed.
Bounds
The Bounds list allows you to show the bounding coordinates of your file in either geocoded (Eastings and
Northings) or geographic (latitude and longitude) units for UTM, SPCS, and other coordinate systems.
Upper left
The Upper Left boxes show the X, Y coordinates for the upper-left corner of the file. Values are in the units
of the selected coordinate system.
Lower Right
The Lower Right boxes indicate the X, Y coordinates for the lower-right corner of the file. Values are in the
units of selected coordinate system.
Visual Clipping
The Visual Clipping section lets you choose a clip region from a list of clips that fall within your Math Model
Area.
Define Clip Region
The Define Clip Region button opens the Define Clip Region window, which allows you to choose a clip region
from a list of data that falls within the Math Model Area. (See Selecting a clip region on page 123)
Enable:
The Enable option is available after you have chosen a clip region from the Define Clip Region window.
General tab
Under the General tab, you can change general information about your file and read other file information.
Description:
The Description box lets you change the file name or description appearing in the Maps tree.
Read Only:
The Read Only option lets you change the Read/Write properties of the RGB layer.
Visible:
The Visible option makes the RGB layer visible in the view pane.
Priority:
The Priority box changes the priority of the RGB layer in your project or file. (See Changing the layer priority
on page 18)
Resample Method:
30 PCI Geomatics
Chapter 1: Getting started
Allows you to select a resampling method for displaying the raster in the Focus view pane. The resampling
does not change the data itself, it is only used to determine how to display the raster on your screen.
You can choose from the following resample methods:
• Nearest Neighbor
• Bilinear Interpolation
• Cubic Convolution
Layer Enhancement:
Reports enhancements associated with the RGB layer. (See Changing a default enhancement on page 199)
Auto re-enhance
The Auto re-enhance check box is used to control whether or not a new visual enhancement is computed
when the RGB layer display changes (for example, after panning or zooming). If the check box is selected,
a new enhancement is computed using the currently viewed pixels each time the display changes. If the
check box is not selected, the layer enhancement is not automatically adjusted each time the view changes.
Red LUT
With the following lists, you can select a new file and LUT for the red image channel.
PCI Geomatics 31
Chapter 1: Getting started
The File menu lets you choose a different file from a list of open files.
The Layer list lets you choose an LUT from the file you selected from the Red LUT File list.
Green LUT
With the following lists, you can select a new file and LUT for the green image channel.
The File list allows you to choose a different file from a list of files you have open in Focus.
The Layer list lets you choose a layer from the file you selected from the Green LUT File list.
Blue LUT
With the following lists, you can select a new file and LUT for the blue image channel.
The File list lets you choose a different file from a list of files you have open.
The Layer list lets you to choose a layer from the file you selected from the Blue LUT File list.
Display tab
The Display tab has controls for changing the transparency and opacity of the RGB layer and for viewing 'No
data' values when they are included in an RGB layer.
Vector layers placed below a raster transparency in the Maps tree appear in the view pane but are not
supported for printing.
Transparency:
Makes the Value boxes available.
Red Values:
Lets you enter a value or a range of values for red channel transparency.
Green Values:
Lets you enter a value or a range of values for green channel transparency.
Blue Values:
Lets you enter a value or a range of values for blue channel transparency.
Opacity:
Makes the Opacity slide control available for changing the opacity of the RGB layer.
View 'No Data Value':
When an RGB layer contains 'no data' values, the View 'No Data Value' option is available. When you choose
the View 'No Data Value' option, you can select a color from the color list for displaying them in the view pane.
32 PCI Geomatics
Chapter 1: Getting started
General tab
Under the General tab, you can change generic information about your file and read other file information.
Description:
Lets you change the file name or description for the grayscale layer appearing in the Maps tree.
Read Only:
Lets you change the Read/Write properties of the grayscale layer.
Visible:
Makes the grayscale layer visible in the view pane.
Priority:
Changes the priority of the grayscale layer in your project or file. (See Changing the layer priority on page
18)
Resample Method:
Allows you to select a resampling method for displaying the raster in the Focus view pane. The resampling
does not change the data itself, it is only used to determine how to display the raster on your screen.
You can choose from the following resample methods:
• Nearest Neighbor
• Bilinear Interpolation
• Cubic Convolution
Layer Enhancement:
Reports the enhancements associated with the grayscale layer. (See Changing a default enhancement on
page 199)
PCI Geomatics 33
Chapter 1: Getting started
If the Auto re-enhance check box is not selected, you can work with the two LUT lists to control the display
of your layer.
The File list lets you choose a different file from a list of open files.
The Layer list lets you choose an LUT from the file you selected from the File list.
Display tab
The Display tab has controls for changing the Transparency and Opacity of the grayscale layer and for viewing
NoData values when they are included in a grayscale layer.
Vector layers placed below a raster transparency in the Maps tree appear in the view pane but are not
supported for printing.
Transparency:
Makes the Value box available.
Values:
Lets you enter a value or a range of values for grayscale channel transparency.
Opacity:
Makes the Opacity slide control available for changing the opacity of the grayscale layer.
View 'No Data Value':
When a grayscale layer contains 'no data' values, the View 'No Data Value' option is available. When you
choose the View 'No Data Value' option, you can select a color from the color list for displaying them in the
view pane.
Labels tab
The Label tab on the Properties window for the layer contains the label files associated with the project.
Related Links
Managing the labels on page 308
34 PCI Geomatics
Chapter 1: Getting started
General tab
Under the General tab, you can change generic information about your PCT layer and read other file
information.
Description:
Lets you change the file name or description for the PCT layer appearing in the Maps tree.
Read Only:
Lets you change the Read/Write properties of the PCT layer.
Visible:
Makes the PCT layer visible in the view pane.
Priority:
Changes the priority of the PCT layer in your project or file. (See Changing the layer priority on page 18)
Display tab
The Display tab has controls for changing the Opacity of the PCT image layer and for viewing NoData values
when they are included in a PCT image layer.
Opacity:
Makes the Opacity slide control available for changing the opacity of the PCT image layer.
View 'No Data Value':
When a PCT image layer contains 'no data' values, the View 'No Data Value' option is available. When you
choose the View 'No Data Value' option, you can select a color from the color list for displaying them in the
view pane.
PCI Geomatics 35
Chapter 1: Getting started
Labels tab
The Label tab on the Properties window for the layer contains the Label files associated with the project. For
more information about labels see Managing the labels on page 308.
Related Links
Managing the labels on page 308
General tab
Under the General tab, you can change generic information and read other file information about a bitmap
layer.
Description:
Lets you change the file name or description for the bitmap layer appearing in the Maps tree.
Read Only:
Lets you change the Read/Write properties of the bitmap layer.
Visible:
Makes the bitmap layer visible in the view pane.
Priority:
Changes the priority of the bitmap layer in your project or file. (See Changing the layer priority on page 18)
36 PCI Geomatics
Chapter 1: Getting started
Lets you change the color of the bitmap segment. You can choose from the following color options:
• Red
• Blue
• Cyan
• Yellow
• White
• Black
• More
The More option opens the Change Color window, which lets you create a custom color.
Display tab
The Display tab has controls for changing the Opacity of the bitmap segment.
Opacity:
Makes the opacity slide control available. You can change the opacity of a bitmap segment when you want
to see data from another layer through the bitmap in the view pane.
General tab
Under the General tab, you can change generic and display information and read other file information about
a vector layer.
Generic:
Lets you change generic attributes of your vector layer.
Description:
Lets you change the layer file name or description of the vector layer shown in the Maps tree.
Read Only:
Makes the file read only. When you select this option you cannot save changes to the vector layer.
Visible:
Makes the vector layer visible in the view pane.
Selectable:
PCI Geomatics 37
Chapter 1: Getting started
Allows you to either enable the selection of shapes in a vector segment or disable it. If the Selectable check
box is selected, Focus lets you select one or more shapes in a given vector segment, which can then be used
for several operations, such as removing, appending, and editing. If the check box is cleared, you are not
permitted to select or deselect shapes in a vector segment.
This option can also be used to lock the current selection. With the Selectable check box selected, you must
first select the desired shape(s) from the vector segment using the Attribute Manager, Selection tools, or
Vector Editing tools. Once all of the desired shapes are selected, you can then clear the Selectable check
box to lock the currently selected shapes. The shape selection can then be unlocked by selecting the check
box.
Labels tab
The Label tab on the Properties window for the layer contains the label files associated with the project. For
more information about labels see Managing the labels on page 308.
Related Links
Managing the labels on page 308
General tab
Under the General tab, you can change generic information about your thematic layer and read other file
information.
Description:
Lets you change the file name or description for the thematic layer appearing in the Maps tree.
Read Only:
Lets you change the Read/Write properties of the thematic layer.
Visible:
Makes the thematic layer visible in the view pane.
Selectable:
Allows you to select a thematic in the view pane using the selection tools.
Priority:
38 PCI Geomatics
Chapter 1: Getting started
Changes the priority of the thematic layer in your project or file. (See Changing the layer priority on page 18)
Display tab
The Display tab has controls for changing the Opacity of the thematic image layer and for viewing NoData
values when they are included in a thematic image layer.
Opacity:
Makes the Opacity slide control available for changing the opacity of the thematic image layer.
View 'No Data Value':
When a thematic image layer contains 'no data' values, the View 'No Data Value' option is available. When
you choose the View 'No Data Value' option, you can select a color from the color list for displaying them in
the view pane.
Labels tab
The Label tab on the Properties window for the layer contains the Label files associated with the project. For
more information about labels see Managing the labels on page 308.
Related Links
Managing the labels on page 308
PCI Geomatics 39
Chapter 1: Getting started
File Name:
Reports the name and path of the RST.
1. In the control pane, click the Files tab and select a file.
2. From the View menu, click Properties.
You can also right-click a file and click Properties to open the Properties window.
40 PCI Geomatics
Chapter 1: Getting started
General tab
Description:
Lets you change the file name or description appearing in the Files tree.
Type:
Reports the layer type.
Size on Disk:
Reports the size of the file on disk.
Creation Date:
Indicates when the layer was created.
Last Update:
Shows the last time the raster file was changed.
Raster Size:
Reports the size of the bitmap layer in pixels and lines.
History tab
The History tab allows you to review the processing history of the data as a list of algorithms that have been
applied to the data contained in the image channel.
MetaData tab
The MetaData tab provides a table for working with metadata names and values associated with the Raster
file.
Name:
Shows the name of the metadata file.
Value:
Lets you enter a new value for the metadata file.
Add:
Lets you add records to the MetaData table.
Delete:
Lets you remove records from the MetaData table.
Delete All:
Lets you delete all of the MetaData records from the table.
General tab
Description:
Allows you to enter detailed information about a file. The description is shown in the Properties window for
the file.
PCI Geomatics 41
Chapter 1: Getting started
Type:
Reports the file format.
Size on disk:
Reports the disk size of the file.
Creation date:
Indicates when the file was first created.
Last updated:
Shows when the last edit was made to the file.
Raster Size:
If applicable, reports the size of the raster in pixels and lines.
Interleaving type:
Reports the type of interleaving used in the file.
The following interleave methods are reported:
BAND interleaved:
Stores all data for one band together. Gives superior performance when bands are not accessed continuously.
Not supported for files larger than 2 GB.
PIXEL interleaved:
Stores data for all bands at a particular pixel. May give better performance when all bands are accessed at
the same time.
FILE interleaved:
Similar to BAND interleaved, but image channel data is stored in external files, one file per band.
Tiled:
Files have image data organized in many square sub images. Tiling provides faster access when a sub-area
is extracted for file viewing, and supports compression formats.
Pathname:
Reports the full path and name of the file.
History tab
The History tab allows you to review the processing history of the data as a list of algorithms that have been
applied to the data contained in the image channel.
MetaData tab
The MetaData tab has a table that displays metadata associated with the file.
Add:
Lets you add records to the MetaData table.
Delete:
Lets you remove records from the MetaData table.
Delete All:
Lets you delete all of the MetaData records from the table.
42 PCI Geomatics
Chapter 1: Getting started
Projection tab
The Projection tab allows you to view and change the projection of your files.
Coordinate System:
Allows you to select a coordinate system for a file.
The available systems are:
• Pixel
• UTM
• Long/Lat
• Meter
• Foot
• SPCS
• Other
Earth Model:
Opens the Earth Model window, where you can choose from a list of datum and ellipsoids to define your
coordinate system.
More:
Opens the UTM, State Plane Zones, or the Projection definition window if you chose UTM, SPCS, or Other
from the Coordinate System box.
UTM window:
Lists the following choices depending on the type of coordinate system you chose:
Table 2:
Bounds:
Allows you to show the bounding coordinates of your file in either geocoded (Eastings and Northings) or
geographic (latitude and longitude) units for UTM, SPCS, and other coordinate systems. Bounding coordinates
are not shown for the Pixel option. Long/Lat displays the bounding coordinates in geographic units only. Meter
and foot displays the bounding coordinates in geocoded units only.
Upper left:
The Upper Left boxes show the X, Y coordinates for the upper left corner of the file unless the file contains
a rotated raster. If the file contains a rotated raster, the Upper Left boxes indicate the coordinates of the first
pixel in the file, which is not necessarily the upper left corner. Values are in the units of the selected coordinate
system.
Lower Right:
The Lower Right boxes show the X, Y coordinates for the lower right corner of the file unless the file contains
a rotated raster. If the file contains a rotated raster, the Lower Right boxes indicate the coordinates of the last
pixel in the file, which is not necessarily the lower right corner. Values are in the units of the selected coordinate
system.
Rotation:
PCI Geomatics 43
Chapter 1: Getting started
The Rotation boxes indicate the amount the data is rotated. For more information, see About rotated rasters
on page 23.
Pixel Size X:
Reports the horizontal pixel size in the units of the selected coordinate system.
Pixel Size Y:
Reports the vertical pixel size in the units of the selected coordinate system.
General tab
You can change information about your ground control point (GCP) file and read other file information.
Description:
Lets you change the file name or description appearing in the Files tree.
Type:
Reports layer type.
Size on disk:
Reports the disk size of the layer.
Creation date:
Reports when the layer was created.
Last updated:
Reports the last time the GCP file was changed.
Number of GCPs:
Reports the number of GCPs in the layer.
Number of CPs:
Reports the number of check points in the layer.
History tab
The History tab allows you to review the processing history of the data as a list of algorithms that have been
applied to the data.
MetaData tab
The MetaData tab provides a table for working with metadata names and values associated with the GCP
file.
Name:
The name column shows the name of the metadata file.
Value:
The value column lets you enter a new value for the metadata file.
Add:
Lets you add records to the MetaData table.
44 PCI Geomatics
Chapter 1: Getting started
Delete:
Lets you remove records from the MetaData table.
Delete All:
Lets you delete all of the MetaData records from the table.
Projection tab
The Projection tab of the Ground Control Point Properties window displays projection information for the
selected ground control point (GCP) segment. Projection information includes:
• Coordinate system
• Earth model (datum and ellipsoids)
• Elevation reference
• Elevation units
General tab
The General tab allows you to change generic information about your file and read other file information.
Description:
Lets you change the file name or description appearing in the Files tree.
Type:
Reports layer type.
Size on disk:
Reports the disk size of the layer.
Creation date:
Reports when the layer was created.
Last updated:
Reports the last time the LUT file was changed.
History tab
The History tab allows you to review the processing history of the data as a list of algorithms that have been
applied to the data contained in the table.
MetaData tab
The MetaData tab provides a table for working with metadata names and values associated with the lookup
table (LUT) file.
Name:
The name column shows the name of the metadata file.
Value:
The value column lets you enter a new value for the metadata file.
Add:
PCI Geomatics 45
Chapter 1: Getting started
General tab
Under the General tab, you can change the description of an orbit file layer and read other file information.
Description:
Lets you change the file name or description appearing in the Files tree.
Type:
Reports layer type.
Size on Disk:
Reports the size of the layer in bytes.
Creation date:
Reports the layer creation date.
Last updated:
Reports the last date the file was changed.
History tab
The History tab allows you to review the processing history of the data as a list of algorithms that have been
applied to the data contained in the image channel.
MetaData tab
The MetaData tab provides a table for working with metadata names and values associated with an orbit file.
Name:
The name column shows the name of the metadata file.
Value:
The value column lets you enter a new value for the metadata file.
Add:
Lets you add records to the MetaData table.
Delete:
Lets you remove records from the MetaData table.
Delete All:
Lets you delete all of the MetaData records from the table.
46 PCI Geomatics
Chapter 1: Getting started
General tab
You can change information about your file and read other file information.
Description:
Lets you change the file name or description appearing in the Files tree.
Type:
Reports layer type.
Size on disk:
Reports the disk size of the layer.
Creation date:
Reports when the layer was created.
Last updated:
Reports the last time the pseudocolor table file was changed.
History tab
The History tab allows you to review the processing history of the data as a list of algorithms that have been
applied to the data contained in the image channel.
MetaData tab
The MetaData tab provides a table for working with metadata names and values associated with the
pseudocolor table file.
Name:
Shows the name of the metadata file.
Value:
Lets you enter a new value for the metadata file.
Add:
Lets you add records to the MetaData table.
Delete:
Lets you remove records from the MetaData table.
Delete All:
Lets you delete all of the MetaData records from the table.
General tab
You can change generic information about your file and read other file information.
PCI Geomatics 47
Chapter 1: Getting started
Description:
Lets you change the file name or description appearing in the Files tree.
Type:
Reports layer type.
Size on disk:
Reports the size of the layer in bytes.
Creation date:
Reports when the layer was created.
Last updated:
Reports the last time the raster file was changed.
Locking Status:
Gives the raster layer read only status. Read-only Raster layers appear in the Files Tree with a red 'X' next
to the raster icon.
Raster Size:
Reports the size of the raster layer in pixels and lines.
Data Type:
Reports the bit depth of the of the raster layer as one of the following data types:
• 8-bit unsigned
• 16-bit signed
• 16-bit unsigned
• 32-bit real
Overviews:
Reports available overviews in the raster file.
History tab
The History tab allows you to review the processing history of the data as a list of algorithms that have been
applied to the data contained in the image channel.
MetaData tab
The MetaData tab provides a table for working with metadata names and values associated with the Raster
file.
Name:
Shows the name of the metadata file.
Value:
Lets you enter a new value for the metadata file.
Add:
Lets you add records to the MetaData table.
Delete:
Lets you remove records from the MetaData table.
Delete All:
48 PCI Geomatics
Chapter 1: Getting started
Lets you delete all of the MetaData records from the table.
General tab
Under the General tab you can change information about your file and read other file information.
Description:
Lets you change the file name or description appearing in the Files tree.
Type:
Reports layer type.
Size on disk:
Reports the disk size of the layer.
Creation date:
Reports when the layer was created.
Last updated:
Reports the last time the Signatures file was changed.
History tab
The History tab allows you to review the processing history of the data as a list of algorithms that have been
applied to the data contained in the image channel.
MetaData tab
The MetaData tab provides a table for working with metadata names and values associated with the
pseudocolor table file.
Name:
Shows the name of the metadata file.
Value:
Lets you enter a new value for the metadata file.
Add:
Lets you add records to the MetaData table.
Delete:
Lets you remove records from the MetaData table.
Delete All:
Lets you delete all of the MetaData records from the table.
PCI Geomatics 49
Chapter 1: Getting started
General tab
You can change the description of your file and read other file information.
Description:
Lets you change the file name or description appearing in the Files tree.
Type:
Reports layer type.
Size on Disk:
Reports the size of the layer in bytes.
Creation date:
Reports the layer creation date.
Last updated:
Reports the last date the file was changed.
History tab
The History tab allows you to review the processing history of the data as a list of algorithms that have been
applied to the data contained in the image channel.
MetaData tab
The MetaData tab provides a table for working with metadata names and values associated with a text file.
Name:
Shows the name of the metadata file.
Value:
Lets you enter a new value for the metadata file.
Add:
Lets you add records to the MetaData table.
Delete:
Lets you remove records from the MetaData table.
Delete All:
Lets you delete all of the MetaData records from the table.
General tab
Description:
Lets you change the file description appearing in the Files tree.
Name:
Lets you change the name of the vector layer appearing in the Files tree.
Type:
50 PCI Geomatics
Chapter 1: Getting started
History tab
The History tab allows you to review the processing history of the data as a list of algorithms that have been
applied to the data contained in the image channel.
MetaData tab
The MetaData tab provides a table for working with metadata names and values associated with the vector
file.
Name:
Shows the name of the metadata file.
Value:
Lets you enter a new value for the metadata file.
Add:
Lets you add records to the MetaData table.
Delete:
Lets you remove records from the MetaData table.
Delete All:
Lets you delete all of the MetaData records from the table.
Projection tab
The Projection tab allows you to change the vector projection and select an Earth model and a UTM zone
for the vector layer.
Projection:
Allows you to choose a different projection for the vector file layer.
You can choose the following projections from the list box:
• Pixel
• UTM - Opens the UTM Zones window.
• Lat/Long - Makes the Earth Model button available and reports the current Datum and Ellipsoid.
• Meter - Makes the Earth Model button available and reports the current Datum and Ellipsoid.
• Foot - Makes the Earth Model button available and reports the current Datum and Ellipsoid.
PCI Geomatics 51
Chapter 1: Getting started
• SPCS - Makes the Earth Model button available, reports the current Datum and Ellipsoid, and opens the
State Plane Zones window.
• Other - Makes the Earth Model button available, reports the current Datum and Ellipsoid, and opens the
Other Projections window.
Earth Model:
Opens the Earth Model window.
More:
Opens the State Plane window.
52 PCI Geomatics
Chapter 1: Getting started
3. Click in the Red, Green, and Blue columns next to the image channels to specify the color composition
of the on-screen image.
If only one image layer is selected, the displayed image changes according to the new mapping. Once
you are satisfied with the mapping, click Close.
If multiple images are selected, move to the next step.
4. For multiple map layer selections, do one of the following after making mapping changes to the table:
• Click Apply to apply your changes to the viewer.
• Click OK to apply your changes and close the RGB Mapper (multi-select) window.
Note: You should re-apply a visual enhancement to your map layers after you alter their composition to
better see the data.
PCI Geomatics 53
Chapter 1: Getting started
The Pixel/Line column lists a pixel and line coordinate location for each pixel along the vector.
The X position column lists the X coordinate for each pixel along the vector.
The Y position column lists the Y coordinate for each pixel along the vector.
The Distance column lists the scale distance for each pixel relative to the image scale. Distances are expressed
in units of measure corresponding to the image in the view pane.
The Graph button brings the Profile Graph window to the front of your desktop.
The Statistics button opens the Profile Statistics window, which shows the statistics for each channel in a
selected layer. The following statistics are calculated automatically:
• Sample Min
• Sample Max
• Sample Avg
• Weighted Avg
Statistics are a summary for the sample gray values along the profile. The weighted average is the most
accurate measure of central tendency among the sample points. The weight of a sample gray value is the
ratio of the length of a sample interval over the total distance of all the sample intervals.
The Save button opens the Save Table window, which allows you to save your table.
The Options button opens the Profile Options window.
3. To set the view scale of the profile graph, do one of the following:
• To set the X axis of the graph to the linear scale view of your image, click Georeferenced.
• To set the X axis of the graph to the pixel number view of the vector profile, click Sample points.
54 PCI Geomatics
Chapter 1: Getting started
PCI Geomatics 55
Chapter 1: Getting started
Allows you to set the minimum and maximum ranges of the Y axis of the profile graph.
Min:
Allows you to enter a minimum range for the Y axis of the profile graph.
Max:
Allows you to enter a maximum range for the Y axis of the profile graph.
Export:
Allows you to choose a file and a format for exporting your graph.
File:
Opens a File Selector window, where you can choose a target file for exporting your graph.
File Format:
Lets you choose a file format for exporting your graph.
Options:
Lets you show a legend on your graph, lock the aspect ratio of the X and Y axes, and change the background
color of the graph.
Show Legend:
Shows or hides the legend on the Profile Graph window. The legend is printed with the graph when this option
is checked.
Fix Aspect Ratio:
Locks the aspect ratio of the X and Y axes of the graph.
Background:
Lets you change the background color of the graph.
56 PCI Geomatics
Chapter 1: Getting started
Exporting profiles
To export your profile information, you can:
• Save your graph as a PCIDSK (.pix), TIFF (.tif), bitmap (.bmp), or PostScript (.ps) file through the Graph
Controls window.
• Print the profile graph by clicking Print at the bottom of the Graph Controls window.
• Save your profile table to a text file through the Profile Table window. This text file can be imported to any
spreadsheet for editing or analysis.
You can change the file format before selecting the output file.
1. In the Export area of the Profile Graph window, select a format from the Format list box.
2. Click File.
3. In the File Selector window, navigate to and select a file.
4. Click Save.
5. In the Profile Graph window, click Export.
PCI Geomatics 57
Chapter 1: Getting started
Clone views are independent of the source view showing in the original project window. Changes made to
the project are not reflected in the cloned window. Once a Clone View is open, a new image can be opened
in the project window with no effect on the cloned view.
1. From the View menu of the project window, click Clone View.
2. If you want the cursor in the Focus view pane to follow the cursor in the Clone view, click the Chained
Window button on the Focus toolbar.
3. If you want the cursor in the Clone view to follow the cursor in the Focus view pane, click the Chained
Window button on the Clone view toolbar.
Dragging the box in the overview window moves the image in the view pane without changing the zoom level.
1. In the Maps tree, choose an Area or a Map for defining your named region.
2. Use any of the zoom tools, including the bounding outline in the overview window, to define your region.
3. From the View menu, click Named Regions.
4. In the Named Regions window, click the + button.
5. Type a name of the selected region in the Named Region 1 box.
6. Click OK.
58 PCI Geomatics
Chapter 1: Getting started
You can also right-click a named region in the Named Regions tree and click Remove.
Panning an image
When you have a very large image file open or when your image is zoomed in, you can pan around the image
in the Focus view pane. There are two ways to pan around images: using the Pan tool on the Focus toolbar
or using the mouse scroll wheel.
You can also scroll an image using the standard scroll bars along the horizontal and vertical edges of the
view pane.
Tip: You can increase the effect on the view by holding down the Ctrl key while rolling the mouse scroll
wheel.
Tip: You can increase the size of the zoom increment by a factor of 2 by holding down the Ctrl key while
rolling the mouse scroll wheel up or down.
PCI Geomatics 59
Chapter 1: Getting started
Note: When more than one image is open, the zoom tools apply to all images in the view pane.
Grid spacing
The Grid Spacing section sets the spacing for both the dots and lines.
Horizontal:
The default spacing is 1.00 Millimetre
Vertical:
The default spacing is 1.00 Millimetre.
The unit options for spacing are in standard paper units: millimetre, inch, point, and pica.
The Keep Equal option forces the grid spacing to be equal in both directions. You can disable the option if
you want different horizontal and vertical spacing. This option is checked by default.
Index spacing
Index spacing is based on your grid spacing.
Horizontal:
Spacing for the index is in grid units. The default is 10. Every tenth dot or line is an index dot or line.
Vertical:
Spacing for the index grid is also in grid units. The default is 10. Every tenth dot or line is an index dot or line.
The Keep Equal option forces the index spacing to be equal in both directions. You can disable this option
if you want different horizontal and vertical spacing.
Show Grid:
Switches the grid off or on in the view pane. Enable this option to show the grid.
Snap to Grid:
Switches the grid snapping behavior off or on. Enable the check box to make map elements snap to the grid.
60 PCI Geomatics
Chapter 1: Getting started
• From the Maps or Files tree, right-click a layer and click Attribute Manager.
PCI Geomatics 61
Chapter 1: Getting started
If the source file has a real projection, this projection is used, along with the file's upper-left coordinate, the
file's georeferencing (including rotation), and the stored pixel and line coordinates, to compute new geographic
coordinates. If there is no math model associated with the source file, the generated vector layer is created
with the same projection as the file's georeferencing. If there is at least one math model, you can choose to
display the layer with georeferencing from the math model.
If the source file has only a PIXEL projection and no associated math model, the stored pixel and line image
coordinates are used "as is" in the generated vector layer and a PIXEL projection is applied.
Related Links
Using the math model for georeferencing on page 17
62 PCI Geomatics
Chapter 1: Getting started
If you chose File, the layer is displayed with GCPs derived from the file''s georeferencing. If you chose
Math Model, the Select Layer Georeferencing window appears.
5. If applicable, follow the steps in Using the math model for georeferencing on page 17 to select the math
model georeferencing information in the Select Layer Georeferencing window.
The layer is displayed with GCPs computed from the selected math model's georeferencing.
Related Links
Using the math model for georeferencing on page 17
Table 3:
Required Optional
Text data set descriptions Name of the sensor model
Number of image bands Name of the sensor type
Number and sequence of radiometric transformations
Location of image acquisition
stored as band-specific metadata.
Time of image acquisition
Heading of the platform
Fore-aft sensor tilt relative to gravity vector
Total sensor field-of-view
Band-specific Metadata
PCI Geomatics 63
Chapter 1: Getting started
Some band-specific metadata is also optional. The following table shows a list of both required and optional
band-specific metadata items
Table 4:
The METAIN is in the Algorithm Librarian. The Algorithm Librarian lists algorithms in a tree of file folders. The
folders are organized by algorithm category. Some category folders contain a sub-category of algorithms.
1. In the Files tree, right-click anywhere in the white area and click Add.
2. In the File Selector window, locate and select a data file, and click Open.
1. In the Files tree, right-click the file you want to view and click Properties.
2. In the Properties window, click the MetaData tab.
The global metadata is listed.
1. In the Files tree, expand the list of raster layers in your file.
2. Right-click a raster layer and click Properties.
3. In the Properties window, click the MetaData tab.
The band-specific Metadata is listed.
64 PCI Geomatics
Chapter 1: Getting started
1. On the status bar, click the down arrow on the CursorPosition bar.
2. Select the unit of your choice:
• Paper: displays the coordinates in millimeters.
• Raster: displays the coordinates in image pixels and lines measured from the upper left corner of the
image.
• Geocoded: displays the coordinates in Easting and Northing values.
• Geographic: displays the coordinates in Longitude and Latitude values.
• MGRS: displays the coordinates using the Military Grid Reference System.
• Screen: displays the coordinates in screen pixels measured from the upper left corner of the viewer.
PCI Geomatics 65
Chapter 1: Getting started
Using Flicker:
Switches your view between two layers within the same Map. When you select any two layers in the Maps
tree, the associated images flicker from the front to the back of the view pane, making it easier to see subtle
differences between them.
66 PCI Geomatics
Chapter 1: Getting started
PCI Geomatics 67
Chapter 1: Getting started
68 PCI Geomatics
Chapter 1: Getting started
Current channel:
Reports the name of the active layer in the view pane.
Using Cycle:
Cycle mode displays image data through the color component you specify. The color that image channels
cycle through is set using the red, green, or blue color channel options. You can select image channels to
use with the Display Ranges text box.You can also specify whether the image layers will be cycled through
the color component forward, starting with the first image channel you specify or backward, starting with the
last image channel specified.
1. With image data open, click View and then click Visualization Tools.
2. In the Visualization Tools window, click the Cycle tab.
3. Click a Color Channel option. The color you choose is the layer through which the hyperspectral channels
cycle.
4. Enable a range of either channels or wavelengths to cycle using a selected color channel.
To select a range of wavelengths, there must be associated metadata for each channel in the hyperspectral
file. (See Importing XML metadata using the METAIN algorithm on page 63)
5. Enter a display range in the Display range box.
More than one channel or wavelength range can be entered. Ranges are shown using a dash between
the beginning and end of the range; multiple ranges are separated by a comma.
For example 1-5, 15-20, 30-35 are valid entries for channel display ranges.
6. Select a cycle direction by enabling either the Forward or Backward option.
If forward cycling is selected, the channel cycling order is 1-5, 15-20, and then 30-35; if reverse cycling is
selected, the channel cycling order is 35-30, 20-15, and then 5-1.
7. Click the Start Automatic Cycle button.
The cycling continues until you click Stop Automatic Cycle.
The number at the bottom of the Visualization Tools window represents the displayed channel. If you do not
click Apply prior to clicking Close, the window closes and the RGB layer reverts back to the original
combination. Clicking Apply updates the RGB layer to reflect the new channel in the identified element and
the layer name is updated. The following is a list of Band Cycling window controls with details about what
they do.
Select Color Channel:
Lets you specify the color of the view channel. The channels in the two colors that are not selected will not
change. Next to the color is the file of the channel currently mapped to the color. If all the colors are mapped
to a channel in the same file, these labels will not appear.
Cycle through all files:
Enable this check box when the active RGB layer contains channels from multiple files and you want to cycle
through all the channels in all files mapped to the RGB layer. This function is only available when the colors
of the active RGB layer are mapped to more than one file.
Display Range:
You can specify ranges of channels to cycle through a specified color component and you can specify either
the channel number or wavelength. The system cycles through all available channels by default.
PCI Geomatics 69
Chapter 1: Getting started
70 PCI Geomatics
Chapter 1: Getting started
2. In the Display ranges box, specify the bands that you want to view.
You can either specify the channel number or the wavelength. The wavelength is available only if the
metadata contains band centers. By default, all channels are displayed.
3. Click Channel if the values in the Display ranges box represent channel numbers or click Wavelength
if the values represent wavelengths stored in the metadata segment in the file.
4. Select the Intensity Normalization check box to use the minimum and maximum values in the image to
calculate a histogram and apply it to the thumbnail. When the Intensity Normalization check box is
cleared, the histogram includes the entire range of values from all the channels.
5. Do one of the following:
• If you want to view the image as a grayscale layer, click Grayscale, click the Select Channel button
on the Thumbnails viewer toolbar, and then click the thumbnail you want to view.
The channel number of the selected thumbnail is displayed in the box next to the Grayscale option.
• If you want to view the image as an RGB layer, click RGB. Click the Select Channel button on the
Thumbnails viewer toolbar, and then click, in order, the thumbnails that you want to use for the red,
green, and blue channels.
The thumbnails are highlighted in the colors of the corresponding channels and the channel numbers
are displayed in the corresponding boxes.
6. Click View.
A map and area are added to the Maps tree. If you selected Grayscale, your grayscale image is displayed
full-size in the Focus window. If you selected RGB, a composite RGB image is displayed full-size in the
Focus window.
7. To customize the display of the thumbnail images in the Thumbnails viewer, including panning, zooming,
and applying enhancements, use the buttons on the toolbar in the viewer.
8. If you change any of the settings previously made in the Thumbnails viewer, such as channel numbers,
click Reload to display the thumbnails based on the new settings.
Related Links
Understanding enhancements on page 198
Using the View tools on page 57
PCI Geomatics 71
Chapter 1: Getting started
Related Links
About the 3-D data cube controls on page 72
About the Select PCT Layer window on page 74
72 PCI Geomatics
Chapter 1: Getting started
Pseudocolor Table:
Opens the PCT Editing window.
Overview:
Displays an overview of the 3-D image.
Zoom Window:
Lets you zoom the image by clicking in the 3-D image in the 3-D window.
Zoom In:
Makes the 3-D image larger.
Zoom Out:
Makes the 3-D image smaller.
Zoom 1:1:
Shows the 3-D image at 1:1 scale ratio.
Pan:
Lets you pan the 3-D image within the 3-D window.
Rotate:
Lets you rotate the 3-D image along the X, Y, and Z axis.
Cube Excavation
The Cube Excavation Area has text and slide controls that let you view a rectangular section of the layers in
the cube. You can change the shape and the depth of the excavation using the slide controls. When you use
a wheel mouse, you can lock the excavation of the X, Y, or Z plains of the cube. You can also lock all three
at once and change the view of the excavation with your wheel mouse.
X:
Changes the horizontal axis of the cube excavation. The X option box lets you lock the horizontal axis
excavation when you use a wheel mouse.
Y:
Changes the vertical axis of the cube excavation. The Y option box lets you lock the vertical axis excavation
when you use a wheel mouse.
Z:
Changes the depth of the cube excavation. The Z option box lets you lock the depth excavation when you
use a wheel mouse.
Flip Controls
The Flip controls change the orientation of the excavation.
Flip X:
Flips the X axis from right to left.
Flip Y:
Flips the Y axis from right to left.
Flip Z:
Flips the Z axis from top to bottom.
Using the Excavation Controls:
PCI Geomatics 73
Chapter 1: Getting started
You can control height, width, and depth of the excavated portion of the cube. When you use the slide control,
the image and the number above the slide control are automatically updated. The minimum for each box is
1; the maximum number is the number of layers in the data set. The maximum for the X axis is the maximum
number of pixels displayed in the Focus view pane. The maximum for Y is the maximum number of lines
displayed in the Focus view pane, and the maximum for Z corresponds to the number of image channels in
the file. If the image is at Zoom to Overview, the maximum X and Y are the extents of the image. Each
single-digit increment removes one pixel, line, or channel from the display.
The excavation is determined and applied by default when the cube is opened. The starting point of the
excavation is the lower-right corner, X max and Y max, and the top most image layer Z min. You can flip the
excavated area a full 180-degrees in the X, Y, or Z dimensions using the Flip buttons.
Related Links
About the Select PCT Layer window on page 74
Editing single-value pseudocolor tables (PCTs) on page 196
Selecting colors
There are several cases where you need to create custom colors. For example, you can choose custom
colors for vectors, points, polygon fills, training areas, and more. In each case a color selection window is
available for creating custom color. The color window may differ, depending on the task you are performing.
Custom colors are created using a combination of three basic color palettes.
Color palettes
Basic Colors:
This is a palette of 49 basic colors that are preset and cannot be modified.
Color Continuum:
This is the palette of infinite colors in the middle of the window. This palette is made up of all the possible
hue/saturation combination of values.
Lightness/Intensity Scale:
This palette controls the brightness of the color you create. When you choose the Gray color model, the
Lightness/Intensity Scale is the only available palette.
The color you create using the palettes is displayed alongside the color that is being replaced. The numeric
representation of the new color appears in a series of data entry fields.You can edit the entries in these fields
and the new color changes accordingly. The number of fields present corresponds to the chosen color model.
74 PCI Geomatics
Chapter 1: Getting started
Color models
The following color models are available in Focus:
RGB: One of the Additive Color models, the RGB model is based on light emitted from a source, such as a
computer monitor. It has three primary colors: red, green, and blue. All the colors on a screen are produced
by combining these three colors in various proportions.
CMYK: One of the Subtractive Color models, the CMYK model is based on light being absorbed and reflected
by paint and ink. This model is often used when printing. The primary colors are cyan, magenta, yellow, and
key (black).
HLS/IHS: This model is a more intuitive model based on the way color is perceived. The primary components
are hue, lightness or intensity, and saturation.
Gray: This model is a continuum of gray values. The gray scale ranges from pure black to pure white.
1. To select a basic color value, click a tile in the Basic Colors palette.
The Red, Green, and Blue values change to match the selected color. In addition, the color appears in
the New box and the slider control changes position to show the value for the lightness and intensity of
the new color.
2. If you want to choose a more precise color in terms of shade or strength, click a value in the Color
Continuum.
3. To control the brightness of the color, click the slide control and move the arrow up or down to increase
or decrease the lightness and intensity.
4. To control color values at the pixel level in the RGB model, click the arrows for the Red component, the
Green component, and the Blue component.
This increases or decreases the numeric values of the red, green, and blue pixels.
5. To change the color model, click the Model arrow and choose one of the following:
• RGB: changes to a red, green, and blue color model
• CMYK: changes to a cyan, magenta, yellow, and black color model
• HLS/IHS: changes to a 3-D color model
• Gray: changes to a grayscale model
6. Click OK.
General interface
General interface options include:
Update view while panning
PCI Geomatics 75
Chapter 1: Getting started
When this option is selected, the display is continuously updated while you pan. When this option is disabled,
previously unviewed sections of the image appear white as you pan until you release the mouse button.
Note: Depending on your computer and on the size of the image, continuously updating the image view as
you pan may results in performance lag.
Reload previous project on startup
Reloads the previous project on start-up.
Show
Shows and hides tabs, message bars, the overview window, the legend in the Maps tab, and ToolTips.
Cursor
Customizes the shape, size, and color of the cursor. You can choose from none, cross, empty cross, target,
bracket target, and dot cursors.
The General interface option includes a Warnings preferences sub-category; click the plus sign beside the
General Interface label to expand the sub-topics list.
Warnings
The Warnings option allows you to disable common warning messages. By default, all warning messages
are enabled. To deactivate a warning message, disable the check box beside it.
Select from the following messages:
• Attempting to view data with METER projection
This message appears every time you open a layer that has a default METER projection assigned to it.
Some file formats do not save projection information but do have bounding coordinates. Such layers are
assigned a METER projection by default. This warning message can be useful for remembering to assign
the appropriate projection to the data.
• Attempting to view data that must be reprojected
This message appears when you try to add data to a project that is not the same projection as the active
map. When you do this, Focus reprojects the new data to the active Map projection.
• Creating a new area to view data that cannot be reprojected
This warning message appears when you try to add data that cannot be reprojected to an active Map that
already has an assigned projection. Data that cannot be reprojected includes layers or files that have
METER or PIXEL georeferencing assigned to them. In this case, a New Area is created for the layer.
• Attempting to create an RGB map layer using non-existent channels
This message appears when you try to add an RGB map layer using a non-existent or invalid channel
number, as specified in the Default RGB option. This warning message will mention a non-possible request
for RGB mapping and reminds you that channels 1, 2 ,3 will be displayed for the RGB map layer.
• Modifying a layer's representation may affect other layers
This warning message appears when you edit a representation that is linked to more than one layer. By
editing the representation style of one layer that is linked to an RST, the representation style of another
layer that is also linked to the same RST may change if the same REPCODE is used by both layers. This
warning message notifies you that the representation changes being made to one layer may also affect
another layer.
• Required input is missing in the Atmospheric Correction wizard
This warning message appears when information for an Atmospheric Correction operation is missing and
the system cannot carry out the operation you have requested.
• Required input is missing in the Layer Manager
76 PCI Geomatics
Chapter 1: Getting started
This warning message appears when information for a particular Layer Manager operation is missing and
the system cannot carry out the operation you have requested.
• Fully Within spatial operator not available for thematic rasters
This warning message appears as a reminder that you are attempting to use the Fully Within tool on a
thematic raster.
• Coordinate could not be computed in math model area
This message appears when Focus is unable to initialize the Z value of a vertex when digitizing or editing
a vector shape on a math model area.
• Attempting to view data from an unconnected table
This message appears when you try to view data from a layer that contains attributes not directly associated
with a vector representing a geographical location.
Layers
The Layers pane allows you to specify various preferences for opening and displaying layers in Focus.
Layers frame
You can change the zoom level when adding a new layer to a project. This is controlled by the When Loading
list. The following zoom levels are available:
• Zoom to Overview: displays an overview of the map each time a new layer is opened
• Zoom to Full Extents of Layer: displays the full extents of the newly opened layer
• Don't Change the Zoom: the current zoom level is maintained when a new layer is opened
Rasters frame
When a new raster layer is opened, you can have a 1:1 zoom level applied by default. This is specified by
selecting the Load Rasters at 1:1 resolution check box. If you open several rasters at the same time, the
default enhancement may be unsatisfactory for all rasters. If you intend to regularly open several rasters at
the same time, it may be advisable to clear the Load Rasters at 1:1 resolution check box.
There are two lists in the Rasters frame that specify the display properties of rasters when they are opened
in Focus:
• The Default resampling method specifies how the raster will be resampled for viewing when at greater
than 1:1 resolution. The resampling options are Nearest Neighbor, Bilinear Interpolation, and Cubic
Convolution.
Nearest Neighbor resampling is most appropriate for discrete data. It identifies the gray level of the pixel
closest to the specified input coordinates and assigns that value to the output coordinates. Although this
method is considered the most efficient in terms of computation time, it introduces small errors in the
output image. The output image may be offset spatially by up to half a pixel, which may cause the image
to have a jagged appearance.
Bilinear Interpolation determines the gray level from the weighted average of the nine closest pixels to the
specified input coordinates and assigns that value to the output coordinates. This method generates an
image with a smoother appearance than Nearest Neighbor resampling, but the gray level values are
altered in the process, which results in blurring or loss of image resolution. Like Cubic Convolution
resampling, this method is most appropriate for continuous data.
Cubic Convolution determines the gray level from the weighted average of the 16 closest pixels to the
specified input coordinates and assigns that value to the output coordinates. The resulting image is slightly
sharper than one produced by Bilinear resampling, and it does not have the disjointed appearance produced
by Nearest Neighbor resampling. Like Bilinear Interpoloation, this method is most appropriate for continuous
data.
PCI Geomatics 77
Chapter 1: Getting started
• The Default visual enhancement list specifies the default visual enhancement that will be applied to a
newly opened raster. The default visual enhancements offered are None, Linear, Root, Adaptive,
Equalization, and Infrequency. To learn more about these options, see Understanding enhancements on
page 198.
An enhancement is calculated by building a histogram with the range of values available in the Focus view
pane. By default, the original histogram is retained even when the data being displayed changes (for example,
after panning or zooming). However, if you want the histogram to be re-computed each time the display
changes, you can select the Auto re-enhance grayscale and RGB layers check box. If this check box is
selected, Focus will re-compute the histogram using the currently viewed pixels for all existing and subsequently
opened grayscale and RGB layers.
Default RGB
You can set a default RGB combination to apply to all RGB data that you open in Focus. Your settings will
apply to any subsequent RGB data that you open.
Default representation
The Default representation option consists of a Data Type area and a Preview pane. You can change the
default point, line, and polygon representations for vector layers.
When you open a vector layer, the default representation set in the Options window is applied to the layer.
This default remains a property of the layer while the layer is open.
78 PCI Geomatics
Chapter 1: Getting started
Changing the default representation in the Options window does not affect the vector layers that are currently
open in the viewer; changes made in the Options window affect only those layers that are subsequently
opened.
To define the default representation style for a data type:
1. Click the radio button beside the data type to activate it.
You can define default styles for Points, Lines, and Polygons.
2. Click the button of the data type for which you want to define the default style.
The Style Selector window appears.
3. Use the Style Selector to define the style options for the selected data type.
Different style options are available, depending on the selected data type.
4. Click Apply to preview the style, then click OK to accept the changes and return to the Focus Options
window.
5. For each data type, specify the Cycle colors option.
• Checked: this option allows you to display similar data types in different colors across vector layers.
When selected, this option ignores the color specified for the data type’s first part, and instead cycles
through the pre-defined colors for each layer. This is the default behavior in Focus.
For example, a polygon style is defined as a multi-part style with Part 1 as blue fill and Part 2 as a thin
black outline. Selecting Cycle colors will result in the first layer’s polygons displayed in red with a black
outline. Subsequent layers will appear with a blue fill, then green, and so on. The outline remains
unchanged.
• Unchecked: the color specified in the style will be used to display all vectors of that type, across all
vector layers.
Vector editing
The controls in this option are used for creating and editing vectors. The Vector editing option sets the units
and tolerances for Search, Snap, and Weed vertices tolerances in either pixels, meters, or feet. By default,
the tolerances are measured in pixels. This option also sets the snap feature for digitizing operations.
Snap Tolerance: The snap operation is only used on a line or at the start of an area edit function. When the
choice is to snap a line or area start to a vertex or a line, the snap tolerance is used to limit the lines or vertices
that are available to snap to, given the cursor's current position.
Snap Automatically: This is only used in a line or at the start of an area edit function. The snap default
dictates whether a line or an area is started or ended with a snap when you want to start or end the line, or
begin the area while still within the distance specified by the Snap Tolerance.
Search Tolerance: This limits the cursor search for a vector feature to select.
Weed Vertices Tolerance: This is used when digitizing line and area data. The value of the weed vertices
tolerance specifies the minimum distance between the last vertex digitized and the current pointer position
within which another vertex can be digitized.
PCI Geomatics 79
Chapter 1: Getting started
Tip: When digitizing, you can activate or deactivate the snap operation by holding down the Ctrl and Alt
keys while starting or ending a line or starting an area.
Memory cache
The Memory cache preferences let you configure system memory for various memory cache options. You
can adjust for Undo/Redo, Tiling, Total limit, and Vector read cache.
The memory cache window provides a way to limit system memory usage for the current application. The
total limit is the maximum amount of memory caching available on your system.
Undo/Redo:
The Undo/Redo box lets you specify, in kilobytes (1024 KB = 1 MB), the amount of memory up to 25 MBs
available for undo and redo steps.
Clear Undo/Redo cache:
Clears all cached undo and redo operations from your system.
Tiling:
Lets you specify, in kilobytes, the amount of memory available for raw image inputs and display caching
output.
Clear tiling cache:
Clears all cached tiling operations from your system cache.
Total limit:
Lets you specify, in kilobytes, the limit of memory allocation. When zero is entered, the system uses all of
the available system memory as the memory cache limit.
Default memory usage:
Re-sets the total limit of cache to the default level. The default memory usage is one-half of the system
memory. For example, if a system has total memory of 500 MB, the default memory usage command sets
the cache to 250 MB.
Vector read cache:
Lets you enter a value for the number of lines, polygons, and points that can be cached by the system. The
vector read cache is independent of values set in the Total limit box.
Default read cache:
Re-sets the default number to 4,000 cached shapes.
Related Links
Optimizing the Undo/Redo options on page 81
Optimizing the tiling cache on page 81
80 PCI Geomatics
Chapter 1: Getting started
Overview window
The Overview window option allows you to set the display properties of the overview window.
In the Show area there are check boxes for both Raster and Vector. These control which type of data will be
displayed in the overview window. A check mark indicates that the data type will be shown in the overview
window.
The View box color list box controls the color of the view box in the overview window. The View box color list
box contains a color palette with 49 available colors. Additional colors are available by clicking More.
Related Links
Zooming using the Overview window on page 58
Zoom window
The Zoom Window option allows you to set the display properties of the zoom window.
PCI Geomatics 81
Chapter 1: Getting started
The default size of the zoom window that is launched is controlled by the Default X-size and Default Y-size
spin boxes. These sizes can be adjusted by using the arrow keys in the Default X-size and Default Y-size
spin boxes. Alternatively, you can type a desired default size directly into the boxes.
If the Keep equal check box is enabled, the value of the X-size and Y-size of the zoom window will be the
same.
The Icon toolbar check box controls the Icon toolbar in the zoom window. If enabled, the Icon toolbar displays
at the top of the zoom window.
The Show status bar check box controls the status bar in the zoom window. If enabled, the status bar displays
at the bottom of the zoom window.
Layer Manager
The Layer Manager option allows you to specify the fields appearing in the Layer Manager. By default, all of
the columns in the Layer Manager display. You can remove fields in the Layer Manager display by disabling
the appropriate check box.
Related Links
Working with the Layer Manager on page 20
Open GL settings
The Open GL settings has preferences for setting the maximum texture size of the 3-D Data Cube. The
system can determine the maximum texture size or you can set the maximum texture size manually.
1. With several points selected, choose a color from the Color palette.
2. In the Width spin box, enter a value that represents the width of the outline that appears around points.
3. Click Apply.
82 PCI Geomatics
Chapter 1: Getting started
1. In the Outline area, choose an outline color from the Color palette.
To select a color other than those displayed in the palette, click More and create a new color.
2. In the Width spin box, enter a value that represents the width of the polygon outline.
3. In the Fill area, choose a fill color from the Color palette.
To select a color other than those displayed in the palette, click More and create a new color.
4. In the Opacity spin box, enter a value that represents the percentage of fill opacity.
Opacity refers to the degree of opaqueness of the fill. A value of 100%, means that you cannot see another
object through the fill color. An opacity value of 0% means you can see through the fill color completely.
5. Click Apply.
Related Links
Changing the raster color on page 84
Changing the raster size on page 84
PCI Geomatics 83
Chapter 1: Getting started
• Enter a value that represents the raster size in the Size spin box.
1. Ensure the digitizing tablet hardware is connected according to the manufacturer instructions.
2. From the Tools menu, click Options.
3. Select Digitizing Tablet.
By default, the Generic device option is selected, and the Wintab device option is unavailable. The
Device setup area is populated with default settings.
4. Choose a hardware communication port from the Device list box.
5. Choose a driver that matches your device from the Tablet list box. Note that the SummaSketch III digitizer
is no longer supported, however, the ASCII BCD report format is supported.
6. In the Communication settings area, choose a baud-rate, data-bit, parity, and stop-bit value from the
appropriate list boxes, according to the digitizing tablet manufacturer specifications.
7. Click Test Connection. See Testing the digitizing tablet connection on page 85
The setup is successful if a device string appears in the Device String box in the Digitizing Tablet
Connection Testing window. If no device string displays, click OK to reset the device setup and
communication settings.
84 PCI Geomatics
Chapter 1: Getting started
Table 5:
1. Enter the connection port that will be used in the Device box.
2. Choose a baud rate, data bit, parity, and stop bit from the appropriate list boxes in the Communication
settings area.
You can change values back to the default values by clicking Restore defaults.
3. Enter a value that represents how frequently the points should be captured from the GPS, from four to
300 seconds, in the Capture every spin box.
PCI Geomatics 85
Chapter 1: Getting started
Related Links
Testing the GPS connection on page 86
Measurement tools
You can set the behavior of the Measurement tools in the view pane. Linear, Area, and Angle options are
available. To read the measurements from the view pane, enable the Generate Report to Window check
box.
Related Links
Reading the Measure tool report on page 162
WYSYWYG
Allows you to switch the WYSYWYG feature on or off, or to choose from a set of custom WYSYWYG options.
On:
Enables WYSYWYG for map publishing.
Off:
Disables WYSYWYG for map publishing.
Custom:
Enables the width/fill, pattern, and text options.
Width/Fill:
Displays the map with WYSIWYG line weights and polygons filled.
86 PCI Geomatics
Chapter 1: Getting started
Pattern:
Displays the map with all the patterns visible. For example, a pattern can be a broken line or other symbol,
such as sand, transmission lines, or forest.
Text:
Displays the map with its text attributes applied (for example, font, height, and so on).
PCI Geomatics 87
Chapter 2: Basics
Chapter 2: Basics
88 PCI Geomatics
Chapter 2: Basics
upper-left pixel is at 1.0 and 1.0. The center of the upper-left pixel is at 0.5 and 0.5. The center of the lower-right
pixel of a 1000 x 1000 image is at 999.5 and 999.5.
Metadata
Focus uses the following metadata tags for raster layers:
• DEFAULT_PCT_REF: Reference to the pseudocolor table (PCT) segment for displaying an image in
pseudocolor mode. This entry defaults the image to pseudocolor display mode.
• DEFAULT_LUT_REF: Reference to a lookup table (LUT) segment for a default enhancement when
displaying an image.
• SCALING_MIN: Default value to use as a minimum for scaling an image channel to 8-bit for display
purposes.
• SCALING_MAX: Default value for maximum scaling in an image channel to 8-bit for display purposes.
• NO_DATA_VALUE: Image value indicating no data is available.
• ELEVATION_UNITS: May be UNKNOWN (implicit default), FEET, or METRES. Primarily intended for
use with elevation channels and should be UNKNOWN for non-elevation data.
• Class_n_Name: Short name for a theme class in a raster with 'n' being the class number. Must be less
than 9 characters.
• Class_n_Desc: Longer description for a class in a raster.
• Class_n_Color: Color for displaying a particular theme class. Value is the color encoding using the RGB
(rrr ggg bbb) convention as seen in the PCLColor class.
• ACQUISITION_DATE: Date and time an image was acquired.The date format is YYYY/MM/DD HH:MM:SS.
Segment organization
PCIDSK is a data structure for holding digital images and related data, such as LUTs, spectral signatures,
ground control points, and other data types. Each PCIDSK database is a separately named disk file. You can
have any number of PCIDSK files, limited only by the disk capacity of the computer. PCIDSK files can be
shared with users on different computer platforms.
Segments are the parts of a PCIDSK database which hold data related to the imagery in the database. Unlike
image channels, disk space is not allocated for segments at the time the database is created; rather, disk
space is dynamically allocated whenever a segment-generating program is executed. A database can store
up to 1024 segments, provided you have enough disk space. Twelve kinds of information are stored as
segments, namely:
Bitmaps [Type 101:BIT]
Bitmap segments are raster layers and have the same pixel and line dimensions as the image data on the
PCIDSK file. Each pixel is 1-bit deep with a value of 0 or 1. This means that the gray value of a bitmap pixel
can be either zero (pixel is “Off”) or 1 (pixel is “On”). The georeferencing that is associated with the raster
layers is assumed to apply to bitmap layers. One example of using bitmap segments is to mask images when
creating training areas in classification.
Vectors [Type 116:VEC]
Vector layers or segments hold a set of related vectors and can be points, polylines (arcs), whole polygons,
topological polygons, or additional database records. They are used to represent features, such as river
networks, road networks, and political divisions.
Vector objects are called shapes. A shape has a unique numeric identifier (ShapeID) greater than or equal
to zero. Each shape has an associated record of attributes stored in the layer as part of the shape. Each
shape has a list of vertices that have an X, Y, and Z value. Vertices are coordinates in the vector georeferencing
system.
Signatures [Type 121:SIG]
PCI Geomatics 89
Chapter 2: Basics
Signature segments hold statistical data that describe the spectral behavior of a particular image feature
(object). Signature segments are used as input during minimum distance, parallelepiped, and maximum
likelihood classification.
Text [Type 140:TEX]
Text segments hold attribute data (some quality, such as land use, or quantity, such as temperature) linked
to the gray levels of a particular image channel or free-form text (legend information used during map generation
or commands to implement an analysis model). Other specifically formatted text segments include an AVHRR
segment containing calibration and orbital data, including:
• Satellite ID (name), orbit ID, year, day of year.
• Spatial extent information.
• A single GCP corresponding to the exact center of the middle pixel from the first line of the output image.
• Orbital element/ephemeras data: epoch, inclination, right ascension, argument of perigee, eccentricity,
mean motion, mean anomaly.
• Ascending/descending orbit flag.
• Platinum resistance temperatures.
• Internal target values for channels 3,4,5.
• Gray level of space values for channels 3,4,5.
• Up to 5 LUTs used to compress 10-bit data to 8-bit. If a particular output channel is not 8-bit, no LUT for
that channel will be created. These LUTs are used by the program named SST.
Georeferencing [Type 150:GEO]
Georeferencing segments hold mathematical transforms that map all pixel locations in the database image
to a georeferenced coordinate system (such as UTM).
Orbit [Type 160:Orbit]
Orbit segments hold satellite ephemeras data, used in the orthorectification process. This information is read
from the original data source, or from a text file.
Lookup Table [Type 170:LUT]
LUT segments hold numerical tables that map image gray levels to new gray levels.
Pseudocolor Table [Type 171:PCT]
Pseudocolor segments hold numerical tables which map image DN values to a specific color. Colors are
defined by an intensity value (between 0 and 255) for each of a red, green, and blue component.
Binary [Type 180:BIN]
Binary segments are created and used by PCI programs. These contain internal-only information, such as
orthorectification models and neural networks.
Array [Type 181:ARR]
Array segments hold an array of numbers. They are created and used by PCI programs. They contain
information such as SAR-gain offsets and gain-scaling tables.
System [Type 182:SYS]
The system segment is used to hold binary information that you should not normally access directly. System
segments are not displayed by utility programs and are used to hold information such as metadata, overviews,
and tiled-image data.
Ground control points [Type 214:GCP]
GCP segments hold pairs of (X,Y) coordinate positions that locate a point in an image and some other frame
of reference (either a vector segment, a map, another image, or keyboard input of coordinates) for purposes
of image correction, registration, and mosaicking.
90 PCI Geomatics
Chapter 2: Basics
Each segment has a numeric-type code. For example, GCP segments are type 214. This numeric code helps
you locate a particular segment in a database. When listing segments with the program ASL, you can create
a listing by segment type. If you do not know the numeric code for a particular segment type, consult the list
above or use:
AST
Database Segment Type Codes
Pseudocolor Tables
A PCT segment contains an array of 256 colors and assigns color values to 8-bit images. A PCT always
contains exactly 256 entries. File formats, such as TIFF, which may have color tables with less than 256
colors, assigns a value of zero to unused colors. There is no support for alpha channels in the table.
Lookup Tables
The LUT segment consists of 256 8-bit values, between 0 and 255. It is used to apply enhancements to raster
data. It can also be used to encode thematic class mapping.
Ground control points
GCP segments are used to associate projection coordinates with locations on an uncorrected raw image.
GCPs can also be used to relate locations in any two georeferencing systems: in raw image coordinates and
in a georeferencing projection system. The definitions of the georeferencing systems are kept as 16-character
map unit strings.
Projection parameters are not stored. Only projections that are fully defined by the map unit string can be
used; for example, UTM, Long/Lat, or METRE. Complex projections, such as Transverse Mercator, cannot
be used.
Each control point can have an elevation associated with the location in an image. An elevation unit string is
kept for each system with values in meters or feet.
GCPs have the following associated values:
Id:
Unique numeric control point identifier.
Type:
The point type: either GCP (ground control point) or CP (check point).
System 1 X:
The X coordinate in the first georeferencing system and is a pixel located in the image.
System 1 Y:
The Y coordinate in the first georeferencing system and is a line location in the image.
System 1 Elevation:
The elevation of the location in the first georeferencing system. This has a zero value and is ignored by
applications.
System 2 X:
The X coordinate in the second georeferencing system and is a location described in projection coordinates.
System 2 Y:
The Y coordinate in the second georeferencing system and is a location described in projection coordinates.
PCI Geomatics 91
Chapter 2: Basics
Topological layers
Focus lets you work with the layer attributes for several topological file formats. The following information
shows the required attributes for different formats:
Arc layers
Arc layers must contain the following attributes:
StartNodeId:
Contains the GDBShapeId of the starting node.
EndNodeId:
Contains the GDBShapeId of the ending node for this arc.
LeftAreaId:
Contains the GDBShapeId of the left area polygon, or GDBNullShapeId if there is no area.
RightAreaId:
Contains the GDBShapeId of the right area polygon, or GDBNullShapeId if there isn't such an area.
Node layers
Node layers must contain the following attribute:
ArcIdList:
(GDBFieldTypeCountedInt) List of arc ShapeIds starting or ending at this node.
Each node should also have one vertex defining the position of the node. A node layer must have ARC_REF
and AREA_REF metadata pointing to the related arc and area layers. It must also have a LAYER_TYPE of
TOPO_NODES indicator in metadata.
Area layers
Area layers must contain the following attribute:
ArcIdList:
(GDBFieldTypeCountedInt) List of arc ShapeIds forming the border of this area in clockwise order. Each ring
is separated by a GDBNullShapeId entry in the ArcIdList.
A topological area shape should have either zero or one vertex. If it has one, it will be presumed to be an
internal label point for the area. An area layer must have NODE_REF and ARC_REF metadata pointing to
the related node and arc layers. It must also have a LAYER_TYPE of TOPO_AREAS indicator in metadata.
92 PCI Geomatics
Chapter 2: Basics
applies to different shapes drawn in a given layer; in some applications, it is evaluated between all vector
layers in a given view.
• Graphical Primitive: The drawing primitive to be used for this part.
Supported primitives include:
• Point - Symbol
• Line - Solid
• Line - Dash
• Line - Dotted
• Line - Spaced Symbols
• Line - Arrowhead
• Polygon - Fill
• Polygon - Patterned Fill
• Vector - Text
• Parameters: Each primitive has a particular set of parameters that affect the display. For example, the
parameters of the simple-line primitive are width and color.
PCI Geomatics 93
Chapter 2: Basics
• Tiled: the image is divided into several square subimages. Tiles can be much faster to access when
only a subarea is being extracted, such as in file viewing. This option uses tiling with no compression.
• Tiled (JPEG Compressed): applies tiling with JPEG compression, a lossy compression most suitable
for continuous images, such as airphotos.
• Tiled (Run Length Compressed): applies tiling with Run Length Encoding (RLE) compression.
Although this compression method is lossless, it only provides good compression for images where
long sequences of pixels have the same value, as in pseudocolored or thematic images.
6. Click Import.
1. Using the File Selector window, locate and select the raw image, then click Open.
The Raw Imagery File Definition window opens, allowing you to define the raw imagery file format.
The following controls are available to define data:
Header Bytes
Specifies the number of bytes to allocate for header informatoin. The zero value indicates that imagery
data starts at the beginning of the file.
Image Size
Defines the X (Pixel) and Y (Line) size of the image file. These should be the full size of the image in the
file, even if you only wish to open a sub-set of the file.
Number of Channels
Indicates the number of channels or places if image data stored in the file.
Data Interleaving
Indicates how multiple channels of image data are interleaved. This field is not applicable for one-channel
image files. Single-band data can have band interleaving.
• Pixel: The channels are pixel interleaved. For example, in a three-channel file, the values in the file
are 123123123..., with the channel values for a given pixel located together.
• Line: The channels are line interleaved. The data for line 1 of the first channel occurs first, followed
by the data for line 1 of the second channel and line 1 of the third channel. Next is line 2 of the first
channel, and so on. For example, in a three-channel file, the values in the file would be (line 1)
111...222...333, (line 2) 111...222...333, and so on.
• Band: The channels are band sequential. All the data for the entire first channel would be first, followed
by all the data for the second channel, and so on.
94 PCI Geomatics
Chapter 2: Basics
Data Type
The set of options to define the type of data.
• 8-bit unsigned:Data for each channel are 8-bit, unsigned.
• 16-bit Unsigned: Data for each channel are 16-bit, unsigned. Values range from 0 to 65535, and are
two bytes each.
• 16-bit Signed: Data for each channel are 16-bit, signed. Values range from -32768 to 32767, and are
two bytes each.
• 32-bit Real: Each pixel is stored as four bytes of data, and can have an IEEE floating point value
between -3.4E8 and 3.4E8.
Byte Order
Options for storing the order of multiple-byte data words. Used for non-8-bit image data only; it can be
ignored for files containing only 8-bit data.
• Least Significant Byte first (LSB): This order is common on IBM computers with Intel 80 x 86
architecture. It is sometimes known as swapped or little endian. In LSB order, a 16U-pixel value of 1
would be expressed as two bytes, the first a 1, and the second a 0.
• Most Significant Byte first (MSB): This is the order common on Sun, IBM, RS/6000, HP, SGI, and
Mac systems. It is also known as unswapped, big endian, or Motorola order. In MSB order a 16U-pixel
value of one would be expressed as two bytes, the first a zero, and the second a one. The default
selected on the panel is the byte order of the local system.
A new header file is created with the file extension ".pox". This new raw configuration file is an auxiliary file
that contains layout information for the imagery that you provide.
The following is an example of the file produced for a simple 1000 x 1000 8-bit
single-channel image.
• Auxiliary Target: rawimage.bil
• Raw Definition: 1000 1000 1
• ChanDefinition -1: 8U 0 1 1000 Swapped
Note: Once the configuration file (.pox) is created, you cannot redefine the raw file until
you delete the .pox file. When experimenting with possible raw format definitons, using a
.pox file is not recommended.
1. From the File Utility's File menu, select Create PCIDSK Link.
From Focus, select File > Utility > Link.
PCI Geomatics 95
Chapter 2: Basics
Exporting/translating data
The Export utility translates files from one GDB-supported format to another, or creates a new PCIDSK file
from a GDB format using only specified layers. In the Translate (Export) File window, you select similarly
georeferenced source and destination files, and share layer information between the two files.
After choosing source and destination files, you can specify layers from the source file to include in the
translation.
To export a file:
6. Click Add to export the selected layers to the Destination Layers list.
To remove a layer from the Destination Layers, select it and click Remove.
7. Use the Up and Down arrows to re-order the layers in the Destination Layers list.
8. Click Translate.
96 PCI Geomatics
Chapter 2: Basics
spreadsheet and converted into vector-point files that you can add to a project and open as layers in the view
pane.
1. Step 1
a) From the File menu, click Utility and then click Import ASCII Table/Points.
b) In the Input area of the Import ASCII Table/Points Wizard, click Browse.
c) In the File Selector window, select an ACSII-format file and click Open.
d) Enable one of the following options:
e) Display - vector points are opened in the view pane and are not saved.
f) Save - click Browse next to the File list box and choose a location for saving the output.
If you want to save your output to a specific layer within the file, select one from the Layer list box.
g) Enable the Delimited option in the Data Format area.
If you want the first line of data displayed as a header row, enter a number of 1 or higher in the Header
row spin box.
h) Click Next.
2. Step 2
a) In the Delimiters area, enable a check box next to any correct delimiter type for your file.You can see
the required delimiter in the preview area between each record.
The Data preview area changes to a table when you choose the correct option.
b) Click Next.
3. Step 3
a) In the Coordinate Fields area, select values from the X, Y, and Z list boxes.
The remaining inputs for the Projection area are activated and the Import attributes list is updated.
b) Enter the projection and bounds information in the Projection area.
c) Click Finish.
PCI Geomatics 97
Chapter 2: Basics
1. Using the File Selector window, locate and select the raw image, then click Open.
The Raw Imagery File Definition window opens, allowing you to define the raw imagery file format.
The following controls are available to define data:
Header Bytes
Specifies the number of bytes to allocate for header informatoin. The zero value indicates that imagery
data starts at the beginning of the file.
Image Size
Defines the X (Pixel) and Y (Line) size of the image file. These should be the full size of the image in the
file, even if you only wish to open a sub-set of the file.
98 PCI Geomatics
Chapter 2: Basics
Number of Channels
Indicates the number of channels or places if image data stored in the file.
Data Interleaving
Indicates how multiple channels of image data are interleaved. This field is not applicable for one-channel
image files. Single-band data can have band interleaving.
• Pixel: The channels are pixel interleaved. For example, in a three-channel file, the values in the file
are 123123123..., with the channel values for a given pixel located together.
• Line: The channels are line interleaved. The data for line 1 of the first channel occurs first, followed
by the data for line 1 of the second channel and line 1 of the third channel. Next is line 2 of the first
channel, and so on. For example, in a three-channel file, the values in the file would be (line 1)
111...222...333, (line 2) 111...222...333, and so on.
• Band: The channels are band sequential. All the data for the entire first channel would be first, followed
by all the data for the second channel, and so on.
Data Type
The set of options to define the type of data.
• 8-bit unsigned:Data for each channel are 8-bit, unsigned.
• 16-bit Unsigned: Data for each channel are 16-bit, unsigned. Values range from 0 to 65535, and are
two bytes each.
• 16-bit Signed: Data for each channel are 16-bit, signed. Values range from -32768 to 32767, and are
two bytes each.
• 32-bit Real: Each pixel is stored as four bytes of data, and can have an IEEE floating point value
between -3.4E8 and 3.4E8.
Byte Order
Options for storing the order of multiple-byte data words. Used for non-8-bit image data only; it can be
ignored for files containing only 8-bit data.
• Least Significant Byte first (LSB): This order is common on IBM computers with Intel 80 x 86
architecture. It is sometimes known as swapped or little endian. In LSB order, a 16U-pixel value of 1
would be expressed as two bytes, the first a 1, and the second a 0.
• Most Significant Byte first (MSB): This is the order common on Sun, IBM, RS/6000, HP, SGI, and
Mac systems. It is also known as unswapped, big endian, or Motorola order. In MSB order a 16U-pixel
value of one would be expressed as two bytes, the first a zero, and the second a one. The default
selected on the panel is the byte order of the local system.
A new header file is created with the file extension ".pox". This new raw configuration file is an auxiliary file
that contains layout information for the imagery that you provide.
The following is an example of the file produced for a simple 1000 x 1000 8-bit
single-channel image.
• Auxiliary Target: rawimage.bil
• Raw Definition: 1000 1000 1
• ChanDefinition -1: 8U 0 1 1000 Swapped
Note: Once the configuration file (.pox) is created, you cannot redefine the raw file until
you delete the .pox file. When experimenting with possible raw format definitons, using a
.pox file is not recommended.
PCI Geomatics 99
Chapter 2: Basics
Supported projections
The following table lists the projections supported in Geomatica.
Longitude/Latitude (or
LONG/LAT not a projection ellipsoid or sphere
Geographic)
New projections can be brought into the system by editing userproj.txt with a text editor and by adding the
parameters for the projection. A template of the supported fields is included in userproj.txt, which is stored
in the etc directory in the comment lines at the top of the file.
! User-defined projections
!
! NOTE: New user-defined projection definitions can be submitted to
! support@pcigeomatics.com
!
! NOTE: Comments follow an exclamation mark ('!').
!
! Fields supported for all User Defined Projections:
! ProjectionName "11_char_max"
! ProjectionDescription "projection description (1 line of text)"
! ProjectionCountry "country projection used in (1 line of text)"
! MapUnits "PCI MAPUNITS (16_char_max)"
!
! Any of the map projections (except "LONG/LAT")
! can have their units defaulted (normally this will be "METRE")
! or can have the ground units specified as one of the following:
! Units "FOOT" ! that is, U.S. Survey Feet
! Units "INT FOOT" ! that is, International Feet
! Units "METRE" ! or meters
!
! Fields supported dependant on the real projection defined in MapUnits:
! TrueOriginLongitude
! TrueOriginLatitude
! 1stStandardParallel
! 2ndStandardParallel
! FalseEasting
! FalseNorthing
! Scale
! Point1Longitude
! Point1Latitude
! Point2Longitude
! Point2Latitude
! Azimuth
! LandsatNumber
! LandsatPath
ProjectionName "UKNatGrid"
ProjectionDescription "British National Grid (Transverse Mercator)"
ProjectionCountry "Great Britain"
MapUnits "TM D131"
TrueOriginLongitude 2dW
TrueOriginLatitude 49dN
Scale 0.9996012717
FalseEasting 400000
FalseNorthing -100000
...
When working with new projects, the following rules apply:
• Each non-comment line consists of a field identifier (for example, ProjectionName) and a value for the
field (for example, UKNatGrid). One or more spaces separate the field identifier and the field value. The
field identifier and value must fit on one line. Although the present user projection examples have the field
identifier first followed by the field value, the field value followed by the field identifier is also supported.
• Processing for the field identifiers is not case-sensitive.
• Blank lines are acceptable in the file and are ignored.
• If a field value contains spaces, it must be enclosed in double quotation marks ("); for example,
ProjectionDescription "British National Grid".
• Comments follow an exclamation mark. If a line begins with an exclamation mark, the entire line is a
comment. Trailing comments in a given line are acceptable.
• Processing for a given projection begins when a "ProjectionName" record is read and ends with the next
"ProjectionName" record, or when the end of the file is reached. The order of the other records for the
projection does not matter.
• Different projections require different parameters. The following fields can be defined for any user-defined
projection set:
• ProjectionName: The user-defined name that is presented for the projection set. This can be a
maximum of 11 printable characters. For example, ProjectionName "UKNatGrid".
• ProjectionDescription: The descriptive text that is presented with the ProjectionName. Although there
is no maximum size, the ProjectionDescription must be short and a maximum of 64 characters. Spaces
in the description must be enclosed in double quotation marks ("); for example, ProjectionDescription
"British National Grid".
• MapUnits: The actual units of the projection set that correspond to the units string that is built by using
the "Generic Projections". This can be a maximum of 16 characters; for example, you can use either
MapUnits "tm e9" or MapUnits "TM E009".
Earth models
An Earth model is a term for a regular model that represents the surface of the Earth. This general term
retains as it can apply to either of the two forms supported by Geomatica.
The Earth model can be specified by either of two forms:
• a datum code (for example, D000) for the horizontal datum
• an ellipsoid code (for example, E000) for the ellipsoid used by the horizontal datum
In Geomatica, it is possible to directly express a datum (which carries with it an implicit ellipsoid). For example,
D000 is WGS84. Furthermore, it is possible to transform data between different datums, as well as between
different projections within a datum by using the standard reprojection tools.
Datum codes are fully documented and supported. The default datum assigned to data sets without a datum
is D000 (WGS84). WGS84, however, is significantly different from NAD27, so care must be taken to ensure
that the correct datum is assigned when importing or creating data sets in Geomatica.
Note: NAD27 can now be expressed as D-01 in the US and D-02 in Canada.
Using ellipsoids rather than datums is still valid, and selected ellipsoids (E000/NAD27, E008/NAD83,
E012/WGS84, and E005/WGS72) are automatically treated according to the implied related datum. It is still
not possible to transform points or images from one ellipsoid to another ellipsoid if the datums (that use the
ellipsoids) cannot be determined.
Ellipsoid is used as a short form of the proper term "ellipsoid of revolution". A true ellipsoid can potentially
have different radii in the x, y, or z dimensions. An ellipsoid has two equal radii. For the Earth, the two equal
radii are on the equatorial plane. Essentially, an ellipsoid describes revolving an ellipse around its polar axis.
Ellipsoid is the same as a spheroid.
Reprojecting map projections using different ellipsoids is not supported and fails. Reprojecting different
horizontal data using the same ellipsoid does not fail but introduces an error, because the ellipsoid essentially
represents the same horizontal data.
In order to address the problem of different map projections using different horizontal datums, the software
has been updated and a list of datum codes (for example, D000) has been derived.
Note: There is no correlation between the numbering of the ellipsoid codes and the datum codes. The
numbering for ellipsoids follows the numbering used by the USGS GCTP software. The positive numbering
for the datums follows the ordering of the datum text file provided with the MODTRAN software. The negative
numbering for datums (using grid-shift files) was derived to complement the positive datum numbering.
If you use the same horizontal datum in the georeferencing, it is still valid to use ellipsoid codes.
If reprojection between map projections that use different horizontal datums is required, datum codes are
used instead of ellipsoid codes.
The Earth model can be upgraded from an ellipsoid code to a datum code in existing PCIDSK database
segments with the DATUM program or with the File Browser.
Reprojecting files
When you add new data, it is automatically reprojected based on the data you already have open. When you
open large, secondary files of a different projection, they are also automatically reprojected, which can make
the work slower. You may encounter this situation, for example, when a work file has a UTM projection and
you open a file with an LCC projection. If you open the UTM data first, Focus must reproject the LCC to UTM.
In such cases, it is recommended that you reproject the data manually and save it as a new file.
You can reproject both raster and vector data if the data is in a valid projection, it is in a GDB-supported
format, and you know which datums were used. A datum is a mathematical surface used to make geographic
computations. An ellipsoid defines the dimensions of the earth. The datum includes the ellipsoid used and
its position relative to the center of the earth.
Each datum references one ellipsoid, but an ellipsoid can be referenced by one or more datums. If you
compare the position of a point calculated using one datum and then calculate the same position using a
different datum, the coordinates of the point will be different, even if the datums refer to the same ellipsoid.
Since a datum is a mathematical surface used to make geographic computations, it is possible to convert
from one datum to another. However, reprojecting a file from one ellipsoid to another will not provide the
correct results because the critical information contained in a datum is not defined in the ellipsoid.
1. From the Reproject window, click Browse to specify the Source file.
Use the File Selector to locate and select the file to reproject, then click Open.
2. From the Reproject window, specify the Destination file.
Click Browse to open the File Selector, or type the path and file name directly in the Destination File
field.
3. Select a file format from the Output Format drop-down list, and type format options in the Options field.
By default, destination files are created in PCIDSK format, but reprojections can be saved in any
GDB-supported file format. For more information, refer to GDB-supported file formats in the Technical
Reference section of the Geomatica help.
2. In the Size fields, specify the number of Pixels and Lines for the reprojection.
3. In the Pixel Size fields, specify the size of pixels along the X and Y axes.
5. Click the Earth Model button to modify the datum or ellipsoid to use in the reprojection.
From the Earth Models window, select the desired datum and ellipsoid, then click OK.
6. Click the More button to add additional projection information.
The text field to the right of the Earth Model button lists the full georeferencing string currently in use.
This includes the georeferencing coordinate system, plus the zone number and earth model, where
applicable.
For example: UTM 6 Q D000
The field lists the coordinate system, the zone and row, then the earth model.This information is generated
automatically when you select an earth model and zone; you may also edit the information directly.
For more information, see Introduction to map projections in the Technical Reference section of the
Geomatica help.
7. Specify the boundaries of the reprojected area:
From the Bounds drop-down list, select the interpretation method for the reprojection bounds.
Options include:
• Geocoded: bound values are interpreted in the georeferenced units based on the specified coordinate
system.
• Geographic: bound values are interpreted in Long/Lat values.
8. In the Upper Left fields, specify the horizontal and vertical position of the top-left corner of the area.
Note: The upper-left corner specified specifies the upper and left edges of the upper-left pixel for raster
images.
9. In the Lower Right fields, specify the bottom-right extent of the area.
Note: The lower-right corner specifies the lower and right edges of the lower-right pixel.
To reset the bounds to their original values, click Maximum Bounds.
10. From the Resampling drop-down list, select the resampling method to use for image reprojection.
Options include:
• Nearest neighbor (default value)
• Bi-Linear
• Cubic
• 2nd Order
• 3rd Order
• 4th Order
• 5th Order
12. In the Sampling Interval field, type a value from 1 to 4 to define the spacing in the calculation of the
reprojected position. The default value is 1.
If a sampling interval other than 1 is chosen, the system calculates the reprojected position at every
sampling interval and linearly interpolates the values in between. This can speed up the reprojection
process from 20% to 50% while preserving the accuracy, in most cases.
1. From the Source Layers section, select the data files to include in the output file.
Use the View list box to specify which layer or segment types to display.
Click Select All to select all the listed source layers, or use Shift-Click or Ctrl-Click to select multiple
layers from the list.
2. Click Add to export the selected layers to the Destination Layers list.
To remove a layer from the Destination Layers, select it and click Remove.
3. Use the Up and Down arrows to re-order the layers in the Destination Layers list.
1. In the Reproject window, ensure that you have correctly defined the reprojection parameters and specified
the output file and file format.
2. Click Reproject.
1. To display a layer, select the check box next to a layer in the Maps tree.
Note: A check mark next to a vector layer in the Maps tree indicates that the layer is open in the view
pane. If you cannot see an open layer, it may be covered by another layer.
2. To make a layer active, select the layer you want to activate in the Maps tree.
A pencil icon indicates the layer is active.
3. To move a layer, drag the layer up or down in the Maps tree list.
A line indicates where the layer will be placed.
4. To copy a layer:
a) Right-click a layer in the Maps tree and click Copy.
b) Right-click where you want to paste the layer and click Paste.
5. To remove a layer, right-click the layer in the Maps tree and click Remove.
The layer will be removed from the map, but the layer data is not removed from the data file.
6. To rename a layer:
a) Right-click a layer in the Maps tree and click Rename.
b) Type a new name and press Enter.
1. In the Maps tree, ensure that at least one map layer is turned on and visible in the view pane.
2. On the Editing toolbar, click the Map Layer Selection tool arrow and select one of the following layer
type options:
• All Layers
• All Rasters
• All Vectors
• All Bitmaps
3. With the mouse pointer, select the layers you want to work with using one of the following methods.
• Click once to select a location in the top-most layer. To select the next layer down in addition to the
top layer, click again in the same location.
Note: When selecting raster and bitmap layers, invisible pixels are ignored. When selecting vector
layers, a layer is only selected if you click on a shape or within a polygon.
• Click and drag a rectangle to select all intersected map layers. If the layer's extents intersect the dragged
rectangle, the layer is selected. Only layers from the active map area are selected.
Table 6:
1. In the Maps tree, right-click an area and click New Raster Layer.
2. In the New Raster Layer window, enable an option in the Layer Type area.
3. In the Data Type area, enable an option for the data type you want.
4. Enable an option in the Georeferencing area and fill in the appropriate information.
5. Click OK.
1. In the Maps tree, right-click an area and click New Bitmap Layer.
2. In the New Bitmap window, enable a Georeferencing option and fill in the appropriate information.
3. Click OK.
1. In the Maps tree, right-click an area and click New Vector Layer.
2. In the New Vector Layer window, enable a Layer Type option.
3. Enable a Georeferencing option and fill in the appropriate information.
4. Click OK.
1. To view vector properties, right-click a vector in the Maps tree and click Properties.
2. To view vector attributes, right-click a vector in the Maps tree and click Attribute Manager.
Tip: To change the magnification of the preview image, click the zoom commands below the Preview
area.
e) Enter a value that represents the layer priority in the Priority box.
Layer priority may cause one layer to mask another in the Maps tree. If you cannot see a layer in your
map, check the layer priority. Changing layer priority is necessary to present a vector layer over a raster
layer or a bitmap layer.
f) Click OK.
You can save a vector layer as part of a .pix file that contains your work or as part of a project file.
Transferring layers
The Transfer Layers window allows you to copy layers from a source file and save them to a similarly
georeferenced destination file. The transferred data can either be added to a new layer or it can overwrite an
existing layer in the destination file. Transferring layers does not modify the source file.
Although you can transfer layers from any GDB-supported file, some non-PCIDSK file formats may not be
compatible. Georeferencing cannot be transferred between files. Input imagery is modified to match the
dimensions of the destination file.
To transfer layers to an existing file:
Input
The Input section displays the name of the layer and the data type that you are about to save.
Output
The Output section allows you to choose the target file and format in which you want to save the bitmap. You
can also select a layer within the target file or create a layer for the bitmap.
File:
The File list allows you to select the file in which you want to save the bitmap. If the file is not listed, you can
browse and select the file. The output file must have the same raster dimensions (pixels and lines) as the
input file.
Format:
The Format list allows you to select the format in which you want to save the bitmap.
Options:
The Options button opens the GDB Options window. (See Selecting GDB format options on page 112)
Layer:
The Layer list allows you to select a layer within the target file or create a layer for the bitmap.
Layer:
Lets you choose a target layer from a list of layers. You can also choose to save your new file to a new layer.
1. In the Save As window, click the Options button next to the Format list.
2. In the GDB Options Editor, choose any of the file options you want for your output data.
3. Click OK.
Input
Reports the location of the layer and the data type with which you are working.
Layer:
Reports the layer type for the current layer.
Raster with attribute data:
Saves the raster and its associated attribute table.
Raster only:
Saves only the raster data.
Save selected shapes only:
Saves only the records that you have selected in the Attribute Manager. When no records are selected, the
option is not available.
Save selected fields only:
Saves only the fields that you have selected in the Attribute Manager. When no fields are selected, the option
is not available.
Output
Lets you choose a target file for saving the layer, select a format for the new file, and choose or create a layer
within your target file.
File:
Lets you select a target file for your new layer. The Browse button lets you choose a file not showing in the
File list.
Format:
Lets you choose an output format from the list of available formats.
Options:
Opens the GDB Options editor. (See Selecting GDB format options on page 112)
Layer:
Lets you choose a target layer from the list of layers. You can also choose to save your new file to a new
layer.
Properties:
Opens the Output Layer Properties window.
Format:
Lets you choose an output format from the list of available formats.
Description:
Lets you change the name of the saved RST.
Input
Reports the location of the layer and the data type with which you are working.
Layer:
Reports the layer description for the current layer.
Raster with attribute data:
If the layer contains attributes, the Raster with attribute data option becomes available. When it is selected,
the raster and its associated attribute table are saved to the file.
Raster only:
If the layer contains attributes, the Raster only option becomes available. When it is clicked, the raster data
is saved without the attribute data.
Save selected shapes only:
If the layer contains attributes and shapes are selected, the Save selected shapes only option is available.
When it is enabled, only the records that you have selected in the Attribute Manager are saved in the file. If
you have shapes selected and you want to overwrite the original segment, the option is disabled.
Save selected fields only:
If the layer contains attributes and fields are selected, the Save selected fields only option is available.
When it is enabled, only the fields that you have selected in the Attribute Manager are saved in the file.
Output
Lets you choose a target file for saving the layer and lets you choose or create a new layer within your target
file.
File:
Lets you select a target file for your new layer.
Browse:
Opens the File Selector window, where you can browse for a file not shown in the File list.
Format:
Contains only the PCIDSK format.
Options:
Opens the GDB Options Editor. (See Selecting GDB format options on page 112)
Layer:
Lets you choose a target layer from the list of layers. You can also choose to save to a new layer.
Properties:
Opens the Output Layer Properties window.
Input
Reports the LUT with which you are working.
Layer:
Reports the LUT for the current layer.
Raster with attribute data:
If you are saving the image with the LUT and the layer contains attributes, the Raster with attribute data option
becomes available. When it is clicked, the raster and its associated attribute table is saved to the file.
Raster only:
If you are saving the image with the LUT and the layer contains attributes, the Raster only option becomes
available. When it is clicked, the raster data is saved without the attribute data.
Output
Lets you choose a target file for saving the LUT, select a format for the file, and choose or create a new layer
within your target file.
File:
Lets you select a target file for your LUT segment.
Browse:
Opens the File Selector window, where you can browse for a file not shown in the File list.
Format:
Lets you choose an output format from a list of available formats.
Options:
Opens the GDB Options Editor. (See Selecting GDB format options on page 112)
Layer:
Lets you choose a target layer from the list of layers. You can also choose to save your LUT to a new layer.
Properties:
Opens the Output Layer Properties window.
Note: If vector georeferences are not compatible with the source file, vectors in the segment are not clipped.
A warning message shows a list of incompatible vector segments. Georeferencing is compatible when they
are equal, or when one is an under specified form of the other.
If your data has an associated Rational Function math model segment containing Rapid Positioning Capability
(RPC) data, you can include this segment in your clipping operation. If an RPC Rational Function model
segment is available for clipping, it will be listed under "Binaries" in the Available Layers list.
Note: Other segment types, including LUT, GCP, and PCT, can also be transferred to the output file but will
not be clipped.
When using the Clipping/Subsetting feature, you must specify the bounds of a clip or subset and then run
the process.
1. From the Clipping/Subsetting window, choose a file from the File list box in the Input area, or click
Browse to select the file.
The image is displayed in the Clipping/Subsetting view pane along with any Enhancement setting that is
applied to the image in the Focus view pane.
2. From the Available Layers list, select the layers and, if applicable, any associated RPC Rational Function
math model segment, that you want to clip.
A check mark indicates the layers and segment (if applicable) that will be clipped.
3. In the Output area, choose a file from the File list box.
• If the file is not listed, click Browse and choose a file from the File Selector window.
• If you want to use the Select a Script Subset File option available from the Definition Method list,
you can leave the File box empty.
4. Select the file format that you want for the output from the Format list box.
If you want to select specific options for the format, click Options and select options from the GDB Options
Editor.
5. Enter a value that you want to use for pixels without data in the output file in the Initialization Value box.
Use a value that does not occur in the image being clipped.
If you want to give the initialization value the metadata tag of no data, select the Set as No Data Value
check box.
6. If you want to save the defined clip region boundary as a vector layer in the output file, select the Output
Clip Boundary Vector check box.
7. Depending on how you want to use to clip the image, select one of the following options from the Definition
Method list box:
• User-entered Coordinates: enters the corner coordinates for the clip region. All layers will be clipped
to fit that region.
• Select a File: uses a smaller, intersecting file to define the bounds of a subset.
• Select a Clip Layer: uses a smaller, intersecting layer from a file to define the bounds of a subset.
• Select a Named Region: bases the clip on a named region you created in Focus.
• Select a Script Subset File: creates several clip regions on the same image. You can create a text
file containing the coordinates and the output file name; Focus automatically produces the series of
subset files.
• Use Current View: bases the clip on the region displayed in the view pane. Only available from Area
view.
8. Click Clip.
3. In the Upper Left boxes, type the coordinates for the top-left corner of the clip region.
• If you selected Raster extents, Geocoded extents, or Long/Lat extents from the Coordinate Type
list box, type the coordinates for the bottom-right corner of the clip region in the Lower Right boxes.
• If you selected Raster offset/size from the Coordinate Type list box, type a value representing the
number of pixels in the Width box and type a value representing the number of lines that you want to
form the clip region in the Height box.
• If you selected Geocoded offset/size from the Coordinate Type list box, identify the size of the clip
region. Using the measurement unit of the projection, type the distance for the width in the Width box
and type the distance for the height in the Height box.
4. Click Clip.
5. If you want to change a clip area with the bounding outline, do the following:
a) In the Preview area, drag a bounding outline corner until you have the size you want.
b) Drag the bounding outline to a new location.
c) Click Clip.
1. In the Define Clip Region area, choose Select a File from the Definition Method list box.
2. Choose a file from the File list box.
If the file is not listed, click Browse and choose a file from the File Selector window.
3. Click Clip.
1. In the Define clip region area, choose Select a Clip Layer from the Definition Method list.
2. Choose a file that you want to use as the clip region from the File list.
If the file is not listed, click Browse and choose a file from the File Selector window.
3. Choose a layer from the Layer list box.
4. Choose from the following clipping and subsetting options that will be applied for the selected layer.
• Clip using selected shapes only: applies the clip operation to only the shapes that are selected in
the Focus viewer.
• Bounds: Extents: outputs all imagery within the bounds of the clip layer.
• Bounds: Shape(s) Boundary: outputs only the imagery within the shape boundaries.
• Output separate files for each shape: outputs one file for each shape. If the Clip using selected
shapes only check box is selected, files are only output for the shapes selected in the Focus viewer.
The extents of each output file depends on whether the Bounds: Extents option or the Bounds:
Shape(s) Boundary option was selected.
The following table describes the availability of the clipping and subsetting options based on the layer type
you selected, and whether the layer (vector layer) is selected in the Focus viewer:
Clip using selected Bounds: Extents Bounds: Shape(s) Output separate files
shapes only Boundary for each shape
5. Click Clip.
Note: Up to 500 files can be viewed in Focus after a clip operation. If you have more than this, Focus
displays a warning message before clipping.
1. In the Define Clip Region area, choose Select a Named Region from the Definition Method list box.
2. Choose a named region from the Named Region list box.
3. Click Clip.
The following procedures follow step 7 in Clipping and subsetting images on page 116.
1. In the Define Clip Region area, choose Select a Script Subset File from the Definition Method list box.
2. Choose one of the following formats from the Coordinate Type list box:
• Raster extents: if the clip region is defined by identifying upper-left and lower-right pixel and line
coordinates.
• Geocoded extents: if the clip region is defined by identifying the georeferenced coordinates of the
upper-left and lower-right corners.
• Long/Lat extents: if the clip region is defined by identifying the geographic coordinates of the upper-left
and lower-right corners.
• Raster offset/size: if the clip region is defined by identifying the pixel and line coordinates of the
upper-left corner and providing the number of pixels in width and the number of line in length.
• Geocoded offset/size: if the clip region is defined by identifying the georeferenced coordinates of the
upper-left corner and providing width and length in the units of measurement of the input's coordinate
system.
3. Choose the text file containing the coordinates and the output file names from the File list box.
If the file is not listed, click Browse and choose a file from the File Selector window.
4. Click Clip.
You can verify for errors in the Focus Message Center.
Related Links
Creating the text file for the Script Subset File method on page 120
Creating the text file for the Script Subset File method
You can create several clip regions from one file by using the Script Subset File method. With this method
you create a text file containing the bounds of the clip regions and list the output file names for each clip.
Focus uses the text file to automatically produce separate files containing the subset of the data.
When you create the text file, you need to define the bounds of the clip regions and the file names using a
particular format, depending on what you selected in the Coordinate Type box on the Clipping/Subsetting
window and which file format is selected in the Format box under Output (see Clipping and subsetting images
on page 116). Each line in the text file contains the data for one clip region. The line is divided into fields
separated by spaces. Each field contains a piece of information about the size of the clip region and where
to save the file.
Raster extents:
The clip region is defined by identifying upper-left and lower-right pixel and line coordinates. The format for
listing the pixel and line coordinates and the file name is as follows:
For example:
For example
You can move and re-size the tile bounding grid to any location within the preview window.
4. Enter values that represent the amount of overlap you want between each of your subset files in the
Overlap X and Y boxes.
5. Click Clip.
1. From the Clipping Layer drop-down list in the Define Clip Region window, select the layer that you want
to use to define the extents of the clip region.
The list displays all raster and vector layers that are currently loaded in the Map view.
2. If one or more shapes are selected on a vector layer before you define the clip region, the Clip Using
Selected Shapes Only option becomes available.
• Select the checkbox to clip the region using the exact boundaries of the selected shapes.
• Clear the checkbox to clip the region using the full extents of the specified vector or raster layer.
Related Links
Projection/Extents tab on page 27
3. In the Available Files/Layers list, enable a check mark next to any layer that you want to add as an input
layer.
4. Click Next.
4. Click Next.
1. To change the order in which the layers are processed, drag a layer up or down the list.
The layer order you see in the wizard is the order in which layers are merged to the output file. By default,
the order is what was selected in the first wizard window.
2. Do any of the following:
a) If you want to rename the layer, right-click the layer and click Rename. Type a new name and press
Enter.
b) To remove a layer, right-click the layer and click Remove.
c) To edit parameters for a layer, double-click a layer. Make changes as needed in the Set Image
Parameters window or the Set Bitmap Parameters window and click OK.
3. Click Finish.
Related Links
Data Merge wizard - Set Image Parameters window on page 125
Data Merge wizard - Set Bitmap Parameters window on page 125
Input Layer:
Reports the output layer where your input bitmap is located.
Output Layer:
Allows you to choose an existing output layer or to create a new one.
Transform Order:
Lets you choose a different transformation order for the bitmap output.
The following transformation orders are available:
• Exact
• Thin Plate Spline
• 1st order
• 2nd order
• 3rd order
• 4th order
• 5th order
Sampling Interval:
Allows you to change the sampling interval for the bitmap file.
Related Links
Data Merge wizard - Set Image Parameters window on page 125
Related Links
About the Algorithm Librarian on page 127
Algorithm categories
Algorithms are organized by themes or categories and are listed alphabetically in a directory tree containing
two top-level categories:
• User Defined
• PCI Predefined
You can create folders in the User Defined category to hold collections of your favorite algorithms.
PCI Predefined contains the following categories:
• All Algorithms
• All Bitmap Algorithms
• All Image Algorithms
• All Vector Algorithms
• Geomatica
• Analysis
• Classification
• Data Interchange
• Image Correction
• Image Processing
• Radar Analysis
• Spatial Analysis
• Utilities
Note: You can only access algorithms in the Algorithm Librarian that are licensed to you. Algorithms that
are not licensed to you are identified with a lock icon.
Related Links
About the Algorithm Librarian on page 127
Working with folders and subfolders in the User Defined category on page 128
Related Links
Adding a module shortcut to the User Defined category folder or subfolder on page 129
Related Links
Working with folders and subfolders in the User Defined category on page 128
Using an algorithm
Every algorithm in the Algorithm Library has a Module Control Panel (MCP) that you can open from the
Algorithm Librarian window. You use the MCP to control data inputs and outputs and to assign the required
information for the results you want.
Files tab
On the Files tab, you direct the data that you want to process with the algorithm you have selected. Most
algorithm MCPs have Input Ports panes and Output Ports panes under the Files tabs and some MCP Files
tabs have additional controls.
Input Ports: Allows you to select the data you want to process with the algorithm you have selected. You
can use data already open or you can use the Browse button to select other input data.
Browse: Opens a file selection window, where you can browse for input data. You can open data directly
from any Algorithm MCP using the Browse button under the Files tab.
Output Ports: Lets you direct the output to a viewer, to a project file, or to both. You can save the output to
the location you are already working in or you can use the Browse button to save your output to another
location.
Browse: Opens a file selection window, where you can save your algorithm output to another location.
Log tab
The Log tab displays run-time progress, including any run-time errors that occur when you run the algorithm.
When you run your algorithm a progress monitor opens indicating the progress of the algorithm. When the
algorithm has finished running the algorithm MCP automatically changes to show the Log tab information.
Note: Some algorithms work only on a single layer, but in most cases algorithms can use most or all of the
files and layers in a project.
To open an algorithm's MCP, do one of the following in the Algorithm Library tree:
• Right-click the algorithm that you want to open and click Open.
• Double-click the algorithm you want to open.
1. Expand all nodes next to the Output Aspect Layer to show Viewer and Untitled.pix as the available output
options.
For the current example, direct your output to both the viewer and to a .pix output file of your choice.
2. Enable the check box next to Viewer.
3. If you want to select an output file as an output port, enable the check box next to Untitled.pix.
4. Select Untitled.pix.
5. Click Untitled.pix again, type Calculate surface Aspect.pix, and press Enter.
1. To view output layer information, click the Maps tab in the viewer.
2. To view output file information:
a) Click the Files tab.
b) Expand the Files node.
You should see the following information listed under Rasters:
1[32R]ASP Aspect from elevation channel 10.
3. To view execution status, click the Log tab.
If the algorithm ran successfully, the messages Time of execution and Execution Successful are
displayed in the text area under the Log tab.
4. To view the program results, study the surface aspect of the elevation data in the viewer.
If the algorithm ran successfully, the messages Time of execution and Execution Successful are
displayed in the text area under the Log tab.
Aspect Values:
Aspect at a point is calculated as the orientation of the plane formed by the vector connecting the left and
right neighbors and the vector connecting the upper and lower neighbors of the pixel or the angle between
the top of the image and the projection of the normal vector of this plane onto the horizontal plane. True
aspect values will always range between 0 and 360 degrees.
Zero Slope Values:
Areas where the slope is zero are treated as a special case and are assigned a user-specified aspect value
from the Zero Slope Image Value input parameter. If this input parameter is not specified, a default value of
510 is assigned.
Unsupervised classification
An unsupervised classification organizes image information into discrete classes of spectrally similar pixel
values. To perform unsupervised classification in Focus, you work through windows to configure your data
files and to choose the number of classes that the computer differentiates.
When you finish configuring a classification, you can run the process. Focus automatically classifies the
spectral values in the image data.You can view the classification results in the view pane and as a classification
report.
If there are no desirable or available output channels, click Add Layer and enter values for channels in
the Channels to add boxes for the appropriate channel types. Click Add.
5. Click OK.
The Unsupervised Classification window opens. Focus adds a classification metalayer to the Maps tree
and the RGB reference image you specified opens in the view pane.
1. In the Unsupervised Classification window, enable one of the following algorithm options:
• K-Means
• Fuzzy K-Means
• IsoData
2. In the algorithm Parameters table, click in the appropriate box in the Values column and enter the criteria
that you want in the classification.
3. In the Classifications Options area, enable any of the following check boxes:
• Show report
• Save signatures
• Create PCT
4. Choose a training site option from the Use bitmap as mask list box.
If you choose an option other than None, choose a mask region from the Classify region list box.
5. Click OK.
Note: It is recommended that you use many clusters (for example, the full 255 allowed in an 8U channel)
and then perform aggregation to get the actual number of information classes you want.
Note: To view the unclassified image, drag the unclassified image file layer to the top of the Maps tree above
the Classification MetaLayer. The original image appears in the view pane.
Related Links
Reading a classification report on page 135
Supervised classification
In supervised classification, you must rely on your own pattern recognition skills and knowledge of the data
in determining the statistical criteria (signatures) for data classification. To select reliable training sites, you
should have some information, either spatial or spectral, about the pixels that you want to classify.
The location of a specific characteristic, such as a land cover type, may be known through reports on ground
truth. Ground truthing refers to the acquisition of knowledge about the study area from field-work analysis,
aerial photography, or personal experience. Ground truth data is considered to be the most accurate (true)
data available about the area you want to study and should be collected at the same time as the
remotely-sensed data, so that the data corresponds as much as possible.
Sometimes, ground truth data may not be accurate, due to errors, inaccuracies, and human error. Global
positioning system (GPS) receivers are useful in conducting better ground truth studies and collecting training
sites.
1. From the Analysis menu, click Image Classification and then click Supervised.
2. In the File Selector window, locate and select an image file you want to classify.
3. Click Open.
4. In the Session Selection window, click New Session.
5. In the Session Configuration window, type a name for your classification in the Description box.
Note: When naming classification sessions, enter a name in the Description text field that will distinguish
your current classification from others you create.
1. In the Session Configuration window, click in a cell next to a spectral channel in the Input Channels
column.
Once you have added channels, you must select them in the Session Configuration window so that they
receive the classification output. If you have not added empty channels, you must select channels that
you intend to overwrite.
4. To select the output channel, click a channel in the Output Channel column, and click OK.
The details of the configuration setup are now shown in the Maps tree and the reference image opens in
the view pane. The Training Site Editor window opens with a blank training channel. The training channel
is now write-enabled and ready for you to begin collecting your training sites.
1. From the Training Site Editor, click Class and then click New.
2. Double-click Class-01 in the Name column and type a name for the training site.
3. Click one of the following:
• Save: saves the class without closing the Training Site Editor
• Save & Close: saves the class and closes the Training Site Editor
1. In the Maps tree, select the Training areas layer in the Classification MetaLayer.
2. On the Editing toolbar, click the New Shapes arrow and choose Polygon.
3. Click the reference image within the bounds of the subject area where you want to start the training area
outline.
4. Trace the outline of the polygon by clicking at the end of each line segment.
5. To complete the polygon, double-click near the first point in the training site.
6. Identify similar areas from the imagery that match your first polygon.
The more areas you identify as training sites, the higher the accuracy of the classification.
Note: Overlapping your training area boundaries reduces the reliability of your training sites.
Making corrections
1. On the Editing toolbar, click the Raster Erase arrow and choose an erase option.
2. Trace over the training site you want to remove from the image.
3. Double-click to erase.
1. In the Maps tree, right-click the Classification MetaLayer and click Open training sites.
2. In the Training Site Editor, click a color.
3. In the color window, make any changes to the color.
4. Choose a color model from the Model list box and make any changes to the color channels in the
appropriate spin boxes.
5. Click OK.
Importing vectors
The Import Vectors window lets you
• Import vector segments
• Choose which vector layer is to be rasterized
• Choose how a vector layer is rasterized
Vectors Table
The import table lists all the vector segments that are present in the selected file. There are five columns:
• Segment: Lists the number associated with each vector segment in the selected database.
• Interior Points: Identifies which vector segments contain the point information that will be used to define
the rasterized value of the polygons. You can select more than one interior point segment.
• Polygon Boundary: Indicates which vector segments contain the polygon information that will define the
boundaries of the rasterized polygons. You should select one or more of these segments.
• Field: For each selected vector segment, this choice determines which field value is used to grid the
polygons. Numeric attributes are displayed. Some vector segments may contain different attributes.
• Description: Displays the descriptions associated with each vector segment.
Supported Vector Formats
When importing vectors into a training site editing session, the following vector types are supported:
• ALL_POLYGONS
• GDBLTopoAreas
This information can be found in the MetaData tab for the vector layer properties.
1. In the Import Vectors dialog, choose the file containing the vectors you want to import from the File list
box.
2. If the file you want is not listed, click Browse, locate and select the file you want in the File Selector
window, and click Open.
3. Click in the Interior Points column next to the rasterized value you want to define.
A check mark indicates the segment has been selected and will override any entry in the Field column.
4. Click in the Polygon Boundary column next to the rasterized value you want to define.
A check mark indicates the segment has been selected.
5. Click in the Field column for a segment and choose a rasterization value to change the field used for
rasterization.
This column is ignored if the Interior Points column has been enabled.
6. Click Rasterize.
Importing a vector does not overwrite existing classes. The polygons are added to the image where no
classes exist. This occurs for pixels with a value of zero.
• In the Training Site Editor, right-click in a row and click Import and then click Bitmap(s).
1. In the Training Site Editor table, right-click a class row and click Import and then click Signature.
2. In the Import Signature window, select the signature you want to import.
3. Click OK.
The Input Layer area lets you read the location of the input data and choose the layer on which to perform
the seeding operation.
Selection Criteria (Layer):
Provides a list of files and lets you choose the input data for a seeding operation.
Layers:
Opens the Select Seeding Layers window.
Selection Layers:
Reports the name and location of your input data files.
Output Layer
The Output Layer area shows the name and location of the output files.
Selected Layer:
Reports the name and location of the selected layers.
Properties
The Properties area lets you set the Input Pixel Value tolerances and choose from either a four-connect or
an eight-connect option.
Input Pixel Value Tolerance:
Lets you enter a pixel value as a seeding tolerance and choose an X value from a list.
Neighborhood:
Lets you choose either a four-connect or an eight-connect option to set the kernel size for the raster seeding
operation.
Filling a polygon
The Select Seeding Layers window lists all of the available input layers and allows you to select the layers
you want to include in the seeding operation.
Clear:
Clears all selected layers from the list.
Select All:
Lets you select all of the listed layers.
Selected Layers:
Reports the layers you have selected.
Merging classes
The Merge command combines several classes into one. Merge affects the portion that is opened and the
entire training channel.
1. From the Training Site Editor, click Class and then click Merge.
2. In the Merge Classes window, select the classes you want to merge from the Source list.
If you want to select multiple classes, hold down the Ctrl or Shift key and click the classes you want to
merge.
3. Select a destination class in the Destination list.
4. Click Merge.
• From the Training Site Editor, click Tools and then click Signature Separability.
Related Links
Testing separability with a scatter plot on page 144
Creating a scatter plot on page 144
Altering the view range for the X and Y axes on page 145
Analyzing training sites on page 143
1. From the Training Site Editor, click Tools and then click Scatter Plot.
2. In the Scatter Plot window, click in the Plot Ellipses column for each class that you want to include in
the scatter plot.
A check mark indicates a class has been selected.
If you want to magnify a section of the graph, right-click on the area in the graph and click Zoom In.
1. From the Training Site Editor, double-click the Threshold column for the class you want to adjust and
type a new value.
The class ellipse adjusts automatically to show the change in the threshold value.
2. From the Tools menu, click Classification Preview and click one of the following:
• Maximum Likelihood
• Maximum Likelihood with NULL class
• Parallelepiped
• Parallelepiped with MLC Tiebreaker
• Maximum Distance
• Show Training Sites
3. Click Save&Close.
1. In the Maps tree, right-click Classification MetaLayer and click Run Classification.
2. In the Supervised Classification window, enable one of the following options in the Algorithm area
• Parallelepiped: forces every pixel in the image to belong to one of the user-defined class types. If you
choose this option and want to include Maximum Likelihood as a tie breaker, enable the With Maximum
Likelihood as tie breaker check box.
• Minimum Distance: forces every pixel in the image to belong to one of the user-defined class types.
• Maximum Likelihood: allows a null-class parameter option. In some cases, you want to extract classes,
but there are many more land cover classes represented in the imagery.Therefore, you want a proportion
of pixels left unclassified, or null.
3. In the Classification Options area, enable any of the following check boxes:
• Show Report: generates a report of the classification data.
• Save signatures
• Create PCT: compares your classification with another classification.
4. Click OK.
The report should show a high overall training site accuracy. The information from each pixel in the training
areas is compared to the information determined by the classifier algorithm. The overall accuracy represents
the percentage of training-area pixels that were correctly classified. Your training areas are ideal examples
of the classes.
1. From the Training Site Editor, right-click a class and click Statistics.
2. In the Signature Statistics window, click a class in the table to display its statistics.
Note: Similarities cause errors during classification. Consider removing a channel from the list of inputs if
you are not getting good results.
Post-classification editing
In most cases, a classifier algorithm does not produce ideal results. There are often occurrences of single-pixel
misclassification. A field may contain a few pixels of another class or there may be image data that falls
outside training sites that affects the classification results. Class editing corrects errors by combining several
classes.
1. In the Maps tree, right-click Classification MetaLayer and click Post-classification Analysis and then
click Class Editing.
2. In the Class Editing window, click Image and then click Select Classified Image.
3. In the Select Classified Image window, choose the output channel you selected when you initialized the
classification from the Channels available list.
4. Click OK.
5. In the Class Editing window, click Image and then click Select Reference Image.
6. In the Load Reference Image list, locate and select the Red, Green, and Blue channels.
You must use the same reference image to perform class editing.
As you select a channel, its number is added to the R, G, and B boxes.
7. Click OK.
Once you have selected a reference image you can prepare to draw your bitmap mask.
1. In the Class Editing window, click Mask and then click Create Mask from new Bitmap.
2. Ensure the Mask visible check box is enabled.
3. In the Visible Image area, enable the Classified option.
4. In the Maps tree, click the bitmap layer.
5. On the Zoom toolbar, click the Zoom to 1:1 Image Resolution button.
Note: Images must be displayed at 1:1 or higher to draw a bitmap mask over the view pane. The drawing
tools are not available when images are zoomed to overview size.
1. From the Class Editing window, click Mask and then click Load Mask from Bitmap.
2. In the Load Mask from Bitmap window, select a bitmap segment in the Bitmap segments available
list.
3. Click OK.
1. From the Class Editing window, click Mask and then click Save Mask to Bitmap.
2. In the Save Mask to Bitmap window, select a bitmap segment in the Bitmap segments available list.
3. Click OK.
1. In the Maps tree, select the new bitmap layer below the Classification MetaLayer.
2. On the Editing toolbar, click the New Shapes arrow and choose Polygon.
3. In the view pane, draw a mask over the part of the image you want to edit.
4. In the Class Editing window, select a class in the Source Classes area.
If you want to select all classes, click Select All.
5. Click the Merge Classes.
6. In the View Controls area of the Class Editing window, disable the Mask visible check box.
If you want to use more than one mask to cover all of the image areas you want to edit, repeat the
procedure.
Aggregation
Aggregation is the process of combining classes in order to create a new aggregate class. A maximum of
255 classes can be reassigned in a single session. Aggregation is often performed on the results of an
unsupervised classification. A common approach in unsupervised classification is to generate as many
cluster classes as possible. With the benefit of reference data or first-hand knowledge of the scene, the
analyst aggregates the spectral clusters into meaningful thematic classes.
1. From the Analysis menu, select Image Classification > Post Classification Analysis > Aggregation.
2. In the File Selector window, locate and select a file.
3. Click Open.
1. In the Maps tree, right-click Classification MetaLayer and click Post-classification Analysis.
2. Click Aggregation.
Setting up an aggregation
Before you can perform an aggregation, you must specify the database channels that serve as the input and
output channels. This is done using the Channel Setup window.
The input channel is the channel you want to aggregate and is typically the result of an unsupervised
classification. The output channel is an empty channel in which you store the results of the aggregation.
1. In the Channel Setup window, select an unsupervised classification channel from the Channels available
list.
2. Select an empty channel or an unfinished aggregation result from the Output list.
3. Click OK.
View Controls
Use this area of the window to choose different ways to view the classes and aggregates.
Normal mode: Displays the aggregate classes along with the original, as yet unassigned, classes.
Input classes: Displays all the original input classes.
Current classes: Displays the classes that are currently selected in the Input Classes list.
Unassigned classes: Displays only the unassigned classes. Input classes that have been assigned to an
aggregate will be blacked out.
Aggregate classes: Displays all the current aggregates.
Current aggregate classes: Displays the aggregates that are currently selected in the Aggregate Classes
list.
Highlight color: Lets you choose a color for the class.
Input Classes
This table lists all of the classes in the selected input channel. Use this table to locate and select the set of
classes to include in each of the aggregate classes. You can select multiple classes by holding down Shift
or Ctrl while clicking a selection.
There are several tools available to assist you in the selection process:
Select Class at Cursor: Locates the class at the current cursor location within the view pane.
Highlight Classes: Displays the selected input classes in the chosen highlight color, as selected in the View
Controls area.
PCT: Changes the current pseudocolor table.
Add: Adds the selected input classes to the selected aggregate class.
Remove: Removes the selected input classes from the selected aggregate class.
Aggregate Classes
This table contains a list of all the aggregate classes. In addition, there are four tools available to assist you:
New: Creates a new aggregate class.
Delete: Removes an aggregate class from the list.
Class Initialization: Use the Class Initialization window to initialize a new set of classes. You can import
entries for the class table from a classification channel or from a text file.
Save: Saves all the details of the aggregation session to a text file.
The following example of a text file that describes three aggregate classes:
1. From the Input Classes table in the Aggregate window, select a row containing the class you want to
add.
If you want to select multiple rows, hold down the Ctrl or Shift key while selecting rows.
2. In the Aggregate Classes table, select the row containing the aggregate class that is to receive the input
class.
3. Click Add.
4. Repeat steps 1 to 3 until the input classes are assigned to the appropriate aggregate classes.
5. Click Apply to Output Channel.
Focus copies the input classes that were not used in the aggregation process to the aggregate classes.
1. From the Aggregate window, click PCT in the Input Classes area.
2. To generate a PCT, do the following:
a) In the PCT window, click the Generate PCT tab.
b) For each of the red, green, or blue channel designations, select a channel from the Channels available
list.
3. To import a PCT, do the following:
a) In the PCT window, click the Import PCT tab.
b) Click File.
c) In the File Selector window, locate and select the file containing the PCT segment you want to import,
and click Open.
d) Click Open.
e) In the PCT window, select a segment in the list.
4. Click OK.
Aggregate sessions are saved as .txt files by default. The following example shows a typical line in a saved
aggregate text file.
1 | Rural | 0 | 204 | 0 | | 3, 4
This aggregate line shows the following information:
• Class value: 1
• Class name: Rural
• RGB color: Red-0 Green-204 Blue-0
• Description: None
• Input class codes: Classes 3 and 4 were combined to create the aggregate.
Starting an aggregate session
Once an aggregate session file is saved, you can open it using the Class Initialization button in the Aggregate
Classes area.
1. From the Aggregate window, click Class Initialization in the Aggregate Classes area.
2. In the Class Initialization window, click the Text File tab.
3. Click Text File.
4. In the File Selector window, locate and select the aggregate text file, and click Open.
If you want to overwrite the aggregate class, enable the Overwrite existing classes check box.
5. Click OK.
1. From the Aggregate window, click Class Initialization in the Aggregate Classes area.
2. In the Class Initialization window, click the Channel tab.
3. Click File.
4. In the File Selector window, locate and select the file containing the channel with the classes you want
to import, and click Open.
5. Select a classification channel from the Channels available list.
You can edit any of the following fields in the table for the selected channel:
• Value
• Name
• Color
• Description
6. If you want to replace all current classes, select the Overwrite existing classes check box.
7. Click OK.
1. From the Analysis menu, click Image Classification and then click Post Classification Analysis and
then click Class Labelling.
2. From the File Selector window, locate and select a file, and click Open.
3. From the Maps tree, right-click Classification MetaLayer, click Post-classification Analysis, and then
click Class Labelling.
4. From the Channel Setup window, select a classified channel from the Channels available list.
5. Click OK.
1. To change a class name, double-click the name you want to edit, type a new name and press Enter.
2. Click a color in the Color column for a class.
3. In the Color window, choose a color from the Basic Colors palette.
1. From the Class Initialization window, click the Text File tab.
• To launch the Accuracy Assessment window from the Focus application window, do the following:
a) From the Analysis menu, select Image Classification > Post Classification Analysis > Accuracy
Assessment .
b) In the File Selector window, locate and select the file containing the classified channel you want to
check for accuracy, and click Open.
• To open the Accuracy Assessment window during classification, do the following:
a) From the Maps tree, right-click Classification MetaLayer.
b) Select Post-classification Analysis > Accuracy Assessment.
Operations
• Select Classified Image
• Load Reference Image
• Generate Random Sample
• Samples from Vectors
• Accuracy Report
• Clear Sample List
1. From the Accuracy Assessment window, select the first sample in the Random Sample List.
The cursor automatically moves to the sample location in the view pane. Compare this location to the
reference class table.
2. Select the class in the Assign Reference Class to Sample table to which you think the random sample
belongs.
3. Click Transfer.
1. From the Accuracy Report window, click the Sample Report Listing tab.
2. Click Generate Report.
1. From the Accuracy Report window, click the Error (Confusion) Matrix tab.
If you want to apply a 3 x 3 mode filter to each test pixel location in the classified image, enable the Apply
Mode filter to classified values check box. The result of the mode filter operation are compared to the
reference value in order to access its accuracy.
2. Click Generate Report.
1. From the Accuracy Report window, click the Accuracy Statistics tab.
If you want to apply a 3 x 3 mode filter to each test pixel location in the classified image, enable the Apply
Mode filter to classified values check box. The result of the mode filter operation are compared to the
reference value in order to access its accuracy.
2. Click Generate Report.
Information tools
Information tools include histograms, image statistics, digital number (DN) profiles or sections of an image,
and scatter plots. These tools do not change or process images, but do allow you to get a better understanding
of the data you are using. Information tools, such as image band correlation statistics and histogram statistics,
help you decide how you can further process image data.
You can use the Information Report with both raster and vector data.
1. From the Information Report, enable the Selected shapes option in the Report on area.
2. On the Editing toolbar of the Focus window, click the Selection Tools arrow and choose Individual.
3. In the view pane, click a vector.
The attribute information for the selected vector displays in the Information Report.
You can also select several vectors at once. With several vectors selected, you can change the vector
displayed in the Information Report. The cursor automatically moves to the current vector in the view pane.
1. In the Information Report window, select the Entities under cursor option in the Report on area.
The Information Report shows the DN values for the pixel of the selected feature for the top raster layer in
the Maps tree.
If multiple raster layers are open in the Maps tree, you can scroll between the DN values for the specified
pixel in each of the layers by clicking the arrows in the Record area of the Information Report.
All features, both visible and invisible, are reported by clicking a location in the view pane. You can show
information for a new record in the current layer with the Record arrow buttons in the Information Report.
1. With a file open, click the Measure arrow and choose one of the following menu options:
• Linear Units: displays units for a linear measurement
• Area Units: displays units for an area measurement
• Angle Units: displays units for an angle
With a file open, click the Measure arrow and choose one of the following menu options:
• Line: lets you measure a linear object
• Polygon: lets you measure a polygonal object
• Rectangle: lets you measure a rectangular object
• Ellipse: lets you measure an elliptical object
Measuring a line
1. With a file open, click the Measure arrow and click Linear Units.
2. Choose a unit of measurement.
3. Click the Measure arrow and choose Line.
4. In the view pane, click where you want to begin measuring.
5. Move the cursor to the end of the measurement area.
If you want to continue measuring in a different direction, click where you want to change direction and
continue measuring.
The total length, segment length, and azimuth appear at the bottom of the view pane.
If you want to stop measuring, double-click the view pane.
Measuring a polygon
1. With a file open, click the Measure arrow and click Area Units.
2. Choose a unit of measurement.
3. Click the Measure arrow and choose Polygon.
4. In the view pane, click where you want to begin measuring.
5. Click the next polygon vertex.
Repeat this as necessary until you have at least three vertices in the polygon. The area and perimeter of
the polygon appear at the bottom of the view pane.
If you want to stop measuring, double-click the view pane.
1. With a file open, click the Measure arrow and click Area Units.
2. Choose a unit of measurement.
3. Click the Measure arrow and choose one of the following options:
• Rectangle
• Ellipse
Viewing a histogram
You can view a histogram of a grayscale, pseudocolor, or an RGB map layer.
A histogram of the currently viewed area is first displayed. For an RGB map layer, a histogram is displayed
for each RGB channel. At a glance, you can view the distribution of pixels and then select a histogram to
view its statistics.
You can also view a histogram of a region that is under a bitmap mask.
In the Multi Histogram Display or Histogram Display window, click a histogram to view the histogram
statistics and other details.
The Histogram with Statistics window appears displaying the histogram of the content currently viewed
in the Focus viewer.
In addition to viewing statistics, you can zoom into portions of the displayed histogram, print, or export the
histogram in its zoomed or original version. For more information, refer to Zooming into and out of a histogram
on page 165, Printing a histogram on page 165, and Exporting a histogram on page 165.
3. If required, in the Pixel Value and Pixel Count fields, enter values of a particular area of the histogram.
Press Enter.
The histogram view displays the portion of the histogram that corresponds to the specified values.
4. If required, click Zoom to Overview to revert to the original histogram view. For information about Mask
contents, refer to Viewing Mask contents on page 164.
2. In the Histogram with Statistics window, select an option from the Mask list box.
When accessed from the Maps tree, the Mask list box displays the entire raster, current view, and any
bitmap layers that are in the current area. The bitmap layers are listed whether they are saved or not.
When accessed from the Files tree, the Mask list box displays the entire raster and the bitmap layers that
are saved in the same, active source file. The saved bitmap layers are listed with their file and layer names
displayed. For more information about viewing histograms for a bitmap layer, refer to Viewing histograms
under a bitmap mask on page 164.
In the Histogram with Statistics window, select the bitmap mask from the Mask list box.
When viewing from the Maps tree, bitmap layers for which masks have not been applied are also listed
in the Mask list box. If you select one of these layers and then apply a mask to a region in the Focus
viewer, the Histogram with Statistics window refreshes with the relevant histogram.
1. In the Histogram with Statistics window, position the cursor over the area of the histogram you want to
zoom into.
2. Right-click and select Zoom In or drag a rectangle.
You can click Zoom Out to revert to the previous view of the histogram and Zoom to Overview to revert
to the original histogram.
Printing a histogram
You can print the displayed histogram or its zoomed version.
1. In the Histogram with Statistics window, select Fixed aspect ratio in the Options section, if required.
2. In the Background list box, select a background color for the histogram.
The selected color appears behind the histogram.
3. Click Print and specify the printer settings.
4. Click Print.
Exporting a histogram
You can export the displayed histogram or its zoomed version to a file.
You can export digital number (DN) values to a text file for further statistical analysis. You can also use the
Numeric Values window to change the DN values in an image.
Related Links
Interpreting the values on page 167
1. In the Numeric Values window, double-click the cell for the image layer and pixel location that you want
to edit.
2. Type a value (between 0 and 255 for RGB) and press Enter.
The graph is a profile of the image layer and shows the input channels plotted with the gray values on the
Y-axis, and the distance along the vector on the X-axis. The graph demonstrates how the gray values change
with distance.
In the case of an 8-bit RGB image layer, the range of the Y-axis is 0 to 255 and represents the 256 possible
gray-level values for each pixel of the red, green, and blue input channels.
The X-axis is measured in meters and represents the distance between the end points of the vector. The
range of the X-axis depends on the length of the vector and the scale of the area or the ground distance
covered by the image.
georeferencing as the area, a new metalayer is added to the map and area. When georeferencing is
incompatible, a new area is added to the existing map.
When you have configured a metalayer, you can access both the Scatter Plot and Spectra Plot windows
from a menu in the Spectra Extraction window. Scatter plots and spectra plots are automatically linked to
the data you specify in the Spectra Extraction window.
2. In the Spectra Extraction Configuration window, choose an input file from the Input list box.
If no file is available, click Browse, locate and select a file in the File Selector window, and click Open.
3. In the Region of Interest Channel area, choose a region of interest channel from the Layer list box.
If you want to change the bit depth of the layer, choose one from the Type list box. You must select a
channel type if you are creating a new layer.
4. Click OK.
Region menu
The Region menu has options for adding spectra channels, importing bitmap and vector layers, merging
channels, and exporting channels to create new files.
New:
Adds a new channel to the spectra table.
Import:
Lets you import vector or bitmap data to the spectra table.
Vectors:
Allows you to import vector regions from an existing vector segment for regions of interest and opens the
Import Vectors window.
Bitmaps:
Allows you to import bitmaps from an existing bitmap layer for regions of interest and it opens the Import
Bitmaps window.
Merge:
Allows you to merge multiple regions of interest that you select from a source region and opens the Merge
Classes window.
Export Regions to Bitmaps:
Lets you export a region to a bitmap.
Edit menu
The Edit menu has options that let you clear and delete the channels listed in the spectra table.
Clear Selected:
Clears a channel selected in the spectra table.
Clear All:
Clears all of the channels listed in the spectra table.
Delete Selected:
Deletes a channel selected in the spectra table.
Delete All:
Deletes all of the channels listed in the spectra table.
Tools menu
The Tools menu lets you access the Scatter Plot window and the Spectra Plotting window, and saves spectra
to a Spectra Library.
Scatter Plot:
Opens the Scatter Plot window.
Spectra Plot:
Opens the Spectra plotting window.
Save Spectra Signatures:
Opens the Save Spectra to Library window.
1. In the Spectra Extraction window, click Region and then click Merge.
2. In the Merge Classes window, choose a source channel from the Select Source Classes table.
3. In the Select Destination Classes table, choose a destination channel.
4. Click Merge.
Related Links
Saving a spectral extraction on page 173
4. Type a range based on the selected spectra range type in the Range Value box.
For example, if a spectra range is for a channel, an entered range of 5, -20, 30, -40 will yield spectrum
taken from channels 5 to 20 and channels 30 to 40; if spectra range is for a wavelength, an entered range
of 800, -1200, 1400, -2000 will yield spectrum taken from a wavelength of 800um to 1,200um and a
wavelength of 1,400um to 2,000um.
5. Enable any of the following check boxes:
• Save selected Spectra only saves only the spectra that you have selected
• Save ROIs to Bitmap layers saves the spectra as a bitmap layer
6. Click Save.
Plotting spectra
The Spectra Plotting window allows you to view and configure a detailed graph that plots radiometric quantity
and wavelength. You can import spectra from several sources that include the cursor position in the view
pane, a region of interest drawn in the view pane and listed in the Spectra Extraction window, and spectra
signatures from Spectra Library files.
Several tools allow you to control the data display of the spectra you are plotting. You can show or hide the
controls and work with the graph values by zooming to any graph region along a plot line.
Note: For information about spectral plotting with ATCOR, see Spectral Plotting with ATCOR on page 178.
Displayed spectra
The Displayed Spectra table and controls lists the spectra signatures available for viewing in the Spectra plot
graph. The table reports the spectra ID number, name, and color. The Displayed Spectra controls allow you
to show, hide, and change the color of the spectra plot lines and to choose new samples from a Spectra
Library and new areas of interest.
ID:
Assigns a number to spectra signatures in ascending chronological order.
Name:
Lists the names of each spectra signature.
Color:
Lists the plot line colors for each spectra signature in the table. You can change the color of a signature plot
line in the graph.
Show:
Lets you show or hide a signature plot line.
From Spectra File:
Opens the Select Spectra From Library window. You can change spectra libraries and choose more spectra
signatures.
From Regions:
Imports spectra listed in the Spectra Extraction window table and makes them available for viewing in the
Spectra Plotting window.
From Image:
Imports spectra from the cursor position within the view pane and adds the spectra values to the table, making
them available for viewing in the Spectra Plotting window.
Clear Spectrum:
Clears a selected spectrum from the Display Spectra table.
Clear All:
Clears all of the spectra signatures listed in the Display Spectra table.
Save Spectra:
Opens the Save Spectra to Library window, where you can add a spectra to a Spectra library.
Window Size Around Cursor:
Lets you choose a kernel size for the sample taken in the view pane at your cursor location.
Spectra Quantity to Sample:
When your data contains radiometric transformation metadata, the transformed spectra are listed in the
Spectra Quantity to Sample box. You can choose which of the transformation quantities you want to sample
from the list.
The possible radiometric transformations are:
• Uncalibrated digital number (DN) values
• Non-physical adjustment
• At-sensor (apparent) radiance
• Scene radiance
• Scene irradiance
• Reflectance
Hyperspectral Image:
Let you work with hyperspectral image data.
Wavelength First:
Lets you adjust the starting wavelength value upward from the default hyperspectral wavelength, read from
the file data.
Last:
Lets you adjust the last wavelength value downward from the default hyperspectral wavelength, read from
the file data.
Mask:
Allows you to choose bitmap masks in your source files.
Graph options
The Graph options allow you to change the way the graph lines for the Spectra plot are shown.
Overlay:
Lets you show numbered scales on the graph for library, image, and wavelength values. Plot lines are
superimposed so that the values can be compared directly.
Stack:
Shows a numbered scale for wavelength values only. Plot lines are separated so that the plot shapes can
be compared.
Offset:
Lets you enter an offset for the graph plot lines.
Plotting ranges
The Plotting Ranges area lets you set several parameters for a spectra plot.
Adjust Plot Range To Data:
Automatically adjusts the spectra plot to show all the values in the data.
X-axis Min:
Lets you enter a minimum range for the graph X-axis.
Max:
Lets you enter a maximum range for the graph X-axis.
Image Min:
Lets you enter a minimum range value for data plotted from the cursor position in the view pane.
Max:
Lets you enter a maximum range value for data plotted from the cursor position in the view pane.
Library Min:
Lets you enter a minimum range value for data plotted from a spectra library signature file.
Max:
Lets you enter a maximum range value for data plotted from a spectra library signature file.
Same As Image:
Matches the graph values to the cursor values from the image in the view pane.
Report
The report area reports information for spectra signatures selected in the Displayed Spectra table based on
both the entire spectra and on specific pixel/line coordinates.
Current Spectrum:
Reports the ID for a spectra selected in the Displayed Spectra table.
Wavelength:
Reports the wavelength of a spectra selected in the Displayed Spectra table.
Intensity:
Reports the intensity of a spectra selected in the Displayed Spectra table.
Current Pixel:
Reports the pixel location.
Current Line:
Reports the line location.
Wavelength:
Reports the pixel wavelength value for the pixel/line location.
Intensity:
Reports the pixel intensity value for the pixel/line location.
Hide Controls and Show Controls:
Hides or shows all controls for the Spectra Plot window.
Zoom In:
Zooms into the plot lines in the spectra plot graph.
Zoom Out:
Zooms out of the plot lines in the spectra plot graph.
Zoom Overview:
Zooms the plot lines in the spectra plot graph to an overview showing the extents of the plotted values.
Exports the selected spectra in the list in the Library window to the Spectra Plotting window.
1. Choose either Channel Number or Wavelength from the X axis labelling list box.
2. Choose a wave record from the Wave record list box.
3. Choose a number to represent the window size from the Window size around cursor list box.
3. Click Save.
When spectra is extracted from an input ATCOR image, the values in the plotter are internally converted to
apparent reflectance values, based on the input settings (Atmospheric Definition Area, Conditions, etc.). The
spectral curve extracted from the input image may be compared to the spectral curve of a similar feature
loaded from the spectral library, allowing the user to compare and analyze the two curves, and adjust the
input atmospheric and calibration parameters to achieve the most accurate output reflectance image.
Because the spectral plot assumes a constant atmosphere, output from a spatially varying atmospheric
correction will differ from the original. The same holds true for the BRDF Correction and Terrain Reflectance
parameters specified in the Advanced Options window.
1. In Focus, open the file that contains the digital elevation model to modify.
Typically, editing is most effective when the DEM is displayed as a grayscale layer.
Note: When editing a DEM, it is useful to also load reference data so that you can easily identify areas
in the DEM to edit.
2. Select the DEM layer from the Maps treelist. From the Focus menu, select Layer > DEM Editing.
The DEM Editing window opens.
Note: The layer that contains the DEM must be selected to enable the DEM Editing menu option.
1. In the Failed field, specify the value given to pixels for which the generation of elevation values failed.
The failure value identifies the areas that can be interpolated and filled. This value should be outside the
range of valid elevation values.
2. In the Background field, type the value assigned to the area that lies outside the DEM.
The background value can be a maximum or minimum value, such as -150 or -9999.
Note: If the input DEM file contains the appropriate metadata, Focus automatically populates these fields.
If no metadata is found, the fields are left blank.
1. In the DEM Editing window, select the Edit via Polygons tab.
The tab displays all the options available to work with vector masks.
2. Use the Vector Operations toolbar icons to perform standard editing functions.
Icon Description
Edit the Vector Layer: enables the New Shapes tool to draw DEM editing polygons
Open a Vector Layer: allows you to open an existing DEM editing polygon mask layer
Clear the Vector Layer: deletes all polygons from the DEM editing polygon layer
Save the Vector Layer: saves the DEM editing polygon layer for further editing operations.
Related Links
Adjusting pixel values for a lake on page 187
1.
From the DEM Editing window's Vector Operations toolbar, click the Open a Vector Layer icon.
2. In the Select Layer window, click the arrow beside the File field to select the file that contains the vector
mask layer, or click Browse to navigate to the file.
3. From the Layers Available list, select the layer that contains the vector mask.
4. Click OK.
The mask layer is loaded in Focus.
5. Use the editing tools to create or modify polygons.
Related Links
Adjusting pixel values for a lake on page 187
1.
From the DEM Editing window's Vector Operations toolbar, click the New Vector Layer icon.
Focus creates a new temporary file to contain the vector layer. You can save the layer to the current file,
or to a different file.
2. Use the editing tools to create or modify polygons.
See Editing vectors in Focus on page 275 for details.
3.
If desired, click the Save icon to save the DEM Editing Polygons layer.
By default, Focus creates a temporary layer for DEM editing. To save the polygon masks created while
editing, you must save them to a new layer in your project. See Saving a mask layer on page 181 for more
information.
Related Links
Adjusting pixel values for a lake on page 187
1. In the DEM Editing window, edit a new or existing mask layer, adding, deleting, or modifying mask areas.
2.
Click the Save icon to save the layer.
If this is the first time you save the mask layer, the New Item Detected window appears. An existing mask
layer is saved immediately.
3. In the New Item Detected window's Input section, the Layer field shows the layer description; for example,
DEM Editing Polygons, or DEM Editing Bitmap.
Note: For a vector mask layer, you can choose to save only selected shapes or attribute fields. Be aware,
however, that if you save only selected fields, you will not be able to re-use the mask layer for further DEM
editing purposes. By default, Focus saves all shapes and fields in the layer.
4. Under Output, in the File field, click the arrow to select from the list of available files, or click Browse to
navigate to a different file.
5. From the Format list, select the format for the new mask file.
6. Click Options to define output GDB format options. This field is available only for some output formats.
7. In the Layer field, type the name of a new layer, or select from a list of available layers.
If you select an existing layer, Focus overwrites any existing content in the layer.
1. In the Focus viewer, with the DEM Editing Polygons layer active, select a polygon under which to apply
the fill operation.
The selected polygon appears outlined in cyan.
You can apply a fill operation only to a single polygon. If multiple polygons are selected, the fill options in
the DEM Editing window are disabled.
2. In the DEM Editing window, under Fill Under Polygons, select the fill Method and define the Value or
Size of the filter, if required.
Select one of the following:
• Constant value: all pixels under the polygon are set to the elevation specified in the Value field. This
method is useful to set a lake to a predetermined height, or to create a ‘clean’ building shape.
• Relative value: all pixels under the polygon have the specified Value added (or subtracted) to them.
This method is useful to remove forests of a specific height while still following the general contour of
the terrain.
• Average of Shape: all of the pixels under the mask are set to the average of those pixels; this value is
then shown in the Value field.
• Average Filter: applies a smoothing filter to the pixels under the mask. The value entered in the Size
field defines the size of the filter. The default filter size is 7x7, or the last user-specified value. This
method is useful to flatten areas while still preserving the overall terrain.
• Median Filter: applies a median smoothing filter to the pixels under the mask. The value entered in the
Size field defines the size of the filter. The default filter size is 7x7, or the last user-specified value.
Large sizes such as 100 may flatten roads side to side and completely filter out small bumps (such as
a car).
• Opposite Ends: This method is useful for editing bridges, for example. Focus examines the selected
polygon on each short end and finds an average elevation for each end (for example, where a bridge
touches the ground). These two elevations are then used in an interpolation along the length of the
bridge.
• From Edges: deletes the data under the polygon and fills in from the edges
• No Action: this is a simple way to indicate that the area under the polygon should not be changed; for
example, an island in a lake (polygon within polygon).
3. To apply blending, select the Blend Width check mark, and specify an amount (in pixels).
Blending reduces the appearance of seams by mixing the pixels values just outside of the polygon to
achieve a gradual transition between the masked and unmasked areas. Typing '5', for example, will create
a linear ramp of values from the mask edge to 5 pixels away.
By default, no blending is applied. When selected, the default blend width is 0.
4. Click Apply to apply the selected operation to the DEM.
By default, the Apply operation does not overwrite any previously edited values. To apply a fill method to
these areas, click Apply with Overwrite.
For example, if you have already edited a series of buildings and wish to smooth the area surrounding
them, draw a polygon to encompass the buildings and apply a strong smoothing filter under the polygon
using the Apply button. The previously edited buildings remain unchanged.
5. Optionally select Apply Blending Subsequently to indicate that, during any future editing operations,
pixels under the currently selected mask are allowed to be blended. If the currently selected polygon
represents an area that should not have a smooth transition between it and surrounding areas (a bridge,
for example), ensure that the Allow Blending Subsequently option is unchecked.
1. In the DEM Editing window, select the Edit via Bitmap tab.
The tab displays all the options available to work with bitmap masks.
2. Use the Mask Operations toolbar icons to perform standard editing functions.
Icon Description
Edit the Mask Layer: enables the New Shapes tool to draw a DEM editing mask
Open a Mask Layer: allows you to open an existing DEM editing mask layer
Clear the Mask Layer: deletes all masks from the DEM editing bitmap layer
Save the Mask Layer: saves the DEM editing bitmap layer for further editing operations
Related Links
Adjusting pixel values for a lake on page 187
Adjusting pixel values for multiple lakes on page 187
Compensating for forests and urban areas on page 188
1.
From the DEM Editing window's Mask Operations toolbar, click the Open a Mask Layer icon.
2. In the Select Layer window, click the arrow beside the File field to select the file that contains the bitmap
mask layer, or click Browse to navigate to the file.
3. From the Layers Available list, select the layer that contains the bitmap mask.
4. Click OK.
The mask layer is loaded in Focus.
5.
Use the Edit Mask Layer tool to digitize areas of the DEM that you want to edit.
6.
If desired, click the Save icon to save any changes you have made to the mask layer.
Related Links
Adjusting pixel values for a lake on page 187
Adjusting pixel values for multiple lakes on page 187
1.
From the DEM Editing window's Mask Operations toolbar, click the New Mask Layer icon.
Focus creates a new temporary file to contain the bitmap layer. You can save the layer to the current file,
or to a different file.
2.
Use the Edit Mask Layer tool to digitize areas of the DEM that you want to edit.
3.
If desired, click the Save icon to save any changes you have made to the mask layer.
By default, Focus creates a temporary layer for DEM editing. To save the masks created while editing,
you must save them to a new layer in your project. See Saving a mask layer on page 181 for more
information.
Related Links
Adjusting pixel values for a lake on page 187
1. In the DEM Editing window, edit a new or existing mask layer, adding, deleting, or modifying mask areas.
2.
Click the Save icon to save the layer.
If this is the first time you save the mask layer, the New Item Detected window appears. An existing mask
layer is saved immediately.
3. In the New Item Detected window's Input section, the Layer field shows the layer description; for example,
DEM Editing Polygons, or DEM Editing Bitmap.
Note: For a vector mask layer, you can choose to save only selected shapes or attribute fields. Be aware,
however, that if you save only selected fields, you will not be able to re-use the mask layer for further DEM
editing purposes. By default, Focus saves all shapes and fields in the layer.
4. Under Output, in the File field, click the arrow to select from the list of available files, or click Browse to
navigate to a different file.
5. From the Format list, select the format for the new mask file.
6. Click Options to define output GDB format options. This field is available only for some output formats.
7. In the Layer field, type the name of a new layer, or select from a list of available layers.
If you select an existing layer, Focus overwrites any existing content in the layer.
1. In the Focus viewer, select the DEM Editing Bitmap layer under which to apply the fill operation.
2. In the DEM Editing window, under Area Fills Under Mask, select the fill Method and define the Value
or Size of the filter, if required.
Select one of the following:
• Average of Each Shape: all pixels under each distinct mask shape are set to the average of those
pixels
• Average of All Shapes: all pixels anywhere under the mask are set to the average of those pixels
• Specified Value: all pixels under the mask are set to the elevation specified in the Value field. This
method is useful to set a lake to a predetermined height, or to create a 'clean' building shape.
1. From the DEM Editing window, select a filter from the list in the Filtering and Interpolation section.
Available options are:
• Remove Noise Filter: Noise refers to pixels containing distorted or failed values. Because pixels adjacent
to failed pixels also tend to contain incorrect values, the Remove Noise Filter uses two filters to identify
failed pixel values and their surrounding pixels:
• The first filter calculates the average and variance of the eight elevation values immediately
surrounding each pixel, excluding failed and background pixels. If the center pixel is more than two
standard deviations away from the average, it is replaced with the failed value.
• The second filter counts the number of failed values immediately surrounding each pixel. If five or
more failed pixels border the center pixel, the center pixel is also set to a failed value.
• Erode holes: Because pixels adjacent to failed pixels also tend to contain incorrect values, the Erode
holes filter replaces the eight pixels around each failed pixel with the failed value. When you apply the
filter under a mask, the mask enlarges to cover any additional pixels replaced by the failed value.
• Median Filter: Ranks the pixel values within a 5x5 pixel frame according to elevation value. The median
is the middle value of those pixel values, which is then assigned to the pixel in the center of the frame.
• Smooth DEM: A Gaussian filter calculates the weighted average of all the pixels in a 3x3 pixel frame
and assigns the value to the center pixel in the frame. Failed and background pixel values are not
replaced by the filter and are not used in the Gaussian calculation.
• Interpolate: Replaces failed values with an estimate weighted by distance calculated from the valid
pixels surrounding the failed pixel(s). The algorithm used to calculate the estimate is adequate for small
areas of less than 200 pixels, but is not recommended for larger areas.
3. Click Apply.
Tips
• When editing a DEM, it is useful to have both the DEM and reference data loaded so that you can see
the areas that you want to edit. Open and display both the DEM and reference layers in Focus, and select
the DEM layer to access the DEM Editing window.
• Consider enabling the Auto Re-enhance option for the DEM layer so that, as you move through the data,
the view is automatically refreshed in the Focus viewer to display good contrast. This option is available
only when the DEM is displayed as a grayscale layer.
To enable Auto Re-enhance:
1. Select the grayscale DEM layer from the Focus Maps treelist, and right-click to display the context
menu.
2. Select Properties, then select the Source LUTs tab from the Grayscale Layer Properties window.
3. Select the Auto Re-enhance check mark, and click OK.
Key Shortcuts
• F12: Press F12 to toggle the visibility of the top-most raster map layer. For example, if your DEM layer is
on top of an image, press F12 to toggle the DEM layer on and off. This can be helpful while digitizing a
mask.
• F11: Press F11 to toggle the visibility of the topmost vector layer. For example, when digitizing a polygon
mask, it may be useful to turn off the polygon layer itself.
• F9: Press F9 to re-center the display around the cursor's current location. This can be useful when digitizing;
as you reach the edge of the display area, press F9 to re-center the display.
1. In Focus, open the file that contains the digital elevation model to modify.
Also load reference data to easily identify areas in the DEM to edit.
2. With the DEM layer selected in the Focus Maps treelist, select Layer > DEM Editing.
The DEM Editing window opens.
3. To work with a bitmap mask, do the following:
a) In the DEM Editing window, select the Edit via Bitmap tab.
b) Click the New Mask Layer button. See Creating a new bitmap mask layer on page 184 for details.
c) Click the Edit the Mask Layer button and draw a bitmap over the lake to be updated.
d) From the Area Fills Under Mask section, select Specified Value from the Method list.
e) In the Value field, type a value for the lake elevation.
f) Click Fill.
4. To work with a vector mask, do the following:
a) In the DEM Editing window, select the Edit via Polygons tab.
b) Click the New Vector Layer button. See Creating a new vector mask layer on page 181 for details.
c) Click the Edit the Vector Layer button and draw a polygon over the lake to be updated.
d) From the Fill Under Polygon section, select Constant Value from the Method list.
e) In the Value field, type a value for the lake elevation.
f) Click Apply.
5. Optionally, click the Clear Layer button, or Save the mask layer.
6. Click Close to close the DEM Editing window.
Related Links
Working with polygon masks on page 180
Working with bitmap masks on page 183
Creating a new bitmap mask layer on page 184
Opening an existing bitmap mask layer on page 183
Creating a new vector mask layer on page 181
Opening an existing vector mask layer on page 180
1. In Focus, open the file that contains the digital elevation model to modify.
Also load the reference data to easily identify areas in the DEM to edit.
2. With the DEM layer selected in the Focus Maps treelist, select Layer > DEM Editing.
The DEM Editing window opens.
3. In the DEM Editing window, select the Edit via Bitmap tab.
4. Open the mask layer.
See Opening an existing bitmap mask layer on page 183 for details.
5. From the Area Fills Under Mask section, select Average of Each Shape from the Method list.
6. Click Fill.
7. Optionally, click the Clear Layer button, or Save the mask layer.
8. Click Close to close the DEM Editing window.
Related Links
Working with bitmap masks on page 183
Opening an existing bitmap mask layer on page 183
1. In Focus, open the file that contains the digital elevation model to modify.
Also load the reference data to easily identify areas in the DEM to edit.
2. Create a mask over the area to edit.
For more information, see Working with bitmap masks on page 183 or Working with polygon masks on
page 180.
3. With the DEM layer selected in the Focus Maps treelist, select Layer > DEM Editing.
The DEM Editing window opens.
4. In the DEM Special Values section, specify the Failed value.
5. In the DEM Editing window, select the Edit via Bitmap tab.
6. Click the New Mask Layer button.
7. Click the Fill Mask from Failed button to have all failed pixels identified in a mask.
8. From the Filtering and Interpolation list, select Interpolate.
9. Select the Use Mask option, and click Apply.
10. Optionally, click the Clear Layer button, or Save the layer.
11. Click Close to close the DEM Editing window.
Related Links
Working with bitmap masks on page 183
1. In Focus, open the file that contains the digital elevation model to modify.
Also load the reference data to easily identify areas in the DEM to edit.
2. Ensure that all large bodies of water, such as lakes, are corrected.
For more information, see Adjusting pixel values for multiple lakes on page 187.
3. With the DEM layer selected in the Focus Maps treelist, select Layer > DEM Editing.
The DEM Editing window opens.
4. From the Filtering and Interpolation list, select Remove Noise Filter.
5. Select the Entire DEM option, and click Apply.
6. Click Apply again.
7. From the Filtering and Interpolation list, select Interpolate.
8. Select the Entire DEM option, and click Apply.
9. From the Filtering and Interpolation list, select Smooth Filter.
10. Select the Entire DEM option, and click Apply.
11. Click Apply again.
12. Optionally, click the Clear Layer button, or Save the layer.
13. Click Close to close the DEM Editing window.
Related Links
Adjusting pixel values for a lake on page 187
Adjusting pixel values for multiple lakes on page 187
Is determined by the frequency of pixels in the image with a given gray-level value. Bright areas indicate
common combinations and black areas indicate combinations that rarely occur.
Scatter plots typically show a bright smear in one area of the plot. By default, the plot appears with input
channel 1 on the X-axis and input channel 2 on the Y-axis.
In the controls area of the Scatter Plot window, you can specify the channels you want to show as the X and
Y axes. A color scheme for the plot and a lookup table (LUT) can be applied to either channel.
Mask
The Mask option allows you to create a scatter plot of a region under a bitmap mask. You can also create a
scatter plot of the entire raster. When creating a scatter plot of the entire raster, you set the Mask option to
None. The Mask list box displays all of the bitmap layers that are in the current area. The bitmap layers are
listed whether they are saved or not and for each saved bitmap, both the file and layer names are displayed.
Statistics
The Statistics section displays the linear equation derived from a linear regression calculation and the
correlation coefficient associated with the scatter plot. A value of 'N/A' (Not Applicable) is given if these
statistics cannot be calculated (usually if one of the selected channels is empty). The correlation coefficient
measures the similarities of the two image channels. A value of one indicates a complete correlation between
two images, whereas a value of zero indicates there is no correlation between images. The A -1 value indicates
a negative correlation.
Hyperspectral Metalayer
If you want to view the scatter plot of a hyperspectral metalayer, you must first open the metalayer in the
Maps tree.
Related Links
Configuring a hyperspectral metalayer on page 169
Related Links
Changing the display of the scatter plot on page 190
1. In the Scatter Plot window, position the cursor over the area of the scatter plot you want to zoom into.
2. Right-click and select Zoom In or drag a rectangle.
You can click Zoom Out to revert to the previous view of the scatter plot and Zoom to Overview to revert
to the original scatter plot.
In the X View Range and Y View Range areas, enter a value in the Min and Max spin boxes.
The default range of values for 8-bit imagery is 0 to 255.
The range varies depending on the ground distance covered by an image and the length of a vector.
Exporting a profile
You can change the file format before selecting an output file.
1. In the Graph Controls window, choose a file format from the Format list box.
2. Click File.
3. In the File Selector window, enter a file name in the File name list box.
4. Click Save.
5. In the Graph Controls window, click Export.
Profile Options:
Gives you control over various aspects of the profile graph and table.You can control the following properties:
Color:
Displays the color used to represent each channel on the profile graph. You can change any color by clicking
on the color chip you want to change. This opens the Line Color editor based on the RGB color space. The
color representation of the channel's profile on the graph is changed.
Visible:
A check mark in this field indicates that a particular channel is visible in the profile graph and profile table.
Current Channel:
Indicates which plotted channel is associated with the mensuration bars. There can be only one current
channel, which is indicated by an X. To select the current channel, click the appropriate field under the Current
Channel column.
Profile View:
Sets the coordinates for the horizontal axis of the Profile Graph. The sample point coordinates are based on
the image pixel size, in meters. Choose between Georeferenced and Sample Point coordinates. If
Georeferenced is selected, the values in the X axis are displayed in metres. If Sample Points are selected,
the values in the X axis represent pixel units. For example, if a vector line is 8000 m long, the maximum value
for the X axis if georeferenced is selected in the Profile options is 8000. If the imagery has a resolution of 30
m, the maximum value for the same line displayed using Sample points is approximately 267 (8000/30).
3. Click Close.
To customize the color of the profile vector, use the Set Line Color tool on the Display toolbar.
1. Ensure a GPS receiver is connected to the system according to manufacturer specifications and that it is
set up correctly.
2. From the Tools menu, click GPS Tool.
When the GPS Tool is active, you can use it to update the cursor position or to add vector data to an Area
in the project.
6. On the Editing toolbar, click the New Shapes arrow list and click Points.
7. In the GPS Tool window, click one of the following buttons:
• Capture Stream: adds new points to your vector layer at the specified stream interval.
• If you want to stop the point capture, click Finish.
• Capture Point: adds a new point to your vector layer. You can continue to collect points by repeatedly
clicking the button.
4. Click OK.
5. In the Maps tree, select the new layer.
6. In the GPS Tool window, click one of the following buttons:
• Capture Stream: adds a new vertex to the vector layer at the specified stream interval. New vertices
are added to the line or polygon until you click Finish.
• Capture Point: adds only the initial vertex to the line or polygon layer. You can continue to collect
vertices for the line or polygon by repeatedly clicking the button.
1. Open and run the ADAPT program from the Algorithm Library to generate a well-distributed PCT to
represent a particular image.
2. Choose RGB2PCT from the Algorithm Library.
3. Select three raster layers you want to use as your RGB channels.
4. Select the PCT that was created using ADAPT.
Note: If you want to convert from PCT to RGB, run the PCE algorithm from the Algorithm Library. PCE
encodes an input channel into three output channels (such as red, green, and blue components) using a PCT
held in a database segment.
1. From the Maps tree, right-click a pseudocolor layer and click Edit PCT.
2. From the PCT Editing window, click the Single Value tab.
3. Click one of the following buttons:
• Smooth: creates a smooth color ramp from dark blue to magenta
• Stepped: creates a series of short color ramps
• Random: creates a set of random colors
• Gray Ramp: creates a gray ramp with a black value of 0 and a white value of 255
4. Double-click the cell you want to change and type a new value. If you want to select multiple PCT entries,
drag over a series of list entries.
5. Select a color model from the Model box.
6. Click a tile in the Basic Colors table.
The color range changes in the Color Continuum and Intensity controls.
7. If required, use the Color Continuum, Instensity, or color value boxes to adjust the selected color.
8. Click Apply.
1. From the Range-based page, enable the Custom option in the Color Selection area.
2. Drag the left and right markers to the positions you want on the color bar in the Color Selection area.
1. In the Maps tree, right-click the pseudocolor layer and select Edit PCT.
The PCT Editing window appears.
2. Click the Range-based tab.
3. In the Color Selection area, click Custom.
4. Double-click First Color.
The Select First Color in Range window appears.
5. Select a color from which you want the color range to start.
6. Click OK.
7. Double-click Last Color.
8. The Select Last Color in Range window appears.
9. Select a color at which you want the color range to end.
10. Click OK.
11. Click Interpolate.
The color bar below First Color and Last Color displays the new color range.
12. In the Histogram area, slide the markers or specify the values in the Min X and Max X boxes to define
the section to which you want to apply the color range.
13. If required, go back to the color bar and slide its markers to narrow or widen the color range. You can also
specify the values of the range in the Left Marker and Right Marker boxes.
The color tabs of the histogram left and right markers change color accordingly.
14. Click one of the following options from the Values Outside Range list in the Setup Preview of New PCT
section:
• Set to Black, which blackens the area of the histogram that is outside the specified range
• Set to White, which whitens the area of the histogram that is outside the specified range
• Ignore, which retains the original color of the histogram outside the specified range
Related Links
Adding points to an active layer on page 258
Specifying a value
1. In the Pixel value box, type the value that you want to use.
2. In the Pixel value box, type the value that you want to use.
If you want to replace all the pixel values within the polygon instead of just drawing the outline of the
polygon, select the Fill polygon check box.
3. In the Line width box, type a value that represents the thickness of the line in pixels. Click OK.
Enhancing images
Images can be processed at several levels, from standard enhancements that filter images to fully customized
enhancements using lookup tables and histograms. Unenhanced image files are often impossible to understand
visually when they are opened in an image viewer. Enhancements make imagery clearer and easier to
interpret. When you open an image file, it is automatically enhanced in the view pane. You can change the
default enhancement.
Related Links
Changing a default enhancement on page 199
Understanding enhancements
Enhancements make the image on the screen clearer and easier to interpret without changing the values in
the image file. The enhancements available in the Enhance list change depending on the viewer:
• None Does not apply an enhancement to 8U data types. This setting does, however, apply a linear stretch
or a linear enhancement to other data types using their pixel values. The stretch is applied using only
those pixels displayed in the viewer. At a zoomed out level, the pixel values are decimated before they
are displayed in the viewer. Therefore, the range of pixels used for the linear stretch may be narrower
than the actual range of pixels in the image file. This means that the actual minimum and maximum values
in the image file may not be included in the calculation of the linear stretch. Tail Trim and Exclude Min/Max
settings are ignored for all data types.
• Linear uniformly stretches the minimum and maximum values in the image over the entire available output
display range to enhance the overall differences in gray levels in the image.
• Root compresses the range of higher values (brightness) and expands the range of lower values (darkness)
so you can distinguish more detail in darker areas of an image while still retaining some detail in the
brighter areas.
• Equalization or Equal distributes the values equally over the entire output display range resulting in an
almost uniform histogram.This enhancement is effective in exposing details in the higher values (brightness)
and lower values (darkness), but causes less contrast in the middle values.
• Adaptive combines the benefits of Equalization and Linear enhancements resulting in a more natural
display than Equalization while effectively compensating for outliers.
• Infrequency assigns the values that occur the least frequently in the image to the range of higher values
(brightness) in the histogram so finer details become brighter.
• Tail Trim to omit the upper and lower 2 percent of the image histogram to remove outliers in the upper
and lower part of the pixel range. Tail Trim uses a 2 percent margin by default, but you can adjust the
amount of tail trim from 1 to 5 percent with Set Trim %.
• Exclude Min/Max disregards the lowest and the highest value in the image histogram before applying
the Tail Trim.
• Set Trim % to adjust the amount of tail trim from 1 to 5 percent.
Brightness
Brightness controls the overall luminosity (amount of light) in the images. Click the arrow beside the
Brightness icon to increase or decrease overall luminosity.
Contrast
Contrast controls the difference between the light and dark extremes in the images. Click the arrow beside
the Contrast icon to increase or decrease the light and dark extremes.
Related Links
Setting options and preferences on page 75
Enhancing images
There are different ways to enhance images in Focus. For quick adjustments to your image data, you can
use the Raster toolbar buttons or the context menu in the Focus Maps tree. These tools will apply changes
only to layers selected in the Maps tree, or to the active layer if no layers are selected.
When multiple map layers are selected and an enhancement is applied, the information from the selected
layers is aggregated together to build a single enhancement. That enhancement is then applied to each of
the selected map layers. This can be useful if, for example, you have viewed multiple tiles of the same data.
You can select all of the tiles and ensure they are enhanced as a unit as opposed to being enhanced
independently.
Note: To use the Enhancement tools on multiple layers, all of the layers selected in the Maps tree must be
of the same type (either grayscale or RGB) and their bit depths must all be the same. For more detailed
custom enhancements, you can use the LUT Editor. The image enhancement is only applied through your
system memory and must be saved if you want to use a particular LUT again or if you want to export the
enhanced image.
1. In the view pane, click on or near the feature you want to zoom.
2. On the Zoom toolbar, click the Zoom 1:1 Image Resolution button.
Note: When an image overview is set in the view pane, all image statistics are used to calculate the
enhancement. An enhancement is calculated by building a histogram with the range of values available in
the Focus view pane. By default, the original histogram is retained even when the data being displayed
changes (for example, after panning or zooming). However, if you want the histogram to be re-computed
each time the display changes, select the Auto re-enhance grayscale and RGB layers check box in the
Focus Options window (Select Tools > Options and click Layers). This setting will be applied to all existing
and subsequently opened RGB and grayscale layers.
Related Links
Layers on page 77
Table 8:
Pixel # of line 1 1 2 3 4 5 6 7
Raw Data DN 0 5 50 51 52 60 255
Enhanced DN Exclude 0 0 127 140 153 255 255
Min/Max
Enhanced DN Include 0 170 212 216 221 255 255
Min/Max
• On the Raster toolbar, click the Enhancements arrow and click Exclude Min/Max.
• To increase the image brightness, click the Brightness button on the Raster toolbar. Each click changes
the image brightness by approximately 10 percent.
• To decrease the image brightness, click the Brightness arrow and choose Decrease Brightness.
The image brightness decreases by approximately 10 percent.
• To return to the original brightness level, click the Brightness arrow and choose Reset Brightness.
Note: To use the Brightness and Contrasts tools on multiple layers, all of the layers selected in the Maps
tree must be of the same type (either grayscale or RGB) and their bit depths must all be the same.
1. In the LUT Editor, select one of the following options from the Mask list box:
• Entire raster: displays a histogram of the entire raster.
• Current view area: displays a histogram of the area that is displayed in the Focus viewer.
• Bitmap layer: displays a histogram of a region under a bitmap mask. The bitmaps are listed whether
they are saved or not. Both the file and layer names are displayed for the saved bitmaps.
2. From the View menu, select or cancel the selection of the following options:
• Input Histogram: displays the original version of the histogram.
• Output Histogram: displays the resulting histogram after enhancements
• Breakpoints: displays nodes, which facilitate the enhancement process
• In the graph area, right-click and drag the entire graph to the left or to the right.
1. In the LUT Editor, click the Manual Mode button in the Graph editing tools area.
2. In the graph area, drag a contour.
1. In the LUT Editor, click the Manual Mode button in the Graph editing tools area.
2. Create a custom enhancement by trace-editing the histogram.
3. Click Copy.
4. Create a new trace-edit enhancement or click on one of the enhancements to the right of the main graph.
5. Click Toggle.
You can also edit the LUT directly in a spreadsheet-style window by selecting Edit Table from the Graph
editing tools. To open the LUT for a histogram, click Edit Table in the Graph editing tools area.
Some of the other graph editing tools include: Add Breakpoint, Move Breakpoint, and Delete Breakpoint.
These options let you edit the LUT for a specific location on the original image histogram. To show the
breakpoints on the curve from the view option list, choose Breakpoints. The Thin Breakpoints option removes
excess breakpoints along straight stretches that are associated with a LUT.
Applying a new lookup table to the corresponding image plane
In the LUT, you can view both breakpoints and lookup values.
1. In the Graph editing tools area, click the Edit Table button.
2. In the Lookup Table window, enable the View Lookup Values check box.
Related Links
Filtering under a mask on page 205
Related Links
Adding points to an active layer on page 258
Mode Filter
Computes the mode of the gray-level values that occur most frequently in the filter kernel. For example, in a
3x3 filter window with the following pixel values, the filtered pixel value of 3 occurs five times.
The mode filter is calculated as follows:
Mode filters are typically used to clean up thematic maps for presentation purposes. This filter replaces small
island themes with their larger surrounding themes. With the mode filter, the maximum kernel size is 7x7.
The filter window can be rectangular.
Sometimes, two values can be equally distributed within the kernel sample. In such cases, if the center value
is one of the competing values, it becomes the kernel sample value. If not, the first instance of the competing
values becomes the sample value.
For example, in a 3x3 filter window with the following pixel values, the pixel values 3 and 5 each occur three
times. In this case the Mode pixel of the filter kernel is calculated as follows:
Neither 3 nor 5 is at the center of the kernel. The 5 in the top row is encountered first and therefore becomes
the mode value.
1. In the Filter window, enter an X- and Y-filter kernel size in the Filter size spin boxes.
The larger the kernel size, the smoother (more blurred) the image.
2. Click the Low Pass tab.
3. Enable one of the following filter options:
• Average
• Median
• Mode
Note: Image filters are not cumulative. Each filter is applied to the original data stored in the image file.
Table 9:
a1 a2 a3 a4 a5 a6 a7 a8 a9
R = I for Ci less than or equal to CuR = (B*I + SQRT(D))/(2*ALFA) for Cu < Ci < CmaxR = CP for Ci greater
than or equal to Cmax
where:
NLOOK = number of looksVAR = variance in filter windowCP = center pixel gray-level valueI = mean gray-level
in the filter windowCu = 1/SQRT(NLOOK)Ci = SQRT(VAR)/ICmax = SQRT(2)*CuALFA = (1 + Cu**2)/(Ci**2
- Cu**2)B = ALFA - NLOOK - 1D = I*I*B*B + 4*ALFA*NLOOK*I*CP
For the amplitude image, each gray level will be squared before applying the algorithm, and the square root
of the calculated pixel is returned as the final result.
1. In the Filter window, enter an X- and Y-filter kernel size in the Filter size spin boxes.
Use the mode-value information for an image to set up a Gamma filter.
2. Click the Low Pass tab.
3. Enable the Gamma filter option.
4. In the Number of Looks box, enter a value that represents the number of noise-variation calculations of
the radar image that you want to use.
5. In the Image Format list box, choose one of the following:
• Amplitude
• Power
• DB
Note: You must enter correct image mode values for the image data files you are working with. The number
of looks and the image amplitude information is available in the format definition included with your data.
Related Links
Using high-pass filters on page 207
Saving a filtered image to a new file on page 210
Note: In order to filter pixels located near the edges of the image, edge pixel values are replicated to give
sufficient data.
Laplacian Edge Detector Filters
Laplacian Edge Detector Filters generate sharp edge definition of an image. These filters can be used to
highlight edges that have both positive and negative brightness slopes.
The two Laplacian filters have different weight arrangements, as shown below:
Table 10:
Type 1 Type 2
0 1 0 1 -4 1 0 1 0 -1 -1 -1 -1 8 -1 -1 -1 -1
where the sum of all weights = 0
Note: In order to filter pixels located near the edges of the image, edge pixel values are replicated to give
sufficient data.
Sobel Edge Detector Filter
The Sobel Edge Detector Filter creates an image where edges (sharp changes in gray-level values) are
shown. Only a 3x3 filter size can be used with this filter.
This filter uses two 3x3 templates to calculate the Sobel gradient as shown below:
Table 11:
-1 0 1 -2 0 2 -1 0 1 1 2 1 0 0 0 -1 -2 -1
X Y
Table 13:
-1 0 1 -1 0 1 -1 0 1 X
1 1 1 0 0 0 -1 -1 -1 Y
Related Links
Creating custom filters on page 209
Saving a filtered image to a new file on page 210
• Weighted average
• Directional
• Center weighted
Related Links
Saving a filtered image to a new file on page 210
Scaling images
Remote sensing data is structured in 8-bit, 16-bit, and 32-bit formats. There are many instances where you
may need to scale data from a higher to a lower bit depth. For example, you can prepare data for visual
display by scaling it from 16-bit or 32-bit to 8-bit. You can also scale data to a lower bit depth before you
export it to applications that do not support data bits greater than 8. Scaling will let you change 32-bit real
data from a real number to a whole number and you can scale to reduce the size of your imagery. However,
there is a risk of losing information when you scale to reduce file size.
For 8-bit data, the digital numbers (DN) assigned to each pixel are between zero and 255. For 16-bit data,
DNs can fall between zero and 65,535. Because eyes are not sensitive to subtle differences in grayscale or
color, we cannot visually benefit from images composed of thousands of shade variations.
Focus can also perform color and shade scaling to help you control a large range of data values. Scaling an
image often makes the data easier to manage and interpret.
1. From the Maps tree, right-click the layer you want to scale and click Save As.
2. In the Save As window, choose a file from the File list box.
If an output file is not listed, click Browse, locate and select it, and click Save.
3. Choose a format from the Format list box.
If you want to reconfigure a format, click Options and make any changes in the GDB Options Editor.
4. Click Properties.
5. In the Output Layer Properties window, choose a bit-depth for your output from the Output type list box.
Available output types include:
• 8-bit unsigned
• 16-bit signed
• 16-bit unsigned
• 32-bit real
Note: 32-bit Real output is available only if the original input channel is already 32 bit Real. You cannot
save an 8- or 16-bit channel as 32-bit.
6. Choose a scaling method for your output from the Scaling list box.
7. Click OK.
LIN
The linear function scales data values equally from the input range to the output range. Other non-linear
functions also perform compression and/or stretching.
SQR
The square function compresses the lower end of spectrum and stretches the upper end. The image gray
levels are shifted towards the lower end so the image appears darker in comparison to the linearly scaled
result.
ROOT, LOG
The logarithmic and square root functions compress the upper end.The square root is stronger than logarithmic,
so the image is made brighter.
NQ
The automatic normalized quantization method transforms a typical input image of a unimodal histogram into
a near-symmetric, Gaussian-like distribution with the median input level transformed to the mid-point of the
output range. The algorithm applies a smooth nonlinear function to gradually compress the extreme high or
low portions of input range. The middle portion of the data range is mapped with little distortion. This method
is recommended for image quantization to a lower number of gray levels. It is robust in handling 32-bit input
images.
EQ
The equal-area quantization method maps an image to the output range with an equalized output histogram.
For example, each output level has approximately the same number of pixels.
POW
The general power function fine-tunes the amount of compression and shifting each way with a user-supplied
exponent value. If the exponent is greater than 1, the effect is shifting down; if the exponent is less than 1,
the effect is shifting up.
For both the input and output the entire range of digital numbers (DN) is used in determining the range. Using
the Save As feature may be appropriate for scaling to 8-bit data, but situations may arise where you need
control of the input and output range. If this is the case, you must use the SCALE algorithm in the Algorithm
Library.
Running FUSE is similar to running IHS and RGB. IHS separates an RGB channel into three color space
components (intensity, hue, and saturation) and places each in a separate channel. The RGB program can
then be used to convert intensity, hue, and saturation channel output by IHS back to red, green, and blue
channels. The IHS and RGB programs can enhance and control the output colors more easily for any three
channels in an image database file.
In computer imaging, colors are produced as combinations of the additive primary colors (red, green, and
blue). Another means of color definition is in terms of intensity, hue, and saturation.
Intensity is the lightness or darkness of a color. For example, in an axis that is equidistant from the three
primary color axes, which are orthogonal or perpendicular to each other, zero intensity represents black. As
the intensity is increased, the lightness increases and the darkness decreases. Full intensity (for 8-bit data,
this is 255) represents white.
Hue refers to an actual color and is defined as an angle on a circle that is centered and perpendicular to the
intensity axis. For the Hexcone model, zero degrees represents red and hue values cycle through
Red-Green-Blue-Red; whereas, in the Cylinder model, zero degrees represents blue and hue values cycle
in the opposite direction through Blue-Green-Red-Blue. The following table shows the unscaled and scaled
hue values for both IHS models:
Table 15:
Hue Angle Hexcone Unscaled Model Scaled Cylinder Unscaled Model Scaled
Saturation is the amount of color present or the radius of the circle described by the hue. Zero saturation
represents no color and would appear as a gray shade depending on the associated intensity; full saturation
(1.0 for unscaled Hexcone model or 208.2066 for 8-bit unscaled Cylinder model) represents full color.
Full saturation accentuates the RGB components at the expense of other hues, in that other hues peak in
their saturation at less than the maximum possible saturation.
1. With a multispectral and panchromatic images open, open the Algorithm Library, and locate and double-click
FUSE.
2. Select the panchromatic image layer as input to the Intensity Layer.
3. Select the multispectral image layers as input into the Red, Green, and Blue image layers.
4. Click the Input Params 1 tab and choose a type of resampling you want to use from the Resample Mode
list box.
5. Choose a model from the IHS Model list box.
6. Click Run.
An advantage of running IHS and RGB instead of only running FUSE is that you can enhance the output from
IHS individually, and then use the enhanced output in RGB.
comprehend the effects of increasing or decreasing the RGB values. One possible application of IHS is to
produce channels from three input channels, stretch the saturation channel, and then convert the IHS channel
data back to the equivalent RGB channels for video display. The output image would have a better saturation
range without changing the colors of the original image.
The following diagram shows the geometric relationship between the RGB and IHS coordinate systems for
representing color. The hexcone or cylinder is oriented so that the angles between the Intensity axis and the
primary RGB color axes are the same. The Saturation axis is perpendicular to the Intensity axis. Hue is the
angle between the radius of the circle defined by the RGB value and the Saturation axis.
1. With multispectral and panchromatic images open, open the Algorithm Library, and locate and double-click
IHS.
2. Select three image layers from your multispectral file for the red, green, and blue input layers.
3. Click the Input Params 1 tab and choose a type of resampling you want to use from the Resample Mode
list box.
4. Click Run.
5. Open the Algorithm Library, and locate and double-click RGB.
6. Select a high-resolution panchromatic image layer as input for the intensity layer.
7. Select hue and saturation outputs from IHS as the inputs for the hue and saturation input layers.
8. Click the Input Params 1 tab and choose a type of resampling you want to use from the Resample Mode
list box.
9. Specify the output bit depth.
10. Click Run.
color imagery; this means that analysis such as classification can be done on the pansharpened imagery
with the added benefit of higher spatial resolution.
Note: Landsat 7 panchromatic and multispectral data is co-registered at the satellite; therefore, the
geocorrection step is not necessary when using this data.
1. Ensure the panchromatic (PAN) channel and multispectral (MS) channels are co-registered, geo-corrected,
or orthorectified.
2. Open the PAN and MS images.
3. Open the Algorithm Library, and locate and double-click PANSHARP.
4. Choose the PAN image channel from the InputPan port.
The input reference image channels should be selected so that the MS bands cover the frequency range
of the PAN channel as closely as possible.
The channel number given in the table below is the standard ordering on the sensor and may differ from
the order in an actual data file.
5. Select the MS channels to use in the Input port.
The best pansharpening results are obtained from MS channels whose wavelengths lie within the spectral
frequency range of the PAN data.
6. Send the output to the viewer or save it to a new .pix file.
Note: To avoid reducing the radiometric resolution of the data, process and save all the image bands in
signed 16 bits. Testing demonstrated that 16 bits for intermediate data are enough; 32 bits are not necessary.
The following table lists the reference bands for some well-known satellite sensors.
Table 16:
There is only one optional parameter in the InputParams 1 tab. For a description of the No Data image value
parameter, see PANSHARP in the online Help.
The automatic image fusion algorithm was developed by Dr.Yun Zhang from the University of New Brunswick.
For more information and comparative results, see the following references:
• Zhang, Yun. Problems in the fusion of commercial high-resolution satellite, Landsat 7 images, and initial
solutions. ISPRS, Vol. 34, Part 4, Geospatial Theory, Processing and Applications, Ottawa, 2002.
• Zhang, Yun. A new automatic approach for effectively fusing Landsat 7 and IKONOS images.
IEEE/IGARSS'02, Toronto, Canada, June 24-28, 2002.
Table 17:
Category Functions
FieldValue - min, max, mean, sum, mode, std, median,
Attribute Statistics
count, first, last, wgtavg
Channel - min, max, mean, sum, mode, std, median,
Channel Statistics
count
Constants E, PI, 2*PI, PI/2, PI/4
Conversion Rad2Deg, Deg2Rad, Feet2Meters, Meters2Feet
Division Div, Mod
Exponential Exp, Pow, Sq(a), Squr, Sq (a,b), hyp
Extreme Min, max, round, floor, ceil
Hyperbolic Cosh, Sinh, Tanh, ACosh, ASinh, ATanh
Logarithmic Ln, Log, Alog
Random Rand, Seed
Rational If a = b, If a <> b, If a > b, If a < b, If a >= b, If a <= b
Sign Abs, Neg, Sgn
Trigonometric Cos, Sin, Tan, ACos, Asign, Atan, Atan2
@x, @y, @dbx, @dby, @meterx, @metery, @geox,
Special Values
@geoy, @sizex, @sizey
Variables String, integer, float, double
The Raster Calculator can be used in either basic or advanced mode. Advanced mode provides more category
and function options and allows you to choose from several attributes that can be used in your
calculations.When you use the Raster Calculator, new output layers are added to the Focus window.
Expression
The Expression menu lets you start a new expression, open a saved expressions, export an expression as
and EASI file (.eas), and run an expression on chosen data.
New:
Starts a new Expression sessions.
Open:
Opens saved expressions.
Save:
Opens the New Expression Name window to save an expression.
Save As:
Opens the New Expression Name window to either save an expression or save an expression with a new
name.
Export to EASI:
Opens the File to Save window to save an expression using the EASI file format (.eas)
Run:
Runs the expression you are working with on the data you have selected in the Channels and Bitmaps list.
(See Channels and Bitmaps)
Run and Close:
Runs your expression and closes the Raster Calculator.
Close Window:
Closes the Raster Calculator.
Edit
The Edit menu lets you work with the text in the Expression area. You can undo text edits, cut, copy, paste,
and delete text in your expression.
Undo:
Cancels the last action within the Expression area.
Cut:
Cuts selected text in the Expression area.
Copy:
Copies the selected text in the Expression area.
Paste:
Pastes cut or copied text at the cursor location.
Delete:
Deletes selected text in the Expression area.
Select All:
Selects all the contents of the Expression area.
View
The View menu lets you choose either basic or advanced mode for the Raster Calculator.
Basic:
Changes the Raster Calculator to Basic mode.
Advanced:
Changes the Raster Calculator to Advanced mode.
Expression
The Expression area shows the numeric values and the expressions used in a calculation. You can add
values and, in Advanced mode, you can add expressions by selecting a category and choosing a function.
Input:
Lets you choose file data and specify the layers of a file.
Browse:
Opens the File Selector window.
Channels and Bitmaps:
Lets you choose a channel or bitmap from the list for the expression.
Attributes:
Lists the attributes in the data.
Calculator keys
The Raster Calculator Keys include most standard calculator keys and numbers. In Advanced view, additional
functions are available. Advanced functions are divided into 15 categories.
Categories:
Lets you choose a category of functions you can use in your expression.
Functions:
Lists the functions for the category you have chosen.
Output parameters
The Output Parameters area lets you set the parameters for your Expression output data.
Single Value:
Gives a numerical output value. When you disable the check box, the Mask, Type, Display, and Save options
are available.
Mask:
Lets you choose a bitmap mask from within your source data.
Type:
Lets you choose the bit depth of your output raster data.
Display:
Shows the output of your expression in the view pane.
Save:
Saves the output to a selected file and layer.
Display Saved Results:
Opens your results in the view pane after you have run an expression.
File:
Lets you choose a target output file.
Browse:
Opens a File Selector window, where you can choose a target output file.
Layer:
Lets you select a target output channel.
Status bar:
Reports single-value results and the status of an expression.
Many of the same formatting rules for EASI Modeling apply to the Raster Calculator.
Related Links
Opening the EASI Modeling window on page 221
1. From the Files tree, right-click a file and click New and then click Image Layer (or Bitmap Layer).
2. From the Tools menu, click EASI Modeling.
3. In the EASI Modeling window, from the Input File list, choose an input file from the Input File list box.
4. Click in the model box and type a model (for example, %12=(%1-%2)/(%1+%2);).
If you want to display the model results in the view pane, enable the Display Result check box.
5. Click one of the following buttons:
• Run: executes the model
• Clear: clears the model box
• Load: opens an existing model with files using the .eas file name extension
• Save: saves the model to a text file using the .eas file name extension
%%2 = 0
endif
The possible comparison and logical functions are:
a > b a greater than b
a < b a less than b
a = b a equals b
a <> b a not equal b
a <= b a less than or equal b
a >= b a greater than or equal b
a OR b a is true or b is true
a AND b a is true and b is true
!a a is not true
You can also use brackets to ensure operations take place in the expected order.
Detailed Examples
In the following example, a 'Vegetative Index' calculation using image layers 1 and 2 is performed and the
results are saved to image layer 13 of the same file. Next, a 32-bit real image layer is added to the sample
data file 'irvine.pix' to store the results.
• From the Files tree, right-click irvine.pix and click New and then click Image Bitmap Layer.
To view the results in the view pane, enable the Display Results check box.
if
(%1 < 55) and (%2 < 55) and (%3 < 55)
then
%%33 = 1
else
%%33 = 0
endif
The demo file irvine.pix does not contain a black 'no data' area outside the image. For the purpose of the
following example, a digital number of less than 55 in image layers 1, 2, and 3 was used to create the bitmap
layer. If you are creating an actual mask for the 'no data' area, you use (%1 = 0) and (%2 = 0) and (%3 = 0)
in the IF statement.
if
%%33=1
then
%1=255
%2=255
%3=255
endif;
Create a white grid on an RGB image:
if
(mod(@geox,1000)<=@sizex) or (mod(@geoy,1000)<=abs(@sizey))
then
%1 = 255
%2 = 255
%3 = 255
else
%1 = %1
%2 = %2
%3 = %3
endif
See Special Variables for details on the use of @geox/ @geoy & @sizex/ @sizey.
Blending examples
Create an image which smoothly blends image layer 1 into image layer 2 as you move across the image.
The output is placed in image layer 8.
%8 = ((@x-1)/@dbx)*%2 + ((@dbx-@x)/@dbx)*%1
Create a gray level ramp of 0 to 255 across an image layer.
%8 = ((@x-1)*255) / @dbx
Perform a 3x3 smoothing filter on image layer 8. Back slashes are used to extend a statement over multiple
lines. Also note that the Algorithm Library program FAV performs this operation more efficiently.
The first case is the image layer sign (%) followed by a literal numeric value, such as 1, 2 or 3, indicating
layer 1, 2, or 3 of the implicit database (such as the input file). The second example is similar, but the image
layer number may be a numeric expression that is evaluated to be the image layer number.
The third case is more general yet. The file_spec may be a database file name or a file handle returned by
DBOpen(), and the image layer number is evaluated as an expression('n').
For simple models, you cannot reference files other than the input file selected from the list box. EASI Modeling
generally operates on a single file for both input and output. For example, you cannot run the following model
if your input file is D:\Geomatica_V82\demo\irvine.pix.
%13 = %{"D:\Geomatica_V82\demo\eltoro.pix", 1}
However, you can override this by using the DBOpen() function to open any number of database files. To
copy image layer 1 from eltoro.pix to image layer 12 in irvine.pix:
local integer fdinput, fdoutput
fdinput = DBOpen("D:\Geomatica_V82\demo\eltoro.pix", "r")
fdoutput = DBOpen( "D:\Geomatica_V82\demo\irvine.pix", "r+")
%{fdoutput,13} = %{fdinput,1};
call DBClose(fdinput)
call DBClose(fdoutput)
The irvine.pix file is 512x512 and eltoro.pix is 1024x1024. The previous operation copies image layer 1 of
eltoro.pix to image 13 of irvine.pix, but because irvine.pix is the implicit database (such as the input file),
the area of operation is 0, 0, 512, 512; only the top left quarter of eltoro.pix is copied into channel 13 of
irvine.pix.
The second part of the image layer specification is an optional subscript specification. In the above case, the
default subscript specification used is x --> x, y --> y. The subscript specification allows you to indicate the
pixel that should be operated on for the current value of X and Y, and may be given as an expression.
The following example assigns a sampled copy of eltoro.pix to irvine.pix. The @x and @y symbols are the
current pixel location when the expression is evaluated for each pixel.
local integer fdinput, fdoutput
fdinput = DBOpen( "D:\Geomatica_V82\demo\eltoro.pix", "r")
fdoutput = DBOpen( "D:\Geomatica_V82\demo\irvine.pix", "r+")
%{fdoutput,13} = %{fdinput,1}(@x*2+1,@y*2+1);
call DBClose(fdinput)
call DBClose(fdoutput)
X and Y vary from 0 to 511 as the implicit window of operation is 0, 0, 512, 512... the area of irvine.pix.
However, image layer 1 of eltoro.pix is sampled for values of 1 to 1023. As @x and @y value from 0 to 511,
the expression @x*2+1 varies from 1 to 1023.
It is also legal for the subscript expressions to extend of the source database. In this case image values from
the edge of the database are replicated out as far as is needed to satisfy requests. Thus, a simple filter such
as example 6 above the following will work in a reasonable manner, even on the edge of the database.
Bitmap Layer Variables
Bitmaps layers are basically one bit deep image layers, used primarily to serve as masks for regions where
operations are to take place and may be specified in a manner very similar to image layers. All the rules
previously indicated for image layers also apply to bitmap layers, except that the variables are prefixed with
two percent characters instead of one. Also, the index number is the segment number of the bitmap layer to
be used.
if
(%1 < 25 and %2 < 25)
then
%%2 = 1
else
%%2 = 0
endif
if
(%%2 = 1 and %%3 = 0)
then
%1 = 0
%2 = 0
endif
Special Variables
Allow access to information about the size and georeferencing information of channels being operated on
and the position of the current pixel. The following special variables may be treated as elements in modeling
expressions.
• @x current x (pixel) processing location
• @y current y (line) processing location
• @dbx size of database in x (pixel) direction
• @dby size of database in y (line) direction
• @meterx size of a pixel in x direction in meters
• @metery size of a pixel in y direction in meters
• @geox x georeferenced center of current pixel
• @geoy y georeferenced center of current pixel
• @sizex x size of a pixel in georeferenced units
• @sizey y size of a pixel in georeferenced units
Note that @x, @y, @geox and @geoy change value for each pixel processed, while @dbx, @dby, @meterx,
@metery, @sizex and @sizey remain constant over the whole image.
It is usually necessary to use the @x and @y special variables when constructing subscript expressions for
channel expressions. For example, the following assignment would mirror an image across a vertical center
line. The @dbx is used in computing the center line.
%2 = %1[@dbx-@x+1,@y]
Numeric Expressions
Numeric expressions in EASI are normally operated on in double precision floating point. Values with less
precision are promoted to double precision before operations are performed.
A wide set of built-in operations are available in numeric expressions and are listed below with a short
description.
• a + b Addition
• a - b Subtraction
• a * b Multiplication
• a / b Division
• a ^ b Exponentiation
• ( a ) Parenthesis, also square brackets [].
• - a Unary negation
•
A numeric element can be any of the following:
• A numeric constant.
• An EASI variable of type byte, int, float or double.
• An element of a numeric variable array.
• A numeric intrinsic function.
• A numeric user defined function.
• A subscripted numeric parameter.
Numeric constants can be entered as decimal or scientific notation numbers with an optional negative sign.
Scientific notation is denoted with the 'E' or 'D' character; for example 123000 can be written as 1.23e5, 1.23
* 10 ^ 5
Comparison and logical functions
• a > b a greater than b
• a < b a less than b
• a = b a equals b
• a <> b a not equal b
• a <= b a less than or equal b
• a >= b a greater than or equal b
• a OR b a is true or b is true
• a AND b a is true and b is true
• !a a is not true
Example
if
(%1 = 255) and (%2 = 255) and (%3 = 255)
then
%%2 = 1
else
%%2 = 0
endif
Logical expressions
Logical expressions in EASI are used to compute TRUE/FALSE results for use with the IF and WHILE
conditional statements. There is currently no way to store a pure logical value in an EASI variable. Logical
expressions consist of comparisons between numeric and string expressions combined with the use of the
logical operations AND, OR, and NOT.
The equality and inequality tests may be used with two numeric expressions. The equal sign ('=') is used to
test for equality, while inequality is tested with '<>' or '!='.
Examples
If( %1 = 0 )
then
...
while( flag <> 1 )
...
The '>', '<', '>=' and '<=' operations may only be performed on numeric expressions.
Examples:
Examples:
if( A = 1 AND B = 1 )
then
...
endif
if( A = 1 & b = 1 )
then
...
endif
The IF statement is used to conditionally execute statements.
IF( logical_expression )
THEN
statement_list
[ELSEIF( logical_expression )
THEN
statement_list]
[ELSE
statement_list]
ENDIF
• logical_expr: a logical expression as described in 'Logical Expression'
• statement_list: a list of one or more statements
Each logical_expression is evaluated in turn until one of them evaluates to be true. When one is true, the
corresponding statement_list will be executed, and control will continue beyond the ENDIF. If none of the
logical expressions is true and an ELSE clause exists, the associated statement_list will be executed.
The WHILE command provides a general purpose looping construct.
WHILE( log_expr )
statement_list
ENDWHILE
• log_expr: a logical expression which is evaluated before each iteration of the loop
The logical expression in the WHILE statement is evaluated. If the result is true, the statement list is executed;
otherwise, control skips to the statement following the ENDWHILE. Once the statement list has been executed,
control returns to the WHILE statement to test the logical expression again.
It is possible to jump into, or out of, the WHILE loop using the GOTO statement, but this is poor style and
may not work in future versions of EASI.
The FOR command provides a simple looping construct over a series of numeric values.
Example:
The following example runs the task CLR on the first 128 channels of the PCIDSK file irvine128.pix in groups
of 16 channels at a time.
local i,j
valu = 0
file="C:\Geomatica_V82\demo\irvine128.pix"
for i = 1 to 128 by 16
for j = 1 to 16
dboc(j) = i + j - 1
endfor
run clr
endfor
Multiple statements
Multiple statements may be placed on the same line by separating the statements with a statement separator.
The back slash and semi-colon characters can be used interchangeably for this purpose. A line of input may
be almost any length.
Examples
File = "C:\Geomatica_V82\demo\irvine.pix" \ run clr
File = "C:\Geomatica_V82\demo\irvine.pix"; run clr
Single Statements
You may split very long statements over multiple lines by placing a back slash character, not a semi-colon,
at the end of each incomplete line.
Note: For GDB formats, select the GDB keyfilename to open in Focus.
To retrieve the sensor metadata and information about image acquisition, import your images from the compact
disk (CD) using the appropriate CD-read algorithm. Most sensors have a specific CD-read algorithm that
creates a PCIDSK file, imports the imagery channels from the CD, extracts the metadata, and saves the
satellite path information in a segment. When you prepare your imagery this way, Focus can automatically
set or calculate several parameters when you configure the atmospheric correction workflows.
The number and types of bands on the CD depends on the sensor used to capture the data. Typically, the
visible, thermal, and panchromatic bands are in different resolutions. Some sensors may not provide thermal
or panchromatic bands. Read the bands of the same resolution at the same time into one file.
For example, Landsat 7 data usually has eight bands: bands 1 to 5 and 7 are the visible wavelengths with a
30-meter resolution, band 6 contains two thermal wavelengths with a 60-meter resolution, and band 8 is the
panchromatic with a 15-meter resolution. You would use the CDLAND7 algorithm to read bands 1 to 5 and
7 into a file, then band 6 into a file, and then band 8 into a file. If you do not intend to use the thermal or
panchromatic bands in the atmospheric correction process, you do not need to read those bands into a file.
The CD-read algorithms are available through EASI, Modeler, and Focus.
To retrieve metadata using CD-read algorithms in Focus:
1. From the main Focus menu, select Tools > Algorithm Librarian.
2. Under PCI Predefined, expand the Data Interchange folder, then open the CD Reading/Utilities folder.
3. Select the appropriate CD-read algorithm for the sensor data.
4. Click Open to display the control panel for the algorithm.
5. Enter the required information on the Files and Input Parameters tabs.
6. Click Run.
7. Repear the procedure for each set of bands with the same resolution.
1. From the Atmospheric Correction workflows Tree List, select Sensor and image settings
The Sensor and image settings panel appears.
2. In the Input Image Files section, click the down arrow beside the Multispectral field to display the
multispectral files available in the open Focus data set. Alternatively, click Browse to select a file.
The wizard automatically populates the following workflow fields using the metadata tags from the input
multispectral file:
• Sensor type: PlatformName
• Acquisition Date: Acquisition_Date or Acquisition_DateTime
• Solar zenith: AngleOfSolarElevation or SolarZenith
• Solar azimuth: SolarAzimuth
• Calibration coefficients and Band Setup: MinWavelength, MaxWavelength, WavelengthUnits,
RadiometricTransOffset, RadiometricTransGrain, RadiometricTransUnits , all at the channel level
Note: If the RadiometricTransUnits tag is missing, units are assumed to be mW.cm-2.sr-1.um-1
3. Optionally, specify the path and file name of the associated Panchromatic file, or click Browse to select
the file.
If the specified sensor does not provide a panchromatic image, this field is disabled.
4. If the input file does not contain the appropriate metadata, you must calculate the solar zenith and azimuth
values according to the image’s acquisition date, time, and nominal scene center.
From the Sensor Information section, click Calculate to display the Solar Calculation window, and
enter the required information:
• Calculate solar angles
5. If the input file does not contain the appropriate metadata, the Calibration coefficients source field
defaults to Manual Entry.You must either manually enter the required information, or import the data from
a text file.
• Manually enter calibration information
• Import calibration information from a file
Note: You must verify all calibration coefficients before proceeding to another workflow. If you skip this
step and this information is not available through metadata, the calibration offset and gain are assumed
to be 0 and 1 respectively. These values are acceptable for haze removal, but will produce incorrect results
for the TOA, cloud masking, ground reflectance, and surface temperature calculations.
6. In the Output Files section, specify the location of the output folder.
Click Browse to open the File Selector window, or type the path directly in the Folder field.
The specified directory will receive all output files from any of the atmospheric correction workflows. The
directory must already exist and must be write-enabled.
Related Links
Calculating solar angles on page 234
Editing an existing calibration file to create a new file on page 235
Manually entering calibration coefficients on page 234
Importing calibration coefficients from a file on page 235
Related Links
Specifying sensor and image settings on page 233
1. From the Radiometric Information section’s Calibration coefficients source drop-down list, select
Manual Entry.
Related Links
Specifying sensor and image settings on page 233
1. From the Radiometric Information section’s Calibration coefficients source drop-down list, select
Import from Text File.
2. Click the down arrow beside the Text file (multispectral) field to display the calibration files available in
the open Focus data set. Alternatively, click Browse to select a file.
The atcor\cal\ folder in the Geomatica installation directory contains sample calibration files for each
supported sensor.
If you provide a different calibration file, ensure that it has the same format and units as the sample files
provided for the specified sensor. For more information, see Editing an existing calibration file to create
a new file on page 235.
The application reads the calibration coefficients from the specified text file and populates the offset and
gain in the Band Setup window.
3. If you specified a panchromatic input image file, click the down arrow beside the Text file (panchromatic)
field to specify a calibration coefficients text file.
4. Click Band Setup.
The Band Setup window is automatically populated with the information from the input text file.
5. Verify the Offset, Gain, Channel, and Background Value for each band, making any necessary changes.
6. Click OK to close the Band Setup window and return to the atmospheric correction workflow.
Related Links
Specifying sensor and image settings on page 233
Editing an existing calibration file to create a new file on page 235
When you complete an Atmospheric Correction workflow, you can use one of the standard calibration files.
If your correction is not producing expected results, compare the calibration coefficients (gain and bias values)
in your data's metadata file to those in the calibration file. If the values are significantly different, you can
create your own calibration file specific to your data.
The calibration file contains a table of the bands, the gain value (c1) and the bias (c0) value for each band.
The atmospheric correction workflows use mW/cm-2 sr-1 micron-1 as the radiance unit for each band. Because
the sensors may use a different radiance unit, you may need to convert the values.
For example, some calibration coefficients are measured in W m-2 sr-1 micron-1. To convert it to the ATCOR
radiance value, you multiply the values in the metadata file by 0.1.
1. Open a standard calibration file for the sensor appropriate for your data.
Standard calibration files are located in the atcor\cal directory of your Geomatica installation.
2. Open the metadata file that came with your data.
3. If required, convert the values from the metadata file to ATCOR radiance units:
-2 -1
• mW/cm sr micron-1
4. Replace the bias and gain values for each band with the converted values from the metadata file.
5. Save as a new file with the .cal extension in the atcor\cal folder for the appropriate sensor.
Related Links
Specifying sensor and image settings on page 233
Importing calibration coefficients from a file on page 235
the settings. Note, however, that all workflows apply to the same data set; specifying a new input data set
in another workflow will overwrite the existing information.
3. Select another workflow, or click Close to close the Atmospheric Correction window.
1. From the Atmospheric Correction workflows Tree List, select Sensor and image settings
The Sensor and image settings panel appears.
2. In the Input Image Files section, click the down arrow beside the Multispectral field to display the
multispectral files available in the open Focus data set. Alternatively, click Browse to select a file.
The wizard automatically populates the following workflow fields using the metadata tags from the input
multispectral file:
• Sensor type: PlatformName
• Acquisition Date: Acquisition_Date or Acquisition_DateTime
• Solar zenith: AngleOfSolarElevation or SolarZenith
• Solar azimuth: SolarAzimuth
• Calibration coefficients and Band Setup: MinWavelength, MaxWavelength, WavelengthUnits,
RadiometricTransOffset, RadiometricTransGrain, RadiometricTransUnits , all at the channel level
Note: If the RadiometricTransUnits tag is missing, units are assumed to be mW.cm-2.sr-1.um-1
3. Optionally, specify the path and file name of the associated Panchromatic file, or click Browse to select
the file.
If the specified sensor does not provide a panchromatic image, this field is disabled.
4. If the input file does not contain the appropriate metadata, you must calculate the solar zenith and azimuth
values according to the image’s acquisition date, time, and nominal scene center.
From the Sensor Information section, click Calculate to display the Solar Calculation window, and
enter the required information:
• Calculate solar angles
5. If the input file does not contain the appropriate metadata, the Calibration coefficients source field
defaults to Manual Entry.You must either manually enter the required information, or import the data from
a text file.
• Manually enter calibration information
• Import calibration information from a file
Note: You must verify all calibration coefficients before proceeding to another workflow. If you skip this
step and this information is not available through metadata, the calibration offset and gain are assumed
to be 0 and 1 respectively. These values are acceptable for haze removal, but will produce incorrect results
for the TOA, cloud masking, ground reflectance, and surface temperature calculations.
6. In the Output Files section, specify the location of the output folder.
Click Browse to open the File Selector window, or type the path directly in the Folder field.
The specified directory will receive all output files from any of the atmospheric correction workflows. The
directory must already exist and must be write-enabled.
Related Links
Calculating solar angles on page 234
Editing an existing calibration file to create a new file on page 235
Manually entering calibration coefficients on page 234
Importing calibration coefficients from a file on page 235
1. From the Atmospheric Correction Workflows Tree List, select Haze and cloud masking.
The Haze and Cloud Masking panel appears.
2. In the Cloud Masking section, specify the Lowest and Highest reflectance threshold values, (%) to
calculate the cloud mask using reflectance in the blue or green bands of the input scene.
Do one of the following:
• Manually enter the Lowest and Highest threshold values (1-100%). Enter the lowest and highest values
for the clouds, from your TOA reflectance output image.
• Import the cloud masks from a file: click the down arrow in the Import from File field to select a pix
file that contains an existing cloud mask. If applicable, select the layer that contains bitmaps defining
the clouds. The file must be in a GDB-supported format, and must be reprojectable.
• Select Omit to disable the cloud masking operation (for example, if your image contains no clouds, or
if you want to skip the cloud masking process).
3. In the Water Masking section, specify the Highest in NIR and Highest in SWIR reflectance threshold
values, (%) to calculate the water mask using reflectance in the NIR and SWIR bands of the input scene.
Do one of the following:
• Manually enter the Highest in NIR and Highest in SWIR threshold values (1-100%).
• Import the water masks from a file: click the down arrow in the Import from File field to select a pix
file that contains an existing water mask. If applicable, select the layer that contains bitmaps defining
the water bodies. The file must be in a GDB-supported format, and must be reprojectable.
• Select Omit to disable the water masking operation.
4. To remove haze from the input scene, select the Perform Haze Removal checkbox.
5. In the Haze Cover Percentage field, specify the percentage of the image that is covered in haze.
6. In the Apply haze correction for bands under field, specify the maximum wavelength of the band on
which to apply haze removal. The default is 0.85 micrometers.
1. Ensure that all workflow fields are properly filled and accurate.
When all the required settings are specified, the workflow task entry in the Tree List displays a green
bullet.
2. Click Run to calculate the Haze Removal operation.
A progress monitor appears, indicating the running processes. When the operation is complete, a new
HazeRemoved layer appears in the Focus Tree List, along with the generated cloud and water masks.
The information set in the workflow tasks (Sensor and image settings and Haze and cloud masking)
is shared with all other Atmospheric Correction workflows, allowing you to reuse the same information to
perform other tasks without having to re-specify the settings. Note, however, that all workflows apply to
the same data set; specifying a new input data set in another workflow will overwrite the existing information.
3. Select another workflow or a different image, or click Close to close the Atmospheric Correction window.
1. From the Atmospheric Correction workflows Tree List, select Sensor and image settings
The Sensor and image settings panel appears.
2. In the Input Image Files section, click the down arrow beside the Multispectral field to display the
multispectral files available in the open Focus data set. Alternatively, click Browse to select a file.
The wizard automatically populates the following workflow fields using the metadata tags from the input
multispectral file:
• Sensor type: PlatformName
• Acquisition Date: Acquisition_Date or Acquisition_DateTime
• Solar zenith: AngleOfSolarElevation or SolarZenith
• Solar azimuth: SolarAzimuth
• Calibration coefficients and Band Setup: MinWavelength, MaxWavelength, WavelengthUnits,
RadiometricTransOffset, RadiometricTransGrain, RadiometricTransUnits , all at the channel level
Note: If the RadiometricTransUnits tag is missing, units are assumed to be mW.cm-2.sr-1.um-1
3. Optionally, specify the path and file name of the associated Panchromatic file, or click Browse to select
the file.
If the specified sensor does not provide a panchromatic image, this field is disabled.
4. If the input file does not contain the appropriate metadata, you must calculate the solar zenith and azimuth
values according to the image’s acquisition date, time, and nominal scene center.
From the Sensor Information section, click Calculate to display the Solar Calculation window, and
enter the required information:
• Calculate solar angles
5. If the input file does not contain the appropriate metadata, the Calibration coefficients source field
defaults to Manual Entry.You must either manually enter the required information, or import the data from
a text file.
• Manually enter calibration information
• Import calibration information from a file
Note: You must verify all calibration coefficients before proceeding to another workflow. If you skip this
step and this information is not available through metadata, the calibration offset and gain are assumed
to be 0 and 1 respectively. These values are acceptable for haze removal, but will produce incorrect results
for the TOA, cloud masking, ground reflectance, and surface temperature calculations.
6. In the Output Files section, specify the location of the output folder.
Click Browse to open the File Selector window, or type the path directly in the Folder field.
The specified directory will receive all output files from any of the atmospheric correction workflows. The
directory must already exist and must be write-enabled.
Related Links
Calculating solar angles on page 234
Editing an existing calibration file to create a new file on page 235
Manually entering calibration coefficients on page 234
Importing calibration coefficients from a file on page 235
1. From the Atmospheric Correction Workflows Tree List, select Haze and cloud masking.
The Haze and Cloud Masking panel appears.
2. In the Cloud Masking section, specify the Lowest and Highest reflectance threshold values, (%) to
calculate the cloud mask using reflectance in the blue or green bands of the input scene.
Do one of the following:
• Manually enter the Lowest and Highest threshold values (1-100%). Enter the lowest and highest values
for the clouds, from your TOA reflectance output image.
• Import the cloud masks from a file: click the down arrow in the Import from File field to select a pix
file that contains an existing cloud mask. If applicable, select the layer that contains bitmaps defining
the clouds. The file must be in a GDB-supported format, and must be reprojectable.
• Select Omit to disable the cloud masking operation (for example, if your image contains no clouds, or
if you want to skip the cloud masking process).
3. In the Water Masking section, specify the Highest in NIR and Highest in SWIR reflectance threshold
values, (%) to calculate the water mask using reflectance in the NIR and SWIR bands of the input scene.
Do one of the following:
• Manually enter the Highest in NIR and Highest in SWIR threshold values (1-100%).
• Import the water masks from a file: click the down arrow in the Import from File field to select a pix
file that contains an existing water mask. If applicable, select the layer that contains bitmaps defining
the water bodies. The file must be in a GDB-supported format, and must be reprojectable.
• Select Omit to disable the water masking operation.
4. To remove haze from the input scene, select the Perform Haze Removal checkbox.
5. In the Haze Cover Percentage field, specify the percentage of the image that is covered in haze.
6. In the Apply haze correction for bands under field, specify the maximum wavelength of the band on
which to apply haze removal. The default is 0.85 micrometers.
1. From the Atmospheric Correction workflows Tree List, select Illumination conditions.
This task is available only for the ATCOR Ground Reflectance and ATCOR Surface Temperature workflows.
5. Specify options in the Illumination Map section to calculate the illumination and shadow information.
Do one of the following:
• Select Calculate to automatically calculate the illumination map and shadows.
• Select From File to import the values from a file, or click Browse to select a file. Click the down arrow
to select the file that contains the illumination values, then select the layer that contains the Illumination
map channel.
• Optionally select the bitmap layer that contains the shadow data.
The shadow file contains a layer that includes both self-shadowing and cast shadow effects. In the
layer, the shadows are represented by a pixel value of 0 and the rest of the pixels are given a value
of 1. The self-shadowing effect is caused by pixels from areas facing away from the sun which are on
slopes steeper than the solar elevation angle. Cast shadows are areas in shadow due to objects
blocking the sun. The shadow file is used as a mask so that shadows are excluded from the atmospheric
correction process.
Related Links
Specifying DEM settings on page 241
1. From the Available Layers list, select the layer that contains the digital elevation model.
2. Set the Background value: the value that indicates which pixels are to be handled as No Data.
If this value is not specified through the parameter or found in the metadata, all pixels of the DEM are
assumed to be valid.
3. Specify the Elevation scale: the elevation scale used by the DEM.
If this value is not specified through the parameter or found in the metadata, its value defaults to 1.0,
indicating that the scale is 1:1.
4. Specify the Elevation offset: the elevation offset used by the DEM.
If this value is not specified through the parameter or found in the metadata, the offset defaults to 0.0,
indicating that there is no offset.
5. Specify the Elevation units: the units used to describe the elevation values of the input DEM file.
If this value is not specified through the parameter or found in the metadata, its value defaults to METER.
Available units are:
• METER
• FEET
6. Specify the Elevation reference: the vertical reference for the elevation values.
If this value is not specified through the parameter or found in the metadata, it is assumed to be MSL.
Available options are:
• Mean Sea Level: elevations are referenced to Mean Sea Level
• Ellipsoidal: elevations are referenced to the ellipsoid
7. Click DEM Info to verify if the DEM has negative values or NoData values defined through the metadata.
8. Click OK to close the DEM File window.
Related Links
Specifying elevation and illumination conditions on page 240
1. From the Atmospheric Correction workflows Tree List, select Visibility and ground reflectance.
This task is available only for the ATCOR Ground Reflectance and ATCOR Surface Temperature workflows.
The Visibility and ground reflectance panel appears.
2. In the Atmospheric Information section, specify the Aerosol Type for the image.
For more information, see About aerosol types on page 244.
3. From the Conditions list, specify the standard atmosphere present when the image was taken.
By default, the atmospheric condition is estimated based on the image acquisition date and center
coordinates. For more information, see About standard atmospheres on page 245.
4. The Sensor tile angle field is available only when the specified sensor provides tilt capability. This field
is automatically populated using the image’s AcrossTrackAngle metadata tag.
If this metadata is not available, specify the tilt angle in decimal degrees.
5. The Satellite Azimuth angle is required for sensors with a tilt angle greater than 3 degrees. The satellite
azimuth angle describes the satellite's horizontal position relative to the center of the scene; for example,
North = 0 degrees, East = 90 degrees, South = 180 degrees, West = 270 degrees.
This field is automatically populated using the image’s SatelliteAzimuth metadata tag. If this metadata is
not available, specify the Satellite azimuth angle in decimal degrees.
6. Specify options in the Visibility Map section to specify the atmospheric conditions at the time the image
was taken.
By default, the ATCOR workflows use a constant visibility of 30 km. You may also calculate a visibility
map for varying atmospheric conditions (if the red and NIR bands are provided), or specify an existing
visibility file.
Note: When the varying visibility map is required but insufficient reference pixels are found, the workflow
automatically uses a constant visibility.
Do one of the following:
• Select Use constant visibility to specify a constant visibility value. This value can be modified up 180
km, in 1 km increments.
• Select Calculate (spatially varying conditions) and click Settings to calculate a visibility map for
varying conditions. The program will compute a visibility map for the scene, using Dark Vegetation
pixels. These are defined based on NDVI and top-of-the-atmosphere reflectance in the red band.
• Specify the Varying Visibility settings
• Select Use existing file to specify a file that contains the visibility values. This specified file must be
reprojectable to the image, and the image must be fully contained within the visibility map.
7. Specify the Reflectance Conditions to perform terrain correction during atmospheric correction.
Do the following:
a) Select Correct for adjacency effects to specify the range of correction values to apply to the adjacency
effect.
• Specify the Kernel size for the correction. Available values are odd numbers from 3-39 pixels. For
more information, see About adjacency on page 247.
• In the Iterations field, specify the number of times to apply the adjacency effects correction. Available
values are 1, 2, and 3.
8. In the Output section, specify whether to scale the output reflectance units. If selected, the calculated
output will be multiplied by the specified Scale factor.
9. If you select the Scale output option, specify the Scale factor by which to multiply the output.
By default, the output is not scaled.
10. Optionally select the Compute value-added products option.
Selecting this option generates the following raster layers during the atmospheric correction process:
• Soil-Adjusted Vegetation Index (SAVI): uses the red and near-infrared bands to measure the density
and vigor of green vegetation by attempting to eliminate the reflectivity of the ground beneath the
canopy
• Leaf-Area Index (LAI): calculates the green-leaf density
• Fraction of Absorbed Radiation (FPAR): calculates the amount of photosynthetically active radiation
absorbed by plant canopy
• Surface Albedo: calculates wavelength-integrated surface reflectance
• Absorbed Solar Radiation: calculates the shortwave solar radiation absorbed by the surface
Related Links
Specifying BRDF settings on page 247
Related Links
Specifying visibility and ground reflectance on page 242
Related Links
Specifying visibility and ground reflectance on page 242
About visibility
Visibility, or optical depth, is a meteorological statistic that calculates the opacity of the atmosphere at a certain
time and place. It measures the furthest distance that a person can see a prominent object. In Focus, the
range is between 5 and 180 kilometers.
Focus uses the value set in the Visibility and ground reflectance atmospheric correction workflow.
When you select the Use Constant Visibility option, Focus uses the specified visibility value as a constant
for each pixel in the image. When you select the Calculate (Spatially Varying Conditions) option, Focus
calculates the visibility for each pixel in the image based on the reflectance of dark vegetation. When you
specify the Use Existing File option, Focus uses the information in the specified visibility map file. The
calculation results in a visibility layer that is a temporary PCIDSK (.pix) file with its default file name being the
the original file name prefixed with 'visibility_'.
Visibility is used to more accurately specify the atmospheric conditions at the time the image was taken. If
the metadata included with the image does not contain the visibility data, you can obtain it from the following
sources:
• USA: http://www.noaa.gov/wx.html
• Canada: http://www.weatheroffice.ec.gc.ca/canada_e.html
The generated visibility map contains a visibility index value, which maps to the visibility as follows:
visext[0] = 190.0;
visext[1] = 120.0;
visext[2] = 87.0;
visext[3] = 68.5;
visext[4] = 56.5;
visext[5] = 48.0;
visext[6] = 42.3;
visext[7] = 37.2;
visext[8] = 33.0;
visext[9] = 30.1;
visext[10]= 27.3;
visext[11]= 25.2;
visext[12]= 23.3;
visext[13]= 21.7;
visext[14]= 20.2;
visext[15]= 18.9;
visext[16]= 17.7;
visext[17]= 16.7;
visext[18]= 15.8;
visext[19]= 14.9;
visext[20]= 14.2;
visext[21] = 13.5;
visext[22] = 12.9;
visext[23] = 12.3;
visext[24] = 11.8;
visext[25] = 11.3;
visext[26] = 10.8;
visext[27] = 10.4;
visext[28] = 10.0;
visext[29] = 9.9;
visext[30] = 9.2;
visext[31]= 8.86;
visext[32]= 8.52;
visext[33]= 8.22;
visext[34]= 7.93;
visext[35]= 7.67;
visext[36]= 7.42;
visext[37]= 7.18;
visext[38]= 6.96;
visext[39]= 6.75;
visext[40]= 6.56;
visext[41]= 6.37;
visext[42]= 6.20;
visext[43]= 6.03;
visext[44]= 5.87;
visext[45]= 5.72;
visext[46]= 5.58;
visext[47]= 5.44;
visext[48]= 5.31;
visext[49]= 5.19;
visext[50]= 5.07;
visext[51]= 4.96;
visext[52]= 4.85;
visext[53]= 4.75;
visext[54]= 4.65;
visext[54]= 4.65;
visext[55]= haze;
visext[57]= clouds;
Related Links
Specifying visibility and ground reflectance on page 242
About adjacency
Adjacency is the radiation reflected from the neighborhood and scattered energy into the viewing direction.
The effect is a result of atmospheric scattering, and depends on the reflectance contrast between a target
pixel and its large-scale neighborhood, and decreases with wavelength. It reduces the apparent surface
contrast by decreasing the top-of-the-atmosphere radiance over bright pixels and increasing the brightness
of the dark pixels.
The adjacency effect causes a certain amount of blurring, known as crosstalk. This effect is often noticeable
at the boundary of adjacent features; for example, roads passing through a forest may appear blurred. The
adjacency effect is especially important for sensors of high spatial resolution, such as Rapideye and SPOT,
and is usually negligible for low spatial resolution sensors such as AVHRR and Landsat.
Related Links
Specifying visibility and ground reflectance on page 242
4. In the Reduce correction factor field, specify the percentage factor by which to reduce the correction.
This value constrains the correction factor to prevent over-reducing the reflectance of pixels with extreme
incidence angles.
5. Click OK to close the BRDF Settings window and return to the ATCOR workflow panel.
Related Links
Specifying visibility and ground reflectance on page 242
1. Ensure that all workflow fields are properly filled and accurate.
When all the required settings are specified, the workflow task entry in the Tree List displays a green
bullet.
2. Click Run to perform the atmospheric correction operation.
A progress monitor appears, indicating the running processes. When the operation is complete, a new
ATCORCorrected layer appears in the Focus Tree List, along with the generated masks, visibility map,
terrain, and illumination files.
If you selected Compute value-added products in the workflow panel, the optional rasters also appear
in the Tree List.
The information set in the workflow tasks (Sensor and image settings, Haze and cloud masking,
Illumination conditions, and Visibility and ground reflectance) is shared with all other Atmospheric
Correction workflows, allowing you to reuse the same information to perform other tasks without having
to re-specify the settings. Note, however, that all workflows apply to the same data set; specifying a new
input data set in another workflow will overwrite the existing information.
3. Select another workflow or a different image, or click Close to close the Atmospheric Correction window.
1. From the Atmospheric Correction workflows Tree List, select Sensor and image settings
The Sensor and image settings panel appears.
2. In the Input Image Files section, click the down arrow beside the Multispectral field to display the
multispectral files available in the open Focus data set. Alternatively, click Browse to select a file.
The wizard automatically populates the following workflow fields using the metadata tags from the input
multispectral file:
• Sensor type: PlatformName
• Acquisition Date: Acquisition_Date or Acquisition_DateTime
• Solar zenith: AngleOfSolarElevation or SolarZenith
• Solar azimuth: SolarAzimuth
• Calibration coefficients and Band Setup: MinWavelength, MaxWavelength, WavelengthUnits,
RadiometricTransOffset, RadiometricTransGrain, RadiometricTransUnits , all at the channel level
Note: If the RadiometricTransUnits tag is missing, units are assumed to be mW.cm-2.sr-1.um-1
3. Optionally, specify the path and file name of the associated Panchromatic file, or click Browse to select
the file.
If the specified sensor does not provide a panchromatic image, this field is disabled.
4. If the input file does not contain the appropriate metadata, you must calculate the solar zenith and azimuth
values according to the image’s acquisition date, time, and nominal scene center.
From the Sensor Information section, click Calculate to display the Solar Calculation window, and
enter the required information:
• Calculate solar angles
5. If the input file does not contain the appropriate metadata, the Calibration coefficients source field
defaults to Manual Entry.You must either manually enter the required information, or import the data from
a text file.
• Manually enter calibration information
• Import calibration information from a file
Note: You must verify all calibration coefficients before proceeding to another workflow. If you skip this
step and this information is not available through metadata, the calibration offset and gain are assumed
to be 0 and 1 respectively. These values are acceptable for haze removal, but will produce incorrect results
for the TOA, cloud masking, ground reflectance, and surface temperature calculations.
6. In the Output Files section, specify the location of the output folder.
Click Browse to open the File Selector window, or type the path directly in the Folder field.
The specified directory will receive all output files from any of the atmospheric correction workflows. The
directory must already exist and must be write-enabled.
Related Links
Calculating solar angles on page 234
Editing an existing calibration file to create a new file on page 235
Manually entering calibration coefficients on page 234
Importing calibration coefficients from a file on page 235
1. From the Atmospheric Correction Workflows Tree List, select Haze and cloud masking.
3. In the Water Masking section, specify the Highest in NIR and Highest in SWIR reflectance threshold
values, (%) to calculate the water mask using reflectance in the NIR and SWIR bands of the input scene.
Do one of the following:
• Manually enter the Highest in NIR and Highest in SWIR threshold values (1-100%).
• Import the water masks from a file: click the down arrow in the Import from File field to select a pix
file that contains an existing water mask. If applicable, select the layer that contains bitmaps defining
the water bodies. The file must be in a GDB-supported format, and must be reprojectable.
• Select Omit to disable the water masking operation.
4. To remove haze from the input scene, select the Perform Haze Removal checkbox.
5. In the Haze Cover Percentage field, specify the percentage of the image that is covered in haze.
6. In the Apply haze correction for bands under field, specify the maximum wavelength of the band on
which to apply haze removal. The default is 0.85 micrometers.
1. From the Atmospheric Correction workflows Tree List, select Illumination conditions.
This task is available only for the ATCOR Ground Reflectance and ATCOR Surface Temperature workflows.
The Illumination conditions panel appears.
2. Define the Elevation Information Setup by specifying a Constant Height value or by selecting a digital
elevation model (DEM) file.
• If you do not have a DEM file, accept the default Constant Height option and verify the value
representing a constant elevation for the area covered by the image. This value is automatically
populated using the gmted2010.pix file and the image center.
• Otherwise, select the DEM File option and click the down arrow beside the field to select a DEM file
available in the current session, or click Browse to select a file.
When you select a DEM file, the DEM File window automatically appears, listing the information for the
selected DEM, populated using the file’s metadata. The selected file must be reprojectable. You may also
click the DEM Settings button to access this window.
3. Verify the DEM Settings, making any necessary changes.
4. Specify options in the DEM Derivatives section to derive slope, aspect, and sky view information.
Do one of the following:
• Select Calculate to automatically calculate the slope, aspect, and sky view values.
• Select From File to import the values from a file. Click the down arrow to select the file that contains
the slope, aspect, and sky view values, or click Browse to select a file. Select individual layers that
contain the Slope, Aspect, and Skyview information.
Note: The Slope, Aspect, and Skyview layers can also be computed using the TERSETUP PPF. It is
strongly advised that you select a DEM that covers an area close to the image extents to speed up
processing; the larger the DEM, the slower the processwill be. If you have a single DEM for an area and
intend to process many overlapping images, you can pre-compute DEM derivatives using TERSETUP
and use those derivatives to correct each image.
5. Specify options in the Illumination Map section to calculate the illumination and shadow information.
Do one of the following:
• Select Calculate to automatically calculate the illumination map and shadows.
• Select From File to import the values from a file, or click Browse to select a file. Click the down arrow
to select the file that contains the illumination values, then select the layer that contains the Illumination
map channel.
• Optionally select the bitmap layer that contains the shadow data.
The shadow file contains a layer that includes both self-shadowing and cast shadow effects. In the
layer, the shadows are represented by a pixel value of 0 and the rest of the pixels are given a value
of 1. The self-shadowing effect is caused by pixels from areas facing away from the sun which are on
slopes steeper than the solar elevation angle. Cast shadows are areas in shadow due to objects
blocking the sun. The shadow file is used as a mask so that shadows are excluded from the atmospheric
correction process.
Related Links
Specifying DEM settings on page 241
1. From the Atmospheric Correction workflows Tree List, select Visibility and ground reflectance.
This task is available only for the ATCOR Ground Reflectance and ATCOR Surface Temperature workflows.
The Visibility and ground reflectance panel appears.
2. In the Atmospheric Information section, specify the Aerosol Type for the image.
For more information, see About aerosol types on page 244.
3. From the Conditions list, specify the standard atmosphere present when the image was taken.
By default, the atmospheric condition is estimated based on the image acquisition date and center
coordinates. For more information, see About standard atmospheres on page 245.
4. The Sensor tile angle field is available only when the specified sensor provides tilt capability. This field
is automatically populated using the image’s AcrossTrackAngle metadata tag.
If this metadata is not available, specify the tilt angle in decimal degrees.
5. The Satellite Azimuth angle is required for sensors with a tilt angle greater than 3 degrees. The satellite
azimuth angle describes the satellite's horizontal position relative to the center of the scene; for example,
North = 0 degrees, East = 90 degrees, South = 180 degrees, West = 270 degrees.
This field is automatically populated using the image’s SatelliteAzimuth metadata tag. If this metadata is
not available, specify the Satellite azimuth angle in decimal degrees.
6. Specify options in the Visibility Map section to specify the atmospheric conditions at the time the image
was taken.
By default, the ATCOR workflows use a constant visibility of 30 km. You may also calculate a visibility
map for varying atmospheric conditions (if the red and NIR bands are provided), or specify an existing
visibility file.
Note: When the varying visibility map is required but insufficient reference pixels are found, the workflow
automatically uses a constant visibility.
Do one of the following:
• Select Use constant visibility to specify a constant visibility value. This value can be modified up 180
km, in 1 km increments.
• Select Calculate (spatially varying conditions) and click Settings to calculate a visibility map for
varying conditions. The program will compute a visibility map for the scene, using Dark Vegetation
pixels. These are defined based on NDVI and top-of-the-atmosphere reflectance in the red band.
• Specify the Varying Visibility settings
• Select Use existing file to specify a file that contains the visibility values. This specified file must be
reprojectable to the image, and the image must be fully contained within the visibility map.
7. Specify the Reflectance Conditions to perform terrain correction during atmospheric correction.
Do the following:
a) Select Correct for adjacency effects to specify the range of correction values to apply to the adjacency
effect.
• Specify the Kernel size for the correction. Available values are odd numbers from 3-39 pixels. For
more information, see About adjacency on page 247.
• In the Iterations field, specify the number of times to apply the adjacency effects correction. Available
values are 1, 2, and 3.
8. In the Output section, specify whether to scale the output reflectance units. If selected, the calculated
output will be multiplied by the specified Scale factor.
9. If you select the Scale output option, specify the Scale factor by which to multiply the output.
By default, the output is not scaled.
10. Optionally select the Compute value-added products option.
Selecting this option generates the following raster layers during the atmospheric correction process:
• Soil-Adjusted Vegetation Index (SAVI): uses the red and near-infrared bands to measure the density
and vigor of green vegetation by attempting to eliminate the reflectivity of the ground beneath the
canopy
• Leaf-Area Index (LAI): calculates the green-leaf density
• Fraction of Absorbed Radiation (FPAR): calculates the amount of photosynthetically active radiation
absorbed by plant canopy
• Surface Albedo: calculates wavelength-integrated surface reflectance
• Absorbed Solar Radiation: calculates the shortwave solar radiation absorbed by the surface
Related Links
Specifying BRDF settings on page 247
1. From the Atmospheric Correction workflows Tree List, select Surface Temperature.
This task is available only for the ATCOR Surface Temperature workflow, and supports only and Landsat
4 TM, Landsat 5 TM, and Landsat 7 sensors.
Note: The sensor specified in the Sensor and image settings panel must be one of the supported
thermal sensors. If your previous workflows specified a satellite that does not have a thermal band, the
Sensor and image settings panel will be invalid (displaying a red bullet) and all the subsequent workflows
will become disabled. You must select a multispectral image from a sensor supporting a thermal band to
be able to work on the Surface Temperature workflow.
The Surface Temperature panel appears.
2. Specify the Input Thermal Image: from the Input File list, select the file that contains the thermal band,
or click Browse to select the file.
3. Specify the Radiometric Information for the thermal file.
If the specified input thermal file contains calibration metadata, the calibration coefficients and wavelengths
are populated from the Channel Metadata. The Band Setup window lists only the thermal bands for the
specified sensor.
If the specified input thermal file does not contain the appropriate metadata, the Calibration coefficients
source field defaults to Manual Entry. You must either manually enter the required information, or import
the data from a text file.
Do one of the following:
• Manually enter calibration information
• Import calibration information from a file
Note: You must verify all calibration coefficients before proceeding to another workflow. If you skip this
step and this information is not available through metadata, the calibration offset and gain are assumed
to be 0 and 1 respectively. These values are acceptable for haze removal, but will produce incorrect results
for the TOA, cloud masking, ground reflectance, and surface temperature calculations.
• Select Surface cover dependent to calculate the emissivity for each pixel using specific values for
Water, Vegetation, and Other material.
5. In the Output section, specify whether to Scale the output reflectance units.
If selected, the calculated output will be multiplied by the specified Scale factor.
6. If you select the Scale output option, specify the Scale factor by which to multiply the output.
By default, the workflow does not scale the output, and the values are absolute temperature values at
ground surface.
7. Optionally specify the Offset to Surface Temperature, in degrees Celsius.
If you know the temperature of a specific reference point (a lake, for example), this value can be used to
correct the computed temperature for all pixels in the image. Otherwise, accept the default value of 0.0
degrees Celsius; the computed values will not be shifted, and the temperature map values will be as
computed.
8. Optionally select the Compute energy balance components option
Selecting this option generates the following raster layers during the atmospheric correction process:
• Thermal flux difference: calculates the difference between the emitted atmospheric radiation and the
emitted surface radiation
• Ground heat flux: calculates the exchange rate of energy between the Earth's surface and the
underground
• Latent heat: calculates the exchange rate of stored heat energy between the air and the Earth's surface.
Latent heat flux is measures the amount of energy needed to change matter from one state to another
(from solid to liquid to gas).
• Sensible heat: calculates the exchange rate of excess heat energy between the air and the Earth's
surface. Sensible heat flux measures the amount of energy needed to change air temperature.
• Net radiation: calculates the difference between absorbed and emitted shortwave and longwave
radiations
2. Specify the Air Temperature Gradient, in degrees Celsius for each 100 m of elevation.
3. Click OK to close the Thermal Flux window and return to the Surface Temperature workflow.
1. Ensure that all workflow fields are properly filled and accurate.
When all the required settings are specified, the workflow task entry in the Tree List displays a green
bullet.
2. Click Run to perform the atmospheric correction operation.
A progress monitor appears, indicating the running processes. When the operation is complete, a new
Temperature layer appears in the Focus Tree List, along with the generated masks, visibility map, terrain,
and illumination files.
If you selected Compute energy balance components in the workflow panel, the optional EnergyBalance
rasters also appear in the Tree List.
The information set in the workflow tasks (Sensor and image settings, Haze and cloud masking,
Illumination conditions, and Visibility and ground reflectance) is shared with all other Atmospheric
Correction workflows, allowing you to reuse the same information to perform other tasks without having
to re-specify the settings. Note, however, that all workflows apply to the same data set; specifying a new
input data set in another workflow will overwrite the existing information.
3. Select another workflow or a different image, or click Close to close the Atmospheric Correction window.
Point
A shape that contains only one vertex
Line
A shape that contains two or more vertices, where the first and last vertices
do not conjoin
Whole Polygon
A shape that contains three or more vertices, where the first and last vertices
conjoin
Unconnected Table
A layer that contains attributes but is not associated to a geographical
component
Topological lines
A topological line contains lines that use topological conventions. A topological line can contain several
vertices, but only two nodes. A node is the start point or the end point of a line.
A topological line layer is composed of two layers. One layer stores the lines and the other stores the nodes.
Focus generates and manipulates nodes in the node layer as you edit and create the topological lines.
Topological polygons
A topological polygon contains polygons that use topological conventions. A topological polygon is a closed
figure formed by one or more topological lines that define the boundary of a specific location.
When a topological polygon overlaps another, the intersecting points become nodes; the lines are split,
resulting in a new polygon in the overlap. That is, two topological polygons become three.
A topological polygon layer is composed of three layers. When you create a topological polygon layer, Focus
also generates a line layer and a node layer. As you create and edit polygons, Focus manipulates the lines
and nodes that form the polygon.
The line layer includes attributes that identify which polygons lie on either side of each line. The region outside
the boundary of the digitized areas on the layer are represented by a global polygon. This global polygon,
called Outside Area, appears as -1 in the Attribute Table for topological line layers. These attributes describe
the relationship between the shapes.
Thematic rasters
A thematic raster is a raster with associated attributes. Normally, rasters present spatial information as pixel
values. The numeric value of the pixel represents the attribute for that pixel. Neighboring pixels with the same
pixel value collectively represent a surface feature. In thematic rasters, the pixel values are associated to any
number of attributes, which can be viewed using the Attribute Manager. In Focus, the attributes for a thematic
raster are stored in a vector segment in its file.
1. In the Maps tree, right-click an Area and click New Vector Layer.
2. In the New Vector Layer window, enable the type of layer that you want in the Layer Type area.
3. In the Georeferencing area, enable one of the following options:
• Use Area Georeferencing: uses the same georeferencing as defined in the New Area.
• Use Layer Georeferencing: uses the same georeferencing as defined in an existing layer. Choose a
layer that has the desired georeferencing form the list box.
• User-entered: defines the georeferencing. Enter the projection , bounds, and extents as required.
4. Click OK.
Related Links
Understanding vector layer types on page 256
Drawing vectors
Vectors represent spatial information as points, lines, and polygons. Use the New Shapes tools in Focus to
draw vectors.
Digitizing 3D vectors
Using the mono-restitution process, you can digitize vectors with accurate X, Y, and Z coordinates with the
New Shapes tools. To set up mono-restitution, you need a raw image with a math model segment and a
digital elevation model (DEM), or an estimate of the elevation.
The math model and DEM are used to set the georeferencing for the Math Model Area, in which the image
is displayed without correction in the viewer. Accurate ground coordinates are calculated for each pixel using
the pixel and line coordinates, the math model, and the DEM or approximate elevation value.
1. In the Focus window, open a raw image with a math model segment. Click Math Model.
2. Set up the Math Model Area.
3. Use the New Shapes tools on the Editing toolbar to digitize vectors.
Related Links
Using a math model with images on page 16
Understanding vector editing in a math model area on page 258
Using the math model for georeferencing on page 17
Adding points to an active layer on page 258
3. Choose one of the following options from the When entering cell list box:
• Select Entire Cell: highlights the contents of the cell
• Go To Start Of Cell: places the cursor before the contents in a cell
• Go To End Of Cell: places the cursor after the contents in a cell
4. Click OK.
3. Click OK.
Related Links
Adding a new vector layer on page 258
Adding new fields on page 263
Adding records to the Attribute Manager on page 263
Viewing records
When you view individual records, the fields appear in the first column followed by the values for that record.
When you view all records in a table, each row is a record that contains all the attributes for the shape. Each
column is a field that contains the values for each attribute.
From the View menu in the Attribute Manager, do one of the following:
• Click Record Display to view an individual record.
• Click Table Display to view a record in a table.
1. In the Attribute Manager, click the cell containing the file name and path of the file that you want to open.
2. From the View menu in the Attribute Manager, click File.
The file will open using the operating system's default application for that file type.
• On the Attribute Manager toolbar, click the Clear selected records or Clear selected fields button.
• From the Field menu in the Attribute Manager, click Show All.
Related Links
1. From the Maps tree, right-click a layer and click Attribute Manager.
2. From the Record menu in the Attribute Manager, click Add New.
Related Links
Creating an unconnected table on page 260
1. From the Maps tree, right-click a layer and click Attribute Manager.
2. From the Field menu in the Attribute Manager, click Add New.
Note: You can also add new fields directly from the Table Definitions window. Use this window to modify
fields as well.
Related Links
Setting the field definitions on page 263
1. From the Edit menu in the Attribute Manager, click Table Definition.
2. In the Table Definition window, do any of the following:
• To hide a field, disable the appropriate check box in the Shown column.
• To change a field name, double-click the field in the Name column and type a new name.
• To add a field, click the Add button.
• To remove a field, select it and click the Remove button.
3. Type or choose data that will appear by default from the Default Value list box.
4. Type a value that will appear in fields that do not contain real data from the NoData Value list box.
NoData values are not included in computations.
5. Choose one of the following options from the Read only list box:
• No: lets you change values in a field
• Yes: restricts changes to a field
6. Choose how you want to align data in a field from the Justification list box.
7. Type or choose the width of a field in characters in the Field size list box.
8. Type or choose a number of decimal places displayed in a field in the Decimal places list box.
Note: When using the Auto option for Scientific Notation, the Decimal places field actually represents
significant digits.
9. Choose one of the following options from the Scientific notation list box:
• Yes: displays values in a field as scientific notations
• No: displays values in a field as regular numbers
• Auto: displays values as either regular numbers or scientific notations, depending on which is shorter;
this is the default value.
10. Choose one of the following unit types for a field from the Angular units list box:
• Radians: expresses angles in radians, where 2 pi radians equals the 360 degrees in a circle (one
radian equals approximately 57.29577951 degrees)
• Degrees: expresses angles in degrees, which is the angle between two adjacent radii measured at
the center of the circle tht is divided along its radius into 360 equal parts
• Mils: expresses angles in mils, which measure angles where 1 mil equals 1/6,400 of a circle (1 mil
equals approximately 0.05625 degrees)
• Grads: expresses angles in grads, which measure angles where 400 grads equals the 360 degrees
in a circle (a 90-degree right angle equals 100 grads)
Related Links
Adding new fields on page 263
Adding all appropriate geometry fields on page 265
1. From the Edit menu in the Attribute Manager, click Table Definition.
2. In the Table Definition window, enable the check box in the System column for the field that you want
to change into a Geometry Field.
3. In the Geometry Field Properties area, choose the type of field that you want from the Type list box.
4. Choose a unit of measurement for the field from the Display units list box.
5. Click OK.
Related Links
Setting the field definitions on page 263
1. From the Maps tree, right-click a layer and click Attribute Manager.
2. From the Field menu in the Attribute Manager, click Update Geometry.
1. Right-click the layer that you want to use as the Primary Table and click Attribute Manager.
2. From the Tools menu in the Attribute Manager, click Table Join.
3. In the Define Table Join window, click Browse.
4. In the Select Layer window, choose the layer that you want to use as the Secondary Table.
5. In the Primary Table's Attribute box, select an attribute.
6. Select the attribute from the Secondary Table's Attributes box that you want to join with the attribute
from the Primary Table's Attribute box.
7. Click the Add button.
8. Click OK.
Related Links
Creating an unconnected table on page 260
Query by Example:
You can create an expression that selects all corresponding records. An expression can be a statement
where two attributes are connected by a relational operator to produce a result. It can also be two or more
statements joined by an AND or OR operator.
For example, if you have an attribute called Length that describes the length of rivers on a layer, you can
query 'Length > 10.' The result shows all records that contain a value greater than 10 in the Length field.
1. From the Record menu in the Attribute Manager, click Query by and then click Example.
2. In Query by Example window, choose New from the Equation list box.
3. In the Attributes list, select the attribute you want to use in the query.
4. Select a relational operator (such as =, >, <, and so on) from the list box next to the Attributes list.
5. Enable one of the following options:
Attribute Values: uses field values in the query
Attributes: uses another attribute in the query
6. Select a value or attribute from the appropriate list.
7. Enable one of the following options:
• AND: selects records that are true for both joined statements
• OR: selects records that are true for at least one of the joined statements
8. Click Add.
9. Repeat step 3 to step 8 as needed.
10. Click Save.
11. Enter a name for the equation in the Equation name box and click OK.
12. In the Query by Example window, click OK.
Query by Subset
If you select Query by Subset before using the Query by features (Current, Excluding Current, and Example),
the query is limited to the selected records only instead of performing the query on all the records.
3. Build an expression. You can use any combination of the following to create the expression that you want:
• Type all or part of the expression in the Expression box. Text should be placed in double quotes (for
example, 'text').
• Double-click an attribute in the Attributes list to add it to the expression.
• Use the calculator to include integers and the basic mathematic operators in the expression.
• Select a category of functions from the Categories list box to display the available functions in that
category. In the Functions list, select the function that you want to use in the expression. (Available
only on the Advanced Compute)
4. If you want to display the result on the screen without adding it to the Attribute Manager, enable the Single
Value check box and proceed to step 8.
5. If you want to include the result in the Attribute Manager, select a field in the Field Name box that will
receive the results of the computation or type the name of a new field.
6. In the Field Description box, type a description of the contents of the field.
7. Choose one of the following types of field from the Field Type list:
• Text: defines the field as a text string
• Integer: defines the field for positive or negative whole numbers
• Float: defines the field for single-precision real numbers
• From the Tools menu in the Attribute Manager, click Aggregate Attributes.
• From the Layer menu in the Focus main menu, click Aggregate Attributes.
Performing a calculation
2. Click Aggregate.
1. From the Tools menu in the Attribute Manager, click Area Neighbors.
2. From the Layer menu in the Focus main menu, click Area Neighbors.
For example, the perimeter of shape B touches shape A in two places so you obtain two records for
shape B.
• To report only the shapes that completely surround another shape (for example, lakes containing
islands), enable the Input areas surround option.
• To report shapes that are surrounded by other shapes (for example, islands), click Input areas are
surrounded by option.
2. In the Input Areas column, enable the check mark next to the layer attributes that you want to add to the
Area Neighbors table.
3. In the Neighbors column, enable the check box next to the layer attributes that you want to add to the
Area Neighbors table.
If you want to select the records in the Attribute Manager that correspond to the results, enable the Select
found neighbors option.
4. Click OK.
1. Right-click a layer that contains the data that you want to chart and click Attribute Manager.
If you want to chart the pixel value counts from a raster without attributes, you will have to create default
attributes. When the message displays, click OK to create the attributes.
2. In the Attribute Manager, select the fields and records that you want to chart.
3. In the main menu of the Attribute Manager, click Tools.
4. Click Charts and choose a chart type.
For more information about the Chart viewer, see Using the Chart Viewer on page 293.
• From the Edit menu in the Attribute Manager, click Z-value Transfer.
1. If you want to transfer the Z-value for the selected records only, enable the Transfer Z-value of selected
shapes only check box.
2. Click Shape to attribute.
3. In the Destination field list, click the field that you want to receive the Z-value.
If you want to create a new field in the Attribute Manager, click New Field. A default label called Z-value
is displayed in the Destination field list. You can rename the label to one of your choice. The field
properties, except the data type, are set by default. You set the data type in step 4. To modify the field
properties, see Setting the field definitions on page 263.
4. If you create a new field for the Z-value, the Type list becomes available. In the Type list, click one of the
following data types:
• Integer: defines the field for positive or negative whole numbers
• Float: defines the field for single-precision real numbers
• Double: defines the field for double-precision real numbers
5. In the Z-value aggregation list, click the method that you want to use to combine the Z-values from the
vertices into an attribute for the shape. Click one of the following methods:
• First: for each selected shape it uses the Z-value from the first vertex as the attribute.
• Last: for each selected shape it uses the Z-value from the last vertex as the attribute.
• Sum: for each selected shape it calculates the sum of the Z-values from the vertices and uses that
value as the attribute.
• Mean: for each selected shape it calculates the average Z-value from the vertices and uses that value
as the attribute. The average is obtained by adding values from the vertices and dividing that value by
the number of vertices used in the sum.
• Minimum: for each selected shape it uses the lowest Z-value from the vertices as the attribute.
• Maximum: for each selected shape it uses the highest Z-value from the vertices as the attribute.
• Mode: for each selected shape it calculates the Z-value that occurs the most frequently among the
vertices and uses that value as the attribute.
• Median: for each selected shape it ranks the Z-values from the vertices in numerical order. The median
is the middle value and it uses that value as the attribute.
• Standard Deviation: for each selected shape it measures the variation in the distribution of Z-values,
which is calculated from square root of the variance, and uses that value as the attribute.
6. Click Transfer.
1. If you want to transfer the Z-value for the selected records only, enable the Transfer Z-value of selected
shapes only check box.
2. Click Attribute to shape.
3. In the Z-value field list, click the field that contains the Z-values that you want to copy to the vertices.
4. Click Transfer.
6. Click Save.
1. From the Layer menu in the Attribute Manager, click Export to Text.
2. In the Export to Text window, enable one of the following options:
• Entire Table: exports the whole Attribute Table
• Visible Region: exports only the displayed records and fields
• If you want to export specific records and fields, choose a range of records next to Row and choose
a range of fields next to Column.
3. Click OK.
1. From the GeoRaster column in the Attribute Manager, right-click a camera icon.
2. Click Add to Area.
Dissolving a boundary
Dissolve combines shapes that contain the same value for a selected attribute. The resulting output is a layer
that contains the newly combined shapes with each shape represented as a layer record.
• All shapes: forms one record for all the shapes on the layer that contain the same value for the selected
attribute or RST style
• If you want to combine the adjacent pixels that are diagonal to each other and that contain the same
value for the selected attribute or RST style for thematic rasters, enable the Pixels that meet at a
diagonal check box.
6. In the Based on column, enable the check box next to the attributes you want to include.
If you want to add a field containing the number of shapes combined to form each record in the output,
enable the Add a count field check box.
7. Click OK.
For information about adding function or statistic fields to the output Attribute Manager, see Adding function
fields to output layers on page 272.
Related Links
Opening the Aggregate Attributes window on page 268
Dissolving a boundary on page 271
Using a statistical overlay on page 284
Setting a selected record statistics display on page 260
1. From the Editing toolbar in the Focus window, click the Selection Tools arrow and choose Individual.
2. Click the shape that you want.
If you want to select another shape, press Shift and click a shape.
1. From the Editing toolbar in the Focus window, click the Selection Tools arrow and choose Circular.
2. Drag a circle over a location in the view pane.
If you want to add more shapes to your selection, press Shift and drag another circle.
1. From the Editing toolbar in the Focus window, click the Selection Tools arrow and choose Area.
2. Click in the view pane for each vertex you want included in the area.
3. Double-click the last vertex.
All the shapes that are inside or that touch the polygon are selected.
If you want to add more shapes to your selection, press Shift and digitize another polygon.
Grouping shapes
Grouping ties shapes from the same layer to act as a single unit. Each shape in a group maintains its original
representation and attributes. You cannot select or modify grouped shapes individually; however, you can
change individual attribute values in the Attribute Manager.
When you group shapes, a new field labeled GroupId is added to the Attribute Manager. Focus assigns each
record in the group the same GroupId number.
Ungrouping shapes
1. Select the grouped shapes that you want to separate.
2. From the Edit menu in the Focus window, click Ungroup.
Attaching shapes
Attaching combines shapes from the same layer into one record. The shapes appear as grouped in the view
pane, but the records for the attached shapes are unified in a record in the Attribute Manager. You can attach
adjacent shapes, non-adjacent shapes, and shapes that are contained within other shapes. Attached shapes
are referred to as rings.
You can use rings when separate shapes form a single entity, such as a collection of islands forming one
county, or when shapes are contained within other shapes, such as an island in a lake.
Separating shapes
1. Select the attached items.
This can be accomplished using the Attribute Manager, by clicking on a group member, through a window
selector, or a query.
2. From the Edit menu, click Detach.
Creating buffers
A buffer is a margin created at a specific distance around shapes on a layer. You can create margins of
different sizes, each referred to as a buffer level.You use buffer levels to analyse suitability or risk around the
input shapes, which is referred to as a proximity analysis.
For example, you can create a buffer around domestic wells to analyse the risk of contamination from pesticide
use.
1. In the Input area, choose a file from the File list box.
If a file is not listed, click Browse, locate and select a file from the File Selector window, and click Open.
2. Choose a layer from the Layer list box.
3. In the Output area, enable one of the following options:
• Display: shows the results without saving the new layer
• Save: saves the new layer to the project. Choose a file from the File list box and choose a layer from
the Layer list box.
• If you want to display the results in the view pane, enable the Display saved results check box.
• If you want to include only the selected records in the layer, enable the Buffer selected shapes only
check box.
5. Enter a number of levels that you want in the Buffer levels spin box.
6. Choose a unit of measurement from the Units list box.
7. In the Buffer distances table, type a number in each Level column to determine the width of a buffer.
8. Click Next.
8. Click Finish.
1. From the Editing toolbar in Focus, click the Selection Tools arrow and choose Individual.
2. Click a shape in the view pane.
3. From the Edit menu, select Vector Editing > Vector Editing.
The vector editing tools on the Edit menu become available, and the Vector Editing Tools toolbar is
displayed.
Selecting a shape
The Find tool selects a shape and identifies the start and end vertices.
Moving a vertex
The Find tool selects a shape and identifies the start and end vertices.
1. On the Vector Editing toolbar, click the Find button and click a shape.
2. Click the Show Vertices button.
3. Drag a vertex to a new location.
1. On the Vector Editing Tools toolbar, click the Find button and click a shape.
2. Click the Show Vertices button.
3. Press and hold the Ctrl key and select several vertices
4. Drag a selected vertex to a new location.
1. From the Vector Editing Tools toolbar, click the Find button and click a shape.
2. Click the Reverse Vertices button.
Adding vertices
The Add Vertices tool in Focus creates new vertices where you click. The inserted vertex is connected to
the two closest existing vertices.
When you use this tool in a Math Model Area, the elevation for the new vertex is derived from the digital
elevation model (DEM) or the approximate elevation value that you provided when you created the Math
Model Area.
1. From the Vector Editing Tools toolbar, click the Find button and click a shape.
2. Click the Add Vertices button.
3. Click where you want to add the vertex.
Tip: If you want to add a vertex to an existing line or polygon, hold down the Ctrl and Alt keys while
clicking close to the line. The new vertex will snap to the line or polygon and the shape of the line or
polygon will remain the same.
Tip: If you want to continue a line, click the start or end vertex of the line and click a series of vertices.
Related Links
Understanding vector editing in a math model area on page 258
Vector editing on page 79
1. From the Vector Editing Tools toolbar, click the Find button and click a line or polygon.
2. Click the Reshape button.
Related Links
Vector editing on page 79
Connecting lines
The Merge Line/Polygon tool connects ends of lines together. This tool may affect the attributes of the shape
you are editing.
1. From the Vector Editing Tools toolbar, click the Find button and click a line.
2. Click the Merge Line/Polygon button.
3. Click the start or end vertex of the line.
4. Click the start or end vertex of a line with which you want to merge the first line.
Connecting polygons
The Merge Line/Polygon tool combines polygons by removing common boundaries. This tool may affect
the attributes of the shape you are editing.
1. From the Vector Editing Tools toolbar, click the Find button and click a polygon.
2. Click the Merge Line/Polygon button.
3. Click a polygon with which you want to merge the first polygon.
Cutting a line
The Split Line/Polygon tool cuts lines and polygons into separate shapes. This tool may affect the attributes
of the shape you are editing.
When you use this tool in a Math Model Area, the elevation for the new vertex created at the cut point is
derived from the digital elevation model (DEM) or the approximate elevation value that you provided when
you created the Math Model Area.
1. From the Vector Editing Tools toolbar, click the Find button and click a line.
2. Click the Split Line/Polygon button.
3. Click where you want to split the line.
When you split a polygon, you draw a line through the shape where you want the polygon to split.
Related Links
Understanding vector editing in a math model area on page 258
Cutting a polygon
The Split Line/Polygon tool cuts lines and polygons into separate shapes. This tool may affect the attributes
of the shape you are editing. When you use this tool in a Math Model Area, the elevation for the new vertex
created at the cut point is derived from the DEM or the approximate elevation value that you provided when
you created the Math Model Area.
1. From the Vector Editing Tools toolbar, click the Find button and click a polygon.
2. Click the Split Line/Polygon button.
3. Click a point on the outline of the polygon where you want to begin a line.
4. Click in the polygon to form the line.
5. Double-click a point on the outline of the polygon to end the line.
Extending a line
You can move a start or end vertex simply by selecting the vertex with the Find tool and moving it. However,
if you want to extend the line without changing its angle, the Extend Line tool forces the vertex to move in a
straight line.
When you use this tool in a Math Model Area, the elevation for the new vertex is derived from the digital
elevation model (DEM) or the approximate elevation value that you provided when you created the Area.
1. From the Vector Editing Tools toolbar, click the Find button and click a line.
2. Click the Extend Line button.
3. Click a start or end vertex.
4. Click where you want to end the extension.
Related Links
Understanding vector editing in a math model area on page 258
1. From the Vector Editing Tools toolbar, click the Find button and click a line.
2. Click the Auto Merge Line button.
3. Click the start or end vertex where you want to begin merging the line.
If it reaches a fork in the line, you must choose which line to follow. Click the line that you want to merge.
1. From the Vector Editing Tools toolbar, click the Find button and click a line.
2. Click the Close Shape button.
1. From the Vector Editing Tools toolbar, click the Find button and click a shape.
2. Click the Mirror Tools button to flip the shape.
3. To switch the Mirror tools from horizontal to vertical, click the Mirror Tools arrow and choose one of the
following:
• Mirror X: flips a shape vertically
• Mirror Y: flips a shape horizontally
Related Links
Understanding vector editing in a math model area on page 258
1. From the Vector Editing Tools toolbar, click the Find button and click a shape.
2. Click the Rotation Tools arrow and click Free Rotate.
3. Drag the shape to the angle you want.
Related Links
Understanding vector editing in a math model area on page 258
1. From the Vector Editing Tools toolbar, click the Find button and click a shape.
2. Click the Rotation Tools arrow and click Rotate by Angle.
3. In the Rotate by Angle window, enter a value for the angle by which you want to rotate the shape in the
spin box.
4. Choose an angle unit from the list box.
5. Click OK.
1. From the Vector Editing Tools toolbar, click the Find button and click a shape.
2. Click the Break Line/Polygon button.
3. Click the overlapping shape outside of the overlap area.
Navigating to a vertex
You can select a vertex by clicking it or you can use one of the navigation tools on the Vector Editing Tools
toolbar in Focus.
1. From the Vector Editing Tools toobar, click the Find button and click a shape.
2. Click the Start Vertex button.
The cursor moves to the start vertex of the shape you selected.
1. From the Vector Editing Tools toobar, click the Find button and click a shape.
2. Click the End Vertex button.
The cursor moves to the end vertex of the shape you selected.
1. From the Vector Editing Tools toobar, click the Find button and click a shape.
2. Click the Previous Vertex button to move the cursor towards the start vertex, or the Next Vertex button
to move the cursor towards the end vertex.
1. From the Vector Editing Tools toobar, click the Find button and click a line.
2. Click the Midpoint button.
The cursor moves to the midpoint of the line you selected.
Displaying vertices
The Show Vertices tool makes the vertices in the shape more prominent so they more easily seen.
1. From the Vector Editing Tools toolbar, click the Find button and click a shape.
2. Click the Show Vertices button.
1. To view the vertices using the coordinate system of the Area in the Maps tree, click Area under Coordinate
System.
2. To view the vertices using the coordinate system of the layer, click Layer under Coordinate System.
• From the Editing toolbar, click the Spatial Query arrow and choose Add to Selection.
A check mark next to the option indicates it is enabled.
1. From the Editing toolbar, click the Selection Tools arrow and choose a tool.
2. Click a shape or select an area.
3. From the Editing toolbar, click the Spatial Query arrow and choose Fully Within.
1. From the Editing toolbar, click the Selection Tools arrow and choose a tool.
2. Click a shape or select an area.
3. From the Editing toolbar, click the Spatial Query arrow and choose Partially Within.
1. From the Editing toolbar, click the Selection Tools arrow and choose a tool.
2. Click a shape or select an area.
3. From the Editing toolbar, click the Spatial Query arrow and choose Within Distance.
4. In the Within Distance window, type a number in the Distance box.
5. Choose a unit of measurement from the list box.
6. Click OK.
1. From the Editing toolbar, click the Selection Tools arrow and choose a tool.
2. Click a shape or select an area.
3. From the Editing toolbar, click the Spatial Query arrow and choose Fully Within Distance.
4. In the Within Distance window, type a number in the Distance box.
5. Choose a unit of measurement from the list box.
6. Click OK.
1. From the Editing toolbar, click the Selection Tools arrow and choose a tool.
2. Click a shape or select an area.
3. From the Editing toolbar, click the Spatial Query arrow and choose Crosses.
4. Click Next.
5. Choose a layer from the Layer list box.
6. Select an attribute that you want to include in the new layer from the Input Attribute list.
7. Click Add.
8. Repeat step 5 to step 7 for each layer.
If you want to change the order of an attribute, select it in the Attribute table and click the up or down
arrow buttons.
9. If you want to change the names of an attribute, double-click it and type a new name.
10. Click Next.
11. In the Output Options area, enable one of the following options:
• Union: includes all shapes in their entirety from all the input layers
• Intersection: includes only the overlapping areas of the shapes from the input layers
13. In the Output Layer area, select a layer type for the new layer from the Type list box.
14. Enable one of the following options:
• Display: shows the results without saving the new layer
• Save: saves the new layer in the project. Choose a file from the File list box and choose a layer from
the Layer list box.
• If you want to display the results in the view pane, enable the Display saved results check box.
If you want to include only the selected records in the layer, enable the Use selected shapes only check
box.
7. Click Next.
8. Click Finish.
You can add function fields to the output Attribute Manager. (See Adding function fields to output layers on
page 272)
You can also add fields containing other attributes.
1. From the Attribute Manager, add a field to each layer containing the numeric value expressing the weight
of the records. For more information, see Adding new fields on page 263.
2. From the Analysis menu in the Focus window, click Overlay.
3. In the Overlay Wizard, enable the Suitability option and click Next.
4. In the Available Files/Layers list, enable the check mark next to the layers that you want to combine.
If you want to select layers from another file, click Browse, locate and select a file from the File Selector
window, and click Open.
5. Click Next.
6. Type a number to determine the weight of each layer in the Layer Weight column.
7. Type a number to determine the weight of NoData value for each layer in the NoData Weight column.
Use the same weight scale as you used for the attributes.
8. In the Attribute Weight column, click a cell and choose the weight values for the attributes.
9. Click Next.
10. In the Output Options area, enable one of the following options:
• Union: includes all the shapes in their entirety from all input layers
• Intersection: includes only the overlapping areas of shapes from the input layers
12. In the Output Layer area, enable one of the following options:
• Display - shows the results without saving the new layer
• Save - saves the new layer in the project. Choose a file from the File list box and choose a layer from
the Layer list box.
• If you want to display the results in the view pane, enable the Display saved results check box.
Related Links
Understanding weights in the suitability overlay on page 287
Creating named regions on page 58
at least one record before the chart is displayed. When Series in is set to Fields, at least one field and at least
two records must be selected. If the minimum number of selected records and fields for any chart type is not
satisfied, the chart displays a message reminding you to select data.
You can create more than one chart per layer. Each chart is connected to the attributes in the layer so if the
attribute values change, the chart changes to reflect the new values. Each chart that you create is remembered
in the Chart Manager.
Related Links
Opening and deleting a chart on page 297
• The Stacked Line type creates a line for each kind of data where each vertex represents the value of
each category added to the value of the vertex beneath it. Therefore, the topmost vertex in each category
reflects the sum total of all the data in that category.
• The 100% Stacked Line type is similar to the Stacked line type, except each line is expressed as a
percentage and each category totals 100%. The Stacked line and Percent line types illustrate the
contribution of each line to the whole category.
Area:
The area chart displays the selected data as polygons of different colors or patterns connecting points at
equal intervals. It is similar to the line chart, except the area below the line is shaded to form a polygon. The
categories are organized along the x-axis (horizontally) and the values are measured along the y-axis
(vertically). The points represent the values for each category and the angles formed by the lines connecting
the points emphasize the trends.
Three options are available for the area chart:
• The Area type creates a polygon for each kind of data where the points represent the actual value for
each category.
• The Stacked Area type creates a polygon for each kind of data where each point represents the value of
each category added to the value of the point beneath it. Therefore, the topmost point in each category
reflects the sum total of all the data in that category.
• The 100% Stacked Area type is similar to the Stacked Area type, except each polygon is expressed as
a percentage and each category totals 100%. The Stacked Area and 100% Stacked Area types illustrate
the contribution of each polygon to the whole category.
Pie:
The pie chart is a circular graphic which displays the data as wedges representing their portion of the whole.
It can only show the portions or ratios of one kind of data at a time.
Two options are available for the pie chart:
• The Pie type creates a circle divided into slices proportional to the whole.
• The Exploded Pie type creates a circle broken into slices proportional to the whole.
Scatter:
The scatter chart is a graph of points comparing two sets of data. One set is plotted along the x-axis and the
other along the y-axis. It is used to uncover a possible correlation between the data sets.
The appearance of a discernable pattern or clustering of the points indicates a correlation between the data
sets. An indicator of a high correlation between the data sets is that you are able to draw a straight line through
the points. The more points that cluster about the implied line, the stronger the possibility of a correlation. If
the points appear randomly distributed over the chart, it is unlikely that a correlation exists.
It is important to note, however, that although a scatter chart may indicate a correlation between the data
sets it does not mean that one data set is causing an affect on the other. The correlation can be the result of
a third factor affecting both sets or can be simply a coincidence.
1. In the Maps tree, select the layer that contains the data that you want to chart.
2. If you want to select specific shapes to chart from a vector or thematic raster layer, click the Selection
Tools arrow on the Editing toolbar and select a tool. In the view pane, click or drag to select the shapes
that you want included in the chart.
Related Links
Defining the data to chart on page 290
1. In the Type list, select the chart type that you want to use to display your data. For more information on
the chart types.
2. Under Fields, click to select the fields that you want to include in the chart. Only the fields with a black
check mark are included in the chart.
3. For Series in, select Fields to display the data from the selected Fields or select Records to display the
data from the selected records.
4. To customize the look of chart, click the Options tab.
5. Click OK.
About Series In
The Series In option on the Chart Definitions window defines what is displayed in the graph. Depending on
what you want the data to be interpreted, you may want to emphasize either the records or the fields. When
you select Records, the data in each record is represented in the chart. When you select Fields, the data is
displayed by field in the chart.
For example, when you choose Fields for the chart shown in the following figure, the fields are displayed as
bars (Pop2000 and Pop2002). When you choose Records, the records (Alaska, California, and Florida) are
displayed as bars.
10. Select Show data labels to display labels on the data in the chart.
11. In the Background style list, click to select a style for the area behind the chart. You can create a frame
around the chart or color the background.
12. Click OK.
Note: The Restore to Defaults button clears the preference file for the chart, not only the settings on the
Options tab.
Related Links
About the category field on page 292
Selecting a style on page 305
Resetting the chart to defaults on page 293
Table 19:
The field that you select depends on what you want to emphasize or what attribute most clearly represents
the data in your chart. For example, in the following figure the chart displays the same data: the number of
houses and apartments for each newspaper route. If you have new customers to add on Second Avenue
which falls along both route 15 and 22, Chart A is going to be less helpful unless you have memorized the
names of the couriers responsible for the routes. Chart B, on the other hand, gives you the route number
immediately.
• To select a chart surround element or part of the chart, click the Selection Tool button and click the item
in the viewer.
• To lock the record and field selection in the chart, click the Lock Chart button.
When you lock the chart, it only prevents changes to which records and fields are used by the chart. You
can continue to modify the chart surround elements and attribute values. Once the chart is unlocked, the
chart is automatically updated with the currently selected records and fields.
• To switch from chart type to another, click the arrow next to Chart Type and click the type that you want
to use.
• To show or hide the chart legend, click the Legend button in the Chart window.
• To export the chart as a file, click Export Chart in the Chart window.
• To zoom in or out of the chart:
• Click the Zoom to Overview button to decrease the magnification so the whole chart appears in the
viewer.
• Click the Zoom Interactive button and drag a rectangle over an area to magnify a specific part of the
chart.
• Click the Zoom In button to increase the magnification by increments and centers the chart in the
viewer.
• Click the Zoom Out button to decrease the magnification by increments and centers the chart in the
viewer.
• To move the magnified chart around with the pointer, click Pan in the Chart window, and drag the pointer
in the chart viewer.
• To display the attributes from a chart, click the Information button in the Chart viewer, and click a piece
of data in the chart.
The clicked data flashes in the viewer and the attributes from that record are displayed under Values on
the Information Report window. When used from the Chart toolbar, the Information tool displays all the
attributes from the record corresponding to the data clicked in the chart. The Information tool is also used
in other areas of Focus.
• To change the color or look of a part of the chart or a chart surround element:
a) In the Chart viewer, click the Selection Tool button.
b) Click the item in the viewer.
c) To change the color, click the arrow next to the Color button on the Chart viewer toolbar, and click a
color from the palette, or click More Colors to create a color.
d) To change the style, click the arrow next to the Style button and click the style that you want. Different
styles are available depending on the item that you chose. To create a new style, select Style Selector.
• To customize the chart, click the Chart Definition button in the Chart window.
• To edit or position the chart surround elements:
a) Click the Selection Tool button.
b) Click the item in the viewer.
c) Click the Properties button.
Related Links
Defining the data to chart on page 290
Designing the chart legend on page 294
Opening the Export Map window on page 349
Opening the Information Report on page 160
Selecting a style on page 305
Defining the data to chart on page 290
6. In the Color list, select the color that you want to use for the font. To modify the color, click More. To
change the font, click Selector.
7. Under Placement, click to select the position of the legend in reference to the chart or drag the legend
into position.
8. Click OK.
Related Links
Designing the chart surround on page 291
About the category field on page 292
Selecting a style on page 305
Related Links
Selecting a style on page 305
Displaying ticks
1. In the Title box, type a word or phrase that you want as a title or subtitle for your chart.
2. In the Size list, type or select the size of the font.
3. In the Color list, select the color that you want to use for the font. To modify the color, click More. To
change the font, click Selector. For more information about the Selector, see Selecting a style on page
305.
4. Under Placement, click to select the position of the title or subtitle in reference to the chart. To place the
it manually in the viewer, drag the title or subtitle where you want it. The setting under Placement will
automatically change to Custom.
5. Click OK.
Related Links
Selecting a style on page 305
1. If you want to include the description from the legend in the label, select the Legend items box.
2. If you want to include the x-axis values in the label, select the X-data values box.
3. If you want to include the y-axis values in the label, select Y-data values box.
4. If you want to display the percent value of the data, select the Percentages box (only available for 100%
Stacked Column, 100% Stacked Bar, 100% Stacked Line, 100% Stacked Area, and Pie charts).
5. If you want to draw lines from the percent values to the corresponding data, select Show leader lines
(only available for 100% Stacked Column, 100% Stacked Bar, 100% Stacked Line, 100% Stacked Area,
and Pie charts).
6. In the Size list, type or select the size of the font used for the labels.
7. In the Color list, select the color that you want to use for the font. To modify the color, click More. To
change the font, click Selector.
8. Click OK.
Related Links
Selecting a style on page 305
Saving a chart
Charts are kept in memory as long as the project remains open, even if you close the Chart viewer. You can
reopen an existing chart by using the Chart Manager.
The settings for each chart that you create while the project is open are saved in the project file (.gpr) when
you save the project. The data itself, however, is not saved with the chart. The chart only contains a reference
to the data. If you make changes to the layer's attributes, the chart will reflect the changes in the data the
next time you open it, but the design of the chart will remain unchanged. If you close the project without saving
it, the charts in memory are discarded along with any other changes in the project file.
You can also export your chart as a graphic in one of several file formats.
Related Links
Opening the Export Map window on page 349
4. In the Tie Coordinate Type list box, choose one of the following options:
• Geocoded: enters the coordinates in georeferenced units
• Geographic: uses Longitude/Latitude units
5. On the tablet, move the crosshairs of the puck to a feature and press the button to transfer the tablet
coordinates to the Tie-Down table.
6. In the Register Tablet window, type the coordinates of the same feature in the Tie Coordinate X and
Tie Coordinate Y columns, or you can click to select the feature in the view pane and press Enter to
transfer the coordinates to the Tie-Down table.
7. Repeat step 5 and step 6 to complete the registration.
If you want to add more points to the table, click the Add button. To remove a point from the table, click
the point, and click the Remove button. To remove all the points in the table, click Clear All.
8. Click OK.
Related Links
Registering a digitizing tablet on page 298
1. From the Maps tree, click the layer that you want to contain the vectors.
2. From the Tools menu, click Digitizing Tablet and then click Start Digitizing.
3. Click the tool that you want to use or press the puck button assigned to the action that you want to perform.
For example, if you want to digitize a line, you can click Line in the New Shapes list on the toolbar or click
the puck button that you assigned to NewLine.
4. Use the puck to perform the action that you want.
For example, use the puck to digitize a road on the map.
5. To stop digitizing, click Digitizing Tablet from the Tools menu, and then click Stop Digitizing.
With a Focus Area open and the GPS receiver connection set, a GPS tool can be used. The GPS tool is
launched through the GPS Tool window.
When the GPS tool is active, you can update the view pane cursor position or add vector data to an Area in
a project.
8. Click Finish.
4. Click OK.
5. In the Maps tree, select the new layer.
6. In the GPS Tool window, click one of the following buttons:
• Capture Stream: adds a new vertex to the vector layer at the specified stream interval. New vertices
are added to the line or polygon until you click Finish.
• Capture Point: adds only the initial vertex to the line or polygon layer. You can continue to collect
vertices for the line or polygon with each click of the button.
Understanding representation
Representation can be used to control the appearance of map layers. It is most commonly used with vector
data but can be also be used for raster (raw or thematic) data. Focus applies a default representation to any
vector layer that is not linked to a representation style table (RST). An RST is a table that contains a key and
the style associated to that key. The key or the style can also be referred to as a REPCode. The key links
the style in the RST to the record in the layer. Each layer can link to only one RST, but you can link an RST
to many layers. You can continue using the default, create a new RST, or link to an existing RST.
In vector or thematic raster representation, keys can be added as attributes, such as in the REPCode field,
or you can use an existing attribute as the key. When an RST is linked to a layer, Focus identifies the attributes
used as keys in the layer and searches for the corresponding keys in the RST. When a match is found, the
associated style is applied to the shape, for vector representation, or area, for thematic raster representation,
in the layer.
For example, you can associate an RST to the attributes in a field called LandCover in a polygon vector layer
or in a thematic raster layer. In the LandCover field, you have a variety of land covering types such as forest,
water, and urban. In the RST, the key is the LandCover type with which you have styles associated. When
a layer is linked to the RST, the shapes or areas are assigned the style according to their key.
In raw raster representation, styles are linked to pixel values. For example, you might have a DEM where the
pixel values represent elevations. You could specify a unique color (or shade of gray) for each unique pixel
value. However, you would more likely specify several elevation ranges—for example, less than zero, between
0 and 1000m, between 1000 and 2000m, and so on. Each representation entry could be assigned a graduated
color so that as the elevation values increase, the style's color becomes darker.
A style is composed of one or more parts. Each part has a primitive with a priority. Primitives are the building
blocks of the style. Each primitive is based on a point, line, or polygon pattern that is designed according to
a number of parameters, such as color. The priority determines which part is placed in front of the other parts
in the style. You can control the order by assigning the part a priority number. Parts with a higher priority
number appear in front of parts with lower priority number.
Default RST
A default RST is controlled by Focus and is applied to vector layers in the absence of any other RST.
Direct RST
A direct RST is also called embedded representation, because the style is contained in the layer itself. You
create a direct RST when you change the appearance of the shapes directly in the view pane using tools in
the Display toolbar. Direct RSTs are only available for vector layers in PCIDSK (.pix) files.
When you change the appearance of shapes in the view pane, Focus creates an RST using the ShapeIDs
as the keys. The direct RST is embedded in the .pix file.
Indirect RST
An indirect RST is a separate file (.rst) that contains representation information. You can link an indirect RST
to one or more layers. You can also convert an indirect RST into a direct RST by embedding it in the layer
through the Vector Layer Properties window.
You can build an indirect RST as system-linked or user-linked.
System-linked RST
A system-linked RST is based on an attribute in a layer. To generate the RST, select an attribute from the
layer to become the key; Focus creates styles for each key based on the style that you design. Focus
automatically links the system-linked RST through the key.
User-linked RST
Often called a master RST, a user-linked RST is built independently from a layer. To build the RST, you
define the keys and manually create styles associated to the keys. Once you build the RST, you link the
layers to the RST. The keys in the RST can match an existing attribute in the layer or you can add the keys
in a field in the layer.
Related Links
Generating an indirect representation style table on page 302
Building a user-linked indirect representation style table on page 303
Converting an indirect RST to a direct RST on page 307
Understanding representation on page 301
Related Links
Using the Representation Editor on page 302
3. Click the Generating tab and choose one of the following options from the Method list:
• Unique Values: assigns a style to each shape according to its value. Each value receives its own
style.
• Ranged Values: assigns a style to all the shapes within a range of numeric values. Each range receives
its own style. Choose the type of range that you want to use from the Type list. Shapes containing a
NoData value are displayed using the Default RST. Enter a number of ranges by which you want to
divide the values in the Number of classes box.
• The minimum and maximum values for the attribute automatically display. If you want to restrict the
range available for division, enter minimum and maximum values in the Min and Max boxes.
Related Links
Selecting a style on page 305
Types of representation style tables on page 301
Building a user-linked indirect representation style table on page 303
1. In the Maps tree, right-click a map and select Representation > New.
A New RST entry is added to the Maps tree.
2. To name the RST, right-click on New RST, click Rename, type a name, and press Enter.
3. Open the Representation Editor by right-clicking the RST and clicking Representation Editor.
4. Create your styles. See Working with the Representation Editor group tree on page 304, Working with the
Representation Editor styles table on page 304, and Editing the representation styles on page 305.
5. When you are finished, click the Save button.
6. Click Browse and save your RST in the directory of your choice. In the Save As window, click Save.
7. In the Representation Editor, click OK.
8. In the Maps tree, right-click the layer to which you would like to link your new RST, and click Representation
Editor.
9. Click the Link button.
10. Click Browse, navigate to the new RST you created, and click Open.
11. Click OK.
12. Choose an attribute from the Attribute list that you want associated with the styles in your RST.
Tip: If you are unsure of which attribute to use, you can view a list of the layer’s attributes by right-clicking
the layer in the Maps tree and clicking Attribute Manager.
Related Links
Types of representation style tables on page 301
1. In the Representation Editor window, click the RST root entry in the group tree.
2. Click the Add button on the toolbar.
3. Type a name for the group and press Enter.
1. In the Representation Editor group tree, click the style group that you want to remove.
2. Click the Remove button on the toolbar.
1. In the Representation Editor window, right-click the Symbol Files entry and click Link Symbol File.
2. Navigate to the symbol file and click Open.
In the Representation Editor window, right-click the symbol file and click Unlink Symbol File.
1. In the Representation Editor group tree, select a group to view the associated styles in the styles table.
2. Click the Add button on the toolbar.
A new row is added to the bottom of the table.
1. In the Representation Editor styles table, click a cell in the row you want to remove.
To swap the first selected style with the last selected style:
1. In the Representation Editor styles table, press the Ctrl or Shift key while clicking the styles you want
to swap.
2. Click the Swap Styles button on the toolbar.
The first selected style is swapped with the last selected style.
1. In the Representation Editor styles table, press the Shift key while clicking the styles whose colors you
want to ramp.
2. Click the Ramp Colors button on the toolbar.
The first and last selected colors are unchanged but they provide the starting and ending colors for the
ramping. The styles in between are assigned an even graduation of color between the first and last styles.
For multi-part styles, only the color of the first part is affected.
Related Links
Changing basic style appearance on page 306
Changing style parts on page 306
Selecting a style
The Style Selector allows you to define the appearance of shapes.
A style is composed of one or more parts. Each part has a primitive with a priority. Primitives are the building
blocks of the style. Each primitive is based on a point, line, or polygon pattern that is designed according to
a number of parameters, such as color. The priority determines which part is placed in front of the other parts
in the style. You can control the order by assigning the part a priority number. Parts with a higher priority
number appear in front of parts with lower priority number.
1. From the Files list in the Style Selector window, select a representation.
If a file is not available, click Browse and select a file.
2. Click a tab containing the style type that you want. Choose Line or Polygon.
3. Select a style.
4. Click More to display the style details.
5. The style details section can be in Simple or Advanced mode. Simple mode allows you to change only
the color, size, and width of the style. Advanced mode provides full control over the style representation.
Click:
• Simple to switch to Simple mode. For more information, see Changing basic style appearance on page
306.
• Advanced to switch to Advanced mode. For more information, see Changing style parts on page 306.
6. Click OK.
4. From the Parts list, select the part that you want to modify. Use the clipboard commands to Cut, Copy,
or Paste style elements, or use the Add and Remove buttons to add or remove parts.
5. Define the part’s priority level using the Priority box. The priority is used to indicate how different vector
drawing components should be layered.The higher priority values are drawn over those with lower priorities.
This applies between different parts within a given representation, but also applies between different
shapes drawn within a given layer, and in some applications is evaluated between all vector layers in a
given view.
6. Define the shape’s graphical primitive value using the Primitive list.
7. Define the shape element’s parameter values. Depending on the primitive selected, different parameters
appear. These include:
• Lines: Width, End Style, Join Style, Color, Distance from Axis, Angle, Dash Length, Dash Step, Dash
Space, Dot Diameter, Dot Offset, Dot Step
• Polygons: Color, Opacity, Scale, Pattern Symbol ID, Scaling, and Spacing
• Text: Color, Size, Font, Alignment
1. In the Representation Editor window, choose an attribute from the Attribute list that you want associated
with a style.
2. Click Advanced Attributes.
3. In the Advanced Attributes window, do the following as needed:
• From the Text Attribute list, select a field containing the text values that you want to display as the
representation.
• From the Angle Attribute list, select a field whose shapes you want to display at an angle in the
representation.
4. Click OK.
5. Click OK in the Representation Editor window.
Related Links
Types of representation style tables on page 301
3. Click a style.
4. Click OK.
Selecting a symbol
1. From the Symbol Selector window, choose a symbol file from the Files list box.
2. In the gallery, select a symbol.
If you want to preview the symbol and the preview window is not displayed, click More.
3. Click OK.
Labelling shapes
A label is a string of characters placed in close proximity to a shape.You can use labels to display information
about the shapes and clarify the subject of the layer. The Label Tool uses an attribute from the layer as a
label for the shape.You can create labels for vector, grayscale, and pseudocolor layers that contain attributes.
Because the automatic placement of labels may be inadequate, you can make individual changes to the
labels by using the Selection Tools in the Editing toolbar. You can change the style of the labels individually
using the tools in the Display toolbar. Any changes to the characters used in the label are updated automatically
in the view pane and the Attribute table.
If you make specific changes to individual labels with the Selection Tools or the Display tools and then use
the Label Tool for more changes, specific changes may be replaced by the options set in the Label Tool.
1. To display the labels in the View Pane, click in the Visible column beside the label set that you want to
show. To hide the labels, click to clear the check mark.
2. To make the labels selectable in the View Pane, click in the Selectable column beside the label set that
you want.
3. To add a new label set, click Add New. For more information, see Adding labels to a layer on page 309.
4. To modify existing labels, click Modify. For more information, see Changing labels on page 309.
5. To remove a label set, select the layer under Label Name and click Delete.
6. Click OK.
1. From the Label Tool window, click the Style button and create a style for the text (see Selecting a style
on page 305).
2. In the Color box, you can change the color of the font that you selected in the Style Selector.
3. In the Size box, you can change the size of the font and select the unit of measure that you want.
4. Click OK.
Changing labels
If you are making modifications to individual labels with the intention of printing a map, switch the Focus view
pane to Map View mode by clicking the Map View Mode button before begining your edits.
See also
Setting label representation on page 309
Setting the position for point layer labels on page 310
Setting the position for line layer labels on page 310
Setting the position for polygon and raster layer labels on page 311
See also
Setting label representation on page 309
Defining which attribute to use for the label on page 309
Setting the position for line layer labels on page 310
Setting the position for polygon and raster layer labels on page 311
See also
Setting label representation on page 309
Defining which attribute to use for the label on page 309
Setting the position for point layer labels on page 310
Setting the position for polygon and raster layer labels on page 311
See also:
Setting label representation on page 309
Defining which attribute to use for the label on page 309
Setting the position for point layer labels on page 310
Setting the position for line layer labels on page 310
Designing a symbol
The Symbol Editor contains tools to create or edit symbols. A symbol is composed of one or more parts. A
symbol can be a single design or a compilation of overlapping designs and are stored in files with a .sym
extension. Symbol files can be used in one or more RSTs.
Creating a symbol
1. From the Maps tree, right-click a layer and click Representation Editor.
2. In the tree, right-click Symbol Files and click NewSymbol.
3. Double-click NewSymbol.sym.
4. In Symbol Editor, click Symbol and then click Create Symbol.
5. In the Attributes window, type a number that will represent the symbol in the New box below Current
SymbolId.
6. Type a label for the symbol in the New box below Description.
7. Click OK.
8. Draw a symbol. Use the tools explained in Adding points to an active layer on page 258, Selecting a single
shape on page 273, and Accessing the Vector Editing tools and toolbar on page 275.
9. From the File menu, click Save Symbol.
1. From the Symbol menu in the Symbol Editor, click Select Symbol.
2. Click a symbol.
3. Click OK.
• From the Tools menu in the Symbol Editor, click Edit RST.
If you want to change a style, select it and make any modifications.
Renaming a map
1. In the Maps tree, right-click a map and click Rename.
2. Type a name for the map and press Enter.
You can create a Map by either clicking the New Map button on the Maps toolbar or by right-clicking the area
under the Maps tree and clicking New Map.
When you create a new Map, Focus automatically places an empty frame in the view pane that represents
the paper on which the Map is printed. Maps have several properties that you can change with the Map
Properties window.
You can change the Map description by typing in the Name box. When you click Apply, the text appears in
the Maps tree as the Map name.
You can name Maps, Areas, and layers the same way you would rename a file in other Windows applications.
Click the file name in the Maps tree and type a name for the Map or layer.You can also right-click a file name,
and click Rename.
1. Double-click a Map.
2. In the Map Properties window, click the Page Setup tab.
3. Enable an orientation option.
4. Select a standard paper size from the Page Size list box.
If you want to use a custom paper size, choose Custom and enter the dimensions in the Width and Height
spin boxes. Choose a unit of measurement from the list box.
5. Click OK.
Scaling an area
In cartography, scale is the ratio of the distance between two points on a Map, and the actual distance between
the same two points on the Earth's surface.
Scales can be represented as a
• Ratio or representative fraction (RF), such as 1:50,000 or 1/50,000, which means that one unit of
measurement on the Map equals 50,000 of the same units on the Earth's surface.
• Graphic scale, usually a straight line on which distances (most often in kilometers or miles) have been
marked off.
• Scale statement, such as 1 cm = 100 km. This scale statement means one centimetre on the Map
represents 100 kilometers on the Earth's surface.
New Areas are automatically scaled to the best fit for the dimensions of a Map. For example, Focus sets the
area scale for a standard 8.5 x 11 page to a scale factor of 1:20000 by default. A new Area contains no raster
or vector data. When you add new data, Focus automatically scales it to the area scale.
When Focus is in Map mode, you can click on an area in the Maps tree. you can modify the area in the view
pane by dragging one of the eight handles in the viewer.
Note: With an area, the middle handles crop the image. The corner handles rescale it.
Use the area handles in the view pane to rescale, crop, or enlarge an Area.
When you change the scale in the Area or Math Model Area Properties windowes, it becomes the scale for
all new layers added to that Area.
Rescaling an area
When you rescale data in the view pane, you extend or compress both the horizontal and vertical planes of
the data. The aspect ratio stays the same. All features in a selected Area are enlarged or reduced by a factor
corresponding to the ratio of rescaling. You can change the Scale Factor.
You can perform rescaling operations in both Map or Area view mode.
Note: Surround areas can be resized and rescaled. However, scale bars and neatline will not be affected by
rescaling.
The paper range and the scale factor are adjusted automatically when you rescale a selected area, but the
georeferenced information remains the same. To view the new scale values, open the Area Properties window.
The paper range and the geographic range are adjusted automatically when you resize a selected area but
the appearance of the existing layers does not change.
• From the Maps tree, right-click a New Area and click Properties.
7. In the Position area, enter a value representing the horizontal distance from the left edge of the Map in
the Left spin box and choose a unit of measurement for the position and size.
8. Enter a value representing the vertical distance from the bottom edge of the Map in the Bottom box.
9. In the Size area, enter a value for the Area as it appears on the Map in the Width and Height spin boxes.
If you want to automatically adjust the extents of the Area to accommodate the data, enable the Automatic
Resize check box.
10. Click the Projection/Extents tab.
11. Enable one of the following options in the Bounds list box:
• Geocoded: displays the bounds in georeferenced units
• Geographic: displays Longitude/Latitude units
12. Enter the coordinates of the upper-left corner and lower-right corner of the Area in the appropriate boxes.
13. Enter a value for an angle of rotation in the Rotation box and choose a unit of measurement.
If you want to limit processes to a subset of the data, click Define Clip Region. Select the checkbox to
activate the clip region.
14. Click OK.
• From the Maps tree, right-click a Math Model Area and click Properties.
1. From the Math Model Area Properties window, click the General tab.
2. Type a name for the Math Model Area in the Name box.
If you want to have a border around the Math Model Area, enable the Show Outline check box.
3. Choose a scale to determine the ratio of the distance between two points in the Math Model Area from
the Scale list box.
If you want to use a custom scale, choose Custom and type a value ratio. (See also Scaling an area on
page 316)
4. Click the Layout tab.
5. Enter a value used to rescale the representation displayed on the Map in the Scale Factor spin box.
For example, if the symbol is 1 millimeter wide, a scale factor of 5 will display the symbol as 5 millimeters
wide on the Map.
6. Enter a value representing the priority of the Math Model Area relative to other Areas in the Priority spin
box.
Areas with higher priority levels (larger numbers) mask overlapping Areas with lower priorities. (See
Changing the layer priority on page 18)
7. In the Position area, enter a value representing the horizontal distance from the left edge of the Map in
the Left spin box and choose a unit of measurement for the position and size.
8. Enter a value representing the vertical distance from the bottom edge of the Map in the Bottom box.
9. Click the Projection/Extents tab.
10. Enable one of the following options in the Bounds list box:
Geocoded: displays the bounds in georeferenced units
Geographic: displays Longitude/Latitude units
If you want to limit processes to a subset of the data, click Define Clip Region. Enable the Enable check
box to activate the clip region.
11. Click OK.
Creating a surround
The surround elements are displayed in the Maps tree for the Area to which they are associated. If you place
a surround element so that part of it lies outside the boundaries of the Map, it appears red in the Maps tree.
For more information about surrounds, see Working with surrounds on page 319.
• From the Maps tree, right-click a surround element and click Properties.
About neatlines
A neatline is a line around an Area that separates data from the rest of the surround. It is a line marking the
boundary around the Area beyond which no data is displayed. Unlike the other surround elements, the neatline
can only be used once in each Area. The neatline also serves as the frame of reference for positioning other
surround elements.
To add a neatline to an Area, see Creating a surround on page 319. To open the Neatline Properties window,
see Setting surround element properties on page 320.
The look of a neatline is determined by its:
• General properties
• Position (see Setting the updating behavior on page 338)
• Quick Style (see Selecting an existing quick style on page 339)
4. In the Distance From Area area, enter a value representing the distance from the left neatline to the Area
in the Left spin box and choose a unit of measurement from the list box.
If you want to keep the distance between the neatline and the Area the same on all sides, enable the
Keep equal check box and go to step 8.
5. Enter a value representing the distance from the right neatline to the Area in the Right spin box.
6. Enter a value representing the distance from the top neatline to the Area in the Top spin box.
7. Enter a value representing the distance from the bottom neatline to the Area in the Bottom spin box.
8. Click OK.
• Click Advanced (see Setting specific extents for a neatline on page 321).
3. Enter a value measured from the left edge of the Map to the lower left corner of the neatline in the X min
spin box and choose a unit of measurement from the list box.
4. Enter a value measured from the left edge of the Map to the lower right corner of the neatline in the X
max spin box.
5. Enter a value measured from the bottom edge of the Map to the lower left corner of the neatline in the Y
min spin box.
6. Enter a value measured from the bottom edge of the Map to the upper left corner of the neatline in the Y
max spin box.
7. Click OK.
About borders
A border is a decorative frame that surrounds a Map. You can build a border as simple or as complex as you
want.
To add a border to an area, see Creating a surround on page 319. To open the Border Properties window,
see Setting surround element properties.
The look of a border is determined by its:
• General properties (see Changing border style and proximity to neatline on page 321)
• Position (see Setting the updating behavior on page 338)
• Quick Style (see Selecting an existing quick style on page 339)
About grids
A grid is an array of regularly-spaced parallel and perpendicular lines arranged over an Area. Each cell is
used as a reference point for determining locations or coordinates. For example, they can be used in
conjunction with street indexes.
Figure 8: A grid
A graticule is drawn along latitude and longitude lines or a representation that relates points in an Area to
locations on the ground.
Georeferenced grids are linked to Area data. They can be used to locate and reference Map features with
the Earth through georeferenced coordinate systems. Georeferenced grids are not always rectilinear. For
example, latitude/longitude grids have curved grid lines, while UTM grids have both curved and straight lines.
The position of a grid is based on the position of a neatline or on an Area if a neatline is not set.
To add a grid to an area, see Creating a surround on page 319. You cannot create a grid in a rotated Area
(Raster Up). For more information, see About rotated rasters on page 23.
To open the Grid Properties window, see Setting surround element properties on page 320.
The look of a grid (or graticule) is determined by its:
• General properties (see Changing grid pacing and proximity to neatline on page 323)
• Layout properties (see Changing the style and layout of the grid on page 324)
• Headings properties (see Changing the location and style of the grid headings on page 324)
• Label properties (see Changing the location and style of the grid labels on page 325)
• Position (see Setting the updating behavior on page 338)
• Quick Style (see Selecting an existing quick style on page 339)
9. Enter a value representing the horizontal width of the column in the Column Width spin box and choose
a unit of measurement from the list box.
10. Enter a value representing the vertical width of the row in the Row Height spin box.
If you want to keep the column width and row height the same size, enable the Keep equal check box.
11. In the Fixed Interval area, enter a value representing the number of columns that you want to cover the
Area in the Column spin box.
12. Enter a value representing the number of rows that you want to cover the Area in the Row spin box.
If you want to keep the number of columns and rows the same, enable the Keep equal check box.
13. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
5. Click the Style button and create a style for the lines or crosses.
6. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
See also
If you want to have both the horizontal offset and vertical offset the same distance from the lines, enable
the Keep equal check box and skip step 4.
4. Enter a value representing the space between the label and the X-axis as the label moves along the Y-axis
in the Vertical Offset spin box.
5. In the Northing Placement area, enable any of the check boxes to indicate where you want the label to
be positioned in reference to the lines on the Y-axis. UR represents upper right, UL represents upper left,
LR represents lower right, and LL represents lower left.
6. Enter a value representing the space between the label and the Y-axis as the label moves along the X-axis
in the Horizontal Offset spin box.
If you want to have both the horizontal offset and vertical offset the same distance from the lines, enable
the Keep equal check box and skip step 7.
7. Enter a value representing the space between the label and the X-axis as the label moves along the Y-axis
in the Vertical Offset spin box.
8. In the Appearance area, click the Style button and create a left-aligned style for the text (see Selecting
a style on page 305).
9. Choose a format that represents how you want the labels to appear from the Format list box.
10. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
About legends
A legend is a list of colors, symbols, and patterns displayed in an Area with a description or label explaining
what each means. Each color, symbol, and pattern is represented in the legend by a small sample or example
of itself. The legend is anchored to the neatline or to an Area if a neatline is not set and is positioned in
reference to that anchor.
To add a legend to an Area, see Creating a surround on page 319. To open the Legend Properties window,
see Setting surround element properties on page 320.
The look of a legend is determined by its:
• General properties
• Title properties
• Filter properties
• Structure properties
• Columns properties
• Position (see Setting the updating behavior on page 338)
• Quick Style (see Selecting an existing quick style on page 339)
6. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
6. Enter a value representing the distance between the title and the legend in the Spacing from columns
spin box and choose a unit of measurement from the list box.
7. Enable one of the following Alignment options:
• Left: aligns the title along the left edge of the legend
• Center: centers the title over or under the legend
• Right: aligns the title along the right edge of the legend
8. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
(RST) linked to the selected layers or only the styles that are used in the Area. Once you have made an initial
selection, you can refine the legend.
Cells that appear gray under the All Repcode column in the filter table indicate the layer is not associated to
an indirect RST and cannot be used in the legend. For more information about RSTs, see Understanding
representation on page 301.
If a style in the RST contains a text attribute, you can include it in the legend. The style associated to a text
attribute is represented in the legend by a capital letter T in the corresponding style. For more information
about text attributes, see Using an attribute as part of the style on page 307.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
a) In the Legend hierarchy list, select the section under which you want to add a subsection.
b) Click the Add button.
3. To remove sections, do the following:
a) In the Legend hierarchy list, select the section you want to remove.
b) Click the Remove button.
4. To move an item to a section, drag the item and drop it in the desired section.
5. To add an item from an RST to a legend, do the following:
a) In the Legend hierarchy list, select a section.
b) In the RST hierarchy box, select an item.
c) Click the button between the lists. For more information, see:
• Setting the updating behavior on page 338
• Selecting an existing quick style on page 339
8. Click Advanced and determine the position of descriptions, the size of samples, the position of section
titles, and the length of delimiters. For more information, see Customizing a section layout on page 329.
If you want to change the selected section or subsection title, click it and type a new title.
9. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
1. In the Legend Properties window, click the Structure tab and click Advanced.
2. Enable one of the following Description alignment options:
• Left: aligns the description or label for the sample to the left
• Right: aligns the description or label to the right
3. Enter a value that represents the indent between the left border and the left side of the legend in the Left
spin box and choose a unit of measurement from the list box.
4. Enter a value that represents the indent between the right border and the right side of the legend in the
Right spin box.
If you want to have both the left and right sides the same distance from the border, enable the Keep equal
check box.
5. Enter a value that represents the space between each item in the list in the Inter-item spacing spin box.
6. In the Sample size area, enter a value representing the width and height of the box in the Width and
Height spin boxes.
7. In the Section title area, enable an Alignment option.
8. Enter a value that represents the spacing above and below the title in the Above and Below spin boxes.
9. Enable the Delimiters check box.
10. Enter a value for the Minimum length, Lead, and Tail spin boxes for the delimiters.
11. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
1. From the Maps tree, right-click a picture element and click Properties.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
1. From the Maps tree, right-click an arrow element and click Properties.
2. In the North Arrow Properties window, click the True North tab and enable the Show true north arrow
check box.
3. Enter a value that represents the counterclockwise rotation that you want to apply so that the arrow points
north in the Angle spin box and choose a unit of angular measurement from the list box.
4. Click the Style button and create an arrow style (see Selecting a style on page 305).
5. Enable the Show arrow label check box and choose a label from the list box.
If you want to customize the position of the label, click Advanced.
6. Click the Style button and create a font style.
7. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
1. In the North Arrow Properties window, click the True North tab and click Advanced.
2. In the North arrow heading - Advanced window, enter a value that represents the space between the
arrow and the label in the Distance from arrow spin box and choose a unit of measurement from the list
box.
3. Enable one of the following Angle options:
• Custom: adjusts the angle of the label. Enter a value that represents the rotation that you want in the
spin box and choose a unit of measurement from the list box.
• Perpendicular: changes the angle of the label so it is vertical to the baseline of the map
• Parallel: changes the angle of the label so it coincides with the baseline of the map
5. Click OK.
Setting the angle and style for the magnetic north arrow
1. In the North Arrow Properties window, click the Magnetic North tab and enable the Show magnetic
north arrow check box.
2. Enter a value that represents the counterclockwise rotation that you want to apply so that the arrow points
north in the Angle box and choose a unit of angular measurement from the list box.
3. Click the Style button and create an arrow style (see Selecting a style on page 305).
4. Enable the Show arrow label check box and choose a label from the list box.
If you want to customize the position of the label, click Advanced.
5. Click the Style button and create a font style.
6. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
Setting the angle and style for the grid north arrow
1. In the North Arrow Properties window, click the Grid North tab and enable the Show grid north arrow
check box.
2. Enter a value that represents the counterclockwise rotation that you want to apply so that the arrow points
north in the Angle box and choose a unit of angular measurement from the list box.
3. Click the Style button and create an arrow style (see Selecting a style on page 305).
4. Enable the Show arrow label check box and choose a label from the list box.
If you want to customize the position of the label, click Advanced.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
Bar
If you want to show two different scales, such as kilometers and miles, you must create two separate scale
bars. If you want both scale bars lined up at zero, you must align them manually.
To add a scale bar to an Area, see Creating a surround on page 319. To open the Scale Bar Properties window,
see Setting surround element properties on page 320.
The look of a scale bar is determined by its:
• General properties
• Scale bar type
• Division
• Subdivision
• Style
• Position (see Setting the updating behavior on page 338)
• Quick Style (see Selecting an existing quick style on page 339)
Determining the style and position of the title for the scale bar
1. From the Maps tree, right-click a scale bar and click Properties.
2. In the Scale bar Properties window, click the General tab and enable the Show title check box.
3. Type a title for the scale bar in the Show title box.
By default, the title is the current scale in the Area.
4. Click the Style button and create a font style of the scale bar title (see Selecting a style on page 305).
5. Enable one of the following options for the title placement:
• Above: displays the title on top of the scale bar
• Below: displays the title under the scale bar
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
1. From the Scale bar Properties window, click the Scale bar type tab.
2. Enable one of the following options:
• Line and Tick : uses a Line and Tick scale bar.
• Single bar: uses a scale bar type with one row
• Double bar: uses a scale bar type with two rows
• Triple bar: use a scale bar type with three rows
3. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
1. From the Scale bar Properties window, click the Division tab and enable the Automatic divisions check
box.
If you want to manually set the number of divisions, disable the Automatic divisions check box, enter
the number of divisions that you want in the Number of divisions spin box, enter a value that represents
the real distances on the ground that the division covers in the Division size spin box, and choose a unit
of measurement.
If you want to display a unit of measurement on the scale bar and set which tick represents zero, click
Advanced.
2. Enable the Show headings check box.
3. Click the Style button and create a heading font style (see Selecting a style on page 305).
4. Enable one of the following Placement options:
• Top: places the headings on top of the divisions
• Bottom: places the headings under the divisions
• For the Line and Tick scale bar type, ticks are placed on the same side as the headings.
5. Enter a value that represents the space between the headings and scale bar in the Distance from scale
bar spin box and choose a unit of measurement from the list box.
6. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
Labeling a scale bar with a unit of measurement and setting a zero tick
You can specify where a unit of measurement is displayed on a scale bar and which tick represents zero.
1. From the Scale bar Properties window, click the Division tab, disable the Automatic divisions check
box, and click Advanced.
2. In the Scalebar Divisions - Advanced window, enable any of the following check boxes:
• Place units label at the start of scale bar: displays a unit of measurement to the left of the scale bar.
Choose a unit of measurement from the Label list box.
• Place units label at the end of scale bar: displays a unit of measurement to the right of the scale
bar. Choose a unit of measurement from the Label list box.
3. Click the Style button and create a label font style (see Selecting a style on page 305).
4. Enter a number of the tick on your scale bar where you want the zero mark to appear in the Zero is at
tick spin box.
5. Click OK.
1. From the Scale bar Properties window, click the Subdivisions tab and enable the Show subdivisions
check box.
2. Enter the number of subdivisions you want in the scale bar in the Number of subdivisions spin box.
If you want to specify how many and which divisions to subdivide, click Advanced.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
1. From the Scale bar Properties window, click the Subdivision tab and click Advanced.
2. In Scalebar Subdivisions Advanced window, enter the number of divisions you want to subdivide in the
Divisions to subdivide box.
3. Enter the number of the division where you want to begin showing the subdivisions in the Starting at
division spin box.
4. Click OK.
You can also choose the colors for a scale bar pattern:
1. In the Scale bar Properties window, click the Scale Bar Type tab and enable the Tick and Line option.
2. Click the Style tab.
3. In the Scalebar area, click the Style button and create a style for the bar (see Selecting a style on page
305).
If you want the ticks to overlap the scale bar, enable the Center ticks vertically on scale bar check box.
4. In the Division Ticks area, click the Style button and create a division ticks style.
5. Enter a value that represents the length of a division tick in the Tick height spin box.
6. In the Subdivision Ticks area, click the Style button and create a subdivision ticks style.
7. Enter a value that represents the length of the subdivision tick in the Tick height spin box.
8. Click OK.
1. In the Scale bar Properties window, click the Scale Bar Type tab, enable the Single bar, Double bar,
or Triple bar option, and click the Style tab.
2. In the Colors area, click any section box and choose a color from the color palette.
3. Enter a value that represents the total height of all sections in the scale bar in the Scale bar height spin
box and choose a unit of measurement from the list box.
For a triple-bar style, you can set the height of the middle row differently than the top and bottom rows by
entering a value representing the height of the middle row of the scale bar in the Middle section height
spin box.
4. Enable the Show outline check box and click the Style button to create an outline style (see Selecting a
style on page 305).
5. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
1. From the Maps tree, right-click a title element and click Properties.
2. Click the General tab and type a title for the Area in the Title box.
3. Click the Style button and create a font style (see Selecting a style on page 305).
4. Enable the Subtitle check box and type a subtitle in the box.
If you want to change the font of the subtitle, click the Style button and create a style.
5. Enter a value that represents the space between the title and subtitle in the Spacing from title spin box
and choose a unit of measurement from the list box.
6. Enable one of the following Alignment options:
• Left: aligns the title and subtitle to the left
• Center: centers the title and subtitle
• Right: aligns the title and subtitle to the right
7. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
1. From the Maps tree, right-click a paragraph element and click Properties.
2. Click the General tab and type in the Text box.
If you want to change the font of the text, click the Style button and create a style (see Selecting a style
on page 305).
3. Enter a value that represents the angle of rotation you want to apply to the text in the Angle spin box and
choose a unit of angular measurement from the list box.
If you want to import text from a text file, click Import Text, locate and select a file in the File Selector
window, and click Save.
4. Click OK.
See also
Setting the updating behavior on page 338
Selecting an existing quick style on page 339
• Regenerate: the surround element is recalculated and positioned based on new settings for a neatline
(or Area). This behavior is useful for the neatline, border, grid, and scale bar elements.
• Do nothing: the surround element does not adjust to the new settings and remains as originally positioned.
1. From the Maps tree, right-click a surround element and click Properties.
2. In the surround element Properties window, click the Position tab.
3. In the Updating area, choose how you want the surround element to react when a neatline (or Area)
changes position from the When neatline/area moves list box.
4. Choose how you want the surround element to react when the scale of a neatline (or Area) changes from
the When area/neatline is rescaled list box.
5. In the When area/neatline is resized list box, choose how you want the surround element to react when
a neatline (or Area) is enlarged or reduced in size.
6. Click Apply.
Setting the offset (not available for neatline, border, and grid)
1. In the Offset area, enter a value for the horizontal position in the X spin box and a value for the vertical
position in the Y spin box.
You can also click a gray handle and drag the surround element into position.
2. In the preview area, click a gray handle.
3. Click a white handle to determine the anchor point.
By default, the origin of a starting point of a grid is the lower-left corner of a neatline.
Understanding Grids
1. From the Maps tree, right-click a surround element and click Properties.
2. In the surround element Properties window, click the Quick Style tab.
3. Select a custom Quick Style and click the Remove QS button.
1. From the Maps tree, right-click a surround element and click Properties.
2. In the surround element Properties window, make changes to the properties of the surround element.
3. Click the Quick Style tab and click the Add QS button.
If you want to rename the new Quick Style, double-click it, type a name, and press Enter.
1. Index Information: All content used in the index matching specified conditions. You can compose a list
of these items.
2. Information: A reference that identifies a location for each item in the index, information matches specified
conditions. You can specify grid information.
Indexation properties
You can set the properties for an index, including filters and lists.
Filtering:
Specifies the type of information you want to include in an index. For example, you may want to include only
road and building names. You can also edit redundant words, such as 'street' from appearing in the index.
Index List:
Generates an alphabetical listing of index entries with grid locations. You can add, delete, and modify list
entries. Verification Mode, when enabled, is used to interactively locate a list entry within the current Map.
An index is generated in its own area on a Map, which is designated as Indexation. There is only one layer
in an index area.
A grid created by the index is also generated in its own area on the Map and is designated as Index. There
is only one layer in a grid area.
Changing headings, entries, and delimiters in the RepCodes area of the General page.
When accessing an existing parameter file, it must be used with the same Area for which it was originally
created. If you select another Area, the settings are reset to the default.
Setting up an index
The Indexation process requires a grid to properly reference the location of text. The grid defines the location
of the text that is to be extracted.
Filtering an index
You can specify the type of information you want to include in an index. For example, you may only want
road and building names to appear in the index. You can also exclude redundant words from the index.
Once you have generated an index list, you can edit the information.
Verification Mode
You can verify an index list by selecting an entry. Focus displays the precise location on the Map where the
text is located. If a location is not within the view pane, the Indexation module shifts to where the text is
located. The layer where text is located must be active for the Verification tool to work properly.
Using the Verification Mode option
1. In the view pane, set a zoom factor that will make the text easy to see.
6. Click OK.
7. Click in the Attributes column for the cell where you want to add the attribute information and type the
attribute information in parentheses.
8. Press Enter.
9. Click OK.
Prefixes List
The prefix list words are entered in an index in reverse order. For example, if the word "Lake" appears in the
Swap prefixes list, then "Lake Rice" appears in the index as "Rice, Lake." Index entries are sorted according
to the most meaningful names.
1. Words to be swapped must be specified in the list. The Indexation module looks for text lines beginning
with the specified words.
2. If a word is specified in the prefixes list, then the Indexation module looks for text lines in the view pane
beginning with that word. Lines containing only the specified word cannot be swapped.
3. When two or more words are swapped, they must be specified in the prefixes list if you want them to
appear in the index.
4. If the prefixes list contains a repeated word, the Indexation process considers only the longest prefix. For
example, when "Township of" and "Township" are in the same list, only "Township of" is used. A word
cannot be duplicated in the list.
5. If the prefixes list is empty, the Swap Prefixes option has no effect.
6. The prefixes list is not case-sensitive or space-sensitive, but it is aware of accent marks.
If you want to delete a word from the list, select the word and click the Remove button.
If you want to copy the word exclusion list to the prefixes list, click the Filtering tab and click Copy
exclusion list.
4. Click OK.
Printing a map
You can print a Map. The Print Setup window specifies the options for printing your publication.
Vector layers placed below a raster transparency in the Maps tree appear in the view pane but are not
supported for printing. To print all layers as they appear in the view pane, you can export the map to a file
with Export Map and print that file separately. For more information about exporting a map, see Opening the
Export Map window on page 349.
4. Choose one of the following options from the Wysiwyg list box:
• As Screen : prints the Map according to selected Wysiwyg options
• Full Wysiwyg : prints the Map with full representation of lines, patterns, and text
Even if spot colors are defined in a color palette, only the colors actually applied to features in the RST are
listed in the color list box.
Separate Color:
Enables all other items in the window.
Negative Image
Inverts the colors in an image. By default, the color separations process produces a normal image. Negative
printing is useful if you want to produce films for the Map.
Mirror:
Specifies that the film emulsion faces down. Emulsion is the coating of light-sensitive material on a piece of
film.
Convert to CMYK:
Separates all spot colors of a color palette into CMYK colors. Separating colors in only four plates avoids
producing an unnecessary number of plates.
Reg Marks and/or Crop Marks:
Prints registration marks or crop marks on plates, or both. Registration marks serve as guides to perfectly
align different color separation plates. Crop marks are useful when trimming the page to the proper size. Both
marks are displayed slightly outside the graphics page extent.
Space for these marks is added to the extents of the map, even if they are disabled.
Label Marks:
Prints a label containing the names of the colors used in the separation process. This label is displayed
outside the Crop Marks.
Color column:
All spot colors listed in the color list box are removed from the list, since they are all converted to CMYK
colors.
Frequency:
For each color in the list box, define the Frequency of the grid.
Process color separations are printed using grids of black dots for each color. The frequency in lines per inch
defines how close the dots appear. The higher the frequency, the closer the dots and the darker the color.
Angle:
Defines the orientation of the grid screen or the dots. For each color in the list box, define the angle of the
grid in degrees.
Overprint:
Enables the Overprint color option for each color in the list box.
Overprinting is used when two overlapping objects of different color are printed on two different plates. For
example, when creating color separations for a magenta-colored circle on a cyan background, the cyan plate
would have a white circle knocked out where the magenta circle prints. The cyan and magenta do not mix;
however, you can set the magenta to print over the cyan. This results in the circle not being knocked out of
the cyan. The two colors overprint in that area, resulting in a purple circle on a cyan background.
When a color is selected to overprint, an X appears in the Overprint column of the color list box beside the
color and the color is printed on a corresponding plate. No holes corresponding to an overlapping color will
be knocked out.
If you set color frequency, angle, and overprint options individually, you must select all the colors you want
to process. However, if you click on the Convert to CMYK option, all four basic colors are automatically
selected.
You can interrupt a print job at any time by clicking Cancel.
Note: For UNIX systems, select the PostScript Level 2 driver. Color separations on UNIX are available for
this driver only. The color separations information is printed to a single PostScript (.ps) file, which can be
printed by most commercial shops.
1. From the File menu, click Export Map to open the Export Map window.
2. To lock the record and field selection in the chart, open the Chart window (see Creating a chart from the
layer on page 289) and click Export Chart.
3. In the Export Map or Export Chart window, type a path and file name for the file to export in the File box.
You can also click Browse to locate and select a location.
4. Choose a file format from the Save as type list box.
5. In the Options area, set the parameters, depending on the following format types:
• Adobe Illustrator: see Exporting a map or chart as an Adobe Illustrator file on page 349
• JPEG: see Exporting a map or chart as a JPEG on page 349
• JPEG 2000: see Exporting a map or chart to a JPEG 2000 file on page 350
• PCIDSK: see Exporting a map or chart to PCIDSK on page 350
• TIFF: see Exporting a map or chart to TIFF on page 350
• BMP: see Exporting a map or chart to BMP on page 351
• HP RTL: see Exporting a map or chart to an HP RTL file on page 351
• EMF: see Exporting a map or chart to EMF on page 351
6. Click OK.
1. In the Export Map or Export Chart window, choose JPEG (.jpg) from the Save as type list box.
2. Enter a value that represents the resolution produced by the display or printer in the DPI spin box.
The closer the match between the resolution of the file and the display or printer, the better the quality of
the results.
3. Enter a value that represents the image quality in the Quality box.
The lower the number, the lower the quality of the image (more data discarded) and the smaller the file
size.
4. Click OK.
1. In the Export Map or Export Chart window, choose JPEG 2000 (.jp2) from the Save as type list box.
2. Enter a value that represents the resolution produced by the display or printer in the DPI spin box.
The closer the match between the resolution of the file and the display or printer, the better the quality of
the results.
3. Enable one of the following options:
• Lossless: uses lossless compression
• Lossy: uses lossy compression. Enter a value that represents the image quality in the Quality box.
4. Click OK.
1. In the Export Map or Export Chart window, choose PCIDSK (.pix) from the Save as type list box.
2. Enter a value that represents the resolution produced by the display or printer in the DPI spin box.
The closer the match between the resolution of the file and the display or printer, the better the quality of
the results.
3. Click OK.
method, you trade the quality of the image for a reduction in the file size. More compression means a lower
quality image. You must decide a balance between file size and image quality.
1. In the Export Map or Export Chart window, choose TIFF (*.tif) from the Save as type list box.
2. Enter a value that represents the resolution produced by the display or printer in the DPI spin box.
The closer the match between the resolution of the file and the display or printer, the better the quality of
the results.
3. Choose one of the following options from the Compression list box:
• PACKBITS : uses lossless compression
• JPEG : uses lossy compression. Enter a value that represents the image quality in the Quality box.
4. Click OK.
1. In the Export Map or Export Chart window, choose BMP (*.bmp) from the Save as type list box.
2. Enter a value that represents the resolution produced by the display or printer in the DPI spin box.
The closer the match between the resolution of the file and the display or printer, the better the quality of
the results.
3. Click OK.
1. In the Export Map or Export Chart window, choose HP RTL (.rtl) from the Save as type list box.
2. Enter a value that represents the resolution produced by the display or printer in the DPI spin box.
The closer the match between the resolution of the file and the display or printer, the better the quality of
the results.
3. Choose a printer type from the HP RTL Options list box.
4. Choose a color or black-and-white option from the Color list box.
5. Choose a dithering method from the Dither list box.
Dithering is a process that places pixels of different colors together to create the illusion of a color that is
not available in the palette.
If you want to save paper when using roll-fed printers, enable the Print long edge first check box. This
option positions the file to make the optimum use of the paper and generate the least amount of waste.
6. Click OK.