#include <processor.h>
Inheritance diagram for EMAN::MaskNoiseProcessor:
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 = "mask.noise" |
Protected Member Functions | |
void | process_dist_pixel (float *pixel, float dist) const |
Definition at line 2398 of file processor.h.
|
Get the descrition of this specific processor. This function must be overwritten by a subclass.
Reimplemented from EMAN::CircularMaskProcessor. Definition at line 2410 of file processor.h. 02411 { 02412 return "fills masked region"; 02413 }
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 2401 of file processor.h. 02402 {
02403 return NAME;
02404 }
|
|
Definition at line 2405 of file processor.h. 02406 { 02407 return new MaskNoiseProcessor(); 02408 }
|
|
Implements EMAN::CircularMaskProcessor. Definition at line 2418 of file processor.h. References dist(). 02419 { 02420 if (dist >= outer_radius_square || dist < inner_radius_square) 02421 { 02422 *pixel = Util::get_gauss_rand(mean, sigma); 02423 } 02424 }
|
|
Definition at line 104 of file processor.cpp. |