Geomatica Tutorial
Geomatica Tutorial
First, you will be using the sample data found on the Geomatica FreeView CD for this
tutorial. If you do not have this CD, please download the sample data at
ftp://ftp.pcigeomatics.com/pub/demodata/ . The files you need include:
Demonstration activities are shown in bulleted form(). Icons and buttons are shown in
Bold text. Processing steps are indicated with quotation marks. Filenames are shown
in italics, within quotation marks.
The following demo will show the ability of Geomatica FreeView to load multi-
resolution imagery into a single session. As well it will demonstrate the enhancement,
zooming and other image functionality of the new viewer.
Click the cursor in the lake in the upper right corner of the image.
Select the 1:1 zoom icon to zoom into a 1:1 piece of the LandSat multi-
spectral image.
Click on the enhancement icon again to show that the enhancements
are based upon the viewable area of the image.
Right click on the Red, Green and Blue layer icons in the tree- list to
change the channel mapping. Also use the right-click on the RGB layer
and show how the Image Mapper options can be used to change the
channel mapping. Make sure to re-enhance each time the channels are
changed.
Show the zoom functionality, using the Zoom to Overview icon to
zoom out, and then use the Zoom to Area to zoom to a selected
window.
The right- mouse button works in this mode. If you select zoom
to area, and drag out the box with the right mouse button, you
stay in zoom to area mode. You can then drag out another box
using the same method. Therefore you do not have to click the
icon, select box, click icon, select box, etc... If you stay in this
mode, a left mouse button click will automatically return you to
the previous zoom level.
Use the 1:1 Zoom icon to return to the full-resolution image.
Show the panning functionality by selecting the Pan Mode icon. Click
in the image window and move throughout the image. Once finished,
zoom back out to the overview.
Select the Numeric Values icon. Ensure that you move the panel so
that it and the main window can both be seen at the same time. Show
how the panel follows the cursor in the view window, displaying the
actual grey level values for the file being displayed.
Select the Open File icon and open the file "radarsat.pix".
The enhancement and zoom functions are based upon the cursor
location in the view window. Whatever layer is on top at the
cursor location, will be the layer that is enhanced when
selecting the enhancement icon from the toolbar. Also, when
zooming 1:1, the resolution is based on that same layer.
You will notice how multi- resolution data can be loaded into
the same image viewer.
Select the Add Layer icon. Select an RGB image layer. In the
channel selection panel, select the Browse option. Choose the file
"airphoto.pix", and select channels 1,2,3.
Show the zoom and enhancement functionality for all three layers.
Using the Open File icon, open the file "full7pan.sid". Explain that this
is a Mr. Sid format file. Show how this file is on top in the tree- list, and
therefore sits on top of all of the previously loaded imagery.
This is using PCIs new GDB technology that allows one to
load a MrSID compressed raster file into the viewer without
having to convert it to our own format.
Using the tree- list, move the other image layers on top of the Mr. Sid
layer. Explain how the order of the layers in the MAPS tree- list is the
order of rendering in the view window.
Click the New Project icon to clear the current view
We just looked at multiple images for a single geographical
area. However, we can also load up overlapping images
covering a much larger geographical area. The next section will
include loading 6 air photos which overlap and could be
mosaicked together using OrthoEngine.
Select the Open File icon and open the file "os063.pix".
Select the Open File icon and open the file "os064.pix".
The two photos overlap, but the imagery below is obscured by
the 0 values in the top photo. To allow us to see this overlap,
we can set a transparency value for the photo on top.
Right click on the top layer in the tree-list (should be from "oso64.pix")
and select the Properties item from the menu.
Select the transparency check box in the properties panel, and make
sure the value text box is set to 0. Click Apply.
Load the remaining photos (os131, os132, os190, os191) to
show how 4 or 6 photos can be loaded into a single area.
Click the New Project icon to clear the current view
Geomatica: Vector data
Select the New Line icon. Click in the view and you are now adding a
line to the display. Each click is a new vertex, with a double-click
ending the line.
If you wish, you can also show the Trace line and New Point
drawing tools as well.
Once you have drawn a line, use the Select key to select that vector.
It is very easy to change a vector's representation in Geomatica.
To change the colour, select the Line Colour pull-down palette, and
select a colour. Then click in the window again to turn off the highlight.
The selected vector has now changed colours.
The same can be done for line thickness and line style.
Zoom out, and then select the New Area icon from the area editing pull-
down list. Use this tool to draw an area around on of the fields that can
be seen on the imagery.
Once you have drawn the area, use the Select key to select it.
Use the Area Colour pull-down palette to change the fill colour for the
area. You can also use the Line Colour palette to change the border
colour for the area.
If you wish to, you might also create a pattern for the area, using the Set
Area Pattern option. Select the more patterns option and change the
foreground colour to black, selecting one of the available symbols.
Click the New pro ject icon to clear the view window.
Geomatica: Map Composition
Open the file "l7_pan.pix". Next open the file "railroad.pix" as well.
Map composition within Geomatica is a simple menu selection
away.
From the View menu, select the Map View Mode optio n. Then click
the Zoom to Overview icon to zoom to the overall view of the map.
As you can see, one now has a white "paper" background. By
default the system works with a Letter sized (8.5 x11) page,
which can be changed within the map properties panel.
To move the imagery and vectors on the page, select the New Area item
in the tree- list. There should now be a bounding box highlighting the
extents of the imagery. You may click on the bounding lines and move
the area on the page.
To add simple map surround objects, such as North arrow, Scale bar,
title, and grid, simply right -click on the New Area in the tree- list, and
select the Surround option.
From the list of items in the surround panel, select
Neatline, border, grid, north arrow, scale bar and title.
Just leave these as their defaults. Click OK. You can see
how these items are added to the tree- list, and are displayed
in the view.
You can also change the scale of each area of the map, using the area
properties. For example, right -click on the New Area in the tree- list
and select the Properties option from the pull-down menu. In this
panel, change the scale using the widget provided, selecting custom and
setting it to 1:500000. Notice in the view that all of the surround items
rescale with the data.
Another method for rescaling is to select the area in the treelist, and
once the bounding box is displayed, you can drag the bottom right
corner, thereby making the area larger or smaller. If you do that, then
check the area properties panel again, the scale will be changed to
reflect the resizing that took place.
You can also add another area to the map, which can contain any data
you wish. Right-click on the map in the tree- list, and select the New
Area item from the pull-down menu.
Click on New Area(2) in the tree- list, and then select the Area Mode
option from the View pull-down menu. Show how one can switch
between the areas in this mode. Click in the yellow-boxed area around
the area named New Area(2). When the item is highlighted in grey,
type "DEM area". You have now renamed the area in the tree-list.
You can resize the area by using the handles in the view window to drag
the window smaller. If you do this when data is loaded into the area, the
data viewed in the area will change. (as opposed to using the bottom
right corner to rescale)
Click on the Open File icon, and select the file "DEM.pix". This will be
loaded into the area that was last selected in the tree- list. Initially this
may come up all grey. To fix this, enhance the image using one of the
enhancement icons .
A map can contain any number of areas, all which have their
own scale and representation.
Go back into area mode, using the Normal View Mode option from the
view menu. You will be looking at the DEM area. Show how to switch
between areas, simply by clicking in the tree- list.
Finally, go back into Map Mode, showing how simple it is to switch
between the two.
Click the New project icon to clear the view window.
Geomatica - Algortihms and File Treelist
Add a file to the FILES tab of the tree- list by right clicking in the tab
and selecting Add. Choose the file "irvine.pix".
All the different layer types are shown in this tab. To view
information from a particular layer, one simply clicks on that
layer and selects "view". For imagery, vectors and bitmaps the
layer will be automatically loaded to the view. For other layers,
a panel should open showing the user the information from that
layer. Two examples of this are shown next.
If you wish to look at the resultant relief image and the DEM at the
same time, you can generate a CLONE window. Right-click in the
view window and select the Clone Map View option. This opens up a
secondary window, with the relief image shown. Switch this window to
Area View mode using the option under the VIEW menu.
When a clone window is created, an exact replica of the data
layers is made in the Maps tree- list. In the original window, the
user can choose the first map, and reorder the layers there, and
this will not effect the second window. In this way, one can
view both layers at the same time.
In the original window, move the DEM layer to the top of the tree-
list. Now you have the DEM and the relief image visible. Click zoom
to overview in both windows, making sure you are in Area mode.
You can link the cursor in these windows, by simply selecting the Link
icon in each window. Now when the cursor is moved in one window, it
is also moved in the other.
OPTIONAL if you wish to run another algorithm, search in the
algorithms list for the mode filter program (FMO). Use the pseudo-
coloured layer as the input to the process, and generate a filtered layer.
Close the CLONE window, close all the modeler windows, and click
New Project in the main viewer window.
Geomatica - Sophisticated Map Composition
Click the Open Project icon, and select the file "washmap.gpr" .
These are a collection of data and maps (views) that are stored
as a text file. It can be reopened so the user can continue on
with work they started previously.
The data being loaded is a whole set of DLG files, which were
imported to PCI, and are being displayed using the USGS style
guide for 1:50,000 map production. These styles have been
stored in a RepCode table, which has been linked to the vector
layers.
Create a surround for this data by right clicking on the area in the tree-
list, and selecting the Surround option. Add the following elements:
Neatline
Border
Grid (use customize to change the spacing to 1000 M)
North arrow
Scale bar
Title (use customize and enter a title and sub-title)
Logo (use customize and select the logo file "demologo.bmp" )
Show the resultant output from a colour printer. (if you have it)
Geomatica - Classification
The following section will look at the unsupervised and supervised classification
functionality in Focus. This capability has been ported over from ImageWorks.