#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 3927 of file processor.h.
|
Implements EMAN::NormalizeProcessor. Definition at line 3640 of file processor.cpp. References EMAN::EMData::get_attr(), and LOGWARN. 03641 { 03642 if (!image) { 03643 LOGWARN("NULL Image"); 03644 return 0; 03645 } 03646 return image->get_attr("mean"); 03647 }
|
|
Get the descrition of this specific processor. This function must be overwritten by a subclass.
Implements EMAN::Processor. Definition at line 3940 of file processor.h. 03941 { 03942 return "do a standard normalization on an image."; 03943 }
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 3930 of file processor.h. 03931 {
03932 return NAME;
03933 }
|
|
Definition at line 3935 of file processor.h. 03936 { 03937 return new NormalizeStdProcessor(); 03938 }
|
|
Definition at line 139 of file processor.cpp. |