#include <processor.h>


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 = "eman1.filter.highpass.gaussian" |
Protected Member Functions | |
| void | create_radial_func (vector< float > &radial_mask) const |
Definition at line 970 of file processor.h.
| string EMAN::HighpassGaussProcessor::get_name | ( | ) | const [inline, virtual] |
Get the processor's name.
Each processor is identified by a unique name.
Implements EMAN::Processor.
Definition at line 973 of file processor.h.
References NAME.
00974 { 00975 return NAME; 00976 }
| static Processor* EMAN::HighpassGaussProcessor::NEW | ( | ) | [inline, static] |
Definition at line 977 of file processor.h.
00978 { 00979 return new HighpassGaussProcessor(); 00980 }
| string EMAN::HighpassGaussProcessor::get_desc | ( | ) | const [inline, virtual] |
Get the descrition of this specific processor.
This function must be overwritten by a subclass.
Implements EMAN::Processor.
Definition at line 982 of file processor.h.
| void HighpassGaussProcessor::create_radial_func | ( | vector< float > & | radial_mask | ) | const [protected, virtual] |
Implements EMAN::FourierProcessor.
Definition at line 1053 of file processor.cpp.
References Assert, EMAN::HighpassFourierProcessor::highpass, and x.
01054 { 01055 Assert(radial_mask.size() > 0); 01056 float x = 0.0f , step = 0.5f/radial_mask.size(); 01057 for (size_t i = 0; i < radial_mask.size(); i++) { 01058 radial_mask[i] = 1.0f - exp(-x * x / (highpass * highpass)); 01059 x += step; 01060 } 01061 }
const string HighpassGaussProcessor::NAME = "eman1.filter.highpass.gaussian" [static] |
1.5.6