41 int resolution_meters,
54 if (som_x == NULL || som_y == NULL || block == NULL ||
55 line == NULL || sample == NULL)
69 for (i = 0; i < nelement; i++) {
70 status =
misrfor(som_x[i], som_y[i], &block[i], &line[i], &sample[i]);
int misr_init(const int nblock, const int nline, const int nsample, const float relOff[NOFFSET], const double ulc_coord[], const double lrc_coord[])
MTKt_status MtkSomXYToBlsAry(int path, int resolution_meters, int nelement, const double *som_x, const double *som_y, int *block, float *line, float *sample)
Convert array of SOM X, SOM Y to array of block, line, sample.
MISR Projection Parameters.
#define MTK_ERR_CODE_JUMP(code)
int misrfor(const double x, const double y, int *block, float *line, float *sample)
MTKt_status MtkPathToProjParam(int path, int resolution_meters, MTKt_MisrProjParam *pp)
Get projection parameters.
#define MTK_ERR_COND_JUMP(code)