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

#include <processor.h>

Collaboration diagram for EMAN::MinPixelOperator:
Collaboration graph

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 7847 of file processor.h.

Member Function Documentation

◆ binary_operate()

static float EMAN::MinPixelOperator::binary_operate ( const float &  left,
const float &  right 

Definition at line 7859 of file processor.h.

7859 {
7860 if (left < right) return left;
7861 return right;
7862 }

◆ get_desc()

string EMAN::MinPixelOperator::get_desc ( ) const

Definition at line 7854 of file processor.h.

7855 {
7856 return "Compares pixels in two images, returning an image with the minimum pixel value in each pixel location";
7857 }

◆ get_name()

string EMAN::MinPixelOperator::get_name ( ) const

Definition at line 7849 of file processor.h.

7850 {
7851 return NAME;
7852 }
static const string NAME
Definition: processor.h:7864

References NAME.

Member Data Documentation


const string MinPixelOperator::NAME = "math.min"

Definition at line 7864 of file processor.h.

Referenced by get_name().

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