#include <processor.h>
Inheritance diagram for EMAN::NormalizeStdProcessor:
Public Member Functions | |
string | get_name () const |
Get the processor's name. | |
string | get_desc () const |
Get the descrition of this specific processor. | |
Static Public Member Functions | |
static Processor * | NEW () |
Static Public Attributes | |
static const string | NAME = "normalize" |
Protected Member Functions | |
float | calc_mean (EMData *image) const |
Definition at line 4103 of file processor.h.
float NormalizeStdProcessor::calc_mean | ( | EMData * | image | ) | const [protected, virtual] |
Implements EMAN::NormalizeProcessor.
Definition at line 3685 of file processor.cpp.
References EMAN::EMData::get_attr(), and LOGWARN.
03686 { 03687 if (!image) { 03688 LOGWARN("NULL Image"); 03689 return 0; 03690 } 03691 return image->get_attr("mean"); 03692 }
string EMAN::NormalizeStdProcessor::get_desc | ( | ) | const [inline, virtual] |
Get the descrition of this specific processor.
This function must be overwritten by a subclass.
Implements EMAN::Processor.
Definition at line 4116 of file processor.h.
string EMAN::NormalizeStdProcessor::get_name | ( | ) | const [inline, virtual] |
Get the processor's name.
Each processor is identified by a unique name.
Implements EMAN::Processor.
Definition at line 4106 of file processor.h.
References NAME.
04107 { 04108 return NAME; 04109 }
static Processor* EMAN::NormalizeStdProcessor::NEW | ( | ) | [inline, static] |
Definition at line 4111 of file processor.h.
04112 { 04113 return new NormalizeStdProcessor(); 04114 }
const string NormalizeStdProcessor::NAME = "normalize" [static] |