MISR Toolkit  1.5.1
Functions
MtkResampleRegressionCoeff.c File Reference
#include "MisrRegression.h"
#include "MisrReProject.h"
#include "MisrUtil.h"
#include <stdlib.h>
#include <math.h>

Go to the source code of this file.

Functions

MTKt_status MtkResampleRegressionCoeff (const MTKt_RegressionCoeff *Regression_coeff, const MTKt_MapInfo *Regression_coeff_map_info, const MTKt_MapInfo *Target_map_info, MTKt_RegressionCoeff *Regression_coeff_out)
 Resample regression coefficients at each pixel in the target map. Resampling is by cubic convolution. More...
 

Function Documentation

◆ MtkResampleRegressionCoeff()

MTKt_status MtkResampleRegressionCoeff ( const MTKt_RegressionCoeff Regression_coeff,
const MTKt_MapInfo Regression_coeff_map_info,
const MTKt_MapInfo Target_map_info,
MTKt_RegressionCoeff Regression_coeff_out 
)

Resample regression coefficients at each pixel in the target map. Resampling is by cubic convolution.

Returns
MTK_SUCCESS if successful.
Example:
In this example we use cubic convolution to resample regression_coeff with regression_coeff_map_info to target_map_info. Output is at regression_coeff_out.
status = MtkResampleRegressionCoeff(&regression_coeff, &regression_coeff_map_info, &target_map_info, &regression_coeff_out);
Note
MtkRegressionCoeffCalc() can be used to generate regression_coeff and regression_coeff_map_info from 2 data sets and masks.
Parameters
[in]Regression_coeffRegression coefficients.
[in]Regression_coeff_map_infoMap info for regression coefficients.
[in]Target_map_infoMap info for target grid.
[out]Regression_coeff_outRegression coefficients resampled to target grid.

Definition at line 38 of file MtkResampleRegressionCoeff.c.


MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53