#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 4106 of file processor.h.
|
Implements EMAN::NormalizeProcessor. Definition at line 3759 of file processor.cpp. References EMAN::EMData::get_attr(), and LOGWARN. 03760 { 03761 if (!image) { 03762 LOGWARN("NULL Image"); 03763 return 0; 03764 } 03765 return image->get_attr("mean"); 03766 }
|
|
Get the descrition of this specific processor. This function must be overwritten by a subclass.
Implements EMAN::Processor. Definition at line 4119 of file processor.h. 04120 { 04121 return "do a standard normalization on an image."; 04122 }
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 4109 of file processor.h. 04110 {
04111 return NAME;
04112 }
|
|
Definition at line 4114 of file processor.h. 04115 { 04116 return new NormalizeStdProcessor(); 04117 }
|
|
Definition at line 150 of file processor.cpp. |