Public Member Functions | Static Public Member Functions | Static Public Attributes
EMAN::MaxPixelOperator Class Reference

#include <processor.h>

Collaboration diagram for EMAN::MaxPixelOperator:
Collaboration graph

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

Detailed Description

Definition at line 6074 of file processor.h.

Member Function Documentation

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

Definition at line 6086 of file processor.h.

                        if (left > right) return left;
                        return right;
string EMAN::MaxPixelOperator::get_desc ( ) const [inline]

Definition at line 6081 of file processor.h.

                        return "Compares pixels in two images, returning an image with the maximum pixel value in each pixel location";
string EMAN::MaxPixelOperator::get_name ( ) const [inline]

Definition at line 6076 of file processor.h.

References NAME.

                        return NAME;

Member Data Documentation

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

Definition at line 6091 of file processor.h.

Referenced by get_name().

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