#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 | |
Processor * | NEW () |
Static Public Attributes | |
const string | NAME = "normalize" |
Protected Member Functions | |
float | calc_mean (EMData *image) const |
Definition at line 4182 of file processor.h.
|
Implements EMAN::NormalizeProcessor. Definition at line 3846 of file processor.cpp. References EMAN::EMData::get_attr(), and LOGWARN. 03847 { 03848 if (!image) { 03849 LOGWARN("NULL Image"); 03850 return 0; 03851 } 03852 return image->get_attr("mean"); 03853 }
|
|
Get the descrition of this specific processor. This function must be overwritten by a subclass.
Implements EMAN::Processor. Definition at line 4195 of file processor.h. 04196 { 04197 return "do a standard normalization on an image."; 04198 }
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 4185 of file processor.h. 04186 {
04187 return NAME;
04188 }
|
|
Definition at line 4190 of file processor.h. 04191 { 04192 return new NormalizeStdProcessor(); 04193 }
|
|
Definition at line 145 of file processor.cpp. |