Object Editor.
General.
The object edit process has been enhanced to add new
features off the list built up from your requests as follows:
- cut, copy, and paste between vector objects via clipboard;
- copy all or part of an attribute table and paste in vector object via
clipboard;
- spline, thin, and auto label generation have a preview mode;
- right mouse button pops in customizable list of edit functions;
- prompts for attribute changes for edits of vector and CAD elements;
- default records can now be set for vector and CAD elements;
- "connect the dots" into lines or polygons from imported GPS
points;
- elastic, equal-sided polygon tool for up to 45 sides;
- island topology maintained "on the fly" in vector objects;
- nodes in TIN object can be moved;
- improvements in WYSIWYG in raster editing; and more.
All Objects.
Color Drawing Lines. You can now set the graphical tool
color and line width for all tools in the editor. This allows better visual
perception of the tool, especially against a color reference raster. This
feature has been requested for years, but the machine and display speed have
been too slow to make this practical until now. This feature has been
discussed in more detail above in the section entitled "Graphical
Tools".
More Previews. The Spline, Thin, and Auto Label
Generation operations now support a preview mode. This permits you to
determine if the final result is what you want before making the additions or
changes permanent. The option to change the preview color and width is under
"Setup/Preferences/Color".
Right Button Menus. A new method has been added for
quick selection and editing of vector, CAD, and TIN elements independent of
the "Element Selection Dialog". This method is invoked by placing
the mouse cursor on the element and then pressing the right mouse button. The
element is highlighted, and a menu pops up with a list of operations to
perform on that element. If the goal is to select a node, which is hard to
select due to the fact that the lines attached to the node will most of the
time be closer, press the TAB key while the menu is viewable to cycle through
the element types.
The capability to control which operations show up on the
popup menu is located under "Setup/Right Mouse Button...". This dialog
will allow control of which operations are enabled and, if the operation
requires it, the capability to set the parameters for the operation.
Certain operational parameters are not capable of being set
unless an editable object exists and is the current object, for example,
"Auto Label Generation". If this type of operation is selected and
invalid parameters are specified for the operation, a dialog is brought up to
allow entry of correct parameters. Examples of operations which behave in this
manner are the Auto Label and Attribute operations. The list of possible vector
operations includes Attribute, Auto Label, Delete, Edit, Reverse Line, Snap,
Spline, Straighten, and Thin. The list of possible CAD operations includes
Attribute, Break Line, Copy Element, Delete, Edit, Move Element, Place Back,
Place Front, Reverse Line, Spline, Straighten, Style, and Thin. The list of
possible TIN operations includes Delete and Edit.
Mac Right Buttons. On the Mac and PMac, the
"right" mouse button is simulated by MI/X using a Command Key
Sequence. The sequence can be just a key or a combination of a special key and a
mouse click. This sequence can be set using "File/Preferences ..."
from the MI/X menu. Here are the defaults:
left (Button 1): the mouse button
middle (Button 2): the option key plus the mouse button
right (Button 3): the "Apple" or command key plus
the mouse button
(#1, #2, #3 are the X names for these buttons. The X system
is designed to support left handed people. For a left-hander, Button #1 is on
the right and Button #3 is on the left. Under Windows products, the TNT
products support the mechanisms provided for flipping the order.)
The "Apple" or Command Key plus mouse button
sequence is very common in Mac and PMac graphics software. If a Mac or PMac has
a mouse with two or three buttons, the extra buttons may be used directly.
Attribute Prompting. Prompting for adding attribute
records is now operational in the editor for vector and CAD objects. Vector
editing actions which will result in prompts for attributes include adding
lines, points, and polygons; splitting lines and polygons; and joining polygons.
CAD editing actions which will cause prompts include adding, splitting, and
joining elements. The controls for setting up which attribute table to use in
the prompt are under "Setup/Database Prompt...". One attribute table
can be selected for the prompt for each element type: vector polygon, line,
point and CAD elements. In defining the attribute table to set as the prompt
table, you are allowed to copy a table from another object into this object.
Record Defaults. The ability to set a default record for
use when adding elements has been implemented for CAD and vector objects. In the
object toolbar in the "Attributes" group, press the element type for a
list of operations on the attributes. Use the "Default Record..."
operation to set the default record contents. The default attribute table used
is the same as the attribute prompting table discussed above. For example, you
can set up an attribute table prompt for the record to enter, and the initial
record shown will be the default record.
GPS Editing. A "connect-the-dots" tool is now
implemented for adding lines to vector or CAD objects. It is especially useful
when GPS observations describing polygons are imported as individual points. The
"dots" can be points in any reference or editable CAD or vector layers
and reference database record pinmap layers or the current editable layer
itself. The tool works by snapping the line vertices to the points in the
reference layer. As with other TNT product operations, the georeferences
of the two objects do not need to be the same.
DataTips. Spatial DataTips are now enabled for the object
editor and are outlined in more detail above in the section on DataTips. Set up
which database table and field to be viewed as the DataTip and which elements
have tool tips under "Setup/Spatial Data Tips...". When active, you
can place the cursor over the element and wait for the specified delay interval
to see the value of the selected attribute field for that element. Spatial
DataTips can be enabled for raster, vector, CAD, TIN, and database pinmap
layers.
Regions. You will now be asked if you want to save
regions created in the object editor when leaving the editor. This save region
feature is turned on by default. It can be disabled under
"Setup/Preferences/Other".
Polygon Drawing Tool. The vector and CAD editors now
provide an elastic drawing tool to create geometric polygons. It allows setting
the number of segments to make pentagons, hexagons, octagons, and so on. The
range of segments is from three to 45 segments. The manual entry section
includes controls for the circumscribed and inscribed radii along with center
point and rotation controls. On-screen rotation of the tool is achieved by
placing the mouse cursor on the perimeter as you would to resize it. Press and
hold the shift key, and press the left mouse button and drag.
Clipboards. The Cut, Copy, and Paste clipboard approach
is now supported in the object editor for vector objects. The "Cut"
tool allows a piece of the vector object to be placed into the clipboard and
that area removed from the editable vector object. There are two methods to
define the area to remove from the object. The first is a
"User-Defined" method using the "Multiple Line/Polygon Tool"
to define multiple areas to cut from. The second method is by using a region
tool or region object. Either can be used to specify the bounds of the irregular
areas to be cut from the vector object. The standard six spatial methods to
further specify the area to cut from a vector are available: "Completely
Inside", "Partially Inside", "Clip Inside" (default),
"Completely Outside", "Partially Outside", and "Clip
Outside".
The "Copy" tool acts much like the "Cut"
tool except for three ways. First, the operation doesn't alter the source
object. Second, the operation works on reference layers, since they are not
altered. Third, you can select the whole object to be in the clipboard.
The "Paste" tool is active if something exists in
the clipboard and the editor can paste into the current editable object. A
position box is presented when the paste tool is activated. This box defaults to
the correct georeference position of the clipboard object in the current object.
The box can be moved, rotated, and resized, and a button exists to reset the box
to the default position.
More Tips. A "Tip of the Day" dialog is now
implemented for the object editor. This dialog informs you of hidden features or
helpful suggestions on the editor.
TIN Objects.
Nodes in TIN objects can now be selected and their positions
modified. The TIN topology is recalculated after you determine the new position.
Vector Objects.
Island Reconciliation. Editing vector objects now
maintains polygon islands "on the fly". This allows correct
calculation of polygon areas and boundary lengths, generation of regions based
on selected polygons, and polygon display with respect to filling.
Conic Reconciliation. Adding conic elements (circle,
arc, arc chord, arc wedge) to a vector object has been modified to generate
the conic approximation with the area or the radius being equal to that of the
conic. Conics are approximated using a regular polygon with a specified number
of sides. The "circle" produced does not necessarily have the same
area as a true circle would. Now, if area equalization is selected, it is
achieved by adjusting the radius used to approximate the conic so that the
area of the polygon generated is the same as the conic. If radius equalization
is selected, it will be drawn to a vertex in the polygon, and the circle
passes through all these vertices (in other words, the polygon area is smaller
than the area of the enscribing circle). The number of vertices to generate
the conic in either case can now be adjusted. The controls to adjust these
parameters are in the Circle Tool dialog under the "Accuracy"
pop-down panel.
Raster Objects.
Drawing tools are now working in WYSIWYG mode.
Modifications since V5.70 CDs.
Since the CDs were prepared, the region manager (and any
process using it) has been modified to allow for region objects to be logically
combined (AND, OR, XOR, ...). Regions can be interactively selected and combined
and the new region immediately applied.
Export to the ArcInfo coverage file format is being
actively worked on. Inquire about its status.
Regions.
V5.60 provided a tool for interactively defining a
flooded region by selecting a DEM and drawing a dam or dams on it. The region
was then defined as the area that would be flooded by that impoundment. In this
fashion, dam sites could be quickly tested, the area of a landslide-induced
flood located, obstructed channel flooding outlined, and so on. Subsequently,
several requests were received for this region finding process to illustrate how
the area and the volume of the water would accumulate in this proposed
impoundment. This option has been added and shows a "stage curve"
graph (a cumulative histogram) for the volume of the impounded water as a
function of depth from the bottom to the top of the proposed dam(s). Another
graph can be shown for the variation in the area of the impoundment as a
function of depth from the bottom to the top of the proposed dam. The use of
these options is illustrated in the new Getting Started booklet entitled Interactive
Region Analysis.
* Automatic Classification.
Introduction.
Typically, those using unsupervised or cluster image
classification procedures set up the process to produce a larger number of
clusters (for example, 64, 256, or even more) than the number of classes
desired (for example, 10 or 20). This synergistic approach uses the
unsupervised process to reduce the millions or billions of possible clusters
into a humanly understandable collection, often less than 256. These represent
spectrally and temporally similar features containing some significant portion
of the area of the images or those which are very spectrally or temporally
dissimilar. You then use your knowledge of the site, knowledge of the
objective, and insight to identify the clusters or group of clusters together
to assemble and name clusters as surface materials.
V5.70 contains powerful new graphical and statistical
tools to assist you in using your knowledge and objectives to group clusters
into meaningful surface materials and conditions. These include a new a
Co-occurrence Analysis window, a Classification Dendrogram window, an
Operations on Classes dialog, a View window to permit immediate evaluation of
the groupings in map form, and a suite of interactive tools for iterative
merging and unmerging of clusters. Please see the attached color plate
entitled Class-Merging Tools Added to Automatic Raster Classification,
which illustrates these new interface components and the additional features.
As noted elsewhere, the V5.60 Getting Started
booklet entitled Image Classification has not been reissued this
quarter to reflect these changes, as additional features will be added to this
process for V5.80. However, you will find that the on-line Reference
Manual (new HTML format) is current with V5.70 and contains
instructions on how to access and employ these new tools.
Standard 2D View.
A standard 2D View window is presented containing the class
raster and can be redrawn to reflect your current grouping of clusters.
You can use any colormap for displaying the class raster in
the 2D View window. Choosing a different color map has no impact on how you will
be grouping clusters, as the grouping is based upon the saved characteristics of
the clustering process and not how you choose to color and view the cluster map.
Using the Enhance/AutoColor Map menu selection in the process, you can view a
256 cluster map as a pseudo natural color or color-infrared image. This enables
you to use your knowledge of the surface materials to guide you to selecting
cells, clusters, and so on to group into clusters and then assign the groups to
new colors which represent the surface materials sought. For example, in a
wetland or a lake, you may have a floating area of active green biomass
(chlorophyll) at the surface. In a 256 cluster map displayed in grayscale or
arbitrary clusters, you will have difficulty identifying this from dead
vegetation, sun glint, foam, and so on. However, if your 2D View window starts
out showing pseudo color-infrared, you can use your knowledge to identify red
blobs in lakes and ponds as floating or emergent green biomass and group and
name them appropriately.
The color assigned to identify a new cluster can be any
arbitrary color. As an option, it can also be a weighted mix of its component
cluster's color. Following the procedure in the above paragraph, you will start
out with a 256 class pseudo color or color-infrared cluster map in the 2D View
Window. With the color weighting option selected, your new clusters (groupings
of clusters) will take on the original color of the more populous component
clusters. This is intuitive as well, as you proceed to group clusters, the new
clusters are colored in an association with reality rather than in an arbitrary
or psychedelic fashion. In the example above for green floating or emergent
biomass, this cluster grouping will remain some sort of red or pink, water will
remain black or blue, and so on.
Co-occurrence Analysis.
The Co-occurrence Analysis window (matrix) displays a
spreadsheet-like view with two values for each cell: the frequency or normalized
co-occurrence and the spectral separability distance (or whatever the input
image bands represent) between each pair of clusters. You may choose this
separability in the clusters as any one of three different measurements (the
Euclidean distance, transformed divergence, or Jeffries-Matusita distance) in
both the Co-occurrence view and Dendrogram views.
Depending upon the separability measure you choose, the
Co-occurrence window will use color graphics in the matrix to show you those
first ten classes with the lowest separability and also the classes with the ten
highest co-occurrence values. It will also position the window to display the
highest co-occurrence positions in the matrix. Search functions will reposition
the contents of the window to each successively higher separability among the
first ten. Horizontal and vertical scroll bars are provided so that you can move
to any place in this matrix. Each time one or more clusters are combined into a
new cluster or group, the co-occurrences are all recomputed and a new table
shown with a new group of top ten.
Classification Dendrogram.
The Classification Dendrogram window uses a tree or
hierarchical diagram to show how the current group of clusters is related in the
selected separability value. Clusters with low separability are grouped together
with the tree structure indicating how they might be grouped. Using this
diagram, you can select two or more clusters and request that they be grouped
together as one new cluster.
Operations on Classes.
The Operations on Classes dialog provides a scrolling list of
clusters identified by their number (see Modifications below for cluster naming
and color options being added). It can be used to select two or more clusters
for grouping into one. It also provides a means of selecting any color to assign
to the new cluster; simply click on the color box to see the color selection
dialog. As an option, you can select the Mix Color toggle button described above
to mix the colors of the clusters being grouped together.
Interactive Tools.
The following tools and others are available to assist you to
interactively select, group, and undo operations in all of these new windows and
dialog boxes (where appropriate).
In all three windows and the list dialog box, you can use the
left mouse button to either select/unselect or highlight/unhighlight one or more
clusters for subsequent grouping into a new cluster.
Regardless of which window or list you use to select the
cluster(s), all other windows and the list in the dialog box will update to
mirror the same selections.
You can merge the clusters selected above (for example, by
left mouse button) in the Co-occurrence, Dendrogram, and 2D View window by
pressing the right mouse button. In the list dialog, push the Merge button. All
windows and the list dialog will upgrade to show these new clusters and
associated parameters.
A toggle option is provided in the list dialog to renumber
all clusters after a group has been merged.
The last merge operation can be undone, and all three windows
and the list dialog will be updated. You can undo one step at a time as far back
as the beginning of your session. This is an important feature as you explore
forward and backward in how you can best assemble your clusters one step at a
time into the best map for your application.
The class characteristics are shown (color, name, cell count,
or percentage) in the Co-occurrence window and Classification Dendrogram windows
(see Modifications below for color of clusters in the list dialog).
Modifications since V5.70 CDs.
Since the CDs were prepared, the cluster grouping operation
has been modified to allow for more interaction in the naming process. The merge
list shows the class number, a color sample, and a text string name for each
current cluster. You can change the color by clicking on the color sample, and
the text can be edited as well.
The separation of the cluster grouping operation into a
separate process is also underway. This will enable the unsupervised
classification processes to produce the cluster and distance rasters as well as
the statistics tables. The separate grouping process will use these. By
separating the processes, the highly interactive grouping activity is not
"in-line" at the end of the time-consuming cluster run. Thus, the
grouping activity can be done at a later time and can be restarted if necessary.
Mosaicking.
Introduction.
The mosaic process you have used in the TNT products
was created in DOS MIPS and simply translated into TNTmips with
some enhancements. This six year old process is being replaced by a new
process for assembling your multiple images or maps into a raster object. For
the V5.70 quarter, both mosaic processes will be available for your
use. When V5.80 is released, the older mosaic process will be dropped.
Any features which you were using in the old process and which are not in its
replacement should be communicated immediately to software support.
A detailed Getting Started Mosaicking tutorial
booklet is provided in printed form and on microimages.com in Acrobat form for
concurrent color viewing or printing. Please print out this booklet in color,
and go through its exercises with the sample images provided. A couple of
hours spent in this fashion will familiarize you with all the new features in
the new Mosaic process and how you can use them in your day-to-day projects.
Since this material is available to describe this process to you in detail
only, a summary of this major new process is being provided in this section.
Please consult the attached color plate entitled Mosaic Process for a
visual introduction to this new process.
Summary of New Features.
Some of the advanced features available only in the new
mosaic process are:
- a concurrent Getting Started tutorial booklet;
- combine images of different projections, data types, and scales;
- RGB and grayscale images can be mosaicked;
- use vector, CAD, and TIN reference layers (for example, to limit output
extents);
- no need to warp first;
- input rasters and output mosaic rasters can be compressed (for example,
JPEG);
- improved contrast matching, no overlap required;
- define a polygon area with islands to define area to use from each
image;
- draw irregular boundary for each mosaic seam;
- review the area of overlap of two images using pseudo transparency;
- new feathering methods for hiding raster seams;
- save a layout of a mosaic so all its assembly parameters can be altered;
- use a layout to integrate new images into an existing mosaic, and more.
Operational Notes.
Contrast Matching. Your satisfaction in your final
mosaic depends to a large extent on how well all the component images
disappear as separate entities. The very first thing that identifies an image
as a mosaic is mismatch in contrast in its components. The new mosaic process
provides improved histogram matching methods to eliminate the overall contrast
differences in the component images. You can let the process determine how to
match the component images, select one good image as a model to be matched by
the others, or set up an independent reference contrast. Histogram smoothing
is available as an option to smooth the reference image's histogram to improve
contrast matching results.
When you have finished your mosaic, you may still see some
contrast differences along selected edges. This can be due to lens contrast
biasing such as vignetting, sun angle effects (for example bright and dark
sides), sun glint (especially with water but not uncommon in agricultural fields
and bare sandy areas), and others. If your mosaic contains these contrast
artifacts, you should consider preprocessing your component images before
mosaicking them. For example, the Trend Removal process can be used to adjust
the internal contrast bias created by lens effects, sun angle effects, sun
glint, and so on.
Georeferencing. The next thing you notice in a mosaic,
upon closer inspection of the seams, is the mismatch in the edges. This can
result from poor georeferencing of images with good internal geometry. Minimize
the overall mispositioning of each component image by using careful
georeferencing. Accurate georeferencing, including points in the interior of the
component images, provides the control by which Mosaic can optionally improve
the internal geometry and positioning of each component image.
Terrain Distortion. If you have good orthophotos with
good georeferencing as image components, you will get little or no edge mismatch
in this new Mosaic process. Edge distortion commonly occurs due to parallax in
areas of topographic relief (for example, hills). If you have any kind of
matching georeferenced DEM, then produce orthophotos or "close-to"
orthophotos using the Restitution Step D in the DEM/ortho process before using
the Mosaic Process.
Edge Distortion. Perhaps you can do nothing more to
improve the internal geometry or "ortho" nature of your component
images. In these circumstances, become familiar with the methods provided to
help you hide or disguise the seams in your mosaic. Often the
"cosmetic" results in the final mosaic are the most important
component in a successful mosaic project.
Drawing tools are provided to define the location of each
seam, so put them where they will not show. Seams can be defined to occur at the
edges of fields, tree stands, and so on where a high contrast change across the
boundary is not noticed. Where good edge contrast matching is achieved, seams
can be placed across the middle of fields where spatial distortions in features
will not be noticed, such as duplicate parallel roads or duplicate field edges.
Feathering. Feathering can also be used to hide "in
field" seams in uniform areas where there are no spatial details to focus
the eye upon edge distortions. Several types of feathering methods are provided
to hide your seams. For example, use adaptive feathering (called the Deviation
Filter) if some of your seams are drawn along edges of features with high
contrast changes while others go across fields with relatively uniform contrast.
This feathering option will automatically adjust to give maximum hiding value
under either of these conditions. It checks the two corresponding cells in the
area of overlap. If they are approximately the same in magnitude (within a
tolerance setting), the selected feathering method (for example, averaging the
two values) is used in the mosaic for this cell. In areas of uniform low
contrast variation such as the middle of a field or other uniform features, this
blends the seam into these tones. However, if the two values vary more than the
tolerance, the last of the two values is used, representing the top image of the
two. This preserves the lines of abrupt contrast change and will minimize the
chance of a second "ghost" contrast boundary showing through in the
overlap areas of the mosaic.
Expected Results. All in all, if you work at it, a very
satisfactory result can be obtained from simple 35 mm photographs or high
resolution digital camera images (for example, Kodak) of sections or square
kilometer units if adequate georeferencing is available. For example, accurate
georeferencing of 35 mm photographs can be accomplished using existing, older
orthophotos or perhaps from approximately georeferenced and rectified satellite
images of the general area. Please see the attached color plate entitled Mosaic
Process for an example of this application. For testing purposes,
MicroImages has also assembled several large natural color mosaics from 25 to 30
slides each using section centered 35 mm slides obtained in Kodak Photo CD
format. With care, cheap color or color-infrared pseudo orthophotos can easily
be assembled in this fashion for areas of low relief.
User Interface.
Your interaction and the process "philosophy" are
simplified, so it's more intuitive and easier to understand. There is no more
"anchor" and "target" terminology. The interface of the
process has two windows: one is a Mosaic Control dialog, and the second is a
standard view window.
The standard view window has two additional tools along with
the standard display tools: "Processing Area" and "Output
Area". "Processing Area" allows you to select the areas to be
used from the currently selected image (active layer). This selected area shows
up in transparent yellow color. The "Output Area" tool allows you to
select a rectangular output area for mosaicking. Combining these two tools
provides a way to use only those areas from the input images that are suitable
for inclusion in your mosaic. For example, a cloud or cloud shadow which occurs
in the area of overlap on one image, but not on the overlap image from a
parallel flight path, can be cut out of the mosaic in advance.
Options.
Four tab-panels are provided to summarize various control
options without the use of even larger dialogs. These tabbed panels are used
to specify the conditions for your "Input", "Output",
"Parameters", and "Enhancement".
Input. This panel contains a list of input objects that
are currently selected for displaying and mosaicking. There are two types of
input objects: "Mosaic" and "Reference". If objects can be
mosaicked (if type of object matches "Application Mode" selection),
it will automatically be labeled as "Mosaic" upon initial
selections. You can turn on and off any raster that is in
"Reference"/"Mosaic" mode.
* Databases.
Introduction.
A completely new process is available to assist you in the management and
editing of your relational databases. It collects features already available
for such operations which were scattered in various hard-to-find places in
other TNT processes. These editing functions have been redesigned, new
ones added, and all combined with graphical tools to view and manage your
chains of related tables making up your database. With these tools, a database
can be set up for use as a primary object (pin mapping, contouring, ...) or
for subsequent linking up and management as attributes for other primary
objects (raster, vector, ...). The process can be used to manage relational
databases which are not attributes and to link up tables as attributes. A
summary of the many new and revised features follows:
- graphic 'tree-like' display of tables and links in database;
- graphically edit relational links between tables (add or delete);
- automatic comparison of tables to locate potential key fields;
- right mouse button pops in a list of edit functions;
- histogram can be shown for any field in a table (like the X-Y plot);
- more intuitive graphical linking of tables to attributes of elements;
and ...
A detailed Getting Started booklet entitled Managing
Databases is provided in printed form but did not make it onto the V5.70
CD. It can be downloaded from microimages.com as a PDF file for use in your
Acrobat Reader. Please print out this booklet in color, and go through its
exercises with the sample database objects provided. A couple of hours spent
in this fashion will familiarize you with all the new features in this new
Database Management process and how you can use them in your day-to-day
projects. Since this material is available to describe this process to you in
detail, only a summary of this major new process is being provided in this
section. Please consult the attached color plate entitled Database Editor
for a visual introduction to this new process.
This new Database Management process is available from the
main menu from "Prepare/Edit Database...". This prompts you to
directly select either a main-level database object or an object that has
database subobjects (such as a vector). It will open a window that shows as
graphical boxes with names how all the tables are related to each other in a
relational tree diagram. There are Move, Relate, and Unrelate icon buttons in
this window to control what happens when you click the left mouse button.
The actual editing and alteration functions applied to
individual tables in the database remain essentially unchanged from V5.60.
But the management and editing of the overall database structure is
significantly changed and simplified in this new Database Management process.
It is the easy and logical approach used to get to these tools which has been
drastically altered in V5.70.
Selecting a Graphical Edit Mode.
Move Icon. This button selects a mode which lets you
move the box representing the table around in the window with the mouse.
Relate Icon. Use this button for the mode which lets
you establish a relationship between two tables by dragging an arrow from one
box (table) to another box (table). Once you have connected the two boxes with
the line, you will be prompted to select the fields in each table that are to
tie the two tables together. If you drag an arrow from the
"Internal" table for elements (points, lines, polygons, ...) to a
table that has records related to the elements through some other table, you
are given the option of directly attaching those records to the elements.
Unrelate Icon. This mode lets you break relational
links between tables by clicking on them. If you try to break the prime link
between a table and the graphical elements, you will be warned that this will
break all attachments to attributes.
| IMPORTANT: Do not break the
links between the internal table for your graphical elements and its
attribute tables without understanding how you plan to rebuild them.
Remember, establishing that link, possibly one-by-one in the object
editor, might have been a tedious task. You will be warned if you
attempt to do this. |
Editing Databases.
Clicking the right mouse button on a table icon (box) in the relational
tree pops in a right button menu that lets you choose to:
- open the table for editing,
- change the name and description of that table,
- edit the structure and contents of the table (add fields, delete fields,
...), and
- delete the table.
Clicking the right mouse button on a relational link arrow in the
relational tree pops in a right button menu that lets you choose to:
- break the existing relationship between the tables or
- show the fields used for the relationship between the tables.
Clicking the right mouse button anywhere else in the relational tree pops
in a right button menu that lets you choose to:
- change the font used to display the table names on the boxes
representing the tables or tree or
- change the background color used in the boxes in the relational tree.
New Joins.
Previously, only tables with identical fields with
identical datatypes and widths could be joined into a single table. Database
tables can now be joined using "compatible" fields. Compatible
fields are fields that can be promoted to the larger of the two fields. For
example, if one field is a string field and the other is a Unicode field, the
string field will be promoted to a Unicode field. The same holds for numeric
data such as word, long, float, and doubles. The tables will not be joined if
the number of fields is different or if all fields are not identical in
datatype and width and/or cannot be promoted (for example a Unicode field
cannot be promoted to a double field).
Histogram.
V5.60 allowed the display of two fields in an X-Y plot.
Now a histogram plot can be shown for any single field in any table. In the
Tabular View window, select the field to plot by clicking on its column heading.
The Plot/Histogram option on the Field menu will then create the histogram of
the selected field.
Future Plans.
Some possible improvements which might be made in this
graphical means of editing database relationships are already known.
• Use an import wizard to provide a more intuitive
method for importing one or more tables and specifying how they should
relate to existing tables and elements.
• Add zoom in and out controls for the relational tree
window. Currently the font chosen to display the table names in the boxes
controls the size of the tree window.
• Group move would use a marquee or lasso to select and
move a group of tables and their relationships.
• Save the current relational tree layout. It is
generated automatically every time you open the relational tree window. If
you move tables around for cosmetic purposes, it should remember this.
* SML.
General Changes.
Expansion of the Spatial Manipulation Language (SML)
continues. V5.60 provided changes to the underlying structure of SML
to allow it to support more of the integrated geospatial functionality of TNTmips
(for example, conversion between object types). V5.70 provides some of
the new functionality for use in your scripts. These new tool kits or groups
of functions are now available:
- vector combinations
- matrix algebra
- raster analysis
- object conversions
- TIN operations
- viewshed
V5.70 will also install 26 new sample scripts on the
Custom menu (along with those provided in earlier versions) to illustrate the
use of these new functions.
As outlined in more detail above in the section on TNTview,
MicroImages will make SML available at no additional cost as part of TNTview
5.80. This will allow SML scripts to be created with TNTview
or TNTmips and then used by anyone with either TNTview
or TNTmips. As a result, even more effort is being focused on the
development of functions to expand the repertoire of SML for V5.80,
especially in expanding the toolkits for vector, database, and graphical
operations.
These V5.70 and V5.80 changes, coupled with the
ability to choose SML scripts as a layer in the new visualization
process, allow you to create powerful custom geospatial analysis processes. With
V5.80, your scripts can be distributed free or for sale for use with
powerful built-in features in the low cost TNTview. Remember that any SML
script you create is cross-platform (there is only one set of sample scripts
provided by MicroImages for all platforms!). If you need new functions for SML,
you can create them in "C" or submit a written request containing
their description and proposed use to MicroImages. Should you wish to distribute
your current scripts for use by others, please post them on microimages.com
using the tools provided for this purpose. Watch microimages.com for the new
scripts and ideas being posted there by MicroImages and others.
Vector Combination Functions.
VectorAND (OperatorVector, SourceVector [, flags])
Returns output vector object that is the logical AND of
the two input vectors.
VectorOR (OperatorVector, SourceVector [, flags])
Returns output vector object that is the logical OR of
the two input vectors.
VectorReplace (OperatorVector, SourceVector [, flags])
Returns output vector object that is a replace between
the two input vectors.
VectorSubtract (OperatorVector, SourceVector [, flags])
Returns output vector object that is subtract between the
two input vectors.
VectorXOR (OperatorVector, SourceVector [, flags])
Returns output vector object that is the logical XOR of
the two input vectors.
VectorExtract (OperatorVector, SourceVector, operation [,
flags])
Returns output vector object that is extracted by the
operator vector object applied to source vector object.
Matrix Functions.
AddMatrix (matrixOut, matrixLeft, matrixRight)
Adds two matrices -> (matrixOut = matrixLeft +
matrixRight).
AddMatrixScaler (matrix, value)
Adds scaler to each element of a matrix.
CreateMatrix (numRows, numColumns)
Creates a matrix and returns a valid matrix handle for
use by other SML functions that take matrices as input.
DestroyMatrix (matrixHandle)
Destroys a previously created matrix.
GetMatrixColSize (matrixHandle)
Returns the number of columns in a matrix.
GetMatrixItem (matrixHandle, row, column)
Returns value of matrix element.
GetMatrixRowSize (matrixHandle)
Returns the number of rows in a matrix.
InvertMatrix (matrixOut, matrixIn)
Inverts a matrix.
MultiplyMatrix (matrixOut, matrixLeft, matrixRight)
Multiplies two matrices -> (matrixOut = matrixLeft *
matrixRight).
MultiplyMatrixScaler (matrix, value)
Multiplies each element of a matrix by a scaler.
SetMatrixItem (matrix, row, column, value)
Sets the element of a matrix to a value.
SubMatrix (matrixOut, matrixLeft, matrixRight)
Subtracts two matrices -> (matrixOut = matrixLeft -
matrixRight).
TransposeMatrix (matrixOut, matrixIn)
Transposes rows and columns of a matrix.
Raster Analysis Functions.
PrincipalComponents (forwardMat, inverseMat, Ras1, Ras2 [,
RasN, ...])
Computes principal components of set of raster objects.
MultiRegression (resultMat, Ras1, Ras2 [, RasN, ...])
Computes coefficients of multilinear regression equations
on set of raster objects.
RasterLinearCombinations (transformMatrix, outRVCfileName$,
rasNamePrefix$, rasDescPrefix$, flags, InRaster1, InRaster2 [, InRasterN,
...])
Creates raster objects that are linear combinations of
any number of input raster objects.
RasterToBinaryViewshed (InRaster, OutRaster, nPoints,
xMatrix, yMatrix [, percent, height, zScale])
Creates binary viewshed from an elevation raster object.
Conversion Functions.
RasterToVectorContour (InRaster, zinterval [, zStart, zEnd,
zScale, zOffset, sampleRate, resolution, filterSize, flags])
Converts elevation raster object to contour in a vector
object.
RasterToTINIterative (InputRaster, zTolerance, maxNodes,
zDelta, shortEdge, longEdge, flags)
Converts elevation raster object to contours in a TIN
object.
TINToVectorContouring (InTIN, zInterval [, flags [, zStart,
zEnd, zScale, zOffset]])
Converts TIN object to contours in a vector object.
TINToRaster (InTIN, OutRaster [, method [, flags]])
Converts TIN object to raster object.
Object Functions.
GetObjectFilename (objectNumber)
Returns the path qualified RVC file name that contains
the Raster, Vector, TIN, or CAD object referred to by objectNumber.
GetObjectNumber(SMLObject)
Returns the object number for a Raster, Vector, TIN, or CAD
object.
TIN Functions.
GetInputTIN (TINVar)
Allows standard dialog to select a TIN object for input.
GetOutputTIN (TINVar)
Allows standard dialog to select a TIN object for output.
New Sample Scripts.
Twenty-six additional sample scripts can be installed with V5.70.
This brings the total shown under your custom menu to 32. Most of these new
scripts demonstrate the use of the new SML functions provided in V5.70.
However, others such as Viewshed.sml demonstrate how to extend TNTmips'
GIS functionality.
More sample scripts are planned, so that it will be necessary
in V5.80 to have a hierarchical structure in this menu. Scripts will then
be installed into categories such as utilities, image processing, GIS, and so
on.
A sample script site has also been established on
microimages.com where scripts can be posted for public use. A few interesting
client-contributed SML scripts have already been posted there. More are
needed, so please visit this site and contribute your favorites. You can obtain
these sample scripts for your use by using the downloading procedure provided
there by the MicroImages Webmaster. Once you have these scripts on your hard
drive, simply place them in the Custom directory with your other SML
scripts, and they will immediately show up on the TNT Custom menu for
direct use.
The following new sample SML scripts can be installed
to provide examples for you to examine to see how they were implemented. All of
them will have to be installed. If you want only part of them, install them all,
and then go to the Custom directory in your TNTmips directory and delete
those SML scripts which you do not want. When they are deleted, they will
automatically disappear from the Custom menu.
Raster GIS Sample Scripts.
viewshed.sml. Objective: Uses the new RasterToBinaryViewshed()
function to calculate a viewshed for all points on all lines of a
corresponding vector object. This script could be used to calculate the
viewshed for all points on one or more roads. It demonstrates how the new
matrix functions may be used to send any number of data points to an SML
function. VIEWSHED.RVC contains a vector object, "Vroad", that
contains vector lines which may be used in combination with the CB_TM/ELEVATION
raster as input data to the script.
Vector Manipulation Sample Scripts.
vecextr.sml. Objective: Demonstrate usage of the
VectorExtract() functions.
vecop.sml. Objective: Demonstrate usage of the
vector combination functions. A sample use of VectorAND(), VectorOR(),
VectorReplace(), VectorSubtract(), and VectorXOR().
Image Classification Sample Scripts.
lincombo.sml. Objective: Uses the new
RasterLinearCombination() function to calculate a brightness raster object
from red, green, and blue input raster objects. The script uses two
methods: a simple average of the RGB values and a weighted average based on
the CIE luminance response (Y) of a standard observer relative to the luminous
efficiency of given phosphor set.
princomp.sml. Objective: Demonstrates use of the
new PrincipalComponents() function to reduce dimensions of a set of raster
objects.
regress.sml. Objective: Demonstrates use of the
new MultiRegression() function to compute multilinear regression equations for
a set of raster objects.
Object Type Conversion Sample Scripts.
rtotin.sml. Objective: Demonstrates use of
RasterToTINIterative() to convert an elevation raster object into a TIN object.
rtovec.sml. Objective: Demonstrates use of
RasterToVectorContour() to convert an elevation raster object into a vector
object.
tintor.sml. Objective: Demonstrates use of
TINToRaster() to convert a TIN object into a raster object.
tintov.sml. Objective: Demonstrates use of
TINToVectorContour() to convert a TIN object into a vector contour object.
TIN Sample Scripts.
gettin.sml. Objective: Demonstrates usage of
GetInputTIN() and GetOutputTIN() functions.
Matrix Sample Scripts.
addmat.sml. Objective: Demonstrates addition of
matrices using AddMatrix().
addmatsc.sml. Objective: Demonstrates adding a
scalar value to a matrix using AddMatrixScaler().
creatmat.sml. Objective: Demonstrates process of
creating a matrix using CreateMatrix().
getmatit.sml. Objective: Demonstrates how to
retrieve a given row, column value from a matrix using GetMatrixItem().
invmat.sml. Objective: Demonstrates calculating the
inverse of a matrix using InvertMatrix().
killmat.sml. Objective: Demonstrates destroying a
previously created matrix using DestroyMatrix().
matcolsz.sml. Objective: Demonstrates how to
determine the number of columns in an existing matrix. This script uses
GetMatrixColSize() in a procedure for printing a formatted listing of the
values in a matrix to the console.
matrowsz.sml. Objective: Demonstrates how to
determine the number of rows in an existing matrix. This script uses
GetMatrixRowSize() in a procedure for printing a formatted listing of the
values in a matrix to the console.
multmat.sml. Objective: Demonstrates
multiplication of matrices using MultiplyMatrix().
multscal.sml. Objective: Demonstrates
multiplication on a matrix by a scaler using MultiplyMatrixScaler().
setmatit.sml. Objective: Demonstrates how to set
a given row, column value of a matrix using SetMatrixItem().
submat.sml. Objective: Demonstrates subtraction
of matrices using SubMatrix().
transmat.sml. Objective: Demonstrates computing
the transpose of an existing matrix using TransposeMatrix().
Exchanging Scripts.
You can access an SML "swap shop"
repository from the "Free Stuff" selection or directly at
http://www/microimages.com/sml. On the SML home page, you have a choice
of submitting an SML script or browsing the repository for scripts that
are currently available. There is also an "SML FAQ" which
will be built up as time passes. You may browse through the directories
containing scripts contributed by clients and scripts included on the V5.60
and V5.70 CDs. You can look at the contents of the scripts in your
browser or use the "Save As" feature to download them to your hard
drive.
You can submit SML scripts to MicroImages via FTP or
via an HTML form. Submitting via the HTML form provided is limited because you
can only enter 32 Kb of text in the fields where you type (or cut and paste)
your script, description files, and so on. The FTP route has no size limits.
But, using the HTML form is easier if you don't know how to use FTP.
The HTML submission pages have all the instructions you
need to complete the forms and submit your script. The FTP page gives you
instructions on how to upload scripts in the proper manner.
Supplement to Appendix.
A supplement to the SML function appendix distributed
in printed form with V5.50 is enclosed.
Staff Additions
Dr. Paul A. Carlson has joined MicroImages as a
software support specialist. Paul completed his B.S. degree in Recombinant
Gene Technology at the State University of New York College at Fredonia in
1989. Paul next completed his Ph.D. degree in Biochemistry in 1996 at the
State University of New York at Buffalo. His thesis topic was
"Characterization of the Carboxyl Terminal Domain Fragment of the
Repressor Protein of 434 Bacteriophage". Since that time, he has been a
Postdoctoral Fellow in the chemistry department at the University of Nebraska
at Lincoln investigating the biochemical aspects of the enzyme telomerase.
Clearly this move across town to the MicroImages team is a
career change for Paul, and he is not yet experienced in the application of
geospatial analysis. However, he is experienced in the practical use of
computers, teaching, writing, logical analysis, and scientific methods and is
coming up to speed quickly on the TNTmips products and their potential
applications. Some of you are already communicating with Paul about your needs
for assistance.
Col. John C. Curran has joined MicroImages as a
software support specialist. John completed his B.A. degree at St. Bernard
College in Alabama and his M.Ed. degree at Loyola University in Louisiana
early in his career. In the early portion of his career, John taught school
and eventually became a principal. Most recently, he has been teaching in a
Community College in Omaha while preparing to take his comprehensive
examinations for a Doctorate in Education from the University of Nebraska at
Omaha.
In parallel with his teaching career, John served as a
citizen soldier beginning as an E-2 (equivalent to a private) in the Air
National Guard of Alabama and Mississippi. He eventually moved from teaching
to a full-time position within the California Air National Guard as a
Detachment Commander. In 1981, he went on active duty with the U.S. Air Force.
After serving on active duty for ten years, John returned to "citizen
soldier" status and retired from the Air National Guard in 1992. His last
active duty assignment was as Colonel and Director of Reserve Force programs
for Air Force Communications Command where he was responsible for the training
and readiness of ninety-four Air National Guard and forty-four Air Force
Reserve Communication units.
John is not experienced in details of geospatial analysis
and TNTmips in particular. However, he does bring to MicroImages a
background in management and design of communication systems and computer
systems. With his extensive experience in teaching, writing, communications,
map and image use, and related topics, he will come up to speed quickly on the
TNTmips products and their potential applications. Soon you will be
communicating with John about your needs for assistance.
Your current support team.
At this point, it may be well to review the makeup of the
MicroImages active software support team. Currently, most of your support will
come from Capt. Jeff Chester (team leader), Gregg Hutchison, Dr. Paul Carlson,
and Col. John Curran. They are our "communicators and facilitators"
and your first line of contact via phone, FAXes, and email. Please keep in mind
that they are handling hundreds of inquiries per week.
When active team members are absent, conducting training,
overloaded, and so on, they are backed up as needed by former members of this
team. Terry Peterson and Kevin Royal, both previous software support team
leaders, are now technical sales engineers, but also provide all the technical
support for MicroImages' Authorized Dealers. Dave Wilson, who was a recent
fleeting member of the software support team, is now a member of the software
engineering team and is in the back room writing TNT code, but Dave helps
the active team with SML problems. Ron Souliere also still gets the
difficult network and hardware support questions.
MicroImages strives to provide you with the best possible TNT
software support. All these staff members are available to help you with all
aspects of your use of the TNT products. If they do not know the answers,
they will get them or put you in touch with the party who knows, possibly even
the responsible software engineer, as everyone at MicroImages is oriented toward
problem solving. Some of our current software support team are new, but have
been employed because they are "quick studies"; others already have
considerable experience, and two each have eight to ten years experience in
supporting you. Active software support team members may move on to other
primary assignments after a year or two. But, they have accumulated experience
and often have become your professional friends and are acquainted with your
project activities. As a result, they still get pulled back into solving your
difficult problems and application designs.
Noteworthy Client Activities
Forestry and Forest Products Research Institute (FFPRI) of Japan
The best paper award at the 1996 fall meeting of the
Japanese National Remote Sensing Meeting went to Dr. Sawada and his team of
the FFPRI [similar to U.S. Forest Service] for work completed using TNTmips.
The details on this paper as translated from Japanese are as follows.
Title. Dataset for The Long Term Monitoring of
Forest Biosphere Reserves.
Authors. Haruo Sawada, Mariko Hayasi, Kouzo Kawabata,
Michic Anazawa, Izuni Nagatani, Naoki Mituzuka, Etsuko Nakazono.
Abstract. Long-term monitoring are required for
undertaking the addects [aspects] of global environment changes to forest
ecosystem. A GIS system is considered essential for keeping the forest
monitoring data based on remote sensing images together with other vector type
information. Topographic data, geologic data, forest resource map, vegetation
map, climate data, aerial photographs and satellite data were collected,
digitized and overlaid on the same GIS system. Satellite data were converted
to the relative vegetation index and stored as one of the most important
elements in the system. This dataset is found that it may reveal the affects
of global environment changes as well as the local ones to natural forest.
Geological Survey of Japan.
A Digital Geological Map of East and Southeast Asia
has been published on CD at a scale of 1:2,000,000 by the Coordinating Committee
for Coastal and Offshore Geoscience Programmes in East and Southeast Asia (CCOP)
and the Geological Survey of Japan. This CD-ROM disk is Digital Geoscience Map
G-2 (1997) and contains the map data in two formats--DLG-3 (Digital Line Graph
Optional Distribution Format--from the USGS) and RVC (Project Files for use in
MicroImages' TNT products). The CD contains maps which cover the areas of
Cambodia, China, Indonesia, Japan, Republic of Korea, Malaysia, Papua New
Guinea, The Philippines, Thailand, and Vietnam. It can be obtained for about $25
from the Geological Survey of Japan, 1-3, Higashi 1-Chome, Tsukuba-shi,
Ibararaki-ken, 305 Japan.
The color plate attached illustrates the CD-ROM and the cover
of the accompanying informational booklet included in the plastic case. The
following subsections have been extracted as quotes from the booklet to provide
you with additional details on the contents of this CD. It also provides further
information on how each member nation assembled the digital map before it was
converted by TNTmips into the DLG-3 and RVC formats.
"Introduction"
"The Digital Geologic Map of East and Southeast Asia is
the culmination of the project, Digital Compilation of Geoscientific Map of East
and Southeast Asia, Phase I (DCGM Phase I) of the Coordinating Committee for
Coastal and Offshore Geoscience Programmes in East and Southeast Asia (CCOP),
Bangkok. The purpose of the DCGM Project is to develop several layers of
geoscientific data in the CCOP region, and to establish digital compilation
methodology in the region as a common project platform. The DCGM Phase I
commenced in 1993 in order to compile a single, geologic digital map of East and
Southeast Asia as the most basic layer of information."
"The project was participated by ten of the eleven CCOP
member countries--Cambodia, China, Indonesia, Japan, Republic of Korea,
Malaysia, Papua New Guinea, The Philippines, Thailand and Vietnam. The project
was coordinated by the CCOP Technical Secretariat and funded with the Japan-ESCAP
Cooperation fund. The participating countries provided in-kind contributions of
digitization and provision of meeting venues. The expert services are made
available by the Geological Survey of Japan (GSJ) through the Japan
International Cooperation Agency. The 1:2,000,000 scale base map used for the
project was provided to the CCOP by the US Geological Survey. Environmental
Systems Research Institute, Inc. (ESRI) donated the GIS software 'PC-ARC/INFO'
to CCOP member countries for the DCGM Phase I project."
"The 1:2,000,000 scale geologic map in this CD-ROM was
compiled from the most recent small-scale maps of participating and neighboring
countries, using a unified geologic legend. The map was digitized of the
participating institutions with technical supports from the CCOP and the
Geological Survey of Japan (GSJ). Correlation of geologic units across national
borders were coordinated by the chief compiler and the national compilers."
"A Geographic Information System (GIS) or CAD system are
requred to use the vector format files of this CD-ROM. the software 'Geomap A'
includes a viewer program to show the geological image database of this CD-ROM
under the Windows95."
"Since the digital data in this CD-ROM is in raw form,
users may apply the data in a variety of ways. Hopefully, this CD-ROM will be
revised when more precise data and more accurate geologic maps become
available."
"Geological Remarks"
"The Geologic Map of East and Southeast Asia in this
CD-ROM was compiled using 1:2,000,000 scale topographic maps (Lambert Azimuthal
Equal Area, center point 120° E 15°
N), from the World Data Bank 2 (WDB2)."
"The unitary legend for the map has 208 different units
divided by geologic ages and lithologies (Fig. 1-3). For example, a polygon for
the unit of Permian granite is attributed the code: "P_Pf".
"P" indicates Permian, and "Pf" means felsic plutonic rocks.
Although age divisions differ among participating countries, user can consult
the time/space plot (Fig. 4)."
"Lithological division of sedimentary rocks is rather
simple compared with that for igneous and metamorphic rocks. It is expected for
future project to subdivide sedimentary rocks."
"Fault data are separated from geologic data into
different files. The density of faults is variable from country to
country."
"Digitization Process"
"The method of digitization differed slightly among
participating countries. The geologic maps of Cambodia, China, Indonesia,
Vietnam, Malaysia, Brunei and Singapore were digitized by national compilers and
contributors on a digitizer and IBM PC compatible machine, using software, PC
ARC/INFO software under the instruction of the Technical Adviser and the
Technical Assistant. The geologic maps of Thailand, Myanmar, Russia and Japan
were digitized by means of ARC/INFO software on a workstation with a digitzer in
Japan. The digital data of geologic maps of Korea and Philippines were
originally generated by AutoCAD and were transferred into PC ARC/INFO. The
geologic map of Papua New Guinea was digitized in MapInfo format and transferred
into TNTmips* format (.RVC). Digitization of the Laos's geologic maps was
conducted by using a TNTmips software and a scanner. (*GIS software of
the MicroImages, Inc.)"
"Once the digitized data in ARC/INFO format were
imported into TNTmips, all the data for the geologic maps were edited and
coordinated to obtain accurate positioning using the 'georeference' command [process]
under TNTmips. The final data were exported into DLG-3 Optional
Distribution Format for the other GIS software."
"Instruction for the CD-ROM"
"This CD-ROM principally provides the data files to
display, print, compile and search the geologic map of East and Southeast Asia.
To achieve these purposes, two types of geological map databases, a vector map
database (DLG-3 Optional Distribution Format and .RVC format), a geological
image database (TIFF format) and a software 'GeomapA' are stored in the CD-ROM,
with a document file to help you to use the databases. The document file
includes an explanatory note for the CD-ROM."
"Please refer to readme.txt for the structure of the
directories and files contained in the CD-ROM."
"The software 'GeomapA' includes a viewer program to
show the geological image database in this CD-ROM. Users can install the
software by running setup.exe in the root directory of the CD-ROM under the
Windows95. Please consult with help menu how to use the software."