EMAN::MinPixelOperator 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 = "math.min"


Detailed Description

Definition at line 5683 of file processor.h.


Member Function Documentation

static float EMAN::MinPixelOperator::binary_operate ( const float &  left,
const float &  right 
) [inline, static]

Definition at line 5695 of file processor.h.

05695                                                                                            {
05696                                 if (left < right) return left;
05697                                 return right;
05698                         }

string EMAN::MinPixelOperator::get_desc (  )  const [inline]

Definition at line 5690 of file processor.h.

05691                         {
05692                                 return "Compares pixels in two images, returning an image with the minimum pixel value in each pixel location";
05693                         }

string EMAN::MinPixelOperator::get_name (  )  const [inline]

Definition at line 5685 of file processor.h.

References NAME.

05686                         {
05687                                 return NAME;
05688                         }


Member Data Documentation

const string MinPixelOperator::NAME = "math.min" [static]

Definition at line 5700 of file processor.h.

Referenced by get_name().


The documentation for this class was generated from the following files:
Generated on Thu May 3 10:10:43 2012 for EMAN2 by  doxygen 1.4.7