#include <processor.h>
Inheritance diagram for EMAN::NormalizeEdgeMeanProcessor:
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.edgemean" |
Protected Member Functions | |
float | calc_mean (EMData *image) const |
Definition at line 4235 of file processor.h.
float NormalizeEdgeMeanProcessor::calc_mean | ( | EMData * | image | ) | const [protected, virtual] |
Implements EMAN::NormalizeProcessor.
Definition at line 3587 of file processor.cpp.
References EMAN::EMData::get_edge_mean(), and LOGWARN.
03588 { 03589 if (!image) { 03590 LOGWARN("NULL Image"); 03591 return 0; 03592 } 03593 return image->get_edge_mean(); 03594 }
string EMAN::NormalizeEdgeMeanProcessor::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 4248 of file processor.h.
string EMAN::NormalizeEdgeMeanProcessor::get_name | ( | ) | const [inline, virtual] |
Get the processor's name.
Each processor is identified by a unique name.
Implements EMAN::Processor.
Definition at line 4238 of file processor.h.
References NAME.
04239 { 04240 return NAME; 04241 }
static Processor* EMAN::NormalizeEdgeMeanProcessor::NEW | ( | ) | [inline, static] |
Definition at line 4243 of file processor.h.
04244 { 04245 return new NormalizeEdgeMeanProcessor(); 04246 }
const string NormalizeEdgeMeanProcessor::NAME = "normalize.edgemean" [static] |