摘要
将栅格对象的像素值分类为具有特定值的组。
例如,分配 1 到 25 的图像值 1,分配 200 到 255 的图像值分 255。
语法
Remap (raster, {input_ranges}, {output_values}, {no_data_ranges}, {allow_unmatched}, {replacement_value})
参数 | 说明 | 数据类型 |
raster | The input raster. | Raster |
input_ranges | Input ranges are specified in pairs: from (inclusive) and to (exclusive). (默认值为 None) | Double |
output_values |
The output values of the corresponding input_ranges parameter value. (默认值为 None) | Double |
no_data_ranges |
NoData ranges are specified in pairs: from (inclusive) and to (exclusive). (默认值为 None) | Double |
allow_unmatched |
Missing values in the reclass table can retain their value or be remapped to NoData or to a replacement value.
(默认值为 True) | Boolean |
replacement_value | The value that will replace missing or unmatched values in the output when the allow_unmatched parameter is set to False. (默认值为 None) | Double |
数据类型 | 说明 |
Raster | 输出栅格。 |