+ All Categories
Home > Documents > RS Lab 4 - Unsupervised Classification

RS Lab 4 - Unsupervised Classification

Date post: 28-Nov-2014
Category:
Upload: abdulhakimsalleh
View: 133 times
Download: 3 times
Share this document with a friend
Description:
As a reference
36
AliaKim.Co Unsupervised Classification 1 UiTM AliaKim.Co Remote Sensing Introduction An unsupervised classification algoritm is derived by modeling observed data as a mixture of several classes that are described by linear combinations that estimates the data density in each class by using parametric nonlinear functions. When applied to the image, the algorithm will learn efficient codes for the images that capture the statistically significant structure difference in the image. In addition to specifying the desired number of classes, the analyst may also specify parameters related to the separation distance among the clusters and the variation within each cluster. Unsupervised classification is not completely done without human involvement. However it does not start with a pre-determined set of classes as in a supervised classification. Objectives 1. Learn how to conduct the procedure of unsupervied classification using ERDAS. 2. To define the cluster and processing options. 3. To display output image. 4. To label classes on a dataset that has been output from ISODATA.
Transcript
Page 1: RS Lab 4 - Unsupervised Classification

AliaKim.Co

Unsupervised Classification

1

UiTM AliaKim.Co Remote Sensing

Introduction

An unsupervised classification algoritm is derived by modeling observed data as a mixture of several

classes that are described by linear combinations that estimates the data density in each class by

using parametric nonlinear functions. When applied to the image, the algorithm will learn efficient

codes for the images that capture the statistically significant structure difference in the image. In

addition to specifying the desired number of classes, the analyst may also specify parameters related

to the separation distance among the clusters and the variation within each cluster. Unsupervised

classification is not completely done without human involvement. However it does not start with a

pre-determined set of classes as in a supervised classification.

Objectives

1. Learn how to conduct the procedure of unsupervied classification using ERDAS.

2. To define the cluster and processing options.

3. To display output image.

4. To label classes on a dataset that has been output from ISODATA.

Page 2: RS Lab 4 - Unsupervised Classification

UiTM

Procedure

1. Click the Classifier icon in the ERDAS IMAGINE icon panel to start the Classification utility.

2. The Classification dialog will open and click the Unsupervised Classification to perform an

unpervised classication using the ISODATA algorithm.

3. In the Input Raster File, navigate to file pkl210291rso.img and under the Output Cluster

Layer, enter the name for the output file pkl210291rso_uns.img

4. Uncheck the Output Signature Set.

5. Enter the Class Number to 14 classes and set the iteration to 10.

6. Click OK.

Unsupervised Classification

AliaKim.Co

Click the Classifier icon in the ERDAS IMAGINE icon panel to start the Classification utility.

The Classification dialog will open and click the Unsupervised Classification to perform an

unpervised classication using the ISODATA algorithm.

Input Raster File, navigate to file pkl210291rso.img and under the Output Cluster

Layer, enter the name for the output file pkl210291rso_uns.img.

Uncheck the Output Signature Set.

Enter the Class Number to 14 classes and set the iteration to 10.

AliaKim.Co

nsupervised Classification

2

Remote Sensing

Click the Classifier icon in the ERDAS IMAGINE icon panel to start the Classification utility.

The Classification dialog will open and click the Unsupervised Classification to perform an

Input Raster File, navigate to file pkl210291rso.img and under the Output Cluster

Page 3: RS Lab 4 - Unsupervised Classification

UiTM

7. Open a viewer and Open to Raster Layer the output file. Then open its Attributes.

8. Open the Attribute’s Column Properties and r

Names, Color, Opacity and followed by the rest of columns.

Unsupervised Classification

AliaKim.Co

Open a viewer and Open to Raster Layer the output file. Then open its Attributes.

Open the Attribute’s Column Properties and rearrange the column from the first three

, Color, Opacity and followed by the rest of columns.

AliaKim.Co

nsupervised Classification

3

Remote Sensing

Open a viewer and Open to Raster Layer the output file. Then open its Attributes.

earrange the column from the first three Class

Page 4: RS Lab 4 - Unsupervised Classification

UiTM

9. Edit the Class Names by changing the Color box of the class and observe the Viewer for the

changes. Identify the feature that change in color and specify it in the related class name.

Repeat the process until it is done to all the classes.

Unsupervised Classification

AliaKim.Co

Class Names by changing the Color box of the class and observe the Viewer for the

changes. Identify the feature that change in color and specify it in the related class name.

Repeat the process until it is done to all the classes.

AliaKim.Co

nsupervised Classification

4

Remote Sensing

Class Names by changing the Color box of the class and observe the Viewer for the

changes. Identify the feature that change in color and specify it in the related class name.

Page 5: RS Lab 4 - Unsupervised Classification

UiTM

10. If needed for an exact classification, regroup the class name that are relatable and make it

into on single color or if the user wish to look for the smallest features classification, the

Flicker Utility can be use.

Open a new viewer and open the Raster Layer.

In the Select Layer To Add

the Clear Display box.

Unsupervised Classification

AliaKim.Co

t classification, regroup the class name that are relatable and make it

into on single color or if the user wish to look for the smallest features classification, the

Flicker Utility can be use.

Open a new viewer and open the Raster Layer.

Select Layer To Add,select the unsupervised image and in the Raster Options,

AliaKim.Co

nsupervised Classification

5

Remote Sensing

t classification, regroup the class name that are relatable and make it

into on single color or if the user wish to look for the smallest features classification, the

Raster Options, uncheck

Page 6: RS Lab 4 - Unsupervised Classification

UiTM

11. In the viewer, select View and click Arrange Layers. In the Arrange Layers dialog, rearrange

the image, the coloured image on the top while the black and white in at th

Then select the Utility and select Swipe.

dialog – left to right.

Unsupervised Classification

AliaKim.Co

In the viewer, select View and click Arrange Layers. In the Arrange Layers dialog, rearrange

the image, the coloured image on the top while the black and white in at th

elect Swipe. The image can be swipe by controlling it in the viewer swipe

AliaKim.Co

nsupervised Classification

6

Remote Sensing

In the viewer, select View and click Arrange Layers. In the Arrange Layers dialog, rearrange

the image, the coloured image on the top while the black and white in at the bottom.

by controlling it in the viewer swipe

Page 7: RS Lab 4 - Unsupervised Classification

UiTM

12. Open the Interpreter, select GIS analysis and followed by Recode.

Insert the unsupervised input file and rename the output file. Then click the Setup Recode button.

Unsupervised Classification

AliaKim.Co

, select GIS analysis and followed by Recode.

Insert the unsupervised input file and rename the output file. Then click the Setup Recode button.

AliaKim.Co

nsupervised Classification

7

Remote Sensing

Insert the unsupervised input file and rename the output file. Then click the Setup Recode button.

Page 8: RS Lab 4 - Unsupervised Classification

UiTM

Select the classes as stated in the previous attribute that want to be recoded and change it to the

new value by selecting the New Value and click Change Selected Rows.

Then click OK in the Thematic Recode and

Unsupervised Classification

AliaKim.Co

Select the classes as stated in the previous attribute that want to be recoded and change it to the

alue by selecting the New Value and click Change Selected Rows.

Then click OK in the Thematic Recode and followed by OK in the Recode dialog.

AliaKim.Co

nsupervised Classification

8

Remote Sensing

Select the classes as stated in the previous attribute that want to be recoded and change it to the

Page 9: RS Lab 4 - Unsupervised Classification

UiTM

Now it can be seen that the Attribute of the recode image is just in 5 classes.

Rearrange all the column back into a better presentation by adding the Area and Class Names

Column and arrange the column accordingly in the Column Properties.

Unsupervised Classification

AliaKim.Co

Now it can be seen that the Attribute of the recode image is just in 5 classes.

ack into a better presentation by adding the Area and Class Names

arrange the column accordingly in the Column Properties.

AliaKim.Co

nsupervised Classification

9

Remote Sensing

ack into a better presentation by adding the Area and Class Names

Page 10: RS Lab 4 - Unsupervised Classification

UiTM

Unsupervised Classification

AliaKim.Co

AliaKim.Co

nsupervised Classification

10

Remote Sensing

Page 11: RS Lab 4 - Unsupervised Classification

UiTM

13. Then in the Image Interpreter/ GIS analysis

recoded image and rename for the output Clump image. Then click OK.

14. Next select Eliminate. Insert the clump image and rename for the Eliminate image output

file. Then click OK.

Unsupervised Classification

AliaKim.Co

Then in the Image Interpreter/ GIS analysis – select Clump. Insert the unsupervised and

recoded image and rename for the output Clump image. Then click OK.

Next select Eliminate. Insert the clump image and rename for the Eliminate image output

AliaKim.Co

nsupervised Classification

11

Remote Sensing

Clump. Insert the unsupervised and

Next select Eliminate. Insert the clump image and rename for the Eliminate image output

Page 12: RS Lab 4 - Unsupervised Classification

UiTM

Open the image in the new viewer. The image will be in black and white.

Raster/Attributes. In the Attributes table, add the Class N

Colour Column just like the previous and rearrange the column accordingly in the Column Properties.

Unsupervised Classification

AliaKim.Co

Open the image in the new viewer. The image will be in black and white.

Raster/Attributes. In the Attributes table, add the Class Names and Area Column, then recolour the

Colour Column just like the previous and rearrange the column accordingly in the Column Properties.

AliaKim.Co

nsupervised Classification

12

Remote Sensing

ames and Area Column, then recolour the

Colour Column just like the previous and rearrange the column accordingly in the Column Properties.

Page 13: RS Lab 4 - Unsupervised Classification

UiTM

Now the differences can be seen between the two images. The left image is before Clump and

Eliminate process while the right image is after the Clump and Eliminate process.

Unsupervised Classification

AliaKim.Co

Now the differences can be seen between the two images. The left image is before Clump and

le the right image is after the Clump and Eliminate process.

AliaKim.Co

nsupervised Classification

13

Remote Sensing

Now the differences can be seen between the two images. The left image is before Clump and

le the right image is after the Clump and Eliminate process.

Page 14: RS Lab 4 - Unsupervised Classification

UiTM

15. On the latest image, select AOI(A

The image is clearly seen being disrupted by clouds

dialog, select the Polygon tool and select the disrupted area.

Unsupervised Classification

AliaKim.Co

On the latest image, select AOI(Area Of Interest) and click Tools.

The image is clearly seen being disrupted by clouds – thus it shows falls informations.

dialog, select the Polygon tool and select the disrupted area.

AliaKim.Co

nsupervised Classification

14

Remote Sensing

formations. In the AOI

Page 15: RS Lab 4 - Unsupervised Classification

UiTM

Then click the Display AOI Styles icon. Check the Fill and select the colour similar to the colour of the

targeted area.

Unsupervised Classification

AliaKim.Co

Then click the Display AOI Styles icon. Check the Fill and select the colour similar to the colour of the

AliaKim.Co

nsupervised Classification

15

Remote Sensing

Then click the Display AOI Styles icon. Check the Fill and select the colour similar to the colour of the

Page 16: RS Lab 4 - Unsupervised Classification

UiTM

Now the area of interest are free from the error due to the clouds.

area that were affected by clouds.

Unsupervised Classification

AliaKim.Co

Now the area of interest are free from the error due to the clouds. Repeat the process for the other

area that were affected by clouds.

AliaKim.Co

nsupervised Classification

16

Remote Sensing

Repeat the process for the other

Page 17: RS Lab 4 - Unsupervised Classification

UiTM

16. Select the Composer/New Map Compositio

Width to 9 inches, Map Height 12 inches and the Display Scale is 1:1.

Unsupervised Classification

AliaKim.Co

omposer/New Map Composition. Give the name for the map and set the Map

Width to 9 inches, Map Height 12 inches and the Display Scale is 1:1.

AliaKim.Co

nsupervised Classification

17

Remote Sensing

n. Give the name for the map and set the Map

Page 18: RS Lab 4 - Unsupervised Classification

UiTM

Select the icon and make a box in the Map Composer, then select Viewer for the Map Frame Data

Source and click the image in the Viewer.

Unsupervised Classification

AliaKim.Co

Select the icon and make a box in the Map Composer, then select Viewer for the Map Frame Data

Source and click the image in the Viewer.

AliaKim.Co

nsupervised Classification

18

Remote Sensing

Select the icon and make a box in the Map Composer, then select Viewer for the Map Frame Data

Page 19: RS Lab 4 - Unsupervised Classification

UiTM

In the Map Frame dialog, select Change Scale and Frame Area(Maintain Map Area), renumber the

Scale to 1:17000 and click the Use Entire Source button.

Then click the Grid icon, select the image and state the Spacing to 5000, click Copy to Vertical butt

and check the Use Full Grid.

Unsupervised Classification

AliaKim.Co

In the Map Frame dialog, select Change Scale and Frame Area(Maintain Map Area), renumber the

Scale to 1:17000 and click the Use Entire Source button.

hen click the Grid icon, select the image and state the Spacing to 5000, click Copy to Vertical butt

AliaKim.Co

nsupervised Classification

19

Remote Sensing

In the Map Frame dialog, select Change Scale and Frame Area(Maintain Map Area), renumber the

hen click the Grid icon, select the image and state the Spacing to 5000, click Copy to Vertical button

Page 20: RS Lab 4 - Unsupervised Classification

UiTM

Unsupervised Classification

AliaKim.Co

AliaKim.Co

nsupervised Classification

20

Remote Sensing

Page 21: RS Lab 4 - Unsupervised Classification

UiTM

Then select the Legend icon. Select all the classes and Apply.

Select the Scale button and Center the Alignment and check the Kilometers for the Units. Apply.

Unsupervised Classification

AliaKim.Co

Select all the classes and Apply.

Select the Scale button and Center the Alignment and check the Kilometers for the Units. Apply.

AliaKim.Co

nsupervised Classification

21

Remote Sensing

Select the Scale button and Center the Alignment and check the Kilometers for the Units. Apply.

Page 22: RS Lab 4 - Unsupervised Classification

UiTM

Then select the A button for the title or other text that want to be added.

KLANG – REMOTELY SENSED FEATURES.

Unsupervised Classification

AliaKim.Co

Then select the A button for the title or other text that want to be added. The title for the map is

SENSED FEATURES.

AliaKim.Co

nsupervised Classification

22

Remote Sensing

title for the map is

Page 23: RS Lab 4 - Unsupervised Classification

UiTM

Then select the (+) icon and click on the image. Then

icon.

In this dialog, click the Symbol Style and change it to the North Arrows

symbol and resize it.

Unsupervised Classification

AliaKim.Co

k on the image. Then select the Display Style icon

In this dialog, click the Symbol Style and change it to the North Arrows. Choose the

AliaKim.Co

nsupervised Classification

23

Remote Sensing

icon and click on the +

. Choose the North Arrow

Page 24: RS Lab 4 - Unsupervised Classification

UiTM

Lastly, rearrange all the additional information for the map and save.

Unsupervised Classification

AliaKim.Co

Lastly, rearrange all the additional information for the map and save.

AliaKim.Co

nsupervised Classification

24

Remote Sensing

Page 25: RS Lab 4 - Unsupervised Classification

UiTM

Questions:

1. Perform unsupervised classification using the default option by the software.

Unsupervised Classification

AliaKim.Co

Perform unsupervised classification using the default option by the software.

AliaKim.Co

nsupervised Classification

25

Remote Sensing

Perform unsupervised classification using the default option by the software.

Page 26: RS Lab 4 - Unsupervised Classification

UiTM

2.Perform unsupervised classification using different bands combination.

Select Interpreter/Utilities and Layer Stack.

Unsupervised Classification

AliaKim.Co

2.Perform unsupervised classification using different bands combination.

Select Interpreter/Utilities and Layer Stack.

Insert the image and rename the

output file image. Select Layer number

1 – Add, 2-Add, 3-Add.

Then click OK.

AliaKim.Co

nsupervised Classification

26

Remote Sensing

Insert the image and rename the

output file image. Select Layer number

Add.

Page 27: RS Lab 4 - Unsupervised Classification

UiTM

Open new Viewer/File/Open/Raster Layer

Unsupervised Classification.

Insert the image and rename for the output and uncheck the Output Signature Set

of Classes to 14 and the iteration to 10.Then click OK.

Unsupervised Classification

AliaKim.Co

Open new Viewer/File/Open/Raster Layer and open the image. Select Classifier and choose

age and rename for the output and uncheck the Output Signature Set

of Classes to 14 and the iteration to 10.Then click OK.

AliaKim.Co

nsupervised Classification

27

Remote Sensing

and open the image. Select Classifier and choose

age and rename for the output and uncheck the Output Signature Set. Set the Number

Page 28: RS Lab 4 - Unsupervised Classification

UiTM

Open new Viewer/Open/Raster Layer

Then open the Attributes for comparison purpose.

Unsupervised Classification

AliaKim.Co

Open new Viewer/Open/Raster Layer – the unsupervised image.

ibutes for comparison purpose.

AliaKim.Co

nsupervised Classification

28

Remote Sensing

Page 29: RS Lab 4 - Unsupervised Classification

UiTM

Band Combinations: 1,2,3 (The Layer Stack

The unsupervised image.

Unsupervised Classification

AliaKim.Co

Layer Stack image)

AliaKim.Co

nsupervised Classification

29

Remote Sensing

Page 30: RS Lab 4 - Unsupervised Classification

UiTM

In the Attributes, after recolour. The information is seen like below.

Unsupervised Classification

AliaKim.Co

In the Attributes, after recolour. The information is seen like below.

AliaKim.Co

nsupervised Classification

30

Remote Sensing

Page 31: RS Lab 4 - Unsupervised Classification

UiTM

Band Combinations: 4,5,6(The Layer Stack Image)

The unsupervised image.

Unsupervised Classification

AliaKim.Co

(The Layer Stack Image)

AliaKim.Co

nsupervised Classification

31

Remote Sensing

Page 32: RS Lab 4 - Unsupervised Classification

UiTM

In the Attributes, after recolour. The information is seen like below.

Unsupervised Classification

AliaKim.Co

In the Attributes, after recolour. The information is seen like below.

AliaKim.Co

nsupervised Classification

32

Remote Sensing

Page 33: RS Lab 4 - Unsupervised Classification

UiTM

Band Combinations: 1 ,2 ,3,4,5,6

The unsupervised image.

Unsupervised Classification

AliaKim.Co

,4,5,6(The Layer Stack Image)

AliaKim.Co

nsupervised Classification

33

Remote Sensing

Page 34: RS Lab 4 - Unsupervised Classification

UiTM

In the Attributes, after recolour. The information is seen like below.

Unsupervised Classification

AliaKim.Co

In the Attributes, after recolour. The information is seen like below.

AliaKim.Co

nsupervised Classification

34

Remote Sensing

Page 35: RS Lab 4 - Unsupervised Classification

AliaKim.Co

Unsupervised Classification

35

UiTM AliaKim.Co Remote Sensing

3.Comment on the output given by the different band combinations.

Band 1,2,3 respectively shows very unusual results. It mix all the features together forming an

uninterpretable features information. Next for the band 4,5,6 respectively shows such a familiar and

accurate features informations. For the band 1,2,3,4,5,6 respectively shows similar results as in

bands 4,5,6. Therefore it also can be consider to be accurate information.

4.Which band combinations give a reliable result?

The band combinations that give a reliable result are band 4,5,6 and 1,2,3,4,5,6. This is because both

of the band combinations shows an accurate presentations of features. Therefore they are both can

be use for further interpretation process.

References

1.http://www.cnbc.cmu.edu/cplab/papers/Lee-Lewicki-IEEE-TIP-02.pdf

2. http://web.pdx.edu/~emch/rs/EX11rs.html

Page 36: RS Lab 4 - Unsupervised Classification

AliaKim.Co

Unsupervised Classification

36

UiTM AliaKim.Co Remote Sensing

DEPARTMENT OF SURVEYING SCIENCE AND GEOMATICS

FACULTY OF ARCHITECTURE, PLANNING AND SURVEYING

MARA UNIVERSITY OF TECHNOLOGY

BACHELOR OF SURVEYING SCIENCE AND GEOMATICS

(AP 220)

SUG 556

LAB 4 – UNSUPERVISED CLASSIFICATION

7th

December 2011

Prepared by:

ABDUL HAKIM BIN SALLEH 2009356379

Prepared for:

PROF.MADYA ABDUL MALEK BIN MOHD NOOR


Recommended