site/0.6/lib/ccv-resample/index.html
void ccv_resample(ccv_dense_matrix_t* a, ccv_dense_matrix_t** b, int btype, int rows, int cols, int type)
Resample a given matrix to different size, as for now, ccv only supports either downsampling (with CCV_INTER_AREA) or upsampling (with CCV_INTER_CUBIC).
void ccv_sample_down(ccv_dense_matrix_t* a, ccv_dense_matrix_t** b, int type, int src_x, int src_y)
Downsample a given matrix to exactly half size with a Gaussian filter. The half size is approximated by floor(rows * 0.5) x floor(cols * 0.5).
void ccv_sample_up(ccv_dense_matrix_t* a, ccv_dense_matrix_t** b, int type, int src_x, int src_y)
Upsample a given matrix to exactly double size with a Gaussian filter.