#include <processor.h>
Inheritance diagram for EMAN::NormalizeCircleMeanProcessor:
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.circlemean" |
Protected Member Functions | |
float | calc_mean (EMData *image) const |
Definition at line 4261 of file processor.h.
float NormalizeCircleMeanProcessor::calc_mean | ( | EMData * | image | ) | const [protected, virtual] |
Implements EMAN::NormalizeProcessor.
Definition at line 3596 of file processor.cpp.
References EMAN::EMData::get_circle_mean(), and LOGWARN.
03597 { 03598 if (!image) { 03599 LOGWARN("NULL Image"); 03600 return 0; 03601 } 03602 return image->get_circle_mean(); 03603 }
string EMAN::NormalizeCircleMeanProcessor::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 4274 of file processor.h.
04275 { 04276 return "normalizes an image, mean value equals to mean of 2 pixel circular border."; 04277 }
string EMAN::NormalizeCircleMeanProcessor::get_name | ( | ) | const [inline, virtual] |
Get the processor's name.
Each processor is identified by a unique name.
Implements EMAN::Processor.
Definition at line 4264 of file processor.h.
References NAME.
04265 { 04266 return NAME; 04267 }
static Processor* EMAN::NormalizeCircleMeanProcessor::NEW | ( | ) | [inline, static] |
Definition at line 4269 of file processor.h.
04270 { 04271 return new NormalizeCircleMeanProcessor(); 04272 }
const string NormalizeCircleMeanProcessor::NAME = "normalize.circlemean" [static] |