Skip to content

Latest commit

 

History

History
60 lines (31 loc) · 4.16 KB

rgb_decomposition.md

File metadata and controls

60 lines (31 loc) · 4.16 KB

RGB Decomposition

RGB products generated with HyP3 use both co-pol (VV or HH) and cross-pol (VH or HV) backscatter values to generate a color image from SAR data. This approach facilitates visual interpretation by decomposing the signals into surface scattering with some volume scattering (red band), volume scattering (green band), and surface scattering with very low volume scattering (blue band).

The dual-pol SAR dataset first undergoes radiometric terrain correction (RTC) to adjust for the distortions present in the images due to the side-looking geometry of SAR data acquisition. The RTC images are output in power scale, and any pixels with values less than -48 dB are set to 0. The RGB values are calculated using a combination of the co-pol (CP) and cross-pol (XP) pixel values. The output RGB GeoTIFF is scaled so that the values for each band range from 1 to 255. Zero values are reserved for pixels with no data.

Interpreting the Images

Calm water generally has very low returns in all polarizations, and areas with very low backscatter will appear blue. Desert landscapes have a backscatter signature similar to that of water, however, so care should be taken in interpretation of the blue color based on the location.

The green band is determined by the magnitude of the cross-pol returns, which indicates the extent of volume scattering. One of the most common volume scatterers is vegetation, and areas with high cross-pol returns appear more green in the decomposition. There are other volume scatterers, such as glacial ice; areas where the volume to surface scattering ratio is larger than expected for vegetation will display in teal.

The red channel is used to indicate areas that are neither water nor vegetation. Urban areas and other locations with relatively low levels of volume scattering, but higher surface scatter returns than water, will appear more red in this decomposition.

Decomposition Calculations

Note that dual-pol image acquisition may provide either VV/VH returns or HH/HV returns, depending on the sensor mode. The same decomposition approach can be applied to either mode; use the co-pol (SCP) and cross-pol (SXP) pixel values available for the specific dataset. Calculations are applied on a pixel-by-pixel basis.

First, a spatial mask is generated using a threshold (k) applied to the SXP data so that pixels with values above the threshold are included in the red and green channel mask (MR) and those below the threshold are included in the blue band mask (MB). Threshold values typically range between -22 and -25 dB, and the default for HyP3 processing is -24 dB.

MB = SXP < k

MR = SXP >= k

Pixels with invalid crosspol data will also be masked out (MX):

MX = SXP > 0

In all three cases (MB, MR, MX), the mask pixels are assigned values of 1 for true and 0 for false.

The surface scattering (Ps) component of the data is calculated as follows:

Ps = SCP - 3 SXP

and is oppositely applied to the red and blue bands:

PR = Ps

PB = -Ps

Any negative PR or PB values should be set to zero.

The difference between the co- and cross-pol values (Sd) is calculated:

Sd = (SCP - SXP)

Any negative Sd values should be set to zero.

Finally, the spatial masks and specific scalars are applied to the intensity values to appropriately stretch the dynamic range of each band from 1 to 255:

z = 2 / 𝜋 MB arctan(Sd 0.5)

aR = 254 MX (2 MR (PR) 0.5 + z) + 1

aG = 254 MX (3 MR (SXP) 0.5 + 2z) + 1

aB = 254 MX (2 (PB) 0.5 + 5z) + 1

Any values greater than 255 in any of the bands (aR, aG, aB) are set to 255, then the aRGB bands are combined to generate an RGB image in 8-bit unsigned integer format.