# Adding Imagery

{% hint style="warning" %}
​[Link ](https://nercacuk-my.sharepoint.com/:f:/g/personal/aliska_bas_ac_uk/EijY60HQIN1NugdrP92KYKkB-3Sk9-c8-tVB7Q3PKpig2w?e=M51Lrm)to download data for this section
{% endhint %}

### Optical medium-resolution imagery

Imagery is usually supplied by MAGIC as an RGB synthesis. Add a satellite image to the map and style it.

1. Drag image file `LC09_L1GT_220108_2024-04-07_BGRNIR.tif` into the project. This is a Landsat-9 medium-resolution image (30m/pixel), it has 4 spectral bands (1: Blue; 2: Green; 3: Red, 4: Near Infra Red) and 16-bit depth pixels.
2. Go to Image **Properties** and then to the **Symbology** tab. To create a true-color composite, set for Red Band 3, for Green - Band 2, and for Blue - Band 1. Click OK. In general, this creates an acceptable image representation.

<figure><img src="https://1859916809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MW-CoufgyGZ3iU5q9S1%2Fuploads%2FfxyXidlGv9MILiaRYV4h%2Fimage.png?alt=media&#x26;token=a25580fb-1769-43f8-93ca-bebfa7cc56d4" alt=""><figcaption><p>Image Symbology</p></figcaption></figure>

3. Zoom into Rothera Point, it may seem dark. For this case, use the following stretch method. Go to layer **Properties - Symbology**. Expand **Min/Max Value Settings** section. Change Statistics extent from **Whole Raster** to **Current** extent. \
   \
   ![](https://1859916809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MW-CoufgyGZ3iU5q9S1%2Fuploads%2Fvm3ifQHL2KMqArkPbq1B%2Fimage.png?alt=media\&token=0554e4e4-7a31-4627-94ee-c843f9b955a5)<img src="https://1859916809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MW-CoufgyGZ3iU5q9S1%2Fuploads%2FxmQhyPKQlJ0xz8oYt1lR%2Fimage.png?alt=media&#x26;token=653095d0-346a-4d1a-8576-96b4badbf669" alt="" data-size="original">

<details>

<summary>What has just happened?</summary>

An image could be represented as a [histogram ](https://en.wikipedia.org/wiki/Image_histogram)-  a graph showing distribution of pixels with different brightness within an image. Brightness is just a pixel value: low values correspond to dark pixels (rock, shadows, water), high values - to bright pixels (snow, clouds). &#x20;

<img src="https://1859916809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MW-CoufgyGZ3iU5q9S1%2Fuploads%2FgHhKgK7OLMwQrHWnO0zV%2Fimage.png?alt=media&#x26;token=7c94b33b-c726-4894-9414-fdd19c1f3783" alt="" data-size="original">

At the histogram of the Landsat image of Rothera first group of peaks (about 5000 - 6000) indicates water, and the second group (around 9000) - snow and clouds.

When new image added to map view, QGIS by default stretches the histogram between 2 and 98 percentiles of the histogram, cutting out the most bright and dark pixels. This usually works well with cloud/snow/water-free images. In this case, the default style leaves point of interest in darkness. But it is possible to recalculate the histogram just for the visible area and adjust the histogram to it.&#x20;

</details>

4. Some sensors have a Panchromatic band (of broad spectral range, usually from blue to yellow or red, band with higher resolution), which allows for enhancing image resolution and preserving original colors. To compare the original and enhanced (pan-sharped) images, add the file `LC09_L1GT_220108_2024-04-07_BGRNIR_PSH.tif` to the map. Apply the same symbology as in **step 3**. Compare the level of detail. \
   ![](https://1859916809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MW-CoufgyGZ3iU5q9S1%2Fuploads%2FkobdEgJpIPRvpLCH4c0L%2Fimage.png?alt=media\&token=a2490a92-dea7-418e-bf07-49b5970514d2)![](https://1859916809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MW-CoufgyGZ3iU5q9S1%2Fuploads%2FthI8x13Uv3vLPwA71Otx%2Fimage.png?alt=media\&token=d3e3b68c-ffe0-4ba2-83b7-3c99f457a9ea)

### Optical high-resolution imagery

5. Low- and medium resolution images are crucial for sea-ice, snow coverage assessment, and monitoring matters. But, for studying an area in more detail, high-resolution and very-high resolution data is needed. Add `WV2_2020-02-16_RGB.tif` image to the map view.

### SAR low-resolution imagery

6. Add `S1A_IW_GRDH_1SSH_20240409T082739_0494_S_1.8bit.jp2` image to map view. This is a Sentinel-1 image captured in HH-polarization 2 days after the Landsat image above. Snow-covered surfaces, dry soil, man-made objects, and thick ice usually look bright on SAR images, while water, thin ice, and wet soil - are much darker. SAR usually acquires images from a low angle, this creates shadows in mountain areas, as no signal back-scattered from them. You may also notice the Foreshortening and Layover effects.Compare this image with the more recent one `S1A_IW_GRDH_1SSH_20240807T082737_E354_S_1.8bit.jp2`.
