#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 | |
static Processor * | NEW () |
Static Public Attributes | |
static const string | NAME = "mask.noise" |
Protected Member Functions | |
void | process_dist_pixel (float *pixel, float dist) const |
Definition at line 2313 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 2325 of file processor.h.
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 2316 of file processor.h. References NAME. 02317 { 02318 return NAME; 02319 }
|
|
Definition at line 2320 of file processor.h. 02321 { 02322 return new MaskNoiseProcessor(); 02323 }
|
|
Implements EMAN::CircularMaskProcessor. Definition at line 2333 of file processor.h. References EMAN::Util::get_gauss_rand(), EMAN::CircularMaskProcessor::inner_radius_square, EMAN::CoordinateProcessor::mean, EMAN::CircularMaskProcessor::outer_radius_square, and EMAN::CoordinateProcessor::sigma. 02334 { 02335 if (dist >= outer_radius_square || dist < inner_radius_square) 02336 { 02337 *pixel = Util::get_gauss_rand(mean, sigma); 02338 } 02339 }
|
|
Definition at line 2330 of file processor.h. Referenced by get_name(). |