#include "fl/convolve.h"Defines | |
| #define | addup(size) |
|
|
Value: { \
size * pixel = (size *) image.buffer; \
size * end = pixel + image.width * image.height; \
if (ignoreZeros) \
{ \
while (pixel < end) \
{ \
if (*pixel != 0) \
{ \
float t = *pixel - average; \
variance += t * t; \
count++; \
} \
pixel++; \
} \
} \
else \
{ \
while (pixel < end) \
{ \
float t = *pixel++ - average; \
variance += t * t; \
} \
count = image.width * image.height; \
} \
} |
1.2.18