#include <processor.h>
Inheritance diagram for EMAN::CutToZeroProcessor:
Public Member Functions | |
string | get_name () const |
Get the processor's name. | |
TypeDict | get_param_types () const |
Get processor parameter information in a dictionary. | |
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 = "threshold.belowtozero_cut" |
Protected Member Functions | |
void | process_pixel (float *x) const |
minval | the value that will be set to zero - all values below will also be set to zero. Values above get minval subtracted from them |
Definition at line 1817 of file processor.h.
|
Get the descrition of this specific processor. This function must be overwritten by a subclass.
Implements EMAN::Processor. Definition at line 1835 of file processor.h.
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 1820 of file processor.h. References NAME. 01821 { 01822 return NAME; 01823 }
|
|
Get processor parameter information in a dictionary. Each parameter has one record in the dictionary. Each record contains its name, data-type, and description.
Reimplemented from EMAN::Processor. Definition at line 1828 of file processor.h. References EMAN::EMObject::FLOAT, and EMAN::TypeDict::put(). 01829 { 01830 TypeDict d; 01831 d.put("minval", EMObject::FLOAT, "the value that will be set to zero - all values below will also be set to zero. Values above get minval subtracted from them" ); 01832 return d; 01833 }
|
|
Definition at line 1824 of file processor.h. 01825 { 01826 return new CutToZeroProcessor(); 01827 }
|
|
Implements EMAN::RealPixelProcessor. Definition at line 1843 of file processor.h. References EMAN::RealPixelProcessor::value.
|
|
Definition at line 1840 of file processor.h. Referenced by get_name(). |