1
តិ
1. Subsetting (clipping) an image
2. Mosaicking images
3. Layer stacking
4. Band combinations
2
រ ត់រប
ូ ព (Subsetting or clipping an image)
Original image
Subsetted image
3
Clip Raster in QGIS
• Raster -> Extraction
Clip Raster by Extent
េ ជសេរសទំ
ហំែដលចង់ ត់េ យគូស polygon េ េលរបូ ព
េ ជស េរស layer ែដលេយង
ចង់ ត់ឲ នទំហំបុន
៉ layer េ ះ
Clip Raster by Mask Layer
Mask Layer គឺ shapefile ពំ បទល់តំបន់ែដលចង់ ត់
4
Clip Raster by
Mask Layer
Black area = 0
Clip Raster by
Mask Layer
Assign 0 to nodata
Clip Raster by
Extent
Clipping extent: Polygon ព៌ណ កហម
5
Mosaicking images
6
Mosaicking images in QGIS
េយង
ចេធ mosaic រូប ពេ យេ ប tool ងេ ម៖
• Raster -> Miscellaneous -> Merge
• Processing Toolbox -> SAGA -> Raster tools ->
Mosaicking
7
8
9
Bit depth of image/raster data
Bit depth (pixel depth)
ៃនភក
ី ែស៊ លកំណត់នូវចេ ះ
តៃមេលខែដលfile រូប ព
ចរក ទុក នេ យែផក
េលរប
ូ មន 2n (ែដល n គឺ
bit depth)។ ឧ ហរណ៍ រូប
ព 8-bit ច នតៃម
េលខខុសៗ ចំនន
ួ 256
(28) គឺ ប់ពី 0 ដល់ 255។
10
Layer stacking
• បេងត
ទន
ិ ន័យមួយ េចញពែី ប៊នេ ចន
។
11
Layer stacking in QGIS
• Raster -> Miscellaneous -> Build Virtual Raster
• រូប ព bands ង
ំ អស់ែដលយកមកេធ layer stacking តវ
នទំហំបន
ុ៉ នង
ិ នចំនួន pixel េស ។
• េ កុ ងលទផល លំ ប់ៃន bands គដ
ឺ ូច នង
ឹ េពលអក Add
ចូលកុ ង Input layers។
12
13
Band combinations/composites
• បេងត រូប ពពណ៌េចញពី bands ចំនួនបែី ដល ុង
នេធក
ចំេ មេបនែដល នេធ layer stack។
14
Band combination in QGIS
15
Landsat 8 bands
subset band 1 ដល់ 7 នង
ិ band 10
16
របេងត
រូប ពពណ៌ពី bands របស់ Landsat 8
(Band combinations for Landsat 8)
4 , 3, 2 - Natural Color Image េលខ1-7 គឺ េលខ
band។ េ េពលផ ំ
5, 4, 3 - Traditional Color Infrared (CIR) Image រូប ពពណ៌ តវ
ក់band េ ម
7, 6, 4 - False Color useful for visualizing urban environments លំ ប់ RGB។ ឧ.
ចំេ ះករណី
5, 6, 4 - False Color good for picking out land from water Natural Color
Image គ៖ ឺ
R = band 4
7, 5, 3 - False color image with good atmospheric penetration G = band 3
B = band 2
6, 5, 2 - False color for agriculture
7, 5, 2 - False color often used for visualizing forest fire burn scars
6, 3, 2 - False color for distinguishing differences in bare earth
5, 7, 1 - False color for vegetation and water
17
18
19
20
21
22
23
RGB = 752
False color often used for visualizing
forest fire burn scars
24
25
26