Data sets used in scientific visualization often require preprocessing. The complexity of this preprocessing and the large size of the data sets add to the overall difficulty of the analysis. For example, the nonstandard digital orthophoto quadrangle (DOQ) file used in this project required approximately 8 megabytes of storage and can be considered a large earth-science data set. In addition, a standard DOQ having a 1-m resolution can be as large as 50 megabytes. The software used to prepare and visualize these large spatial data sets typically has to simultaneously manipulate several large working data sets. In addition to keeping costs down, the capability to handle many large spatial data sets was one of the project's reasons for selecting ARC/INFO, Khoros, and Surveyor.
The Khoros visual programming environment is an image-processing system that can distribute
its processing over a local-area network or a wide-area network. The JPL Surveyor system
is used to generate terrain flybys. In this project, data management (for example, data
importing) and some data manipulation (for example, data set gridding and regridding)
were performed by an off-the-shelf commercial geographic information system (GIS) software,
ARC/INFO. After the DOQ, digital elevation model (DEM), and digital line graph (DLG) images
were preprocessed in ARC/INFO, Khoros was used to merge the ARC/INFO DLG (that is, roads
and streams) rasterized images with the DOQ image and produce red, green, and blue (RGB)
images. In turn, these preprocessed Khoros RGB images were used to construct flight paths
and create animation frames in Surveyor. This process flow is illustrated in
figure 1.
The user specifies the Khoros input files and the Surveyor pyramid
database levels. Alternatively, the input files may be specified by connecting
the glyphs symbolically. A second glyph was also constructed as part of the
software integration effort. This glyph, arc2viff, converted ARC/INFO raster
files to Khoros VIFF-formatted files. In addition to taking the ARC/INFO raster
file name as input, this second glyph required the ARC/INFO header file name
associated with the ARC/INFO raster file. The header file provides the number
of rows, the number of columns, and the data type of the raster file. The output
file name also had to be specified.
Figure 3
illustrates the open arc2viff glyph.
Return
to Bulletin 2103 Contents
ARC/INFO
KHOROS
Khoros was selected for this project because of several important attributes:
a visual programming environment, automatic generation of user interfaces, and
image-processing facilities (Rasure and others, 1990). Khoros is copyrighted but
is available free of charge via Internet to file transfer protocol (ftp) program
anonymous users. It is used worldwide throughout the Internet community. This
project used Khoros to process the ARC/INFO raster data sets into Surveyor
Vicar-formatted data sets. After the ARC/INFO registered data sets were loaded
into Khoros, basic data merging was performed. The three Khoros-merged RGB raster
images and the DEM image were loaded into Surveyor.
Figure 4
illustrates the Khoros
glyphs required to perform the data merging and Surveyor initialization. This
Khoros workspace was used to construct RGB images from the DOQ and the two DLG
data layers. The DOQ is an 8-bit raster data set and was imported into Khoros
with the arc2viff glyph. The DEM data are in a 16-bit raster file and were also
imported into Khoros by using the arc2viff glyph. Several masks were built for each
of the two DLG data layers (that is, transportation and hydrography) to ensure they
would be correctly colored by Surveyor. The transportation layer was colored red by
assigning the red channel a value of 200, the green channel a value of 0, and the
blue channel a value of 0 wherever the DLG transportation data layer overlaid the
DOQ. A red value of 200 was selected instead of a bright value of 255, because it
would be less likely to "bleed" in various types of visualization methods.
In this way, every original ARC/INFO transportation value of 2 was converted to 200
in the Khoros glyph vsubstit. The hydrography DLG data were colored blue by
assigning the red channel a value of 0, the green channel a value of 0, and
the blue channel a value of 200 wherever an original ARC/INFO hydrography value
was 3. This procedure too was accomplished by using the Khoros glyph vsubstit.
Wherever the transportation layer intersected the hydrography layer, the
transportation layer took precedence, and the intersecting pixel was colored
red. This order of precedence for the two DLG layers was handled primarily
by the two glyphs, vand and vsub (located approximately in the center of
fig. 4
). The result of the processing of these two glyphs was used as a mask
for the red channel in the subsequent vreplace glyph. The vreplace glyph
applies the DLG overlays to the DOQ according to its color and color mask
values. The two vor glyphs in
figure 4
each combine one DLG data layer with
the DOQ image. All pixels having a 0 in a DLG data layer were set to the DOQ
pixel's values. A DOQ pixel has the same value for each of the RGB channels to
keep the DOQ in a gray scale. The vfloor glyph constructs a black mask (that is,
a zero pixel value) for the DLG data layer pixels and is used to help define the
red, green, and blue colors of the two DLG data layers (Rasure and Argiro, 1991).
Finally, Surveyor uses the Khoros-formatted files (that is, elevation and RGB
images) as input to the Surveyor glyph located at the right side of the
workspace illustrated in
figure 4.
Figure 5
is a view from Surveyor showing
the DLG transportation layer colored in red and the hydrography layer colored
in blue. The last glyph to execute, the Surveyor glyph, starts the Surveyor
system.
SURVEYOR
PRODUCTS
CONCLUSIONS
REFERENCES CITED
Continue
to Chapter B
U.S. Geological Survey, ISD National Center, Reston, VA 22092, USA
URL https://pubs.usgs.gov/bulletin/b2016/chapa/ch_a.html
Contact: webmaster@pubs.usgs.gov
Last Modified: 7/16/97 (jmw)