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

psycho-compare.C File Reference


Detailed Description

Compare two still images

Definition in file psycho-compare.C.

#include "Component/ModelManager.H"
#include "Component/ComponentOpts.H"
#include "Component/EventLog.H"
#include "Image/Image.H"
#include "Image/CutPaste.H"
#include "Image/DrawOps.H"
#include "Psycho/PsychoDisplay.H"
#include "Psycho/EyeTrackerConfigurator.H"
#include "Psycho/EyeTracker.H"
#include "Psycho/PsychoOpts.H"
#include "GUI/GUIOpts.H"
#include "Raster/Raster.H"
#include "Util/Types.H"
#include "Util/StringUtil.H"
#include "Util/MathFunctions.H"
#include <fstream>

Include dependency graph for psycho-compare.C:

Go to the source code of this file.

Functions

static int submain (const int argc, char **argv)
 Compare two images along a number of criteria.
int main (const int argc, char **argv)


Function Documentation

static int submain const int  argc,
char **  argv
[static]
 

Compare two images along a number of criteria.

This shows two images and asks the user to emit a judgement along a number of criteria. The two images are randomly presented on the left/right of fixation. After 5 seconds, criteria questions are displayed at the bottom of the screen. Input file format is:

<num criteria>=""> <textual description of criterion 1> ... <textual description="" of="" criterion="" n>=""> <image filename 1> <image filename 2> ... <image filename 1> <image filename 2>

EXAMPLE:

3 Which image is more beautiful? Which image contains more animals? Which image is more geeky? image001.png image002.png image003.png image004.png image005.png image006.png

Definition at line 83 of file psycho-compare.C.

References c, Image< T >::clear(), convertFromString, drawFilledRect(), SimpleFont::FIXED(), i, image, image1, image2, initRandomNumbers(), inplaceEmbed(), LFATAL, LINFO, MC_RECURSE, MYLOGVERB, NO_INIT, OPT_EventLogFileName, OPT_EyeTrackerType, OPT_SDLdisplayDims, randomUpToNotIncluding(), randShuffle(), Raster::ReadRGB(), s, split(), and writeText().


Generated on Sun Nov 22 13:43:23 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4