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

MapCombineType.H File Reference


Detailed Description

Different methods of combining channel output maps

Definition in file MapCombineType.H.

#include <string>

Include dependency graph for MapCombineType.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  MapCombineType { MAPCOMBINE_SUM = 0, MAPCOMBINE_MAX = 1 }
 Different methods for combining channel output maps. More...

Functions

Image< float > mapCombine (const MapCombineType typ, const Image< float > &a, const Image< float > &b)
 Combine two maps according to the given combination strategy.
std::string convertToString (const MapCombineType typ)
 MapCombineType -> string.
void convertFromString (const std::string &str, MapCombineType &typ)
 string -> MapCombineType


Enumeration Type Documentation

enum MapCombineType
 

Different methods for combining channel output maps.

Enumerator:
MAPCOMBINE_SUM  c = a + b (pixel-wise sum)
MAPCOMBINE_MAX  c = takeMax(a, b) (pixel-wise max)

Definition at line 46 of file MapCombineType.H.


Function Documentation

void convertFromString const std::string str,
MapCombineType typ
 

string -> MapCombineType

Definition at line 89 of file MapCombineType.C.

References MAPCOMBINE_MAX, MAPCOMBINE_SUM, and toLowerCase().

std::string convertToString const MapCombineType  typ  ) 
 

MapCombineType -> string.

Definition at line 76 of file MapCombineType.C.

References LFATAL, MAPCOMBINE_MAX, and MAPCOMBINE_SUM.

Image<float> mapCombine const MapCombineType  typ,
const Image< float > &  a,
const Image< float > &  b
 

Combine two maps according to the given combination strategy.

For convenience in writing map-combination loops, one of the images may be empty, in which case the result will just be the other image.


Generated on Mon Nov 23 15:47:57 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4