サマリー
Creates a raster object by removing speckle and smoothing out noise in radar datasets, while retaining edges and sharp features in the image.
説明
For more information about how this function works, see the Speckle raster function.
The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.
構文
Speckle (raster, {filter_type}, {filter_size}, {noise_model}, {noise_var}, {additive_noise_mean}, {multiplicative_noise_mean}, {nlooks}, {damp_factor})
パラメーター | 説明 | データ タイプ |
raster | The input raster. | Raster |
filter_type | Specifies the filter type that will be used in the smoothing algorithm to remove speckle noise.
(デフォルト値は次のとおりです Lee) | String |
filter_size | Specifies the size of the filter window in pixels.
(デフォルト値は次のとおりです 3x3) | String |
noise_model | Specifies the type of noise that is reducing the quality of the radar image. This argument is only valid when the filter_type argument is set to Lee.
(デフォルト値は次のとおりです Multiplicative) | String |
noise_var | The noise variance of the radar image. This argument is only valid when the filter_type argument is set to Lee and the noise_model argument is set to Additive or AdditiveAndMultiplicative. (デフォルト値は次のとおりです None) | Double |
additive_noise_mean | The mean value of additive noise. A larger noise mean value will produce less smoothing, while a smaller value results in more smoothing. This argument is only valid when the filter_type argument is set to Lee and the noise_model argument is set to Additive or AdditiveAndMultiplicative. (デフォルト値は次のとおりです None) | Double |
multiplicative_noise_mean | The mean value of multiplicative noise. A larger noise mean value will produce less smoothing, while a smaller value results in more smoothing. This argument is only valid when the filter_type argument is set to Lee and the noise_model argument is set to Multiplicative or AdditiveAndMultiplicative. (デフォルト値は次のとおりです 1) | Double |
nlooks | The number of looks of the image, which controls image smoothing and estimates noise variance. A smaller value results in more smoothing, while a larger value retains more image features. This argument is only valid when the filter_type argument is set to Lee and the noise_model argument is set to Multiplicative, or when the filter_type argument is set to Kuan. (デフォルト値は次のとおりです 1) | Integer |
damp_factor | The extent of exponential damping effect on filtering. A larger damping value preserves edges better but smooths less, while a smaller value produces more smoothing. This parameter is only valid when the filter_type argument is set to EnhancedLee or Frost. (デフォルト値は次のとおりです None) | Double |
データ タイプ | 説明 |
Raster | The output raster. |
コードのサンプル
Applies the Lee filter to Sentinel 1 radar imagery.
import arcpy
out_speckle_raster = arcpy.sa.Speckle("Sentinel_1.tif", filter_type="Lee", filter_size="3x3",
noise_model="AdditiveAndMultiplicative", noise_var=0.25,
additive_noise_mean=0, multiplicative_noise_mean=1)