#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 2454 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 2466 of file processor.h. 02467 {
02468 return "fills masked region";
02469 }
|
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 2457 of file processor.h. 02458 {
02459 return NAME;
02460 }
|
|
|
Definition at line 2461 of file processor.h. 02462 {
02463 return new MaskNoiseProcessor();
02464 }
|
|
||||||||||||
|
Implements EMAN::CircularMaskProcessor. Definition at line 2474 of file processor.h. References dist(). 02475 {
02476 if (dist >= outer_radius_square || dist < inner_radius_square)
02477 {
02478 *pixel = Util::get_gauss_rand(mean, sigma);
02479 }
02480 }
|
|
|
Definition at line 106 of file processor.cpp. |
1.3.9.1