#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 4137 of file processor.h.
|
Implements EMAN::NormalizeProcessor. Definition at line 3774 of file processor.cpp. References EMAN::EMData::get_attr(), and LOGWARN. 03775 { 03776 if (!image) { 03777 LOGWARN("NULL Image"); 03778 return 0; 03779 } 03780 return image->get_attr("mean"); 03781 }
|
|
Get the descrition of this specific processor. This function must be overwritten by a subclass.
Implements EMAN::Processor. Definition at line 4150 of file processor.h. 04151 { 04152 return "do a standard normalization on an image."; 04153 }
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 4140 of file processor.h. 04141 {
04142 return NAME;
04143 }
|
|
Definition at line 4145 of file processor.h. 04146 { 04147 return new NormalizeStdProcessor(); 04148 }
|
|
Definition at line 145 of file processor.cpp. |