3.4.6.5. Reclasificación
Esta pestaña permite la reclasificación (i.e. asignando un código de Clase nuevo a los pixeles ráster). En particular, facilita la conversión desde los valores C ID a MC ID.
Esta herramienta admite “”salida ráster virtual””; si el nombre del archivo de salida termina con “”.vrt””, la salida se crea como ráster virtual compuesto por varios archivos “”.tif”” como el número de subprocesos de CPU definidos en :ref:”system_processing”; para rásteres grandes, esto puede acelerar el proceso.
Truco
Information about APIs of this tool in Remotior Sensus at this link .
3.4.6.5.1. Clasificación cruzada
Símbolo de la herramienta y nombre |
Descripción |
---|---|
selecciona un raster de clasificación (ya cargado en QGIS) |
|
refresca la lista de capas |
3.4.6.5.2. Valores
Símbolo de la herramienta y nombre |
Descripción |
---|---|
if checked, the reclassification table is filled according to the ROI & Signature list when Calculate unique values is clicked |
|
calculate unique values in the classification and fill the reclassification table |
|
calculate a new incremental value (e.g. 1, 2, 3, …) for every old value and fill the reclassification table |
|
add a row to the table |
|
remove highlighted rows from the table |
|
import rules from a text file .csv separated by comma having the
following structure |
|
export the reclassification table to a text file (.csv) that can be imported later |
The reclassification table is structured with the following fields.
Valor antiguo |
Valor Nuevo |
---|---|
value or expression defining old values to be reclassified |
integer value for the corresponding |
Old value
can be a value or an expressions defined using the variable name
raster
(custom names can be defined in Variable name for expressions ),
following Python operators (e.g.:
raster > 3
select all pixels having value > 3 ;(raster > 5) | (raster < 2)
select all pixels having value > 5 or < 2 ;(raster >= 2) & (raster <= 5)
select all pixel values between 2 and 5.
3.4.6.5.3. Simbología
Símbolo de la herramienta y nombre |
Descripción |
---|---|
|
3.4.6.5.4. Ejecutar
Símbolo de la herramienta y nombre |
Descripción |
---|---|
añadir está función al Script |
|
ejecutar esta función |