im::PixelSum< T > Struct Template Reference

A struct for computing the sum of pixels in an image. More...

#include <im.hh>

List of all members.

Public Member Functions

 PixelSum (const CImg< T > &img)
 Initialize the summer with a reference to an image.
void operator() (int x, int y)
 Process a pixel by summing.

Public Attributes

const CImg< T > & img
 The image from which the pixel values are fetched.
sum
 The sum of the pixels.
int count
 The number of pixels summed.


Detailed Description

template<typename T>
struct im::PixelSum< T >

A struct for computing the sum of pixels in an image.


The documentation for this struct was generated from the following file:
Generated on Tue Apr 8 09:58:19 2008 for GoCam by  doxygen 1.4.6