#include "fl/convolve.h"Defines | |
| #define | addup(size) |
|
|
Value: { \
size * pixel = (size *) image.buffer; \
size * end = pixel + image.width * image.height; \
while (pixel < end) \
{ \
if (*pixel <= ranges.back ()) \
{ \
for (int i = bins - 1; i >= 0; i--) \
{ \
if (*pixel >= ranges[i]) \
{ \
counts[i]++; \
break; \
} \
} \
} \
pixel++; \
} \
} |
1.2.18