psycho-skin-indexing.C File Reference

#include "Component/ModelManager.H"
#include "Image/Image.H"
#include "Psycho/PsychoDisplay.H"
#include "Psycho/EyeTrackerConfigurator.H"
#include "Psycho/EyeTracker.H"
#include "Psycho/PsychoOpts.H"
#include "Component/EventLog.H"
#include "Component/ComponentOpts.H"
#include "Raster/Raster.H"
#include "Util/MathFunctions.H"
#include "Util/Types.H"
#include <iostream>
#include <fstream>
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include "psycho-skin-resize.h"
#include <stdio.h>
#include <stdlib.h>
#include <map>
#include <time.h>
Include dependency graph for psycho-skin-indexing.C:

Go to the source code of this file.

Functions

nub::soft_ref< PsychoDisplayd (new PsychoDisplay(manager))
SDL_Surface * load_image (string filename)
SDL_Surface * getAFreshSurface (int w, int h)
void dumpSurface (SDL_Surface *surface)
void apply_surface (int x, int y, SDL_Surface *source, SDL_Surface *destination, SDL_Rect *clip=NULL)
void clean_up ()
void readTop (ifstream *inFile)
void showStaticSlide (string *slideMap, string skinName, int col, int row, int px, int py, float rf)
void showDynamicSlide (string *slideMap, string skinName, int col, int row, int px, int py, float rf)
void readSlide (ifstream *inFile)
int readprofile (const char *filename)
int main (int argc, char *args[])

Variables

const int SCREEN_WIDTH = 840
const int SCREEN_HEIGHT = 680
const int SCREEN_BPP = 32
const int NUMBER_OF_CLASSES = 6
const int MAX_CELLS = 400
const int IMAGE_WIDTH = 128
const string classes [NUMBER_OF_CLASSES] = {"class1","class2","class3","class4","class5","class6"}
SDL_Event event
int delay = 15
bool programQuit = false
map< string, map< string,
SDL_Surface * > > 
skinsmap
ModelManager manager ("Psycho Skin Indexing")

Detailed Description

Psychophysics display of different skins for a gameboard

Psychophysics support for psycho-skin-indexing.C

Psychophysics support for psycho-skin-indexing.h

Definition in file psycho-skin-indexing.C.

Generated on Sun May 8 08:42:37 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3