Functions | |
cpl_bivector * | cpl_image_iqe (const cpl_image *in, int llx, int lly, int urx, int ury) |
Compute an image quality estimation for an object. |
#include "cpl_image_iqe.h"
cpl_bivector* cpl_image_iqe | ( | const cpl_image * | in, | |
int | llx, | |||
int | lly, | |||
int | urx, | |||
int | ury | |||
) |
Compute an image quality estimation for an object.
in | the input image | |
llx | ||
lly | the zone to analyse ((1, 1) for the first pixel) | |
urx | The zone must be at least 4 by 4 pixels | |
ury |
The returned object must be deallocated with cpl_bivector_delete(). It contains in the first vector the computed values, and in the second one, the associated errors. The computed values are:
The bad pixels map of the image is not taken into account. The input image must be of type float.
Possible _cpl_error_code_ set in this function: