Link to the UNESCO-IOC website
Link to the Bilko website
Earth from space
Annual sea surface temperature

2.2 Dealing with missing data

Designating a null value     The effect of applying stretches    

TUTORIAL

2. Histograms

to bottom of page next page

Images:

atsr199701.gif atsr199801.gif Description

Download images (195 K)

Useful information:

Image data: A grid of pixels

To create a useful histogram we need to prevent missing data (land and cloud pixels) from being included in the plot. This can be done by designating the value of 255 as a null value. You may remember that you have done this already, when you opened the HDF file in section 1.8.

Designating a null value

A null value is basically the numerical value (or range of values) assigned to data points where valid data do not exist. To set the null value in an image, you first need to open the Redisplay dialog. You may do this in different ways:

From the menu bar:
  - either click on Image, then Redisplay on the drop down menu,
  - or hold down the [ALT] key and type [I], then type [D].
Mouse shortcut:
  Right-click on the image and select Redisplay from the pop-up menu.

Activity / Question 1

a)

When the Redisplay dialog opens, what are the max and min values given as the Image Data Range and used in the Stretch Settings?

b)

Set the null value to == 255 (change the value first, then click the Null check box). What are the minimum and maximum values given as the Image Date Range and Stretch Settings now?

c)

Click Apply to accept the settings. How does this change the image?

d)

Open a new histogram document, again based on selecting the whole image { [CTRL+A] followed by [CTRL+N] accepting Histogram as the document choice.) What does the y-axis scaling differ between Histogram 2 and the first histogram you opened? Explain why.

The effect of 'Applying Stretches'

When you created the previous two histograms you made sure that the 'Apply Stretches' box on the 'New' dialog was unchecked. To see why this is important, create a third histogram based on the whole image, but this time make sure you check the Apply Stretches box before clicking OK to create the histogram.

Study Histograms 2 and 3 and use your observations to answer Question 2 below.

Answers:
(Resizable
pop-ups)

Answer 1

Answer 2

Back up to:
Q1  

 

Activity / Question 2

a)

What are the main differences between the histogram created with the 'Apply Stretches' box checked, and the histogram created earlier with the 'Apply Stretches' box unchecked?

b)

What is the reason for these differences?

c)

Which of these histograms would you chose to give you a mean pixel value that represents the true mean of the image data? Explain why.

Before you continue, close the two histograms that do not represent the underlying SST data correctly (cfr. your answer to to Question 2c).

to top of page next page

 
Next: Obtaining frequency information

  Link to ESA's Envisat website   Link to NOC's website