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

EMAN::MaxPixelOperator Class Reference

#include <processor.h>

List of all members.

Public Member Functions

string get_name () const
string get_desc () const

Static Public Member Functions

float binary_operate (const float &left, const float &right)

Static Public Attributes

const string NAME = "math.max"


Member Function Documentation

float EMAN::MaxPixelOperator::binary_operate const float &  left,
const float &  right
[inline, static]
 

Definition at line 5599 of file processor.h.

05599                                                                                    {
05600                         if (left > right) return left;
05601                         return right;
05602                 }

string EMAN::MaxPixelOperator::get_desc  )  const [inline]
 

Definition at line 5594 of file processor.h.

05595                 {
05596                         return "Compares pixels in two images, returning an image with the maximum pixel value in each pixel location";
05597                 }

string EMAN::MaxPixelOperator::get_name  )  const [inline]
 

Definition at line 5589 of file processor.h.

05590                 {
05591                         return NAME;
05592                 }


Member Data Documentation

const string MaxPixelOperator::NAME = "math.max" [static]
 

Definition at line 189 of file processor.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Jul 12 13:52:32 2011 for EMAN2 by  doxygen 1.3.9.1