13
1 By Anna Zaidman Road detection via entropy 1

1 By Anna Zaidman Road detection via entropy 1. What is entropy? Entropy is a mathematically - defined thermodynamic quantity that helps to account for

Embed Size (px)

DESCRIPTION

What is entropy? As a mathematical function, entropy is used to measure the level of “disorder” within a certain sample of values, a certain entropy value is assigned to a pixel by measuring entropy of a sample of pixel values present in a given “window” around that pixel. Smooth and visually “uniform” parts of the image thus have low or very low entropy (no matter what are the real pixel values - “color”), while areas with higher diversity of pixel values, especially with sudden shifts in image color – gain higher entropy values.

Citation preview

Page 1: 1 By Anna Zaidman Road detection via entropy 1. What is entropy? Entropy is a mathematically - defined thermodynamic quantity that helps to account for

1

By Anna Zaidman

Road detection via entropy

1

Page 2: 1 By Anna Zaidman Road detection via entropy 1. What is entropy? Entropy is a mathematically - defined thermodynamic quantity that helps to account for

What is entropy?Entropy is a mathematically - defined thermodynamic quantity that helps to account for the flow of energy through a thermodynamic process.

2

Page 3: 1 By Anna Zaidman Road detection via entropy 1. What is entropy? Entropy is a mathematically - defined thermodynamic quantity that helps to account for

What is entropy?As a mathematical function, entropy is used to measure the level of “disorder” within a certain sample of values, a certain entropy value is assigned to a pixel by measuring entropy of a sample of pixel values present in a given “window” around that pixel.

Smooth and visually “uniform” parts of the image thus have low or very low entropy (no matter what are the real pixel values - “color”), while areas with higher diversity of pixel values, especially with sudden shifts in image color – gain higher entropy values.

Page 4: 1 By Anna Zaidman Road detection via entropy 1. What is entropy? Entropy is a mathematically - defined thermodynamic quantity that helps to account for

What is entropy?If we assume that the road to follow has a consistent

color or texture ,we can state that the neighborhoods of pixels

forming that road have lower diversification than a neighborhood of pixels forming people, trees ,cars, traffic signs, and so on ,which might be composed of different levels

of illumination, textures, patterns and edges .Lack of diversity means also, lack of information ,when the opposite implies lot of information.

4

Page 5: 1 By Anna Zaidman Road detection via entropy 1. What is entropy? Entropy is a mathematically - defined thermodynamic quantity that helps to account for

My goal is to detect a drivable road using an adaptive entropy filter.

Page 6: 1 By Anna Zaidman Road detection via entropy 1. What is entropy? Entropy is a mathematically - defined thermodynamic quantity that helps to account for

How to create an entropy filter? Let's define the entropy H of an image I, as the amount of information

that exists over a statistically distributed set of pixels 𝑔, over a window w, where for each grayscale level i its probability of appearance is , as shown in equation (1).

The probability of a graylevel i is calculated according to the histogram of the image as shown in equation (2).

(1) (2 ) Thus , an entropy filter consists of calculating the entropy over all the pixels in the image, using a predefined mask of neighborhood.

6

Page 10: 1 By Anna Zaidman Road detection via entropy 1. What is entropy? Entropy is a mathematically - defined thermodynamic quantity that helps to account for

Implementation

10

Page 11: 1 By Anna Zaidman Road detection via entropy 1. What is entropy? Entropy is a mathematically - defined thermodynamic quantity that helps to account for

ConclusionsThe entropy filter turned out to be a robust technique to perform segmentation and Clustering.

A setback is the implementation of this method in real time.Due to the nature of the entropy filter, the computational load is very expensive.

11

Page 12: 1 By Anna Zaidman Road detection via entropy 1. What is entropy? Entropy is a mathematically - defined thermodynamic quantity that helps to account for

How can we resolve it?

12

1. In order to improve performance , look-up-tables with a priori data could be used to compute the entropy itself.

2. Use other filters with similar results but faster computing.