ocssw
V2022
|
epr_band.h
Go to the documentation of this file.
84 int epr_read_band_measurement_data(EPR_SBandId* band_id, int offset_x, int offset_y, EPR_SRaster* raster);
117 void decode_line_uchar_1_of_1_to_float(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
118 void decode_line_ushort_1_of_1_to_float(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
119 void decode_line_short_1_of_1_to_float(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
120 void decode_line_short_1_of_2_to_float(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
121 void decode_line_short_2_of_2_to_float(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
122 void decode_line_char_1_of_1_to_float(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
123 void decode_line_uchar_1_of_1_to_uchar(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
124 void decode_line_uchar_1_of_2_to_uchar(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
125 void decode_line_uchar_2_of_2_to_uchar(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
126 void decode_line_ushort_1_of_1_to_ushort(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
127 void decode_line_uchar_1_of_2_to_float(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
128 void decode_line_uchar_2_of_2_to_float(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
129 void decode_line_uchar_2_to_f_to_float(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
130 void decode_line_uchar_3_to_i_to_uint(void* sourceArray, EPR_SBandId* band_id, int xo, int raster_width, int s_x, void* raster_buffer, int raster_pos);
145 void transform_array_short_to_float(void* sourceArray, EPR_SBandId* band_id, float* raster_buffer, epr_uint nel);
146 void transform_array_ushort_to_float(void* sourceArray, EPR_SBandId* band_id, float* raster_buffer, epr_uint nel);
147 void transform_array_int_to_float(void* sourceArray, EPR_SBandId* band_id, float* raster_buffer, epr_uint nel);
148 void transform_array_uint_to_float(void* sourceArray, EPR_SBandId* band_id, float* raster_buffer, epr_uint nel);
161 void mirror_uchar_array(epr_uchar* raster_buffer, epr_uint raster_width, epr_uint raster_height);
162 void mirror_ushort_array(epr_ushort* raster_buffer, epr_uint raster_width, epr_uint raster_height);
219 EPR_FLineDecoder select_line_decode_function(EPR_EDataTypeId band_daty, EPR_ESampleModel band_smod, EPR_EDataTypeId daty_id);
229 EPR_FArrayTransformer select_transform_array_function(EPR_EDataTypeId band_daty, EPR_EDataTypeId daty_id);
void decode_line_short_1_of_1_to_float(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1263
void decode_line_uchar_2_to_f_to_float(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1429
void transform_array_uint_to_float(void *sourceArray, EPR_SBandId *band_id, float *raster_buffer, epr_uint nel)
Definition: epr_band.c:1680
int epr_read_band_measurement_data(EPR_SBandId *band_id, int offset_x, int offset_y, EPR_SRaster *raster)
Definition: epr_band.c:689
void decode_line_uchar_1_of_2_to_uchar(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1371
void transform_array_short_to_float(void *sourceArray, EPR_SBandId *band_id, float *raster_buffer, epr_uint nel)
Definition: epr_band.c:1644
void transform_array_int_to_float(void *sourceArray, EPR_SBandId *band_id, float *raster_buffer, epr_uint nel)
Definition: epr_band.c:1668
void decode_line_ushort_1_of_1_to_ushort(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1410
float epr_interpolate2D(float wi, float wj, float x00, float x10, float x01, float x11)
Definition: epr_band.c:1639
EPR_SDatasetRef epr_get_ref_struct(EPR_SProductId *product_id, const char *str)
Definition: epr_band.c:383
EPR_ESampleModel epr_str_to_sample_offset(const char *str)
Definition: epr_band.c:448
void mirror_uchar_array(epr_uchar *raster_buffer, epr_uint raster_width, epr_uint raster_height)
Definition: epr_band.c:1707
void mirror_ushort_array(epr_ushort *raster_buffer, epr_uint raster_width, epr_uint raster_height)
Definition: epr_band.c:1722
void mirror_float_array(float *raster_buffer, epr_uint raster_width, epr_uint raster_height)
Definition: epr_band.c:1692
EPR_FLineDecoder select_line_decode_function(EPR_EDataTypeId band_daty, EPR_ESampleModel band_smod, EPR_EDataTypeId daty_id)
Definition: epr_band.c:1088
void decode_line_uchar_1_of_2_to_float(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1461
void mirror_uint_array(epr_uint *raster_buffer, epr_uint raster_width, epr_uint raster_height)
Definition: epr_band.c:1737
int epr_read_band_annotation_data(EPR_SBandId *band_id, int offset_x, int offset_y, EPR_SRaster *raster)
Definition: epr_band.c:820
float epr_get_scaling_factor(EPR_SProductId *product_id, const char *str)
Definition: epr_band.c:352
void decode_line_short_2_of_2_to_float(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1322
EPR_FArrayTransformer select_transform_array_function(EPR_EDataTypeId band_daty, EPR_EDataTypeId daty_id)
Definition: epr_band.c:1155
float epr_get_scaling_params(EPR_SProductId *product_id, const char *str)
Definition: epr_band.c:320
void decode_line_uchar_1_of_1_to_float(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1173
void decode_line_char_1_of_1_to_float(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1203
What value is used by your function when the data value is bad Default is BAD_FLT l2prod product_id[0]
Definition: HOWTO_Add_a_product.txt:102
void epr_zero_invalid_pixels(EPR_SRaster *raster, EPR_SRaster *bm_raster)
Definition: epr_band.c:1752
void(* EPR_FLineDecoder)(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.h:208
EPR_EScalingMethod epr_str_to_scaling_method(const char *str)
Definition: epr_band.c:429
void decode_tiepoint_band(float *sa_beg, float *sa_end, epr_uint samples_per_tie_pt, epr_uint num_elems, EPR_SBandId *band_id, int xo, float scan_offset_x, float y_mod, int raster_width, int s_x, float *raster_buffer, int raster_pos)
Definition: epr_band.c:1557
void decode_line_short_1_of_2_to_float(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1292
void decode_line_uchar_1_of_1_to_uchar(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1352
void decode_line_uchar_3_to_i_to_uint(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1521
void decode_line_uchar_2_of_2_to_uchar(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1391
void decode_line_ushort_1_of_1_to_float(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1233
void decode_line_uchar_2_of_2_to_float(void *sourceArray, EPR_SBandId *band_id, int xo, int raster_width, int s_x, void *raster_buffer, int raster_pos)
Definition: epr_band.c:1492
void(* EPR_FArrayTransformer)(void *sourceArray, EPR_SBandId *band_id, float *raster_buffer, epr_uint nel)
Definition: epr_band.h:221
EPR_SPtrArray * epr_create_band_ids(EPR_SProductId *product_id)
Definition: epr_band.c:43
void transform_array_ushort_to_float(void *sourceArray, EPR_SBandId *band_id, float *raster_buffer, epr_uint nel)
Definition: epr_band.c:1656