TarzaNN
TarzaNN neural network simulator
C:/Users/albertlr/projects/TarzaNN/TarzaNN/UI_FMRI.h
Go to the documentation of this file.
00001 /****************************************************************************
00002  **
00003  ** Copyright C 2002-2012 Laboratory for Active and Attentive Vision (LAAV), Department of Computer Science and Engineering, York University, Toronto, ON, Canada.
00004  ** All rights reserved.
00005  **
00006  ** This file is part of the TarzaNN Neural Network Simulator.
00007  **
00008  ** This file may be distributed and/or modified under the terms of the
00009  ** GNU General Public License version 2 as published by the Free Software
00010  ** Foundation and appearing in the file LICENSE.GPL included in the
00011  ** packaging of this file.
00012  **
00013  ** See http://www.tarzann.org/gpl/ for GPL licensing information.
00014  **
00015  ** Contact info@tarzann.org if any conditions of this licensing are
00016  ** not clear to you.
00017  **
00018  ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00019  ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00020  **
00021  ****************************************************************************/
00022 
00023 #ifndef UI_FMRI_INCLUDED_H
00024 #define UI_FMRI_INCLUDED_H
00025 
00026 #include <QMainWindow>
00027 #include "UI_Image.h"
00028 #include <QImage>
00029 #include <QLabel>
00030 #include <QMutex>
00031 #include <QSlider>
00032 
00033 class UI_FMRI : public QMainWindow{
00034     Q_OBJECT
00035 
00036 public:
00037     UI_FMRI(QWidget* parent, const char* name = 0, Qt::WFlags fl = 0 );
00038     ~UI_FMRI();
00039     QImage* _image1;
00040     QImage* _image2;
00041     QImage* _imageFmri;
00042     
00043     UI_Image* image1;
00044     UI_Image* image2;
00045     UI_Image* imageFmri;
00046     
00047     QLabel* label1;
00048     QLabel* label2;
00049     QLabel* labelFmri;    
00050     QSlider* sliderThreshold;
00051 
00052     
00053 public slots:
00054         void slotLoadImage1();
00055         void slotLoadImage2();
00056         void slotSaveImageFmri();
00057         void slotSetThreshold(int newValue);
00058 
00059 private:
00060     void updateFmriImage();
00061     QMutex localAccess;
00062     int threshold;
00063 };
00064 
00065 #endif //UI_FMRI_INCLUDED_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines