|
CR2RE Pipeline Reference Manual 1.6.7
|
HDRL parameter controlling the interpolation method. More...
Functions | |
| hdrl_parameter * | hdrl_resample_parameter_create_renka (const int loop_distance, cpl_boolean use_errorweights, const double critical_radius) |
| Creates a resample renka hdrl parameter object. The algorithm uses a modified Shepard-like distance weighting function following Renka for the interpolation. | |
| hdrl_parameter * | hdrl_resample_parameter_create_linear (const int loop_distance, cpl_boolean use_errorweights) |
| Creates a resample linear hdrl parameter object. The algorithm uses a linear inverse distance weighting function for the interpolation. | |
| hdrl_parameter * | hdrl_resample_parameter_create_quadratic (const int loop_distance, cpl_boolean use_errorweights) |
| Creates a resample quadratic hdrl parameter object. The algorithm uses a quadratic inverse distance weighting function for the interpolation. | |
| hdrl_parameter * | hdrl_resample_parameter_create_nearest (void) |
| Creates a resample nearest neighbor hdrl parameter object. The algorithm does not use any weighting functions but the nearest neighbor inside a voxel for the "interpolation". If there is no nearest neighbor inside the voxel but only outside, the voxel is marked as bad. | |
| hdrl_parameter * | hdrl_resample_parameter_create_lanczos (const int loop_distance, cpl_boolean use_errorweights, const int kernel_size) |
| Creates a resample Lanczos hdrl parameter object. The algorithm uses a restricted SINC distance weighting function for the interpolation. | |
| hdrl_parameter * | hdrl_resample_parameter_create_drizzle (const int loop_distance, cpl_boolean use_errorweights, const double pix_frac_x, const double pix_frac_y, const double pix_frac_lambda) |
| Creates a resample drizzle hdrl parameter object. The algorithm uses a drizzle-like distance weighting function for the interpolation. | |
| cpl_error_code | hdrl_resample_parameter_method_verify (const hdrl_parameter *hp) |
| verify parameters have proper values | |
| int | hdrl_resample_parameter_method_check (const hdrl_parameter *self) |
| check method is of proper type | |
HDRL parameter controlling the interpolation method.
The parameter controlling the interpolation method is
depending on the interpolation method one would like to use.
| hdrl_parameter * hdrl_resample_parameter_create_drizzle | ( | const int | loop_distance, |
| cpl_boolean | use_errorweights, | ||
| const double | pix_frac_x, | ||
| const double | pix_frac_y, | ||
| const double | pix_frac_lambda | ||
| ) |
Creates a resample drizzle hdrl parameter object. The algorithm uses a drizzle-like distance weighting function for the interpolation.
| loop_distance | loop distance to take into account surrounding pixels when interpolating on the final grid [pixel] |
| use_errorweights | use additional weights based on 1/err^2 when interpolating [TRUE/FALSE] |
| pix_frac_x | pixfrac-scaled input pixel size in x direction [pixel] |
| pix_frac_y | pixfrac-scaled input pixel size in y direction [pixel] |
| pix_frac_lambda | pixfrac-scaled input pixel size in wavelength direction [pixel] |
Definition at line 3230 of file hdrl_resample.c.
References hdrl_resample_parameter_method_verify().
| hdrl_parameter * hdrl_resample_parameter_create_lanczos | ( | const int | loop_distance, |
| cpl_boolean | use_errorweights, | ||
| const int | kernel_size | ||
| ) |
Creates a resample Lanczos hdrl parameter object. The algorithm uses a restricted SINC distance weighting function for the interpolation.
| loop_distance | loop distance to take into account surrounding pixels when interpolating on the final grid [pixel] |
| use_errorweights | use additional weights based on 1/err^2 when interpolating [TRUE/FALSE] |
| kernel_size | kernel size of the sinc() function [pixel] |
Definition at line 3175 of file hdrl_resample.c.
References hdrl_resample_parameter_method_verify().
| hdrl_parameter * hdrl_resample_parameter_create_linear | ( | const int | loop_distance, |
| cpl_boolean | use_errorweights | ||
| ) |
Creates a resample linear hdrl parameter object. The algorithm uses a linear inverse distance weighting function for the interpolation.
| loop_distance | loop distance to take into account surrounding pixels when interpolating on the final grid [pixel] |
| use_errorweights | use additional weights based on 1/err^2 when interpolating [TRUE/FALSE] |
Definition at line 3037 of file hdrl_resample.c.
References hdrl_resample_parameter_method_verify().
| hdrl_parameter * hdrl_resample_parameter_create_nearest | ( | void | ) |
Creates a resample nearest neighbor hdrl parameter object. The algorithm does not use any weighting functions but the nearest neighbor inside a voxel for the "interpolation". If there is no nearest neighbor inside the voxel but only outside, the voxel is marked as bad.
Definition at line 3127 of file hdrl_resample.c.
References hdrl_resample_parameter_method_verify().
| hdrl_parameter * hdrl_resample_parameter_create_quadratic | ( | const int | loop_distance, |
| cpl_boolean | use_errorweights | ||
| ) |
Creates a resample quadratic hdrl parameter object. The algorithm uses a quadratic inverse distance weighting function for the interpolation.
| loop_distance | loop distance to take into account surrounding pixels when interpolating on the final grid [pixel] |
| use_errorweights | use additional weights based on 1/err^2 when interpolating [TRUE/FALSE] |
Definition at line 3085 of file hdrl_resample.c.
References hdrl_resample_parameter_method_verify().
| hdrl_parameter * hdrl_resample_parameter_create_renka | ( | const int | loop_distance, |
| cpl_boolean | use_errorweights, | ||
| const double | critical_radius | ||
| ) |
Creates a resample renka hdrl parameter object. The algorithm uses a modified Shepard-like distance weighting function following Renka for the interpolation.
| loop_distance | loop distance to take into account surrounding pixels when interpolating on the final grid [pixel] |
| use_errorweights | use additional weights based on 1/err^2 when interpolating [TRUE/FALSE] |
| critical_radius | critical radius beyond which the weight function returns 0 [pixel] |
Definition at line 2990 of file hdrl_resample.c.
References hdrl_resample_parameter_method_verify().
| int hdrl_resample_parameter_method_check | ( | const hdrl_parameter * | self | ) |
check method is of proper type
| self | hdrl_parameter |
Definition at line 3459 of file hdrl_resample.c.
Referenced by hdrl_resample_parameter_method_verify().
| cpl_error_code hdrl_resample_parameter_method_verify | ( | const hdrl_parameter * | hp | ) |
verify parameters have proper values
| hp | hdrl_parameter |
Definition at line 3358 of file hdrl_resample.c.
References hdrl_resample_parameter_method_check().
Referenced by hdrl_resample_compute(), hdrl_resample_parameter_create_drizzle(), hdrl_resample_parameter_create_lanczos(), hdrl_resample_parameter_create_linear(), hdrl_resample_parameter_create_nearest(), hdrl_resample_parameter_create_quadratic(), and hdrl_resample_parameter_create_renka().