Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# Modules/SpecialVision/AutoShutter.h

Go to the documentation of this file.

    00001 /**
    00002 * @file AutoShutter.h
    00003 *
    00004 * Definition of class AutoShutter
    00005 * This class chooses the shutter settings with the broadest dynamic range
    00006 *
    00007 * @author <A href=mailto:jochen@kerdels.de>Jochen Kerdels</A>
    00008 */
    00009
    00010 #ifndef __AutoShutter_h_
    00011 #define __AutoShutter_h_
    00012
    00013 #include "SpecialVision.h"
    00014
    00015 /** A AutoShutter */
    00016 class AutoShutter : public SpecialVision
    00017 {
    00018 public:
    00019   /** Constructor
    00020   * @param interfaces The interfaces of the SpecialVision module */
    00021   AutoShutter(const SpecialVisionInterfaces& interfaces);
    00022
    00023   /** Executes the module */
    00024   virtual void execute();
    00025
    00026   void reset();
    00027
    00028   int state;
    00029
    00030   double histograms[256][9];
    00031
    00032   void makeHistogram(int which);
    00033
    00034   void selectBest();
    00035 };
    00036
    00037 #endif// __AutoShutter_h_