MISR Toolkit
1.5.1
|
Go to the source code of this file.
Functions | |
MTKt_status | MtkDownsample (const MTKt_DataBuffer *Source, const MTKt_DataBuffer *Source_mask, int Size_factor, MTKt_DataBuffer *Result, MTKt_DataBuffer *Result_mask) |
Downsample data by averaging pixels. More... | |
MTKt_status MtkDownsample | ( | const MTKt_DataBuffer * | Source, |
const MTKt_DataBuffer * | Source_mask, | ||
int | Size_factor, | ||
MTKt_DataBuffer * | Result, | ||
MTKt_DataBuffer * | Result_mask | ||
) |
Downsample data by averaging pixels.
[in] | Source | Source data. (float) |
[in] | Source_mask | Valid mask for source data. (uint8) |
[in] | Size_factor | Number of pixels to aggregate along each dimension. |
[out] | Result | Downsampled result. (float) |
[out] | Result_mask | Valid mask for result. (uint8) |
Definition at line 36 of file MtkDownsample.c.