| 3 | |
| 4 | = KEYWORDS = |
| 5 | [https://grass.osgeo.org/grass73/manuals/imagery.html imagery], [https://grass.osgeo.org/grass73/manuals/topic_segmentation.html segmentation], |
| 6 | |
| 7 | = SYNOPSIS = |
| 8 | i.segment |
| 9 | |
| 10 | i.segment [-dwap] group=name output=name [band_suffix=name] threshold=value [radius=value] [hr=value] [method=string] [similarity=string] [minsize=value] [memory=value] [iterations=value] [seeds=name] [bounds=name] [goodness=name] [--overwrite] [--help] [--verbose] [--quiet] [--ui] |
| 11 | |
| 12 | = Flags: = |
| 13 | '''-d''' [[BR]] Use 8 neighbors (3x3 neighborhood) instead of the default 4 neighbors for each pixel |
| 14 | |
| 15 | '''-w''' [[BR]] Weighted input, do not perform the default scaling of input raster maps |
| 16 | |
| 17 | '''-a''' [[BR]] Use adaptive bandwidth for mean shift [[BR]] Range (spectral) bandwidth is adapted for each moving window |
| 18 | |
| 19 | '''-p''' [[BR]] Use progressive bandwidth for mean shift [[BR]] Spatial bandwidth is increased, range (spectral) bandwidth is decreased in each iteration |
| 20 | |
| 21 | '''--o''' [[BR]] Allow output files to overwrite existing files |
| 22 | |
| 23 | '''--h''' [[BR]] Print usage summary |
| 24 | |
| 25 | '''--v''' [[BR]] Verbose module output |
| 26 | |
| 27 | '''--q''' [[BR]] Quiet module output |
| 28 | |
| 29 | '''--qq''' [[BR]] Super quiet module output |
| 30 | |
| 31 | '''--ui''' [[BR]] Force launching GUI dialog |
| 32 | |
| 33 | = PARAMETERS = |
| 34 | '''group=name [required]''' |
| 35 | Name of input imagery or imagery group |
| 36 | '''output=name [required]''' |
| 37 | Name of output segmentation map |
| 38 | '''threshold=value [required]''' |
| 39 | Difference threshold between 0 and 1 |
| 40 | Threshold = 0 merges only identical segments; threshold = 1 merges all |
| 41 | '''band_suffix=name''' |
| 42 | Suffix for output bands with shifted mean value |
| 43 | '''radius=value''' |
| 44 | spatial bandwidth in number of cells |
| 45 | '''hr=value''' |
| 46 | range bandwidth in number of cells |
| 47 | '''method=string''' |
| 48 | Segmentation method |
| 49 | Options: region_growing, mean_shift, watershed |
| 50 | '''similarity=string''' |
| 51 | Similarity calculation method |
| 52 | Options: euclidean, manhattan |
| 53 | Default: euclidean |
| 54 | '''minsize=value''' |
| 55 | Minimum number of cells in a segment |
| 56 | The final step will merge small segments with their best neighbor |
| 57 | Options: 1-100000 |
| 58 | Default: 1 |
| 59 | '''memory=value''' |
| 60 | Memory in MB |
| 61 | Default: 300 |
| 62 | '''iterations=value''' |
| 63 | Maximum number of iterations during the mean shift process |
| 64 | '''seeds=name''' |
| 65 | Name for input raster map with starting seeds |
| 66 | '''bounds=name''' |
| 67 | Name of input bounding/constraining raster map |
| 68 | '''goodness=name''' |
| 69 | Name for output goodness of fit estimate map |
| 70 | '''--overwrite''' |
| 71 | Boolean if overtie the existing raster |
| 72 | '''--ui''' |
| 73 | run with the user interface mode |
| 74 | '''--help''' |
| 75 | |
| 76 | '''--verbose''' |
| 77 | |
| 78 | '''--quiet''' |
| 79 | |
| 80 | = DESCRIPTION = |