Difference between revisions of "User:Brettbechamp"
From CUOSGwiki
Jump to navigationJump to searchBrettbechamp (talk | contribs) |
Brettbechamp (talk | contribs) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[File:T1.jpg|Left]] [[File:T2.jpg|Center]] [[File:T3.jpg | Right]] |
||
− | |||
− | = Introduction and Purpose = |
||
− | |||
− | The analysis of multispectral imagery is useful for a detecting a wide range of geospatial patterns that would otherwise not show in visible spectrum imagery. The purpose of this tutorial will be to familiarize you with concepts related to landcover classification from on multispectral imagery, and to expose you to SAGA GIS; an open source application for geospatial analysis. |
||
− | |||
− | = Software = |
||
− | |||
− | To perform the tasks described below, you will need to dowload SAGA from [https://sourceforge.net/projects/saga-gis/ sourceforge.net] |
||
− | |||
− | === SAGA GUI interface=== |
||
− | |||
− | Here is the basic layout of SAGA GIS. Notice the multi-pained format. The project tree or temporary work space is in the top left. This where you'll find all of your project data as well as access SAGA's array of Geoprocessing tools. You can navigate between data view, map layer view, tools, and thumbnails using the tabs at the top of the temporary work space. Below that is the file tree. There is not a lot to be said about this area; It is where you can look up files and folders in order to add data. Beside the file tree is the Tool/layer properties window. This is where you will enter tool parameters, look up layer properties, analyse look up tables and set display parameters for you data. To the right, is the map view; fairly self explanatory. |
||
− | |||
− | [[File:SAGA GUI.JPG | Left | 800px]] |
||
− | |||
− | = Data = |
||
− | |||
− | The sample data used for the creation of this tutorial came from the Ontario SPOT Pansharpened Orthoimagery dataset. The dataset can be found on scholar's geoportal [http://geo2.scholarsportal.info/#r/details/_uri@=2870907016 Here]. |
||
− | The data is three band, false-colour composite imagery with bands NIR-R-G. This combination of spectral bands is often used for the study of vegetation due to the high NIR reflectance of foliage. The dataset was collected with the [https://en.wikipedia.org/wiki/SPOT_(satellite) SPOT] satellite between 2005 and 2010. The pixel size for this imagery is 20m and each scene covers a geographic area of 40km by 40km. |
||
− | |||
− | = Classification Workflow = |
||
− | |||
− | === Getting Started === |
||
− | |||
− | After you open SAGA, in order to view the data you must first select: |
||
− | File -> Open |
||
− | and navigate to the desired image |
||
− | |||
− | To display the image in the map view pane, right click on the image in the "Data" pane and select "add to map". The image will appear in the Map pane to the right of the screen. |
||
− | |||
− | [[File:Add to map.JPG | Left | 350px]] |
||
− | |||
− | === Clipping the Image === |
||
− | |||
− | The imagery as it comes from scholar's Geoportal, covers a very large area with a relatively high resolution and therefore, is a very large file (~150mb). In order to improve processing speed and ensure that SAGA does not crash during the classification process, we will first clip a more manageable subset from the larger image. To do this, first click on the "tools" tab at the top of the temporary work space. |
||
− | |||
− | [[File:Tools tab.JPG | Left |250px]] |
||
− | |||
− | Then Navigate to: |
||
− | Shapes -> Tools -> Create New Shapes Layer |
||
− | |||
− | In the properties window for the Create New Shapes Layer tool, enter a name for the shape, select the polygon option, and click "Execute". The other parameters are not important and can be left default in this case. |
||
− | |||
− | [[File:Create Shape.JPG | Left | 400px]] |
||
− | |||
− | Next, in the workspace pane, click the "Data" tab and double click on the newly created polygon layer. this will bring up the "Add Selected Layers to Map " dialogue box will appear. Add the layer to the map created for the original image. |
||
− | |||
− | [[File:AddPolygonsToMap.JPG | Left|250px]] |
||
− | |||
− | Now right click on the polygon layer in the "Data" pane. Select: |
||
− | Edit -> Add Shape |
||
− | |||
− | [[File:AddShape.JPG | Left |300px ]] |
||
− | |||
− | Select Action [[File:Action.JPG |30px | Frameless ]] and use the mouse to select vertices for the new shape in the map pane. I selected the top left quarter of the image but any subset will serve the same purpose. When you have finished creating the shape, right click toggle off "Edit Selected Shape". |
||
− | |||
− | [[File:EditSelectionOff.JPG |350px | Left ]] |
||
− | |||
− | The save changes prompt will appear, click "Yes" |
||
− | |||
− | [[File:SaveEdit.JPG | Left | 300px]] |
||
− | |||
− | Now that we have a polygon representing the area we want to clip, in the "Tools" tab of the workspace pane, navigate to: |
||
− | Shapes -> Grid Tools -> Clip Grid With Polygon |
||
− | |||
− | In the tool properties pane, select the original image as the input and the clip layer as the polygons. You will want the target extent to be set to polygons in order to clip the image with the shape instead of the other way around. When done, click "Execute". |
||
− | |||
− | [[File:ClipGridWithPolygon.JPG | Left| 400px]] |
||
− | |||
− | In the "Data" tab you will now have three new grids representing each band of the newly cropped image. Feel free to right click on the original image as well as the clip layer and hit "Close" to delete them and keep your workspace clean. |
||
− | |||
− | === Viewing an RGB Composite from Individual Bands === |
||
− | Now that you have three raster grids representing each band of the original image (NIR-R-G), if you add them to the map pane, you'll notice they are only displayed individually. To view them combined as in the original image, |
||
− | |||
− | === Improving Contrast === |
||
− | |||
− | === Noise Reduction === |
||
− | |||
− | === Unsupervised Classification === |