BiasValImage.h

Go to the documentation of this file.
00001 /*! @file Qt/BiasValImage.h display submap and change bias */
00002 
00003 // $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/Qt/BiasValImage.h $
00004 // $Id: BiasValImage.h 7071 2006-08-30 00:05:15Z rjpeters $
00005 
00006 
00007 /****************************************************************************
00008 ** ui.h extension file, included from the uic-generated form implementation.
00009 **
00010 ** If you want to add, delete, or rename functions or slots, use
00011 ** Qt Designer to update this file, preserving your code.
00012 **
00013 ** You should not define a constructor or destructor in this file.
00014 ** Instead, write your code in functions called init() and destroy().
00015 ** These will automatically be called by the form's constructor and
00016 ** destructor.
00017 *****************************************************************************/
00018 
00019 #ifndef BIASVALIMAGE_h
00020 #define BIASVALIMAGE_h
00021 #include <qwidget.h>
00022 #include <qspinbox.h>
00023 #include "Qt/ImageCanvas.h"
00024 #include "Channels/ComplexChannel.H"
00025 #include "Channels/SingleChannel.H"
00026 #include "Image/MathOps.H"
00027 #include "Image/ColorOps.H"
00028 
00029 //Object to respond to bias updates
00030 class BiasValImage : public QWidget {
00031    Q_OBJECT
00032 
00033 public:
00034       BiasValImage(ComplexChannel& cc, SingleChannel &sc, int submap, QWidget *parent);
00035       ~BiasValImage() {}
00036 
00037 signals:
00038       void updateOutput();
00039 
00040 public slots:
00041       void updateValues();
00042       void setShowRaw(bool val);
00043       void setResizeToSLevel(bool val);
00044 
00045 private slots:
00046       void updateBias(int val);
00047 
00048 private:
00049       ComplexChannel& itsCC;     // the complex channel that owns itsSC
00050       SingleChannel &itsSC;      //the single channel pointer
00051       int itsSubmap;             // the current submap we are showing
00052       ImageCanvas *itsSubmapDisp;   //the display
00053       QSpinBox *itsBiasVal;       // the value of the bias
00054       bool itsShowRaw;             //show raw submaps?
00055       bool itsResizeToSLevel;    //resize to saliency map level?
00056 
00057 };
00058 
00059 #endif
00060 
Generated on Sun May 8 08:05:33 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3