WxGUI Interactive Scatter Plot Tool

From GRASS-Wiki
Jump to: navigation, search

Note: This wxGUI extension is available only in GRASS 7.

This tool has been developed within Google Summer of Code 2013, see related wiki page for details.

Interactive Scatter Plot Tool is available in GRASS 7 from wxGUI Supervised Classification Tool Plots panel (see the screenshot image) or from mapwindow toolbar (Analyze map → Interactive Scatter Plot Tool).

The Tool Description

This image describes the tool controls layout:

Editing mode

If editing mode is activated (the green polygon tool in toolbar), the areas which were selected in the scatter plots are highlighted. In the image you can see this area for scatter plot of bands B_6 B_7 inside the ellipse. Opacity and color of the selected area can be set in settings. The area corresponds to the active class (in this case clouds). Selected areas are subset of areas, which belongs to the category.

In the editing mode it is possible to select certain area by the polygon, which can be created and edited by tools in editing toolbar. After polygon is created, we can include or exclude it into active category by clicking on the first (plus) respectively second (minus) tool in the editing toolbar. In mapwindow corresponding pixels are shown by the class raster representing selected areas in scatter plots. In this case we can see clouds class raster (blue), forest class raster (green) and water class raster (red).

Video tutorial

The tutorial shows quick classification of clouds, forest and water using this tool. Analyzed rasters are from landsat satellite. In analyzed imagery group there was included 8 bit bands 1-7 and first two rasters from i.pca module which was applied on the bands. There are open scatter plot for all landsat bands combinations (total 21) and one scatter plot showing the pca bands (the first one). Region was set to full resolution of the data which has 7221 rows and 8211 columns.