Images quality estimator routines


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.

Detailed Description

Synopsis:
   #include "cpl_image_iqe.h"

Function Documentation

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.

Parameters:
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 
Returns:
a newly allocated cpl_bivector containing the results or NULL in error case.
This function makes internal use of the iqe() MIDAS function (called here cpl_iqe()) written by P. Grosbol. Refer to the MIDAS documentation for more details. This function has proven to give good results over the years when called from RTD. The goal is to provide the exact same functionality in CPL as the one provided in RTD. The code is simply copied from the MIDAS package, it is not maintained by the CPL team.

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:


Generated on Wed Mar 18 09:40:12 2009 for Common Pipeline Library Reference Manual by  doxygen 1.4.7