38
1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: [email protected] www.geog.ucl.ac.uk/~mdisney

1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: [email protected]

Embed Size (px)

Citation preview

Page 1: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

1

Remote Sensing and Image Processing: 2

Dr. Mathias (Mat) Disney

UCL Geography

Office: 301, 3rd Floor, Chandler House

Tel: 7670 4290

Email: [email protected]

www.geog.ucl.ac.uk/~mdisney

Page 2: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

2

Image processing: image display and enhancement

Purpose• visual enhancement to aid interpretation • enhancement for improvement of information

extraction techniques • Today we will look at image display and

histogram manipulation (contrast ehancement etc.)

Page 3: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

3

Image Display

• The quality of image display depends on the quality of the display device used– and the way it is set up / used …

• computer screen - RGB colour guns– e.g. 24 bit screen (16777216)

• 8 bits/colour (28)

• or address differently

Page 4: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

4

Colour Composites‘Real Colour’ compositered band on red

green band on green

blue band on blue

Swanley, Landsat TM

1988

Page 5: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

5

Colour Composites‘Real Colour’ compositered band on red

Page 6: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

6

Colour Composites‘Real Colour’ compositered band on red

green band on green

Page 7: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

7

Colour Composites‘Real Colour’ compositered band on red

green band on green

blue band on blue

approximation to ‘real colour’...

Page 8: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

8

Colour Composites‘False Colour’ compositeNIR band on red

red band on green

green band on blue

Page 9: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

9

Colour Composites‘False Colour’ compositeNIR band on red

red band on green

green band on blue

Page 10: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

10

Colour Composites‘False Colour’ composite• many channel data, much not comparable to RGB (visible)

– e.g. Multi-temporal data

– AVHRR MVC 1995

April

August

September

April; August; September

Page 11: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

11

Greyscale DisplayPut same information on R,G,B:

August 1995

August 1995

August 1995

Page 12: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

12

Density Slicing

Page 13: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

13

Density Slicing

Page 14: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

14

Density SlicingDon’t always want to use full

dynamic range of display

Density slicing:

• a crude form of classification

Page 15: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

15

Density SlicingOr use single cutoff

= Thresholding

Page 16: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

16

Density SlicingOr use single cutoff with

grey level after that point

‘Semi-Thresholding’

Page 17: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

17

Pseudocolour• use colour to enhance

features in a single band – each DN assigned a

different 'colour' in the image display

Page 18: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

18

Pseudocolour

• Or combine with density slicing / thresholding

Page 19: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

19

Histogram Manipluation

• WHAT IS A HISTOGRAM?

Page 20: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

20

Histogram Manipluation

• WHAT IS A HISTOGRAM?

Page 21: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

21

Histogram Manipluation

• WHAT IS A HISTOGRAM?

Frequency of occurrence (of specific DN)

Page 22: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

22

Histogram Manipluation

• Analysis of histogram – information on the dynamic range and

distribution of DN• attempts at visual enhancement

• also useful for analysis, e.g. when a multimodal distibution is observed

Page 23: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

23

Histogram Manipluation

• Analysis of histogram – information on the dynamic range and

distribution of DN• attempts at visual enhancement

• also useful for analysis, e.g. when a multimodal distibution is observed

Page 24: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

24

Histogram ManipluationTypical histogram manipulation algorithms:

Linear Transformation

input

outp

ut

0 255

255

0

Page 25: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

25

Histogram ManipluationTypical histogram manipulation algorithms:

Linear Transformation

input

outp

ut

0 255

255

0

Page 26: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

26

Histogram ManipluationTypical histogram manipulation algorithms:

Linear Transformation

• Can automatically scale between upper and lower limits•or apply manual limits

•or apply piecewise operator

But automatic not always useful ...

Page 27: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

27

Histogram ManipluationTypical histogram manipulation algorithms:

Histogram EqualisationAttempt is made to ‘equalise’ the frequency distribution across the full DN range

Page 28: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

28

Histogram ManipluationTypical histogram manipulation algorithms:

Histogram Equalisation

Attempt to split the histogram into ‘equal areas’

Page 29: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

29

Histogram ManipluationTypical histogram manipulation algorithms:

Histogram Equalisation

Resultant histogram uses DN range in proportion to frequency of occurrence

Page 30: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

30

Histogram ManipluationTypical histogram manipulation algorithms:

Histogram Equalisation

• Useful ‘automatic’ operation, attempting to produce ‘flat’ histogram

• Doesn’t suffer from ‘tail’ problems of linear transformation

• Like all these transforms, not always successful

• Histogram Normalisation is similar idea

• Attempts to produce ‘normal’ distribution in output histogram

• both useful when a distribution is very skewed or multimodal skewed

Page 31: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

31

Colour Spaces• Define ‘colour space’ in terms of RGB

• Only for visible part of spectrum:

Page 32: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

32

Colour Spaces• RGB axes:

Page 33: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

33

Colour Spaces• RGB (primaries) as axes

Page 34: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

34

Colour Spaces• Alternative: CMYK ‘subtractive primaries’

• often used for printing (& some TV)

Page 35: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

35

Colour Spaces• Alternative: CMYK ‘subtractive primaries’

Page 36: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

36

Colour Spaces• Other important concept: HSI transforms

• Hue (which shade of color)

• Saturation (how much color)

• Intensity

• also, HSV (value), HSL (lightness)

Page 37: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

37

Colour Spaces• Other important concept: HSI transforms

Page 38: 1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel: 7670 4290 Email: mdisney@geog.ucl.ac.uk

38

Practical 1

• Histogram manipulation – Contrast stretching and histogram equalisation

• visual (qualitative) enhancement of images according to brightness

• Highlight clouds / sea / land in AVHRR image of UK

• Multispectral information – Different DN (digital number) values in different

bands– Due to different properties of surfaces