#include <processor.h>
Inheritance diagram for EMAN::HighpassButterworthProcessor:
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.butterworth" |
Protected Member Functions | |
void | create_radial_func (vector< float > &radial_mask) const |
Definition at line 1146 of file processor.h.
void HighpassButterworthProcessor::create_radial_func | ( | vector< float > & | radial_mask | ) | const [protected, virtual] |
Implements EMAN::FourierProcessor.
Definition at line 1293 of file processor.cpp.
References Assert, EMAN::HighpassFourierProcessor::highpass, t, and x.
01294 { 01295 Assert(radial_mask.size() > 0); 01296 float x = 0.0f , step = 0.5f/radial_mask.size(); 01297 for (size_t i = 0; i < radial_mask.size(); i++) { 01298 float t = highpass / 1.5f / (x + 0.001f); 01299 radial_mask[i] = 1.0f / (1.0f + t * t); 01300 x += step; 01301 } 01302 }
string EMAN::HighpassButterworthProcessor::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 1158 of file processor.h.
string EMAN::HighpassButterworthProcessor::get_name | ( | ) | const [inline, virtual] |
Get the processor's name.
Each processor is identified by a unique name.
Implements EMAN::Processor.
Definition at line 1149 of file processor.h.
References NAME.
01150 { 01151 return NAME; 01152 }
static Processor* EMAN::HighpassButterworthProcessor::NEW | ( | ) | [inline, static] |
Definition at line 1153 of file processor.h.
01154 { 01155 return new HighpassButterworthProcessor(); 01156 }
const string HighpassButterworthProcessor::NAME = "eman1.filter.highpass.butterworth" [static] |