Contrast

The Contrast operation is used to enhance the visual quality of the image represented by a raster file. The available methods in TerraLib are:

It is accessible through:

   Raster Processing > Contrast... (list of all raster layers will be available) 

This wizard consists of the following steps:

    Wizard Page 1 - Selection of the layer to apply the contrast (Layer Search)

  1. On the List of Layers select the raster layer to apply the contrast. 
  2. Optionally use Filter By Name field giving part of the layer name to help find the layer in the list.
  3. Press Next  to go to next step or Cancel to close the dialog. 

    Wizard Page 2 - Contrast parameters

  1. Select the Type of contrast to be used (Linear,  Histogram or Mean and Standard deviation).
  2. In Raster Bands check the desired bands and set the specific parameters which will varies depending on the contrast type chosen.  Double Click over the cell of each parameter to make the cell editable and then change the value and press enter:
    1. If  Linear, Square, Square Root or Log: set the new value for Minimum and/or Maximum,
    2. If Histogram Equalization: set the new value for  Maximum,
    3. If Mean and Standard Deviation: set the new value for Mean and/or Std Dev.
    4. If Decorrelation Enhancement: none extra parameters will be necessary.
  3. On the Preview  tab click on to have a preview of the contrast with the parameters informed.
  4. The Histogram tab presents the histogram to help in the contrast operation.
  5. Press Next to apply the contrast or Back to go to the previous wizard page.

    Wizard Page 3 - Output information

  1. Raster Info - First press and inform the folder where the resulting file will be saved.
  2. Name - inform the raster name.
  3. Extra Parameters - if there are some, see the details on how to inform then here.
  4. Press Finish to save the resulting contrasted raster or Back to go to the previous wizard page.
Hint: The contrasted image will be added as a new layer at the TerraView project.