Salve a tutti ecco il mio problema: mi chiamo Giacomo e sono un utente GRASS 6.4.3 ho una mappa raster con 8 classi.
I pixel possono assumere i valori 0 1 2 3 10 11 12 13 Vorrei applicare un filtro majority, quindi uso il comando r.neighbors, segnalando come neighborood operation la moda. Purtroppo però il prodotto è una mappa bianca, composta da una sola cella. Allego i risultati del comando metadati. Vi ringrazio infinitamente per l'aiuto +----------------------------------------------------------------------------+ | Layer: Union_NDFI_3bands@giacomo Date: Thu Apr 9 00:46:46 2015 | | Mapset: giacomo Login of Creator: giacomo | | Location: newLocation | | DataBase: /home/giacomo/Scrivania/Provagrass | | Title: ( Union_NDFI_3bands ) | | Timestamp: none | |----------------------------------------------------------------------------| | | | Type of Map: raster Number of Categories: 255 | | Data Type: FCELL | | Rows: 2770 | | Columns: 4451 | | Total Cells: 12329270 | | Projection: UTM (zone 32) | | N: 5052515.15356 S: 4969421.5807 Res: 29.99767973 | | E: 537531.86288 W: 404012.94579 Res: 29.99751002 | | Range of data: min = 0 max = 13 | | | | Data Description: | | generated by r.in.gdal | | | | Comments: | | r.in.gdal input="/home/giacomo/Scrivania/LANDSAT/NDFI_mask_Layers/Un\ | | ion_NDFI_3bands.tif" output="Union_NDFI_3bands" | | | +----------------------------------------------------------------------------+ (Thu Apr 9 00:58:13 2015) Comando terminato (0 sec) (Thu Apr 9 00:58:56 2015) r.info map=Union_NDFI_3bands_neigh@giacomo +----------------------------------------------------------------------------+ | Layer: Union_NDFI_3bands_neigh@giaco Date: Thu Apr 9 00:49:23 2015 | | Mapset: giacomo Login of Creator: giacomo | | Location: newLocation | | DataBase: /home/giacomo/Scrivania/Provagrass | | Title: 3x3 neighborhood: mode of Union_NDFI_3bands@giacomo ( Union_NDFI | | Timestamp: none | |----------------------------------------------------------------------------| | | | Type of Map: raster Number of Categories: 0 | | Data Type: FCELL | | Rows: 1 | | Columns: 1 | | Total Cells: 1 | | Projection: UTM (zone 32) | | N: 5.95615576 S: -24.04152398 Res: 29.99767974 | | E: 6.48086793 W: -23.51664208 Res: 29.99751001 | | Range of data: min = -nan max = -nan | | | | Data Description: | | generated by r.neighbors | | | | Comments: | | r.neighbors input="Union_NDFI_3bands@giacomo" output="Union_NDFI_3ba\ | | nds_neigh" method="mode" size=3 | | | +----------------------------------------------------------------------------+ (Thu Apr 9 00:58:56 2015) Comando terminato (0 sec)
_______________________________________________ GRASS-Italia mailing list GRASS-Italia@listserv.unipr.it http://listserv.unipr.it/mailman/listinfo/grass-italia