#include <processor.h>
Inheritance diagram for EMAN::HighpassSharpCutoffProcessor:
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.sharp" |
Protected Member Functions | |
void | create_radial_func (vector< float > &radial_mask) const |
Definition at line 930 of file processor.h.
|
Implements EMAN::FourierProcessor. Definition at line 1190 of file processor.cpp. References Assert, EMAN::HighpassFourierProcessor::highpass, and x. 01191 { 01192 Assert(radial_mask.size() > 0); 01193 float x = 0.0f , step = 0.5f/radial_mask.size(); 01194 for (size_t i = 0; i < radial_mask.size(); i++) { 01195 if (x >= highpass) { 01196 radial_mask[i] = 1.0f; 01197 } 01198 else { 01199 radial_mask[i] = 0; 01200 } 01201 x += step; 01202 } 01203 }
|
|
Get the descrition of this specific processor. This function must be overwritten by a subclass.
Implements EMAN::Processor. Definition at line 943 of file processor.h. 00944 { 00945 return "processor radial function: if x >= highpass, f(x) = 1; else f(x) = 0;"; 00946 }
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 933 of file processor.h. References NAME. 00934 { 00935 return NAME; 00936 }
|
|
Definition at line 938 of file processor.h. 00939 { 00940 return new HighpassSharpCutoffProcessor(); 00941 }
|
|
Definition at line 948 of file processor.h. Referenced by get_name(). |