
#include "Channels/MapCombineType.H"#include "Image/Image.H"#include "Image/MathOps.H"#include "Util/StringConversions.H"#include "Util/StringUtil.H"#include "Util/log.H"
Go to the source code of this file.
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 &str1, MapCombineType &typ) |
| string -> MapCombineType | |
Definition in file MapCombineType.C.
| void convertFromString | ( | const std::string & | str1, | |
| 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 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.
Definition at line 50 of file MapCombineType.C.
References Image< T >::getDims(), Image< T >::getHeight(), Image< T >::getWidth(), Image< T >::initialized(), MAPCOMBINE_MAX, MAPCOMBINE_SUM, and takeMax().
Referenced by ComplexChannel::combineOutputs().
1.6.3