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

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

Static Public Attributes

static const string NAME = "operate.max"


Detailed Description

Definition at line 5621 of file processor.h.


Member Function Documentation

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

Definition at line 5633 of file processor.h.

05633                                                                                    {
05634                         if (left > right) return left;
05635                         return right;
05636                 }

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

Definition at line 5628 of file processor.h.

05629                 {
05630                         return "Compares pixels in two images, returning an image with the maximum pixel value in each pixel location";
05631                 }

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

Definition at line 5623 of file processor.h.

References NAME.

05624                 {
05625                         return NAME;
05626                 }


Member Data Documentation

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

Definition at line 5638 of file processor.h.

Referenced by get_name().


The documentation for this class was generated from the following files:
Generated on Mon Jul 19 13:07:16 2010 for EMAN2 by  doxygen 1.4.4