EMAN2
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
EMAN::MaxPixelOperator Class Reference

#include <processor.h>

Collaboration diagram for EMAN::MaxPixelOperator:
Collaboration graph
[legend]

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.max"
 

Detailed Description

Definition at line 7827 of file processor.h.

Member Function Documentation

◆ binary_operate()

static float EMAN::MaxPixelOperator::binary_operate ( const float &  left,
const float &  right 
)
inlinestatic

Definition at line 7839 of file processor.h.

7839 {
7840 if (left > right) return left;
7841 return right;
7842 }

◆ get_desc()

string EMAN::MaxPixelOperator::get_desc ( ) const
inline

Definition at line 7834 of file processor.h.

7835 {
7836 return "Compares pixels in two images, returning an image with the maximum pixel value in each pixel location";
7837 }

◆ get_name()

string EMAN::MaxPixelOperator::get_name ( ) const
inline

Definition at line 7829 of file processor.h.

7830 {
7831 return NAME;
7832 }
static const string NAME
Definition: processor.h:7844

References NAME.

Member Data Documentation

◆ NAME

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

Definition at line 7844 of file processor.h.

Referenced by get_name().


The documentation for this class was generated from the following files: