Professional Documents
Culture Documents
Unsupervise Classification
Thin Soedarti
Linking windows to common extents
This algorithm displays Landsat TM (30 meter resolution) image of San Diego.
Bands 3, 4 and 1 are displayed as an RGB color composite, so vegetated areas
appear green and urban areas are pink or grey.
Linking windows to common extents
Open a second window and algorithm
1. On the Standard toolbar, click the New button.
A second image window opens on the screen.
2. On the Standard toolbar, click on the Open button.
3. From the Directories menu, select the path ending with the text
\examples.
4. Double-click on the directory named 'Data_Types'.
5. In the 'SPOT_Panchromatic' directory, load the algorithm named
"Greyscale.alg'
You should now have two image windows of about the same size next to each
other in the upper part of the screen, and Geoposition dialog below them.
Set the TM image window to Geolink Window mode
1. On the Algorithm Geoposition Extents dialog, select Geolink in the row of
options at the top. (It may already be chosen.)
The contents of the dialog show 'Geolink mode' option buttons on the left
side.
2. Click inside the Landsat TM image window to activate it (three stars ***
should appear next to the title).
3. In the Algorithm Geoposition Extents dialog, select the Window option
button.
4. Click the Apply button.
The window title indicates that it is now set to "WINDOW" geolink mode.
Set the SPOT image window to Geolink Window mode
1. Click inside the SPOT Pan image window to activate it.
2. Select the Window option button.
3. Click the Apply button.
The SPOT Pan window is now linked to the Landsat TM window since both are
set to Geolink Window mode. Any changes you make to the extents of one
window will be automatically duplicated in the other.
Set both windows to Geolink None mode
The contents of the dialog show Geolink mode option buttons on the left side.
The words "WINDOW:geolink" disappear from the window title, indicating that
the window is no longer geolinked.
Tip: Image windows can also be geolinked and unlinked using the View/Quick
Zoom menu on the main ER Mapper menu bar.
Resize and position the two windows
2. Resize and reposition the two windows as shown in the following diagram.
(You must be able to view the contents of each window clearly.)
You should now have a smaller
SPOT Pan 'Greyscale' window
partially overlaying a larger
Landsat TM 'RGB_341' window,
and the Algorithm Geoposition
Extents dialog in the lower-right
corner.
You should now have a smaller SPOT
Pan 'Greyscale' window partially
overlaying a larger Landsat TM
'RGB_341' window, and the
Algorithm Geoposition Extents
dialog in the lower-right corner.
UNSUPERVISED CLASSIFICATION
Dengan klasifikasi tak terawasi, pencarian Program klasifikasi untuk kelompok
alam atau kelompok sifat spektral pixel, dan memberikan setiap pixel ke kelas
berdasarkan parameter pengelompokan awal Anda tetapkan. Biasanya, Anda
bertanya ER Mapper untuk kelompok data gambar ke dalam sejumlah
tertentu dari kelas spektral dan memberikan parameter untuk saat kelas
untuk dibagi atau digabung seperti mencari pengelompokan dalam data
gambar. Setelah klasifikasi selesai, Anda menetapkan masing-masing
"spektral" kelas ke informasi tematik atau kelas fitur (seperti air, perkotaan,
dll) dan warna untuk tampilan kelas. ER Mapper menggunakan algoritma
ISOCLASS untuk melakukan pengelompokan data gambar selama klasifikasi
unsupervised. Untuk informasi tentang cara kerja ISOCLASS program, lihat
Klasifikasi Terawasi dan Unsupervised dalam Panduan Pengguna ER Mapper.
PROCEDURE for Performing an Unsupervide Classification is as follows:
After completing these exercises, you will know how to perform the following
tasks in ER Mapper:
This displays bands 7, 4 and 1 of the Landsat TM image on which you will
perform the unsupervised classification. (It is not necessary to display the
image you want to classify, but you will use it for comparison later.)
The Band Selection dialog box appears to let you choose which bands in the image to use for the
clustering operation.
5. Drag through all seven bands listed to select them, then Ctrl-click on the band
labelled 6:11.45_um to deselect it.
Bands 1-5 and 7 should now be selected. (Since Landsat TM band 6 contains data in the thermal
wavelengths, it is often not included in classifications.)
This tells ER Mapper to cluster the image data into a maximum of 10 spectral
classes. (Note that this example is simplified, and you would typically choose
a larger number of classes.)
All other default values on the dialog are appropriate for this simple exercise.
ER Mapper will use bands 1-5 and 7 in the image, and will generate one
starting class automatically (you could also use classes from another classified
image to start with if desired). The clustering will finish when a maximum of
10 classes are created (although fewer are possible) and 98% of the clusters
remain unchanged.
unsupervised classification
Perform the unsupervised classification
1. Click OK on the Unsupervised Classification dialog to start the clustering
process.
The Processing Status dialog box appears to show the progress. ER Mapper runs
through several iterations to cluster the image data into classes, and splits and merges
classes as specified by the parameters you entered.
When the 98% unchanged parameter has been reached, the classification finishes
with 10 classes. ER Mapper then generates multivariate statistics for each class.
2. When the dialog appears indicating successful completion, click OK.
3. Click Cancel on the Unsupervised Classification dialog to close both.
The output of the classification is a single band image. Each pixel in the image has a
value ranging from 1 to 10 (the number of classes that were generated). Next you will
display the output image and assign class colors and names.
Note: If statistics have not already been generated for your input raster image,
they will be generated first when you start the classification (which may take a
few minutes depending on the image size).
unsupervised classification
A classified image of San Diego displays. This is a template algorithm you will use
to display the classified image you generated.
unsupervised classification
Load the classified image you created
1. Click the Edit Algorithm button.
On the Algorithm dialog, notice that this algorithm has one layer of the type
'Class Display.' The Class Display layer is designed to display images created with
ER Mapper's classification functions.
The image initially displays in various shades of grey by default. Next you will
create a color scheme for the classified image.
Tip: The current color values (numbers) are RGB values that represent a specific color. You can quickly
change them to the colors above by typing the color name and pressing Return or Enter (without using
the Set Color button).
2. When finished, click Save on Edit Class/Region Details, then Yes to overwrite the file.
3. Reload the image by clicking the Refresh Image button on the Standard toolbar.
4. Click Close on the Cell Values Profile dialog.
5. Click Close on the Edit Class/Region Details dialog.
3: Overlaying classification results
Objectives
Learn how to display a Classified image using transparency over a reference
image, and to use a formula and Classification layer to display individual
classes.
Since the classified image is on top of the RGB image, you must set
transparency for it to see the RGB image underneath.
The two images are blended so colors from both are visible.
By shifting the transparency back and forth to different levels, you can quickly
see how the natural color image underneath corresponds to the classes and
colors of your classified image. This can be an effective way to compare the
results of your classification to a reference image.
Add a Classification layer to the Landsat image surface
1 Click the Layer tab in the Algorithm dialog to display the process diagram.
2 Right-click on the top surface '[RGB]:Default Surface,' and select Turn Off.
This formula tells ER Mapper "if pixels have a value of 1 (class 1) in the image,
assign them a value of 1 for display, else assign them a value of null."
The ocean areas (class 1) display in yellow over the backdrop RGB image.
Display other classes over the backdrop image
1 In the Generic formula window, edit the formula text to read:
The natural vegetation areas (class 4) display in yellow over the backdrop RGB
image. This is another way to help identify the feature class represented by a
particular cluster (class number), or assess the accuracy of a classification.