CR2RE Pipeline Reference Manual 1.6.10
Functions
hdrl_statistics

Compute statistics. More...

Functions

cpl_error_code hdrl_median (double xbuf[], cpl_size npt, cpl_size nfilt)
 compute median
 

Detailed Description

Compute statistics.

Function Documentation

◆ hdrl_median()

cpl_error_code hdrl_median ( double  xbuf[],
cpl_size  npt,
cpl_size  nfilt 
)

compute median

Parameters
xbufbuffer
nptnumber of points
nfiltsize of median filter
Returns
CPL_ERROR_NONE if all went well, CPL_ERROR_INCOMPATIBLE_INPUT if there isn't enough size.

Description: performs median filtering on array xbuf

Definition at line 51 of file hdrl_cat_statistics.c.

References sort_array_index().

Referenced by hdrl_extend().