Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Unidad N 1
www.telematica.com.pe
soporte@telematica.com.pe
ENVI Tutorial:
Introduction to ENVI
Table of Contents
OVERVIEW OF THIS TUTORIAL .....................................................................................................................................1
GETTING STARTED WITH ENVI....................................................................................................................................1
Starting ENVI....................................................................................................................................................1
Dynamic Overlays................................................................................................................................................................8
Description
Caon City, CO, TM Data
ENVI Header for Above
BSQ is the simplest format, with each line of data followed immediately by the next line of the same spectral
band. BSQ format is optimal for spatial (x,y) access to any part of a single spectral band.
BIP format provides optimal spectral processing performance. Images stored in BIP format have the first pixel
for all bands in sequential order, followed by the second pixel for all bands, followed by the third pixel for all
bands, etc., interleaved up to the number of pixels. This format provides optimum performance for spectral (z)
access of the image data.
BIL format provides a compromise in performance between spatial and spectral processing and is the
recommended file format for most ENVI processing tasks. Images stored in BIL format have the first line of the
first band followed by the first line of the second band, followed by the first line of the third band, interleaved up
to the number of bands. Subsequent lines for each band are interleaved in similar fashion.
2
ENVI Tutorial: Introduction to ENVI
Image window
Zoom Window
Scroll Window
You can choose which combinations of windows appear on the screen by right-clicking on any image window to display
the right-click menu and selecting a style from the Display Window Style submenu. Use the ENVI main menu bar
File Preferences Display Defaults tab to change the default settings for which windows you wish to display and
where you wish to position them.
You may have many display groups open on the screen at any time. A wide variety of other types of ENVI windows may
also be displayed, such as scatter plots, spectral profiles, spectral plots, and vector windows.
All windows can be resized by grabbing and dragging a window corner with the left mouse button.
1. Resize the Image window to be as large as possible (until the Scroll window disappears).
2. Now, make the Image window smaller than the full extent of the image data (the Scroll window will reappear).
3. Resize the Zoom window and notice how the outlining box changes in the Image window.
3
ENVI Tutorial: Introduction to ENVI
Zoom Box
The Display group menu bar provides access to many ENVI features related to the images in the display group. By
default, it appears at the top of the Image window. If you have chosen to display only the Scroll and Zoom windows or
just the Zoom window, the menu bar will appear at the top of the Zoom window.
The Zoom box (the colored box in the Image window) indicates the region that is displayed in the Zoom window.
1. Place the mouse cursor in the Zoom box in the Image window, hold down the left mouse button, and move the
mouse. The Zoom window is updated automatically when the mouse button is released.
2. Place the cursor anywhere in the Image window (outside of the Zoom box) and click the left mouse button to
move the magnified area instantly. If you click, hold, and drag the left mouse button in this fashion, the Zoom
window is updated as you drag.
3. Click once in the Zoom box in the Image window and use the arrow keys on your keyboard to move the box. To
move several pixels at a time, hold down the Shift key while using the arrow keys.
You can choose to have scroll bars displayed in the Image window. These scroll bars provide a way to move through the
Scroll window, allowing you to select which portion of the image appears in the Image window.
1. Right-click in the Image window and select Toggle Display Scroll Bars.
2. To have scroll bars appear in the Image window by default, use the ENVI main menu bar to select the File
Preferences Display Defaults tab. Set the Image Window Scroll Bars toggle to Yes.
4
ENVI Tutorial: Introduction to ENVI
Image Box
1. Place the mouse cursor inside the Image box, hold down the left mouse button, drag to the desired location, and
release to reposition the portion of the image shown in the Image window. The Image window is updated
automatically when the mouse button is released.
2. Click anywhere within the Scroll window using the left mouse button to instantly move the selected Image
window area. If you click, hold, and drag the left mouse button in this fashion, the Image window will be updated
as you drag (the speed depends on your computer resources).
3. Click in the Image box and press the arrow keys on your keyboard. To move the image in larger increments, hold
down the Shift key while using the arrow keys.
Zoom controls
There are three Zoom controls (red by default) in the lower left corner of the Zoom window. These control the zoom
factor and the crosshair cursor in both the Zoom and Image windows.
1. Place the mouse cursor in the Zoom window and click the left mouse button to reposition the magnified area
(displayed in the Zoom box in the Image window) by centering the zoomed area on the selected pixel.
2. Click and hold the left mouse button in the Zoom window while dragging. This causes the Zoom window to pan
within the Image window.
5
ENVI Tutorial: Introduction to ENVI
graphic in the lower left corner of the Zoom window to zoom out by a factor
4. Using a three button mouse, click the middle mouse button on the
5. Click the right mouse button on the
6. Click the left mouse button on the
7. Click the middle mouse button on the
8. Click the right mouse button on the
9. Click the left mouse button on the
10. Click the middle mouse button on the
11. Click the right mouse button on the
12. The Zoom window can also have optional scroll bars, which provide an alternate method for moving through the
Zoom window. Right-click in the Zoom window and select Toggle Zoom Scroll Bars. To have scroll bars
appear on the Zoom window by default, use the ENVI main menu bar to select the File Preferences
Display Defaults tab. Set the Zoom window Scroll Bars toggle to Yes.
From the Display group menu bar, select Window Mouse Button Descriptions.
From the ENVI main menu bar, select Window Mouse Button Descriptions and place your cursor over the
Image window.
When the Mouse Button Descriptions dialog is open, the mouse button assignments for each ENVI display or graphics
window are shown in the dialog when the cursor is poised over a display group window. In the dialog, MB1 is the left
mouse button, MB2 is the middle mouse button, and MB3 is the right mouse button.
6
ENVI Tutorial: Introduction to ENVI
7
ENVI Tutorial: Introduction to ENVI
Dynamic Overlays
ENVIs multiple dynamic overlay feature allows you to dynamically superimpose parts of one or more linked images onto
another image. Dynamic overlays are turned on automatically when you link two displays, and may appear in either the
Image window or the Zoom window.
1. Click the left mouse button in one of the Image windows to see the image displays overlaid on one another.
2. To create a smaller overlay area, position the mouse cursor anywhere in either Image window (or Zoom window)
and hold down and drag with the middle mouse button. Upon button release, the smaller overlay area is set
and a small portion of the linked image will be superimposed on the current Image window.
3. Click the left mouse button in the Image window and drag the small overlay window around the image to see the
overlay effects.
4. Resize the overlay area at by clicking and dragging the middle mouse button until the overlay area is the desired
size.
8
ENVI Tutorial: Introduction to ENVI
9
ENVI Tutorial: Introduction to ENVI
5. You can continue to change the annotations properties and position by changing the fields in the dialog box or
dragging the text or symbol while holding down the left mouse button. When you are satisfied with the
annotation, click the right mouse button to fix the annotation in position.
6. You can save your image annotation by selecting File Save Annotation from the Annotation Text dialog
menu bar. If you do not save your annotation in a file, it will be lost when you close the Annotation Text dialog
(you will be prompted to save the annotation if you close without first saving). You can also restore saved
annotation files by selecting File Restore Annotation from the Annotation Text dialog menu bar.
10
ENVI Tutorial: Introduction to ENVI
Exiting ENVI
End the ENVI session by selecting File Exit from the ENVI main menu, then click OK to terminate ENVI when
prompted.
12
ENVI Tutorial: Introduction to ENVI
ENVI Tutorial:
Working with ENVI Zoom
Table of Contents
OVERVIEW OF THIS TUTORIAL .....................................................................................................................................2
Blending .............................................................................................................................................................................8
Flickering ............................................................................................................................................................................8
Swiping...............................................................................................................................................................................8
Description
HyMap apparent reflectance data, Jasper Ridge, California, USA
1999 HyMap data of Jasper Ridge, California, used for the tutorial are copyright 1999 Analytical Imaging and Geophysics
(AIG) and HyVista Corporation (All Rights Reserved), and may not be redistributed without explicit permission from AIG
(info@aigllc.com).
Setting Preferences
By default when you open a file, ENVI Zoom attempts to automatically display a true color or gray scale image based on
your file type. For this tutorial, you will change this preference and display the Data Manager.
1. From the menu bar, select File Preferences. The ENVI Zoom Preferences dialog appears.
2. On the left side of the dialog, select Data Manager.
3. On the right side of the dialog, double click the Auto Display Method for Multispectral Files field and select
CIR (color infrared). This will cause image files to be displayed as color infrared by default.
4. Double-click the Launch Data Manager After File/Open field, and select Always. This will change the
preference and allow the Data Manager to be viewed every time a file is opened.
5. Ensure the following settings are selected:
Auto Display Files On Open = True
Clear Display When Loading New Data = False
Close Data Manager After Loading New Data = False.
6. Click OK in the ENVI Zoom Preferences dialog to save these preferences.
2. Navigate to envidata\jsp99hym and open jsp99hym.eff. Because of the preferences you set in the
previous step, the image is automatically displayed as color-infrared (CIR) and the Data Manager is displayed.
2
ENVI Tutorial: Working with ENVI Zoom
Reordering Layers
You can control the order of layers in the Image and Overview windows by
dragging and dropping layers in the Layer Manager tree or by using menu
options (which you will use in a later exercise).
1. Click and drag Raster1: jsp99hym.eff in the Layer Manager above
Raster 2: jsp99hym.eff.
3
ENVI Tutorial: Working with ENVI Zoom
STEP 1
STEP 3
STEP 4
Status bar
Process Manager
1. Detach the Layer Manager category by clicking the Detach button to the right of the Layer Manager category bar
(see image above).
2. Reattach the Layer Manager category by clicking the X on the top right of the Layer Manager dialog window.
3. Collapse the entire category panel by clicking on the collapse bar to the right of the categories (see image
above). This allows you to view a larger Image window. Now, expand the categories by clicking again on the
same bar (to the left of the Image window).
4. Collapse the Cursor Value category by clicking the arrow to the left of the Cursor Value category bar (see image
above). Now, expand the Cursor Value category by clicking again on the same arrow.
4
ENVI Tutorial: Working with ENVI Zoom
5
ENVI Tutorial: Working with ENVI Zoom
View box
1. Increase or decrease the size of the View box by clicking and dragging a corner of that box. This will zoom in or
out on the image displayed in the Image window. As you click and drag a side, the View box adjusts shape to
maintain the proper aspect ratio of the Image window.
2. Click inside of the View box and drag it to any location within the Overview window to dynamically update the
Image window.
3. Click outside of the View box in the Overview window to recenter the View box on the spot where you clicked.
7. When processing is complete, the resulting image appears in the Layer Manager as
"Raster 3: {Memory} RXD Result," and it is automatically displayed in the Image window.
6
ENVI Tutorial: Working with ENVI Zoom
5. Click once inside the Portal to select it, then place your cursor at the top inside of the Portal to display the Portal
toolbar.
6. Click the Unpin button
Blending
Blending allows you to gradually transition from one image to another, by increasing the transparency of one image.
1. Right-click inside of the Portal and select Blend. Blending automatically begins between the true color and CIR
layers.
2. Experiment with the speed of the blend, using the
3. Click the Pause button
and
Flickering
Flickering allows you to toggle between two images at a desired speed.
1. Right-click inside of the Portal and select Flicker. Flickering automatically begins between the true color and CIR
layers.
2. Experiment with the speed of the flicker, using the
3. Click the Pause button
and
4. If you paused the flicker action while the true color image was displayed, your Portal will appear transparent.
Right-click in the Portal and select Load New Layer Raster 1: jsp99hym.eff.
Swiping
Swiping allows you to spatially transition from one image to another using a vertical dividing line that moves between two
images.
1. Right-click inside of the Portal and select Swipe. Swiping automatically begins between the between the true
color and CIR layers.
2. Experiment with the speed of the swipe, using the
3. Click the Pause button
and
To exit blend, flicker, or swipe, you must close the Portal, unless you want the Portal to appear in the screen capture you
will create in the next step.
8
ENVI Tutorial: Working with ENVI Zoom
on the ENVI Zoom toolbar. The Chip From Display Parameters dialog
4. Browse to a preferred location on your hard drive, type zoomtutorial as the file name, and click Open.
5. Click OK on the Chip From Display Parameters dialog. ENVI Zoom adds the output file to the Data Manager,
where you can open and view the new JPEG image.
9
ENVI Tutorial: Working with ENVI Zoom
Unidad N 2
www.telematica.com.pe
soporte@telematica.com.pe
ENVI Tutorial:
Interactive Display Functions
Table of Contents
OVERVIEW OF THIS TUTORIAL .....................................................................................................................................2
OPENING A PANCHROMATIC (SPOT) IMAGE FILE ..............................................................................................................2
PERFORMING INTERACTIVE CONTRAST STRETCHING...........................................................................................................2
Description
SPOT Panchromatic Data, Enfidaville, Tunisia
ENVI Header for Above
GeoSpot Volume Descriptor File
GeoSpot report file (REP/B: GEOSPOT Structure)
GeoSpot Raster Source Description File
DXF coding descriptor file
Spot height DXF file
Oil or Gas Pipeline DXF file
Hydrology DXF file
Industrial Areas DXF file
Physiographic areas DXF file
Urban Features (Population Centers) DXF file
Transportation Networks DXF file
Data Copyright Notice Panchromatic Data and Vector Overlays
This dataset is a SPOT Panchromatic image and corresponding DXF files of Enfidaville, Tunisia, courtesy of ITT Visual
Information Solutions International France. These data are Copyright CNES-Spot Image and IGN France.
2. Input histogram information can be extracted from the Image window, from the Scroll window (subsampled),
from the Zoom window, from the entire image band (all pixels of the data), or from a user defined region-ofinterest (ROI). Explore the options available in the Histogram_Source menu on the Interactive Stretching
dialog menu bar.
4
ENVI Tutorial: Interactive Display Functions
2. Place the cursor in any of the three windows of the display group and click the left mouse button. Notice that the
Pixel Locator provides the pixel location for the selected pixel.
next to the projection field to toggle between true map coordinates and
3. Click the toggle button
latitude/longitude geographic coordinates. You can also choose to change the selected projection by clicking the
Change Proj button.
4. From the Pixel Locator dialog menu bar, select File Cancel to close the Pixel Locator dialog.
2. From the Cursor Location/Value dialog menu bar, select File Cancel to close the Cursor Location/Value dialog.
5
ENVI Tutorial: Interactive Display Functions
6
ENVI Tutorial: Interactive Display Functions
7
ENVI Tutorial: Interactive Display Functions
2. To annotate a map key corresponding to the DXF overlays, select Object Map Key from the Annotation
dialog menu bar.
3. Click the Edit Map Key Items button to edit the map key characteristics. The Map Key Object Definition dialog
appears.
4. You can change the names, colors, and fill (for polygons) using the Map Key Object Definition dialog. Click OK to
return to the Annotation dialog.
5. Add a background color by clicking the color swatch in the Annotation dialog. Use the right-click menu to select a
color from a list.
6. Click the left mouse button to place the map key in the Image window. Reposition the map key by clicking, or by
clicking and dragging with the left mouse button. Set the map key by clicking the right mouse button in the
image.
9
ENVI Tutorial: Interactive Display Functions
ENVI Tutorial:
Landsat TM and SPOT Data
Fusion
Table of Contents
OVERVIEW OF THIS TUTORIAL .....................................................................................................................................2
DATA FUSION .........................................................................................................................................................3
Preparing Images..............................................................................................................................................3
2
ENVI Tutorial: Landsat TM and SPOT Data Fusion
Preparing Images
To perform data fusion in ENVI, the files must either be georeferenced (in which case spatial resampling is performed on
the fly), or, if not georeferenced, cover the same geographic area, have the same pixel size, have the same image size,
and have the same orientation. The files used in this exercise are not georeferenced. Therefore, the low spatial resolution
images must be resampled to have the same pixel size as the high spatial resolution image (using nearest-neighbor
resampling).
3
ENVI Tutorial: Landsat TM and SPOT Data Fusion
Display Results
1. In the Available Bands List, load fused_london as an RGB composite into Display #1.
2. In the Available Bands List, click Display #1 and select New Display.
3. Load resize_lon_tm as an RGB composite into Display #3. Following is a summary of what each display group
contains at this point:
Display #1: Fused TM/SPOT image (fused_london)
Display #2: SPOT panchromatic image (lon_spot)
Display #3: Resized TM image (resize_lon_tm)
4. From a Display group menu bar, select Tools Link Link Displays. A Link Displays dialog appears.
5. Click OK to link all three display groups. Click in the Image window to use dynamic overlay to compare the
images.
5
ENVI Tutorial: Landsat TM and SPOT Data Fusion
8. Try the same process using the Color Normalized (Brovey) Transform by selecting Transform Image
Sharpening Color Normalized (Brovey) from the ENVI main menu bar.
9.
When you are finished comparing images, close all files and display groups.
6
ENVI Tutorial: Landsat TM and SPOT Data Fusion
7
ENVI Tutorial: Landsat TM and SPOT Data Fusion
The above comparison shows the SPOT-XS data (20 m spatial resolution, left) and the SPOT panchromatic data
(10 m spatial resolution, right).
8
ENVI Tutorial: Landsat TM and SPOT Data Fusion
Unidad N 3
www.telematica.com.pe
soporte@telematica.com.pe
ENVI Tutorial:
Classification Methods
Table of Contents
OVERVIEW OF THIS TUTORIAL .....................................................................................................................................2
EXAMINING A LANDSAT TM COLOR IMAGE ......................................................................................................................2
Description
Caon City, Colorado TM reflectance image
ENVI header for above
K-meansf classification
ENVI header for above
ISODATA classification
ENVI header for above
Regions of interest (ROI) for supervised classification
Parallelepiped classification
ENVI header for above
Binary encoding result
ENVI header for above
SAM classification result
ENVI header for above
Rule image for SAM classification
ENVI header for above
Sieved image
ENVI header for above
Clump of sieved image
ENVI header for above
Combined classes image
ENVI header for above
Classes overlain on gray scale image
ENVI header for above
Vector layer generated from class #1
Vector layer generated from class #2
2
ENVI Tutorial: Classification Methods
3
ENVI Tutorial: Classification Methods
4
ENVI Tutorial: Classification Methods
4. From the Available Bands List, click the Display #2 button and select New Display.
5. Select the ISODATA band and click Load Band.
6. From the Display group menu bar, select Tools Link Link Displays. The Link Displays dialog appears.
7. Click the Display #2 toggle button to select No, and click the Display #3 toggle button to select Yes. Click OK
to link the images.
8. Compare the ISODATA classification result to the color-composite image using the dynamic overlay feature in
ENVI (click using the left mouse button in the Image window).
9. From the Display group menu bar, select Tools Unlink Displays.
10. From the Display group menu bar, select Tools Link Link Displays. The Link Displays dialog appears.
11. Click the Display #1 toggle button to select No, and ensure that the Display #2 and Display #3 toggle
buttons say Yes. Click OK to link and compare the K-means and ISODATA images.
12. If desired, experiment with different numbers of classes, change thresholds, standard deviations, maximum
distance error, and class pixel characteristic values to determine their effect on the classification.
13. From the Display group menu bar on the K-Means Image window, select File Cancel to close the display
group. Close the ISODATA display group using the same technique.
5
ENVI Tutorial: Classification Methods
6
ENVI Tutorial: Classification Methods
6. From the Available Bands List, click the Display #1 button and select New Display.
7. Select the Parallel band and click Load Band.
8. From the Display group menu bar, select Tools Link Link Displays and click OK in the dialog to link the
images.
9. Use image linking and dynamic overlay to compare this classification to the color composite image.
7
ENVI Tutorial: Classification Methods
8
ENVI Tutorial: Classification Methods
9
ENVI Tutorial: Classification Methods
1. From the ENVI main menu bar, select File Open Image
File.
2. Navigate to the envidata\can_tm directory, select the file
can_rul.img from the list, and click Open. The Available
Bands List appears on your screen.
3. Click on the Gray Scale radio button in the Available Bands
List and open each Rule band into its own image window
(use the Display New Display button).
4. Use image linking and dynamic overlay to compare the color
composite image to the rule images.
5. From the Display group menu bar, select Tools Color
Mapping ENVI Color Tables and drag the Stretch
Bottom and Stretch Top sliders to opposite ends of the dialog.
Areas with low spectral angles (more similar spectra) appear
bright.
10
ENVI Tutorial: Classification Methods
11
ENVI Tutorial: Classification Methods
Overlaying Classes
Overlay classes allow you to place the key elements of a classified image as a color overlay on a gray scale or RGB image.
You can examine the pre-calculated image can_tm\can_ovr.img or create your own overlay(s) from the
can_tmr.img reflectance image and one of the classified images.
1. From the ENVI main menu bar, select Classification Post Classification Overlay Classes or review the
pre-calculated results of classifying the image by opening the can_comb.img file in the can_tm directory. The
Input Overlay RGB Image Input Bands dialog appears.
2. Under can_tmr.img in the Available Bands List, select Band 3 for each RGB band (Band 3 for the R band, Band
3 for the G band, and Band 3 for the B band) and click OK. The Classification Input File dialog appears.
3. Click Open, and select New File. A file selection dialog appears.
4. Open can_tm\can_comb.img, and click Open.
5. Click OK in the Classification Input File dialog.
6. Using the Shift key on your keyboard, select Region #1 and Region #2 in the Class Overlay to RGB
Parameters dialog.
7. Click the Output Result to Memory radio button, then click OK. The image is loaded into the Available Bands
List.
8. Load the overlay image to a new display group.
9. Using image linking and dynamic overlays, compare this image to the classified image and the reflectance image.
13
ENVI Tutorial: Classification Methods
15
ENVI Tutorial: Classification Methods
16
ENVI Tutorial: Classification Methods
ENVI Tutorial:
Vegetation Analysis
Table of Contents
OVERVIEW OF THIS TUTORIAL .....................................................................................................................................1
Description
AVIRIS Reflectance
image sample file
Mask for major roads
and buildings
An understanding of the structure and function of vegetation and its reflectance properties. This enables you to
link vegetative structures and their condition to their reflectance behavior in an ecological system of interest.
An understanding of the vegetation properties that can be estimated by calculating VIs on hyperspectral
reflectance data, and knowledge of how these VIs work.
Using ENVIs Vegetation Index Calculator to calculate applicable VIs, then analyzing the output to determine the
vegetation conditions in your data.
Using ENVIs Vegetation Analysis Tools to apply classifications to the various ecologies of the indices and
analyzing the classifications for specific conditions, such as agricultural stress, fire fuel distribution, and overall
forest health.
The vegetation analysis component of ENVI includes complete documentation. The ENVI Users Guide that shipped with
your software, as well as the ENVI Help, offer extensive documentation on vegetation analysis using ENVI. They detail
what comprises vegetation, how strong vegetation differs from weak vegetation, how vegetation properties and health
affect the reflectance spectra of plants and plant canopies, and how to use this information to analyze plant and
ecosystem vegetative conditions using ENVI.
Getting Started
Before attempting to start the program, ensure that ENVI is properly installed as described in the Installation Guide that
shipped with your software.
1. From the ENVI main menu bar, select File Open Image File.
1
ENVI Tutorial: Vegetation Analysis
2
ENVI Tutorial: Vegetation Analysis
Greenness VIs are designed to measure the overall quantity, amount, and vigor of green vegetation in each
pixel.
Light use efficiency VIs are designed to provide a measure of the efficiency with which vegetation is able to
use incident light for photosynthesis, which is closely related to carbon uptake and vegetation growth rates.
The Canopy nitrogen VI is designed to provide a measure of nitrogen concentration of remotely sensed foliage.
Dry or senescent carbon VIs are designed to provide an estimate of the amount of carbon in its dry states of
lignin and cellulose.
Leaf pigment VIs are designed to provide a measure of stress-related pigments, including carotenoids and
anthocyanins, present in vegetation. These pigments are present in higher concentrations in weakened
vegetation.
Canopy water content VIs are designed to provide a measure of the amount of water contained in the foliage
canopy.
3
ENVI Tutorial: Vegetation Analysis
7. Explore some of the other greenness VI results (displayed in the Available Bands List from Normalized
Difference Vegetation Index through Red Edge Position Index). As you examine some of the greenness
indices, you can see that they all look similar overall, but each highlights different areas in different ways.
Determining which VI most closely describes the field conditions requires some field measurements to be taken.
8. Explore some of the dry carbon and water content VI results (displayed in the Available Bands List from
Normalized Difference Lignin Index through Plant Senescence Reflectance Index). These can be used
for fire fuel measurements. You can see that much of the forested area in these results is masked out. These
regions are masked by the biophysical cross check because there is too much green vegetation in the pixels for
these VIs to work correctly.
9. Explore some of the canopy water content VI results (displayed in the Available Bands List from Water Band
Index to Normalized Difference Infrared Index). The Water Band Index and Normalized Difference
Water Index (NDWI) are good water content indices, and we can see again that the NDWI has much of its area
masked by the biophysical cross check. The VI results are now available for use for further processing in ENVI, if
desired.
4
ENVI Tutorial: Vegetation Analysis
6
ENVI Tutorial: Vegetation Analysis
The areas of highest risk (red) around the roads largely consist of dry grasslands. These orange areas, which can
be seen in the VI results as areas where timber is not present, favoring drier underbrush, are clearly identified as
areas of interest. There are still some medium high risk (yellow) areas that are probably miss-classified due to
urban clutter, but these areas do not detract from the remainder of the result. We can see that much of this
forest is too green to burn efficiently, but that there are still areas within it that are worthy of closer examination.
Leaf pigments, to show the concentration of carotenoids and anthocyanin pigments for stress levels.
To use this tool, you select one VI from each category, and ENVI combines the information to produce a classification
map. The classification map rates the scene from one, representing the least healthy forest (weakest) to the healthiest
forest (strongest)which help to assess relative forest health conditions within the scene. The classes are displayed using
a color ramp where purple and blue represent least healthy and yellow and reds indicate the most healthy.
Exiting ENVI
End the ENVI session by selecting File Exit from the ENVI main menu then click OK to terminate ENVI when
prompted.
7
ENVI Tutorial: Vegetation Analysis
Unidad N 4
www.telematica.com.pe
soporte@telematica.com.pe
ENVI Tutorial:
Image Georeferencing and Registration
Table of Contents
OVERVIEW OF THIS TUTORIAL ...............................................................................................................................................................2
GEOREFERENCED IMAGES IN ENVI ........................................................................................................................................................2
OPENING AND DISPLAYING GEOREFERENCED DATA ..............................................................................................................................3
Viewing Map Info in the ENVI Header ..............................................................................................................................................3
Displaying the Cursor Location and Value........................................................................................................................................3
IMAGE TO IMAGE REGISTRATION ............................................................................................................................................................4
Opening and Displaying a Landsat TM Image File...........................................................................................................................4
Displaying the Cursor Location and Value........................................................................................................................................4
Starting Image Registration and Loading Ground Control Points ....................................................................................................4
Working with GCPs ...........................................................................................................................................................................5
Warping Images .................................................................................................................................................................................5
Comparing Warp Results .................................................................................................................................................................................... 6
Description
Boulder SPOT georeferenced image subset
Non-georeferenced Boulder TM data
GCPs for TM-SPOT image-to-image registration
GCPs for TM-Map registration
Boulder roads DLG
3
ENVI Tutorial: Image Georeferencing and Registration
4. You can add individual ground control points (GCPs) by positioning the cursor in the two images to the same
ground location. In the Base field, type 753 for the x location and 826 for the y location. Press the Enter key
after typing each value, to move the cursor in the SPOT image. In the Warp field, type 331 for the x location
and 433 for the y location to move the cursor in the TM image.
5. Examine the locations in the two Zoom windows and adjust the locations if necessary by clicking the left mouse
button in each Zoom window at the desired locations. Note that sub-pixel positioning is supported in the Zoom
windows. The larger the zoom factor, the finer the positioning capabilities.
6. In the Ground Control Points Selection dialog, click Add Point to add the GCP to the list. Click Show List to view
the GCP list. Try this for a few points to get a feel for selecting GCPs. Note the list of actual and predicted points
in the dialog. Once you have at least 4 points, the RMS error is reported.
4
ENVI Tutorial: Image Georeferencing and Registration
Warping Images
Images can be warped from the displayed band, or multiband images can be warped all bands at once. For this exercise
you will warp only the displayed band.
1. From the Ground Control Points Selection dialog menu bar, select Options Warp Displayed Band. The
Registration Parameters dialog appears.
2. Click the Method drop-down list and select RST.
3. Ensure the Resampling drop-down list has the Nearest Neighbor option selected.
4. In the Enter Output Filename field, type bldr_tm1.wrp as the new filename and click OK. The warped
image is listed in the Available Bands List when the warp is completed.
5. From the Ground Control Points Selection dialog menu bar, select Options Warp Displayed Band. The
Registration Parameters dialog appears.
6. Click the Method drop-down list and select RST.
5
ENVI Tutorial: Image Georeferencing and Registration
6
ENVI Tutorial: Image Georeferencing and Registration
9
ENVI Tutorial: Image Georeferencing and Registration
Unidad N 5
www.telematica.com.pe
soporte@telematica.com.pe
ENVI Tutorial:
Mosaicking in ENVI
Table of Contents
OVERVIEW OF THIS TUTORIAL .....................................................................................................................................2
MOSAICKING IN ENVI ...............................................................................................................................................3
Feathering........................................................................................................................................................3
Virtual Mosaics..................................................................................................................................................3
Description
AVIRIS Scene 02
AVIRIS Scene 03
Mosaic template for end-to-end AVIRIS
mosaic
Mosaic template for feathered overlapping
AVIRIS mosaic
Feathered mosaic
dv06b.mos
dv06_fea.img (.hdr)
Georeferenced mosaicking
lch_01w.img (.hdr)
lch_01w.ann
lch_02w.img (.hdr)
lch_a.mos
lch_mos1.img (.hdr)
Color balancing during mosaicking
mosaic1_equal.dat (.hdr)
mosaic_2.dat (.hdr)
2
ENVI Tutorial: Mosaicking in ENVI
Feathering
To blend or blur the seams between mosaicked images, you can feather the edges of overlapping areas using either edge
feathering or cut-line feathering over a specified distance. To use feathering when mosaicking images, import the bottom
image without feathering. Then import the overlapping images with edge or cut-line feathering.
Edge Feathering
Edge Feathering uses a pixel distance you specify to blend the seams along
the edges of the mosaicked image. The edge is blended using a linear ramp
that averages the two images across the specified distance. For example, if
the specified distance is 20 pixels, 0% of the top image is used in the
blending at the edge and 100% of the bottom image is used to make the
output image. At 20 pixels from the edge, 100% of the top image is used to
make the output image and 0% of the bottom image is used. At 10 pixels
from the edge, 50% of each image is used to make the output image.
Cut-line Feathering
Cut-line Feathering uses a pixel distance and annotation file you specify to
blend the image boundaries. You must define cut-lines using the annotation
tools prior to mosaicking. The annotation file must contain a polyline defining
the cut-line that is drawn from edge-to-edge, and you must place a symbol in
the region of the image that will be cut off. The cut-line distance is used to
create a linear ramp that averages the two images across that distance from
the cut-line outwards. For example, if the specified distance is 20 pixels,
100% of the top image is used in the blending at the cut-line and 0% of the
bottom image is used to make the output image. At 20 pixels from the cutline,
0% of the top image is used to make the output image and 100% of the
bottom image is used. At 10 pixels from the cutline, 50% of each image is
used to make the output image.
Virtual Mosaics
You can use a mosaic template file to construct a Virtual Mosaic, one that can be displayed and used by ENVI without
actually creating a mosaic output file. You cannot use feathering when creating a Virtual Mosaic in ENVI.
After creating a mosaic, save the template file by selecting File Save Template from the Image Mosaicking dialog
menu bar. This creates a small text file describing the mosaic layout.
To use the Virtual Mosaic, select File Open Image File from the ENVI main menu bar and open the mosaic template
file. All of the images used in the mosaic are opened and their bands are listed in the Available Bands List. Display or
process any of the bands in the Virtual Mosaic, and ENVI treats the individual images as if they were an actual mosaic
output file. The new processed file has the specified size of the mosaic, and the input files are in their specified positions
within the mosaic.
3
ENVI Tutorial: Mosaicking in ENVI
7. The bottom of the Pixel Mosaic dialog lists the current position of the images. Select dv06_3.img, enter 513 in
the Y0 field, and press <Enter>. The file dv06_3.img is placed directly below dv06_2.img.
4
ENVI Tutorial: Mosaicking in ENVI
8. From the Pixel Mosaic dialog menu bar, select File Apply. A Mosaic Parameters dialog appears.
9. In the Enter Output Filename field, enter dv06.img and click OK to create the mosaic.
10. To create a Virtual Mosaic instead of a new mosaic file, select File Save Template from the Pixel Based
Mosaic dialog menu bar. When the Output Mosaic Template dialog appears, enter the output filename
dv06a.mos.
11. In the Available Bands List, select Mosaic (Band 1) under dv06.mos (or dv06a.mos from Step 9) and click
Load Band.
5
ENVI Tutorial: Mosaicking in ENVI
9. From the Pixel Mosaic menu bar, select File Save Template. An Output Mosaic Template dialog appears.
10. In the Enter Output Filename field, enter dv06b.mos. Click OK.
11. In the Available Bands List, select Virtual Mosaic (Band 1) and click Load Band. No feathering is performed
with a Virtual Mosaic.
12. Make the same image as a feathered mosaic by creating an output file. From the Pixel Mosaic dialog menu bar,
select File Apply. A Mosaic Parameters dialog appears.
13. In the Enter Output Filename field, enter dv06f.img.
14. In the Background Value field, enter 255. Click OK.
15. In the Available Bands List, click Display #1 and select New Display.
16. Select Mosaic (Band 1) under dv06f.img and click Load Band. If you cannot see the entire image in the
Image window, click and drag a corner of the Image window to resize it.
17. Compare the Virtual Mosaic and the feathered mosaic using image linking and dynamic overlays. The following
figure shows the feathered output mosaic produced by overlapping the two AVIRIS scenes.
6
ENVI Tutorial: Mosaicking in ENVI
18. From the Available Bands List menu bar, select File Close All Files.
19. Close the Pixel Mosaic dialog and all display groups.
7
ENVI Tutorial: Mosaicking in ENVI
8
ENVI Tutorial: Mosaicking in ENVI
9
ENVI Tutorial: Mosaicking in ENVI
10
ENVI Tutorial: Mosaicking in ENVI
Unidad N 6
www.telematica.com.pe
soporte@telematica.com.pe
ENVI Tutorial:
3D SurfaceView and Fly-Through
Table of Contents
OVERVIEW OF THIS TUTORIAL .....................................................................................................................................2
3D VISUALIZATION IN ENVI .......................................................................................................................................3
Load a 3D SurfaceView......................................................................................................................................3
Description
Landsat TM saturation-enhanced, RGB composite of
Bighorn Basin, Wyoming
USGS DEM at 30 m resolution
Fly-through path file
Fly-through path annotation file
2
ENVI Tutorial: 3D SurfaceView and Fly-Through
Load a 3D SurfaceView
If you are running ENVI on a Windows system, you must set the display to 24bit color mode before starting ENVI.
Start 3D SurfaceView
1. From the ENVI main menu bar, select Topographic 3D
SurfaceView. A 3D SurfaceView: Select Input Display dialog appears.
2. Select Display #1 and click OK. An Associated DEM Input File dialog
appears.
3. Select DEM Elevation under bhdemsub.img and click OK. A 3D
SurfaceView Input Parameters dialog appears.
4. Select the desired DEM Resolution (number of pixels) used for the
3D plot. The DEM will be resampled to the selected resolution.
Using higher DEM resolutions will significantly slow the visualization and should only be used when sufficient
computing power is available. You can select more than one resolution. Typically, you should use the lowest
resolution (64) while you are determining the best flight path. Then, use a higher resolution to display your final
fly-through sequence.
3
ENVI Tutorial: 3D SurfaceView and Fly-Through
Rotation/Scale/Translation Controls
The 3D SurfaceView Controls dialog allows you to make fine adjustments.
1. From the 3D SurfaceView dialog menu bar, select Options Surface Controls. The 3D SurfaceView Controls
dialog appears.
4
ENVI Tutorial: 3D SurfaceView and Fly-Through
Surface Properties
1. Click the Surface Style drop-down list and select different wireframe options. The figures below show Wire
(upper-left), Ruled XZ (upper-right), Ruled YZ (lower-left), and Points (lower-right).
2. Experiment with different Vertical Exaggeration values. Higher factors increase the vertical exaggeration.
5
ENVI Tutorial: 3D SurfaceView and Fly-Through
Perspective Controls
This section of the 3D SurfaceView Controls dialog allows you to click a point in the 3D SurfaceView plot to specify a
perspective origin around which the surface is rotated.
1. Click
2. Move the cursor to the 3D SurfaceView plot and click somewhere in the plot to set the origin of the rotation. The
view zooms to the new origin of the perspective, which is set at a height that is 0.05 normalized units (default)
above the surface. Rotation begins.
3. You can modify the height of the perspective origin above the surface using the Translation controls in the 3D
SurfaceView Controls dialog.
4. Click Stop to pause the current rotation. If the cursor is in "select" mode, but you did not choose a perspective
origin, clicking Stop toggles the cursor out of "select" mode.
5. Click Start to start a rotation that was stopped; or, if no perspective rotation was started, to begin rotating the
surface around its center point.
6. Enter the desired value for Rotation Delay, which is the number of seconds to wait between the successive
renderings of the rotating surface. The default value is 0.05. Setting the value to 0.0 sets the rotation speed to
your computer's limits for calculating the transformation matrix and rendering the surface.
7. You can change the direction of the rotation of the surface by clicking Direction and selecting Left or Right.
Direction refers to the rotation direction of the surface, not the viewer's perspective.
8
ENVI Tutorial: 3D SurfaceView and Fly-Through
Animate Sequence
The Animate Sequence option allows you to control the speed and direction of the 3D SurfaceView animation.
1. Use the same values in Steps 12-15 above for the ellipse flight path, then select Options Animate
Sequence from the SurfaceView Motion Controls dialog to load the individual frames into the animation. The 3D
SurfaceView Controls dialog changes to show an interactive tool for controlling the animation:
2. Control the speed of the fly-through by increasing the Speed value. Higher values result in faster animation.
3. Control the direction of the fly-through by clicking the appropriate button at the bottom of the dialog:
reverse animation
9
ENVI Tutorial: 3D SurfaceView and Fly-Through
pause animation
When the animation is paused, click-and-drag the slider to step through the animation one or more frames at a
time.
4. From the Animation Window menu bar, select File Cancel to return to the 3D SurfaceView Motion Controls
dialog.
Save Visualizations
The ENVI 3D SurfaceView function also offers several options to save the visualization results and/or path. Select the
following from the SurfaceView Motion Controls dialog:
Select File Save Sequence to File from the SurfaceView Motion Controls dialog menu bar to save the
current path to an ENVI path (.pat) file that can be restored to a 3D visualization session
Select File Restore Sequence Path from File from the SurfaceView Motion Controls dialog menu bar to
restore a saved flight path when the visualization is in the User Defined mode
Select File Input Annotation from Display from the SurfaceView Motion Controls dialog menu bar to get
annotation from the current display group when the visualization is in the Annotation mode
Select File Input Annotation from File from the SurfaceView Motion Controls dialog menu bar to get
annotation from an ENVI annotation file when the visualization is in the Annotation mode
Select File Save Surface As Image File from the 3D SurfaceView menu bar to output the currently
displayed view to an ENVI image
Select File Print from the 3D SurfaceView menu bar to perform direct printing of the currently displayed view
Select File Save Surface As VRML from the 3D SurfaceView menu bar to output the 3D visualization to a
VRML file that can be viewed in a web browser
10
ENVI Tutorial: 3D SurfaceView and Fly-Through
11
ENVI Tutorial: 3D SurfaceView and Fly-Through
Unidad N 7
www.telematica.com.pe
soporte@telematica.com.pe
ENVI Tutorial:
Vector Overlay and GIS Analysis
Table of Contents
OVERVIEW OF THIS TUTORIAL .....................................................................................................................................3
Capabilities .......................................................................................................................................................5
Concepts ..........................................................................................................................................................6
Open a Shapefile............................................................................................................................................. 10
Work with Vector Point Data ............................................................................................................................ 10
Create USA State Boundaries Using IDL Map Sets .............................................................................................. 10
Work with Vector Polygon Data ........................................................................................................................ 11
Retrieve Vector Information and Attributes........................................................................................................ 11
View Attributes and Use Point-and-Click Query .................................................................................................. 11
Query Attributes.............................................................................................................................................. 12
Add a Map Key in Vector Window ..................................................................................................................... 12
Close all Windows and Files.............................................................................................................................. 13
2
ENVI Tutorial: Vector Overlay and GIS Analysis
Required Files
ENVI Resource DVD:
Paths: envidata/esri_gis (Part 1 of this tutorial)
envidata/si_eosat (Parts 1 and 2 of this tutorial)
envidata/can_tm
(Part 2 of this tutorial)
3
ENVI Tutorial: Vector Overlay and GIS Analysis
4
ENVI Tutorial: Vector Overlay and GIS Analysis
Concepts
ENVIs vector overlay and GIS analysis functions generally follow the same paradigms as ENVIs raster processing
routines, including the same procedures for opening files and the use of standard dialogs for output to memory or file.
The following sections describe some of the basic concepts.
6
ENVI Tutorial: Vector Overlay and GIS Analysis
7
ENVI Tutorial: Vector Overlay and GIS Analysis
8
ENVI Tutorial: Vector Overlay and GIS Analysis
9
ENVI Tutorial: Vector Overlay and GIS Analysis
Open a Shapefile
1. From the ENVI main menu bar, select File Open Vector File. A Select Vector Filenames dialog appears.
2. Navigate to envidata\esri_gis. Click the Files of type drop-down list in the Select Vector Filenames dialog,
and select Shapefile.
3. Select cities.shp. Click Open. The Import Vector Files Parameters dialog appears. This dialog allows you to
select file or memory output, enter an output filename for the ENVI .evf file, and enter projection information if
ENVI is unable to find the projection information automatically.
4. Click the Memory radio button. Accept the default values by clicking OK. A status window indicates the number
of vector vertices being read, and the Available Vectors List appears when the data have been converted.
5. Select cities.shp in the Available Vectors List and click Load Selected. The Vector Window #1 dialog
appears with USA cities plotted. The default mode (shown in the title bar or in the lower-right corner of the
dialog) is Cursor Query.
11
ENVI Tutorial: Vector Overlay and GIS Analysis
Query Attributes
1. Ensure that cities.shp is still the active layer. From the Vector Window #1 dialog menu bar, select Options
Select Active Layer Layer:cities.shp.
2. From the Vector Window #1 dialog menu bar, select Edit Query Attributes. A Layer Attribute Query dialog
appears.
3. In the Query Layer Name field, enter Where State==California. Click Start. A Query Expression section
appears at the top of the Layer Attribute Query dialog.
4. Click the AREANAME drop-down list and select ST.
5. Click the > drop-down list and select ==.
6. In the String field, enter CA (be sure to match this case).
7. Click the Memory radio button and click OK. ENVI creates a new vector layer and associated DBF file based on
the results of the query. The new layer appears in the Available Vectors List and is loaded into Vector Window
#1. Zoom to the selected vectors using the middle mouse button to draw a box around the state of California.
8. Right-click in the Vector Window #1 dialog and select Select Active Layer Layer:Where
State==California. Open the DBF attribute file by selecting Edit View/Edit/Query Attributes from the
Vector Window #1 dialog menu bar. The Layer Attributes table appears.
9. Perform some point-and-click query operations as described in the previous section to see the association
between the selected cities, their locations in the vector window, and their attributes. You can select multiple
cities from the attribute table by holding down the <Ctrl> key while you click on the record labels on the left side
of the table.
10. Click the AREANAME column name at the top of the table to highlight the entire set of attributes. From the Layer
Attributes table menu bar, select Options Sort by selected column forward to sort the column
alphabetically. Scroll down the column and click the Sacramento row (record 334) to highlight the location of
Californias capital in a different color in the Vector Window #1 dialog.
13
ENVI Tutorial: Vector Overlay and GIS Analysis
14
ENVI Tutorial: Vector Overlay and GIS Analysis
15
ENVI Tutorial: Vector Overlay and GIS Analysis
To add a node, right-click and select Add Node, then drag the node to a new location.
To remove a node, right-click it and select Delete Node from the shortcut menu.
To change the number of nodes added at one time, right-click and select Number of Nodes to
Add. Enter the number of nodes in the dialog that appears.
To remove a range of nodes, right-click on the first node and select Mark Node. Right-click on the
last node and select Mark Node again. Right-click again and select Delete Marked Nodes.
3. To finish this section, select Window Available Vectors List from the ENVI main menu bar to display the
Available Vectors List. Delete any new layers you have created by selecting them in the Available Vectors List and
clicking Remove Selected. Do not remove the vectors.shp layer.
Query Operations
1. From the Vector Parameters dialog menu bar, select Mode Cursor Query.
2. In the Vector Parameters dialog, highlight vectors.shp. Select Edit View/Edit/Query Attributes. A Layer
Attributes table appears.
3. Examine the RANCH column and note the predominance of three owners gloria, lanini, and sharpe. Close
the attribute table by selecting File Cancel.
4. From the Vector Parameters dialog menu bar, select Edit Query Attributes. A Layer Attribute Query dialog
appears.
5. In the Query Layer Name field, type Gloria Ranch. Click Start.
6. In the Query Expression section that appears at the top of the Vector Parameters dialog, click the AREA dropdown list and select RANCH.
16
ENVI Tutorial: Vector Overlay and GIS Analysis
19
ENVI Tutorial: Vector Overlay and GIS Analysis
14. From the ENVI main menu bar, select File Exit.
20
ENVI Tutorial: Vector Overlay and GIS Analysis
Unidad N 8
www.telematica.com.pe
soporte@telematica.com.pe
ENVI Tutorial:
Map Composition
Table of Contents
OVERVIEW OF THIS TUTORIAL .....................................................................................................................................2
MAP COMPOSITION IN ENVI .......................................................................................................................................3
Automatically ......................................................................................................................................................................5
Using the Display Preferences ..............................................................................................................................................5
Using the Annotation Function..............................................................................................................................................5
Description
Yellowstone National Park TM Ratio Subset Image
Saved annotation result for above
Saved grid parameters for above
Location image for above
2
ENVI Tutorial: Map Composition
4
ENVI Tutorial: Map Composition
Automatically
When you generate a QuickMap, ENVI automatically adds a virtual border to all sides of the image to accommodate the
QuickMap grid, and it displays a default grid.
1. To change the default border, select Overlay Grid Lines from the Display group menu bar associated with
the QuickMap. A Grid Line Parameters dialog appears.
2. From the Grid Line Parameters dialog menu bar, select Options Set Display Borders. A Display Borders
dialog appears.
3. Enter values as shown in the following figure.
4. Click OK. The new virtual border characteristics are immediately applied to the image. If you select File Save
Setup from the Grid Line Parameters dialog menu bar, the border information will be saved with the grid and will
be restored when you restore the grid parameters file later.
5
ENVI Tutorial: Map Composition
Text:
1. Select Object Text from the Annotation dialog menu bar.
2. Click Font and select a font.
3. Select the font size, color, and orientation using the appropriate buttons and fields in the Annotation dialog. For
information on adding additional fonts, see Using Other TrueType Fonts with ENVI in ENVI Help. TrueType
fonts provide more flexibility. Select one of the TrueType fonts available on your system by clicking Font,
selecting a True Type option, and selecting the desired font.
4. Type your text in the empty field in the Annotation dialog.
5. Drag the text object to a preferred location in the image and right-click to lock it in place.
Symbols:
1. Select Object Symbol from the Annotation dialog menu bar.
2. Select the desired symbol from the table of symbols that appears in the Annotation dialog.
3. Drag the text object to a preferred location in the image and right-click to lock it in place.
7
ENVI Tutorial: Map Composition
Declination Diagrams
ENVI generates declination diagrams based on your preferences. You can specify the size of the diagram and enter
azimuths for true north, grid north, and magnetic north in decimal degrees.
1. Select Object Declination from the Annotation dialog menu bar.
2. Enter object parameters as desired in the Annotation dialog.
3. Click once in the image to show the declination diagram. Move it to a preferred location by dragging the red
diamond handle. Right-click to lock the diagram.
1. Select Object Map Key from the Annotation dialog menu bar.
2. Click Edit Map Key Items to add, delete, or modify individual map key items.
8
ENVI Tutorial: Map Composition
9
ENVI Tutorial: Map Composition
10
ENVI Tutorial: Map Composition
11
ENVI Tutorial: Map Composition
12
ENVI Tutorial: Map Composition
Printing
You can also select direct printing of the ENVI map composition, in which case, the map composition will be printed
directly to your printer using system software drivers.
1. From the Display group menu bar associated with the map composition, select File Print. An ENVI QuickMap
Print Preferences dialog appears.
2. Select Standard Printing or Output QuickMap to Printer as described above.
3. Choose your printer, then click OK.
In all of the output options listed above, graphics and map composition objects are burned into the image on output.
The following figure shows an example of a final map composition produced in ENVI using QuickMap and custom map
composition.
13
ENVI Tutorial: Map Composition
14
ENVI Tutorial: Map Composition
Unidad N 9
www.telematica.com.pe
soporte@telematica.com.pe
ENVI Tutorial:
Integracin ENVI ArcGIS
Descripcin del Tutorial
Este tutorial esta diseado para introducir al alumno en el uso integrado de herramientas GIS (EnviArcGis). Es necesario que usted tenga conocimientos generales de procesamiento de imagenes y uso
de ArcGis.
Para ejecutar este tutorial, usted debe tener instalado ENVI y ArcGis en su computadora.
Description
Pativilca, Lima, TM Data.
ENVI Header for Above.
Shapefile, lmite cuenca Ro Pativilca.
Feature class, curvas de nivel.
Feature class, ros.
Iniciando ENVI
1
ENVI Tutorial: Integracin ENVI - ArcGIS
2
ENVI Tutorial: Integracin ENVI - ArcGIS
Superponiendo un Shapefile
1. Desde la barra de menu de la venta Image, selecccione Overlay Vectors. La venta Vector
Parameters aparece.
2. Desde la barra de menu de la venta Vector
Parameters, seleccione File Open Vector File. La
ventana de dialogo Select Vector Filenames se muestra.
3. Clic en Files of type: se despliega una lista y
seleccione Shapefile. Seleccione Cuenca.shp y clic
Open. La ventana de dialogo Import Vector Files
Parameters aparece.
4. Seleccione la salida Memory y clic OK.
Automaticamente se agrega en la ventana de dialogo
Vector Parameters dialog y se carga en la ventana de
Image.
5. Clic en el boton Current Layer para seleccionar un
color mas visible para el vector o boton derecho en el
recuadro de color y seleccionar desde el menu.
Clic Apply para actualizar el color del vector.
3
ENVI Tutorial: Integracin ENVI - ArcGIS
4
ENVI Tutorial: Integracin ENVI - ArcGIS
5
ENVI Tutorial: Integracin ENVI - ArcGIS
Finalizando ENVI
Para finalizar la sesin de ENVI seleccione File Exit desde la barra de menu de ENVI Zoom y de la
barra de menu principal de ENVI, luego OK o YES para terminar.
6
ENVI Tutorial: Integracin ENVI - ArcGIS
Unidad N 10
www.telematica.com.pe
soporte@telematica.com.pe
ENVI Tutorial:
Extendiendo ENVI
Resumen de este Tutorial
Este tutorial est diseado para introducir al alumno en el uso bsico de la herramienta de
programacin IDL (Interactive Data Language)
Para ejecutar este tutorial, usted debe tener instalado ENVI + IDL en su computadora.
Description
Archivo de texto en format ASCII
Imagen de satelite
Datos volumtricos
1
ENVI Tutorial: Extendiendo ENVI
IDL (Interactive Data Language) es un lenguaje interpretado, orientado a los arreglos, anlisis
matemtico y el despliegue grfico. Interpretado significa que existe un programa intrprete que
procesa el cdigo escrito en este lenguaje. Por esta razn no es posible directamente generar un
programa ejecutable a partir de un programa hecho en IDL, estos dependen de la existencia del
intrprete en la plataforma sobre la cual se deseen correr los programas (Virtual Machine). Un
lenguaje orientado al arreglo es permite que los operadores puedan interactuar directamente sobre
arreglos sin tener que programar un loop para recorrer sus elementos. IDL adems posee numerosas
rutinas de anlisis numrico y estadstico que evita al programador tener que estarlas programando o
usando librerias externas. IDL tambin soporta varios formatos tanto de imgenes (bmp, gif, jpeg)
como de almacenamiento de datos cientficos (cdf, hdf, netcdf2).
Panel Multi-Documento
Espacio de trabajo
Historial de comandos
Panel de vista
Linea de Comando
2
ENVI Tutorial: Extendiendo ENVI
de variables:
Definicin
Entero de 8 bits (sin signo)
Entero de 16 bits (con signo)
Entero de 32 bits (con signo)
Arreglos
bytarr
Intarr
Lonarr
Float
Double
Complex
Double Complex
Fltarr
Dblarr
Complexarr
Dcomplexarr
String
Secuencia de caracteres
Strarr
Las variables son definidas por un texto seguido de un signo igual (=) y el valor de la variable
1. En la Lnea de comando defina las siguientes variables (Los comandos aceptados aparecern
en la vista consola de color verde):
IDL> a=3
IDL> b=5
IDL> c=intarr(2,3)
IDL> e=ENVI
IDL> f=IDL
Nota: Si desea puede ir a la vista variables y visualizar todas las variables ingresadas
2. Ahora Ud. imprimir las variables en pantalla usando el comando print (aparecer en la vista
consola el valor de la variable en color negro)
IDL> print, a
IDL> print, b
IDL> print, c
IDL> print, e+ +f
3. Ahora ejecutaremos algunas operaciones sencillas.
IDL> print, a*b
IDL> d=a+c
IDL> print, d
IDL> b=sqrt(b)
IDL> print, b
IDL> d=a*sin(b)
IDL> print, d
3
ENVI Tutorial: Extendiendo ENVI
4
ENVI Tutorial: Extendiendo ENVI
Ingresando a ENVI
Ud. tambin puede ingresar a ENVI desde IDL ejecutando el siguiente comando IDL>envi
5
ENVI Tutorial: Extendiendo ENVI