Академический Документы
Профессиональный Документы
Культура Документы
Date
16.03.2015
Authors: Matthias Held, Sebastian van der Linden, Benjamin Jakimow, Andreas
Rabe and Patrick Hostert
Copyright
Humboldt-Universitt zu Berlin, Geomatics Lab, 2015, www.hu-geomatics.de
Citation
Please cite this tutorial as: Held, M., van der Linden, S., Jakimow, B., Rabe, A.,
Hostert, P. (2015). EnMAP-Box Application Tutorial: imageSVM Classification,
Humboldt-Universitt zu Berlin, Germany.
Disclaimer
The authors of this tutorial accept no responsibility for errors or omissions in this
work and shall not be liable for any damage caused by these errors or omissions.
Contents
1
Introduction ......................................................................................... 4
Introduction
In this tutorial you will be made familiar with the basic workflow of an example
classification using imageSVM.
You will create your own reference data by adding spectra to an existing spectral
library. With it you are going to train the model and perform an accuracy
assessment.
Data Preparation
You will now collect new spectra for the classes built-up and impervious,
open the HyMAP_Berlin-A_Image in a new Image View.
In the Image View, open the context menu (right-click) > Link Image
Profile to Spectral View. Now the pixel profile is shown in the spectral view.
With Shift+LeftClick you can collect pixel profiles for the linked spectral
library.
So now collect 10 spectra for the class built-up, which means roofs of
houses in Berlin.
In the Profile List on the right side of the Spectral View, 10 new spectra
should appear on the bottom of the list, with the pixel positions in the profile
names.
In order to add these 10 spectra to the SOI named built-up, select them in
the profile list (with CTRL or Shift).
Now select the SOI built-up in the labelling tool by clicking on the respective
ID on the left side. The marked SOI will receive a star *.
Repeat this procedure for the class impervious, where you should search
for streets in the image.
You will now prepare your spectral library with the corresponding labels to use it
in a classifier. Therefore, you have to save the SOIs (labels) and the spectral
library which now contains 270 spectra (initial 250 + your 20 spectra).
For saving the SOIs, click on File > Export SOIs to Classification Image
For saving the spectral library, open the context menu in the spectral
view, then > Export Profiles to ENVI Speclib.
Now in the Filelist, the new speclib and the labels classification should
appear.
The Input Image is the speclib and the Reference Areas your
classification.
In your HTML browser a report will open with the chosen Model
Parameters and values for their averaged F1 measures with a
the
created
SVC
File,
name
it
The plot has a legend on the upper right indicating the values of lowest and
highest F1 accuracy. You will notice in the plot that lower values of g and
higher values of C lead to higher accuracy values. Therefore we will run the
parameterization again and change the grid search settings. Leave your
browser open for later comparison.
Define an Output path for the new SVC File, name it svcModel_Adv and
Accept.
Again click no in the opening dialog and have a look at the Model
Parameters and Performance Surface with its minimum and maximum value.
Start with the SVC Model that was created last, svcModel_Adv.svc.
Do these steps again for the first model svcModel_Def.svc and compare
the two results in your browser.
10