#include <processor.h>
Inheritance diagram for EMAN::ToZeroProcessor:
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 | |
Processor * | NEW () |
Static Public Attributes | |
const string | NAME = "threshold.belowtozero" |
Protected Member Functions | |
void | process_pixel (float *x) const |
minval |
Definition at line 1342 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 1360 of file processor.h. 01361 { 01362 return "f(x) = x if x >= minval; f(x) = 0 if x < minval."; 01363 }
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 1345 of file processor.h. 01346 {
01347 return NAME;
01348 }
|
|
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 1353 of file processor.h. References EMAN::TypeDict::put(). 01354 { 01355 TypeDict d; 01356 d.put("minval", EMObject::FLOAT, "Everything below this value is set to zero"); 01357 return d; 01358 }
|
|
Definition at line 1349 of file processor.h. 01350 { 01351 return new ToZeroProcessor(); 01352 }
|
|
Implements EMAN::RealPixelProcessor. Definition at line 1368 of file processor.h. References x.
|
|
Definition at line 89 of file processor.cpp. |