#include <processor.h>
Inheritance diagram for EMAN::HighpassTanhProcessor:
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.tanh" |
Protected Member Functions | |
void | create_radial_func (vector< float > &radial_mask) const |
Definition at line 1081 of file processor.h.
|
Implements EMAN::FourierProcessor. Definition at line 1175 of file processor.cpp. References Assert, EMAN::HighpassFourierProcessor::highpass, and x. 01176 { 01177 Assert(radial_mask.size() > 0); 01178 float x = 0.0f , step = 0.5f/radial_mask.size(); 01179 for (size_t i = 0; i < radial_mask.size(); i++) { 01180 radial_mask[i] = tanh(x - highpass) / 2.0f + 0.5f; 01181 x += step; 01182 } 01183 }
|
|
Get the descrition of this specific processor. This function must be overwritten by a subclass.
Implements EMAN::Processor. Definition at line 1093 of file processor.h.
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 1084 of file processor.h. References NAME. 01085 { 01086 return NAME; 01087 }
|
|
Definition at line 1088 of file processor.h. 01089 { 01090 return new HighpassTanhProcessor(); 01091 }
|
|
Definition at line 1098 of file processor.h. Referenced by get_name(). |