MISR Toolkit
1.5.1
|
Go to the source code of this file.
Functions | |
MTKt_status | MtkSmoothData (const MTKt_DataBuffer *Data, const MTKt_DataBuffer *Valid_mask, int Width_line, int Width_sample, MTKt_DataBuffer *Data_smoothed) |
Smooth the given array with a boxcar average of the specified width. The algorithm is similar to the IDL smooth routine. Smoothed data is type float. More... | |
MTKt_status MtkSmoothData | ( | const MTKt_DataBuffer * | Data, |
const MTKt_DataBuffer * | Valid_mask, | ||
int | Width_line, | ||
int | Width_sample, | ||
MTKt_DataBuffer * | Data_smoothed | ||
) |
Smooth the given array with a boxcar average of the specified width. The algorithm is similar to the IDL smooth routine. Smoothed data is type float.
[in] | Data | Data. (float) |
[in] | Valid_mask | Mask inidicating where data is valid. (uint8) |
[in] | Width_line | Width of smoothing window along line dimension. Must be and odd number. |
[in] | Width_sample | Width of smoothing window along sample dimension. Must be an odd number. |
[out] | Data_smoothed | Smoothed data. (float) |
Definition at line 36 of file MtkSmoothData.c.