Consider the three input raster images given below. A geospatial analyst decided to use the overlay operation to generate a new raster showing the average values. The values of the cells P, Q, and R in the output raster are:
Input raster
5 | 2 | 3 |
1 | 2 | 2 |
3 | 1 | 1 |
→
1 | 3 | 2 |
4 | 7 | 5 |
1 | 1 | 1 |
→
3 | 4 | 1 |
4 | 3 | 2 |
2 | 1 | 1 |
Output raster
P | Q | R |
- | - | - |
- | - | - |
To compute the value at each cell in the output raster using the average overlay operation, we take the corresponding cell values from each of the three input rasters and compute their average. Let us compute:
- \( P \): Top-left cell of the raster. \[ P = \frac{5 + 1 + 3}{3} = \frac{9}{3} = 3 \] - \( Q \): Top-middle cell of the raster. \[ Q = \frac{2 + 3 + 4}{3} = \frac{9}{3} = 3 \] - \( R \): Top-right cell of the raster. \[ R = \frac{3 + 2 + 1}{3} = \frac{6}{3} = 2 \] Hence, the output values are: \( P = 3, Q = 3, R = 2 \)
Find the best match between column I and column II for the following scenario related to spatial operators.
The error matrix resulting from randomly selected test pixels for a classified image is given below.
The Producer’s accuracy of class 1 is % (rounded off to 1 decimal place).
Reference Data | |||||
---|---|---|---|---|---|
Class 1 | Class 2 | Class 3 | Class 4 | ||
Classified Data | Class 1 | 320 | 8 | 7 | 3 |
Class 2 | 12 | 270 | 6 | 2 | |
Class 3 | 9 | 6 | 410 | 5 | |
Class 4 | 14 | 2 | 3 | 350 |
The brightness values of four pixels in the input image are shown in the table below. The image is rectified using nearest neighbor intensity interpolation, and the pixel at location (5, 4) in the output image is to be filled with the value from coordinate (5.3, 3.7) in the input image. The brightness value of the pixel at location (5, 4) in the rectified output image is 11. (Answer in integer)
Location of pixels in input image (Row, Column) | Brightness Value |
---|---|
(5, 3) | 9 |
(5, 4) | 11 |
(6, 3) | 14 |
(6, 4) | 12 |
The hue, intensity and saturation values for a pixel are \( H = 0.5 \, {rad} \), \( S = 0.5 \), and \( I = 0.3 \), respectively. If the pixel is converted to RGB color model, then the value of the green pixel would be __________ (rounded off to 2 decimal places).