object based classification

30
Mirza Muhammad Waqar OBJECT BASED CLASSIFICATION 1 Contact: [email protected]

Upload: havily

Post on 24-Feb-2016

78 views

Category:

Documents


1 download

DESCRIPTION

object based classification. Contact: [email protected]. Mirza Muhammad Waqar. Source: http://usda-ars.nmsu.edu/PDF%20files/laliberteAerialPhotos.pdf. Why?. Per-pixel classification Only based on pixel value or spectral value Ignore spatial autocorrelation - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: object based classification

1

Mirza Muhammad Waqar

OBJECT BASED CLASSIFICATION

Contact: [email protected]

Page 2: object based classification

Source: http://usda-ars.nmsu.edu/PDF%20files/laliberteAerialPhotos.pdf

Page 3: object based classification

Why?

Per-pixel classification Only based on pixel value or spectral value Ignore spatial autocorrelation One-to-many (one pixel value similar to many

classes) Salt-and-pepper A crucial drawback of these per-pixel

classification methods is that while the information content of the imagery increases with spatial resolution, the accuracy of land use classification may decrease. This is due to increasing of the within class variability inherent in a more detailed, higher spatial resolution data.

Page 4: object based classification

Object-oriented classification

Use spatial autocorrelation (to grows homogeneous regions, or regions with specified amounts of heterogeneity)

Not only pixel values but also spatial measurements that characterizer the shape of the region

Divide image into segments or regions based on spectral and shape similarity or dissimilarity, i.e., from image pixel level to image object level.

Once training objects selected, some methods can be used to classify all objects into different training objects, such as nearest-neighbor, membership function (fuzzy classification logic), or knowledge-based approaches.

Classification process is rather fast because objects not individual pixels are assigned to specific classes.

Primarily used for high spatial resolution image classification

Page 5: object based classification

1. Image segmentation

Image segmentation is a partitioning of an image into constituent parts using image attributes such as pixel intensity, spectral values, and/or textural properties. Image segmentation produces an image representation in terms of edges and regions of various shapes and interrelationships.

Segmentation algorithms are based on region growing/merging, simulated annealing, boundary detection, probability-based image segmentation, fractal net evolution approach (FNEA), and more.

In region growing/merging, neighboring pixels or small segments that have similar spectral properties are assumed to belong to the same larger segment and are therefore merged

Page 6: object based classification

6

Page 7: object based classification

Software

http://www.ecognition.com/products

Page 8: object based classification

Criteria for segmentation

The scale parameter is an abstract value to determine the maximum possible change of heterogeneity caused by fusing several objects. The scale parameter is indirectly related to the size of the created objects. The heterogeneity at a given scale parameter is directly linearly

dependent on the object size. Homogeneous areas result in larger objects, and heterogeneous areas result in larger objects.

Small scale number results small objects, lager scale number results in larger objects. This refers to Multiresolution image segmentation.

Color is the pixel value; Shape includes compactness and smoothness which are two

geometric features that can be used as "evidence." Smoothness describes the similarity between the image object borders

and a perfect square. Compactness describes the "closeness" of pixels clustered in a object by

comparing it to a circle Pixel neighborhood function

Page 9: object based classification

Pixel neighborhood function One criteria used to segment a remotely sensed image into image objects is a pixel neighborhood function, which compares an image object being grown with adjacent pixels. The information is used to determine if the adjacent pixel should be merged with the existing image object or be part of a new image object. a) If a plane 4 neighborhood function is selected, then two image objects would be created because the pixels under investigation are not connected at their plane borders. b) Pixels and objects are defined as neighbors in a diagonal 8 neighborhood if they are connected at a plane border or a corner point.

Diagonal neighborhood mode only be used if the structure of interest are of a scale to the pixel size. Example of road extraction from coarse resolution image.

In all other case, plane neighborhood mode is appropriate choice

Should be decided before the first segmentation

Page 10: object based classification

Color and shape

These two criteria are used to create image objects (patches) of relatively homogeneous pixels in the remote sensing dataset using the general segmentation function (Sf):

where the user-defined weight for spectral color versus shape is 0 < wcolor < 1.

If the user wants to place greater emphasis on the spectral (color) characteristics in the creation of homogeneous objects (patches) in the dataset, then wcolor is weighted more heavily (e.g., wcolor = 0.8). Conversely, if the spatial characteristics of the dataset are believed to be more important in the creation of the homogeneous patches, then shape should be weighted more heavily.

shapecolorcolorcolorf hwhwS 1

Page 11: object based classification

So the color criterion is computed as the weighted mean of all changes in standard deviation for each band k of the m bands of remote sensing dataset. The standard deviation sk are weighted by the object sizes nob (i.e. the number of pixels) (Definiens, 2003):

where mg means merge (total pixels in all objects 1 and 2 here). 2

21

11

obkob

obkob

mgkmg

m

kkcolor nnnwh sss

Spectral (i.e., color) heterogeneity (h) of an image object is computed as the sum of the standard deviations of spectral values of each layer (sk) (i.e., band) multiplied by the weights for each layer (wk):

kk

m

k

wh s1

Usually equal weight for all bands except you know certain band is really important

Page 12: object based classification

nlcpt

blsmooth

2

22

1

11

ob

obob

ob

obob

mg

mgmgcpt n

lnnln

nl

nh

2

22

1

11

ob

obob

ob

obob

mg

mgmgsmooth b

lnbln

bl

nh

smoothcptcptcptshape hwhwh 1

compactness smoothness

n is number of pixel in the object, l is the perimeter,b is shortest possible border length of a box bounding the object Compactness weight makes it possible to separate objects that have quite different shapes but not necessarily a great deal of color contrast, such as clearcuts VS bare patches within forested areas.

Page 13: object based classification

Classification based on

Image Segmentation

Logictakes into account

spatial and spectral

characteristics

Jensen, 2005

Page 14: object based classification

2. classification

Classification of image objects Based on fuzzy systems Nearest-neighbor Membership function are used to

determine if an object belongs to a class or not. These membership functions are based on fuzzy logic. where an object can have a probability of

belonging to a class - with the probability being in the range 0 to 1 - where 0 is absolutely DOES NOT belong to the class, and 1 is absolutely DOES belong to the class.

Page 15: object based classification

Nearest Neighbor

based on sample objects within a defined feature space, the distance to each feature space or to each sample object is calculated for each image object

This allows a very simple, rapid yet powerful classification, in which individual image objects are marked as typical representatives of a class (=training areas), and then the rest of the scene is classified accordingly (“click and classify”). Therefore, digitization of training areas is not necessary anymore.

Page 16: object based classification
Page 17: object based classification

3. An example

Utah Colorado

Arizona New Mexico

Texas

Nuevo Leon

Durango

Zacatecas

Chihuahua Coahuila

Chihuahuan Desert

#JORNADA

I-25

Rio Grande

Las Cruces

Hwy 70

#

CDRRC

JER

San An dre s M

tns

Chihuahuan Desert Rangeland Research Center (CDRRC)

Northern part of Chihuahuan desert

Semidesert grassland Increase in shrubs, decrease in

grasslands Honey mesquite (Prosopis

glandulosa) main increaser 150 ha pasture

Jornada Experimental Range

Laliberte et al. 2004Remote Sensing of Env.

Page 18: object based classification
Page 19: object based classification

Workflow in eCognitionInput images

Multiresolution segmentation

Pixel level

Level 1

Level 2

Level 3

Image object hierarchy

Classification

Membership functions fuzzy logic

Training samples standard nearest neighbor

Classification based segmentation

Final merged classification

Feedback

Feedback

Creation of class hierarchy

Level 1

Level 2

Page 20: object based classification

membership functions

• Classification using only 1 membership function: 1) Mean value of objects - similar to thresholding Dark background classified as shrub• Classification using 3 membership functions:1) Mean value of objects2) Mean difference to neighbors3) Mean difference to super-object

Shrubs can be differentiated in dark as well as light backgrounds

Page 21: object based classification

Image object hierarchy with 3 segmentation levels

Original imageQuickbird panchromatic Level 2

scale 100

Level 3 scale 300

Level 1 scale 10

Page 22: object based classification

Level 1 classification: shrubs Level 2 classification

Page 23: object based classification

1940 1950 1960 1970 1980 1990 2000

% c

over

0

2

4

6

8

10

12

14

16

18

20

shrub grass

Fig. 6

Shrub/grass dynamics

Page 24: object based classification

Conclusions

From 1937-2003 Shrub increase 0.9% to 13.1% Grass decrease 18.5% to 1.9%

Vegetation dynamics related to precipitation patterns (1951-1956 drought), historical grazing pressures

Image analysis underestimated shrub and grass cover

87% of shrubs >2 m2 were detected

Page 25: object based classification

4. Combine image and other datasets for classification in eCognition

For example in urban area, combining the spectral image and elevation data (DEM), significant elevation info can be used to outline object’s shape

Page 26: object based classification

Source: http://www.definiens-imaging.com/documents/an/tsukuba.pdf

Page 27: object based classification

Roof surface materials

Source: http://www.definiens-imaging.com/documents/publications/lemp-urs2005.pdf

Page 28: object based classification

Incorrect classified is 4.6% (red)

Page 29: object based classification
Page 30: object based classification

Questions & Discussion