#include <LightingChangeTester.h>
Collaboration diagram for LightingChangeTester:
Public Member Functions | |
LightingChangeTester () | |
Constructor. | |
~LightingChangeTester () | |
Destructor. | |
void | init () |
void | startImage () |
void | addColor (int channel1, int channel2, int channel3) |
bool | lightingHasChanged () |
Private Attributes | |
int | numberOfImages |
int | numberOfMeasurementsInImage |
int | accumulatedValueInImage [3] |
RingBufferWithSum< 10 > | valuesOfLastImages [3] |
To know this can be important for a color calibration system. The calibration system has to extract green pixels from the image. Each such pixel must be added using the method addColor. If a new image is processed startImage has to be called. The method lightingHasChanged returns true, if the lighting has changed.
Definition at line 27 of file LightingChangeTester.h.
|
Constructor.
Definition at line 16 of file LightingChangeTester.cpp. References init(). |
Here is the call graph for this function:
|
Destructor.
Definition at line 12 of file LightingChangeTester.cpp. |
|
Definition at line 29 of file LightingChangeTester.cpp. References RingBufferWithSum< 10 >::init(), numberOfImages, numberOfMeasurementsInImage, and valuesOfLastImages. Referenced by LightingChangeTester(), and lightingHasChanged(). |
Here is the call graph for this function:
|
Definition at line 38 of file LightingChangeTester.cpp. References accumulatedValueInImage, and numberOfMeasurementsInImage. |
|
Definition at line 21 of file LightingChangeTester.cpp. References accumulatedValueInImage, and numberOfMeasurementsInImage. |
|
Definition at line 46 of file LightingChangeTester.cpp. References accumulatedValueInImage, RingBufferWithSum< 10 >::add(), RingBufferWithSum< 10 >::getSum(), idText, init(), numberOfImages, numberOfMeasurementsInImage, OUTPUT, and valuesOfLastImages. |
Here is the call graph for this function:
|
Definition at line 42 of file LightingChangeTester.h. Referenced by init(), and lightingHasChanged(). |
|
Definition at line 43 of file LightingChangeTester.h. Referenced by addColor(), init(), lightingHasChanged(), and startImage(). |
|
Definition at line 44 of file LightingChangeTester.h. Referenced by addColor(), lightingHasChanged(), and startImage(). |
|
Definition at line 46 of file LightingChangeTester.h. Referenced by init(), and lightingHasChanged(). |