604
社区成员
发帖
与我相关
我的任务
分享
typedef struct
{
//偏移量
double dfLINE_OFF;
double dfSAMP_OFF;
double dfLAT_OFF;
double dfLONG_OFF;
double dfHEIGHT_OFF;
//缩放比例
double dfLINE_SCALE;
double dfSAMP_SCALE;
double dfLAT_SCALE;
double dfLONG_SCALE;
double dfHEIGHT_SCALE;
//系数
double adfLINE_NUM_COEFF[20];
double adfLINE_DEN_COEFF[20];
double adfSAMP_NUM_COEFF[20];
double adfSAMP_DEN_COEFF[20];
//最大最小经纬度范围
double dfMIN_LONG;
double dfMIN_LAT;
double dfMAX_LONG;
double dfMAX_LAT;
} stRPCInfo;
status = clSetKernelArg(ckKernel,0,sizeof(stRPCInfo),&stInfo);
__kernel void RPCWarpKernel(
struct stRPCInfo RpcInfo,
__global double *dbGeoTrans,
__global unsigned short* poDataIn,
int nWidthIn,
int nHeightIn,
int nMinRowIn,
int nSrcHeight,
__global unsigned short* poDataOut,
int nWidthOut,
int nHeightOut,
int nMinRowOut,
int nBandCount)