Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

IntensityHistogram.cc File Reference

#include "fl/convolve.h"

Defines

#define addup(size)

Define Documentation

#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++; \
        } \
  }


Generated on Thu Dec 9 17:13:25 2004 for fl by doxygen1.2.18