LevelSpec.C File Reference

#include "Image/LevelSpec.H"
#include "Util/Assert.H"
#include "Util/StringConversions.H"
#include "Util/log.H"
#include <sstream>
#include <stdio.h>
Include dependency graph for LevelSpec.C:

Go to the source code of this file.

Functions

std::string convertToString (const LevelSpec &val)
 LevelSpec overload: format is "<int>-<int>,<int>-<int>,<int>".
void convertFromString (const std::string &str, LevelSpec &val)
 LevelSpec overload: format is "<int>-<int>,<int>-<int>,<int>".

Detailed Description

a utility class for use with SingleChannel

Definition in file LevelSpec.C.


Function Documentation

void convertFromString ( const std::string str,
LevelSpec val 
)

LevelSpec overload: format is "<int>-<int>,<int>-<int>,<int>".

Definition at line 196 of file LevelSpec.C.

References LevelSpec::init().

std::string convertToString ( const LevelSpec val  ) 

LevelSpec overload: format is "<int>-<int>,<int>-<int>,<int>".

Format corresponds to "levmin-levmax,delmin-delmax,maplevel"

Definition at line 188 of file LevelSpec.C.

References LevelSpec::delMax(), LevelSpec::delMin(), LevelSpec::levMax(), LevelSpec::levMin(), and LevelSpec::mapLevel().

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