![]() |
Image Quality Assessment (IQA) 1.1.2
A fast, accurate, and reliable C library for measuring image quality.
|
Go to the source code of this file.
Functions | |
| int | _iqa_decimate (float *img, int w, int h, int factor, const struct _kernel *k, float *result, int *rw, int *rh) |
| Downsamples (decimates) an image. | |
| int _iqa_decimate | ( | float * | img, |
| int | w, | ||
| int | h, | ||
| int | factor, | ||
| const struct _kernel * | k, | ||
| float * | result, | ||
| int * | rw, | ||
| int * | rh | ||
| ) |
Downsamples (decimates) an image.
| img | Image to modify |
| w | Image width |
| h | Image height |
| factor | Decimation factor |
| k | The kernel to apply (e.g. low-pass filter). Can be 0. |
| result | Buffer to hold the resulting image (w/factor*h/factor). If 0, the result will be written to the original image buffer. |
| rw | Optional. The width of the resulting image will be stored here. |
| rh | Optional. The height of the resulting image will be stored here. |
Definition at line 37 of file decimate.c.